/* ЛМЦ (сайты по городам) - стили. Токены из дизайн-системы ЛМЦ (сайт СПб): зелёный бренд, небесно-голубые панели, Golos Text. */

@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("../fonts/golos-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("../fonts/golos-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("../fonts/golos-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("../fonts/golos-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --green-50: #E9F8F0; --green-100: #C9EFDC; --green-200: #9CE2C0; --green-400: #2BB877;
  --green-500: #11A24E; --green-600: #0C8742; --green-700: #096B35;
  --blue-50: #F3FBFF; --blue-100: #EAF7FD; --blue-200: #D7F2FD; --blue-300: #AEE3F7; --blue-600: #1B86C4;
  --ink-900: #111418; --ink-800: #1C2026; --ink-700: #2C3036; --ink-600: #494F57; --ink-500: #6B7178;
  --ink-400: #9AA0A7; --ink-300: #C7CBD1; --ink-200: #E4E7EB; --ink-100: #F1F3F5; --ink-50: #F8F8F8;
  --white: #FFFFFF; --amber-500: #E8A100; --danger: #E5342B;

  --brand: var(--green-500); --brand-hover: var(--green-600);
  --text: var(--ink-700); --muted: var(--ink-500); --line: var(--ink-200);
  --hero: var(--blue-200);

  --font: "Golos Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --r-md: 12px; --r-lg: 16px; --r-xl: 24px; --r-2xl: 32px; --pill: 999px;
  --shadow-xs: 0 1px 2px rgba(17, 20, 24, .06);
  --shadow-sm: 0 2px 8px rgba(17, 20, 24, .06);
  --shadow-md: 0 6px 20px rgba(17, 20, 24, .08);
  --shadow-lg: 0 16px 44px rgba(17, 20, 24, .12);
  --shadow-brand: 0 8px 22px rgba(17, 162, 78, .26);
  --ring: 0 0 0 3px rgba(43, 166, 221, .45);
  --pad: 32px; --max: 1240px; --gap: 96px;
}
@media (max-width: 860px) { :root { --pad: 22px; --gap: 64px; } }
@media (max-width: 600px) { :root { --pad: 16px; --gap: 52px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.5; color: var(--text);
  background: var(--white) url("../img/pattern-light.svg") 0 0 / 240px repeat;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4 { margin: 0; color: var(--ink-900); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; }
p { margin: 0; }
a { color: var(--blue-600); text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }
::selection { background: var(--green-100); color: var(--ink-900); }
section[id] { scroll-margin-top: 80px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.ico { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- кнопки ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  border-radius: var(--pill); border: 1px solid transparent; font-weight: 700; font-size: 16.5px; cursor: pointer;
  text-decoration: none; white-space: nowrap; transition: background .2s, box-shadow .25s, transform .2s cubic-bezier(.3, 1.4, .5, 1), color .2s, border-color .2s; }
.btn:active { transform: translateY(0) scale(.97); transition-duration: .08s; }
.btn .ico { transition: transform .25s cubic-bezier(.3, 1.4, .5, 1); }
.btn-primary { background: var(--brand); color: var(--white); box-shadow: var(--shadow-brand); }
.btn-primary:hover { background: var(--brand-hover); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(17, 162, 78, .34); }
/* блик, который пробегает по зелёной кнопке */
.btn-primary::after { content: ""; position: absolute; top: 0; bottom: 0; left: -75%; width: 50%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .38), rgba(255, 255, 255, 0)); transform: skewX(-20deg); }
.btn-primary:hover::after { animation: btn-sheen .75s ease-out; }
/* главные «Вызвать врача»: мягкая пульсация и блик раз в несколько секунд */
.btn-pulse { animation: btn-ring 2.8s ease-out infinite; }
.btn-pulse::after { animation: btn-sheen-loop 5s ease-in-out 1.5s infinite; }
.btn-pulse:hover { animation-play-state: paused; }
@keyframes btn-sheen { from { left: -75%; } to { left: 135%; } }
@keyframes btn-sheen-loop { 0% { left: -75%; } 18% { left: 135%; } 100% { left: 135%; } }
@keyframes btn-ring {
  0% { box-shadow: var(--shadow-brand), 0 0 0 0 rgba(17, 162, 78, .45); }
  70% { box-shadow: var(--shadow-brand), 0 0 0 14px rgba(17, 162, 78, 0); }
  100% { box-shadow: var(--shadow-brand), 0 0 0 0 rgba(17, 162, 78, 0); }
}
/* иконки: стрелка сдвигается, трубка покачивается */
.btn:hover .ico { transform: translateX(3px); }
.btn:hover .ico:has(use[href="#i-phone"]), .header-phone:hover .ico { animation: phone-ring .6s ease-in-out; transform: none; }
@keyframes phone-ring { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-14deg); } 40% { transform: rotate(12deg); } 60% { transform: rotate(-8deg); } 80% { transform: rotate(5deg); } }
.btn-ghost { background: var(--white); color: var(--ink-900); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--green-200); color: var(--green-700); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(17, 162, 78, .14); }
.btn-ghost .ico { color: var(--brand); }
.btn-lg { min-height: 58px; padding: 0 30px; font-size: 17.5px; }
.btn-block { width: 100%; }
.btn-phone { font-weight: 800; font-size: 19px; letter-spacing: -.01em; }

