/* Стили многостраничной версии (поверх style.css и motion.css) */

/* не показывать «голую» страницу до вставки шапки/подвала */
.js body:not(.shown) { visibility: hidden; }

/* занавес между страницами */
.curtain { position: fixed; inset: 0; z-index: 90; background: var(--bg); transform: translateY(100%); pointer-events: none; }
.curtain::after { content: ""; position: absolute; left: 50%; top: 50%; width: 1px; height: 0; background: var(--brass); transform: translate(-50%, -50%); }
.curtain.go { transform: translateY(0); transition: transform .5s cubic-bezier(.7, 0, .2, 1); }
.curtain.go::after { height: 80px; transition: height .5s ease .1s; }
.curtain.in { transform: translateY(0); transition: none; }
.curtain.out { transform: translateY(-100%); transition: transform .7s cubic-bezier(.7, 0, .2, 1); }

/* WhatsApp в палитре сайта: золотой фон, кремовый контур и золотая пульсация. */
.wa { background: var(--brass); border: 1px solid var(--ink); color: var(--bg); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .85), 0 0 0 4px rgba(193, 154, 91, .08); transition: background .3s, color .3s, border-color .3s, transform .2s, box-shadow .3s; }
.wa:hover { background: var(--ink); border-color: var(--brass); color: var(--bg); box-shadow: 0 12px 34px -10px rgba(193, 154, 91, .55), 0 0 0 4px rgba(193, 154, 91, .18); }
.wa::after { border: 1px solid var(--brass); }

/* шапка на средних экранах: пять пунктов меню не помещаются вместе с кнопкой */
@media (max-width: 1260px) { .top .btn--small { display: none; } .nav { gap: 22px; } }
@media (max-width: 1060px) { .nav { gap: 16px; } .nav a { letter-spacing: .06em; font-size: 12px; } .top__in { gap: 14px; } }

/* меню: активный пункт */
.nav a[aria-current="page"] { opacity: 1; color: var(--brass); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }

/* ссылки со стрелкой */
.arrow { white-space: nowrap; display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 12.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--brass); }
.arrow::after { content: ""; width: 34px; height: 1px; background: currentColor; transition: width .4s cubic-bezier(.2, .7, .2, 1); }
.arrow:hover::after { width: 56px; }
.sec__foot { margin-top: 56px; display: flex; justify-content: center; }
.sec__head--row { display: flex; justify-content: space-between; align-items: end; gap: 40px; max-width: none; }

/* ---------- шапка внутренних страниц ---------- */
.phero { position: relative; min-height: clamp(380px, 58vh, 560px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.phero__bg { position: absolute; left: 0; right: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; z-index: -2; filter: brightness(.5) saturate(.9); --sc: 1.06; }
.phero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--bg) 2%, rgba(15, 14, 13, .4) 55%, rgba(15, 14, 13, .78)); }
.phero__in { padding: 150px 0 60px; }
.phero h1 { font-size: clamp(40px, 6vw, 88px); max-width: 960px; }
.phero .lead { margin: 22px 0 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.crumbs a { text-decoration: none; transition: color .3s; }
.crumbs a:hover { color: var(--brass); }
.crumbs span { opacity: .5; }

/* ---------- главная: тизеры ---------- */
.cols3 article > .arrow { margin-top: 26px; }
.cols3 article { padding-bottom: 36px; }
.tcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tcard { display: block; }
.tcard__a { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: var(--card); border: 1px solid var(--line); transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s cubic-bezier(.2, .7, .2, 1), border-color .4s; }
.tcard__a:hover { border-color: var(--brass); }
.tcard__img { aspect-ratio: 4 / 5; overflow: hidden; }
.tcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .7, .2, 1), filter .5s; filter: saturate(.9); }
.tcard__a:hover .tcard__img img { transform: scale(1.07); filter: saturate(1.05); }
.tcard__body { padding: 24px 22px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tcard h3 { font-size: 24px; transition: color .3s; }
.tcard__a:hover h3 { color: var(--brass); }
.tcard p { margin: 0; font-size: 15px; color: var(--muted); flex: 1; }
.tcard__price { font-size: 13px; color: var(--muted); letter-spacing: .04em; padding-top: 14px; border-top: 1px solid var(--line); }
.tcard__price b { font: 400 22px var(--serif); color: var(--ink); margin-right: 4px; }

.abouttease { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: center; }
.abouttease__pic { margin: 0; position: relative; }
.abouttease__pic::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--brass); opacity: .5; pointer-events: none; }
.abouttease__pic img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 50% 15%; }
.abouttease h2 { font-size: clamp(34px, 4.4vw, 58px); margin-bottom: 26px; }
.abouttease p:not(.eyebrow) { color: var(--muted); }
.abouttease .arrow { margin-top: 18px; }

