/* ─── TOKENS (переопределяются через Customizer, см. inc/customizer.php) ─── */
:root {
  --canopy:      #082f25;
  --canopy-2:    #0f3a2e;
  --footer-green:#163f32;
  --forest:      #236b5a;
  --mint:        #6fbaa7;
  --mint-pastel: #e8f2ee;
  --sage-pastel: #edf1e6;
  --slate-pastel:#eaedf1;
  --peach-pastel:#f7ead9;
  --lavender-pastel:#ece8f4;
  --logo-mint:   #60a595;
  --logo-mint-pastel: #d3ebe4;
  --indigo:      #2f4150;
  --indigo-dark: #223038;
  --amber:       #c17a3f;
  --lavender:    #7a5fc4;
  --mint-bright:  #8fd4bc;
  --forest-bright:#4fae90;

  --ink:    #0e1c17;
  --ink-soft: #3d4a44;
  --muted:  #6d7a73;
  --line:   #dde4df;
  --paper:  #faf6ef;
  --wh:     #ffffff;

  --font:  'DM Sans', sans-serif;
  --r-btn: 999px;
  --r-card: 24px;
  --r-sm:  16px;
  --max:   1200px;
  --trans: .2s cubic-bezier(.4,0,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); font-feature-settings: 'ss03' 1; color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; }