/* ---------- шапка ---------- */
.header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.header.scrolled { box-shadow: var(--shadow-sm); }
.header .wrap { display: flex; align-items: center; gap: 24px; height: 74px; }
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; text-decoration: none; }
.logo img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow-xs); }
.logo b { display: block; font-weight: 800; font-size: 15.5px; letter-spacing: -.005em; color: var(--ink-900); text-transform: uppercase; line-height: 1.05; }
.logo small { display: block; font-weight: 600; font-size: 10.5px; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; margin-top: 2px; }
.nav { display: flex; gap: 26px; flex: 1; justify-content: center; }
.nav a { font-size: 15.5px; font-weight: 500; color: var(--ink-700); white-space: nowrap; transition: color .15s; }
.nav a:hover { color: var(--brand); }
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 16.5px; color: var(--ink-900); white-space: nowrap; }
.header-phone .ico { width: 18px; height: 18px; color: var(--brand); stroke-width: 2.2; }
.header-phone span { display: block; font-size: 11.5px; font-weight: 600; color: var(--muted); line-height: 1.1; }
.burger { display: none; width: 46px; height: 46px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--white); color: var(--ink-800);
  align-items: center; justify-content: center; cursor: pointer; }
.drawer { position: fixed; inset: 0; z-index: 80; background: rgba(17, 20, 24, .45); display: none; }
.drawer.open { display: block; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 340px); background: var(--white); padding: 18px 20px;
  display: flex; flex-direction: column; gap: 4px; box-shadow: var(--shadow-lg); }
.drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.drawer-close { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--ink-100); color: var(--ink-600); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.drawer-panel > a:not(.btn) { padding: 14px 6px; font-size: 17px; font-weight: 600; color: var(--ink-800); border-bottom: 1px solid var(--ink-100);
  display: flex; justify-content: space-between; align-items: center; }
.drawer-panel > a:not(.btn) .ico { color: var(--ink-300); width: 18px; height: 18px; }
.drawer-phone { margin-top: 16px; font-size: 21px !important; font-weight: 800 !important; color: var(--ink-900) !important; border: 0 !important; justify-content: flex-start !important; gap: 10px; }
.drawer-phone .ico { color: var(--brand) !important; }
.drawer .btn { margin-top: 10px; }
@media (max-width: 1080px) {
  .nav, .header-actions .btn { display: none; }
  .burger { display: inline-flex; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 600px) {
  .header .wrap { height: 64px; gap: 12px; }
  .header-phone { display: none; }
  .logo img { width: 40px; height: 40px; }
}

/* ---------- общие блоки ---------- */
.block { padding: var(--gap) 0 0; }
.block-tinted { margin-top: var(--gap); padding: var(--gap) 0; background: var(--blue-50) url("../img/pattern-light.svg") 120px 60px / 240px repeat; border-top: 1px solid #E3F1F8; border-bottom: 1px solid #E3F1F8; }
.block-tinted + .block { padding-top: var(--gap); }
.head { margin-bottom: 36px; max-width: 760px; }
.head.center { text-align: center; margin-left: auto; margin-right: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--brand); border-radius: 2px; }
.eyebrow .num { color: var(--ink-400); }
.head h2 { font-size: clamp(28px, 3.6vw, 42px); }
.head p { margin-top: 14px; font-size: 18px; color: var(--muted); line-height: 1.5; }
.sub-h { font-size: clamp(22px, 2.4vw, 26px); margin: 56px 0 22px; }

/* ---------- 01 первый экран ---------- */
.hero { padding-top: 24px; }
.hero-panel { position: relative; overflow: hidden; background: var(--hero) url("../img/pattern-sky.svg") -40px -30px / 240px repeat; border-radius: var(--r-2xl);
  display: grid; grid-template-columns: 1.18fr .82fr; gap: 44px; padding: 52px 52px 52px 56px; }
.hero-panel::before { content: ""; position: absolute; right: -140px; top: -160px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .75), rgba(255, 255, 255, 0) 68%); pointer-events: none; }
.hero-panel::after { content: ""; position: absolute; left: -120px; bottom: -200px; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(17, 162, 78, .12), rgba(17, 162, 78, 0) 70%); pointer-events: none; }
.hero-copy, .hero-media { position: relative; z-index: 1; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: var(--pill); background: var(--white);
  color: var(--brand); font-size: 14px; font-weight: 700; }
