/* ============================================================
   VESTERA Landing — Design System
   Палитра: тёплый бежевый фон + изумрудный акцент
   ============================================================ */

:root {
  --color-bg: #faf7f2;
  --color-bg-alt: #ffffff;
  --color-surface: #ffffff;
  --color-text: #1a2622;
  --color-text-muted: #5c6b66;
  --color-border: #e6e1d8;
  --color-primary: #0e7c66;
  --color-primary-dark: #0a5a4a;
  --color-primary-light: #e6f3ef;
  --color-accent: #d4a574;
  --color-danger: #c2410c;
  --color-success: #15803d;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(26,38,34,0.06), 0 1px 3px rgba(26,38,34,0.04);
  --shadow-md: 0 4px 12px rgba(26,38,34,0.08), 0 2px 4px rgba(26,38,34,0.04);
  --shadow-lg: 0 12px 32px rgba(26,38,34,0.10), 0 4px 8px rgba(26,38,34,0.04);

  --container: 1180px;
  --container-narrow: 820px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--color-primary-dark); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 16px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: var(--container-narrow); }

.section { padding: 80px 0; }
.section__title { font-size: clamp(28px, 4vw, 40px); font-weight: 700; line-height: 1.2; margin-bottom: 12px; text-align: center; }
.section__subtitle { font-size: 17px; color: var(--color-text-muted); text-align: center; margin-bottom: 48px; max-width: 680px; margin-left: auto; margin-right: auto; }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px;
  font-size: 16px; font-weight: 600;
  border-radius: var(--radius-pill);
  transition: all .2s ease;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
}
.btn--primary { background: var(--color-primary); color: white; box-shadow: var(--shadow-md); }
.btn--primary:hover { background: var(--color-primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-lg); color: white; }
.btn--ghost { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn--ghost:hover { background: var(--color-primary-light); }

/* ============ HEADER ============ */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--color-text); }
.logo__mark { display: block; width: 40px; height: 40px; flex-shrink: 0; }
.logo--footer .logo__mark { width: 36px; height: 36px; }
.logo__text { letter-spacing: 0.5px; }

.nav { display: flex; gap: 28px; align-items: center; }
.nav a { color: var(--color-text); font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--color-primary); }
.nav__cta { padding: 8px 18px; background: var(--color-primary); color: white !important; border-radius: var(--radius-pill); white-space: nowrap; flex-shrink: 0; }
.nav__cta:hover { background: var(--color-primary-dark); color: white !important; }

.lang-switcher { display: flex; gap: 4px; border: 1px solid var(--color-border); border-radius: var(--radius-pill); padding: 3px; background: white; }
.lang-btn { padding: 6px 12px; font-size: 13px; font-weight: 600; border-radius: var(--radius-pill); color: var(--color-text-muted); transition: all .15s ease; }
.lang-btn:hover { color: var(--color-text); }
.lang-btn.is-active { background: var(--color-primary); color: white; }

.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--color-text); border-radius: 2px; transition: all .2s; }

/* temp: временно скрытые блоки (снять перед публичным запуском) */
.is-hidden { display: none !important; }

