/* Home refinement: existing ROASL palette, visible choices, real photography. */
body._home { color: var(--roasl-ink); }
body._home #home { background: var(--roasl-emerald-deep); padding: clamp(40px,6vw,80px) 0; height: auto; min-height: 0; }
body._home #home .container,
body._home > section > .container,
body._home .roasl-home-directions > .container,
body._home .roasl-course-section > .container { width: 100%; max-width: 1320px; box-sizing: border-box; margin-inline: auto; padding-inline: clamp(20px,4vw,56px); }
body._home #home .home__container { padding: 0; margin: 0; }
body._home #home .home__wrapper { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: clamp(28px,5vw,64px); align-items: center; padding: 0; }
body._home #home .home__left,
body._home #home .home__right { width: 100%; max-width: none; min-width: 0; margin: 0; padding: 0; position: relative; inset: auto; }
body._home #home .home__offer { display: block !important; position: static; font: inherit; font-size: clamp(36px,4vw,58px); font-weight: 700; line-height: 1.08; letter-spacing: -.025em; text-transform: none; text-wrap: balance; color: var(--roasl-ivory); margin: 0 0 24px; }
body._home #home .main__desc { margin: 0 0 28px !important; }
body._home #home .main__desc p { font-size: 20px; line-height: 1.6; color: var(--roasl-ivory); margin: 0; }
body._home #home .home__right img { display: block; width: 100%; max-width: none; height: 500px; object-fit: cover; object-position: center 35%; border-radius: 14px; position: static; transform: none; }
body._home #home .btn__container { margin: 0; }
body._home #home .course-button { margin: 0; padding: 0; background: transparent; border: 0; box-shadow: none; width: auto; }
body._home #home .course-button a,
.roasl-home-help > a { display: inline-flex; align-items: center; justify-content: center; padding: 16px 24px; min-height: 48px; box-sizing: border-box; border-radius: 12px; background: var(--roasl-champagne); color: var(--roasl-ink); font-size: 17px; font-weight: 700; line-height: 1.35; text-decoration: none; }
body._home #home .course-button a:hover,
.roasl-home-help > a:hover { background: var(--roasl-champagne-light); }
body._home :is(.roasl-home-directions,.roasl-course-section) { padding-block: clamp(48px,6vw,88px); scroll-margin-top: 32px; }
body._home :is(.roasl-home-directions,.roasl-course-section) .offer { margin: 0 0 24px; font-size: clamp(32px,3.5vw,48px); line-height: 1.12; letter-spacing: -.025em; text-wrap: balance; }
.roasl-home-heading { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 48px; margin-bottom: 32px; align-items: center; }
.roasl-home-heading > p { font-size: 20px; line-height: 1.6; margin: 0; }
.roasl-home-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.roasl-home-direction { padding: 0; overflow: hidden; background: var(--roasl-ivory); border: 1px solid var(--roasl-champagne-light); border-radius: 14px; text-decoration: none; color: var(--roasl-ink); display: flex; flex-direction: column; transition: border-color 180ms ease-out, background-color 180ms ease-out; }
.roasl-home-direction-photo { overflow: hidden; aspect-ratio: 16/9; background: var(--roasl-champagne-light); }
.roasl-home-direction-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 350ms ease-out; }
.roasl-home-direction:hover .roasl-home-direction-photo img { transform: scale(1.035); }
.roasl-home-direction-copy { display: flex; flex-direction: column; flex: 1; gap: 16px; padding: clamp(24px,3vw,36px); }
.roasl-home-direction:hover { border-color: var(--roasl-emerald-action); background: #f6f1e5; color: var(--roasl-ink); }
.roasl-home-direction h3 { font-size: clamp(26px,2.5vw,34px); line-height: 1.15; margin: 0; color: var(--roasl-emerald-deep); }
.roasl-home-direction p { font-size: 18px; line-height: 1.6; margin: 0; }
.roasl-home-direction-copy > span { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--roasl-champagne-light); font-size: 16px; font-weight: 700; color: var(--roasl-emerald-action); display: flex; justify-content: space-between; gap: 16px; }
.roasl-home-help { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-top: 32px; padding: 32px; background: var(--roasl-emerald-deep); color: var(--roasl-ivory); border-radius: 14px; }
.roasl-home-help h3 { font-size: 26px; margin: 0 0 12px; color: inherit; }
.roasl-home-help p { font-size: 18px; line-height: 1.6; max-width: 55ch; margin: 0; }
.roasl-home-help > a { flex-shrink: 0; }
body._home .roasl-home-audience { background: var(--roasl-ivory); }
body._home .roasl-home-audience > .container { display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); gap: 48px; }
body._home .roasl-home-audience .roasl-course-copy p { margin: 0 0 24px; font-size: 19px; line-height: 1.6; }
body._home .roasl-home-audience strong { display: block; margin-bottom: 8px; color: var(--roasl-emerald-action); }
body._home .roasl-home-attestation { background: var(--roasl-emerald-deep); color: var(--roasl-ivory); }
body._home .roasl-home-attestation .offer { color: var(--roasl-champagne-light); max-width: 24ch; }
body._home .roasl-home-attestation .roasl-course-copy { max-width: 70ch; font-size: 19px; line-height: 1.6; }
body._home .roasl-home-attestation .products__more { display: inline-block; margin-top: 20px; color: var(--roasl-ivory); border-color: var(--roasl-champagne); font-size: 18px; }
body._home :is(.roasl-home-direction,.roasl-home-help a,#home a):focus-visible { outline: 3px solid var(--roasl-champagne); outline-offset: 5px; }
@media (max-width: 700px) {
  body._home #home .home__wrapper,
  .roasl-home-heading,.roasl-home-grid,
  body._home .roasl-home-audience > .container { grid-template-columns: minmax(0,1fr); gap: 24px; }
  body._home #home .home__right img { height: 340px; }
  body._home #home .main__desc p { font-size: 18px; }
  .roasl-home-help { flex-direction: column; align-items: flex-start; padding: 24px; }
  .roasl-home-help > a { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .roasl-home-direction, .roasl-home-direction-photo img { transition: none; } .roasl-home-direction:hover .roasl-home-direction-photo img { transform: none; } }

body._home > section { padding-block: clamp(48px,6vw,88px); margin-block: 0; }
body._home > section .offer { font-size: clamp(32px,3.5vw,48px); line-height: 1.12; letter-spacing: -.025em; margin-bottom: 28px; }
body._home .consult { background: var(--roasl-emerald-deep) !important; border-radius: 14px; padding: 28px !important; gap: 24px; }
body._home .consult p { color: var(--roasl-ivory); font-size: 18px; line-height: 1.6; }
body._home .consult__btn { background: var(--roasl-champagne); color: var(--roasl-ink); font-size: 16px; padding: 14px 22px; border-radius: 12px; }
body._home .gov :is(.gov__item-desc,.gov__elem-desc,.gov__desc) { font-size: 17px; line-height: 1.6; }
body._home .gov .suboffer { font-size: 23px; line-height: 1.3; }
body._home .roasl-home-attestation .products__more { width: auto; height: auto; padding: 12px 0; text-decoration: underline; text-underline-offset: 5px; }
body._home #anch-courses { scroll-margin-top: 24px; }
@media (max-width: 700px) {
  body._home .consult { flex-direction: column; align-items: flex-start; }
  body._home .consult__left img { display: none; }
  body._home .consult__btn { width: 100%; box-sizing: border-box; text-align: center; }
}