.chip .ico { width: 16px; height: 16px; stroke-width: 2.1; }
.hero h1 { margin-top: 20px; font-size: clamp(40px, 5.2vw, 66px); line-height: 1.02; letter-spacing: -.03em; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero-lead { margin-top: 20px; font-size: 19.5px; line-height: 1.5; color: var(--ink-700); max-width: 560px; }
.hero-places { margin-top: 14px; font-size: 15px; line-height: 1.55; color: var(--ink-600); max-width: 560px; }
.hero-places b { color: var(--ink-800); font-weight: 600; }

.hero-form { margin-top: 28px; background: var(--white); border-radius: var(--r-xl); padding: 22px; box-shadow: var(--shadow-md); max-width: 600px; }
.hero-form-title { font-size: 18px; font-weight: 800; color: var(--ink-900); letter-spacing: -.01em; }
.hero-form-sub { font-size: 14.5px; color: var(--muted); margin-top: 3px; }
.hero-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.hero-form .row .btn { grid-column: 1 / -1; min-height: 54px; }
.field input { width: 100%; height: 54px; border: 1px solid var(--ink-300); border-radius: var(--r-lg); padding: 0 16px; font: inherit; font-size: 16.5px;
  color: var(--ink-900); background: var(--white); transition: border-color .15s, box-shadow .15s; }
.field input::placeholder { color: var(--ink-400); }
.field input:focus { outline: none; border-color: var(--blue-600); box-shadow: var(--ring); }
.field.err input { border-color: var(--danger); }
.consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; font-size: 13.5px; line-height: 1.45; color: var(--ink-600); cursor: pointer; }
.consent input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border: 1.5px solid var(--ink-300); border-radius: 6px; background: var(--white);
  flex-shrink: 0; margin: 0; cursor: pointer; display: grid; place-content: center; transition: background .15s, border-color .15s; }
.consent input::after { content: ""; width: 11px; height: 6px; border-left: 2.4px solid var(--white); border-bottom: 2.4px solid var(--white); transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.consent input:checked { background: var(--brand); border-color: var(--brand); }
.consent input:checked::after { opacity: 1; }
.consent.err input { border-color: var(--danger); }
.consent + .consent { margin-top: 8px; }
.consent a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 2px; }
.form-note { margin-top: 8px; font-size: 12.5px; color: var(--ink-500); }
.form-note a { color: var(--ink-500); text-decoration: underline; text-underline-offset: 2px; }
.form-msg { display: none; margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--danger); }
.form-msg.show { display: block; }

.hero-cta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.trust { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 26px; }
.trust div { display: flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 600; color: var(--ink-700); }
.trust i { display: inline-flex; width: 32px; height: 32px; border-radius: 50%; background: var(--white); color: var(--brand); align-items: center; justify-content: center; }
.trust .ico { width: 17px; height: 17px; stroke-width: 2.1; }

.hero-media { display: flex; flex-direction: column; }
.hero-photo { position: relative; margin: 0; flex: 1; min-height: 460px; border-radius: var(--r-xl); overflow: hidden; background: var(--blue-100); box-shadow: var(--shadow-md); }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.hero-photo figcaption { position: absolute; left: 14px; bottom: 14px; right: 14px; display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .94); border-radius: var(--r-lg); padding: 12px 14px; box-shadow: var(--shadow-sm); }
.hero-photo figcaption i { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; background: var(--green-50); color: var(--brand); align-items: center; justify-content: center; flex-shrink: 0; }
.hero-photo figcaption b { display: block; font-size: 15px; color: var(--ink-900); }
.hero-photo figcaption span { display: block; font-size: 13px; color: var(--muted); line-height: 1.35; }
.rating-card { display: flex; align-items: center; gap: 14px; margin-top: 14px; background: var(--white); border-radius: var(--r-lg); padding: 14px 16px; box-shadow: var(--shadow-xs); color: inherit; }
.rating-card:hover { box-shadow: var(--shadow-sm); }
.rating-big { font-size: 34px; font-weight: 800; letter-spacing: -.03em; color: var(--ink-900); line-height: 1; }
.stars { display: flex; gap: 2px; color: var(--brand); }
.stars .ico { width: 15px; height: 15px; fill: currentColor; stroke-width: 1.5; }
.rating-card small { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; }
.ya { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: #FC3F1D; color: #fff;
  font: 800 15px/1 Arial, sans-serif; flex-shrink: 0; margin-left: auto; }

@media (max-width: 1080px) {
  .hero-panel { grid-template-columns: minmax(0, 1fr); padding: 40px 32px; gap: 28px; }
  .hero-photo { min-height: 0; aspect-ratio: 16 / 10; }
  .hero-media { max-width: 640px; }
}
@media (max-width: 700px) {
  .hero { padding-top: 14px; }
  .hero-panel { padding: 28px 18px 22px; border-radius: var(--r-xl); }
  .hero h1 { margin-top: 16px; font-size: min(40px, 10.2vw); }
  .hero-lead { font-size: 17px; }
  .hero-form { padding: 18px 16px; }
  .hero-form .row { grid-template-columns: 1fr; }
  .hero-photo { aspect-ratio: 4 / 3.4; }
  .trust { gap: 10px 16px; }
  .trust div { font-size: 13.5px; }
}