/* ============ КОНСУЛЬТАЦИЯ / ОПЛАТА ============ */
.consult-kicker { display:inline-block; font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:1px; color:var(--color-primary); background:rgba(20,120,90,.08); padding:6px 14px; border-radius:999px; margin-bottom:14px; }
.consult-card { display:grid; grid-template-columns:1fr 340px; gap:28px; background:#fff; border:1px solid var(--color-border); border-radius:20px; padding:32px; box-shadow:0 10px 40px rgba(0,0,0,.06); margin-top:24px; }
.consult-card h3 { font-size:15px; text-transform:uppercase; letter-spacing:.5px; color:var(--color-text-muted); margin:0 0 10px; }
.consult-card h3 + ul { margin:0 0 22px; }
.consult-list { list-style:none; padding:0; margin:0; display:grid; gap:8px; }
.consult-list li { position:relative; padding-left:28px; line-height:1.45; }
.consult-list--yes li::before { content:"\2713"; position:absolute; left:0; top:0; color:var(--color-primary); font-weight:800; }
.consult-list--no li::before { content:"\2715"; position:absolute; left:0; top:0; color:#c0392b; font-weight:800; }
.consult-meta { display:flex; gap:32px; margin-top:8px; flex-wrap:wrap; }
.consult-meta div { font-size:15px; }
.consult-meta span { display:block; font-size:12px; text-transform:uppercase; letter-spacing:.5px; color:var(--color-text-muted); margin-bottom:2px; }
.consult-pay { background:#faf7f2; border:1px solid var(--color-border); border-radius:16px; padding:24px; display:flex; flex-direction:column; height:fit-content; }
.consult-price { font-size:40px; font-weight:800; line-height:1; color:var(--color-text); }
.consult-price span { font-size:20px; font-weight:600; color:var(--color-text-muted); }
.consult-price__note { font-size:13px; color:var(--color-text-muted); margin:6px 0 18px; }
.consult-accept { display:flex; gap:10px; font-size:13px; line-height:1.4; color:var(--color-text); cursor:pointer; margin-bottom:16px; }
.consult-accept input { margin-top:3px; width:18px; height:18px; flex-shrink:0; accent-color:var(--color-primary); }
.consult-accept a { color:var(--color-primary); text-decoration:underline; }
.consult-btn { width:100%; justify-content:center; }
.consult-btn:disabled { opacity:.45; cursor:not-allowed; }
.consult-secure { font-size:12px; color:var(--color-text-muted); text-align:center; margin:12px 0 0; }
.consult-docs { margin-top:22px; font-size:14px; color:var(--color-text-muted); }
.consult-docs a { color:var(--color-primary); }
.consult-hint { margin-top:14px; font-size:13px; min-height:18px; }
@media (max-width:760px){ .consult-card { grid-template-columns:1fr; padding:22px; } }

/* ============ ФИРМЕННЫЕ SVG-ИКОНКИ (замена эмодзи) ============ */
.vst-card__icon { color: var(--color-primary); display: grid; place-items: center; }
.vst-card__icon svg { width: 30px; height: 30px; }
.vst-card--accent .vst-card__icon { color: #fff; }
.guar-card__icon { color: var(--color-primary); }
.guar-card__icon svg { width: 42px; height: 42px; }
.service-card__icon { color: var(--color-primary); }
.service-card__icon svg { width: 28px; height: 28px; }
.adv-card__icon { color: var(--color-primary); }
.adv-card__icon svg { width: 34px; height: 34px; }
.payments-banner__icon { color: #fff; display: grid; place-items: center; }
.payments-banner__icon svg { width: 28px; height: 28px; }
.bank-spotlight__icon { color: #fff; display: grid; place-items: center; }
.bank-spotlight__icon svg { width: 44px; height: 44px; }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 100px 0 110px;
  overflow: hidden;
  min-height: 620px;
  display: flex;
  align-items: center;
  color: white;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg, rgba(10, 24, 21, 0.86) 0%, rgba(10, 24, 21, 0.62) 55%, rgba(10, 24, 21, 0.35) 100%),
    radial-gradient(ellipse at top left, rgba(14, 124, 102, 0.25) 0%, transparent 60%);
}
.hero__inner { position: relative; z-index: 1; width: 100%; }
.hero__content { max-width: 720px; }
.hero__kicker {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 22px;
}
.hero__content h1 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 22px;
  letter-spacing: -0.5px;
  color: white;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.hero__lead {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 32px;
  max-width: 620px;
  line-height: 1.55;
}
.hero__cta { display: flex; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.btn--hero-ghost {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: white;
}
.btn--hero-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.6);
  color: white;
  transform: translateY(-1px);
}
.hero__trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.hero__trust li {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.hero__trust li::before {
  content: "✓";
  color: #6ee7b7;
  font-weight: 700;
  margin-right: 6px;
}
.hero__promise {
  margin-top: 22px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--color-primary-dark);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  display: inline-block;
  box-shadow: var(--shadow-md);
}

/* ============ WHY (compare table) ============ */
.why { background: white; border-radius: var(--radius-lg); margin: 40px 24px; padding: 80px 24px; box-shadow: var(--shadow-sm); }
.compare-table { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 1px; background: var(--color-border); border-radius: var(--radius-md); overflow: hidden; max-width: 980px; margin: 0 auto; }
.compare-table__row { display: contents; }
.compare-table__cell { background: white; padding: 16px 14px; font-size: 15px; }
.compare-table__row--head .compare-table__cell { background: var(--color-bg); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--color-text-muted); }
.compare-table__cell--win { background: var(--color-primary-light) !important; color: var(--color-primary-dark); font-weight: 700; }

/* ============ EXCURSIONS ============ */
.excursions { margin-top: 64px; padding-top: 56px; border-top: 1px solid var(--color-border); }
.excursions__intro { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.excursions__kicker {
  display: inline-block;
  background: var(--color-accent);
  color: white;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.excursions__title { font-size: clamp(22px, 3vw, 30px); font-weight: 700; margin-bottom: 14px; }
.excursions__lead { font-size: 16px; color: var(--color-text-muted); line-height: 1.7; }

.excursions__cities {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.city-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}
.city-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.city-card__visual { aspect-ratio: 5/3; overflow: hidden; background: var(--color-border); }
.city-card__visual img,
.city-card__visual svg {
  width: 100%; height: 100%; display: block;
  object-fit: cover;
  transition: transform .4s ease;
}
.city-card:hover .city-card__visual img { transform: scale(1.04); }
.city-card h4 { font-size: 18px; font-weight: 700; padding: 16px 18px 4px; }
.city-card__meta { padding: 0 18px 8px; font-size: 13px; color: var(--color-text-muted); }
.city-card__meta span { font-weight: 600; color: var(--color-text); }
.city-card p:not(.city-card__meta) {
  padding: 0 18px 20px;
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.excursions__cta {
  margin-top: 40px;
  padding: 28px;
  background: var(--color-primary-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.excursions__cta p { font-size: 15px; color: var(--color-primary-dark); font-weight: 500; flex: 1; min-width: 240px; }

@media (max-width: 1024px) {
  .excursions__cities { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .excursions__cities { grid-template-columns: 1fr; }
  .excursions__cta { flex-direction: column; text-align: center; }
  .excursions__cta p { text-align: center; }
}

/* ============ WHY VESTERA ============ */
.why-vestera {
  background: var(--color-bg-alt);
  position: relative;
  overflow: hidden;
}
.why-vestera::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--color-primary-light) 0%, transparent 70%);
  opacity: 0.6;
  pointer-events: none;
}
.why-vestera__kicker {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--color-primary);
  margin-bottom: 16px;
  position: relative;
}
.why-vestera__slogan {
  text-align: center;
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
  position: relative;
}
.why-vestera__slogan span {
  display: inline-block;
  margin: 0 6px;
  white-space: nowrap;
}
.why-vestera__slogan span:nth-child(1) { color: var(--color-text); }
.why-vestera__slogan span:nth-child(2) { color: var(--color-primary); }
.why-vestera__slogan span:nth-child(3) { color: var(--color-accent); }
.why-vestera__lead {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
  font-size: 17px;
  color: var(--color-text-muted);
  line-height: 1.65;
  position: relative;
}
.vst-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
}
.vst-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}
.vst-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.vst-card__icon {
  font-size: 32px;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--color-primary-light);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.vst-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}
.vst-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}
.vst-card--accent {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: white;
  box-shadow: 0 10px 28px rgba(14, 124, 102, 0.30);
  position: relative;
}
.vst-card--accent h3,
.vst-card--accent p { color: white; }
.vst-card--accent p { opacity: 0.92; }
.vst-card--accent .vst-card__icon {
  background: rgba(255, 255, 255, 0.18);
}

