/* ============================================================
   CardioKids — дизайн-система
   Педиатрическая кардиохирургия · Ташкент
   ============================================================ */

:root {
  --navy-900: #071E33;
  --navy-800: #0A2540;
  --navy-700: #10365C;
  --blue-600: #1257A6;
  --blue-500: #1B6FD1;
  --blue-100: #E3EEFB;
  --teal-500: #0FA3A3;
  --teal-100: #DDF3F1;
  --gold-500: #F2A93B;
  --red-500: #E4572E;
  --ink: #17293D;
  --muted: #5A6E84;
  --bg: #F5F9FC;
  --card: #FFFFFF;
  --line: #DCE6F0;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(10, 37, 64, .06);
  --shadow-md: 0 10px 30px rgba(10, 37, 64, .10);
  --shadow-lg: 0 24px 60px rgba(10, 37, 64, .16);
  --font: "Manrope", "Segoe UI", -apple-system, Roboto, sans-serif;
  --header-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--blue-500); text-decoration: none; }
a:hover { color: var(--blue-600); }

.container { width: min(1180px, 92%); margin: 0 auto; }
.section { padding: 72px 0; }

/* ---------- Типографика ---------- */
h1, h2, h3 { line-height: 1.2; color: var(--navy-800); font-weight: 800; letter-spacing: -.01em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal-500); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--teal-500); border-radius: 2px; }

.section-title { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 12px; }
.section-subtitle { color: var(--muted); font-size: 17px; max-width: 640px; }
.section-head { margin-bottom: 40px; }
.section-head.center { text-align: center; }
.section-head.center .section-subtitle { margin: 0 auto; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  color: #fff; font-weight: 700; font-size: 16px; border: none; cursor: pointer;
  box-shadow: 0 8px 22px rgba(27, 111, 209, .35);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(27, 111, 209, .45); color: #fff; }
.btn:active { transform: translateY(0); }
.btn-outline {
  background: transparent; color: var(--navy-800);
  border: 2px solid var(--line); box-shadow: none;
}
.btn-outline:hover { border-color: var(--blue-500); color: var(--blue-500); box-shadow: none; }
.btn-white { background: #fff; color: var(--navy-800); box-shadow: 0 8px 22px rgba(0,0,0,.2); }
.btn-white:hover { color: var(--blue-600); }
.btn-large { padding: 18px 38px; font-size: 17px; }
button.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 32px; border-radius: 999px; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  color: #fff; font-weight: 700; font-size: 16px; font-family: var(--font);
  box-shadow: 0 8px 22px rgba(27, 111, 209, .35);
  transition: transform .2s ease, box-shadow .2s ease;
}
button.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(27, 111, 209, .45); }
.center-btn { text-align: center; padding: 8px 0 56px; }

/* ---------- Шапка ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 44px; height: 44px; object-fit: contain; }
.brand-text { font-size: 22px; font-weight: 800; color: var(--navy-800); letter-spacing: -.02em; }
.brand-text em { font-style: normal; color: var(--blue-500); }

.main-nav { display: flex; gap: 26px; }
.main-nav a { color: var(--ink); font-weight: 600; font-size: 15px; position: relative; padding: 6px 0; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--teal-500); border-radius: 2px; transition: width .25s ease;
}
.main-nav a:hover { color: var(--navy-800); }
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 15px; color: var(--navy-800); white-space: nowrap;
}
.header-phone svg { flex: none; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px; border: 1.5px solid var(--line);
  font-weight: 700; font-size: 13px; color: var(--navy-800); background: #fff;
  transition: border-color .2s;
}
.lang-switch:hover { border-color: var(--blue-500); color: var(--blue-500); }
.lang-switch img { width: 20px; height: 14px; object-fit: cover; border-radius: 3px; }

.burger { display: none; background: none; border: none; cursor: pointer; width: 42px; height: 42px; position: relative; z-index: 110; }
.burger span, .burger span::before, .burger span::after {
  content: ""; position: absolute; left: 8px; width: 26px; height: 2.5px;
  background: var(--navy-800); border-radius: 3px; transition: all .3s ease;
}
.burger span { top: 50%; }
.burger span::before { top: -8px; }
.burger span::after { top: 8px; }
.burger.open span { background: transparent; }
.burger.open span::before { top: 0; transform: rotate(45deg); }
.burger.open span::after { top: 0; transform: rotate(-45deg); }

.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  background: #fff; border-top: 1px solid var(--line);
  padding: 16px 4% 24px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 12px 8px; font-weight: 700; color: var(--navy-800); border-bottom: 1px solid var(--bg); }

/* ---------- Хиро ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 56px) 0 0;
  background:
    radial-gradient(900px 480px at 88% -10%, rgba(15, 163, 163, .14), transparent 60%),
    radial-gradient(700px 420px at -10% 20%, rgba(27, 111, 209, .12), transparent 60%),
    linear-gradient(180deg, #EAF2FA 0%, var(--bg) 100%);
  overflow: hidden;
}
.hero-shell {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
  padding-bottom: 72px;
}
.hero-title { font-size: clamp(30px, 4.2vw, 50px); margin-bottom: 20px; }
.hero-title .accent { color: var(--blue-500); }
.hero-desc { font-size: 18px; color: var(--muted); max-width: 540px; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 34px; }
.hero-trust-item { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--navy-700); }
.hero-trust-item svg { flex: none; }

.hero-media { position: relative; }
.hero-carousel {
  position: relative; border-radius: 28px; overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.6; background: var(--navy-800);
}
.carousel-track { display: flex; height: 100%; transition: transform .55s cubic-bezier(.22,.61,.36,1); }
.carousel-slide { min-width: 100%; height: 100%; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-controls { position: absolute; right: 18px; bottom: 18px; display: flex; gap: 8px; z-index: 3; }
.chip {
  width: 42px; height: 42px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.92); color: var(--navy-800); font-size: 20px; font-weight: 700;
  display: grid; place-items: center; transition: background .2s, transform .2s;
  box-shadow: var(--shadow-sm);
}
.chip:hover { background: #fff; transform: scale(1.06); }
.hero-badge {
  position: absolute; left: -18px; bottom: 34px; z-index: 3;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-md);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px; max-width: 250px;
}
.hero-badge-num { font-size: 24px; font-weight: 800; color: var(--teal-500); line-height: 1; }
.hero-badge-text { font-size: 12.5px; font-weight: 600; color: var(--muted); line-height: 1.35; }

/* ---------- Кардиограмма-разделитель ---------- */
.ecg-divider { display: block; width: 100%; height: 46px; color: var(--teal-500); opacity: .5; }