/* ---------- 02 услуги ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-xs); transition: box-shadow .2s, transform .2s, border-color .2s; }
.svc:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--green-100); }
.svc-img { aspect-ratio: 4 / 3; background: var(--blue-100); overflow: hidden; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.svc:hover .svc-img img { transform: scale(1.03); }
.svc-body { padding: 22px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.svc h3 { font-size: 21px; letter-spacing: -.015em; }
.svc p { margin-top: 9px; font-size: 15.5px; color: var(--muted); line-height: 1.5; }
.svc ul { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.svc li { display: flex; gap: 9px; font-size: 14.5px; color: var(--ink-700); }
.svc li .ico { width: 17px; height: 17px; color: var(--brand); stroke-width: 2.4; margin-top: 2px; }
.svc-foot { margin-top: auto; padding-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font-size: 22px; font-weight: 800; color: var(--brand); letter-spacing: -.02em; white-space: nowrap; }
.price small { font-size: 14px; font-weight: 600; color: var(--green-700); letter-spacing: 0; }
.pr { color: var(--green-600); font-weight: 700; white-space: nowrap; }
.svc .btn { min-height: 46px; padding: 0 20px; font-size: 15.5px; }

.transfer { margin-top: 28px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px;
  background: var(--green-50); border: 1px solid var(--green-200); border-radius: var(--r-xl); padding: 24px 28px; }
.transfer > i { display: inline-flex; width: 60px; height: 60px; border-radius: 50%; background: var(--white); color: var(--brand); align-items: center; justify-content: center; }
.transfer > i .ico { width: 28px; height: 28px; }
.transfer h3 { font-size: 21px; }
.transfer p { margin-top: 5px; font-size: 15.5px; color: var(--ink-600); }

.promos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.promo { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.promo-off { align-self: flex-start; display: inline-flex; padding: 6px 14px; border-radius: var(--pill); background: var(--blue-200); color: #0D4C73; font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.promo h4 { font-size: 18.5px; line-height: 1.25; letter-spacing: -.01em; }
.promo p { font-size: 14.5px; color: var(--muted); margin-top: -8px; }
.note { margin-top: 16px; display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; color: var(--muted); }
.note .ico { width: 16px; height: 16px; color: var(--ink-400); margin-top: 2px; }

@media (max-width: 1080px) { .services { grid-template-columns: repeat(2, 1fr); } .promos { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 860px) {
  .promos { grid-template-columns: 1fr; }
  .transfer { grid-template-columns: auto 1fr; padding: 22px; }
  .transfer .btn { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .services { grid-template-columns: 1fr; }
  .transfer { grid-template-columns: 1fr; gap: 14px; }
}

/* ---------- 03 клиника ---------- */
.clinic-top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 36px; }
.clinic-top .head { margin-bottom: 0; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.fact { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 18px; display: flex; gap: 14px; align-items: flex-start; }
.fact i { display: inline-flex; width: 42px; height: 42px; border-radius: 12px; background: var(--green-50); color: var(--brand); align-items: center; justify-content: center; flex-shrink: 0; }
.fact b { display: block; font-size: 16px; color: var(--ink-900); }
.fact span { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; line-height: 1.4; }

.gallery { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 14px; }
.gallery button { position: relative; border: 0; padding: 0; border-radius: var(--r-xl); overflow: hidden; cursor: zoom-in; background: var(--blue-100); }
.gallery button:first-child { grid-row: span 2; }
.gallery button:nth-child(n+6) { display: none; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery button:hover img { transform: scale(1.04); }
.gallery span { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: var(--pill); background: rgba(255, 255, 255, .92); font-size: 13px; font-weight: 600; color: var(--ink-800); }

.gallery-more { margin-top: 18px; display: flex; justify-content: center; }
.stats { margin-top: 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--hero) url("../img/pattern-sky.svg") 0 0 / 240px repeat; border-radius: var(--r-2xl); padding: 34px 12px; }
.stat { padding: 0 26px; border-left: 1px solid rgba(17, 20, 24, .08); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-size: clamp(34px, 4vw, 48px); font-weight: 800; letter-spacing: -.035em; color: var(--ink-900); line-height: 1; }
.stat span { display: block; margin-top: 10px; font-size: 15px; color: var(--ink-700); line-height: 1.35; }

.awards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.award { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: 16px; text-align: left; cursor: zoom-in; font: inherit; color: inherit; transition: box-shadow .2s, border-color .2s; }
.award:hover { box-shadow: var(--shadow-md); border-color: var(--green-100); }
.award-img { width: 96px; height: 124px; border-radius: 10px; background: var(--ink-50); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.award-img img { width: 100%; height: 100%; object-fit: contain; }
.award b { display: block; font-size: 17px; color: var(--ink-900); line-height: 1.25; }
.award span { display: block; font-size: 14px; color: var(--muted); margin-top: 6px; line-height: 1.45; }
.license { margin-top: 18px; display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--ink-700); }
.license i { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: var(--green-50); color: var(--brand); align-items: center; justify-content: center; }
.license .ico { width: 18px; height: 18px; }

@media (max-width: 1080px) {
  .clinic-top { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .awards { grid-template-columns: 1fr; }
  .award { grid-template-columns: 80px 1fr; }
  .award-img { width: 80px; height: 104px; }
}
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 150px 150px; }
  .gallery button:first-child { grid-column: span 2; grid-row: auto; }
  .gallery button:nth-child(n+6) { display: none; }
  .stats { grid-template-columns: 1fr 1fr; gap: 26px 0; padding: 26px 4px; }
  .stat { padding: 0 18px; }
  .stat:nth-child(3) { border-left: 0; }
  .facts { grid-template-columns: 1fr; }
}

