/* =========================================================
   Байкал — baikals.asia (Улан-Удэ, ул. Пушкина)
   Медицинский центр, клиника, диагностический центр.
   Design concept: «байкальский лёд» — ледяной бело-голубой
   фон, глубокий озёрно-синий текст, кристально-бирюзовый
   акцент, тонкие диагональные трещины льда как разделители.
   Гарнитуры Outfit + Inter.
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');
:root{
  --paper:#F0F6F8; --paper-2:#FFFFFF;
  --ink:#0E2A38; --ink-2:#173D4E;
  --grey:#5A6F79; --grey-dim:#9DB0B8;
  --ice:#1FA7C9; --ice-dark:#136E88; --ice-tint:#DCF1F6;
  --deep:#0A4159; --deep-tint:#D6E9EF;
  --line:rgba(14,42,56,0.13); --line-strong:rgba(14,42,56,0.24);
  --display:'Outfit','Segoe UI',sans-serif;
  --body:'Inter','Segoe UI',sans-serif;
  --radius:10px; --radius-sm:6px; --container:1150px;
}
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
html, body{ max-width:100%; overflow-x:hidden; }
body{ margin:0; background:var(--paper); color:var(--ink); font-family:var(--body); font-size:16px; line-height:1.68; -webkit-font-smoothing:antialiased; }
@media (prefers-reduced-motion: reduce){ *{ animation-duration:0.001ms !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; } }
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family:var(--display); font-weight:700; letter-spacing:-0.01em; margin:0; color:var(--ink); }
p{ margin:0; }
button{ font-family:inherit; cursor:pointer; }
.container{ max-width:var(--container); margin:0 auto; padding:0 24px; }
::selection{ background:var(--ice); color:#fff; }
:focus-visible{ outline:2px solid var(--ice-dark); outline-offset:2px; }
.crack{ height:3px; background:linear-gradient(90deg, transparent 0%, var(--ice) 8%, transparent 14%, transparent 30%, var(--ice) 36%, transparent 42%, transparent 60%, var(--ice) 68%, transparent 74%, transparent 88%, var(--ice) 94%, transparent 100%); opacity:.7; }

.kicker{ font-size:12px; font-weight:700; letter-spacing:0.1em; text-transform:uppercase; color:var(--ice-dark); display:inline-flex; align-items:center; gap:9px; }
.kicker::before{ content:""; width:18px; height:2px; background:var(--ice); position:relative; }
.kicker::after{ content:""; position:absolute; margin-left:-11px; margin-top:-4px; width:8px; height:2px; background:var(--ice); transform:rotate(45deg); }
section.deep .kicker{ color:var(--ice-tint); }
section.deep .kicker::before, section.deep .kicker::after{ background:var(--ice-tint); }

.btn{ display:inline-flex; align-items:center; gap:10px; font-family:var(--display); font-size:14.5px; font-weight:600; padding:14px 28px; border-radius:2px; border:1.5px solid transparent; transition:transform .15s ease, background .2s ease, color .2s ease; }
.btn-primary{ background:var(--ice-dark); color:#fff; }
.btn-primary:hover{ background:var(--deep); transform:translateY(-1px); }
.btn-ghost{ border-color:var(--ink); color:var(--ink); background:transparent; }
.btn-ghost:hover{ background:var(--ink); color:#fff; }
.btn-block{ width:100%; justify-content:center; }

.topbar{ background:var(--ink); color:#9FC4D2; font-size:13px; }
.topbar .container{ display:flex; justify-content:space-between; align-items:center; min-height:36px; gap:16px; flex-wrap:wrap; padding-top:7px; padding-bottom:7px; }
.topbar a{ color:var(--ice-tint); font-weight:600; }
.topbar-left{ display:flex; gap:20px; flex-wrap:wrap; }

header.site{ position:sticky; top:0; z-index:50; background:rgba(240,246,248,0.94); backdrop-filter:blur(10px); border-bottom:1px solid var(--line); }
.nav{ display:flex; align-items:center; justify-content:space-between; min-height:78px; padding:10px 0; gap:16px; flex-wrap:wrap; }
.logo{ font-family:var(--display); font-weight:700; font-size:22px; color:var(--ink); display:flex; align-items:center; gap:12px; min-width:0; white-space:nowrap; }
@media (max-width:560px){ .logo{ font-size:18px; } }
.logo .mark{ width:44px; height:44px; background:var(--deep); color:#fff; flex:none; display:flex; align-items:center; justify-content:center; border-radius:2px; position:relative; overflow:hidden; }
.logo .mark::after{ content:""; position:absolute; inset:0; background:linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.35) 50%, transparent 60%); }
.logo .mark svg{ width:24px; height:24px; position:relative; z-index:1; }
.logo-text{ display:flex; flex-direction:column; min-width:0; }
.logo-text small{ font-family:var(--body); font-size:9.5px; letter-spacing:0.08em; color:var(--grey-dim); text-transform:uppercase; font-weight:600; margin-top:2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
@media (max-width:560px){ .logo-text small{ display:none; } }
.navlinks{ display:flex; align-items:center; gap:24px; }
.navlinks a{ font-size:14px; font-weight:600; color:var(--grey); padding:6px 0; }
.navlinks a:hover{ color:var(--ink); }
.navlinks a.current{ color:var(--ice-dark); }
.nav-cta{ display:flex; align-items:center; gap:14px; flex:none; }
.nav-phone{ font-family:var(--display); font-weight:600; font-size:16px; color:var(--ink); white-space:nowrap; }
.burger{ display:none; background:var(--paper-2); border:1px solid var(--line-strong); color:var(--ink); width:44px; height:44px; align-items:center; justify-content:center; flex:none; }
@media (max-width:1000px){ .navlinks{ display:none; } .burger{ display:flex; } .nav-phone{ display:none; } }
.mobilemenu{ display:none; flex-direction:column; background:var(--paper); border-bottom:1px solid var(--line); }
.mobilemenu.open{ display:flex; }
.mobilemenu a{ padding:16px 24px; font-size:14px; font-weight:600; border-top:1px solid var(--line); color:var(--ink); }
.mobilemenu .btn{ margin:16px 24px; }

.hero{ position:relative; padding:62px 0 0; overflow:hidden; }
.hero-inner{ position:relative; display:grid; grid-template-columns:1.05fr 0.95fr; gap:50px; align-items:center; padding-bottom:38px; }
.hero-inner > div{ min-width:0; }
@media (max-width:960px){ .hero-inner{ grid-template-columns:1fr; } }
.hero h1{ font-size:clamp(27px, 3.9vw, 42px); line-height:1.16; margin:18px 0 18px; }
.hero h1 em{ font-style:normal; color:var(--ice-dark); }
.lead{ font-size:16px; color:var(--grey); max-width:54ch; margin-bottom:26px; }
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:30px; }
.stats-row{ display:grid; grid-template-columns:repeat(3,1fr); gap:0; border-top:1px solid var(--line-strong); padding-top:18px; }
.stats-row > div{ border-right:1px solid var(--line-strong); padding-right:14px; }
.stats-row > div:last-child{ border-right:none; }
.stats-row b{ font-family:var(--display); font-weight:700; font-size:19px; display:block; color:var(--deep); }
.stats-row span{ font-size:12px; color:var(--grey); }
@media (max-width:560px){ .stats-row{ grid-template-columns:1fr; } .stats-row > div{ border-right:none; border-bottom:1px solid var(--line-strong); padding-bottom:8px; margin-bottom:8px; } }

.ice-card{ position:relative; background:linear-gradient(160deg, var(--deep), var(--ink)); color:#fff; border-radius:14px; padding:32px 30px; overflow:hidden; }
.ice-card::before{ content:""; position:absolute; inset:0; background:linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.08) 42%, transparent 54%, rgba(255,255,255,0.05) 66%, transparent 78%); pointer-events:none; }
.ice-title{ font-family:var(--display); font-size:19px; margin-bottom:6px; position:relative; }
.ice-sub{ font-size:13px; color:#9FC4D2; margin-bottom:20px; position:relative; }
.ice-row{ display:flex; justify-content:space-between; gap:12px; font-size:13.5px; padding:11px 0; border-top:1px solid rgba(255,255,255,0.14); position:relative; }
.ice-row span:last-child{ color:#fff; font-weight:600; text-align:right; }
.ice-row span:first-child{ color:#9FC4D2; }
.ice-foot{ margin-top:18px; padding:12px 16px; background:rgba(31,167,201,0.18); border:1px solid rgba(31,167,201,0.4); border-radius:var(--radius-sm); font-size:13px; text-align:center; position:relative; }

section{ padding:64px 0; }
.section-head{ max-width:64ch; margin-bottom:34px; }
.section-head h2{ font-size:clamp(22px,2.8vw,30px); margin:14px 0 12px; line-height:1.28; }
.section-head p{ color:var(--grey); font-size:15px; }
.tint{ background:var(--paper-2); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.deep{ background:var(--ink); color:#fff; }
.deep h2, .deep h3, .deep h4{ color:#fff; }
.deep p{ color:#9FC4D2; }

.trust-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line-strong); border:1px solid var(--line-strong); }
@media (max-width:960px){ .trust-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .trust-grid{ grid-template-columns:1fr; } }
.trust-item{ background:var(--paper-2); padding:26px 22px; }
.trust-item .n{ font-family:var(--display); font-size:13px; font-weight:700; color:var(--ice-dark); letter-spacing:0.04em; }
.trust-item h4{ font-size:16px; margin:10px 0 8px; }
.trust-item p{ font-size:13.5px; color:var(--grey); }

.svc-tabs{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:28px; }
.svc-tab{ background:var(--paper); border:1px solid var(--line-strong); color:var(--grey); font-family:var(--body); font-weight:600; font-size:13px; padding:10px 18px; border-radius:2px; }
.svc-tab.active{ background:var(--ink); color:#fff; border-color:var(--ink); }
.svc-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line-strong); border:1px solid var(--line-strong); }
@media (max-width:900px){ .svc-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:600px){ .svc-grid{ grid-template-columns:1fr; } }
.svc-card{ background:var(--paper-2); padding:22px 20px; transition:background .15s ease; }
.tint .svc-card{ background:var(--paper); }
.svc-card[hidden]{ display:none; }
.svc-card:hover{ background:var(--ice-tint); }
.svc-card .case{ font-size:10.5px; font-weight:700; letter-spacing:0.1em; text-transform:uppercase; color:var(--deep); }
.svc-card h4{ font-size:14.5px; line-height:1.4; margin:9px 0 8px; font-weight:600; }
.svc-card p{ font-size:13px; color:var(--grey); line-height:1.58; min-height:42px; }
.svc-card .meta{ display:flex; justify-content:space-between; align-items:center; margin-top:14px; padding-top:12px; border-top:1px solid var(--line-strong); font-size:12px; gap:10px; }
.svc-card .meta .price{ font-weight:600; }
.svc-card .meta .fmt{ text-transform:uppercase; letter-spacing:0.06em; font-size:10px; font-weight:700; color:var(--ice-dark); text-align:right; }
.svc-note{ margin-top:24px; padding:16px 20px; background:var(--ice-tint); font-size:13.5px; }

.process{ display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line-strong); border:1px solid var(--line-strong); }
@media (max-width:900px){ .process{ grid-template-columns:repeat(2,1fr);} }
@media (max-width:560px){ .process{ grid-template-columns:1fr;} }
.process-step{ background:var(--paper-2); padding:24px 22px; }
.process-step .num{ font-family:var(--display); font-size:26px; font-weight:700; color:var(--ice-dark); }
.process-step h4{ font-size:14.5px; margin:10px 0 6px; }
.process-step p{ font-size:12.5px; color:var(--grey); }

.clinic-card{ background:var(--paper-2); border:1px solid var(--line-strong); border-radius:var(--radius); padding:28px; display:grid; grid-template-columns:1fr 1fr; gap:28px; }
.clinic-card > *{ min-width:0; }
@media (max-width:700px){ .clinic-card{ grid-template-columns:1fr; } }
.clinic-card .line{ display:flex; gap:10px; font-size:14.5px; margin-bottom:12px; color:var(--ink); }
.clinic-card .line b{ font-size:11px; color:var(--grey-dim); min-width:84px; font-weight:700; text-transform:uppercase; letter-spacing:0.08em; flex:none; padding-top:3px; }
.deep .clinic-card{ background:rgba(255,255,255,0.06); border-color:rgba(255,255,255,0.16); }
.deep .clinic-card .line{ color:#fff; }
.deep .clinic-card .line b{ color:#9FC4D2; }

.contact-form{ background:var(--paper-2); border:1px solid var(--line-strong); padding:30px; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:14px; }
@media (max-width:560px){ .form-row{ grid-template-columns:1fr; } }
.field label{ display:block; font-size:12px; font-weight:600; color:var(--grey); margin-bottom:7px; }
.field input, .field select, .field textarea{ width:100%; background:var(--paper); border:1px solid var(--line-strong); color:var(--ink); padding:12px 14px; border-radius:2px; font-family:var(--body); font-size:14px; }
.field input:focus, .field select:focus, .field textarea:focus{ border-color:var(--ice); outline:none; box-shadow:0 0 0 3px var(--ice-tint); }
.field textarea{ resize:vertical; min-height:96px; }
.consent{ display:flex; gap:9px; align-items:flex-start; font-size:12px; color:var(--grey); margin:16px 0 20px; }
.consent a{ color:var(--ice-dark); text-decoration:underline; }
.consent input{ margin-top:3px; flex:none; }
.form-note{ font-size:11px; color:var(--grey-dim); margin-top:13px; }
.form-success{ display:none; background:var(--ink); color:#fff; padding:15px 16px; font-size:13.5px; margin-top:15px; }
.form-success.show{ display:block; }
.contact-grid{ display:grid; grid-template-columns:0.9fr 1.1fr; gap:48px; align-items:flex-start; }
.contact-grid > *{ min-width:0; }
@media (max-width:860px){ .contact-grid{ grid-template-columns:1fr; } }

.faq{ max-width:800px; }
.faq-item{ border-bottom:1px solid var(--line-strong); }
.faq-q{ width:100%; display:flex; justify-content:space-between; align-items:center; gap:16px; padding:20px 0; background:none; border:none; color:var(--ink); font-family:var(--display); font-weight:600; font-size:15.5px; line-height:1.4; text-align:left; }
.faq-q > span:first-child{ flex:1 1 auto; min-width:0; }
.faq-q .plus{ font-size:24px; color:var(--ice-dark); transition:transform .2s ease; flex:none; font-family:var(--body); font-weight:400; }
.faq-item.open .plus{ transform:rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .25s ease; }
.faq-item.open .faq-a{ max-height:340px; }
.faq-a p{ padding-bottom:20px; font-size:14px; color:var(--grey); max-width:66ch; }

.cta-band{ background:var(--deep); color:#fff; padding:56px 0; }
.cta-inner{ display:flex; justify-content:space-between; align-items:center; gap:22px; flex-wrap:wrap; }
.cta-inner h3{ color:#fff; font-size:clamp(19px,2.5vw,26px); max-width:620px; line-height:1.32; }
.cta-band .btn-primary{ background:var(--ice); color:var(--ink); }
.cta-band .btn-primary:hover{ background:#fff; }

footer.site{ background:var(--ink); color:#7F9BA6; padding:54px 0 0; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:34px; padding-bottom:38px; border-bottom:1px solid rgba(127,155,166,0.22); }
@media (max-width:820px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-grid{ grid-template-columns:1fr; } }
.footer-grid h5{ font-family:var(--display); font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:0.08em; color:var(--ice-tint); margin-bottom:16px; }
.footer-grid li{ margin-bottom:9px; font-size:13.5px; }
.footer-grid a:hover{ color:#fff; }
.footer-about p{ font-size:13px; color:#68838E; max-width:34ch; margin-top:14px; }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding:20px 0; font-size:11.5px; color:#587480; flex-wrap:wrap; gap:10px; }
.footer-bottom a:hover{ color:#fff; }

.cookie-banner{ position:fixed; left:20px; right:20px; bottom:20px; z-index:200; max-width:560px; margin:0 auto; background:#fff; border:1px solid var(--line-strong); padding:18px 20px; box-shadow:0 20px 44px rgba(14,42,56,0.28); display:none; gap:14px; flex-direction:column; }
.cookie-banner.show{ display:flex; }
.cookie-banner p{ font-size:12.5px; color:var(--grey); line-height:1.55; }
.cookie-banner a{ color:var(--ice-dark); text-decoration:underline; }
.cookie-actions{ display:flex; gap:9px; flex-wrap:wrap; }
.cookie-actions .btn{ padding:10px 16px; font-size:13px; }

.pagehead{ padding:44px 0 34px; background:var(--paper-2); border-bottom:1px solid var(--line); }
.crumbs{ font-size:12px; font-weight:600; color:var(--grey); margin-bottom:16px; }
.crumbs a:hover{ color:var(--ice-dark); }
.pagehead h1{ font-size:clamp(24px,3.5vw,36px); line-height:1.25; }
.pagehead p{ margin-top:14px; color:var(--grey); max-width:64ch; font-size:14.5px; }

.legal{ max-width:800px; }
.legal h2{ font-size:18px; margin:32px 0 12px; }
.legal h2:first-child{ margin-top:0; }
.legal p, .legal li{ font-size:14px; color:var(--grey); line-height:1.78; margin-bottom:11px; }
.legal ul, .legal ol{ padding-left:22px; margin-bottom:15px; }
.legal ul li{ list-style:disc; }
.legal ol li{ list-style:decimal; }
.legal .updated{ font-size:12px; color:var(--grey-dim); margin-bottom:30px; font-weight:600; }

.err-wrap{ min-height:62vh; display:flex; align-items:center; padding:60px 0; background:var(--paper-2); }
.err-inner{ text-align:center; margin:0 auto; }
.err-code{ font-family:var(--display); font-weight:800; font-size:clamp(88px,16vw,170px); color:var(--ice-tint); line-height:1; -webkit-text-stroke:2px var(--ink); }
.err-inner h1{ font-size:clamp(22px,3.3vw,29px); margin:12px 0 13px; line-height:1.3; }
.err-inner p{ color:var(--grey); max-width:52ch; margin:0 auto 26px; font-size:14.5px; }
.err-actions{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }

.skip-link{ position:absolute; left:-999px; top:0; background:var(--ink); color:#fff; padding:10px 16px; z-index:999; }
.skip-link:focus{ left:0; top:0; }
.badge-row{ display:flex; gap:18px; flex-wrap:wrap; margin-top:18px; }
.badge-row span{ font-size:12px; font-weight:600; color:var(--grey); position:relative; padding-left:20px; }
.badge-row span::before{ content:"✓"; color:var(--ice-dark); position:absolute; left:0; top:0; font-weight:700; }