/* ─── SCROLL REVEAL ─── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: .05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .12s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .19s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .26s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .33s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ─── UTILITIES ─── */
.container  { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section    { padding: 88px 0; }
.section__title { font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; color: var(--ink); }
.section__sub { font-size: 15px; color: var(--muted); margin-top: 10px; max-width: 620px; }
.section__header { margin-bottom: 32px; }

.btn { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 16px 32px; font-size: 15px; font-weight: 700; border: none; cursor: pointer; border-radius: var(--r-btn); transition: transform .35s var(--ease-out), background .2s ease, box-shadow .35s var(--ease-out); white-space: nowrap; }
.btn--primary      { background: var(--mint); color: var(--canopy); }
.btn--primary:hover { background: var(--wh); transform: translateY(-2px) scale(1.03); }
.btn--primary:active { transform: translateY(0) scale(.98); }
.btn--outline      { background: transparent; color: var(--wh); border: 2px solid rgba(255,255,255,.35); }
.btn--outline:hover { border-color: var(--mint); background: rgba(111,186,167,.12); color: var(--mint); transform: translateY(-2px); }
.btn svg { transition: transform .3s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }

/* ─── HEADER ─── */
.header { position: sticky; top: 0; z-index: 100; background: var(--canopy); }
.header__top-inner { display: flex; align-items: center; height: 72px; gap: 24px; }
.header__logo  { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.logo-img { height: 28px; width: auto; transition: transform .35s var(--ease-out); }
.header__logo:hover .logo-img { transform: scale(1.05); }
.header__logo-divider { width: 1px; height: 24px; background: rgba(255,255,255,.2); flex-shrink: 0; }
.logo-text__badge { font-size: 11px; font-weight: 500; color: rgba(255,255,255,.5); letter-spacing: .02em; line-height: 1.3; max-width: 130px; }
.header__address { font-size: 13px; color: rgba(255,255,255,.55); flex-shrink: 0; }
.header__right { display: flex; align-items: center; gap: 14px; margin-left: auto; flex-shrink: 0; }
.header__hours { font-size: 13px; font-weight: 600; color: var(--wh); line-height: 1.2; text-align: right; }
.header__hours span { display: block; font-size: 11px; font-weight: 400; color: rgba(255,255,255,.4); margin-top: 2px; }
.header__phone { font-size: 17px; font-weight: 600; color: var(--wh); line-height: 1.2; }
.header__messengers { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 38px; height: 38px; border-radius: var(--r-btn); display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: var(--mint); transition: var(--trans); flex-shrink: 0; }
.icon-btn:hover { background: var(--mint); color: var(--canopy); border-color: var(--mint); }
.icon-btn svg { width: 17px; height: 17px; }
.icon-btn--text { width: auto; padding: 0 12px; font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.header__navbar { background: var(--canopy-2); }
.header__nav{position:relative;display:flex;align-items:center;gap:4px;height:52px;flex-wrap:wrap;}
.header__nav>a,.nav-item>a{position:relative;z-index:1;font-size:14px;font-weight:500;color:rgba(255,255,255,.65);padding:9px 16px;border-radius:var(--r-btn);transition:color .25s ease,transform .25s var(--ease-out);text-decoration:none;display:block;}
.header__nav>a:hover,.nav-item>a:hover{color:var(--mint);transform:translateY(-1px);}
.header__nav>a.is-active,.nav-item>a.is-active{color:var(--mint);}
.nav-pill{position:absolute;bottom:4px;height:3px;border-radius:2px;background:var(--mint);box-shadow:0 0 10px rgba(111,186,167,.6);z-index:0;opacity:0;transform:scaleX(.6);transform-origin:center;transition:left .3s var(--ease-out),width .3s var(--ease-out),opacity .2s ease,transform .3s var(--ease-out);pointer-events:none;}
.nav-pill.is-visible{opacity:1;transform:scaleX(1);}
@media (prefers-reduced-motion: reduce) { .nav-pill { transition: opacity .2s ease; } }
.nav-item{position:relative;}
.nav-item>a{display:flex;align-items:center;gap:5px;cursor:pointer;}
.nav-item>a svg{transition:transform .2s;flex-shrink:0;}
.nav-item:hover>a svg{transform:rotate(180deg);}
.nav-dropdown{display:none;position:absolute;top:100%;left:0;margin-top:8px;padding:6px;background:var(--wh);border-radius:var(--r-sm);box-shadow:0 20px 40px -20px rgba(8,47,37,.3);border:1px solid var(--line);min-width:240px;z-index:100;}
.nav-dropdown::before{content:'';position:absolute;left:0;right:0;bottom:100%;height:8px;background:transparent;}
.nav-item:hover .nav-dropdown{display:block;}
.nav-dropdown a{display:block;font-size:13px;font-weight:500;color:var(--ink-soft);padding:10px 14px;border-radius:var(--r-sm);transition:var(--trans);text-decoration:none;}
.nav-dropdown a:hover{color:var(--canopy);background:var(--mint-pastel);}
.nav-dropdown__item{position:relative;}
.nav-dropdown__item>a{display:flex;align-items:center;justify-content:space-between;gap:10px;}
.nav-dropdown__chevron{color:var(--muted);flex-shrink:0;transition:transform .2s ease,color .2s ease;}
.nav-dropdown__item:hover>a .nav-dropdown__chevron{color:var(--forest);transform:translateX(2px);}
.nav-dropdown__flyout{position:absolute;top:-6px;left:100%;margin-left:8px;background:var(--wh);border:1px solid var(--line);border-radius:var(--r-sm);min-width:230px;padding:6px;box-shadow:0 20px 40px -20px rgba(8,47,37,.3);opacity:0;visibility:hidden;transform:translateX(-6px);transition:opacity .2s ease,transform .25s var(--ease-out),visibility .2s;}
.nav-dropdown__flyout::before{content:'';position:absolute;top:0;bottom:0;right:100%;width:8px;background:transparent;}
.nav-dropdown__item:hover .nav-dropdown__flyout{opacity:1;visibility:visible;transform:none;}
.nav-dropdown__flyout--up{top:auto;bottom:-6px;}
@media (prefers-reduced-motion: reduce) { .nav-dropdown__flyout { transition: opacity .15s ease, visibility .15s; } }

/* ─── PAGE HERO ─── */
.page-hero { position: relative; z-index: 0; overflow: hidden; background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%2360a595' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"), linear-gradient(135deg, var(--canopy), var(--forest), var(--canopy)); background-size: auto, 320% 320%; background-position: 0 0, var(--scroll-shift, 0%) 50%; padding: 52px 0 56px; }
.page-hero__glow { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(111,186,167,.28) 0%, transparent 70%); top: -190px; right: -110px; pointer-events: none; animation: mesh-drift 16s ease-in-out infinite; }
.breadcrumbs { position: relative; z-index: 2; font-size: 13px; color: rgba(255,255,255,.45); margin-bottom: 18px; }
.breadcrumbs a { color: rgba(255,255,255,.65); transition: color .2s ease; }
.breadcrumbs a:hover { color: var(--mint); }
.breadcrumbs span { margin: 0 8px; color: rgba(255,255,255,.25); }
.page-hero h1 { position: relative; z-index: 2; font-size: 34px; font-weight: 800; color: var(--wh); line-height: 1.22; letter-spacing: -.02em; max-width: 760px; opacity: 0; transform: translateY(16px); animation: rise .7s var(--ease-out) .05s forwards; }
.page-hero__lead { position: relative; z-index: 2; font-size: 16px; color: rgba(255,255,255,.65); line-height: 1.65; max-width: 640px; margin-top: 14px; opacity: 0; transform: translateY(14px); animation: rise .7s var(--ease-out) .18s forwards; }
@media (prefers-reduced-motion: reduce) { .page-hero h1, .page-hero__lead { animation: none !important; opacity: 1 !important; transform: none !important; } }

@keyframes mesh-drift {
  0%   { transform: translate(0,0) scale(1); filter: hue-rotate(0deg); }
  33%  { transform: translate(-36px, 28px) scale(1.12); filter: hue-rotate(14deg); }
  66%  { transform: translate(22px, -24px) scale(.94); filter: hue-rotate(-10deg); }
  100% { transform: translate(0,0) scale(1); filter: hue-rotate(0deg); }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes icon-draw { to { stroke-dashoffset: 0; } }
@keyframes icon-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.25); } }
@keyframes faq-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.icon-stroke { stroke-dasharray: 140; stroke-dashoffset: 140; animation: icon-draw 1.1s var(--ease-out) forwards; animation-play-state: paused; }
.icon-accent { opacity: 0; transform: scale(.4); transform-origin: center; transition: opacity .5s var(--ease-out) .6s, transform .5s var(--ease-out) .6s; }
.services-grid.is-visible .icon-stroke, .adv-grid.is-visible .icon-stroke, .steps.is-visible .icon-stroke { animation-play-state: running; }
.services-grid.is-visible .icon-accent, .adv-grid.is-visible .icon-accent, .steps.is-visible .icon-accent { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .icon-stroke { animation: none !important; stroke-dashoffset: 0 !important; }
  .icon-accent { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ─── CTA BAND ─── */
.cta-band { position: relative; z-index: 0; overflow: hidden; background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%2360a595' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"), linear-gradient(135deg, var(--canopy), var(--forest), var(--canopy)); background-size: auto, 320% 320%; background-position: 0 0, var(--scroll-shift, 0%) 50%; padding: 52px 0; }
.cta-band__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band__title { font-size: 24px; font-weight: 800; color: var(--wh); letter-spacing: -.01em; }
.cta-band__sub { font-size: 15px; color: rgba(255,255,255,.6); margin-top: 6px; }
.cta-band__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cta-band__disclaimer { position: relative; z-index: 1; font-size: 11px; color: rgba(255,255,255,.35); margin-top: 20px; }

/* ─── FOOTER ─── */
.footer { position: relative; z-index: 0; overflow: hidden; background-color: var(--footer-green); background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%2360a595' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); padding: 60px 0 0; }
.footer::before { content: ''; position: absolute; z-index: -1; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(111,186,167,.24), transparent 70%); top: -220px; left: 10%; animation: mesh-drift 20s ease-in-out infinite; pointer-events: none; }
.footer::after { content: ''; position: absolute; z-index: -1; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(35,107,90,.32), transparent 70%); bottom: -160px; right: 8%; animation: mesh-drift 23s ease-in-out infinite reverse; pointer-events: none; }
.footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brand-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer__brand-desc  { font-size: 14px; color: rgba(255,255,255,.5); line-height: 1.65; margin-bottom: 12px; }
.footer__legal-link { font-size: 13px; color: rgba(255,255,255,.55); text-decoration: underline; }
.footer__legal-link:hover { color: var(--mint); }
.footer__requisites { font-size: 12px; color: rgba(255,255,255,.4); margin-top: 10px; line-height: 1.6; }
.footer__col-title { font-size: 12px; font-weight: 700; color: var(--mint); letter-spacing: .07em; text-transform: uppercase; margin-bottom: 20px; }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: 14px; color: rgba(255,255,255,.6); transition: color .25s ease, transform .25s var(--ease-out); display: inline-block; width: fit-content; }
.footer__links a:hover { color: var(--mint); transform: translateX(4px); }
.footer__contact-buttons { display: flex; align-items: center; gap: 8px; margin: 16px 0; }
.footer__address { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.5; margin-bottom: 12px; }
.footer__hours { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.6; white-space: pre-line; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; font-size: 13px; color: rgba(255,255,255,.35); flex-wrap: wrap; gap: 12px; }
.footer__bottom a { color: rgba(255,255,255,.45); text-decoration: underline; }
.footer__bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ─── RESPONSIVE (базовое ядро) ─── */
@media (max-width: 1024px) {
  .header__address { display: none; }
}
@media (max-width: 768px) {
  .section { padding: 52px 0; }
  .header__navbar { display: none; }
  .header__address, .header__hours, .header__messengers { display: none; }
  .page-hero h1 { font-size: 25px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
}

/* ─── SCROLL PROGRESS ─── */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0%; background: var(--mint); z-index: 300; transition: width .1s linear; }
@media (prefers-reduced-motion: reduce) { .scroll-progress { display: none; } }

/* ─── PAGE SPOTLIGHT ─── */
.page-spotlight { position: fixed; inset: 0; z-index: 40; pointer-events: none; opacity: 0; transition: opacity .5s ease; background: radial-gradient(circle 280px at var(--px, 50%) var(--py, 0%), rgba(111,186,167,.14), transparent 70%); }
.page-spotlight.is-active { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .page-spotlight { display: none; } }
@media (hover: none) { .page-spotlight { display: none; } }

/* COOKIE BANNER */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; background: var(--canopy); border-top: 1px solid rgba(255,255,255,.12); }
.cookie-banner__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0; flex-wrap: wrap; }
.cookie-banner__text { font-size: 13px; color: rgba(255,255,255,.65); max-width: 720px; line-height: 1.6; }
.cookie-banner__text a { color: var(--mint); text-decoration: underline; }
.cookie-banner__btn { flex-shrink: 0; padding: 11px 22px; font-size: 14px; }