/* ---------- 04 врачи и отзывы ---------- */
.lead-card { display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: center; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-2xl); padding: 28px 44px 28px 28px; box-shadow: var(--shadow-xs); }
.lead-photo { aspect-ratio: 1; border-radius: var(--r-xl); overflow: hidden; background: var(--ink-100); }
.lead-photo img { width: 100%; height: 100%; object-fit: cover; }
.lead-card .ico.q { width: 34px; height: 34px; color: var(--green-200); stroke-width: 1.6; }
.lead-card blockquote { margin: 10px 0 0; font-size: clamp(19px, 2vw, 23px); line-height: 1.5; color: var(--ink-800); font-weight: 500; letter-spacing: -.01em; }
.lead-card cite { display: block; margin-top: 20px; font-style: normal; }
.lead-card cite b { display: block; font-size: 17px; color: var(--ink-900); }
.lead-card cite span { display: block; font-size: 14.5px; color: var(--muted); margin-top: 2px; }

.doctors { margin-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.doc { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 20px; display: flex; align-items: center; gap: 18px; }
.doc img { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; background: var(--ink-100); flex-shrink: 0; }
.doc b { display: block; font-size: 18px; color: var(--ink-900); }
.doc span { display: block; font-size: 14.5px; color: var(--muted); margin-top: 4px; line-height: 1.4; }
.doctors-note { margin-top: 14px; font-size: 15px; color: var(--ink-600); display: flex; align-items: center; gap: 10px; }
.doctors-note .ico { color: var(--brand); width: 19px; height: 19px; }

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 24px; color: inherit;
  transition: box-shadow .2s, transform .2s, border-color .2s; }
.review:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--blue-300); }
.review-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.review-top time { font-size: 13px; color: var(--muted); white-space: nowrap; }
.review p { margin-top: 14px; font-size: 15.5px; line-height: 1.6; color: var(--text); flex: 1; }
.review-by { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--ink-100); }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--blue-200); color: #0D4C73; font-weight: 800; font-size: 16px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.review-by b { display: block; font-size: 15.5px; color: var(--ink-900); }
.review-by small { display: block; font-size: 13px; color: var(--muted); }
.reviews-more { margin-top: 24px; display: flex; justify-content: center; }

@media (max-width: 1080px) {
  .lead-card { grid-template-columns: 220px 1fr; gap: 28px; padding: 24px; }
  .doctors, .reviews { grid-template-columns: 1fr 1fr; }
  .reviews .review:nth-child(3) { display: none; }
}
@media (max-width: 700px) {
  .lead-card { grid-template-columns: 1fr; }
  .lead-photo { max-width: 260px; }
  .doctors, .reviews { grid-template-columns: 1fr; }
  .reviews .review:nth-child(3) { display: flex; }
}