/* ---------- Статистика ---------- */
.stats-strip { background: var(--navy-800); padding: 44px 0; position: relative; overflow: hidden; }
.stats-strip::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 200px at 80% 0%, rgba(15,163,163,.25), transparent 65%);
}
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 28px; position: relative; }
.stat { text-align: center; }
.stat-num { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; color: #fff; line-height: 1.1; }
.stat-num span { color: var(--teal-500); }
.stat-label { color: rgba(255,255,255,.72); font-size: 14px; margin-top: 6px; }

/* ---------- Карточки ---------- */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card { padding: 26px; transition: transform .25s ease, box-shadow .25s ease; }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.why-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--blue-100); color: var(--blue-500); margin-bottom: 16px;
}
.why-card h3 { font-size: 18px; margin-bottom: 8px; }
.why-card p { color: var(--muted); font-size: 15px; }
.text-link { font-weight: 700; }
.why-card.featured { background: linear-gradient(150deg, var(--navy-800), var(--navy-700)); border: none; }
.why-card.featured h3, .why-card.featured p { color: #fff; }
.why-card.featured p { color: rgba(255,255,255,.8); }
.why-card.featured .why-icon { background: rgba(255,255,255,.14); color: var(--teal-500); }
.why-card.featured .text-link { color: #7FD8D3; }

/* ---------- Врачи ---------- */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.team-card { overflow: hidden; display: grid; grid-template-columns: 220px 1fr; transition: transform .25s ease, box-shadow .25s ease; }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-photo { position: relative; min-height: 260px; }
.team-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.team-body { padding: 28px; }
.team-name { font-size: 21px; font-weight: 800; color: var(--navy-800); }
.team-role { color: var(--teal-500); font-weight: 700; font-size: 13.5px; margin: 6px 0 14px; text-transform: uppercase; letter-spacing: .04em; }
.team-text { color: var(--muted); font-size: 15px; }

/* ---------- Операции ---------- */
.ops-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ops-card { padding: 28px; position: relative; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.ops-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ops-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--blue-500), var(--teal-500));
  border-radius: 4px 4px 0 0;
}
.ops-num { font-size: 14px; font-weight: 800; color: var(--teal-500); letter-spacing: .08em; margin-bottom: 10px; }
.ops-card h3 { font-size: 18px; margin-bottom: 10px; }
.ops-card p { color: var(--muted); font-size: 14.5px; }
.ops-more { margin-top: 34px; text-align: center; }

/* ---------- FAQ / страхи ---------- */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.accordion details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; transition: box-shadow .2s; }
.accordion details[open] { box-shadow: var(--shadow-sm); border-color: var(--blue-100); }
.accordion summary {
  list-style: none; cursor: pointer; padding: 20px 22px;
  display: flex; align-items: center; gap: 14px;
  font-weight: 700; font-size: 16.5px; color: var(--navy-800);
}
.accordion summary::-webkit-details-marker { display: none; }
.acc-icon {
  flex: none; width: 30px; height: 30px; border-radius: 9px;
  background: var(--blue-100); color: var(--blue-500);
  display: grid; place-items: center; font-size: 14px; font-weight: 800;
}
details[open] .acc-icon { background: var(--teal-100); color: var(--teal-500); }
.acc-body { padding: 0 22px 22px 66px; color: var(--muted); font-size: 15.5px; }
.acc-body p + p { margin-top: 12px; }
.acc-body strong { color: var(--navy-800); }

.quote { padding: 26px 30px; margin-top: 22px; position: relative; }
.quote::before {
  content: "\201C"; position: absolute; top: 4px; left: 18px;
  font-size: 64px; font-family: Georgia, serif; color: var(--blue-100); line-height: 1;
}
.quote-text { font-style: italic; color: var(--navy-700); font-size: 16px; }