/* ══════════════════════════════════════════════════════════════
   ГЛАВНАЯ СТРАНИЦА
   ══════════════════════════════════════════════════════════════ */

/* ─── section--dark / section--light / section--tint (декоративные фоны секций) ─── */
.section--dark  { position: relative; z-index: 0; overflow: hidden; background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%2360a595' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"), linear-gradient(135deg, var(--canopy), var(--forest), var(--canopy)); background-size: auto, 320% 320%; background-position: 0 0, var(--scroll-shift, 0%) 50%; color: var(--wh); }
.section--dark::before { content: ''; position: absolute; z-index: -1; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(111,186,167,.32), transparent 70%); top: -200px; right: -140px; animation: mesh-drift 15s ease-in-out infinite; pointer-events: none; }
.section--dark::after { content: ''; position: absolute; z-index: -1; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(122,95,196,.28), transparent 70%); bottom: -180px; left: -120px; animation: mesh-drift 19s ease-in-out infinite reverse; pointer-events: none; }
.section--dark.section--deep { background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%2360a595' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"), linear-gradient(135deg, var(--steps-green), var(--canopy), var(--steps-green)); background-size: auto, 320% 320%; background-position: 0 0, var(--scroll-shift, 0%) 50%; }
.section--dark.section--deep::before { background: radial-gradient(circle, rgba(96,165,149,.4), transparent 70%); }
.section--dark.section--deep::after { background: radial-gradient(circle, rgba(8,47,37,.4), transparent 70%); }
.section--light { background: var(--wh); }
.section--light, .section--tint { position: relative; z-index: 0; overflow: hidden; }
.section--light::before, .section--light::after, .section--tint::before, .section--tint::after { content: ''; position: absolute; z-index: -1; border-radius: 50%; filter: blur(2px); pointer-events: none; animation: mesh-drift 17s ease-in-out infinite; opacity: .8; }
.section--doctors::before { width: 420px; height: 420px; background: radial-gradient(circle, var(--peach-pastel), transparent 70%); top: -140px; right: -100px; }
.section--doctors::after { width: 320px; height: 320px; background: radial-gradient(circle, var(--mint-pastel), transparent 70%); bottom: -100px; left: -80px; animation-direction: reverse; }
.section--price::before { width: 400px; height: 400px; background: radial-gradient(circle, var(--lavender-pastel), transparent 70%); top: -120px; left: -100px; }
.section--reviews::before { width: 420px; height: 420px; background: radial-gradient(circle, var(--peach-pastel), transparent 70%); bottom: -160px; right: -100px; }
.section--faq::before { width: 360px; height: 360px; background: radial-gradient(circle, var(--sage-pastel), transparent 70%); top: -120px; right: 5%; }
.section__label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); margin-bottom: 14px; }
.section--dark .section__label { color: var(--mint); }
.section--dark .section__title { color: var(--wh); }
.section--dark .section__sub { color: rgba(255,255,255,.65); }
.section__header--center { text-align: center; }
.section__header--center .section__sub { margin-left: auto; margin-right: auto; }
.btn--outline-dark { background: transparent; color: var(--ink); border: 2px solid var(--line); }
.btn--outline-dark:hover { border-color: var(--forest); color: var(--forest); background: var(--mint-pastel); transform: translateY(-2px); }

