/* ============================================================
   Лендинг D&D — семантическая вёрстка по макету Figma.
   ============================================================ */

/* Geologica — локальные файлы (без зависимости от Google Fonts).
   Вариативный шрифт wght 300–700; unicode-range грузит только нужные сабсеты. */
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../assets/fonts/geologica-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../assets/fonts/geologica-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../assets/fonts/geologica-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../assets/fonts/geologica-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* ===== Палитра ===== */
  --blue-rgb: 56, 85, 125;      /* основной фирменный (триплет для rgba()) */
  --muted-rgb: 124, 150, 184;   /* приглушённый фирменный */
  --dark-rgb: 30, 43, 62;       /* тёмный фирменный */
  --blue: rgb(var(--blue-rgb));
  --muted: rgb(var(--muted-rgb));
  --blue-dark: rgb(var(--dark-rgb));
  --bg: #f9f9f9;                /* фон страницы и карточек на белом */
  --gray: #f2f3f5;              /* серая подложка (колонка D&D) */
  --surface: #ffffff;           /* белые поверхности */
  --on-dark: #ffffff;           /* текст/иконки на тёмном */
  --popular-bg: #f7f8fa;        /* фон популярного тарифа */
  --footer-card-bg: #e9edf1;    /* карточка футера */
  --neutral: #969ea4;           /* нейтральные значения «бланков» */
  --success: #2f9e77;           /* галочки, позитивные значения */

  /* ===== Градиенты ===== */
  --gradient-dark: linear-gradient(60deg, var(--blue-dark) 22%, var(--blue) 130%);
  --gradient-benefits: linear-gradient(57deg, var(--blue-dark) 22%, var(--blue) 100%);

  /* ===== Радиусы ===== */
  --radius-card: 30px;
  --radius-img: 20px;
  --radius-pill: 100px;
  --radius-switch: 500px;

  /* ===== Тени ===== */
  --shadow-card: 0 0 7.5px rgba(var(--blue-rgb), 0.15);
  --shadow-btn: 0 1px 4px rgba(var(--blue-rgb), 0.18);
  --shadow-panel: -10px 0 20px rgba(var(--blue-rgb), 0.15);

  /* ===== Компоновка и шрифт ===== */
  --container: 1220px;
  --section-pad: 65px;
  --scroll-offset: 100px;
  --font: 'Geologica', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.lp {
  font-family: var(--font);
  font-weight: 300;
  color: var(--blue);
  background: var(--bg);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { background: none; border: none; font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-weight: 400; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
#features, #benefits, #pricing, #reviews { scroll-margin-top: var(--scroll-offset); }
h1 { font-size: 88px; line-height: 86px; font-weight: 300; letter-spacing: -2.64px; }
h2 { font-size: 48px; line-height: 48px; letter-spacing: -1.44px; font-weight: 400; }
h3 { font-size: 30px; line-height: 32px; letter-spacing: -0.9px; font-weight: 400; }
.section-sub { font-size: 20px; line-height: 26px; margin-top: 20px; }
.lead { font-size: 20px; line-height: 26px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  font-size: 20px;
  line-height: 16px;
  padding: 21px 30px;
  transition: opacity 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { opacity: 0.9; }
.btn-primary { background: var(--blue); color: var(--on-dark); }
.btn-muted { background: var(--muted); color: var(--on-dark); font-size: 16px; padding: 10px 20px; line-height: 16px; }
.btn-outline { border: 1px solid var(--muted); color: var(--muted); }
.btn-light { background: var(--gray); color: var(--blue); font-size: 16px; padding: 10px 20px; line-height: 16px; }
.btn-white { background: var(--surface); color: var(--blue); }

.site-header { background: var(--surface); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; gap: 32px; height: 90px; }
.logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.logo-text { font-size: 15px; font-weight: 600; line-height: 1.1; letter-spacing: 0.5px; color: var(--blue-dark); }
.main-nav { display: flex; gap: 41px; margin-left: 73px; }
.main-nav a { font-size: 16px; line-height: 28px; transition: color 0.2s; }
.main-nav a:hover { color: var(--muted); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 36px; }
.header-actions .btn { font-size: 16px; line-height: 16px; padding: 10px 20px; }
.lk-link { font-size: 16px; line-height: 28px; color: var(--muted); }
.lk-link:hover { color: var(--blue); }
.lk-link, .main-nav a, .header-actions .btn { white-space: nowrap; }
.burger-btn { display: none; flex-direction: column; gap: 6px; padding: 6px; margin-left: auto; }
.burger-btn span { display: block; width: 26px; height: 2px; background: var(--blue); border-radius: 2px; }

.hero { padding: 76px 0 0; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 40px;
  align-items: start;
  margin-bottom: 74px;
}
.hero-side .lead { margin-bottom: 40px; }
.checks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 40px;
  margin-bottom: 40px;
}
.checks li {
  position: relative;
  padding-left: 25px;
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 15px;
  height: 11px;
  background: var(--muted);
  clip-path: polygon(0 45%, 40% 100%, 100% 0, 82% 0, 38% 55%, 15% 22%);
}
.hero-btns { display: flex; gap: 30px; }
.hero-mock { position: relative; }
.mock-bg { width: 100%; border-radius: 6px; }

.stats { padding: 60px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.stat-num { font-size: 88px; line-height: 86px; font-weight: 300; letter-spacing: -2.64px; }
.stat-label { font-size: 20px; line-height: 26px; margin-top: 23px; }

.faster { padding: 60px 0; position: relative; }
/* Радиальный градиент с центром под картинкой (как в макете), мокап поверх прозрачный. */
.faster::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(1150px 780px at 67% 100%, rgba(var(--muted-rgb), 0.38) 0%, rgba(var(--muted-rgb), 0.14) 45%, rgba(var(--muted-rgb), 0) 72%);
  pointer-events: none;
}
.faster-grid { position: relative; display: grid; grid-template-columns: 380px 1fr; gap: 120px; align-items: stretch; }
.faster-text { display: flex; flex-direction: column; align-items: flex-start; }
.faster-text h2 { max-width: 614px; }
.faster-text .lead { margin: 60px 0 60px; max-width: 380px; }
.faster-text .btn { margin-top: auto; }
.faster-media { display: flex; flex-direction: column; justify-content: flex-end; }
.faster-media img { border-radius: 6px; width: 100%; }
.faster-labels {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  margin-top: 25px;
  font-size: 16px;
  font-weight: 500;
}
.faster-labels li { position: relative; padding-left: 24px; }
.faster-labels li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 15px;
  height: 11px;
  background: var(--muted);
  clip-path: polygon(0 45%, 40% 100%, 100% 0, 82% 0, 38% 55%, 15% 22%);
}

.features { padding: 65px 0; background: var(--surface); }
.features-top { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.features-bottom { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 20px; }
/* Картинка прижата к верху карточки (как в макете): при разной длине
   заголовков/текста обе картинки остаются на одной высоте и выровнены по верху. */
.card-580 { display: flex; flex-direction: column; gap: 15px; min-height: 440px; }
.card-580 .card-img { height: 210px; min-height: 210px; flex: 0 0 210px; border-radius: var(--radius-img); overflow: hidden; }
.card-580 .card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-380 { display: flex; flex-direction: column; min-height: 510px; }
.card h3 { margin-bottom: 12px; }
.card p { font-size: 20px; line-height: 26px; }
.card-img { flex: 1 1 auto; min-height: 258px; border-radius: var(--radius-img); margin-bottom: 24px; }
.card-380 .card-img { overflow: hidden; }
.card-380 .card-img img { width: 100%; height: 100%; object-fit: cover; }

.benefits {
  position: relative;
  margin-top: 0;
  padding: 110px 0;
  background: var(--gradient-benefits);
  color: var(--on-dark);
  overflow: hidden;
}

/* преимущества: мозг — фон на всю высоту справа, плавно уходит влево в заливку */
.benefits-brain {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  transform: none;
  background: url('/modules/custom/front/assets/landing/imgAiBrain2.webp') right center / cover no-repeat;
  opacity: 0.28;
  mix-blend-mode: plus-lighter;
  -webkit-mask-image: linear-gradient(to left, #000 55%, transparent 100%);
  mask-image: linear-gradient(to left, #000 55%, transparent 100%);
}
/* «45 мин» — приглушённый (не основной) показатель */
/* «45 мин» и подпись — фирменный приглушённый #7C96B8, как в макете (токен -384_238). */
.bc-item.dim .bc-num, .bc-item.dim .bc-label { color: var(--muted); }
.bc-item.dim .bc-label { opacity: 1; }
/* мини-статы: размеры как в макете */
.mini-num { font-size: 24px; line-height: 30px; font-weight: 400; }
.mini-label { font-size: 14px; line-height: 20px; opacity: 0.85; }

.benefits .container { position: relative; }
.benefits .section-sub { opacity: 0.9; }
.benefits-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 60px 0 50px; }
.bc-num { display: flex; align-items: center; flex-wrap: nowrap; gap: 20px; font-size: 100px; line-height: 100px; font-weight: 500; white-space: nowrap; }
.bc-num .badge { line-height: 20px; font-size: 14px; }
.bc-label { font-size: 30px; line-height: 30px; font-weight: 300; letter-spacing: -0.03em; opacity: 0.85; margin-top: 16px; }
.badge {
  display: inline-block;
  background: var(--surface);
  color: var(--blue);
  font-size: 14px;
  padding: 6px 14px;
  border-radius: 100px;
  vertical-align: middle;
  margin-left: 12px;
  font-weight: 500;
}
.bc-item.with-divider { border-left: 1px solid rgba(255, 255, 255, 0.35); padding-left: 60px; }
.benefits-mini { display: flex; gap: 56px; margin-top: 36px; }
.mini-num { font-size: 40px; font-weight: 300; }
.mini-label { font-size: 16px; opacity: 0.85; margin-top: 6px; white-space: nowrap; }
.benefits-title-m { display: none; }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 100px 20px; }
.benefit img { width: 48px; height: 48px; margin-bottom: 16px; }
.benefit h4 { font-size: 20px; font-weight: 500; margin-bottom: 10px; }
.benefit p { font-size: 16px; line-height: 22px; opacity: 0.85; }

.comparison { padding: 65px 0; background: var(--surface); }
.comparison h2 { margin-bottom: 46px; }
.comparison-grid { display: grid; grid-template-columns: 1fr 378px; gap: 27px; align-items: stretch; }
.comparison-photo img { width: 100%; border-radius: var(--radius-img); }
.compare-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 0;
  overflow: hidden;
  height: 100%;
}
.compare-table { height: 100%; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.compare-table th, .compare-table td {
  text-align: center;
  padding: 15px 12px;
  border-bottom: 1px solid var(--gray);
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table th { font-weight: 500; font-size: 20px; color: var(--blue); }
.compare-table th.tl { text-align: left; padding-left: 40px; }
.compare-table td:first-child { text-align: left; padding-left: 40px; }
.compare-table .dd { background: var(--gray); }
.compare-table .big { font-size: 24px; font-weight: 600; }
.compare-table .blank.big { color: var(--neutral); }
.compare-table .ok { color: var(--success); margin-right: 6px; }
.compare-table .no { color: var(--muted); margin-right: 6px; }

.pricing { padding: 65px 0; background: var(--bg); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; align-items: stretch; }
.price-card { background: var(--surface); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 30px; display: flex; flex-direction: column; }
.price-card h3, .price-card .period, .price-card .price { text-align: center; }
.price-card.popular { border: 1px solid var(--blue); background: var(--popular-bg); }
.price-card h3 { margin-bottom: 8px; }
.period { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.period.center { text-align: center; }
.price { font-size: 40px; font-weight: 400; margin-bottom: 30px; }
.price .per { font-size: 14px; color: var(--muted); font-weight: 300; }
.price.small { font-size: 26px; line-height: 32px; }
.price-card ul { flex: 1 1 auto; margin-bottom: 24px; }
.price-card li { font-size: 16px; line-height: 22px; padding: 6px 0 6px 24px; position: relative; }
.price-card li::before { content: "\2713"; position: absolute; left: 0; color: var(--success); }
.price-card li.off { color: var(--muted); }
.price-card li.off::before { content: "\2715"; color: var(--muted); }
.period-note { font-size: 14px; color: var(--muted); text-align: center; margin-bottom: 16px; }
.price-card .btn { display: flex; width: fit-content; margin: 0 auto; padding: 10px 20px 12px; font-size: 16px; line-height: 16px; }
.period-switch {
  display: flex;
  gap: 0;
  height: 44px;
  background: rgba(var(--muted-rgb), 0.2);
  border-radius: 500px;
  padding: 3px;
  margin-bottom: 20px;
  font-size: 16px;
}
.period-switch button {
  flex: 1 1 0;
  height: 38px;
  border-radius: 500px;
  padding: 0 6px;
  white-space: nowrap;
  color: var(--blue);
  font-weight: 400;
  cursor: pointer;
  transition: color 0.15s, background-color 0.15s;
}
.period-switch .on {
  background: var(--muted);
  color: var(--on-dark);
  border-radius: 500px;
  font-weight: 500;
  box-shadow: var(--shadow-btn);
}

.reviews { padding: 65px 0; background: var(--surface); }
.reviews-head { display: flex; justify-content: space-between; align-items: flex-end; }
.reviews-arrows { display: flex; gap: 12px; }
.arrow { width: 44px; height: 44px; opacity: 0.45; cursor: pointer; }
.arrow.active { opacity: 1; }
/* Карусель отзывов: трек листается стрелками (по 3/2/1 карточки). */
.reviews-viewport { overflow: hidden; margin-top: 50px; }
.reviews-track { display: flex; gap: 20px; transition: transform 0.45s ease; }
.review-card {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
  background: var(--bg);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 30px;
  display: flex;
  flex-direction: column;
}
.arrow.disabled { opacity: 0.25; pointer-events: none; }
.review-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
/* текст по центру вертикали между шапкой и лого, лого — внизу с отступом */
.review-text { margin: auto 0; }
.review-clinic { margin-top: 18px; }
.review-avatar { width: 48px; height: 48px; border-radius: 50%; }
.review-name { font-size: 18px; font-weight: 500; }
.review-spec { font-size: 13px; color: var(--muted); margin-top: 4px; }
.review-clinic { width: 110px; height: auto; }
.review-text { font-size: 16px; line-height: 24px; }

.contacts { padding: 130px 0; }
.contacts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 50px; font-size: 16px; line-height: 24px; }
.contacts-grid h4 { font-size: 20px; font-weight: 500; margin-bottom: 16px; }
.contacts-grid a:hover { color: var(--muted); }
.requisites { margin-top: 24px; gap: 10px; }
.requisites img { filter: brightness(0) invert(1); }

.dark-zone { background: var(--gradient-dark); color: var(--on-dark); }
.cta {
  margin-top: 0;
  padding: 65px 0;
  color: var(--on-dark);
}
.cta h2, .cta p { text-align: center; }
.cta-title { max-width: 780px; margin: 0 auto; }
.cta p { margin: 24px auto 40px; font-size: 20px; line-height: 26px; opacity: 0.9; }
.cta .btn { display: flex; width: fit-content; margin: 0 auto; }
.btn-white { background: var(--surface); color: var(--blue); }
.cta-images { display: grid; grid-template-columns: repeat(3, 1fr); gap: 23px; margin: 110px 20px 0; }
.cta-images .ph { position: relative; border-radius: var(--radius-img); overflow: hidden; }
.cta-images img { width: 100%; height: 430px; object-fit: cover; display: block; }
/* фильтр наложения: все фото в одном фирменном цвете (как в макете) */
.cta-images .ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue);
  mix-blend-mode: color;
  pointer-events: none;
}

.site-footer { padding: 0 24px 40px; }
.footer-card {
  background: var(--footer-card-bg);
  border-radius: 20px;
  padding: 56px 0 0;
  color: var(--blue-dark);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
}
.footer-divider { height: 1px; background: rgba(var(--blue-rgb), 0.25); margin-top: 40px; }
.footer-card .logo { margin-bottom: 20px; }
.footer-card .logo-text { color: var(--blue-dark); }
.footer-tagline { font-size: 15px; line-height: 22px; opacity: 0.8; }
.footer-nav { display: flex; flex-direction: column; gap: 13px; font-size: 16px; }
.footer-nav a:hover { opacity: 0.7; }
.footer-nav .lk-link { color: var(--blue-dark); }
.footer-dev { font-size: 13px; opacity: 0.6; margin-bottom: 12px; }
.footer-big { display: block; font-size: 20px; font-weight: 400; margin-bottom: 10px; }
.footer-big:hover { opacity: 0.7; }
.footer-copy { padding: 18px 20px 24px; text-align: center; font-size: 13px; opacity: 0.7; }

.lp-backdrop {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(var(--dark-rgb), 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
body.burger-open .lp-backdrop { opacity: 1; pointer-events: auto; }
.burger-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 999;
  width: 320px;
  max-width: 86vw;
  height: 100vh;
  background: var(--surface);
  box-shadow: var(--shadow-panel);
  padding: 70px 30px 30px;
  transform: translateX(110%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
body.burger-open .burger-panel { transform: translateX(0); }
.burger-close { position: absolute; top: 20px; right: 20px; font-size: 24px; color: var(--blue); }
.burger-panel nav { display: flex; flex-direction: column; gap: 18px; }
.burger-panel nav a { font-size: 20px; }
.burger-tagline { color: var(--muted); font-size: 16px; }
.burger-panel .lk-link { color: var(--blue); }
body.burger-open { overflow: hidden; }

@media (max-width: 1023.98px) {
  h1 { font-size: 56px; line-height: 58px; letter-spacing: -1.6px; }
  h2 { font-size: 38px; line-height: 40px; }
  .main-nav, .header-actions .lk-link { display: none; }
  .burger-btn { display: flex; }
  .hero { padding-top: 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-side .lead { margin-bottom: 28px; }
    .stats { padding: 40px 0; }
  .stat-num { font-size: 56px; line-height: 58px; }
  .stat-label { font-size: 16px; margin-top: 10px; }
  .faster-grid { grid-template-columns: 1fr; }
  .faster-text .lead { margin: 28px 0 36px; }
  .faster-text .btn { margin-top: 0; }
  .features { padding-top: 80px; }
  .features-top, .features-bottom { grid-template-columns: 1fr 1fr; }
  .benefits { margin-top: 80px; padding: 70px 0; }
  .benefits-compare { grid-template-columns: 1fr; gap: 24px; }
  .benefits-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .comparison { padding-top: 80px; }
  .comparison-grid { grid-template-columns: 1fr; }
  .comparison-photo { max-width: 480px; }
  .pricing, .reviews, .contacts { padding-top: 80px; }
  .pricing-grid, .contacts-grid { grid-template-columns: 1fr; }
  .review-card { flex-basis: calc((100% - 20px) / 2); }
  .contacts { padding-bottom: 80px; }
  .cta { margin-top: 80px; padding-top: 70px; }
  .cta-images img { height: 200px; }
  .footer-card { grid-template-columns: 1fr; padding: 32px; }
}
@media (max-width: 639.98px) {
  .container { padding: 0 16px; }
  h1 { font-size: 42px; line-height: 46px; letter-spacing: -1.2px; }
  h2 { font-size: 30px; line-height: 34px; }
  h3 { font-size: 24px; line-height: 28px; }
  .btn { font-size: 16px; padding: 16px 24px; }
  .header-inner { height: 68px; }
  .header-actions { display: none; }
  .hero { padding-top: 32px; }
  .hero-btns { flex-direction: column; gap: 14px; }
  .stats-grid { grid-template-columns: 1fr; gap: 28px; }
  .features-top, .features-bottom { grid-template-columns: 1fr; }
  .card-580, .card-380 { min-height: 0; }
  .benefits-compare { grid-template-columns: 1fr; gap: 24px; }
  .bc-item.with-divider { border-left: none; padding-left: 0; }
  .bc-num { font-size: 64px; line-height: 64px; }
  .bc-label { font-size: 22px; line-height: 30px; }
  .benefits-mini { gap: 24px; }
  .benefits-grid { grid-template-columns: 1fr; gap: 32px; }
  .compare-table { font-size: 14px; }
  .compare-table thead th { font-size: 16px; }
  .reviews-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .review-card { flex-basis: 100%; }
  .bc-num { font-size: 46px; line-height: 50px; flex-wrap: wrap; white-space: normal; gap: 12px; }
  .bc-label { font-size: 18px; line-height: 26px; margin-top: 10px; }
  .benefits-title-d { display: none; }
  .benefits-title-m { display: block; }
  /* бейджи faster на мобильном скрыты (как в макете) */
  .faster-labels { display: none; }
  .faster h2, .faster .lead { text-align: center; margin-left: auto; margin-right: auto; }
  .faster-text { align-items: center; }
  /* тёмная секция: заголовок faster, преимущества в 1 колонку по центру */
  .benefits-grid { grid-template-columns: 1fr; gap: 48px; }
  .benefit { text-align: center; }
  .benefit img { margin: 0 auto 16px; }
  .benefits-mini { flex-wrap: nowrap; justify-content: space-between; gap: 12px; }
  /* статистика в столбик по центру */
  .stats-grid { grid-template-columns: 1fr; gap: 40px; }
  .stat { text-align: center; }
  /* заголовки секций по центру */
  .comparison h2, .pricing h2, .reviews h2, .contacts h2 { text-align: center; }
  .reviews-head { align-items: center; }
  /* сравнение: фото сверху, таблица перестраивается */
  .comparison-photo { order: -1; }
  .compare-table thead { display: block; }
  .compare-table thead tr { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 2px; }
  .compare-table thead th:first-child { display: none; }
  .compare-table thead th { background: var(--bg); }
  .compare-table tbody { display: block; }
  .compare-table tbody tr { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 2px; }
  .compare-table tbody tr td:first-child { grid-column: 1 / -1; text-align: center; padding-left: 12px; background: var(--surface); }
  /* контакты по центру */
  .contacts-grid { text-align: center; }
  .contacts .btn { margin-left: auto; margin-right: auto; }
  .requisites { justify-content: center; }
  /* футер по центру */
  .footer-card { text-align: center; }
  .footer-card .logo { justify-content: center; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-tagline br { display: none; }
  .footer-nav { align-items: center; }
  .cta p { font-size: 16px; line-height: 24px; }
  .cta-images { grid-template-columns: 1fr; margin-top: 60px; }
  .cta-images img { height: 160px; }
  .footer-card { padding: 24px; }
}

/* фикс переполнения преимуществ на узких экранах */
.benefits-compare > .bc-item { min-width: 0; }
.benefits-mini { flex-wrap: wrap; gap: 28px; }
@media (max-width: 639.98px) {
  .benefits-mini { flex-wrap: nowrap; justify-content: space-between; gap: 12px; }
  .mini-label { white-space: normal; }
}

/* жёсткий запрет горизонтального скролла (fixed/transformed элементы) */
html, body { overflow-x: clip; }
@media (max-width: 639.98px) {
  .benefits-brain { display: none; }
}