/* ---------- Форма ---------- */
.lead-section { background: linear-gradient(150deg, var(--navy-800) 0%, var(--navy-700) 100%); position: relative; overflow: hidden; }
.lead-section::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 340px at 85% 110%, rgba(15,163,163,.28), transparent 60%);
}
.lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; position: relative; padding: 80px 0; }
.lead-copy h2 { color: #fff; font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 14px; }
.lead-copy p { color: rgba(255,255,255,.78); font-size: 17px; max-width: 460px; }
.lead-points { margin-top: 26px; display: grid; gap: 12px; }
.lead-point { display: flex; gap: 10px; align-items: center; color: rgba(255,255,255,.9); font-weight: 600; font-size: 15px; }

.lead-form-card { background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); padding: 36px; }
.lead-form-card h3 { font-size: 22px; margin-bottom: 6px; }
.lead-form-card > p { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 700; font-size: 14px; color: var(--navy-800); margin-bottom: 7px; }
.form-group input[type="text"], .form-group input[type="tel"], .form-group input[type="file"] {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font); font-size: 15px; color: var(--ink); background: var(--bg);
  transition: border-color .2s, background .2s;
}
.form-group input:focus { outline: none; border-color: var(--blue-500); background: #fff; }
.form-group input[type="file"] { padding: 11px 14px; }
.form-consent { font-size: 12.5px; color: var(--muted); margin-top: 14px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.lead-result { margin-top: 14px; font-weight: 700; font-size: 15px; min-height: 22px; }
.lead-result.ok { color: #0E8A5F; }
.lead-result.err { color: var(--red-500); }
button.btn-primary { width: 100%; }

/* ---------- Маршрут для иностранцев ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step-card { padding: 28px 24px; position: relative; transition: transform .25s ease, box-shadow .25s ease; }
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--teal-500));
  color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 18px;
}
.step-card h3 { font-size: 17px; margin-bottom: 8px; }
.step-card p { color: var(--muted); font-size: 14.5px; }

/* ---------- Отзывы ---------- */
.testi-card { position: relative; padding: 40px 48px; overflow: hidden; }
.testi-card .carousel { overflow: hidden; }
.testi-quote { font-size: clamp(16px, 1.8vw, 19px); color: var(--navy-700); line-height: 1.7; white-space: pre-line; }
.testi-name { margin-top: 18px; font-weight: 800; color: var(--teal-500); }
.testi-controls { display: flex; gap: 8px; margin-top: 24px; justify-content: flex-end; }
.testi-controls .chip { background: var(--bg); box-shadow: none; border: 1px solid var(--line); }
.testi-controls .chip:hover { background: var(--blue-100); }

/* ---------- Карта ---------- */
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------- Регионы ---------- */
.regions-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.region-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px 24px; }
.region-card h3 { font-size: 17px; color: var(--blue-500); margin-bottom: 10px; }
.region-card ul { list-style: none; }
.region-card li { color: var(--muted); font-size: 14.5px; padding: 5px 0 5px 20px; position: relative; }
.region-card li::before { content: ""; position: absolute; left: 0; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-100); border: 2px solid var(--teal-500); }

/* ---------- Партнёры ---------- */
.partners { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.partners-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: center; }
.partner-item { text-align: center; padding: 18px; }
.partner-item img { max-height: 74px; width: auto; margin: 0 auto 12px; object-fit: contain; }
.partner-item p { color: var(--muted); font-size: 14px; font-weight: 600; }

/* ---------- Футер ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.75); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer-title { color: #fff; font-weight: 800; font-size: 15px; margin-bottom: 16px; letter-spacing: .05em; text-transform: uppercase; }
.footer-nav { display: grid; gap: 10px; }
.footer-nav a { color: rgba(255,255,255,.72); font-size: 14.5px; }
.footer-nav a:hover { color: #fff; }
.footer-contact { margin-bottom: 18px; }
.footer-label { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.45); margin-bottom: 4px; }
.footer-phone { color: #fff; font-weight: 800; font-size: 20px; }
.footer-social { display: flex; gap: 10px; margin-top: 8px; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.08);
  display: grid; place-items: center; transition: background .2s;
}
.footer-social a:hover { background: rgba(255,255,255,.18); }
.footer-social img { width: 22px; height: 22px; object-fit: contain; }
.footer-brand { text-align: center; padding: 28px 0; border-top: 1px solid rgba(255,255,255,.1); }
.footer-logo { font-size: 26px; font-weight: 800; color: #fff; }
.footer-logo em { font-style: normal; color: var(--blue-500); }
.footer-tagline { color: rgba(255,255,255,.55); font-size: 14px; margin-top: 4px; }
.footer-bottom { text-align: center; padding: 18px 0 22px; color: rgba(255,255,255,.4); font-size: 13.5px; }

/* ---------- Плавающая кнопка ---------- */
.floating-cta { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.floating-btn {
  width: 58px; height: 58px; border-radius: 50%; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--teal-500), #0C8C8C); color: #fff; font-size: 28px; font-weight: 300;
  box-shadow: 0 10px 26px rgba(15, 163, 163, .45); transition: transform .25s ease;
}
.floating-btn:hover { transform: scale(1.07) rotate(90deg); }
.floating-menu {
  display: none; flex-direction: column; gap: 8px; align-items: stretch;
  background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 12px; min-width: 220px;
}
.floating-menu.open { display: flex; }
.floating-main {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600)); color: #fff;
  padding: 13px 18px; border-radius: 12px; font-weight: 700; font-size: 14.5px; text-align: center;
}
.floating-main:hover { color: #fff; }
.floating-link { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; color: var(--ink); font-weight: 600; font-size: 14.5px; }
.floating-link:hover { background: var(--bg); color: var(--navy-800); }
.floating-link img { width: 22px; height: 22px; object-fit: contain; }

/* ---------- Внутренние страницы ---------- */
.page-hero {
  padding: calc(var(--header-h) + 64px) 0 56px;
  background:
    radial-gradient(800px 400px at 90% -20%, rgba(15,163,163,.16), transparent 60%),
    linear-gradient(180deg, #EAF2FA, var(--bg));
}
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); max-width: 760px; }
.page-hero .lead { color: var(--muted); font-size: 18px; max-width: 680px; margin-top: 16px; }
.breadcrumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--blue-500); }