@media (max-width: 1024px) {
  .vst-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .vst-grid { grid-template-columns: 1fr; }
  .why-vestera__slogan span { display: block; margin: 4px 0; white-space: normal; }
}

/* ============ SERVICES (направления лечения) ============ */
.services { background: var(--color-bg); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto;
}
.service-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: flex-start;
  background: white;
  border-radius: var(--radius-lg);
  scroll-margin-top: 96px;
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.service-card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--color-primary-light);
  display: grid; place-items: center;
  font-size: 26px;
  flex-shrink: 0;
}
.service-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; line-height: 1.3; }
.service-card p { font-size: 14px; color: var(--color-text-muted); line-height: 1.55; margin-bottom: 10px; }
.service-card__meta {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-primary-dark);
  background: var(--color-primary-light);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}
.services__note {
  text-align: center;
  margin-top: 28px;
  font-size: 13px;
  color: var(--color-text-muted);
  font-style: italic;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 768px) {
  .services__grid { grid-template-columns: 1fr; }
  .service-card { padding: 18px; grid-template-columns: 44px 1fr; gap: 12px; }
  .service-card__icon { width: 44px; height: 44px; font-size: 22px; }
}

/* ============ CALCULATOR ============ */
.calculator { background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-primary-light) 100%); }
.calc { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; max-width: 1080px; margin: 0 auto; }
.calc__procedures { background: white; border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 16px; }
.calc-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--color-border); }
.calc-item:last-child { border-bottom: none; }
.calc-item__label { flex: 1; font-size: 15px; }
a.calc-item__label { display: inline-block; color: inherit; text-decoration: underline; text-decoration-style: dotted; text-decoration-color: var(--color-primary); text-underline-offset: 3px; transition: color .15s; }
a.calc-item__label:hover { color: var(--color-primary); text-decoration-style: solid; }
.service-card:target { box-shadow: 0 0 0 2px var(--color-primary); animation: svc-flash 1.6s ease 1; }
@keyframes svc-flash { 0% { background: var(--color-primary-light); } 100% { background: white; } }
.calc-item__price { font-size: 13px; color: var(--color-text-muted); }
.calc-item__counter { display: flex; align-items: center; gap: 8px; }
.calc-item__btn { width: 32px; height: 32px; border-radius: 50%; background: var(--color-primary-light); color: var(--color-primary); font-size: 18px; font-weight: 700; display: grid; place-items: center; transition: all .15s; }
.calc-item__btn:hover { background: var(--color-primary); color: white; }
.calc-item__btn:disabled { opacity: 0.3; cursor: not-allowed; }
.calc-item__count { min-width: 24px; text-align: center; font-weight: 600; font-size: 16px; }
.calc-item--toggle .calc-item__toggle {
  position: relative; width: 48px; height: 28px; background: var(--color-border); border-radius: 14px; transition: background .2s;
}
.calc-item--toggle .calc-item__toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: white; transition: transform .2s; }
.calc-item--toggle .calc-item__toggle.is-on { background: var(--color-primary); }
.calc-item--toggle .calc-item__toggle.is-on::after { transform: translateX(20px); }