/* Главная использует более крупные заголовки секций, чем внутренние страницы */
.home .section__title { font-size: 44px; letter-spacing: -.03em; line-height: 1.08; }
.home .section__sub { font-size: 18px; margin-top: 16px; }
.home .section__header { margin-bottom: 52px; }

/* ─── HERO ─── */
.hero { position: relative; background: linear-gradient(135deg, var(--canopy), var(--forest), var(--canopy)); background-size: 320% 320%; background-position: var(--scroll-shift, 0%) 50%; overflow: hidden; padding: 96px 0; }
.hero::after { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%2360a595' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); pointer-events: none; }
.hero__glow { position: absolute; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(circle, rgba(111,186,167,.3) 0%, transparent 70%); top: -220px; right: -160px; pointer-events: none; animation: mesh-drift 14s ease-in-out infinite; }
.hero__glow--2 { position: absolute; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(122,95,196,.24) 0%, transparent 70%); bottom: -160px; left: -100px; pointer-events: none; animation: mesh-drift 18s ease-in-out infinite reverse; }
.hero__glow--3 { position: absolute; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(197,141,74,.18) 0%, transparent 70%); top: 30%; left: 38%; pointer-events: none; animation: mesh-drift 22s ease-in-out infinite; }
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero__kicker { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: var(--r-btn); padding: 7px 16px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--mint); margin-bottom: 28px; opacity: 0; transform: translateY(14px); animation: rise .7s var(--ease-out) .1s forwards; }
.hero__kicker::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); flex-shrink: 0; animation: pulse 2s ease-in-out infinite; }
.hero h1 { font-size: 68px; font-weight: 800; line-height: 1.04; color: var(--wh); margin-bottom: 24px; letter-spacing: -.035em; opacity: 0; transform: translateY(18px); animation: rise .8s var(--ease-out) .08s forwards; }
.hero h1 em { color: var(--mint); font-style: normal; }
.hero__sub { font-size: 19px; color: rgba(255,255,255,.7); line-height: 1.55; margin-bottom: 32px; max-width: 480px; opacity: 0; transform: translateY(16px); animation: rise .8s var(--ease-out) .38s forwards; }
.promo-disclaimer { font-size: 11px; color: rgba(255,255,255,.35); line-height: 1.5; }
.hero__content .promo-disclaimer { opacity: 0; transform: translateY(14px); animation: rise .8s var(--ease-out) .5s forwards; }
.hero__img { position: relative; aspect-ratio: 4/3; background: var(--forest); border-radius: var(--r-card); display: flex; align-items: center; justify-content: center; overflow: hidden; opacity: 0; transform: translateY(20px) scale(.97); animation: rise-scale .9s var(--ease-out) .3s forwards, float 6s ease-in-out .9s infinite; }
.hero__img::after, .about__visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 35%, rgba(255,255,255,.14) 50%, transparent 65%); background-size: 250% 250%; animation: shimmer-sweep 4s ease-in-out infinite; pointer-events: none; }
.hero__img-placeholder { font-size: 13px; color: rgba(255,255,255,.4); font-weight: 500; text-align: center; padding: 0 40px; }
@keyframes shimmer-sweep { 0% { background-position: 180% 0; } 100% { background-position: -80% 0; } }
@keyframes rise-scale { to { opacity: 1; transform: none; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(111,186,167,.5); } 50% { opacity: .7; box-shadow: 0 0 0 5px rgba(111,186,167,0); } }
@media (prefers-reduced-motion: reduce) {
  .hero__img::after, .about__visual::after { animation: none !important; }
  .hero__kicker, .hero h1, .hero__sub, .hero__content .promo-disclaimer, .hero__img { animation: none !important; opacity: 1 !important; transform: none !important; }
  .section--dark::before, .section--dark::after, .section--light::before, .section--light::after, .section--tint::before, .section--tint::after, .hero__glow, .hero__glow--2, .hero__glow--3 { animation: none !important; }
}

/* ─── STATS ─── */
.stats { background: var(--paper); padding: 56px 0; }
.stats__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stats__item { padding: 26px 22px; border-radius: var(--r-card); background: var(--mint-pastel); transition: opacity .6s var(--ease-out), transform .4s var(--ease-out); }
.stats__item:hover { transform: translateY(-4px); }
.stats__item:nth-child(2) { background: var(--sage-pastel); }
.stats__item:nth-child(4) { background: var(--slate-pastel); }
.stats__num   { font-size: 32px; font-weight: 800; color: var(--forest); line-height: 1; margin-bottom: 8px; letter-spacing: -.03em; }
.stats__item:nth-child(2) .stats__num { color: var(--canopy); }
.stats__item:nth-child(3) .stats__num { color: var(--forest); }
.stats__item:nth-child(4) .stats__num { color: var(--indigo); }
.stats__label { font-size: 13px; color: var(--ink-soft); line-height: 1.4; }

