:root {
  --ink: #1c1b18;
  --muted: #6b665d;
  --paper: #fbf8f3;
  --sand: #f3ede2;
  --line: #e6dfd2;
  --gold: #b08d57;
  --gold-dark: #8c6d3f;
  --deep: #1f2a26;
  --deep-2: #2a3833;
  --white: #ffffff;
  --wa: #1f9d55;
  --tg: #2a8bc9;
  --radius: 14px;
  --serif: 'Lora', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--paper); overflow-x: clip; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(30px, 4.4vw, 52px); }
h2 { font-size: clamp(26px, 3vw, 38px); }
h3, .h3 { font-size: 19px; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 860px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.eyebrow { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; margin-bottom: 12px; }
.lead { font-size: 18px; color: var(--muted); max-width: 680px; }
.i { width: 20px; height: 20px; flex: none; }
.plain { list-style: none; padding: 0; margin: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--deep); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 15px/1 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s, background .15s, color .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-dark); }
.btn-ghost { border-color: var(--line); background: transparent; color: var(--ink); }
.btn-ghost:hover { border-color: var(--gold); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #17824a; }
.btn-tg { background: var(--white); color: var(--tg); border-color: #cfe3f1; position: relative; }
.btn-tg:hover { border-color: var(--tg); }
.demo-tag { font: 600 10px/1 var(--sans); text-transform: uppercase; letter-spacing: .06em; background: #e8f2fa; color: var(--tg); padding: 4px 6px; border-radius: 6px; }
.contact-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-buttons.on-dark .btn-tg { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.contact-buttons.on-dark .demo-tag { background: rgba(255,255,255,.15); color: #fff; }

/* шапка */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251,248,243,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 600 14px/1.15 var(--sans); text-transform: uppercase; letter-spacing: .04em; }
.main-nav { display: flex; gap: 22px; margin-left: auto; }
.main-nav a { text-decoration: none; font-size: 15px; color: var(--ink); }
.main-nav a:hover { color: var(--gold-dark); }
.nav-phone { display: none; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang { font-size: 13px; font-weight: 600; text-decoration: none; border: 1px solid var(--line); border-radius: 8px; padding: 6px 9px; }
.lang:hover { border-color: var(--gold); }
.header-phone { text-decoration: none; font-weight: 600; white-space: nowrap; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; border-radius: 10px; padding: 12px 11px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* первый экран */
.hero { padding: 56px 0 72px; background: radial-gradient(1200px 500px at 85% -10%, #efe3cc 0, transparent 60%), var(--paper); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: start; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: var(--deep); color: #f3e6cf; font-size: 14px; font-weight: 500; padding: 8px 14px 8px 10px; border-radius: 999px; margin-bottom: 20px; }
.badge .i { color: var(--gold); }
.checks { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .i { color: var(--gold); margin-top: 2px; }
.checks li.hl { font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 36px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.stats div { margin: 0; }
.stats dt { font: 600 30px/1.1 var(--serif); color: var(--deep); }
.stats dd { margin: 4px 0 0; font-size: 14px; color: var(--muted); }

/* карточки */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.picker { padding: 28px; box-shadow: 0 30px 60px -30px rgba(31,42,38,.25); }
.picker-title { font-size: 24px; }
.picker-step { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 18px 0 10px; }
.chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.chip { display: flex; align-items: center; gap: 8px; text-align: left; min-height: 48px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); font: 500 13px/1.25 var(--sans); color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s; }
.chip span { min-width: 0; }
.chip .i { width: 18px; height: 18px; color: var(--gold-dark); }
.chip:hover { border-color: var(--gold); }
.chip[aria-checked="true"] { background: var(--deep); color: #fff; border-color: var(--deep); }
.chip[aria-checked="true"] .i { color: var(--gold); }
.chips-roles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.chips-roles .chip { justify-content: center; text-align: center; }
.picker-result { margin-top: 20px; border-radius: 12px; background: var(--sand); padding: 18px; min-height: 96px; }
.picker-placeholder { margin: 0; color: var(--muted); font-size: 15px; }
.picker-disclaimer { margin: 12px 0 0; }
.res-head { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-dark); font-weight: 600; margin-bottom: 8px; }
.res-doc { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px dashed #d9cfbd; }
.res-doc:last-of-type { border-bottom: 0; }
.res-doc a { font-weight: 600; text-decoration: none; }
.res-doc a:hover { color: var(--gold-dark); }
.res-meta { font-size: 14px; color: var(--muted); display: flex; gap: 12px; flex-wrap: wrap; }
.res-meta b { color: var(--ink); }
.res-note { font-size: 14px; margin: 10px 0 14px; }
.res-cta { width: 100%; }

/* секции */
.section { padding: 88px 0; }
.section-alt { background: var(--sand); }
.section-dark { background: var(--deep); color: #ece5d8; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lead { color: #b9b3a6; }
.section-dark .eyebrow { color: var(--gold); }
.section-head { margin-bottom: 40px; }
.section-head.center { text-align: center; }
.section-head.center .lead { margin: 0 auto; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

.tulpar { background: linear-gradient(180deg, var(--paper), var(--sand)); border-top: 1px solid var(--line); }
.step-card .num, .process .num { font: 600 14px/1 var(--sans); color: var(--gold-dark); display: inline-block; margin-bottom: 14px; }
.note { display: flex; gap: 12px; align-items: flex-start; margin: 28px 0 0; padding: 16px 18px; border-left: 3px solid var(--gold); background: var(--white); border-radius: 0 10px 10px 0; }
.note .i { color: var(--gold-dark); margin-top: 2px; }

.service-card { text-decoration: none; display: flex; flex-direction: column; gap: 4px; transition: border-color .15s, transform .15s; }
.service-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.service-card p { color: var(--muted); font-size: 15px; }
.service-meta { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; }
.service-meta span:first-child { font-weight: 600; }
.link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 600; color: var(--gold-dark); font-size: 14px; }
.link .i { width: 16px; height: 16px; }

.price-table { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; }
.price-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(150px, auto); gap: 20px; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.price-row:last-child { border-bottom: 0; }
.price-name { font-weight: 600; text-decoration: none; }
.price-name:hover { color: var(--gold-dark); }
.price-days { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 15px; }
.price-days .i { width: 18px; height: 18px; }
.price-value { font: 600 20px/1.2 var(--serif); text-align: right; color: var(--deep); }

.grid-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cat { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.cat .i { width: 28px; height: 28px; color: var(--gold-dark); }
.cat h3 { font: 600 15px/1.3 var(--sans); margin: 0 0 2px; }
.cat p { margin: 0; font-size: 13px; color: var(--muted); }

.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.process li { padding: 24px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); background: var(--deep-2); }
.process .num { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; color: var(--gold); }
.process p { color: #c9c2b4; font-size: 15px; }
.process .meta { font-size: 13px; color: var(--gold); }

.check-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.mini .i { width: 26px; height: 26px; color: var(--gold-dark); margin-bottom: 12px; }
.mini h3 { font-size: 17px; }
.mini p { color: var(--muted); font-size: 15px; margin: 0; }

.doc-sample { margin: 0; text-align: center; }
.doc-sample img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 18px 40px -20px rgba(31,42,38,.35); background: #fff; }
.doc-sample figcaption { font-size: 14px; color: var(--muted); margin-top: 12px; }

.why { padding-top: 20px; border-top: 2px solid var(--gold); }
.why p { color: var(--muted); font-size: 15px; }

.logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.logo-slot { aspect-ratio: 5 / 3; border: 1px dashed #cfc4b0; border-radius: 12px; background: rgba(255,255,255,.5); }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--gold-dark); transition: transform .2s; }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

.cta-band { background: var(--deep); color: #ece5d8; padding: 56px 0; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { margin: 0; color: #b9b3a6; max-width: 560px; }

/* внутренние страницы */
.page-hero { padding: 48px 0 40px; background: var(--sand); border-bottom: 1px solid var(--line); }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold-dark); }
.facts { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.facts div { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 12px 18px; }
.facts span { display: block; font-size: 13px; color: var(--muted); }
.facts strong { font: 600 20px/1.3 var(--serif); }
.service-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.prose { font-size: 17px; }
.prose h2 { font-size: 26px; margin-top: 32px; }
.side { position: sticky; top: 96px; }
.side h2 { font-size: 22px; }
.side p { color: var(--muted); }
.side-phone { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 600; text-decoration: none; }
.contact-card p { display: flex; gap: 12px; align-items: flex-start; }
.contact-card .i { color: var(--gold-dark); margin-top: 3px; }
.map-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; min-height: 260px; text-decoration: none; background: var(--sand); }
.map-card .i { width: 40px; height: 40px; color: var(--gold-dark); }
.map-card span { color: var(--muted); }

/* подвал */
.site-footer { background: #161e1b; color: #c9c2b4; padding: 56px 0 24px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer h3 { color: #fff; font: 600 15px/1.3 var(--sans); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.site-footer .plain li { margin-bottom: 8px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.2fr 1.2fr; gap: 40px; }
.logo-light { color: #fff; margin-bottom: 16px; }
.site-footer .muted { color: #8f897d; }
.site-footer .contact-buttons { margin-top: 16px; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; color: #8f897d; }

.mobile-bar { display: none; }
.toast { position: fixed; left: 50%; bottom: 88px; transform: translateX(-50%); width: min(92vw, 440px); background: var(--deep); color: #fff; padding: 14px 18px; border-radius: 12px; font-size: 14px; box-shadow: 0 20px 40px -10px rgba(0,0,0,.35); z-index: 80; }

/* адаптив */
@media (max-width: 1080px) {
  .main-nav a { font-size: 14px; }
  .main-nav { gap: 16px; }
  .header-phone { display: none; }
}
@media (max-width: 960px) {
  .burger { display: flex; }
  .main-nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; transform: translateY(-120%); transition: transform .25s; max-height: calc(100vh - 72px); overflow-y: auto; }
  .main-nav.open { transform: none; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav-phone { display: block; font-weight: 600; border-bottom: 0 !important; }
  .hero-grid, .check-grid, .service-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .grid-3, .process, .grid-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .side { position: static; }
}
@media (max-width: 640px) {
  body { padding-bottom: 64px; }
  .container { padding: 0 16px; }
  .header-row { min-height: 64px; gap: 12px; }
  .main-nav { inset: 64px 0 auto 0; }
  .header-actions .btn { display: none; }
  .logo span { font-size: 12px; }
  .hero { padding: 32px 0 48px; }
  .lead { font-size: 16px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 28px; }
  .grid-2, .grid-3, .process, .grid-cats { grid-template-columns: minmax(0, 1fr); }
  .stats dt { font-size: 22px; }
  .stats dd { font-size: 12px; }
  .chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chip { padding: 8px; gap: 6px; font-size: 12.5px; }
  .chip .i { display: none; }
  .picker { padding: 20px; }
  .price-row { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding: 16px; }
  .price-days { grid-column: 1; grid-row: 2; font-size: 14px; }
  .price-value { grid-column: 2; grid-row: 1 / span 2; font-size: 17px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-cta .btn, .contact-buttons .btn { flex: 1 1 auto; }
  .mobile-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--white); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .mobile-bar a, .mobile-bar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 60px; font: 600 12px/1.2 var(--sans); text-decoration: none; color: var(--ink); background: none; border: 0; cursor: pointer; }
  .mobile-bar a:first-child { color: var(--wa); }
  .mobile-bar .mb-tg { color: var(--tg); }
  .mobile-bar .i { width: 22px; height: 22px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ===== v2: фото, плашка записи, опрос ===== */

/* первый экран: фото лаборатории под тёмной вуалью */
.hero { position: relative; color: #e9e2d4; background:
  linear-gradient(100deg, rgba(18,27,24,.96) 0%, rgba(18,27,24,.9) 45%, rgba(18,27,24,.62) 100%),
  url(/assets/img/hero-lab.webp) center right / cover no-repeat, var(--deep); }
.hero h1 { color: #fff; }
.hero .lead { color: #c9c2b4; }
.hero .eyebrow { color: var(--gold); }
.hero .badge { background: rgba(176,141,87,.16); color: #f3e6cf; border: 1px solid rgba(176,141,87,.45); }
.hero .checks li { color: #e9e2d4; }
.hero .checks li.hl { color: #fff; }
.hero .stats { border-top-color: rgba(255,255,255,.14); }
.hero .stats dt { color: var(--gold); }
.hero .stats dd { color: #b9b3a6; }
.hero .picker { box-shadow: 0 30px 70px -20px rgba(0,0,0,.55); border-color: transparent; }
.btn-ghost-light { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }
.btn-ghost-light:hover { border-color: var(--gold); color: var(--gold); }
.res-actions { display: grid; gap: 8px; }

/* блок «Собственная лаборатория» */
.lab { background: var(--paper); }
.lab-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.lab-points { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 18px; }
.lab-points li { display: flex; gap: 14px; }
.lab-points .i { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--deep); color: var(--gold); flex: none; }
.lab-points h3 { font: 600 16px/1.3 var(--sans); margin: 2px 0 4px; }
.lab-points p { margin: 0; color: var(--muted); font-size: 15px; }
.lab-media { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.lab-media figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.lab-media img { width: 100%; height: 100%; object-fit: cover; }
.lab-media figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 10px; font-size: 13px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.65)); }
.lab-wide { grid-column: 1 / -1; aspect-ratio: 1220 / 432; }
.lab-visit { aspect-ratio: 1 / 1; }
.lab-badge { border-radius: var(--radius); background: var(--deep); color: #e9e2d4; padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; }
.lab-badge .i { width: 34px; height: 34px; color: var(--gold); margin-bottom: auto; }
.lab-badge strong { font: 600 24px/1.2 var(--serif); color: #fff; }
.lab-badge span { font-size: 14px; color: #b9b3a6; }

/* реальные документы */
.docs-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.doc-sample a { display: block; border-radius: 10px; transition: transform .2s; }
.doc-sample a:hover { transform: translateY(-4px); }
.doc-sample img { box-shadow: 0 22px 40px -22px rgba(31,42,38,.55); }

/* CTA с фоном */
.cta-band { background: linear-gradient(90deg, rgba(18,27,24,.95), rgba(18,27,24,.82)), url(/assets/img/cta-bg.webp) center / cover no-repeat, var(--deep); padding: 72px 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.side-btn { width: 100%; margin-bottom: 10px; }

/* постоянная плашка записи */
body { padding-bottom: 76px; }
.consult-body { padding-bottom: 0; }
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(22,30,27,.97); backdrop-filter: blur(8px); border-top: 1px solid rgba(176,141,87,.4); color: #e9e2d4; }
.sticky-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.sticky-text { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 15px; }
.sticky-text .i { color: var(--gold); }
.sticky-actions { display: flex; align-items: center; gap: 8px; }
.sticky-icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); color: #fff; }
.sticky-icon:hover { border-color: var(--gold); }
.sticky-wa { color: #4fd18b; }
.sticky-btn .short { display: none; }
.sticky-btn .i { width: 18px; height: 18px; }
.toast { bottom: 92px; }

/* страница опроса */
.consult-hero { padding: 48px 0 8px; background: var(--deep); color: #e9e2d4; }
.consult-hero h1 { color: #fff; }
.consult-hero .lead { color: #c9c2b4; }
.consult-hero .crumbs, .consult-hero .crumbs a { color: #b9b3a6; }
.consult-section { padding-top: 0; background: linear-gradient(var(--deep) 0 120px, var(--paper) 120px); }
.consult-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: start; padding-top: 32px; }
.survey { padding: 32px; box-shadow: 0 30px 60px -30px rgba(31,42,38,.35); }
.progress { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.progress li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); padding-top: 10px; border-top: 3px solid var(--line); }
.progress li span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; background: var(--sand); color: var(--muted); flex: none; }
.progress li.active { color: var(--ink); font-weight: 600; border-top-color: var(--gold); }
.progress li.active span { background: var(--gold); color: #fff; }
.progress li.done { border-top-color: var(--deep); }
.progress li.done span { background: var(--deep); color: #fff; }
.step-of { font-size: 13px; color: var(--gold-dark); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.step h2 { font-size: 26px; margin-bottom: 20px; }
.field { margin: 0 0 22px; border: 0; padding: 0; min-width: 0; }
.field > label, .field legend { display: block; font-weight: 600; margin-bottom: 8px; padding: 0; }
.opt { font-weight: 400; color: var(--muted); font-size: 14px; }
.field input[type=text], .field input[type=tel], .field textarea, .field select { width: 100%; font: 16px/1.4 var(--sans); padding: 12px 14px; border: 1px solid #d9d0c0; border-radius: 10px; background: #fff; color: var(--ink); }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176,141,87,.2); }
.options { display: flex; flex-wrap: wrap; gap: 8px; }
.options-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.option { position: relative; cursor: pointer; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option span { display: flex; align-items: center; min-height: 44px; padding: 10px 14px; border: 1px solid #d9d0c0; border-radius: 10px; background: var(--paper); font-size: 15px; line-height: 1.3; transition: border-color .15s, background .15s; height: 100%; }
.option:hover span { border-color: var(--gold); }
.option input:checked + span { background: var(--deep); border-color: var(--deep); color: #fff; }
.option input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.field.invalid input, .field.invalid textarea, .field.invalid select, .field.invalid .option span { border-color: #c0392b; }
.err { color: #b3261e; font-size: 14px; margin: 6px 0 0; }
.survey-nav { display: flex; gap: 10px; justify-content: space-between; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 20px; }
.survey-nav [data-next], .survey-nav [data-submit] { margin-left: auto; }
.submit-note { margin: 12px 0 0; text-align: right; }
.survey-done { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; background: #eaf6ee; border-radius: 12px; padding: 18px; margin-bottom: 18px; }
.survey-done .i { width: 28px; height: 28px; color: var(--wa); }
.survey-done h2 { font-size: 20px; margin: 4px 0 0; }
.survey-done p { margin: 0; color: var(--muted); }
.consult-side { display: grid; gap: 16px; }
.side-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; }
.side-photo img { width: 100%; height: 100%; object-fit: cover; }
.next-steps { padding-left: 20px; margin: 0 0 16px; display: grid; gap: 8px; }
.next-steps li::marker { color: var(--gold-dark); font-weight: 600; }

@media (max-width: 960px) {
  .lab-grid, .consult-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .docs-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sticky-text { font-size: 14px; }
  .hero { background: linear-gradient(rgba(18,27,24,.93), rgba(18,27,24,.9)), url(/assets/img/hero-lab.webp) center / cover no-repeat, var(--deep); }
}
@media (max-width: 640px) {
  body { padding-bottom: 68px; }
  .consult-body { padding-bottom: 0; }
  .mobile-bar { display: none !important; }
  .sticky-row { min-height: 64px; padding-top: 8px; padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
  .sticky-text { display: none; }
  .sticky-actions { width: 100%; }
  .sticky-btn { flex: 1; min-height: 46px; }
  .sticky-btn .long { display: none; }
  .sticky-btn .short { display: inline; }
  .lab-media { gap: 10px; }
  .lab-badge { padding: 16px; }
  .lab-badge strong { font-size: 18px; }
  .lab-badge .i { width: 26px; height: 26px; }
  .docs-row { grid-template-columns: repeat(5, 62%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .doc-sample { scroll-snap-align: start; }
  .survey { padding: 20px; }
  .progress li { font-size: 0; gap: 0; justify-content: center; }
  .options-2 { grid-template-columns: minmax(0, 1fr); }
  .survey-nav .btn { flex: 1; }
  .submit-note { text-align: left; }
  .cta-actions .btn { flex: 1 1 100%; }
}
.hero .picker, .hero .picker h2 { color: var(--ink); }
.chip span { hyphens: manual; }
.option span { transition: border-color .15s; }

[hidden] { display: none !important; }
@media (max-width: 960px) {
  .main-nav { visibility: hidden; transition: transform .25s, visibility 0s .25s; }
  .main-nav.open { visibility: visible; transition: transform .25s; }
}

/* ===== v4: логотип и партнёры ===== */
.logo img { height: 46px; width: auto; }
.logo-light img { height: 56px; }
.partners { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.partners li { background: #f6f3ec; border-radius: 12px; height: 104px; display: grid; place-items: center; padding: 14px 18px; transition: transform .2s; }
.partners li:hover { transform: translateY(-3px); }
.partners img { max-width: 100%; max-height: 72px; width: auto; height: auto; object-fit: contain; }
@media (max-width: 960px) { .partners { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .logo img { height: 38px; }
  .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .partners li { height: 84px; padding: 10px 14px; }
  .partners img { max-height: 56px; }
}
.partners { display: flex; flex-wrap: wrap; justify-content: center; }
.partners li { flex: 0 0 calc((100% - 56px) / 5); }
@media (max-width: 960px) { .partners li { flex-basis: calc((100% - 28px) / 3); } }
@media (max-width: 640px) { .partners li { flex-basis: calc((100% - 10px) / 2); } }
.logo img { height: 56px; }
.partners li { background: #ffffff; }
@media (max-width: 640px) { .logo img { height: 44px; } }
.open-status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.open-status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.open-status.is-open { color: #4fd18b; }
.open-status.is-closed { color: #e8a87c; }
.map-card .small { color: var(--muted); }
.map-card .btn { margin-top: 8px; }
.contact-card a, .site-footer li a { text-decoration: none; }
.contact-card a:hover { color: var(--gold); }
.map-card span.btn { color: #15110a; }
.map-card .btn .i { width: 16px; height: 16px; color: inherit; }


/* ===== v5: светлый стиль ===== */
.open-status.is-open { color: #17824a; }
.open-status.is-closed { color: #a75a1f; }
.site-footer .open-status.is-open { color: #4fd18b; }
.site-footer .open-status.is-closed { color: #e8a87c; }
.partners li { background: #ffffff; border: 1px solid var(--line); }
.sticky-cta { background: rgba(255,253,249,.97); color: var(--ink); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(31,42,38,.35); }
.sticky-text .i { color: var(--gold-dark); }
.sticky-icon { border-color: var(--line); color: var(--ink); }
.sticky-wa { color: var(--wa); }
.chip .hint { display: block; font-size: 11.5px; font-weight: 400; color: var(--muted); margin-top: 2px; line-height: 1.25; }
.chip[aria-checked="true"] .hint { color: #c9c2b4; }
.chip span { min-width: 0; }
.chip-other { border-style: dashed; }
.res-other p { margin: 0 0 12px; }
@media (max-width: 640px) { .chip { align-items: flex-start; min-height: 64px; } .chip .hint { font-size: 11px; } }

/* ===== v6 (18.11): всё светлое кроме hero, зелёные акценты ===== */
:root { --green: #1e8a4f; --green-dark: #166e3e; --green-soft: #e7f4ec; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); }

/* галочки в блоке лаборатории и специалистов */
.lab-points .i { background: var(--green); color: #fff; }

/* карточка «Своя лаборатория» — зелёная, меньше и уже */
.lab-media { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: end; }
.lab-badge { background: var(--green); border: 0; color: #e7f4ec; padding: 18px; gap: 4px; align-self: end; }
.lab-badge .i { width: 26px; height: 26px; color: #fff; margin-bottom: 10px; }
.lab-badge strong { font-size: 19px; color: #fff; }
.lab-badge span { font-size: 13px; color: #d5ecdd; }

/* «Как работаем» — светлый */
.section-dark { background: var(--paper); color: var(--ink); border-top: 1px solid var(--line); }
.section-dark h2, .section-dark h3 { color: var(--ink); }
.section-dark .lead { color: var(--muted); }
.section-dark .eyebrow { color: var(--gold-dark); }
.process li { background: var(--white); border: 1px solid var(--line); }
.process p { color: var(--muted); }
.process .num { color: var(--gold-dark); border-color: var(--gold); }
.process .meta { color: var(--gold-dark); font-weight: 500; }

/* блок заявки — светлый */
.cta-band { background: var(--sand); color: var(--ink); border-top: 1px solid var(--line); }
.cta-band h2 { color: var(--ink); }
.cta-band p { color: var(--muted); }

/* подвал — светлый */
.site-footer { background: var(--sand); color: var(--ink); border-top: 1px solid var(--line); }
.site-footer h3 { color: var(--ink); }
.site-footer a:hover { color: var(--gold-dark); }
.site-footer .muted, .footer-bottom { color: var(--muted); }
.footer-bottom { border-top-color: var(--line); }
.logo-light { color: var(--ink); }
.site-footer .open-status.is-open { color: #17824a; }
.site-footer .open-status.is-closed { color: #a75a1f; }

/* страница записи — светлая шапка */
.consult-hero { background: var(--sand); color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 32px; }
.consult-hero h1 { color: var(--ink); }
.consult-hero .lead { color: var(--muted); }
.consult-hero .crumbs, .consult-hero .crumbs a { color: var(--muted); }
.consult-section { background: var(--paper); }

/* блок специалистов */
.experts-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.experts-photo { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.experts-photo img { width: 100%; height: 100%; object-fit: cover; }
.experts-grid .section-head { margin-bottom: 28px; }

/* группы товаров — в стиле плиток подбора */
.grid-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
a.cat { text-decoration: none; color: var(--ink); background: var(--white); transition: border-color .15s, transform .15s; }
a.cat:hover { border-color: var(--gold); transform: translateY(-2px); }
.cat p { color: var(--gold-dark); font-weight: 500; }

@media (max-width: 960px) {
  .experts-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .grid-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid-cats { grid-template-columns: minmax(0, 1fr); }
  .lab-badge { padding: 14px; }
  .lab-badge strong { font-size: 16px; }
}
.main-nav a { white-space: nowrap; }
@media (min-width: 961px) { .main-nav { gap: 18px; } .main-nav a { font-size: 14.5px; } .header-row { gap: 20px; } }
@media (min-width: 961px) and (max-width: 1360px) { .header-phone { display: none; } }

/* ===== 18.11: зелёные кнопки записи и плашка «Своя лаборатория» ===== */
.hero .badge { background: var(--green); color: #fff; border: 1px solid var(--green); }
.hero .badge .i { color: #fff; }
.btn-green .i { color: inherit; }
.btn-red { background: #c8372d; color: #fff; }
.btn-red:hover { background: #a82c23; }
.btn-red .i { color: inherit; }

/* плашка проверки документа в реестре (блок образцов) */
.verify-bar { display: flex; align-items: center; gap: 18px; margin-top: 32px; padding: 20px 24px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: 0 var(--radius) var(--radius) 0; }
.verify-bar > .i { width: 32px; height: 32px; color: var(--green); flex: none; }
.verify-copy { flex: 1; min-width: 0; }
.verify-copy strong { display: block; font-size: 17px; margin-bottom: 2px; }
.verify-copy span { color: var(--muted); font-size: 15px; }
.verify-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.verify-actions .i { width: 16px; height: 16px; }
@media (max-width: 960px) {
  .verify-bar { flex-wrap: wrap; }
  .verify-actions { width: 100%; }
  .verify-actions .btn { flex: 1 1 auto; }
}
@media (max-width: 640px) { .verify-bar { padding: 18px; } .verify-bar > .i { display: none; } }
.verify-actions { flex-direction: column; align-items: stretch; }
.verify-actions .btn { white-space: normal; text-align: center; line-height: 1.25; padding-top: 10px; padding-bottom: 10px; }

/* ===== 19.11: первый экран без тёмной фотографии — светлый ===== */
.hero, .hero { background: linear-gradient(180deg, #f6f1e7 0%, var(--paper) 100%); color: var(--ink); border-bottom: 1px solid var(--line); }
.hero h1 { color: var(--ink); }
.hero .lead { color: var(--muted); }
.hero .checks li { color: var(--ink); }
.hero .checks li.hl { color: var(--ink); }
.hero .checks .i { color: var(--green); }
.hero .stats { border-top-color: var(--line); }
.hero .stats dt { color: var(--gold-dark); }
.hero .stats dd { color: var(--muted); }
.hero .picker { box-shadow: 0 24px 50px -28px rgba(31,42,38,.35); border: 1px solid var(--line); }
@media (max-width: 960px) { .hero { background: linear-gradient(180deg, #f6f1e7 0%, var(--paper) 100%); } }

/* 24.11: кнопка звонка в нижней плашке — только на телефонах */
@media (min-width: 961px) { .sticky-call { display: none; } }