.calc__result { background: white; border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 12px; height: fit-content; position: sticky; top: 100px; }
.calc__result h3 { font-size: 22px; margin-bottom: 8px; }
.calc__line { display: flex; justify-content: space-between; font-size: 15px; color: var(--color-text-muted); }
.calc__line strong { color: var(--color-text); font-weight: 600; }
.calc__line--total { font-size: 17px; }
.calc__line--total strong { font-size: 19px; }
.calc__divider { height: 1px; background: var(--color-border); margin: 8px 0; }
.calc__savings {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: white; padding: 20px; border-radius: var(--radius-md); margin-top: 8px;
  display: flex; flex-direction: column; gap: 4px;
}
.calc__savings span { font-size: 14px; opacity: 0.9; text-transform: uppercase; letter-spacing: 0.5px; }
.calc__savings strong { font-size: 26px; font-weight: 800; }
.calc__cta { margin-top: 16px; width: 100%; }
.calc__disclaimer { font-size: 12px; color: var(--color-text-muted); margin-top: 8px; }

/* ============ HOW IT WORKS ============ */
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; counter-reset: steps; }
.step { background: white; border-radius: var(--radius-lg); padding: 28px 22px; box-shadow: var(--shadow-sm); position: relative; }
.step__num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--color-primary); color: white; font-weight: 700; margin-bottom: 16px; }
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--color-text-muted); }

/* ============ PACKAGES ============ */
.packages { background: white; }
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1080px; margin: 0 auto; }
.pkg-card {
  background: var(--color-bg); border-radius: var(--radius-lg); padding: 32px; position: relative;
  border: 2px solid transparent; transition: all .25s ease;
  display: flex; flex-direction: column; gap: 14px;
}
.pkg-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--color-primary-light); }
.pkg-card--recommended { border-color: var(--color-primary); background: var(--color-primary-light); }
.pkg-card__badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--color-primary); color: white; padding: 6px 16px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.pkg-card__title { font-size: 24px; font-weight: 700; }
.pkg-card__price { font-size: 14px; color: var(--color-text-muted); }
.pkg-card__price strong { font-size: 28px; color: var(--color-text); font-weight: 800; }
.pkg-card__features { list-style: none; display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.pkg-card__features li { font-size: 14px; padding-left: 22px; position: relative; }
.pkg-card__features li::before { content: "✓"; position: absolute; left: 0; color: var(--color-primary); font-weight: 700; }
.pkg-card__btn { margin-top: auto; }
.pkg__note { text-align: center; margin-top: 32px; font-size: 14px; color: var(--color-text-muted); }
.pay-systems { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 16px; flex-wrap: wrap; }
.pay-systems__logo { display: inline-flex; }
.pay-systems__logo svg { width: 88px; height: auto; display: block; box-shadow: var(--shadow-sm); border-radius: 6px; }

/* ============ CLINIC ============ */
.clinic__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-bottom: 60px; }
.clinic__photo--placeholder {
  width: 100%; aspect-ratio: 4/3; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  display: grid; place-items: center; color: white; font-weight: 600;
  position: relative;
}
.clinic__photo--placeholder::after { content: attr(data-label); }
.clinic__text p { margin-bottom: 16px; color: var(--color-text-muted); }
.clinic__equipment, .clinic__materials { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.clinic__equipment li, .clinic__materials li {
  background: var(--color-primary-light); color: var(--color-primary-dark);
  padding: 6px 12px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 500;
}
.clinic__accred {
  margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--color-border);
}
.clinic__accred-label {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--color-text-muted); font-weight: 600; display: block; margin-bottom: 10px;
}
.clinic__accred-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.accred-badge {
  background: white; border: 1px solid var(--color-border);
  padding: 6px 12px; border-radius: var(--radius-sm);
  font-size: 12px; font-weight: 700; color: var(--color-text);
  letter-spacing: 0.3px;
  cursor: help;
}