/* ---------- страница «Подход» ---------- */
.issues { display: grid; gap: 130px; }
.issue { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; scroll-margin-top: 100px; }
.issue:nth-child(even) .issue__pic { order: 2; }
.issue__pic { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid var(--line); }
.issue__pic img { width: 100%; height: 100%; object-fit: cover; }
.issue__body .num { font: 400 clamp(72px, 9vw, 140px)/1 var(--serif); letter-spacing: 0; color: transparent; -webkit-text-stroke: 1px var(--brass); margin-bottom: 12px; }
.issue h3 { font-size: clamp(32px, 3.8vw, 56px); }
.issue__sub { font: italic 400 22px/1.3 var(--serif); color: var(--brass); margin: 14px 0 26px; }
.issue__p { font-size: 19px; color: #d8d0c3; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.chip { border: 1px solid var(--line); padding: 9px 18px; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--muted); transition: color .3s, border-color .3s, background .3s; }
.chip:hover { color: #17120b; background: var(--brass); border-color: var(--brass); }

.method { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: start; }
.method__pic { position: sticky; top: 100px; margin: 0; aspect-ratio: 3 / 4; overflow: hidden; border: 1px solid var(--line); }
.method__pic img { width: 100%; height: 100%; object-fit: cover; }
.method h2 { font-size: clamp(34px, 4.4vw, 60px); }
.method__lead { font-size: 20px; color: #d8d0c3; margin: 26px 0 50px; }
.method__block { padding: 42px 0; border-top: 1px solid var(--line); }
.method__block h3 { font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 22px; color: var(--brass); }
.method__block > p { margin: 0; color: #d8d0c3; font-size: 18px; }

/* ---------- призыв к записи ---------- */
.cta { position: relative; padding: 130px 0; text-align: center; background: var(--alt); border-top: 1px solid var(--line); }
.cta__in { max-width: 780px; margin-inline: auto; }
.cta h2 { font-size: clamp(34px, 4.8vw, 66px); }
.cta__in > p { color: var(--muted); font-size: 18px; margin: 22px 0 0; }
.cta__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 38px; }

/* ---------- процедуры ---------- */
.pi { color: inherit; text-decoration: none; }
a.pi:hover .pi__main p { color: #cfc6b8; }
.pi__go { display: none; }

/* страница процедуры */
.detail { display: grid; grid-template-columns: 1.35fr .65fr; gap: 80px; align-items: start; }
.detail__text p { font-size: 18.5px; color: #d8d0c3; margin: 0 0 24px; }
.detail__text ul { list-style: none; margin: 0 0 26px; padding: 0; }
.detail__text li { position: relative; padding: 14px 0 14px 32px; border-bottom: 1px solid var(--line); color: #d8d0c3; }
.detail__text li:first-child { border-top: 1px solid var(--line); }
.detail__text li::before { content: ""; position: absolute; left: 0; top: 1.5em; width: 14px; height: 1px; background: var(--brass); }
.detail__card { position: sticky; top: 100px; background: var(--card); border: 1px solid var(--line); padding: 38px 34px; }
.detail__card h3 { font-size: 26px; margin-bottom: 14px; }
.priceline { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.priceline b { font: 400 34px var(--serif); color: var(--ink); }
.detail__card .btn { width: 100%; margin-top: 28px; }
.detail__card .btn + .btn { margin-top: 12px; }
.noprice { color: var(--muted); padding: 10px 0 6px; }

/* ---------- препараты ---------- */
.preps__note { margin: 0 0 40px; padding: 14px 18px; border: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.prep { padding: 100px 0; border-top: 1px solid var(--line); }
.prep:first-of-type { border-top: 0; padding-top: 20px; }
.prep__head { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; margin-bottom: 56px; align-items: start; }
.prep__head h2 { font-size: clamp(30px, 3.6vw, 52px); }
.prep__intro p { margin: 0 0 18px; color: var(--muted); }
.prep__items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 70px; }
.prep__item { padding: 28px 0; border-top: 1px solid var(--line); transition: padding-left .4s cubic-bezier(.2, .7, .2, 1); }
.prep__item:hover { padding-left: 14px; }
.prep__item h3 { font-size: 24px; margin-bottom: 10px; transition: color .3s; }
.prep__item:hover h3 { color: var(--brass); }
.prep__item p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- страница «Обо мне» ---------- */
.aboutpg { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.aboutpg__pic { position: sticky; top: 100px; margin: 0; overflow: hidden; border: 1px solid var(--line); }
.aboutpg__pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; }
.aboutpg__text > p { color: #cfc6b8; font-size: 18.5px; margin: 0 0 24px; }
.aboutpg__text h2 { font-size: clamp(34px, 4.4vw, 60px); margin-bottom: 30px; }
.aboutpg__text h3 { font-size: 30px; margin: 50px 0 0; }
.explist { list-style: none; margin: 22px 0 0; padding: 0; counter-reset: e; }
.explist li { position: relative; padding: 18px 0 18px 56px; border-top: 1px solid var(--line); color: #d8d0c3; counter-increment: e; }
.explist li:last-child { border-bottom: 1px solid var(--line); }
.explist li::before { content: counter(e, decimal-leading-zero); position: absolute; left: 0; top: 19px; font: 400 15px var(--serif); color: var(--brass); }

/* ---------- контакты ---------- */
.cl a[target] { text-underline-offset: 5px; }
.contact .cl dd + dd { margin-top: 4px; }

/* ---------- подвал ---------- */
.foot { background: var(--alt); border-top: 1px solid var(--line); padding: 80px 0 28px; }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 60px; padding-bottom: 60px; }
.foot__brand { display: flex; flex-direction: column; gap: 6px; }
.foot__brand .logo { margin-bottom: 14px; font-size: 14px; }
.foot__brand p { margin: 0; color: var(--muted); }
.foot a:not(.logo) { text-decoration: none; color: #cfc6b8; transition: color .3s; }
.foot a:not(.logo):hover { color: var(--brass); }
.foot__nav, .foot__soc { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.foot__nav a[aria-current] { color: var(--brass); }
.foot__in { padding-top: 26px; border-top: 1px solid var(--line); }

/* ---------- заголовки внутренних страниц: появление по словам ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .phero h1 .wm { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
  .js .phero h1 .wm > span { display: inline-block; transform: translateY(112%) rotate(4deg); transform-origin: left bottom; transition: transform 1.1s cubic-bezier(.2, .7, .1, 1) calc(var(--i) * 60ms + 100ms); }
  .js body.ready .phero h1 .wm > span { transform: none; }
  .js .phero__bg { filter: brightness(.2); transition: filter 1.8s ease; }
  .js body.ready .phero__bg { filter: brightness(.5) saturate(.9); }
}

/* ---------- адаптив ---------- */
@media (max-width: 900px) {
  .tcards { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .issue, .method, .detail, .aboutpg, .abouttease, .prep__head { grid-template-columns: 1fr; gap: 40px; }
  .issues { gap: 90px; }
  .issue:nth-child(even) .issue__pic { order: 0; }
  .issue__pic { aspect-ratio: 4 / 3; }
  .method__pic, .aboutpg__pic { position: static; aspect-ratio: 4 / 3; }
  .aboutpg__pic img { aspect-ratio: 4 / 3.4; }
  .detail__card { position: static; }
  .prep { padding: 70px 0; }
  .prep__items { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; gap: 36px; }
  .cta { padding: 90px 0; }
  .phero__in { padding: 120px 0 40px; }
  .abouttease__pic::after { inset: 12px -8px -12px 8px; }
  .sec__head--row { flex-direction: column; align-items: start; gap: 16px; }
}


.clamp { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }

/* четыре факта под первым экраном */
.facts__in { grid-template-columns: repeat(4, 1fr); }
.facts__in > div + div { padding-left: 28px; }
@media (max-width: 960px) {
  .facts__in { grid-template-columns: 1fr 1fr; }
  .facts__in > div, .facts__in > div + div { padding: 14px 0; border-left: 0; }
  .facts__in > div:nth-child(n+3) { border-top: 1px solid rgba(236, 230, 220, .16); }
  .facts__in > div:nth-child(2n) { padding-left: 18px; border-left: 1px solid rgba(236, 230, 220, .16); }
}
.facts b.static { font-size: 36px; }

/* ---------- приём: шаги ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.steps li { padding: 40px 32px 12px 0; position: relative; }
.steps li + li { padding-left: 32px; border-left: 1px solid var(--line); }
.steps li::before { content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: 0; background: var(--brass); transition: width .9s cubic-bezier(.2, .7, .2, 1); }
.steps li:hover::before { width: 100%; }
.steps h3 { font-size: 26px; margin: 8px 0 12px; }
.steps p { margin: 0; color: var(--muted); font-size: 15.5px; }
.steps .num { font-size: 56px; line-height: 1; letter-spacing: 0; color: transparent; -webkit-text-stroke: 1px var(--brass); margin-bottom: 4px; display: block; }
.visit__more { margin-top: 44px; }

/* ---------- противопоказания ---------- */
.contra { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.contra h2 { font-size: clamp(32px, 4vw, 54px); margin-bottom: 20px; }
.contra__lead { color: var(--muted); font-size: 18px; margin: 0 0 28px; }
.contra__note { margin: 26px 0 0; padding-left: 18px; border-left: 1px solid var(--brass); color: var(--muted); font-size: 15px; }

/* ---------- вопросы ---------- */
.faqs { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font: 400 clamp(20px, 2.2vw, 26px)/1.3 var(--serif); transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 300 30px/1 var(--sans); color: var(--brass); transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.faq[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--brass); }
.faq p { margin: 0 0 28px; max-width: 680px; color: #cfc6b8; }

/* ---------- карта ---------- */
.map__addr { margin: 0; font: 400 clamp(22px, 2.6vw, 32px)/1.2 var(--serif); color: var(--brass); }
.mapbox { position: relative; aspect-ratio: 16 / 7; min-height: 340px; border: 1px solid var(--line); background: var(--card); overflow: hidden; }
.mapbox iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.88) brightness(.95); }
.mapbox__pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .6)); pointer-events: none; }
.map__routes { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 22px; }
.map__routes > span { margin-right: 6px; font: 500 12px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* ---------- форма: согласие ---------- */
.form label.check { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--muted); cursor: pointer; }
.form label.check::after { display: none; }
.form .check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--brass); }
.form .check a { color: var(--brass); text-underline-offset: 3px; }

/* ---------- отзывы: карусель ---------- */
.carousel { position: relative; }
.carousel__track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: auto; scrollbar-width: none; -ms-overflow-style: none; padding: 4px 0 8px; cursor: grab; outline-offset: 6px; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track.is-drag { cursor: grabbing; user-select: none; }
.carousel .rev { flex: 0 0 min(430px, 84vw); scroll-snap-align: start; margin: 0; padding: 38px 34px 30px; background: var(--card); border: 1px solid var(--line); border-left: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; transition: border-color .4s, transform .5s cubic-bezier(.2, .7, .2, 1); }
.carousel .rev:hover { border-color: var(--brass); }
.carousel .rev blockquote { font-size: 21px; line-height: 1.5; }
.carousel .rev figcaption { display: block; padding-top: 22px; border-top: 1px solid var(--line); }
.carousel .rev figcaption b { display: block; font: 500 15px var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.carousel .rev figcaption span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.carousel__ui { display: flex; align-items: center; gap: 22px; margin-top: 34px; }
.carousel__count { font: 400 15px var(--serif); letter-spacing: .12em; color: var(--brass); min-width: 64px; }
.carousel__bar { flex: 1; height: 1px; background: var(--line); position: relative; }
.carousel__bar i { position: absolute; left: 0; top: -0.5px; height: 2px; width: 0; background: var(--brass); transition: width .5s cubic-bezier(.2, .7, .2, 1); }
.carousel__btn { width: 52px; height: 52px; flex: none; border: 1px solid var(--line); background: none; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: border-color .3s, color .3s, background .3s, opacity .3s; }
.carousel__btn:hover:not(:disabled) { border-color: var(--brass); color: #17120b; background: var(--brass); }
.carousel__btn:disabled { opacity: .3; cursor: default; }
.reviews-section { scroll-margin-top: 76px; }
.reviews-section .carousel__ui { width: min(440px, 100%); margin-inline: auto; gap: 16px; }
@media (min-width: 961px) {
  .reviews-section { padding-block: 32px; }
  .reviews-section > .wrap > .sec__head { max-width: none; margin-bottom: 24px; }
  .reviews-section .sec__head .eyebrow { margin-bottom: 10px; }
  .reviews-section .sec__head h2 { font-size: clamp(32px, 3.2vw, 44px); line-height: 1.12; }
  .reviews-section .carousel .rev { padding: 20px 24px 18px; gap: 12px; }
  .reviews-section .carousel .rev blockquote { font-size: 18px; line-height: 1.35; }
  .reviews-section .carousel .rev blockquote::before { font-size: 36px; margin-bottom: 4px; }
  .reviews-section .carousel .rev figcaption { padding-top: 12px; }
  .reviews-section .carousel .rev figcaption span { font-size: 12px; }
  .reviews-section .carousel__ui { margin-top: 18px; }
  .reviews-section .carousel__btn { width: 42px; height: 42px; }
}
.rev__original { display: inline-flex; align-items: center; min-height: 36px; margin-top: 5px; color: var(--brass); font-size: 13px; text-decoration: underline; text-underline-offset: .24em; }
.review-original { width: min(760px, calc(100% - 24px)); max-height: calc(100% - 24px); margin: auto; padding: 0; border: 1px solid var(--line); background: #191613; color: var(--ink); }
.review-original::backdrop { background: rgba(0,0,0,.8); }
.review-original header { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 14px; background: #191613; }
.review-original h3 { margin: 0; font: 400 clamp(16px, 3vw, 24px)/1.2 var(--serif); }
.review-original button { min-height: 44px; padding: 0 12px; border: 1px solid var(--line); background: none; color: var(--ink); cursor: pointer; }
.review-original button:hover { border-color: var(--brass); }
.review-original img { display: block; width: 100%; height: auto; }
.video-review { margin-top: 54px; padding-top: 36px; border-top: 1px solid var(--line); scroll-margin-top: 95px; }
.video-review h3 { margin: 0 0 28px; font: 400 clamp(27px, 4vw, 42px)/1.15 var(--serif); }
.video-review__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.video-review__item { position: relative; min-width: 0; }
.video-review video { display: block; width: 100%; min-width: 0; aspect-ratio: 3 / 4; object-fit: contain; background: #191613; }
@media (max-width: 960px) {
  .video-review { margin-top: 32px; padding-top: 26px; }
  .video-review__grid { grid-template-columns: 1fr; gap: 24px; }
  .video-review__item { width: 100%; max-width: 420px; justify-self: center; }
}

/* ---------- политика конфиденциальности ---------- */
.legal { max-width: 780px; }
.legal h2 { font-size: 28px; margin: 48px 0 14px; }
.legal p, .legal li { color: #cfc6b8; }
.legal ul { padding-left: 20px; }
.legal .draft { padding: 14px 18px; border: 1px solid var(--brass); color: var(--brass); font-size: 14.5px; margin-bottom: 36px; }

/* ---------- адаптив ---------- */
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li, .steps li + li { padding: 30px 20px 10px 0; border-left: 0; }
  .steps li:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .contra { grid-template-columns: 1fr; gap: 36px; }
  .mapbox { aspect-ratio: 4 / 3.6; min-height: 320px; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .steps li:nth-child(even) { padding-left: 0; border-left: 0; }
  .steps li:nth-child(n+2) { border-top: 1px solid var(--line); }
  .wa { width: 58px; height: 58px; right: 14px; bottom: 14px; }
  .foot { padding-bottom: 90px; }
}

/* ---------- подсказка «Узнать больше» у кликабельных карточек ---------- */
.more { display: inline-flex; align-items: center; gap: 12px; margin-top: 14px; font: 500 12px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--brass); white-space: nowrap; }
.more::after { content: ""; width: 26px; height: 1px; background: currentColor; transition: width .45s cubic-bezier(.2, .7, .2, 1); }
.tcard__body .more { margin-top: 4px; }
a.pi, .tcard__a { cursor: pointer; }
a.pi:hover .more::after, .tcard__a:hover .more::after, a.pi:focus-visible .more::after { width: 52px; }
a.pi:hover .pi__price b { color: var(--brass); }
.pi__price .more { margin-top: 10px; }
.tcard__a:focus-visible, a.pi:focus-visible { outline: 1px solid var(--brass); outline-offset: 4px; }
@media (max-width: 960px) { .pi__price .more { margin-top: 0; } }

#faq { border-top: 1px solid var(--line); }

/* ---------- телефон: цифры, зоны нажатия, мелкий текст ---------- */
.foot__nav, .foot__soc { gap: 0; }
.foot a:not(.logo) { display: block; padding: 11px 0; }
.foot__brand a:not(.logo) { padding: 8px 0; }
.arrow { padding: 12px 0; }
.crumbs a { padding: 10px 0; }
@media (max-width: 960px) {
  .facts__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts__in > div { min-width: 0; }
  .facts span { max-width: none; }
  .logo { display: inline-block; padding: 16px 0; font-size: 12px; }
  .burger { width: 44px; height: 44px; }
  .burger span { left: 12px; right: 12px; }
  .burger span:first-child { top: 19px; }
  .burger span:last-child { top: 26px; }
}
@media (max-width: 560px) {
  .facts__in > div, .facts__in > div + div, .facts__in > div:nth-child(2n) { flex-direction: column; align-items: flex-start; gap: 4px; }
  .facts b { font-size: 36px; }
  .facts b.static { font-size: 30px; }
  .facts span { font-size: 12.5px; line-height: 1.35; }
}

/* карта и длинные заголовки на узких экранах */
.mapbox { width: 100%; min-width: 0; }
@media (max-width: 960px) {
  .mapbox { aspect-ratio: auto; height: 340px; min-height: 0; }
  .phero h1 { font-size: clamp(32px, 9vw, 64px); overflow-wrap: break-word; }
  .phero h1.long { font-size: clamp(25px, 7.6vw, 56px); }
}
.check { padding: 6px 0; }

/* ---------- логотип кириллицей, переключатель языков ---------- */
.logo { font: 400 22px/1.1 var(--serif); letter-spacing: .01em; text-transform: none; white-space: nowrap; }
.logo span { color: var(--brass); }
.foot__brand .logo { font-size: 24px; margin-bottom: 14px; }
.lang--nav { display: none; }
.lang button { min-width: 36px; }
.lang button[data-soon] { opacity: .45; cursor: help; }
.lang button[data-soon]:hover { opacity: .8; }
.soon-tip { position: fixed; z-index: 130; padding: 7px 12px; background: var(--brass); color: #17120b; font: 500 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .7); animation: tipin .25s ease; transition: opacity .3s; pointer-events: none; }
.soon-tip.out { opacity: 0; }
@keyframes tipin { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (max-width: 960px) {
  .logo { font-size: 20px; padding: 14px 0; }
  .lang--head { display: none; }
  .nav .lang--nav { display: flex; gap: 6px; padding: 18px 0 8px; border: 0; }
  .nav .lang--nav button { min-width: 56px; min-height: 44px; padding: 0 14px; font-size: 14px; border: 1px solid var(--line); border-bottom-width: 1px; }
  .nav .lang--nav button[aria-pressed="true"] { border-color: var(--brass); }
}

/* ---------- «Контакты» на один экран ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cpage { padding: 96px 0 40px; }
.cgrid { display: grid; grid-template-columns: 1.05fr .95fr; grid-template-rows: auto 1fr; grid-template-areas: "top form" "map form"; gap: 20px 44px; min-height: calc(100svh - 136px); }
.ctop { grid-area: top; }
.cmap { grid-area: map; display: flex; flex-direction: column; gap: 14px; min-height: 0; }
.cform { grid-area: form; align-self: stretch; display: grid; align-content: center; gap: 15px; padding: 30px 32px; }
.ctop .eyebrow { margin-bottom: 10px; }
.ctop h1 { font-size: clamp(30px, 3.2vw, 46px); }
.ctop .lead { margin: 12px 0 0; max-width: none; font-size: 15.5px; line-height: 1.55; color: var(--muted); }
.cinfo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin: 20px 0 0; padding: 16px 0 4px; border-top: 1px solid var(--line); }
.cinfo dt { font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--brass); }
.cinfo dd { margin: 3px 0 0; font-size: 16.5px; overflow-wrap: anywhere; }
.cinfo a { text-decoration-color: var(--line); text-underline-offset: 4px; transition: color .3s; }
.cinfo a:hover { color: var(--brass); }
.cmap .mapbox { flex: 1 1 220px; min-height: 200px; aspect-ratio: auto; }
.cmap .map__routes { margin-top: 0; gap: 8px; }
.cmap .chip { padding: 7px 14px; font-size: 11.5px; }
.cform .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cform label { gap: 2px; }
.cform input, .cform select, .cform textarea { padding: 8px 0; font-size: 16px; }
.cform textarea { resize: none; }
.cform .btn { min-height: 50px; }
@media (max-width: 960px) {
  .cpage { padding: 92px 0 48px; }
  .cgrid { grid-template-columns: 1fr; grid-template-rows: auto; grid-template-areas: "top" "form" "map"; min-height: 0; gap: 26px; }
  .cmap .mapbox { flex: none; height: 300px; }
  .cform { padding: 24px 22px; align-content: start; }
}
@media (max-width: 560px) {
  .cform .row2 { grid-template-columns: 1fr; gap: 15px; }
  .cinfo { grid-template-columns: 1fr; }
}

/* ещё компактнее для невысоких окон */
.cpage { padding-top: 90px; padding-bottom: 28px; }
.cgrid { min-height: calc(100svh - 124px); gap: 16px 44px; }
.cmap .mapbox { flex: 1 1 170px; min-height: 170px; }
.cinfo { margin-top: 16px; padding-top: 14px; gap: 12px 24px; }
.cform { gap: 13px; padding: 26px 30px; }
@media (max-height: 700px) and (min-width: 961px) {
  .ctop .lead { font-size: 14.5px; margin-top: 8px; }
  .ctop h1 { font-size: clamp(28px, 2.8vw, 38px); }
  .cform { gap: 11px; padding: 22px 28px; }
  .cform .btn { min-height: 46px; }
}

@media (max-width: 960px) { .cmap .chip { padding: 12px 16px; font-size: 12px; } }

/* ---------- телефон: главный экран ровно в один экран, цифры всегда видны ---------- */
@media (max-width: 960px) {
  .hero { height: 100svh; min-height: 0; }
  .hero__in { padding: 82px 0 16px; }
  .hero .eyebrow { margin-bottom: 12px; font-size: 11px; }
  .hero h1 { font-size: clamp(31px, 9.4vw, 54px); }
  .hero .lead { font-size: 15.5px; line-height: 1.5; margin: 14px 0 18px; }
  .hero__cta { gap: 10px; }
  .hero__cta .btn { flex: 1 1 100%; min-height: 48px; padding: 0 20px; }
  .facts { flex: none; }
  .facts__in > div, .facts__in > div + div { padding: 9px 0; }
}
@media (max-width: 960px) and (max-height: 720px) {
  .hero__in { padding-top: 74px; }
  .hero h1 { font-size: clamp(28px, 8.4vw, 44px); }
  .hero .lead { font-size: 14.5px; margin: 10px 0 14px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .hero__cta .btn { min-height: 44px; }
  .facts b { font-size: 30px; }
  .facts span { font-size: 11.5px; }
}

/* карточки отзывов: по высоте текста, лента подстраивается под текущую карточку */
.carousel__track { align-items: flex-start; overflow-y: hidden; transition: height .45s cubic-bezier(.2, .7, .2, 1); }
.carousel .rev { height: auto; align-self: flex-start; gap: 22px; }

/* форма записи на «Контактах» по размеру содержимого, без пустых полей сверху и снизу */
.cform { align-self: start; align-content: start; }

/* совсем низкие телефоны (например 320×568): без вступительного абзаца и второй кнопки */
@media (max-width: 960px) and (max-height: 620px) {
  .hero .lead { display: none; }
  .hero__cta .btn--ghost { display: none; }
  .hero__in { padding-top: 70px; }
}

@media (max-width: 560px) {
  .carousel .rev { padding: 24px 22px 20px; gap: 14px; }
  .carousel .rev blockquote::before { font-size: 40px; margin-bottom: 4px; }
  .carousel .rev figcaption { padding-top: 14px; }
  .carousel .rev figcaption b { font-size: 14px; }
  .carousel__ui { margin-top: 22px; gap: 14px; }
  .carousel__btn { width: 46px; height: 46px; }
}


/* «Контакты» (компьютер): справа сверху фото, форма внизу по размеру содержимого; на телефоне и в низких окнах фото убирается */
.cside { grid-area: form; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.cphoto { flex: 1 1 0; min-height: 0; margin: 0; overflow: hidden; border: 1px solid var(--line); position: relative; }
.cphoto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: saturate(.9); }
.cphoto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15, 14, 13, .55), transparent 55%); }
.cside .cform { align-self: stretch; flex: none; }
@media (max-height: 690px) and (min-width: 961px) { .cphoto { display: none; } .cside { justify-content: flex-end; } }
@media (max-width: 960px) {
  .cside { display: block; }
  .cphoto { display: none; }
}

/* ===== v17 ===== */
/* Фото на экране при загрузке — сразу, без затемнения и «шторки» */
.hero__bg, body.ready .hero__bg { filter: none; transition: none; }
.js .phero__bg, .js body.ready .phero__bg { filter: brightness(.5) saturate(.9); transition: none; }
.wipe.instant, .js .wipe.instant { clip-path: none; transition: none; }

/* Компактная шапка внутренних страниц: текст выше, без пустого места */
.phero { min-height: clamp(250px, 32vh, 330px); }
.phero__in { padding: 118px 0 38px; }
.phero h1 { font-size: clamp(34px, 4.6vw, 62px); }
.phero .lead { margin-top: 14px; }
.crumbs { margin-bottom: 14px; }
@media (max-width: 960px) {
  .phero { min-height: 0; }
  .phero__in { padding: 96px 0 26px; }
  .phero h1 { font-size: clamp(30px, 8.6vw, 46px); }
}

/* Подвал: «Разработано Visual Web» */
.foot__in { align-items: center; }
.foot__dev { margin-left: auto; font-size: 16px; letter-spacing: .04em; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); padding: 8px 0 2px; transition: color .3s, border-color .3s; }
.foot__heart { color: var(--brass); font-size: 20px; }
.wa { width: 64px; height: 64px; }
.wa svg { width: 30px; height: 30px; }
@media (max-width: 560px) { .wa { width: 58px; height: 58px; } }
.form .form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form [aria-invalid="true"] { border-color: var(--brass); }
.form[aria-busy="true"] button[type="submit"] { opacity: .65; cursor: wait; }
.foot__dev:hover { color: var(--brass); border-color: var(--brass); }
@media (max-width: 960px) { .foot__dev { margin-left: 0; width: 100%; } }

/* «Контакты» на телефоне: карта над формой */
@media (max-width: 960px) {
  .cgrid { grid-template-areas: "top" "map" "side"; }
  .cside { grid-area: side; }
}

/* на телефоне шапка внутренних страниц ещё компактнее */
@media (max-width: 560px) {
  .phero__in { padding: 86px 0 18px; }
  .phero h1 { font-size: clamp(28px, 8.2vw, 38px); }
  .phero .lead { margin-top: 10px; font-size: 15px; }
  .crumbs { margin-bottom: 10px; }
}

/* ===== v19: фото на страницах процедур ===== */
.pgallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 0 36px; }
.pgallery figure { margin: 0; overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.pgallery img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.94); transition: transform .9s cubic-bezier(.2, .7, .2, 1), filter .4s; }
.pgallery figure:hover img { transform: scale(1.04); filter: saturate(1.05); }
.pgallery .pg-main { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.pgallery figure:not(.pg-main) { aspect-ratio: 4 / 3; }
@media (max-width: 560px) { .pgallery { gap: 10px; margin-bottom: 26px; } .pgallery .pg-main { aspect-ratio: 4 / 3; } }

/* галерея на странице процедуры: большое фото + два маленьких рядом (компактно) */
@media (min-width: 561px) {
  .pgallery { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 16 / 8; }
  .pgallery .pg-main { grid-column: 1; grid-row: 1 / 3; aspect-ratio: auto; }
  .pgallery figure:not(.pg-main) { aspect-ratio: auto; }
}

/* содержимое сразу под шапкой внутренних страниц, без большого пустого места */
.phero + .sec { padding-top: 56px; }
@media (max-width: 960px) { .phero + .sec { padding-top: 34px; } }

/* ===== v22 ===== */
/* Портрет на «Обо мне»: нормальные пропорции, лицо в кадре */
.aboutpg__pic img { height: auto; width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: 50% 30%; transform: none; }
@media (max-width: 960px) {
  .aboutpg__pic { aspect-ratio: auto; }
  .aboutpg__pic img { aspect-ratio: 4 / 3.3; object-position: 50% 32%; }
}

/* Форма заявки на «Контактах»: на телефоне выделена цветом и заголовком */
.cform__title { display: none; }
@media (max-width: 960px) {
  .cside { margin-top: 4px; }
  .cform { position: relative; background: linear-gradient(180deg, rgba(193, 154, 91, .18), rgba(193, 154, 91, .06) 70%); border: 1px solid var(--brass); box-shadow: 0 0 0 4px rgba(193, 154, 91, .08), 0 26px 50px -30px rgba(0, 0, 0, .9); padding: 26px 22px 24px; }
  .cform::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 4px; background: var(--brass); }
  .cform__title { display: block; margin: 4px 0 6px; font: 400 28px/1.15 var(--serif); color: var(--ink); }
  .cform input, .cform select, .cform textarea { border-bottom-color: rgba(193, 154, 91, .55); }
}

/* ===== v23: портрет «Обо мне» — появляется сразу, мягко «оседает» и слегка сдвигается при прокрутке ===== */
.aboutpg__pic img[data-parallax] { transform: translate3d(0, var(--py, 0px), 0) scale(var(--sc, 1.1)); will-change: transform; }
.pimg { display: block; transform-origin: 50% 35%; animation: settle 1.9s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes settle { from { transform: scale(1.14); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .pimg { animation: none; } }

/* ===== v25: кнопка WhatsApp видна всегда; цифры на главной не прячутся под ней ===== */
/* телефон: внизу справа короткие подписи («лет практики», «проведённых сеансов»), диплом и Sotis наверх */
@media (max-width: 960px) {
  .facts__in > div:nth-child(1) { order: 4; }
  .facts__in > div:nth-child(2) { order: 3; }
  .facts__in > div:nth-child(3) { order: 2; }
  .facts__in > div:nth-child(4) { order: 1; }
}
/* компьютер на средней ширине: кнопка стоит у края окна, оставляем ей место в последней ячейке */
@media (min-width: 961px) and (max-width: 1400px) {
  .facts__in > div:last-child { padding-right: 76px; }
}

/* ===== v27: пожелания Виталия от 31.10 ===== */
.hero__bg { inset: 0 0 auto auto; width: 58%; height: 100%; object-position: 50% 24%; }
.hero__shade {
  background: linear-gradient(90deg, #0f0e0d 42%, rgba(15,14,13,.9) 47%, rgba(15,14,13,.2) 70%, transparent 87%),
    linear-gradient(0deg, #0f0e0d 0%, transparent 35%);
}
.hero h1 { max-width: 950px; font-size: clamp(42px, 5.8vw, 82px); }
@media (min-width: 961px) {
  .hero h1 { max-width: min(950px, 54vw); font-size: clamp(42px, 5.2vw, 74px); }
  .hero__in { padding-block: 120px 0; }
  .hero__actions { padding-bottom: 48px; }
}
.facts__in { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.facts span { max-width: 240px; }
.facts__in > div { min-width: 0; }
.facts__in > div:last-child b { white-space: nowrap; }
.hero__actions { position: relative; }
@media (min-width: 961px) and (max-height: 820px) {
  .hero__in { padding-top: 100px; }
  .hero .eyebrow { margin-bottom: 14px; }
  .hero h1 { font-size: clamp(38px, 4.4vw, 60px); line-height: 1.05; }
  .hero .lead { font-size: 16px; line-height: 1.45; margin: 18px 0 22px; }
  .hero__actions { padding-bottom: 28px; }
  .hero .facts__in > div { padding-block: 18px; }
  .hero .facts b { font-size: 44px; }
}
@media (min-width: 961px) and (max-height: 680px) {
  .hero__in { padding-top: 84px; }
  .hero .eyebrow { margin-bottom: 10px; font-size: 11px; }
  .hero h1 { font-size: clamp(34px, 3.6vw, 50px); line-height: 1.04; }
  .hero .lead { font-size: 15px; line-height: 1.4; margin: 12px 0 16px; }
  .hero__actions { padding-bottom: 20px; }
  .hero .facts__in > div { padding-block: 12px; }
  .hero .facts b { font-size: 40px; }
  .hero .facts span { font-size: 12px; }
}
.treatment-groups { display: grid; gap: 48px; }
.form-notice { margin: 0; padding: 12px 14px; border-left: 2px solid var(--brass); color: var(--muted); font-size: 13px; line-height: 1.6; }
.treatment-group__title { margin: 0 0 24px; font: 400 clamp(26px, 3vw, 36px)/1.2 var(--serif); color: var(--brass); }
.treatment-group .tcards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.treatment-group[data-group="back"] .tcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.treatment-group .tcard__img { aspect-ratio: 4 / 3; }
.treatment-group .tcard h4 { margin: 0; font: 400 24px/1.2 var(--serif); color: var(--ink); transition: color .3s; }
.treatment-group .tcard__a:hover h4 { color: var(--brass); }
.procgroup { list-style: none; }
.procgroup + .procgroup { margin-top: 42px; }
.procgroup__items { list-style: none; padding: 0; margin: 0; }
.pi__price { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.pi__option { display: flex; align-items: baseline; justify-content: flex-end; gap: 10px; white-space: nowrap; }

@media (max-width: 960px) {
  .hero { height: auto; min-height: 100svh; }
  .hero__bg {
    top: 24px; width: 100%; height: clamp(245px, 48svh, 450px); object-position: 50% 15%;
    mask-image: linear-gradient(#000 28%, transparent 100%);
  }
  .hero__shade { background: linear-gradient(180deg, transparent 85px, rgba(15,14,13,.5) 225px, transparent 450px); }
  .hero__in { padding: clamp(215px, 29svh, 280px) 0 25px; }
  .hero h1 { font-size: clamp(31px, 7.7vw, 46px); max-width: 620px; }
  .hero .lead { display: block; -webkit-line-clamp: unset; overflow: visible; max-width: 580px; font-size: 15px; line-height: 1.55; margin: 17px 0 22px; }
  .facts__in { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts__in > div:nth-child(n) { order: 0; }
  .facts__in > div, .facts__in > div + div, .facts__in > div:nth-child(2n) { order: 0; border-top: 0; border-left: 0; padding: 17px 12px; flex-direction: column; align-items: flex-start; gap: 7px; }
  .facts__in > div + div { border-left: 1px solid rgba(236,230,220,.16); }
  .facts__in > div:last-child { padding-right: 52px; }
  .facts span { font-size: 12px; line-height: 1.45; }
  .facts b, .facts b.static { font-size: 30px; line-height: 1; }
  .treatment-group .tcards, .treatment-group[data-group="back"] .tcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pi__price { align-items: flex-start; }
  .pi__option { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .facts__in { grid-template-columns: 1fr; }
  .facts__in > div, .facts__in > div + div, .facts__in > div:nth-child(2n) { flex-direction: row; align-items: center; gap: 15px; padding: 13px 0; border-left: 0; }
  .facts__in > div + div { border-top: 1px solid rgba(236,230,220,.16); }
  .facts__in > div:last-child { padding-right: 68px; }
  .facts b, .facts b.static { flex: 0 0 30px; font-size: 28px; }
  .facts span { max-width: none; font-size: 12px; }
  .treatment-group .tcards, .treatment-group[data-group="back"] .tcards { grid-template-columns: 1fr; }
  .treatment-groups { gap: 36px; }
  .procgroup + .procgroup { margin-top: 32px; }
}

/* ===== v29: целые карточки отзывов и компактный мобильный первый экран ===== */
.carousel { --visible-cards: 3; }
.carousel .rev { flex-basis: calc((100% - (var(--visible-cards) - 1) * 24px) / var(--visible-cards)); min-width: 0; }
.carousel__count { white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1199px) {
  .carousel { --visible-cards: 2; }
}
@media (max-width: 960px) {
  .carousel { --visible-cards: 1; }
  .burger span { left: 12px; right: 12px; }
  .burger span:nth-child(1) { top: 14px; }
  .burger span:nth-child(2) { top: 21px; }
  .burger span:nth-child(3) { top: 28px; }
  .hero__in { padding: clamp(105px, 18svh, 175px) 0 12px; }
  .hero .eyebrow { margin-bottom: 8px; font-size: 9px; letter-spacing: .21em; }
  .hero h1 { font-size: clamp(27px, 7.5vw, 38px); line-height: 1.05; }
  .hero .lead { font-size: 13px; line-height: 1.4; margin: 10px 0 14px; }
  .hero__cta { gap: 8px; }
  .hero__cta .btn { min-height: 40px; padding-inline: 16px; font-size: 11px; }
  .hero__cta .btn--ghost { display: inline-flex; }
  .hero__in { padding-bottom: 0; }
  .hero .facts { order: 1; }
  .hero__actions { order: 2; padding-block: 12px 18px; }
}
@media (max-width: 560px) {
  .facts__in > div:nth-child(n) { gap: 11px; padding: 6px 68px 6px 0; }
  .facts b, .facts b.static { flex-basis: 24px; font-size: 23px; }
  .facts__in > div:last-child b { flex-basis: 40px; }
  .facts span { font-size: 11.5px; line-height: 1.3; }
}
@media (max-width: 560px) and (max-height: 700px) {
  .hero__in { padding-top: 94px; padding-bottom: 10px; }
  .hero h1 { font-size: clamp(25px, 7vw, 29px); }
  .hero .lead { font-size: 12.5px; margin-block: 8px 11px; }
}
@media (max-width: 560px) and (max-height: 620px) {
  .hero__in { padding-top: 78px; }
}
