/* Первый этап. Существующие стили и сцены остаются основой. */
.hero--stage1 .scene { padding: 126px 58px 60px; min-height: 850px; }
.hero--stage1 .scene__cloud { opacity: .65; }
.hero--stage1 .scene__veil { background: linear-gradient(90deg,rgba(248,240,229,.92),rgba(248,240,229,.62) 56%,rgba(248,240,229,.12)); }
.hero--stage1 .scene__fg { opacity: .65; }
.hero--stage1 .hero__layout { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,.85fr); grid-template-areas: 'intro portrait' 'details portrait'; column-gap: 64px; align-items: start; text-align: left; max-width: 1120px; margin: auto; }
.hero__intro { grid-area: intro; }
.hero--stage1 .hero__title { font-size: clamp(40px,4.5vw,66px); line-height: 1.04; margin: 18px 0 12px; color: var(--olive-900); text-wrap: balance; }
.hero__details { grid-area: details; }
.hero--stage1 .hero__lead { font-size: 17px; max-width: 530px; margin-top: 0; }
.hero__portrait { grid-area: portrait; align-self: center; width: 100%; max-width: 390px; justify-self: center; }
.hero__portrait picture { display: block; border-radius: 200px 200px 26px 26px; overflow: hidden; border: 6px solid rgba(255,251,245,.8); box-shadow: 0 20px 50px rgba(47,58,27,.14); }
.hero__portrait img { width: 100%; height: 470px; object-fit: cover; object-position: 50% 22%; }
.hero__portrait figcaption { font-family: var(--serif); font-style: italic; font-size: 21px; text-align: center; line-height: 1.2; max-width: 290px; margin: 14px auto 0; }
.hero__experience { display: flex; flex-wrap: wrap; gap: 18px 25px; margin: 22px 0 0; }
.hero__experience li { display: flex; flex-direction: column; }
.hero__experience strong { font: 500 33px/1.05 var(--serif); }
.hero__experience span { font-size: 12px; margin-top: 4px; }
.hero--stage1 .hero__actions { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 24px; width: 100%; max-width: 440px; }
.hero--stage1 .hero__actions .btn { min-height: 52px; white-space: normal; text-align: center; line-height: 1.3; padding: 14px 22px; }
.hero--stage1 .hero__note { font-size: 13px; max-width: 470px; margin-top: 20px; font-weight: 500; }
.hero--stage1 .hero__note span { font-size: 17px; }
/* Вариант 2: портрет слева, текст справа. */
[data-hero='2'] .hero--stage1 .hero__layout { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); grid-template-areas: 'portrait intro' 'portrait details'; gap: 0 68px; }
[data-hero='2'] .hero--stage1 .scene__veil { background: linear-gradient(270deg,rgba(248,240,229,.94),rgba(248,240,229,.65) 58%,rgba(248,240,229,.12)); }
[data-hero='2'] .hero__portrait picture { border-radius: 180px 180px 180px 28px; }
/* Вариант 3: заголовок по центру, ниже компактный портрет и детали. */
[data-hero='3'] .hero--stage1 .hero__layout { grid-template-columns: minmax(0,.6fr) minmax(0,1fr); grid-template-areas: 'intro intro' 'portrait details'; max-width: 960px; column-gap: 54px; row-gap: 26px; }
[data-hero='3'] .hero__intro { text-align: center; max-width: 870px; margin: auto; }
[data-hero='3'] .hero--stage1 .hero__title { font-size: clamp(42px,4.1vw,60px); }
[data-hero='3'] .hero__portrait { max-width: 260px; }
[data-hero='3'] .hero__portrait img { height: 310px; }
[data-hero='3'] .hero__portrait figcaption { font-size: 18px; }
[data-hero='3'] .hero--stage1 .scene__veil { background: rgba(248,240,229,.72); }
[data-hero='3'] .hero__experience { margin-top: 15px; }
/* Тарифы и лёгкие альтернативы. */
.first-meeting { background: var(--sage-100); border: 1px solid var(--sage-200); border-radius: var(--r-lg); padding: 30px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 32px; align-items: center; margin: 30px 0 22px; }
.first-meeting h3 { font: 500 37px/1.15 var(--serif); margin: 0 0 12px; }
.first-meeting p { max-width: 650px; }
.first-meeting .first-meeting__terms { margin-top: 12px; font-size: 14px; color: var(--muted); }
.first-meeting__action { text-align: center; }
.first-meeting__action .btn { margin-top: 12px; }
.price-followup { margin-bottom: 22px; color: var(--muted); }
.kit-alternative { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 25px 28px; border: 1px solid var(--line); border-radius: var(--r-md); margin-top: 20px; background: var(--card); }
.kit-alternative h3 { font: 500 28px/1.2 var(--serif); margin-bottom: 8px; }
.kit-alternative p { max-width: 650px; font-size: 15px; }
.checks-result__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
#aptechki { scroll-margin-top: 100px; }
#aptechki .kits { position: static; margin-top: 18px; }
/* Позволяем более длинным утверждённым CTA переноситься. */
.header-actions .btn, .mobile-menu .btn, .glass .btn, .lesson .btn { white-space: normal; text-align: center; line-height: 1.3; }
.header-actions .btn { max-width: 210px; }
.lesson__actions { flex-wrap: wrap; }
.lesson__note { max-width: 330px; }
.row__inner p + p { margin-top: 12px; }
@media (min-width:768px) and (max-width:1100px) {
 .hero--stage1 .scene { padding: 130px 35px 50px; }
 .hero--stage1 .hero__layout, [data-hero='2'] .hero--stage1 .hero__layout { column-gap: 30px; }
 .hero--stage1 .hero__title { font-size: 46px; }
 .hero__portrait img { height: 390px; }
 .site-header .nav { gap: 14px; }
}
@media (max-width:767px) {
 .hero--stage1 .scene { padding: 94px 20px 55px; min-height: 0; }
 .hero--stage1 .hero__layout, [data-hero='2'] .hero--stage1 .hero__layout, [data-hero='3'] .hero--stage1 .hero__layout { grid-template-columns: minmax(0,1fr); grid-template-areas: 'intro' 'portrait' 'details'; gap: 18px; text-align: center; }
 .hero--stage1 .hero__title, [data-hero='3'] .hero--stage1 .hero__title { font-size: clamp(32px,8.9vw,44px); line-height: 1.05; margin: 13px 0 0; }
 .hero__portrait { max-width: 205px; }
 .hero__portrait img { height: 230px; object-position: 50% 19%; }
 .hero__portrait picture { border-width: 4px; border-radius: 120px 120px 22px 22px; }
 .hero__portrait figcaption { display: none; }
 .hero--stage1 .hero__lead { font-size: 15px; }
 .hero__experience { justify-content: center; gap: 18px; margin-top: 17px; }
 .hero__experience strong { font-size: 29px; }
 .hero__experience span { font-size: 11px; }
 .hero--stage1 .hero__actions { align-items: stretch; margin: 20px auto 0; max-width: 360px; }
 .hero--stage1 .hero__actions .btn { padding: 13px 16px; font-size: 14px; }
 .hero--stage1 .hero__note { margin-left: auto; margin-right: auto; }
 .hero--stage1 .scene__veil { background: rgba(248,240,229,.78); }
 .hero--stage1 .scene__cloud { opacity: .35; }
 .hero--stage1 .scene__fg { opacity: .3; }
 [data-hero='2'] .hero__portrait { max-width: 180px; }
 [data-hero='2'] .hero__portrait img { height: 180px; }
 [data-hero='2'] .hero__portrait picture { border-radius: 50%; }
 [data-hero='2'] .hero--stage1 .scene__veil { background: rgba(248,240,229,.8); }
 [data-hero='3'] .hero__portrait { max-width: 100%; width: 280px; }
 [data-hero='3'] .hero__portrait img { height: 195px; object-position: 50% 25%; }
 [data-hero='3'] .hero__portrait picture { border-radius: 140px 140px 20px 20px; }
 .first-meeting { grid-template-columns: minmax(0,1fr); padding: 23px; gap: 20px; }
 .first-meeting h3 { font-size: 32px; }
 .first-meeting__action { text-align: left; }
 .first-meeting__action .btn { width: 100%; }
 .kit-alternative { flex-direction: column; align-items: stretch; padding: 23px; gap: 18px; }
 .checks-result__actions { flex-direction: column; align-items: stretch; }
 .checks-result__actions .btn { white-space: normal; text-align: center; line-height: 1.3; padding: 15px; }
}