/* ============ BRANDS ============ */
.brands { background: white; }
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 24px; }
.brand-card {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex; flex-direction: column; gap: 12px;
  align-items: flex-start;
  transition: transform .2s ease;
}
.brand-card:hover { transform: translateY(-3px); }
.brand-card__logo { width: 100px; height: 40px; display: flex; align-items: center; }
.brand-card__logo svg { width: 100%; height: auto; max-height: 36px; }
.brand-card p { font-size: 13px; color: var(--color-text-muted); line-height: 1.5; }
.brands__note { text-align: center; font-size: 13px; color: var(--color-text-muted); font-style: italic; max-width: 720px; margin: 0 auto; }

@media (max-width: 768px) {
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .brand-grid { grid-template-columns: 1fr; }
}
.doctors__title { font-size: 24px; text-align: center; margin-bottom: 24px; }
.doctors__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.doc-card { background: var(--color-bg); border-radius: var(--radius-md); padding: 24px; text-align: center; }
.doc-card__avatar { font-size: 56px; margin-bottom: 12px; }
.doc-card h4 { margin-bottom: 4px; }
.doc-card p { font-size: 14px; color: var(--color-text-muted); }

/* ============ CASES ============ */
.cases { background: var(--color-bg-alt); }
.cases__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card { background: var(--color-bg); border-radius: var(--radius-lg); padding: 24px; }
.case-card__photo--placeholder {
  width: 100%; aspect-ratio: 16/10; border-radius: var(--radius-md);
  background: repeating-linear-gradient(45deg, var(--color-border), var(--color-border) 10px, var(--color-bg) 10px, var(--color-bg) 20px);
  margin-bottom: 16px; display: grid; place-items: center; color: var(--color-text-muted); font-weight: 500;
  position: relative;
}
.case-card__photo--placeholder::after { content: attr(data-label); }
.case-card h4 { margin-bottom: 8px; }
.case-card p { font-size: 14px; color: var(--color-text-muted); margin-bottom: 8px; }
.case-card__save strong { color: var(--color-primary); font-size: 16px; font-weight: 700; }

/* ============ GUARANTEES ============ */
.guar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.guar-card { background: white; padding: 32px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); text-align: center; }
.guar-card__icon { font-size: 48px; margin-bottom: 16px; }
.guar-card h3 { font-size: 19px; margin-bottom: 12px; }
.guar-card p { font-size: 14px; color: var(--color-text-muted); }
.guar-note { margin-top: 24px; font-size: 13px; line-height: 1.6; color: var(--color-text-muted); text-align: center; max-width: 860px; margin-left: auto; margin-right: auto; }

/* ============ FAQ ============ */
.faq { background: var(--color-bg-alt); }
.accordion { display: flex; flex-direction: column; gap: 8px; }
.accordion__item { background: var(--color-bg); border-radius: var(--radius-md); overflow: hidden; }
.accordion__item summary { padding: 18px 24px; cursor: pointer; font-weight: 600; list-style: none; position: relative; padding-right: 48px; }
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--color-primary); transition: transform .2s; }
.accordion__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.accordion__body { padding: 0 24px 18px; color: var(--color-text-muted); }

/* ============ CONTACT FORM ============ */
.contact { background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%); color: white; }
.contact .section__title, .contact h2 { color: white; }
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; max-width: 1080px; margin: 0 auto; }
.contact__text, .form { min-width: 0; }
.contact__text h2 { font-size: clamp(22px, 4vw, 40px); line-height: 1.18; margin-bottom: 16px; overflow-wrap: break-word; word-break: normal; hyphens: auto; }
.contact__text p, .contact__text ul, .contact__text li { overflow-wrap: break-word; }
.contact__text p { font-size: 17px; opacity: 0.92; margin-bottom: 24px; }
.contact__bullets { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.contact__bullets li { padding-left: 28px; position: relative; opacity: 0.92; }
.contact__bullets li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; }