/* ---------- 05 как обратиться ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 24px 22px; overflow: hidden; }
.step::after { counter-increment: s; content: "0" counter(s); position: absolute; top: 14px; right: 18px; font-size: 46px; font-weight: 800; color: var(--blue-200); letter-spacing: -.04em; line-height: 1; }
.step i { display: inline-flex; width: 48px; height: 48px; border-radius: 14px; background: var(--green-50); color: var(--brand); align-items: center; justify-content: center; margin-bottom: 18px; }
.step h3 { font-size: 19px; }
.step p { margin-top: 8px; font-size: 15px; color: var(--muted); line-height: 1.5; }

.contact-grid { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.faq h3 { font-size: clamp(22px, 2.4vw, 26px); margin-bottom: 16px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); margin-bottom: 10px; transition: background .2s; }
.faq details[open] { background: var(--ink-50); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; font-size: 17px; font-weight: 700; color: var(--ink-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--green-50); color: var(--brand); display: flex; align-items: center; justify-content: center; transition: transform .25s, background .2s, color .2s; }
.faq details[open] summary i { transform: rotate(180deg); background: var(--brand); color: var(--white); }
.faq summary .ico { width: 18px; height: 18px; stroke-width: 2.3; }
.faq details p { padding: 0 20px 20px; font-size: 15.5px; line-height: 1.6; color: var(--text); }

.contact-card { position: relative; overflow: hidden; background: var(--hero) url("../img/pattern-sky.svg") 0 0 / 240px repeat; border-radius: var(--r-2xl); padding: 34px; }
.contact-card h3 { font-size: clamp(24px, 2.6vw, 30px); }
.contact-card > p { margin-top: 8px; font-size: 16px; color: var(--ink-700); }
.big-phone { display: inline-flex; align-items: center; gap: 12px; margin-top: 20px; font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -.02em; color: var(--ink-900); }
.big-phone .ico { width: 28px; height: 28px; color: var(--brand); stroke-width: 2.2; }
.messengers { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.msg { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: var(--pill); background: var(--white); color: var(--ink-800); font-weight: 600; font-size: 15px; box-shadow: var(--shadow-xs);
  transition: transform .2s cubic-bezier(.3, 1.4, .5, 1), box-shadow .2s; }
.msg:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.msg .ico { transition: transform .25s; }
.msg:hover .ico { transform: rotate(-12deg) scale(1.1); }
.msg .ico { width: 18px; height: 18px; }
.msg.wa .ico { color: #1FAF54; }
.msg.tg .ico { color: #229ED9; }
.contact-form { margin-top: 24px; background: var(--white); border-radius: var(--r-xl); padding: 22px; box-shadow: var(--shadow-md); }
.contact-form .field + .field { margin-top: 10px; }
.contact-form .btn { margin-top: 14px; }
.contact-lines { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--ink-700); }
.contact-lines div { display: flex; gap: 10px; align-items: flex-start; }
.contact-lines .ico { width: 18px; height: 18px; color: var(--brand); margin-top: 2px; }

@media (max-width: 1080px) { .steps { grid-template-columns: 1fr 1fr; } .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } .contact-card { padding: 24px 18px; } }

/* ---------- подвал ---------- */
.footer { margin-top: var(--gap); background: var(--ink-900) url("../img/pattern-dark.svg") 0 0 / 240px repeat; color: var(--ink-300); padding: 56px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.1fr; gap: 40px; }
.footer .logo b { color: var(--white); }
.footer .logo small { color: var(--ink-400); }
.footer p { font-size: 14.5px; line-height: 1.6; }
.footer h4 { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-400); margin-bottom: 14px; }
.footer a { color: var(--ink-300); }
.footer a:hover { color: var(--white); }
.footer-phone { display: inline-flex; align-items: center; gap: 9px; font-size: 22px; font-weight: 800; color: var(--white) !important; }
.footer-phone .ico { width: 19px; height: 19px; color: var(--green-400); stroke-width: 2.2; }
.footer-list { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.footer-list div, .footer-list a { display: flex; gap: 10px; align-items: flex-start; }
.footer-list .ico { width: 16px; height: 16px; color: var(--ink-400); margin-top: 3px; }
.warn { margin-top: 36px; display: flex; gap: 12px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .06); }
.warn .ico { color: var(--amber-500); width: 20px; height: 20px; margin-top: 1px; }
.warn p { font-size: 14px; color: var(--ink-300); }
.warn strong { color: var(--white); font-weight: 700; }
.legal { margin-top: 24px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); display: grid; grid-template-columns: 1fr auto; gap: 12px 24px; font-size: 13px; color: var(--ink-400); }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.legal-links a, .legal-links button { color: var(--ink-400); text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; font-size: 13px; cursor: pointer; }
.legal-links a:hover, .legal-links button:hover { color: var(--white); }
.requisites { grid-column: 1 / -1; line-height: 1.6; }
.todo { background: rgba(232, 161, 0, .18); color: #F5C451; padding: 0 4px; border-radius: 4px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } .legal { grid-template-columns: 1fr; } .footer { padding-bottom: 110px; } }

/* ---------- модальное окно ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(17, 20, 24, .5); }
.modal.open { display: flex; }
.modal-box { position: relative; width: min(100%, 440px); background: var(--white); border-radius: var(--r-2xl); padding: 30px 28px 26px; box-shadow: var(--shadow-lg); max-height: calc(100vh - 32px); overflow: auto; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--ink-100); color: var(--ink-600); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.modal-box h3 { font-size: 23px; padding-right: 40px; }
.modal-box > p { margin-top: 6px; font-size: 15px; color: var(--muted); }
.modal-service { display: none; margin-top: 14px; padding: 10px 14px; border-radius: var(--r-md); background: var(--green-50); color: var(--green-700); font-size: 14.5px; font-weight: 600; }
.modal-service.show { display: block; }
.modal-box form { margin-top: 18px; }
.modal-box .field + .field { margin-top: 10px; }
.modal-box .btn { margin-top: 14px; }

/* ---------- лайтбокс ---------- */
.lightbox { position: fixed; inset: 0; z-index: 95; display: none; align-items: center; justify-content: center; background: rgba(10, 12, 15, .9); padding: 56px 70px; }
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); border-radius: var(--r-lg); background: var(--white); object-fit: contain; }
.lightbox figcaption { color: var(--ink-200); font-size: 15px; }
.lb-btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: var(--white); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lb-btn:hover { background: rgba(255, 255, 255, .22); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lightbox { padding: 64px 10px; } .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; } }