/* Правки согласования: вариант 1 — прямоугольный портрет на всех экранах. */
[data-hero='1'] .hero--stage1 .hero__portrait picture { border-radius: 0; }

/* Правки согласования r3: подпись под портретом белая, с тенью для читаемости. */
.hero__portrait figcaption { color: #fff; text-shadow: 0 1px 3px rgba(25,35,13,.85), 0 2px 10px rgba(25,35,13,.45); }

/* r5: текст без лесенки, изображения карточек сохраняют исходные анимации. */
.story .stagger { text-align: left; width: 100%; }
.story .stagger span { display: block; }
.story .stagger span:nth-child(n) { padding-left: 0; }
/* Стрелки по сторонам карусели; точки и прежняя логика управления сохранены. */
.rev-carousel--sides { display: grid; grid-template-columns: 48px minmax(0,1fr) 48px; gap: 12px; align-items: center; }
.rev-carousel--sides .rev-track { grid-column: 2; grid-row: 1; min-width: 0; margin: 0; padding: 4px 0 12px; scroll-padding: 0; mask-image: none; -webkit-mask-image: none; }
.rev-carousel--sides .rev { width: 100%; }
.rev-carousel--sides .rev-nav { display: contents; }
.rev-carousel--sides [data-carousel-prev] { grid-column: 1; grid-row: 1; }
.rev-carousel--sides [data-carousel-next] { grid-column: 3; grid-row: 1; }
.rev-carousel--sides .rev-dots { grid-column: 2; grid-row: 2; justify-content: center; flex-wrap: wrap; }
.rev-carousel--sides .rev-nav[hidden] { display: none; }
.rev-carousel--sides:has(.rev-nav[hidden]) { grid-template-columns: minmax(0,1fr); }
.rev-carousel--sides:has(.rev-nav[hidden]) .rev-track { grid-column: 1; }
@media(max-width:767px) {
 .rev-carousel--sides { grid-template-columns: 44px minmax(0,1fr) 44px; gap: 4px; margin: 0 calc(-1 * var(--gutter)); }
 .rev-carousel--sides .rev-btn { width: 44px; height: 44px; }
}

/* r6: только целые отзывы — один на телефоне, два на планшете, три на компьютере.
   16px — существующий gap между карточками в rev-track. */
@media(min-width:768px) {
 .rev-carousel--sides .rev { width: calc((100% - 16px) / 2); }
}
@media(min-width:1024px) {
 .rev-carousel--sides .rev { width: calc((100% - 32px) / 3); }
}

/* Рекомендации материалов после чек-листа. */
.checks-kits { margin: 28px auto 0; max-width: 820px; padding-top: 26px; border-top: 1px solid var(--line); text-align: left; }
.checks-kits__title { font: 500 30px/1.2 var(--serif); margin: 0 0 10px; }
.checks-kits__intro, .checks-kits__note { font-size: 14px; color: var(--muted); }
.checks-kits__list { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0; }
.checks-kits__item { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 10px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card); text-decoration: none; }
.checks-kits__item[hidden], .checks-kits[hidden] { display: none; }
.checks-kits__item strong { font: 500 25px/1.15 var(--serif); }
.checks-kits__item span { font-size: 14px; line-height: 1.5; }
.checks-kits__link { margin-top: auto; text-decoration: underline; text-underline-offset: 3px; }
.checks-kits__item:hover, .checks-kits__item:focus-visible { border-color: currentColor; }
.checks-kits__price { white-space: nowrap; }
@media (max-width: 767px) { .checks-kits__item { flex-basis: 100%; } .checks-kits__title { font-size: 27px; } }

/* Дополнительные способы записи. */
.contact-options { display:flex; flex-wrap:wrap; justify-content:center; align-items:baseline; gap:8px 18px; font-size:14px; line-height:1.5; margin:16px 0; }
.contact-options > span { color:var(--muted); }
.contact-options a { text-decoration:underline; text-underline-offset:3px; padding:4px 0; }
.hero__details > .contact-options { justify-content:flex-start; max-width:440px; }
.mobile-menu .socials { flex-wrap:wrap; justify-content:center; }
@media (max-width:767px) { .hero__details > .contact-options { justify-content:center; margin-left:auto; margin-right:auto; } .contact-options > span { flex-basis:100%; text-align:center; } }