.form { background: white; color: var(--color-text); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 16px; }
.form__field { display: flex; flex-direction: column; gap: 6px; }
.form__field > span, .form__field > legend { font-size: 14px; font-weight: 500; color: var(--color-text-muted); }
.form__field input, .form__field textarea { padding: 12px 14px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-bg); transition: border-color .15s; }
.form__field input:focus, .form__field textarea:focus { outline: none; border-color: var(--color-primary); background: white; }
.form__field--radio { border: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.form__field--radio legend { margin-bottom: 4px; }
.form__field--radio > div, .form__field--radio { display: flex; flex-direction: row !important; flex-wrap: wrap; gap: 12px; align-items: center; }
.form__field--radio legend { width: 100%; }
.form__field--radio label { display: flex; align-items: center; gap: 6px; font-size: 14px; cursor: pointer; }
.form__field--file input { padding: 6px; }
.form__check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; cursor: pointer; }
.form__check input { margin-top: 3px; }
.form__submit { width: 100%; margin-top: 8px; }
.form__notice { font-size: 11px; color: var(--color-text-muted); text-align: center; }
.form__status { font-size: 14px; padding: 10px; border-radius: var(--radius-sm); text-align: center; display: none; }
.form__status.is-success { display: block; background: var(--color-primary-light); color: var(--color-primary-dark); }
.form__status.is-error { display: block; background: #fee; color: var(--color-danger); }

/* ============ FOOTER ============ */
.footer { background: #0f1815; color: rgba(255,255,255,0.85); padding: 60px 0 30px; }
.footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-bottom: 40px; }
.footer .logo { color: white; margin-bottom: 16px; }
.footer__col h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 16px; color: white; font-weight: 700; }
.footer__col p { font-size: 14px; margin-bottom: 8px; opacity: 0.85; }
.footer__col a { color: rgba(255,255,255,0.85); }
.footer__col a:hover { color: white; }
.footer__legal { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer__legal a { font-size: 14px; }
.footer__disclaimer { padding: 20px; background: rgba(255,255,255,0.04); border-radius: var(--radius-md); margin-bottom: 24px; }
.footer__disclaimer p { font-size: 12px; line-height: 1.6; opacity: 0.78; }
.footer__bottom { text-align: center; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 13px; opacity: 0.7; }
.footer__attribution { font-size: 11px; opacity: 0.55; margin-top: 6px; }

/* ============ FLOATING ============ */
.floating { position: fixed; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 10px; z-index: 40; transition: opacity .2s ease, transform .2s ease; }
.floating__btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow-md); font-size: 18px; transition: transform .15s; cursor: pointer; }
.floating__btn:hover { transform: scale(1.08); }
.floating__btn--tg { background: #229ED9; color: white; }
.floating__btn--wa { background: #25D366; color: white; }
.floating__btn--up { background: white; color: var(--color-text); opacity: 0; pointer-events: none; transition: opacity .25s, transform .15s; }
.floating__btn--up.is-visible { opacity: 1; pointer-events: auto; }

/* Скрыть плавающие кнопки когда форма в фокусе или раздел контактов в viewport */
.floating.is-form-active { opacity: 0; pointer-events: none; transform: translateX(80px); }

.mobile-cta {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--color-primary); color: white;
  padding: 16px; text-align: center; font-weight: 600;
  z-index: 39;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
  transform: translateY(100%);
  transition: transform .25s ease;
}
.mobile-cta.is-visible { transform: translateY(0); }

/* ============ PAYMENTS BANNER (на главной) ============ */
.payments-banner { padding: 24px 0; }
.payments-banner__link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 18px 28px;
  background: linear-gradient(95deg, var(--color-primary-dark) 0%, var(--color-primary) 60%, #15a085 100%);
  color: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform .2s ease, box-shadow .2s ease;
}
.payments-banner__link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
}
.payments-banner__icon {
  font-size: 32px;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(255,255,255,0.18);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.payments-banner__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.payments-banner__text strong { font-size: 16px; font-weight: 700; }
.payments-banner__text span { font-size: 14px; opacity: 0.92; line-height: 1.5; }
.payments-banner__cta {
  font-size: 14px; font-weight: 600;
  padding: 10px 18px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: background .15s;
}
.payments-banner__link:hover .payments-banner__cta { background: rgba(255,255,255,0.28); }

@media (max-width: 700px) {
  .payments-banner__link { grid-template-columns: auto 1fr; gap: 14px; padding: 16px 18px; }
  .payments-banner__cta { grid-column: 1 / -1; text-align: center; padding: 10px; }
}

/* ============ PAGE: PAYMENTS ============ */
.page-hero {
  padding: 60px 0 50px;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-bg) 100%);
}
.page-hero__crumbs { font-size: 13px; color: var(--color-text-muted); margin-bottom: 16px; }
.page-hero__crumbs a { color: var(--color-primary); }
.page-hero__title { font-size: clamp(28px, 4vw, 42px); font-weight: 800; line-height: 1.15; margin-bottom: 16px; max-width: 880px; }
.page-hero__lead { font-size: 18px; color: var(--color-text-muted); line-height: 1.65; max-width: 820px; }