.article-page { padding-bottom: 80px; }
.article-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; margin-bottom: 22px; }
.article-panel h2 { font-size: 24px; margin-bottom: 12px; }
.article-panel p { color: var(--muted); font-size: 16px; }
.article-panel p + p { margin-top: 12px; }

/* ---------- Таблица методов лечения ---------- */
.med-table-wrap { overflow-x: auto; margin-top: 14px; }
table.med-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
table.med-table th { background: var(--navy-800); color: #fff; text-align: left; padding: 12px 14px; font-weight: 700; font-size: 13.5px; }
table.med-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--muted); vertical-align: top; }
table.med-table tr:nth-child(even) td { background: #F7FAFC; }
table.med-table td:first-child { font-weight: 700; color: var(--navy-800); white-space: nowrap; }

.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.detail-list { list-style: none; display: grid; gap: 12px; }
.detail-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 15.5px; }
.detail-list li::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--teal-500); margin-top: 8px; }
.detail-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); position: sticky; top: calc(var(--header-h) + 20px); }
.detail-photo img { width: 100%; height: auto; }

.ops-detail-list { display: grid; gap: 22px; }
.ops-detail { padding: 34px; }
.ops-detail h2 { font-size: 22px; margin-bottom: 10px; }
.ops-detail .tag { display: inline-block; background: var(--teal-100); color: var(--teal-500); font-weight: 700; font-size: 12.5px; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; letter-spacing: .04em; text-transform: uppercase; }
.ops-detail p { color: var(--muted); font-size: 15.5px; }

.final-cta { text-align: center; background: linear-gradient(150deg, var(--navy-800), var(--navy-700)); border-radius: var(--radius); padding: 56px 32px; color: #fff; margin-top: 48px; }
.final-cta h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); margin-bottom: 12px; }
.final-cta p { color: rgba(255,255,255,.78); max-width: 560px; margin: 0 auto 28px; }

/* ---------- 404 ---------- */
.nf-wrap { min-height: 72vh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 40px) 0 60px; }
.nf-code { font-size: clamp(90px, 16vw, 160px); font-weight: 800; color: var(--blue-100); line-height: 1; }
.nf-wrap h1 { font-size: clamp(24px, 3vw, 32px); margin: 10px 0 14px; }
.nf-wrap p { color: var(--muted); margin-bottom: 28px; }

/* ---------- Появление при скролле ---------- */
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.visible { opacity: 1; transform: none; }
}

/* ---------- Адаптив ---------- */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .burger { display: block; }
  .hero-shell { grid-template-columns: 1fr; gap: 40px; }
  .hero-carousel { aspect-ratio: 4 / 3; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .ops-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .team-card { grid-template-columns: 1fr; }
  .team-photo { min-height: 320px; }
  .lead-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-photo { position: static; }
}

@media (max-width: 640px) {
  .section { padding: 52px 0; }
  .header-phone span { display: none; }
  .why-grid, .ops-grid, .steps-grid, .regions-list, .partners-grid, .team-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .hero-badge { left: 12px; bottom: 14px; padding: 10px 14px; max-width: 210px; }
  .lead-form-card { padding: 26px 20px; }
  .testi-card { padding: 26px 20px; }
  .acc-body { padding-left: 22px; }
  .floating-cta { right: 14px; bottom: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .center-btn { padding-bottom: 40px; }
}


/* 2026-09-26: таблицы и сетки не распирают страницу на телефоне */
.detail-grid > * { min-width: 0; }
.med-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* 2026-09-28: значок рейтинга, список направлений в первом экране, часы и маршрут */
.hero-rating { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--navy-800); font-size: 15px; font-weight: 600; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.hero-rating:hover { border-color: var(--gold-500); box-shadow: 0 4px 16px rgba(242,169,59,.18); }
.hero-rating-stars { color: var(--gold-500); font-size: 18px; line-height: 1; }
.hero-rating strong { font-weight: 800; }
.hero-trust--list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; margin-top: 28px; }
.hero-trust--list .hero-trust-item { align-items: flex-start; line-height: 1.35; }
.hero-trust--list .hero-trust-item svg { margin-top: 1px; }
.contact-hours { margin: 10px 0 0; color: var(--ink); font-size: 16px; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
@media (max-width: 640px) {
  .hero-trust--list { grid-template-columns: 1fr; gap: 10px; }
  .contact-actions .btn { flex: 1 1 100%; }
}

/* ---------- 2026-10-07: Партнёры — 4 в ряд (добавлен EMU University) ---------- */
.partners-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
}

/* logo-header 2026-10-08: new CardioKids logo lockup (symbol + wordmark) */
.brand-logo { width: auto; height: 40px; }
@media (max-width: 1320px) { .brand-logo { height: 32px; } }
@media (min-width: 1025px) and (max-width: 1240px) { .brand-logo { height: 27px; } }
@media (max-width: 600px) { .brand-logo { height: 30px; } }