/* ─── MARQUEE ─── */
.marquee { background: var(--logo-mint-pastel); overflow: hidden; padding: 16px 0; }
.marquee__track { display: flex; align-items: center; width: max-content; gap: 28px; animation: marquee-scroll 34s linear infinite; will-change: transform; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { font-size: 14px; font-weight: 600; color: var(--canopy); white-space: nowrap; letter-spacing: .01em; }
.marquee__sep { color: rgba(8,47,37,.5); font-size: 12px; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ─── SERVICES ─── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { position: relative; background: var(--mint-pastel); border-radius: var(--r-card); padding: 32px; transition: opacity .6s var(--ease-out), transform .4s var(--ease-out), box-shadow .4s var(--ease-out); display: block; overflow: hidden; }
.service-card:nth-child(5n+2) { background: var(--sage-pastel); }
.service-card:nth-child(5n+3) { background: var(--peach-pastel); }
.service-card:nth-child(5n+4) { background: var(--lavender-pastel); }
.service-card:nth-child(5n) { background: var(--slate-pastel); }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px -20px rgba(8,47,37,.25); }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.55), transparent 70%); opacity: 0; transform: translate(var(--mx, 50%), var(--my, 0%)) translate(-50%,-50%); transition: opacity .3s ease; pointer-events: none; }
.service-card:hover::before { opacity: 1; }
.service-card__icon { width: 52px; height: 52px; border-radius: var(--r-btn); background: var(--wh); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--forest); transition: transform .4s var(--ease-out), background .3s ease, color .3s ease; position: relative; z-index: 1; translate: 0 0; animation: icon-idle-float 4.5s ease-in-out infinite; }
.service-card:nth-child(2) .service-card__icon { animation-delay: -.6s; }
.service-card:nth-child(3) .service-card__icon { animation-delay: -1.4s; }
.service-card:nth-child(4) .service-card__icon { animation-delay: -2.1s; }
.service-card:nth-child(5) .service-card__icon { animation-delay: -2.9s; }
.service-card:nth-child(6) .service-card__icon { animation-delay: -3.5s; }
.service-card:nth-child(7) .service-card__icon { animation-delay: -.9s; }
.service-card:nth-child(8) .service-card__icon { animation-delay: -1.8s; }
.service-card:nth-child(9) .service-card__icon { animation-delay: -2.6s; }
@keyframes icon-idle-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
.service-card:nth-child(5n+2) .service-card__icon { color: var(--canopy); }
.service-card:nth-child(5n+3) .service-card__icon { color: var(--amber); }
.service-card:nth-child(5n+4) .service-card__icon { color: var(--lavender); }
.service-card:nth-child(5n) .service-card__icon { color: var(--indigo); }
.service-card:hover .service-card__icon { background: var(--forest); color: var(--wh); transform: rotate(-8deg) scale(1.08); }
.service-card:nth-child(5n+2):hover .service-card__icon { background: var(--canopy); }
.service-card:nth-child(5n+3):hover .service-card__icon { background: var(--amber); }
.service-card:nth-child(5n+4):hover .service-card__icon { background: var(--lavender); }
.service-card:nth-child(5n):hover .service-card__icon { background: var(--indigo); }
.service-card__title { position: relative; z-index: 1; font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.service-card__text  { position: relative; z-index: 1; font-size: 14px; color: var(--ink-soft); line-height: 1.55; margin-bottom: 20px; }
.service-card__link  { position: relative; z-index: 1; font-size: 13px; font-weight: 600; color: var(--forest); display: flex; align-items: center; gap: 6px; transition: gap .25s var(--ease-out); }
.service-card:hover .service-card__link { gap: 10px; }
.service-card:hover .icon-stroke, .adv-item:hover .icon-stroke { animation: icon-draw .6s var(--ease-out) forwards; }
.service-card:hover .icon-accent, .adv-item:hover .icon-accent { animation: icon-pulse .7s ease-in-out; }

/* ─── DOCTORS (превью на главной) ─── */
.doctors-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.doctor-card { background: var(--wh); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; display: block; transition: opacity .6s var(--ease-out), transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s ease; }
.doctor-card:hover { border-color: var(--mint); transform: translateY(-6px); box-shadow: 0 20px 40px -22px rgba(8,47,37,.3); }
.doctor-card__photo { position: relative; aspect-ratio: 3/4; background: var(--forest); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.doctor-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.doctor-card__photo-placeholder { transition: transform .5s var(--ease-out); }
.doctor-card:hover .doctor-card__photo-placeholder { transform: scale(1.06); }
.doctor-card__photo-placeholder { font-size: 12px; color: rgba(255,255,255,.4); text-align: center; padding: 0 16px; }
.doctor-card__body { padding: 20px; }
.doctor-card__name { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.doctor-card__spec { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.doctor-card__exp  { font-size: 12px; color: var(--muted); }
.doctors__footer { text-align: center; margin-top: 32px; }

/* ─── ADVANTAGES / USP ─── */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.adv-item { position: relative; overflow: hidden; background: var(--mint-pastel); border-radius: var(--r-card); padding: 28px; transition: opacity .6s var(--ease-out), transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.adv-item:hover { transform: translateY(-5px); box-shadow: 0 20px 40px -22px rgba(8,47,37,.2); }
.adv-item::before { content: ''; position: absolute; top: 0; left: 0; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.5), transparent 70%); opacity: 0; transform: translate(var(--mx, 50%), var(--my, 0%)) translate(-50%,-50%); transition: opacity .3s ease; pointer-events: none; }
.adv-item:hover::before { opacity: 1; }
.adv-item__icon, .adv-item__title, .adv-item__text { position: relative; z-index: 1; }
.adv-item:nth-child(5n+2) { background: var(--sage-pastel); }
.adv-item:nth-child(5n+3) { background: var(--peach-pastel); }
.adv-item:nth-child(5n+4) { background: var(--lavender-pastel); }
.adv-item:nth-child(5n) { background: var(--slate-pastel); }
.adv-item__icon { width: 44px; height: 44px; border-radius: var(--r-btn); background: var(--wh); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--forest); transition: transform .4s var(--ease-out), background .3s ease, color .3s ease; translate: 0 0; animation: icon-idle-float 4.2s ease-in-out infinite; }
.adv-item:nth-child(2) .adv-item__icon { animation-delay: -.7s; }
.adv-item:nth-child(3) .adv-item__icon { animation-delay: -1.5s; }
.adv-item:nth-child(4) .adv-item__icon { animation-delay: -2.2s; }
.adv-item:nth-child(5) .adv-item__icon { animation-delay: -3s; }
.adv-item:nth-child(6) .adv-item__icon { animation-delay: -3.6s; }
.adv-item:nth-child(5n+2) .adv-item__icon { color: var(--canopy); }
.adv-item:nth-child(5n+3) .adv-item__icon { color: var(--amber); }
.adv-item:nth-child(5n+4) .adv-item__icon { color: var(--lavender); }
.adv-item:nth-child(5n) .adv-item__icon { color: var(--indigo); }
.adv-item:hover .adv-item__icon { background: var(--forest); color: var(--wh); transform: rotate(-8deg) scale(1.1); }
.adv-item:nth-child(5n+2):hover .adv-item__icon { background: var(--canopy); }
.adv-item:nth-child(5n+3):hover .adv-item__icon { background: var(--amber); }
.adv-item:nth-child(5n+4):hover .adv-item__icon { background: var(--lavender); }
.adv-item:nth-child(5n):hover .adv-item__icon { background: var(--indigo); }
.adv-item__title { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.adv-item__text  { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }

/* ─── ECG DIVIDER ─── */
.ecg-divider { background: var(--paper); padding: 10px 0; overflow: hidden; }
.ecg-divider__svg { width: 100%; height: 36px; display: block; color: var(--mint); }
.ecg-divider__line { stroke-dasharray: 16 9; animation: ecg-march 2.4s linear infinite; }
@keyframes ecg-march { to { stroke-dashoffset: -250; } }
@media (prefers-reduced-motion: reduce) { .ecg-divider__line { animation: none; } }

/* ─── STEPS (процесс «от записи до плана лечения») ─── */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.steps::before { content: ''; position: absolute; top: 35px; left: calc(10% + 24px); right: calc(10% + 24px); height: 1px; background: rgba(255,255,255,.15); z-index: 0; }
.steps::after { content: ''; position: absolute; top: 35px; left: calc(10% + 24px); right: calc(10% + 24px); height: 1px; background: var(--mint); z-index: 0; transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease-out) .2s; }
.steps.is-visible::after { transform: scaleX(1); }
.step { text-align: center; padding: 0 16px; position: relative; z-index: 1; }
.step__num   { position: relative; width: 70px; height: 70px; border-radius: 50%; background: var(--mint); display: flex; align-items: center; justify-content: center; color: var(--canopy); margin: 0 auto 20px; transition: transform .4s var(--ease-out); translate: 0 0; animation: icon-idle-float 4s ease-in-out infinite; }
.step:nth-child(2) .step__num { animation-delay: -.8s; }
.step:nth-child(3) .step__num { animation-delay: -1.6s; }
.step:nth-child(4) .step__num { animation-delay: -2.4s; }
.step:nth-child(5) .step__num { animation-delay: -3.2s; }
.step__num svg { width: 28px; height: 28px; }
.step:hover .step__num { transform: scale(1.12) rotate(-6deg); }
.step:hover .step__num .icon-stroke { animation: icon-draw .6s var(--ease-out) forwards; }
.step:hover .step__num .icon-accent { animation: icon-pulse .7s ease-in-out; }
.step__title { font-size: 14px; font-weight: 700; color: var(--wh); margin-bottom: 8px; }
.step__text  { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.55; }
.steps__note { margin-top: 40px; text-align: center; font-size: 14px; color: rgba(255,255,255,.5); max-width: 640px; margin-left: auto; margin-right: auto; }
.steps__pulse { position: absolute; top: 31px; left: calc(10% + 24px); width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 14px 3px rgba(111,186,167,.65); z-index: 2; opacity: 0; pointer-events: none; }
.steps.is-visible .steps__pulse { animation: steps-travel 3.2s ease-in-out 1.4s infinite; }
@keyframes steps-travel {
  0% { left: calc(10% + 24px); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: calc(90% - 24px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .steps__pulse { display: none; } }

/* ─── REVIEWS (превью на главной) ─── */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card { background: var(--wh); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; transition: opacity .6s var(--ease-out), transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s ease; }
.review-card:hover { transform: translateY(-6px); border-color: var(--mint); box-shadow: 0 24px 44px -22px rgba(8,47,37,.25); }
.review-card__photo { position: relative; width: 100%; aspect-ratio: 3/4; background: var(--forest); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.review-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.review-card:nth-child(3n+2) .review-card__photo { background: var(--canopy-2); }
.review-card:nth-child(3n) .review-card__photo { background: #1a4f40; }
.review-card__photo-placeholder { font-size: 12px; color: rgba(255,255,255,.4); text-align: center; padding: 0 16px; transition: transform .5s var(--ease-out); }
.review-card:hover .review-card__photo-placeholder { transform: scale(1.06); }
.review-card__body { padding: 24px; }
.review-card__text { font-size: 14px; color: var(--ink-soft); line-height: 1.65; margin-bottom: 18px; }
.review-card__name { font-size: 14px; font-weight: 700; color: var(--ink); }
.review-card__meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.reviews__footer { text-align: center; margin-top: 32px; }

/* ─── PRICE (превью на главной, переиспользуется и на /price/) ─── */
.price-list { background: var(--wh); border: 1px solid var(--line); border-radius: var(--r-card); padding: 0 28px; }
.price-row { position: relative; display: flex; justify-content: space-between; align-items: baseline; padding: 20px 8px 20px 22px; border-bottom: 1px solid var(--line); gap: 24px; border-radius: var(--r-sm); transition: background .3s ease; }
.price-row::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 2px; background: var(--mint); transform: scaleY(0); transform-origin: center; transition: transform .3s var(--ease-out); }
.price-row:hover { background: var(--mint-pastel); }
.price-row:hover::before { transform: scaleY(1); }
.price-row:last-child { border-bottom: none; }
.price-row__name { font-size: 15px; font-weight: 600; color: var(--ink); }
.price-row__cat { font-size: 12px; color: var(--muted); margin-top: 4px; }
.price-row__value { font-size: 16px; font-weight: 700; color: var(--forest); white-space: nowrap; transition: transform .3s var(--ease-out); display: inline-block; }
.price-row:hover .price-row__value { transform: scale(1.06); }
.price__footer { margin-top: 32px; text-align: center; }

/* ─── ABOUT (превью на главной) ─── */
.about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about__title { font-size: 34px; font-weight: 700; color: var(--wh); line-height: 1.2; margin-bottom: 20px; letter-spacing: -.01em; }
.about__text  { font-size: 16px; color: rgba(255,255,255,.65); line-height: 1.7; margin-bottom: 24px; }
.about__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 36px; }
.about__fact  { padding: 20px; background: rgba(255,255,255,.08); border-radius: var(--r-sm); }
.about__fact-num   { font-size: 24px; font-weight: 700; color: var(--mint); line-height: 1; }
.about__fact:nth-child(2) .about__fact-num { color: var(--mint-bright); }
.about__fact:nth-child(3) .about__fact-num { color: var(--forest-bright); }
.about__fact:nth-child(4) .about__fact-num { color: var(--mint); }
.about__fact-label { font-size: 13px; color: rgba(255,255,255,.5); margin-top: 4px; }
.about__visual { position: relative; background: var(--forest); border-radius: var(--r-card); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.about__visual img { width: 100%; height: 100%; object-fit: cover; }
.about__visual-placeholder { font-size: 13px; color: rgba(255,255,255,.4); text-align: center; line-height: 1.6; padding: 0 32px; }

/* ─── FAQ ─── */
.faq-list { max-width: 780px; }
.faq-item { border-bottom: 1px solid var(--line); transition: background .3s ease; }
.faq-item:hover { background: var(--mint-pastel); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; padding: 22px 16px; font-size: 16px; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; gap: 16px; transition: padding .3s var(--ease-out); }
.faq-item:hover summary { padding-left: 20px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 22px; font-weight: 400; color: var(--forest); flex-shrink: 0; display: inline-block; transition: transform .35s var(--ease-out); }
.faq-item[open] summary::after { transform: rotate(135deg); }
.faq-item__body { padding: 0 16px 22px; font-size: 14px; color: var(--ink-soft); line-height: 1.7; max-width: 640px; animation: faq-open .35s var(--ease-out); }

/* ─── SEO TEXT ─── */
.seo-text { background: #f2f4ee; padding: 48px 0; }
.seo-text__inner { max-width: 860px; }
.seo-text h2 { font-size: 20px; font-weight: 700; color: var(--canopy); margin-bottom: 14px; }
.seo-text p { font-size: 15px; color: var(--ink-soft); line-height: 1.75; margin-bottom: 12px; }
.seo-text__more summary { cursor: pointer; font-size: 14px; font-weight: 700; color: var(--forest); list-style: none; display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; }
.seo-text__more summary::-webkit-details-marker { display: none; }
.seo-text__more summary .hide { display: none; }
.seo-text__more[open] summary .show { display: none; }
.seo-text__more[open] summary .hide { display: inline; }
.seo-text__more-body { margin-top: 12px; }

/* ─── CONTACTS / ЗАПИСЬ (форма на главной, переиспользуется на /contacts/) ─── */
.contacts__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contacts__info-title { font-size: 34px; font-weight: 700; color: var(--wh); line-height: 1.2; margin-bottom: 16px; letter-spacing: -.01em; }
.contacts__info-sub   { font-size: 16px; color: rgba(255,255,255,.6); line-height: 1.65; margin-bottom: 32px; }
.contacts__block { margin-bottom: 24px; }
.contacts__block-label { font-size: 12px; font-weight: 700; color: var(--mint); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.contacts__block-value { font-size: 16px; color: var(--wh); line-height: 1.5; }
.contacts__map-full { width: 100%; aspect-ratio: 21/6; background: var(--forest); margin-top: 64px; display: flex; align-items: center; justify-content: center; }
.contacts__map-full-placeholder { font-size: 13px; color: rgba(255,255,255,.4); text-align: center; padding: 0 32px; }
.form__box { background: var(--wh); border-radius: var(--r-card); padding: 40px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__field { margin-bottom: 16px; }
.form__label { display: block; font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 8px; }
.form__label span { color: var(--forest); }
.form__input, .form__select, .form__textarea { width: 100%; background: var(--paper); border: 1px solid var(--line); padding: 13px 16px; font-size: 15px; color: var(--ink); border-radius: var(--r-sm); transition: var(--trans); outline: none; }
.form__input::placeholder, .form__textarea::placeholder { color: var(--muted); }
.form__input:focus, .form__select:focus, .form__textarea:focus { border-color: var(--forest); background: var(--wh); }
.form__select { appearance: none; cursor: pointer; }
.form__textarea { resize: vertical; min-height: 90px; }
.form__submit { width: 100%; padding: 16px; font-size: 16px; font-weight: 700; background: var(--indigo); color: var(--wh); border: none; cursor: pointer; border-radius: var(--r-btn); transition: transform .35s var(--ease-out), background .2s ease; }
.form__submit:hover { background: var(--indigo-dark); transform: translateY(-2px) scale(1.01); }
.form__submit:active { transform: translateY(0) scale(.99); }
.form__submit:disabled { opacity: .6; cursor: default; transform: none; }
.form__consent-text { font-size: 12px; color: var(--muted); line-height: 1.5; margin-top: 14px; text-align: center; }
.form__consent-text a { color: var(--forest); text-decoration: underline; }
.form__box .promo-disclaimer { color: var(--muted); }
.form__status { font-size: 13px; text-align: center; margin-top: 12px; display: none; }
.form__status.is-success { display: block; color: var(--forest); }
.form__status.is-error { display: block; color: #b3402a; }

@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__img { max-width: 480px; }
  .hero h1 { font-size: 40px; }
  .services-grid, .adv-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .doctors-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .steps::before { display: none; }
  .about__inner, .contacts__inner { grid-template-columns: 1fr; gap: 40px; }
  .stats__inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .home .section__title { font-size: 26px; }
  .hero { padding: 56px 0; }
  .hero h1 { font-size: 30px; }
  .hero__img { display: none; }
  .services-grid, .doctors-grid, .adv-grid, .reviews-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .price-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .contacts__map-full { aspect-ratio: 4/3; }
}

/* ══════════════════════════════════════════════════════════════
   СТРАНИЦЫ УСЛУГ (хаб /uslugi/ и карточка отдельной услуги)
   ══════════════════════════════════════════════════════════════ */

/* ─── ARTICLE BODY (свободный текст услуги/статьи через редактор) ─── */
.article-body { max-width: 780px; }
.article-body__lead { font-size: 18px; color: var(--ink-soft); line-height: 1.75; margin-bottom: 28px; }
.article-body p { font-size: 16px; color: var(--ink-soft); line-height: 1.85; margin-bottom: 18px; }
.article-body h2 { font-size: 22px; font-weight: 800; color: var(--canopy); letter-spacing: -.01em; margin: 44px 0 14px; }
.article-body h2:first-child { margin-top: 0; }
.article-body ul { margin: 0 0 18px; }
.article-body li { font-size: 16px; color: var(--ink-soft); line-height: 1.75; padding-left: 22px; position: relative; margin-bottom: 8px; }
.article-body li::before { content: '—'; position: absolute; left: 0; color: var(--forest); }

/* ─── CHECK LIST (показания к обращению) ─── */
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 32px; }
.check-list--single { grid-template-columns: 1fr; }
.check-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px 10px; font-size: 15px; color: var(--ink-soft); border-bottom: 1px solid var(--line); border-radius: var(--r-sm); transition: background .25s ease; }
.check-item:hover { background: var(--mint-pastel); }
.section--dark .check-item { color: rgba(255,255,255,.8); border-bottom-color: rgba(255,255,255,.12); }
.section--dark .check-item:hover { background: rgba(255,255,255,.08); }
.check-item__icon { width: 22px; height: 22px; flex-shrink: 0; margin-top: 0; padding: 4px; box-sizing: border-box; color: var(--forest); background: var(--mint-pastel); border-radius: 50%; transition: transform .3s var(--ease-out), background .25s ease, color .25s ease; }
.check-item:hover .check-item__icon { transform: scale(1.15) rotate(-6deg); background: var(--forest); color: var(--wh); }
.section--dark .check-item__icon { background: rgba(255,255,255,.1); color: var(--mint); }
.section--dark .check-item:hover .check-item__icon { background: var(--mint); color: var(--canopy); }

/* ─── TEXT + MEDIA ─── */
.text-media { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.text-media__text p { font-size: 16px; color: var(--ink-soft); line-height: 1.75; margin-bottom: 16px; }
.text-media__images { display: flex; flex-direction: column; gap: 16px; }
.text-media__img { position: relative; background: var(--forest); border-radius: var(--r-card); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.text-media__img img { width: 100%; height: 100%; object-fit: cover; }
.text-media__img:nth-child(2) { background: var(--canopy-2); }
.text-media__img-placeholder { position: relative; z-index: 1; font-size: 12px; color: rgba(255,255,255,.4); text-align: center; padding: 0 20px; }

/* ─── WARN BLOCK (противопоказания) ─── */
.warn-block { position: relative; background: var(--peach-pastel); padding: 28px 32px; border-radius: var(--r-card); max-width: 780px; overflow: hidden; }
.warn-block::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--amber); }
.warn-block__title { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.warn-block__title svg { flex-shrink: 0; color: var(--amber); }
.warn-block__text { font-size: 14px; color: var(--ink-soft); line-height: 1.65; }

/* ─── RELATED SERVICES ─── */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card { background: var(--mint-pastel); border-radius: var(--r-card); padding: 28px; transition: opacity .6s var(--ease-out), transform .4s var(--ease-out), box-shadow .4s var(--ease-out); display: block; }
.related-card:nth-child(3n+2) { background: var(--sage-pastel); }
.related-card:nth-child(3n) { background: var(--peach-pastel); }
.related-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px -22px rgba(8,47,37,.2); }
.related-card__icon { width: 48px; height: 48px; border-radius: var(--r-btn); background: var(--wh); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; color: var(--forest); transition: transform .4s var(--ease-out), background .3s ease, color .3s ease; translate: 0 0; animation: icon-idle-float 4.3s ease-in-out infinite; }
.related-card:nth-child(3n+2) .related-card__icon { color: var(--canopy); animation-delay: -1.2s; }
.related-card:nth-child(3n) .related-card__icon { color: var(--amber); animation-delay: -2.4s; }
.related-card:hover .related-card__icon { background: var(--forest); color: var(--wh); transform: rotate(-8deg) scale(1.08); }
.related-card:nth-child(3n+2):hover .related-card__icon { background: var(--canopy); }
.related-card:nth-child(3n):hover .related-card__icon { background: var(--amber); }
.related-card:hover .icon-stroke { animation: icon-draw .6s var(--ease-out) forwards; }
.related-card:hover .icon-accent { animation: icon-pulse .7s ease-in-out; }
.related-grid.is-visible .icon-stroke { animation-play-state: running; }
.related-grid.is-visible .icon-accent { opacity: 1; transform: none; }
.related-card__title { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.related-card__text { font-size: 13px; color: var(--ink-soft); line-height: 1.55; }

@media (max-width: 1024px) {
  .doctors-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .text-media { grid-template-columns: 1fr; gap: 24px; }
  .check-list { grid-template-columns: 1fr; }
  .doctors-grid, .related-grid { grid-template-columns: 1fr; }
}