.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.adv-card { background: white; border-radius: var(--radius-lg); padding: 28px 22px; box-shadow: var(--shadow-sm); transition: transform .2s ease; position: relative; }
.adv-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.adv-card__icon { font-size: 36px; margin-bottom: 14px; }
.adv-card h3 { font-size: 17px; margin-bottom: 8px; font-weight: 700; }
.adv-card p { font-size: 14px; color: var(--color-text-muted); line-height: 1.55; }
.adv-card--accent {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: white;
  box-shadow: 0 10px 28px rgba(14, 124, 102, 0.28);
}
.adv-card--accent h3, .adv-card--accent p { color: white; }
.adv-card--accent p { opacity: 0.92; }

/* docs needed */
.docs-needed { background: var(--color-bg-alt); }
.docs-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.docs-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 18px;
  align-items: center;
  background: white;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.docs-item__num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  font-weight: 700;
  display: grid; place-items: center;
}
.docs-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 3px; }
.docs-item p { font-size: 13.5px; color: var(--color-text-muted); line-height: 1.5; }
.docs-item__who {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  color: white;
  white-space: nowrap;
}
.docs-item__who--you {
  background: var(--color-accent);
  color: #1a2622;
}

/* steps — добавление бейджа "День" */
.ps-step__day {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-primary);
  background: var(--color-primary-light);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
}

/* advance block */
.advance {
  background:
    radial-gradient(ellipse at top right, rgba(212, 165, 116, 0.18) 0%, transparent 50%),
    linear-gradient(135deg, #0a5a4a 0%, #0e7c66 50%, #15a085 100%);
  color: white;
}
.advance__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: flex-start;
  max-width: 920px;
  margin: 0 auto;
}
.advance__icon {
  font-size: 56px;
  width: 96px; height: 96px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border-radius: 24px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.advance__kicker {
  display: inline-block;
  background: var(--color-accent);
  color: #1a2622;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}
.advance h2 { color: white; font-size: clamp(24px, 3vw, 32px); margin-bottom: 14px; }
.advance__lead, .advance p { color: white; font-size: 16px; line-height: 1.65; opacity: 0.95; }
.advance__bullets { list-style: none; margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.advance__bullets li { padding-left: 24px; position: relative; font-size: 15px; opacity: 0.95; }
.advance__bullets li::before { content: "✓"; position: absolute; left: 0; color: var(--color-accent); font-weight: 700; font-size: 17px; }

@media (max-width: 700px) {
  .docs-item { grid-template-columns: 36px 1fr; gap: 12px; padding: 14px 16px; }
  .docs-item__who { grid-column: 1 / -1; justify-self: start; }
  .advance__inner { grid-template-columns: 1fr; gap: 20px; text-align: left; }
  .advance__icon { width: 72px; height: 72px; font-size: 40px; }
}

.payments-steps { background: var(--color-bg-alt); }
.ps-list { list-style: none; max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.ps-step {
  display: grid; grid-template-columns: 56px 1fr; gap: 24px; align-items: flex-start;
  background: white; padding: 28px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.ps-step__num {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white; font-weight: 800; font-size: 22px;
}
.ps-step h3 { font-size: 19px; margin-bottom: 8px; }
.ps-step p { font-size: 15px; color: var(--color-text-muted); line-height: 1.6; }

.bank-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bank-spotlight {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: flex-start;
  background: linear-gradient(135deg, white 0%, var(--color-primary-light) 100%);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border-left: 6px solid var(--color-primary);
}
.bank-spotlight__icon {
  font-size: 48px;
  width: 84px; height: 84px;
  border-radius: 20px;
  background: var(--color-primary);
  color: white;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.bank-spotlight__text h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--color-primary-dark);
}
.bank-spotlight__text ul {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 10px;
}
.bank-spotlight__text li {
  padding-left: 26px;
  position: relative;
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.55;
}
.bank-spotlight__text li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--color-primary);
  font-weight: 800;
  font-size: 18px;
}
.banks__note {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: var(--color-text-muted);
  font-style: italic;
}
@media (max-width: 600px) {
  .bank-spotlight { grid-template-columns: 1fr; gap: 18px; padding: 22px; }
  .bank-spotlight__icon { width: 64px; height: 64px; font-size: 36px; }
}
.bank-card { background: var(--color-bg); border-radius: var(--radius-lg); padding: 24px; border-left: 4px solid var(--color-primary); }
.bank-card h4 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.bank-card__tag {
  display: inline-block;
  background: var(--color-primary-light); color: var(--color-primary-dark);
  padding: 4px 10px; border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 600; margin-bottom: 12px;
}
.bank-card p:not(.bank-card__tag) { font-size: 14px; color: var(--color-text-muted); line-height: 1.55; }

.transfers { background: white; }
.table-card { background: var(--color-bg); border-radius: var(--radius-lg); padding: 8px; overflow-x: auto; }
.transfers-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; min-width: 720px; }
.transfers-table th, .transfers-table td { padding: 14px 18px; text-align: left; }
.transfers-table th { background: var(--color-bg-alt); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--color-text-muted); }
.transfers-table tbody tr { background: white; }
.transfers-table tbody tr + tr td { border-top: 1px solid var(--color-border); }
.transfers-table tbody td { color: var(--color-text-muted); }
.transfers-table tbody td:first-child { color: var(--color-text); }
.transfers__note { font-size: 13px; color: var(--color-text-muted); margin-top: 20px; text-align: center; font-style: italic; }