/* ---------- мобильная панель и мессенджеры ---------- */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: none; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(17, 20, 24, .06); }
.mbar .btn { flex: 1; min-height: 50px; padding: 0 12px; font-size: 16px; }
@media (max-width: 860px) { .mbar { display: flex; } }

.fab { position: fixed; right: 20px; bottom: 24px; z-index: 56; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.fab-toggle { width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--brand); color: var(--white); box-shadow: var(--shadow-brand); cursor: pointer; display: flex; align-items: center; justify-content: center;
  animation: btn-ring 2.8s ease-out 1s infinite; transition: transform .2s cubic-bezier(.3, 1.4, .5, 1), background .2s; }
.fab-toggle:hover { transform: scale(1.08); background: var(--brand-hover); animation-play-state: paused; }
.fab.open .fab-toggle { animation: none; }
.fab-toggle .ico { width: 26px; height: 26px; }
.fab-list { display: none; flex-direction: column; gap: 8px; align-items: flex-end; }
.fab.open .fab-list { display: flex; }
.fab-list a { display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: var(--pill); background: var(--white); color: var(--ink-800); font-weight: 600; font-size: 15px; box-shadow: var(--shadow-md); }
.fab-list small { display: block; font-size: 12px; color: var(--muted); font-weight: 500; }
@media (max-width: 860px) { .fab { bottom: 84px; right: 14px; } .fab-toggle { width: 52px; height: 52px; } }

/* ---------- cookie ---------- */
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 70; max-width: 460px; display: none; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: 20px; box-shadow: var(--shadow-lg); }
.cookie.show { display: block; }
.cookie p { font-size: 14px; line-height: 1.5; color: var(--ink-700); }
.cookie a { text-decoration: underline; text-underline-offset: 2px; }
.cookie-btns { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.cookie .btn { min-height: 44px; padding: 0 18px; font-size: 14.5px; box-shadow: none; }
@media (max-width: 860px) { .cookie { left: 10px; right: 10px; bottom: 80px; max-width: none; } }

/* ---------- появление ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s cubic-bezier(.4, 0, .2, 1), transform .6s cubic-bezier(.4, 0, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-pulse, .btn-pulse::after, .btn-primary:hover::after, .fab-toggle, .btn:hover .ico { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}

/* ---------- страницы документов и «Спасибо» ---------- */
.doc-page { padding: 48px 0 0; }
.doc-page .wrap { max-width: 860px; }
.doc-page h1 { font-size: clamp(28px, 3.4vw, 38px); }
.doc-page .updated { margin-top: 10px; font-size: 14px; color: var(--muted); }
.doc-page h2 { font-size: 21px; margin: 34px 0 12px; }
.doc-page p, .doc-page li { font-size: 16px; line-height: 1.65; color: var(--text); }
.doc-page p + p { margin-top: 10px; }
.doc-page ul { padding-left: 22px; margin: 10px 0; }
.doc-page li + li { margin-top: 6px; }
.doc-page .todo { background: #FCF3DC; color: #7A5300; }
.doc-back { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 22px; }
.doc-back .ico { width: 18px; height: 18px; transform: rotate(180deg); }
.thanks { padding: 32px 0 0; }
.thanks .wrap { max-width: 1000px; }
.thanks-card { position: relative; overflow: hidden; text-align: center; background: var(--hero) url("../img/pattern-sky.svg") 0 0 / 240px repeat;
  border-radius: var(--r-2xl); padding: 56px 32px 44px; }
.thanks-card::before { content: ""; position: absolute; left: 50%; top: -220px; width: 640px; height: 520px; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 66%); pointer-events: none; }
.thanks-card > * { position: relative; }
.thanks-card > i { display: inline-flex; width: 76px; height: 76px; border-radius: 50%; background: var(--brand); color: var(--white); align-items: center; justify-content: center; box-shadow: var(--shadow-brand); }
.thanks-card > i .ico { width: 36px; height: 36px; stroke-width: 2.6; }
.thanks-card h1 { margin-top: 22px; font-size: clamp(30px, 4.2vw, 46px); letter-spacing: -.03em; }
.thanks-card p { margin: 14px auto 0; max-width: 560px; font-size: 19px; line-height: 1.5; color: var(--ink-700); }
.thanks-card .thanks-small { margin-top: 8px; font-size: 15px; color: var(--ink-600); }
.thanks-card .hero-cta { justify-content: center; margin-top: 28px; }
.thanks-msg { justify-content: center; margin-top: 14px; }
.thanks-h { margin: 56px 0 20px; font-size: clamp(24px, 2.8vw, 30px); text-align: center; }
.thanks-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.thanks-steps .step::after { content: none; }
.thanks-alert { margin-top: 22px; display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-lg);
  background: #FCF3DC; color: #5C4200; font-size: 15px; line-height: 1.5; }
.thanks-alert .ico { color: var(--amber-500); width: 20px; height: 20px; margin-top: 1px; }
.thanks-alert a { color: #5C4200; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 760px) {
  .thanks-card { padding: 40px 18px 32px; }
  .thanks-card p { font-size: 17px; }
  .thanks-steps { grid-template-columns: 1fr; }
}

/* страницы документов: длинный текст без узора */
body.plain { background: var(--white); }

/* ---------- статьи и блок «Полезно» (28.10.2026) ---------- */
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.crumbs a { color: var(--brand); font-weight: 600; }
.crumbs .ico { width: 14px; height: 14px; color: var(--ink-300); }
.art h1 { font-size: clamp(28px, 3.6vw, 40px); }
.art .updated + p { margin-top: 22px; font-size: 18.5px; line-height: 1.6; color: var(--ink-800); }
.doc-page.art h2 { font-size: 24px; margin: 42px 0 14px; }
.art h3 { font-size: 18px; margin: 24px 0 10px; }
.doc-page ol { padding-left: 22px; margin: 10px 0; }
.doc-page .art-checked { display: inline-block; margin-top: 16px; padding: 8px 14px; border-radius: var(--r-md); background: var(--ink-50); font-size: 14.5px; color: var(--muted); }
.art-table { margin: 16px 0 10px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); }
.art-table table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.art-table th, .art-table td { padding: 12px 16px; text-align: left; vertical-align: top; line-height: 1.5; border-bottom: 1px solid var(--line); }
.art-table th { background: var(--ink-50); color: var(--ink-900); font-weight: 700; }
.art-table tr:last-child td { border-bottom: 0; }
.art-table td:first-child { color: var(--ink-900); font-weight: 600; }
.art-cta { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 28px;
  background: var(--green-50); border: 1px solid var(--green-200); border-radius: var(--r-xl); padding: 26px 28px; }