/* hero-v5 2026-10-08: first screen — offer, main CTA, messengers; mobile contact bar (home RU/UZ) */
.hero-cta--v5 { flex-direction: column; align-items: flex-start; gap: 14px; }
.hero-main-btn { font-size: 19px; font-weight: 800; padding: 18px 34px; }
.hero-msg { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border-radius: 999px; border: 1px solid #DCE6F0; background: #fff; color: #0A2540; font-weight: 700; font-size: 15px; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.hero-chip svg { color: #1B6FD1; flex: none; }
.hero-chip:hover { border-color: #1B6FD1; box-shadow: 0 6px 18px rgba(10,37,64,.08); }
.hero-chip:focus-visible, .mobile-contact-bar a:focus-visible { outline: 3px solid #1B6FD1; outline-offset: 2px; }
.hero-cta--v5 + .hero-rating { margin-top: 4px; }
.hero-trust-item a { color: inherit; text-decoration: none; }
.hero-trust-item a strong { color: #0A2540; font-weight: 800; }
.hero-trust-item a:hover strong { text-decoration: underline; }
.mobile-contact-bar { display: none; }
@media (max-width: 640px) {
  .hero-msg { display: none; }
  .hero-main-btn { width: 100%; justify-content: center; text-align: center; }
  .has-contact-bar .floating-cta { display: none !important; }
  .mobile-contact-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #fff; border-top: 1px solid #DCE6F0; box-shadow: 0 -6px 20px rgba(10,37,64,.08); padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); }
  .mobile-contact-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 48px; color: #0A2540; font-size: 13px; font-weight: 700; text-decoration: none; }
  .mobile-contact-bar a svg { color: #1B6FD1; }
  body.has-contact-bar { padding-bottom: 72px; }
}

/* mobile-overflow 2026-10-08: no horizontal scroll on 320–360 px phones */
@media (max-width: 900px) { .partners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) {
  .partners-grid { gap: 12px; }
  .partner-item { padding: 12px 8px; }
  .partner-item p { font-size: 13px; overflow-wrap: break-word; hyphens: auto; }
}
.detail-list { grid-template-columns: minmax(0, 1fr); }
.detail-list li { min-width: 0; overflow-wrap: break-word; }
@media (max-width: 400px) { .article-panel { padding-left: 20px; padding-right: 20px; } }

/* ===== audit 2026-10-16 (дизайн-аудит, правки 1–10) ===== */
:root { --teal-text: #0A7878; }

/* 5. Текст виден сразу: без одинакового «выплывания» блоков */
.reveal, .reveal.visible { opacity: 1 !important; transform: none !important; transition: none !important; }

/* 6. Заголовки разделов — по левому краю */
.section-head.center, .section-head.center * { text-align: left; }
.section-head.center > * { margin-left: 0; margin-right: 0; }

/* 6. «Почему мы» — три проверяемых факта */
.proof .section-title { text-align: left; margin: 0 0 22px; max-width: 22ch; }
.proof-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.proof-list li { display: grid; gap: 4px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.proof-list strong { font-size: clamp(24px, 3vw, 32px); line-height: 1.15; font-weight: 800; color: var(--navy-800); letter-spacing: -0.01em; }
.proof-list span { font-size: 16px; line-height: 1.6; color: var(--ink); max-width: 52ch; }
.proof-list em { font-style: normal; color: var(--muted); }
@media (min-width: 900px) { .proof-list li { grid-template-columns: 340px 1fr; align-items: baseline; gap: 24px; } }

/* 3. Путь пациента */
.pp .section-title { text-align: left; margin: 0 0 10px; max-width: 24ch; }
.pp-sub { color: var(--muted); font-size: 16px; line-height: 1.6; margin: 0 0 28px; max-width: 60ch; }
.pp-steps { list-style: none; margin: 0; padding: 0; position: relative; }
.pp-steps > li { position: relative; padding: 0 0 22px 52px; }
.pp-steps > li:last-child { padding-bottom: 4px; }
.pp-rail { position: absolute; left: 15px; top: 16px; bottom: 26px; width: 2px; background: var(--navy-800); transform-origin: top center; }
.pp-node { position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 1.5px solid var(--navy-800); display: grid; place-items: center; font-weight: 800; font-size: 14px; color: var(--navy-800); }
.pp-steps strong { display: block; font-size: 17px; line-height: 1.35; color: var(--ink); margin: 4px 0 4px; }
.pp-text { display: block; font-size: 15.5px; line-height: 1.6; color: var(--muted); max-width: 60ch; }
.pp-steps--page .pp-text { color: var(--ink); }
.pp-steps--page .pp-text strong { display: inline; margin: 0; }
.pp-tag { display: inline-block; margin-left: 6px; padding: 1px 9px; border-radius: 999px; background: var(--teal-100); color: var(--teal-text); font-size: 13px; font-weight: 700; vertical-align: 2px; }
.pp-more { display: inline-block; margin-top: 18px; color: var(--blue-500); font-weight: 700; text-decoration: none; border-bottom: 1.5px solid rgba(27, 111, 209, .35); }
.pp-more:hover { border-bottom-color: var(--blue-500); }
@media (min-width: 900px) {
  .pp-steps:not(.pp-steps--page) { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; }
  .pp-steps:not(.pp-steps--page) > li { padding: 50px 0 0 0; }
  .pp-steps:not(.pp-steps--page) .pp-rail { left: 16px; right: calc((100% - 88px) / 5 - 16px); top: 15px; bottom: auto; width: auto; height: 2px; transform-origin: left center; }
}
/* одна авторская анимация: линия пути прорисовывается один раз (main.js добавляет классы) */
.pp-armed .pp-rail { transform: scaleY(0); }
.pp-armed .pp-node { opacity: .35; }
.pp-drawn .pp-rail { transform: none; transition: transform 1.2s cubic-bezier(.16, 1, .3, 1); }
.pp-drawn .pp-node { opacity: 1; transition: opacity .35s ease; }
.pp-drawn > li:nth-child(3) .pp-node { transition-delay: .15s; }
.pp-drawn > li:nth-child(4) .pp-node { transition-delay: .3s; }
.pp-drawn > li:nth-child(5) .pp-node { transition-delay: .45s; }
.pp-drawn > li:nth-child(6) .pp-node { transition-delay: .6s; }
@media (min-width: 900px) { .pp-steps.pp-armed:not(.pp-steps--page) .pp-rail { transform: scaleX(0); } .pp-steps.pp-drawn:not(.pp-steps--page) .pp-rail { transform: none; } }
@media (prefers-reduced-motion: reduce) { .pp-rail, .pp-node { transform: none !important; opacity: 1 !important; transition: none !important; } }

/* 1. Одна синяя кнопка + ссылки; панель связи на всех страницах */
.alt-links { margin: 14px 0 0; color: var(--muted); font-size: 16px; }
.alt-links a { color: var(--blue-500); font-weight: 700; text-decoration: none; border-bottom: 1.5px solid rgba(27, 111, 209, .35); }
@media (max-width: 640px) {
  .has-contact-bar .floating-cta, .has-contact-bar .floating-btn, .has-contact-bar .floating-menu { display: none !important; }
}

/* 10. Полоса цифр: три числа; летальность — на странице операций */
.stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .stats-grid { grid-template-columns: 1fr; gap: 22px; } }
.results-note { margin-top: 18px; font-size: 15.5px; line-height: 1.6; color: var(--ink); }

/* 7. Форма: прикрепление файла и состояния */
.file-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.form-group .file-pick { display: flex; gap: 14px; align-items: center; margin: 8px 0 0; padding: 16px 18px; border: 1.5px dashed #9DB3C9; border-radius: 14px; background: var(--bg); color: var(--navy-800); cursor: pointer; font-weight: 400; }
.file-pick svg { color: var(--blue-500); flex: none; }
.file-pick span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.file-pick b { font-size: 16px; font-weight: 700; color: var(--navy-800); overflow-wrap: anywhere; }
.file-pick small { font-size: 14px; color: var(--muted); }
.file-input:focus-visible + .file-pick { outline: 3px solid var(--blue-500); outline-offset: 2px; }
.file-note { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.file-note svg { flex: none; margin-top: 2px; }
button[type="submit"]:disabled { opacity: .7; cursor: progress; transform: none; }

/* 8. Читаемость и доступность */
.team-role, .ops-num, .testi-name, .ops-detail .tag, details[open] .acc-icon { color: var(--teal-text); }
.acc-icon { color: var(--blue-600); }
.footer-bottom { color: rgba(255, 255, 255, .7); }
.footer-label { color: rgba(255, 255, 255, .7); }
.footer-bottom a { color: #A9C8EA; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 1000; padding: 10px 16px; border-radius: 10px; background: var(--navy-800); color: #fff; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; }
.chip, .floating-btn { font-family: inherit; }
.chip svg { display: block; }
@media (max-width: 640px) { .header-phone { min-width: 44px; min-height: 44px; justify-content: center; } }

/* Движение: убрать лишнее */
.why-card:hover, .team-card:hover, .ops-card:hover, .step-card:hover { transform: none; }
.chip:hover { transform: none; }
.floating-btn:hover { transform: none; }
.main-nav a::after { width: 100%; transform: scaleX(0); transform-origin: left center; transition: transform .25s ease; }
.main-nav a:hover::after { transform: scaleX(1); }
.burger span { transition: transform .3s ease, opacity .3s ease; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@supports selector(::details-content) {
  @media (prefers-reduced-motion: no-preference) {
    :root { interpolate-size: allow-keywords; }
    details::details-content { height: 0; overflow: clip; transition: height .25s ease, content-visibility .25s allow-discrete; }
    details[open]::details-content { height: auto; }
  }
}
.carousel-slide picture { display: contents; }@media (max-width: 400px) { .page-hero h1 { hyphens: auto; overflow-wrap: break-word; } }

/* ===== 2026-10-16: первый экран страниц врачей (kayumov, sinelnikov) ===== */
.dh { display: grid; gap: 18px; align-items: start; }
.dh-top { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; }
.dh-photo { margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; background: #e9eef3; box-shadow: 0 10px 30px rgba(10, 37, 64, .12); }
.dh-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
.dh h1 { margin: 0; font-size: clamp(26px, 3.4vw, 44px); line-height: 1.15; }
.dh .dh-role { margin: 6px 0 0; font-weight: 700; color: var(--teal-text, #0A7878); font-size: 15px; }
.dh .lead { margin: 16px 0 0; }
.dh-cta { display: flex; flex-direction: column; align-items: flex-start; margin-top: 24px; }
.dh-cta .alt-links { margin-top: 12px; }
.dh-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.dh-facts li { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 14px; line-height: 1.35; color: var(--ink); }
.dh-facts b { color: var(--navy-800); }
.dh-side { display: none; }
@media (min-width: 900px) {
  .dh { grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; }
  .dh-top { display: block; }
  .dh-top .dh-photo { display: none; }
  .dh-side { display: block; }
  .dh .dh-role { font-size: 16px; }
}
@media (max-width: 360px) { .dh-top { grid-template-columns: 96px 1fr; gap: 14px; } }

/* ===== 2026-10-17: заголовки разделов — по центру, единый стиль (вариант A, утверждён) ===== */
.section-head.center, .section-head.center * { text-align: center; }
.section-head.center .section-title,
.pp .section-title,
.proof .section-title { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.18; letter-spacing: -0.01em; max-width: 900px; margin: 0 auto 14px; text-align: center; text-wrap: balance; }
.section-head.center .section-subtitle,
.pp-sub { max-width: 640px; margin: 0 auto; text-align: center; font-size: 18px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.section-head { margin-bottom: 44px; }
.pp-sub { margin-bottom: 44px; }
.proof .section-title { margin-bottom: 36px; }
.proof-list { max-width: 980px; margin: 0 auto; }
.proof-list strong { font-size: clamp(21px, 2.2vw, 26px); }
@media (min-width: 900px) { .proof-list li { grid-template-columns: 300px 1fr; } }
.pp-more { display: table; margin: 28px auto 0; }

/* ===== 2026-10-17: меню из страниц (утверждено: «Операции» с выпадающим списком, «Врачи» — обычная ссылка) ===== */
.main-nav { align-items: center; gap: 22px; }
.main-nav > a, .nav-item > a { white-space: nowrap; }
.nav-item { position: relative; }
.nav-item > a { display: inline-flex; align-items: center; gap: 5px; }
.nav-chev { flex: none; transition: transform .2s ease; }
.nav-sub { position: absolute; top: calc(100% + 10px); left: -18px; z-index: 120; min-width: 260px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px rgba(10, 37, 64, .14); display: grid; opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.nav-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-item:hover .nav-sub, .nav-item:focus-within .nav-sub { opacity: 1; visibility: visible; transform: none; }
.nav-item:hover .nav-chev, .nav-item:focus-within .nav-chev { transform: rotate(180deg); }
.main-nav .nav-sub a { display: block; padding: 9px 12px; border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.main-nav .nav-sub a::after { display: none; }
.main-nav .nav-sub a:hover, .main-nav .nav-sub a[aria-current="page"] { background: var(--bg); color: var(--navy-800); }
.main-nav .nav-sub .nav-sub-all { margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; color: var(--blue-500); font-weight: 700; }
.main-nav a[aria-current="page"], .nav-item.is-current > a { color: var(--navy-800); }
.main-nav > a[aria-current="page"]::after, .nav-item.is-current > a::after { transform: scaleX(1); }
.mm-group { border-bottom: 1px solid var(--bg); }
.mm-group summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 12px 8px; font-weight: 700; color: var(--navy-800); cursor: pointer; }
.mm-group summary::-webkit-details-marker { display: none; }
.mm-group[open] summary .nav-chev { transform: rotate(180deg); }
.mobile-menu .mm-group a { display: block; padding: 10px 8px 10px 22px; font-weight: 600; font-size: 15px; color: var(--ink); border-bottom: 0; }
.mobile-menu .mm-group a:last-child { padding-bottom: 14px; color: var(--blue-500); font-weight: 700; }
.mobile-menu a[aria-current="page"] { color: var(--blue-500); }
@media (prefers-reduced-motion: reduce) { .nav-sub, .nav-chev { transition: none; } }
@media (max-width: 1180px) and (min-width: 1025px) { .main-nav { gap: 16px; } .main-nav > a, .nav-item > a { font-size: 14.5px; } .header-phone span { display: none; } }

/* ===== 2026-10-17: «Как отправить ЭхоКГ» — 3 шага (главная, блок записи; «Бесплатная операция») ===== */
.howto { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 18px; }
.howto li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; align-content: start; }
.howto-ic { position: relative; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #fff; }
.howto-n { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; background: var(--teal-500); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.howto-tx strong { display: block; font-size: 17px; line-height: 1.35; color: #fff; margin: 3px 0 4px; }
.howto-tx > span { display: block; font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, .78); }
.howto a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.howto-alt { margin: 22px 0 0; font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, .78); }
.howto-alt a { color: #fff; font-weight: 800; white-space: nowrap; }
.howto--light .howto-ic { background: var(--blue-tint, #E3EEFB); color: var(--blue-500); }
.howto--light .howto-tx strong { color: var(--navy-800); }
.howto--light .howto-tx > span { color: var(--ink); }
.howto--light a { color: var(--blue-500); }
@media (min-width: 900px) {
  .howto--light { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; max-width: 1040px; margin-inline: auto; }
  .howto--light li { grid-template-columns: 1fr; gap: 14px; }
  .howto--light .howto-ic { width: 60px; height: 60px; border-radius: 18px; }
  .howto--light .howto-ic svg { width: 28px; height: 28px; }
}

/* ===== 2026-10-17: карта выездов на главной (вместо карточек городов) ===== */
.vmap-wrap { display: grid; gap: 28px; }
.vmap-fig { margin: 0 auto; width: 100%; max-width: 980px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 14px; box-shadow: 0 2px 10px rgba(10, 37, 64, .06); }
.vmap { width: 100%; height: auto; display: block; }
.vm-land { fill: #E3EEFB; stroke: #9DB3C9; stroke-width: 1.2; stroke-linejoin: round; }
.vm-route { fill: none; stroke: #0FA3A3; stroke-width: 1.6; stroke-dasharray: 4 5; opacity: .75; }
.vm-dot { fill: #0FA3A3; stroke: #fff; stroke-width: 2.5; }
.vm-hub { fill: #0A2540; stroke: #fff; stroke-width: 3; }
.vm-hub-ring { fill: rgba(27, 111, 209, .14); }
.vm-label { font: 700 14px Manrope, sans-serif; fill: #0A2540; paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.vm-label--hub { font-size: 15px; }
.vm-sub { font: 600 12px Manrope, sans-serif; fill: #5A6E84; paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
@media (max-width: 640px) { .vm-label { font-size: 22px; } .vm-label--hub { font-size: 23px; } .vmap-fig { padding: 8px; } .vm-label--minor, .vm-sub { display: none; } }
.vmap-side { max-width: 1040px; margin: 0 auto; width: 100%; }
.vmap-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.vmap-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 15px; font-weight: 700; color: var(--navy-800); }
.vmap-chips li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #0FA3A3; }
.vmap-chips li.is-hub::before { background: #0A2540; box-shadow: 0 0 0 3px rgba(27, 111, 209, .16); }
.vmap-chips li small { font-weight: 600; color: var(--muted); font-size: 13px; }
.vmap-cta { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: center; margin-top: 20px; }

/* ===== 2026-10-17: ДКМП — здоровое сердце и сердце при ДКМП (видео сокращения стенок) ===== */
.hcmp { display: grid; gap: 16px; margin: 22px 0 10px; }
@media (min-width: 700px) { .hcmp { grid-template-columns: 1fr 1fr; } }
.hcmp-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.hcmp-media { background: #EAF4FA; aspect-ratio: 1 / 1; overflow: hidden; }
.hcmp-media video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; display: block; }
.hcmp-body { padding: 14px 18px 20px; }
.hcmp-card h3 { font-size: 18px; line-height: 1.3; margin: 0 0 10px; color: var(--navy-800); }
.hcmp-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.hcmp-card li { font-size: 15px; line-height: 1.5; color: var(--ink); padding-left: 16px; position: relative; }
.hcmp-card li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-500); }
.hcmp-card--dcm li::before { background: #D07A3A; }
.ef { margin-top: 14px; }
.ef-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; font-size: 13.5px; color: var(--muted); margin-bottom: 6px; }
.ef-top b { color: var(--navy-800); }
.ef-bar { height: 10px; border-radius: 999px; background: #E8EEF4; overflow: hidden; }
.ef-bar i { display: block; height: 100%; border-radius: inherit; background: var(--teal-500); }
.hcmp-card--dcm .ef-bar i { background: #D07A3A; }
.hcmp-note { font-size: 13px; color: var(--muted); margin: 0 0 18px; }

/* ---------- Карточки операций на главной (2026-11-15) ---------- */
#ops{padding-top:72px}
#ops .ops-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
#ops .ops-card{padding:24px 22px 22px;display:flex;flex-direction:column;border:1px solid transparent;transition:box-shadow .2s ease,border-color .2s ease}
#ops .ops-card:hover,#ops .ops-card:focus-within{box-shadow:var(--shadow-md);border-color:var(--blue-500)}
#ops .ops-card h3{font-size:18px;margin-bottom:8px}
#ops .ops-card p{flex:1}
#ops .ops-card .ops-go{flex:0 0 auto;margin-top:14px;font-weight:700;color:var(--blue-500,#1257A6);font-size:15px}
#ops .ops-card .ops-link{color:inherit;text-decoration:none}
#ops .ops-card .ops-link::after{content:"";position:absolute;inset:0;border-radius:inherit}
#ops .ops-card .ops-link:focus-visible{outline:none}
#ops .ops-card:has(.ops-link:focus-visible){outline:3px solid var(--blue-500);outline-offset:2px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#ops .ops-badge{align-self:flex-start;font-size:12.5px;font-weight:700;color:#fff;background:var(--navy-800);padding:3px 10px;border-radius:999px;margin-bottom:10px}
#ops .ops-card--alt{background:var(--navy-800)}
#ops .ops-card--alt::before{display:none}
#ops .ops-card--alt h3{color:#fff}
#ops .ops-card--alt p{color:rgba(255,255,255,.78)}
#ops .ops-card--alt .ops-go{color:#A9C8EA}
@media (max-width:1100px){#ops .ops-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){
  #ops{padding-top:48px}
  #ops .ops-grid{grid-template-columns:1fr;gap:10px}
  #ops .ops-card{padding:16px 44px 16px 18px}
  #ops .ops-card::before{width:4px;height:auto;right:auto;bottom:0;border-radius:4px 0 0 4px}
  #ops .ops-card p:not(.ops-go),#ops .ops-badge{display:none}
  #ops .ops-card h3{font-size:16.5px;margin:0}
  #ops .ops-card .ops-go{position:absolute;right:16px;top:50%;transform:translateY(-50%);margin:0;font-size:0}
  #ops .ops-card .ops-go::before{content:"→";font-size:20px}
}