.accept { background: var(--color-bg-alt); }
.accept-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.accept-grid--two { grid-template-columns: repeat(2, 1fr); max-width: 880px; margin: 0 auto; }
.accept-card { background: white; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.accept-card h4 { font-size: 18px; margin-bottom: 14px; }
.accept-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.accept-card ul li { padding-left: 22px; position: relative; font-size: 14px; color: var(--color-text-muted); }
.accept-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--color-primary); font-weight: 700; }
.accept-card__note { margin-top: 16px; font-size: 12px; font-style: italic; color: var(--color-text-muted); }

.legal-note { background: var(--color-bg); }
.legal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.legal-grid--single { grid-template-columns: 1fr; max-width: 720px; margin: 0 auto; text-align: center; }
.legal-grid--single h3 { margin-bottom: 12px; }
.legal-grid h3 { font-size: 18px; margin-bottom: 12px; color: var(--color-primary-dark); }
.legal-grid p { font-size: 14px; color: var(--color-text-muted); line-height: 1.65; }

.payments-cta { background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%); color: white; }
.payments-cta__inner { text-align: center; max-width: 720px; margin: 0 auto; }
.payments-cta h2 { color: white; font-size: clamp(26px, 3.5vw, 36px); margin-bottom: 16px; }
.payments-cta p { font-size: 17px; opacity: 0.92; margin-bottom: 28px; }
.payments-cta__buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.payments-cta .btn--ghost { color: white; border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.08); backdrop-filter: blur(8px); }
.payments-cta .btn--ghost:hover { background: rgba(255,255,255,0.2); }

@media (max-width: 1024px) {
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .bank-grid, .accept-grid { grid-template-columns: repeat(2, 1fr); }
  .legal-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .adv-grid, .bank-grid, .accept-grid { grid-template-columns: 1fr; }
  .ps-step { grid-template-columns: 48px 1fr; gap: 16px; padding: 20px; }
  .ps-step__num { width: 48px; height: 48px; font-size: 19px; }
}

/* ============ MODAL ============ */
.modal { border: none; padding: 0; max-width: 600px; width: 90%; border-radius: var(--radius-lg); }
.modal::backdrop { background: rgba(15,24,21,0.6); }
.modal__inner { padding: 32px; position: relative; }
.modal__close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--color-bg); display: grid; place-items: center; font-size: 16px; }
.modal__close:hover { background: var(--color-border); }
.modal h3 { margin-bottom: 12px; padding-right: 40px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero { min-height: 540px; padding: 80px 0 90px; }
  .calc { grid-template-columns: 1fr; }
  .calc__result { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .pkg-grid, .cases__grid, .guar-grid, .doctors__grid { grid-template-columns: 1fr; }
  .clinic__inner, .contact__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .nav { display: none; }
  .burger { display: flex; }
  .lang-switcher { order: 2; }
  .hero { padding: 60px 0 70px; min-height: 480px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }

  /* === Таблица сравнения как карточки по критерию === */
  .compare-table {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: transparent;
    border-radius: 0;
    overflow: visible;
  }
  .compare-table__row {
    display: grid;
    grid-template-columns: 1fr;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 16px 18px;
    gap: 0;
  }
  .compare-table .compare-table__row--head { display: none; }
  .compare-table__cell {
    background: transparent !important;
    padding: 8px 0;
    border-top: 1px solid var(--color-border);
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 12px;
    align-items: baseline;
    font-size: 14px;
  }
  .compare-table__cell:first-child {
    border-top: none;
    grid-template-columns: 1fr;
    padding-top: 0;
    padding-bottom: 12px;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--color-primary-dark);
  }
  .compare-table__cell[data-mlabel]::before {
    content: attr(data-mlabel);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-muted);
  }
  .compare-table__cell--win[data-mlabel]::before { color: var(--color-primary); }
  .compare-table__cell--win {
    font-weight: 700;
    color: var(--color-primary-dark);
  }

  .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .mobile-cta { display: block; }
  body { padding-bottom: 64px; }
  .floating { bottom: 76px; right: 12px; gap: 8px; }
  .floating__btn { width: 38px; height: 38px; font-size: 15px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero__content h1 { font-size: 30px; }
  .section__title { font-size: 26px; }
  .calc__procedures, .calc__result, .form { padding: 20px; }
}