.doc-page .art-cta h2 { margin: 0; font-size: 22px; }
.doc-page .art-cta p { margin-top: 6px; font-size: 15.5px; color: var(--ink-600); }
.art-cta-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.doc-page.art .art-more-h { margin-top: 52px; }
.useful { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; }
.useful-main { display: flex; flex-direction: column; align-items: flex-start; background: var(--green-50); border: 1px solid var(--green-200);
  border-radius: var(--r-xl); padding: 30px; color: inherit; transition: box-shadow .2s, transform .2s; }
.useful-main:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.useful-main .chip { color: var(--green-700); font-size: 14px; font-weight: 700; }
.useful-main h3 { margin-top: 18px; font-size: 25px; }
.useful-main p { margin-top: 10px; font-size: 16px; line-height: 1.55; color: var(--ink-600); }
.useful-more { margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--green-700); }
.useful-more .ico { width: 18px; height: 18px; }
.useful-list { display: flex; flex-direction: column; gap: 10px; }
.useful-item { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 14px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 16px 18px; color: inherit; transition: border-color .15s, box-shadow .15s; }
.useful-item:hover { border-color: var(--green-200); box-shadow: var(--shadow-sm); }
.useful-item small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.useful-item b { display: block; margin-top: 3px; font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--ink-900); }
.useful-item .ico { width: 18px; height: 18px; color: var(--brand); flex-shrink: 0; }
.art .useful-list { margin-top: 4px; }
@media (max-width: 860px) {
  .useful { grid-template-columns: 1fr; }
  .useful-main { padding: 22px; }
  .useful-main h3 { font-size: 21px; }
  .art-cta { padding: 22px 18px; }
  .art-table table { font-size: 14.5px; }
  .art-table th, .art-table td { padding: 10px 12px; }
}
@media (max-width: 600px) {
  .art-table table { font-size: 14px; }
  .art-table th, .art-table td { padding: 9px 10px; }
  /* таблица из 3 и более колонок на телефоне: строка карточкой, подписи колонок перед значениями */
  .art-table.stack thead { display: none; }
  .art-table.stack tr { display: block; padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .art-table.stack tr:last-child { border-bottom: 0; }
  .art-table.stack td { display: block; padding: 2px 0; border: 0; }
  .art-table.stack td:first-child { padding-bottom: 6px; font-size: 15px; }
  .art-table.stack td[data-label]::before { content: attr(data-label) ": "; font-weight: 700; color: var(--ink-800); }
}
