/* Анализ-тестостерон.рф — композиция по макету Figma «Тестостерон-анализ» (MEDO-Clinic, 654:10356),
   оформление на дизайн-коде проектов ГЗТ.РФ (gzt.clinic, checkup-man.ru, тестостерон.com):
   шрифт Inter Display, токены ГЗТ, лёгкие заголовки с красным акцентным словом, кикеры с точкой,
   красные «пиксели», скругления 14/22/28, подвал gzt.clinic. */

@font-face { font-family: 'Inter Display'; src: url('../fonts/InterDisplay-Light.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Inter Display'; src: url('../fonts/InterDisplay-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter Display'; src: url('../fonts/InterDisplay-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Inter Display'; src: url('../fonts/InterDisplay-SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Inter Display'; src: url('../fonts/InterDisplay-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --dark: #020d20;
  --red: #ed3237;
  --pink-bg: #fff2f2;
  --blue: #5c83c3;
  --blue-card: #b2cffe;
  --blue-soft: rgba(92, 131, 195, .12);
  --grey-bg: #ebf0f7;
  --grey-bg-2: #f2f5fa;
  --text-47: rgba(2, 13, 32, .47);
  --text-36: rgba(2, 13, 32, .36);
  --line: rgba(2, 13, 32, .1);
  --font: 'Inter Display', 'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --pad: 68px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { font: 400 16px/1.3 var(--font); letter-spacing: -.01em; color: var(--dark); background: #fff; -webkit-font-smoothing: antialiased; padding-top: 86px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; letter-spacing: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
body.is-locked { overflow: hidden; }

.section { padding: 60px var(--pad) 100px; max-width: 1440px; margin: 0 auto; }

/* Типографика ГЗТ: лёгкий крупный заголовок, акцентное слово красным */
.h2 { font-weight: 400; font-size: 54px; line-height: .98; letter-spacing: -.03em; color: var(--dark); }
.h2 b { font-weight: inherit; color: var(--red); }
.h2--light { color: #fff; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 10px 18px; border-radius: 35px; background: var(--blue-soft); font-size: 15px; line-height: 1; color: rgba(2, 13, 32, .5); }
.kicker::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.kicker--dark { background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .7); }
.kicker--dark::before { background: #fff; }

/* Пиксели ГЗТ */
.pixels { position: relative; display: inline-block; flex-shrink: 0; height: 20px; }
.pixels i { position: absolute; left: calc(var(--x) * 10px); top: calc(var(--y) * 10px); width: 10px; height: 10px; background: var(--red); }

/* Кнопки ГЗТ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 34px; border-radius: 32px; font-weight: 500; font-size: 18px; letter-spacing: -.02em; white-space: nowrap; transition: opacity .2s, background .2s, transform .2s; }
.btn:hover { opacity: .88; }
.btn:active { transform: translateY(1px); }
.btn--red { background: var(--red); color: #fff; }
.btn--dark { background: var(--dark); color: #fff; }
.btn--white { background: #fff; color: var(--dark); }
.btn--sm { height: 44px; padding: 0 24px; font-size: 16px; }
.btn--block { display: flex; width: 100%; }
.btn--arrow { height: auto; padding: 7px 22px 7px 7px; border: 1px solid var(--line); background: #fff; color: var(--dark); font-size: 16px; }
.btn__circle { width: 30px; height: 30px; border-radius: 50%; background: var(--dark); position: relative; }
.btn__circle::after { content: ''; position: absolute; inset: 0; background: center / 14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 7h12M8 2l5 5-5 5'/%3E%3C/svg%3E"); }
.btn:disabled { opacity: .55; cursor: default; }
.label-short { display: none; }

.badge { display: inline-flex; align-items: center; padding: 8px 13px; border-radius: 30px; font-weight: 500; font-size: 14px; line-height: 1; white-space: nowrap; }
.badge--blue { background: #fff; color: var(--blue); }
.badge--pink { background: #fff; color: var(--red); }

/* Шапка */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: #fff; transition: box-shadow .2s; }
.nav.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.nav__bar { max-width: 1440px; height: 86px; margin: 0 auto; padding: 0 var(--pad); display: flex; align-items: center; gap: 28px; }
.logo { font: 500 21px/1 var(--font); letter-spacing: -.04em; color: var(--dark); white-space: nowrap; }
.logo i { font-style: normal; color: var(--red); }
.logo--light { color: #fff; }
.nav__links { flex: 1; display: flex; align-items: center; justify-content: center; gap: 30px; font-size: 16px; letter-spacing: -.02em; }
.nav__city { display: inline-flex; align-items: center; gap: 7px; color: var(--text-47); }
.nav__links a { transition: color .2s; }
.nav__links a:hover { color: var(--red); }
.nav__phone { font-weight: 500; font-size: 17px; white-space: nowrap; transition: color .2s; }
.nav__phone:hover { color: var(--red); }
.burger { display: none; flex-shrink: 0; width: 44px; height: 44px; padding: 0 10px; flex-direction: column; justify-content: center; gap: 5px; }
.burger span { display: block; height: 2px; border-radius: 2px; background: var(--dark); transition: transform .25s, opacity .2s; }
.nav.is-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .burger span:nth-child(2) { opacity: 0; }
.nav.is-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu { display: none; }

/* 1. Первый экран */
.hero { padding: 0 20px; }
.hero__stage { position: relative; max-width: 1400px; height: 760px; margin: 0 auto; padding: 92px var(--pad) 72px; border-radius: 28px; overflow: hidden; background: var(--dark); color: #fff; display: flex; flex-direction: column; }
.hero__bg { position: absolute; left: calc(-5px - 12.77% * 1410 / 1400); top: -17.06%; width: calc(112.77% * 1410 / 1400); max-width: none; height: 134.13%; object-fit: cover; }
.hero__wash { position: absolute; inset: 0 -5px; background: linear-gradient(90deg, rgba(2, 13, 32, .94) 0%, rgba(2, 13, 32, .34) 26%, rgba(2, 13, 32, .06) 52%); }
.hero__copy { position: relative; width: 660px; height: 611px; flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hero__copy .kicker { margin-bottom: 0; }
.hero__title { font-weight: 400; font-size: 86px; line-height: .93; letter-spacing: -.045em; }
.hero__lead { width: 540px; font-size: 20px; line-height: 1.35; letter-spacing: -.02em; color: rgba(255, 255, 255, .72); }
.hero__btn { margin-top: 8px; }
.hero__trust { position: relative; display: flex; align-items: center; gap: 20px; font-weight: 300; font-size: 16px; }
.hero__trust li + li::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 20px; background: var(--red); vertical-align: middle; }
.chip { position: absolute; width: 190px; height: 76px; padding: 0 20px; display: flex; align-items: center; gap: 14px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 22px; background: rgba(255, 255, 255, .08); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); box-shadow: 0 16px 36px rgba(2, 13, 32, .25); font-weight: 500; font-size: 15px; line-height: 1.18; transform: rotate(-7deg); animation: float 6s ease-in-out infinite; }
.chip img { filter: brightness(0) invert(1); }
.chip--1 { right: 214px; top: 90px; }
.chip--2 { right: 152px; top: 193px; animation-delay: -2s; }
.chip--3 { right: 99px; top: 300px; animation-delay: -4s; }
@keyframes float { 50% { transform: rotate(-7deg) translateY(-6px); } }
.hero__count { position: absolute; right: 65px; bottom: 38px; display: flex; flex-direction: column; gap: 4px; }
.hero__count-num { font-weight: 300; font-size: 72px; line-height: 1.1; letter-spacing: -.05em; }
.hero__count-num i { font-style: normal; color: var(--red); }
.hero__count-text { width: 180px; font-size: 13px; line-height: 1.25; color: rgba(255, 255, 255, .72); }

/* 2. Комплексный подход */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 38px; }
.section-head__aside { width: 420px; font-size: 15px; line-height: 1.35; color: var(--text-36); }
.approach__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.approach__card { height: 280px; padding: 22px 26px 26px; border-radius: 22px; display: flex; flex-direction: column; gap: 16px; overflow: hidden; }
.approach__card--blue { background: var(--grey-bg); }
.approach__card--pink { background: var(--pink-bg); }
.approach__card--image { padding: 0; }
.approach__card--image img { width: 100%; height: 100%; object-fit: cover; }
.approach__top { display: flex; align-items: center; justify-content: space-between; }
.approach__top img { display: none; }
.approach__title { margin-top: auto; font-weight: 400; font-size: 30px; line-height: 1; letter-spacing: -.03em; }
.approach__text { font-size: 15px; line-height: 1.4; color: var(--text-47); }

/* 3. Симптомы */
.symptoms { position: relative; max-width: 1400px; margin: 0 auto; padding: 56px var(--pad); border-radius: 28px; overflow: hidden; background: var(--dark); display: flex; flex-direction: column; gap: 36px; }
.symptoms__glow { position: absolute; right: -80px; bottom: -170px; width: 760px; height: 430px; background: radial-gradient(closest-side, rgba(237, 50, 55, .32), rgba(237, 50, 55, 0)); pointer-events: none; }
.symptoms__head { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.symptoms__sub { margin-top: 14px; font-size: 16px; color: rgba(255, 255, 255, .6); }
.symptoms__grid { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.symptom { height: 180px; padding: 24px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 22px; background: rgba(255, 255, 255, .05); display: flex; flex-direction: column; justify-content: space-between; font-weight: 500; font-size: 16px; line-height: 1.16; color: #fff; transition: border-color .2s, background .2s; }
.symptom:hover { border-color: rgba(237, 50, 55, .55); background: rgba(255, 255, 255, .08); }
.symptom__mob { display: none; }

/* 4. Больше, чем просто цифры */
.results { display: flex; align-items: center; gap: 58px; padding-left: 0; padding-right: var(--pad); }
.results__photo { position: relative; flex: 0 0 760px; height: 566px; border-radius: 0 28px 28px 0; overflow: hidden; }
.results__img { width: 100%; height: 100%; object-fit: cover; }
.checklist { position: absolute; top: 16px; right: 16px; width: 290px; padding: 26px; border-radius: 22px; background: rgba(2, 13, 32, .9); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #fff; }
.checklist__title { margin-bottom: 16px; font-weight: 500; font-size: 18px; line-height: 1.2; }
.checklist ul { display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: rgba(255, 255, 255, .8); }
.checklist li img { display: none; }
.checklist li::before { content: ''; flex-shrink: 0; width: 10px; height: 10px; background: var(--red); }
.results__copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.results__copy .h2 { max-width: 520px; }
.results__lead { font-size: 17px; line-height: 1.4; color: var(--text-47); }
.results__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 8px; }
.benefit { display: flex; align-items: center; gap: 14px; }
.benefit__icon { flex-shrink: 0; width: 54px; height: 54px; border-radius: 50%; background: var(--pink-bg); display: flex; align-items: center; justify-content: center; }
.benefit b { display: block; font-weight: 500; font-size: 18px; letter-spacing: -.02em; }
.benefit small { display: block; margin-top: 4px; max-width: 190px; font-size: 14px; line-height: 1.3; color: var(--text-47); }

/* 5. Можно ли без врача */
.solutions { max-width: 1440px; min-height: 853px; margin: 0 auto; display: flex; align-items: center; justify-content: flex-end; }
.solutions__copy { width: 678px; padding: 40px 80px 40px 0; display: flex; flex-direction: column; gap: 18px; }
.solutions__lead { font-size: 16px; line-height: 1.4; color: var(--text-47); }
.methods { display: flex; flex-direction: column; gap: 10px; width: 646px; max-width: 100%; margin-top: 4px; }
.method { min-height: 100px; padding: 16px 18px; border-radius: 22px; background: var(--grey-bg-2); display: flex; align-items: center; gap: 12px; transition: background .2s; }
.method:hover { background: var(--grey-bg); }
.method:last-child { background: var(--pink-bg); }
.method__icon { flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; }
.method__icon img { width: 26px; height: 26px; }
.method__icon--rotate img { transform: rotate(45deg); }
.method__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.method__body b { font-weight: 500; font-size: 19px; letter-spacing: -.02em; }
.method__body small { font-size: 15px; line-height: 1.35; color: var(--text-47); }
.method__mark { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.method__mark--no { background: #fff; }
.method__mark--ok { background: var(--red); }
.method__mark--ok img { filter: brightness(0) invert(1); }
.quote { position: relative; flex: 0 0 680px; height: 707px; border-radius: 28px 0 0 28px; overflow: hidden; }
.quote__img { width: 100%; height: 100%; object-fit: cover; }
.quote__card { position: absolute; left: 16px; top: 430px; width: 567px; padding: 26px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 22px; background: rgba(2, 13, 32, .55); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); display: flex; flex-direction: column; gap: 14px; color: #fff; }
.quote__mark { height: 26px; font: 700 70px/60px Georgia, 'Times New Roman', serif; color: var(--red); }
.quote__text { font-size: 21px; line-height: 1.35; letter-spacing: -.02em; }
.quote__rule { width: 40px; height: 2px; background: var(--red); }
.quote__who { display: flex; flex-direction: column; gap: 2px; font-size: 16px; line-height: 1.35; color: rgba(255, 255, 255, .65); }
.quote__who b { font-weight: 500; font-size: 20px; color: #fff; }

/* 6. Как это работает */
.how { max-width: 1400px; margin: 0 auto; padding: 60px var(--pad) 80px; border-radius: 28px; background: var(--grey-bg-2); }
.how .h2 { margin-bottom: 40px; }
.how__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.step { padding: 26px 22px; border-radius: 22px; background: #fff; display: flex; flex-direction: column; gap: 22px; }
.step__num { display: flex; align-items: center; gap: 14px; font-size: 30px; line-height: 1; letter-spacing: -.03em; color: var(--red); }
.step:nth-child(1) .pixels { width: 10px; }
.step:nth-child(2) .pixels { width: 20px; }
.step:nth-child(3) .pixels { width: 30px; }
.step:nth-child(4) .pixels { width: 40px; }
.step__row { display: flex; align-items: center; gap: 14px; }
.step__icon { flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; background: var(--grey-bg-2); display: flex; align-items: center; justify-content: center; }
.step__copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.step__copy b { font-weight: 500; font-size: 18px; letter-spacing: -.02em; }
.step__copy small { font-size: 15px; line-height: 1.35; color: var(--text-47); }
.step__arrow { display: none; }

/* 7. О клинике */
.about .h2 { margin-bottom: 28px; }
.about__grid { display: grid; grid-template-columns: 780fr 500fr; gap: 24px; }
.about__photo { position: relative; height: 430px; border-radius: 28px; overflow: hidden; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(2, 13, 32, 0) 45%, rgba(2, 13, 32, .7) 85%); }
.about__badge { position: absolute; left: 20px; top: 20px; z-index: 1; }
.about__caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 24px; display: flex; flex-direction: column; gap: 4px; color: #fff; }
.about__caption b { font-weight: 500; font-size: 22px; letter-spacing: -.02em; }
.about__caption span { font-size: 15px; color: rgba(255, 255, 255, .65); }
.about__info { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.about__lead { font-size: 18px; line-height: 1.4; letter-spacing: -.02em; color: var(--text-47); }
.stats { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat { padding: 20px; border-radius: 22px; display: flex; flex-direction: column; gap: 10px; }
.stat--blue { background: var(--grey-bg); }
.stat--pink { background: var(--pink-bg); }
.stat b { font-weight: 400; font-size: 40px; line-height: 1; letter-spacing: -.04em; color: var(--dark); }
.stat span { max-width: 170px; font-size: 14px; line-height: 1.3; color: var(--text-47); }

/* 8. Форма */
.form-section { padding-bottom: 60px; }
.appoint { max-width: 1304px; margin: 0 auto; padding: 44px; border-radius: 28px; background: var(--grey-bg); }
.appoint__lead { margin-top: 14px; font-size: 17px; line-height: 1.4; color: var(--text-47); }
.appoint__fields { margin-top: 28px; display: grid; grid-template-columns: 333fr 325fr 312fr auto; align-items: center; gap: 12px; }
.field { position: relative; height: 64px; padding: 0 20px; border: 1.5px solid transparent; border-radius: 14px; background: #fff; display: flex; align-items: center; gap: 14px; cursor: text; transition: border-color .15s; }
.field:hover { border-color: rgba(92, 131, 195, .4); }
.field:focus-within { border-color: var(--blue); }
.field img { width: 20px; height: 20px; }
.field input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-size: 17px; color: var(--dark); }
.field input::placeholder { color: var(--text-36); }
.field input:-webkit-autofill { -webkit-text-fill-color: var(--dark); -webkit-box-shadow: 0 0 0 100px #fff inset; }
.field__stack { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.field__stack input { height: 20px; }
.field__label { font-size: 13px; line-height: 1; color: var(--text-36); }
.field.is-error { border-color: var(--red); }
.appoint__btn { height: 64px; }
.appoint__consent { margin-top: 18px; font-size: 13px; line-height: 1.4; color: var(--text-36); }
.appoint__consent a { text-decoration: underline; }
.appoint__private { margin-top: 10px; display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-36); }
.appoint__private img { width: 15px; height: 15px; }
.form-error { margin-top: 12px; font-size: 14px; color: var(--red); }
.form-success { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: var(--pink-bg); font-size: 15px; line-height: 1.35; }

/* 9. Врачи */
.doctors__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.arrows { display: flex; gap: 8px; }
.arrow { width: 48px; height: 48px; border-radius: 50%; background: var(--grey-bg); display: flex; align-items: center; justify-content: center; transition: background .15s, opacity .15s; }
.arrow:hover { background: var(--dark); }
.arrow:hover img { filter: brightness(0) invert(1); }
.arrow--next { background: var(--dark); }
.arrow--next img { filter: brightness(0) invert(1); }
.arrow:disabled { opacity: .35; cursor: default; }
.carousel { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; }
.carousel::-webkit-scrollbar { display: none; }
.carousel.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.carousel.is-dragging .doctor { pointer-events: none; }
.doctor { flex: 0 0 calc((100% - 24px) / 3); scroll-snap-align: start; display: flex; flex-direction: column; }
.doctor__photo { position: relative; height: 340px; border-radius: 22px; background: var(--grey-bg); overflow: hidden; }
.doctor__photo img { position: absolute; left: 50%; top: -4%; width: 82%; max-width: none; transform: translateX(-50%); user-select: none; }
.doctor--doctorgrekov .doctor__photo img { top: 3%; width: 86%; }
.doctor__exp { position: absolute; left: 14px; top: 14px; color: var(--dark); }
.doctor__body { flex: 1; padding: 18px 4px 0; display: flex; flex-direction: column; gap: 10px; }
.doctor__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.doctor__tags span { padding: 6px 10px; border-radius: 10px; background: var(--grey-bg-2); font-size: 13px; line-height: 1.2; color: var(--text-47); }
.doctor__name { font-weight: 500; font-size: 21px; line-height: 1.1; letter-spacing: -.02em; }
.doctor__about { font-size: 14px; line-height: 1.35; color: var(--text-47); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.doctor__btn { margin-top: auto; align-self: flex-start; }

/* 10. Финальный призыв */
.cta { position: relative; max-width: 1400px; margin: 0 auto; padding: 48px var(--pad); border-radius: 28px; overflow: hidden; background: var(--dark); }
.cta__img { position: absolute; left: 616px; top: -15px; width: 911px; height: 462px; max-width: none; object-fit: cover; filter: brightness(.8); }
.cta::before { content: ''; position: absolute; left: 380px; top: -336px; width: 565px; height: 1037px; background: radial-gradient(closest-side, var(--dark) 55%, rgba(2, 13, 32, 0)); pointer-events: none; z-index: 1; }
.cta__glow { position: absolute; right: 935px; bottom: 111px; width: 760px; height: 430px; background: radial-gradient(closest-side, rgba(237, 50, 55, .3), rgba(237, 50, 55, 0)); pointer-events: none; z-index: 1; }
.cta__metric { position: absolute; right: 382px; top: 39px; z-index: 2; width: 214px; height: 224px; padding: 26px 24px 22px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 22px; background: rgba(235, 240, 247, .22); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); display: flex; flex-direction: column; gap: 13px; transform: rotate(8deg); color: #fff; }
.cta__metric b { font-weight: 400; font-size: 44px; line-height: 1.1; letter-spacing: -.04em; }
.cta__trend { display: flex; align-items: center; justify-content: space-between; }
.cta__trend i { width: 88px; height: 1px; background: #fff; }
.cta__metric > span:last-child { font-size: 17px; line-height: 1.25; color: rgba(255, 255, 255, .84); }
.cta__copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.cta__title { width: 690px; }
.cta__lead { width: 560px; font-size: 18px; line-height: 1.4; color: rgba(255, 255, 255, .6); }

/* ---------- Подвал и окно записи — как на gzt.clinic ---------- */
/* Подвал — один в один с gzt.clinic (css/style.css, блок Footer) */
.footer { margin-top: 80px; }
.footer__bg { background: var(--dark); border-radius: 28px 28px 0 0; padding: 44px 0 0; color: #fff; }
.footer__inner { max-width: 1440px; margin: 0 auto; padding: 0 42px; }
.footer__top { position: relative; display: flex; align-items: flex-start; }
.footer__logo { font-size: 26px; line-height: 39px; }
.footer__dash { position: absolute; top: 0; height: 7px; border-radius: 8px; background: #fff; }
.footer__dash--long { left: 333px; width: 41px; }
.footer__dash--short { left: 378px; width: 13px; }
.footer__dash--right { right: 0; width: 41px; }
.footer__cols { display: grid; grid-template-columns: 300px repeat(4, minmax(0, 1fr)); gap: 40px; margin-top: 51px; }
.footer__legal { font-size: 10px; line-height: 1.25; letter-spacing: -.02em; color: rgba(255, 255, 255, .47); max-width: 240px; }
.footer__legal p + p { margin-top: 12px; }
.footer__license { position: relative; margin-top: 36px; width: 255px; height: 86px; border-radius: 18px; background: rgba(255, 255, 255, .04); }
.footer__license-emblem { position: absolute; left: 11.8px; top: 12.6px; width: 23.9px; height: 28.2px; }
.footer__license-authority { position: absolute; left: 46.2px; top: 13.3px; width: 132px; font-size: 8.42px; line-height: 1.15; text-transform: uppercase; color: #fff; white-space: pre-line; }
.footer__license-qr { position: absolute; left: 182.2px; top: 15px; width: 56.1px; height: 56.1px; display: block; }
.footer__license-qr img { display: block; width: 100%; height: 100%; }
.footer__license-number { position: absolute; left: 11.8px; top: 52.6px; font-size: 8.42px; font-weight: 600; color: #fff; }
.footer__license-link { position: absolute; left: 11.8px; top: 66.6px; font-size: 5.61px; color: #fff; text-decoration: underline; }
.footer__col { display: flex; flex-direction: column; }
.footer__col-title { margin-bottom: 16px; font-size: 17px; color: #fff; letter-spacing: -.02em; }
.footer__col a { margin-top: 6px; font-size: 15px; line-height: 24px; letter-spacing: -.02em; color: rgba(255, 255, 255, .47); transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: grid; grid-template-columns: 300px repeat(4, minmax(0, 1fr)); gap: 40px; align-items: start; margin-top: 100px; }
.footer__dev-label { display: block; font-size: 16px; letter-spacing: -.32px; color: rgba(255, 255, 255, .47); }
.footer__dev-name { display: block; margin-top: 14px; }
.footer__dev-name img { width: 96px; height: 15px; }
.footer__contact { display: block; font-size: 19px; line-height: 1.1; letter-spacing: -.02em; color: #fff; }
.footer__bottom span { display: block; margin-top: 8px; font-size: 14px; letter-spacing: -.02em; color: rgba(255, 255, 255, .47); }
.footer__addr { font-weight: 400; }
.footer__socials { display: flex; align-items: center; gap: 25.87px; justify-self: end; margin-top: 4px; }
.footer__social { display: block; height: 30px; }
.footer__social img { display: block; width: auto; height: auto; max-height: 30px; }
.footer__disclaimer { margin-top: 44px; padding: 26px 0; background: rgba(255, 255, 255, .04); text-align: center; }
.footer__disclaimer-text { font-size: 13px; line-height: 1.5; letter-spacing: -.01em; color: rgba(255, 255, 255, .47); }
.footer__disclaimer-notice { margin-top: 10px; font-size: 14px; font-weight: 700; letter-spacing: .02em; color: rgba(255, 255, 255, .75); }
@media (max-width: 1439px) {
  .footer__cols, .footer__bottom { grid-template-columns: repeat(3, 1fr); gap: 20px; row-gap: 32px; }
  .footer__dash--long { left: 25%; }
  .footer__dash--short { left: calc(25% + 45px); }
  .footer__inner { padding: 0 32px; }
}
@media (max-width: 1099px) {
  .footer__cols, .footer__bottom { grid-template-columns: 1fr 1fr; gap: 24px; row-gap: 32px; }
  .footer__dash { display: none; }
  .footer__legal { max-width: none; }
  .footer__inner { padding: 0 24px; }
  .footer__disclaimer { padding: 20px 0; }
}
@media (max-width: 659px) {
  .footer__cols, .footer__bottom { grid-template-columns: 1fr; }
  .footer__col a { display: flex; align-items: center; min-height: 44px; margin-top: 0; }
  .footer__legal { font-size: 12px; line-height: 1.45; max-width: none; }
  .footer__bottom { margin-top: 48px; row-gap: 28px; }
  .footer__socials { justify-self: start; }
  .footer__license { margin-top: 24px; }
  .footer__inner { padding: 0 16px; }
  .footer__disclaimer { padding: 18px 0; }
  .footer__disclaimer-text { font-size: 12px; }
}

/* Модальное окно */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal__overlay { position: absolute; inset: 0; background: rgba(2, 13, 32, .55); animation: fade .2s ease; }
.modal__dialog { position: relative; width: 100%; max-width: 460px; max-height: calc(100vh - 32px); overflow: auto; padding: 40px 32px 28px; border-radius: 28px; background: #fff; animation: fade-up .25s ease; }
.modal__close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; background: var(--grey-bg); }
.modal__close::before, .modal__close::after { content: ''; position: absolute; left: 12px; top: 19px; width: 16px; height: 1.6px; background: var(--dark); transform: rotate(45deg); }
.modal__close::after { transform: rotate(-45deg); }
.modal__form { display: flex; flex-direction: column; gap: 10px; }
.modal__title { padding-right: 40px; font-size: 32px; line-height: 1; letter-spacing: -.03em; }
.modal__text { margin: 6px 0 12px; font-size: 16px; line-height: 1.4; color: var(--text-47); }
.modal__text a { color: var(--red); }
body.is-locked { overflow: hidden; }
@keyframes fade { from { opacity: 0; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } }


/* Логотип длиннее, чем на gzt.clinic, — штрихи сдвинуты правее */
.footer__dash--long { left: 366px !important; }
.footer__dash--short { left: 411px !important; }
.modal__dialog .field { background: var(--grey-bg-2); }
.modal__dialog .field:focus-within { background: #fff; }
.modal__form .appoint__consent { margin-top: 2px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Юридические страницы */
.legal-page { padding-top: 0; }
.legal-page .nav { position: relative; }
.legal-page .nav__bar { justify-content: space-between; }
.legal { max-width: 920px; margin: 0 auto; padding: 48px 20px 80px; }
.legal__crumbs { margin-bottom: 16px; font-size: 14px; color: var(--text-47); }
.legal__crumbs a { text-decoration: underline; }
.legal .h2 { margin-bottom: 32px; font-size: clamp(32px, 4vw, 52px); }
.legal__body { font-size: 16px; line-height: 1.6; }
.legal__body h2 { margin: 32px 0 12px; font-weight: 500; font-size: 22px; }
.legal__body p, .legal__body ul { margin-bottom: 12px; }
.legal__body ul { padding-left: 22px; list-style: disc; }
.legal__body a { text-decoration: underline; }
.legal-page .footer { margin-top: 0; padding: 24px 20px; background: var(--dark); color: rgba(255, 255, 255, .6); font-size: 13px; text-align: center; }

/* ---------- Адаптив ---------- */

@media (max-width: 1360px) {
  :root { --pad: 48px; }
  .nav__links { gap: 22px; font-size: 15px; }
  .nav__phone { display: none; }
  .chip--1 { right: 170px; }
  .chip--2 { right: 110px; }
  .chip--3 { right: 60px; }
  .results { gap: 40px; }
  .results__photo { flex-basis: 52%; }
  .solutions { justify-content: space-between; gap: 40px; padding-left: var(--pad); }
  .solutions__copy { width: auto; flex: 1; min-width: 0; padding-right: 0; }
  .methods { width: 100%; }
  .quote { flex-basis: 48%; }
  .quote__card { right: 16px; width: auto; }
  .how__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .appoint__fields { grid-template-columns: 1fr 1fr 1fr; }
  .appoint__btn { grid-column: 1 / -1; justify-self: start; }
  .cta__metric { right: 200px; }
}

@media (max-width: 1180px) {
  body { padding-top: 72px; }
  .nav__bar { height: 72px; gap: 12px; }
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .burger { display: flex; }
  .menu { position: fixed; top: 72px; left: 0; right: 0; height: calc(100vh - 72px); height: calc(100dvh - 72px); padding: 16px var(--pad) 32px; background: #fff; overflow-y: auto; overscroll-behavior: contain; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; display: flex; flex-direction: column; }
  .nav.is-open .menu { opacity: 1; visibility: visible; }
  .menu__links { display: flex; flex-direction: column; }
  .menu__item { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .menu__num { width: 32px; font-size: 15px; color: var(--red); }
  .menu__label { font-size: 28px; letter-spacing: -.03em; }
  .menu__phone { margin: 24px 0 18px; font-weight: 500; font-size: 22px; color: var(--red); }
  .menu__cta { max-width: 460px; }

  .hero__chips { display: none; }
  .hero__copy { width: auto; max-width: 660px; height: auto; }
  .hero__trust { margin-top: auto; }
  .hero__title { font-size: 70px; }
  .hero__lead { width: auto; }
  .approach__grid { grid-template-columns: 1fr 1fr; }
  .symptoms__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .results { flex-direction: column; align-items: stretch; padding-left: var(--pad); }
  .results__photo { flex-basis: auto; border-radius: 28px; }
  .solutions { flex-direction: column-reverse; align-items: stretch; padding: 40px var(--pad) 60px; }
  .quote { flex-basis: auto; border-radius: 28px; }
  .about__grid { grid-template-columns: 1fr; }
  .doctor { flex-basis: calc((100% - 12px) / 2); }
  .appoint__fields { grid-template-columns: 1fr 1fr; }
  .appoint__btn { grid-column: auto; justify-self: stretch; width: 100%; }
  .cta { padding-bottom: 300px; }
  .cta__img { left: 0; top: auto; bottom: 0; width: 100%; height: 340px; }
  .cta::before { display: none; }
  .cta__title, .cta__lead { width: auto; max-width: 690px; }
  .cta__metric { right: 48px; top: auto; bottom: 60px; }
}

@media (max-width: 640px) {
  :root { --pad: 16px; }
  body { padding-top: 64px; }
  html { scroll-padding-top: 72px; }
  .nav__bar { height: 64px; padding: 0 16px; gap: 8px; }
  .logo { font-size: 13px; letter-spacing: -.03em; }
  .nav__bar .nav__cta { height: auto; padding: 5px 12px 5px 5px; font-size: 14px; gap: 7px; }
  .btn--arrow { padding: 5px 12px 5px 5px; font-size: 14px; gap: 7px; }
  .btn__circle { width: 24px; height: 24px; }
  .btn__circle::after { background-size: 12px; }
  .label-full { display: none; }
  .label-short { display: inline; }
  .burger { width: 36px; padding: 0 6px; }
  .menu { top: 64px; height: calc(100vh - 64px); height: calc(100dvh - 64px); }
  .btn { height: 52px; padding: 0 26px; font-size: 17px; }
  .btn--sm { height: 42px; padding: 0 20px; font-size: 15px; }
  .h2 { font-size: 34px; line-height: 1; }
  .kicker { padding: 9px 15px; font-size: 14px; margin-bottom: 14px; }

  .hero { padding: 0; }
  .hero__stage { height: 678px; padding: 32px 16px 24px; justify-content: flex-end; gap: 20px; border-radius: 0 0 28px 28px; }
  .hero__bg { left: -167.66%; top: -10.47%; width: 324.34%; height: 110.41%; }
  .hero__wash { inset: 0; background: linear-gradient(0deg, rgba(2, 13, 32, .9) 0%, rgba(2, 13, 32, .6) 32%, rgba(2, 13, 32, .08) 58%); }
  .hero__copy { gap: 16px; }
  .hero__title { font-size: 44px; line-height: .95; letter-spacing: -.04em; }
  .hero__lead { font-size: 15px; line-height: 1.4; }
  .hero__btn { width: 100%; margin-top: 4px; }
  .hero__trust { margin-top: 0; flex-wrap: wrap; gap: 8px 12px; font-size: 13px; }
  .hero__trust li + li::before { margin-right: 12px; }
  .hero__count { right: 16px; top: 16px; bottom: auto; align-items: flex-end; text-align: right; }
  .hero__count-num { font-size: 56px; }
  .hero__count-text { width: 160px; font-size: 12px; }

  .section { padding: 56px 16px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 24px; }
  .section-head__aside { width: auto; font-size: 14px; }
  .approach__grid { grid-template-columns: 1fr; }
  .approach__card { height: auto; min-height: 220px; }
  .approach__card--image { height: 221px; }

  .symptoms { margin: 0; padding: 40px 16px; gap: 28px; }
  .symptoms__grid { grid-template-columns: 1fr; gap: 8px; }
  .symptom { height: auto; flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px; padding: 16px 18px; border-radius: 18px; }
  .symptom img { width: 24px; height: 24px; }
  .symptom__desk { display: none; }
  .symptom__mob { display: inline; }

  .results { gap: 28px; }
  .results__photo { height: 620px; border-radius: 22px; }
  .results__img { object-position: 30% 50%; }
  .checklist { top: auto; bottom: 16px; left: 16px; width: auto; }
  .results__lead { font-size: 15px; }
  .results__grid { grid-template-columns: 1fr; gap: 20px; }
  .benefit small { max-width: none; }

  .solutions { padding: 0 16px 56px; gap: 0; }
  .quote { height: 600px; border-radius: 22px; }
  .quote__img { object-position: 45% 50%; }
  .quote__card { left: 12px; right: 12px; top: auto; bottom: 12px; width: auto; padding: 18px; }
  .quote__mark { height: 22px; font-size: 54px; line-height: 50px; }
  .quote__text { font-size: 16px; }
  .quote__who { font-size: 14px; }
  .quote__who b { font-size: 17px; }
  .solutions__copy { padding: 40px 0 0; }
  .solutions__lead { font-size: 15px; }
  .method { position: relative; flex-direction: column; align-items: flex-start; padding: 18px 16px; }
  .method__mark { position: absolute; top: 18px; right: 16px; width: 44px; height: 44px; }
  .method__body b { font-size: 18px; }

  .how { margin: 0; padding: 40px 16px; }
  .how .h2 { margin-bottom: 24px; }
  .how__steps { grid-template-columns: 1fr; gap: 8px; }
  .step { padding: 20px 18px; gap: 16px; }

  .about__photo { height: 380px; border-radius: 22px; }
  .about__lead { font-size: 16px; }
  .about__btn { width: 100%; }
  .stat { padding: 16px; }
  .stat b { font-size: 32px; }
  .stat span { max-width: none; }

  .appoint { padding: 24px 18px; border-radius: 22px; }
  .appoint__lead { font-size: 15px; }
  .appoint__fields { margin-top: 20px; grid-template-columns: 1fr; gap: 10px; }
  .appoint__btn { width: 100%; height: 56px; }

  .doctors__head .arrows { display: none; }
  .carousel { margin-right: -16px; padding-right: 16px; }
  .doctor { flex-basis: calc(100% - 48px); }
  .doctor__photo { height: 300px; }
  .doctor__name { font-size: 19px; }

  .cta { margin: 0; padding: 330px 16px 32px; }
  .cta__img { height: 330px; top: 0; bottom: auto; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
  .cta__glow { right: -150px; bottom: 183px; }
  .cta__metric { right: 16px; top: 70px; bottom: auto; transform: rotate(6deg); }
  .cta__lead { font-size: 16px; }
  .cta__btn { width: 100%; }

  .modal { align-items: flex-end; padding: 0; }
  .modal__dialog { max-width: none; border-radius: 24px 24px 0 0; padding: 32px 16px 20px; }
}

@media (max-width: 350px) {
  .logo { font-size: 11.5px; }
  .nav__bar { gap: 6px; padding: 0 12px; }
}
