/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
html { line-height: 1.15; -webkit-text-size-adjust: 100%; }
body { margin: 0; }
main { display: block; }
h1 { font-size: 2em; margin: 0.67em 0; }
hr { box-sizing: content-box; height: 0; overflow: visible; }
pre { font-family: monospace, monospace; font-size: 1em; }
a { background-color: transparent; }
abbr[title] { border-bottom: none; text-decoration: underline; text-decoration: underline dotted; }
b, strong { font-weight: bolder; }
code, kbd, samp { font-family: monospace, monospace; font-size: 1em; }
small { font-size: 80%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sub { bottom: -0.25em; }
sup { top: -0.5em; }
img { border-style: none; }
button, input, optgroup, select, textarea { font-family: inherit; font-size: 100%; line-height: 1.15; margin: 0; }
button, input { overflow: visible; }
button, select { text-transform: none; }
button, [type="button"], [type="reset"], [type="submit"] { -webkit-appearance: button; }
button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner { border-style: none; padding: 0; }
button:-moz-focusring, [type="button"]:-moz-focusring, [type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring { outline: 1px dotted ButtonText; }
fieldset { padding: 0.35em 0.75em 0.625em; }
legend { box-sizing: border-box; color: inherit; display: table; max-width: 100%; padding: 0; white-space: normal; }
progress { vertical-align: baseline; }
textarea { overflow: auto; }
[type="checkbox"], [type="radio"] { box-sizing: border-box; padding: 0; }
[type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button { height: auto; }
[type="search"] { -webkit-appearance: textfield; outline-offset: -2px; }
[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
::-webkit-file-upload-button { -webkit-appearance: button; font: inherit; }
details { display: block; }
summary { display: list-item; }
template { display: none; }
[hidden] { display: none; }

/* ===== Базовые сбросы ===== */
p, h1, h2, h3, h4, h5, h6 { margin: 0; padding: 0; font-weight: 400; }
html { box-sizing: border-box; scroll-behavior: smooth; overflow-x: hidden; }
* { outline: none; }
*, *::before, *::after { box-sizing: inherit; }
body { overflow-x: hidden; font-family: "Inter", sans-serif; background: #F3F4F8; color: #0E212C; }
a { text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }

/* ===== Переменные (светлая тема era‑platform) ===== */
:root {
  --bg-dark: #F3F4F8;
  --bg-card: #FFFFFF;
  --border-glass: #E6E6E6;
  --primary: #E6372D;
  --primary-light: #C31919;
  --secondary: #231450;
  --secondary-light: #283C78;
  --accent: #231450;
  --text-light: #0E212C;           /* основной тёмный текст */
  --text-muted: #4A5A6A;           /* второстепенный текст */
  --shadow-glow: 4px 4px 30px rgba(0,0,0,0.06);
  --radius: 16px;
  --transition: 0.3s ease;
}

/* ===== Контейнер ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 1200px) { .container { max-width: 950px; } }
@media (max-width: 992px) { .container { max-width: 730px; } }
@media (max-width: 768px) { .container { max-width: 100%; padding: 0 15px; } }

/* ===== Секции ===== */
section { padding: 80px 0; }
@media (max-width: 768px) { section { padding: 60px 0; } }

/* ===== Типографика ===== */
.section-title { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; color: #0E212C; }
.section-subtitle { font-size: 1.2rem; font-weight: 500; color: #4A5A6A; margin-bottom: 20px; max-width: 700px; }
.section-details { font-size: 1rem; color: #2D3A4A; max-width: 680px; margin-bottom: 32px; line-height: 1.8; }
.text-center { text-align: center; }
.text-center .section-subtitle, .text-center .section-details { margin-left: auto; margin-right: auto; }

@media (max-width: 768px) {
  .section-title { font-size: 2rem; }
  .section-subtitle { font-size: 1rem; }
}

/* ===== Кнопки ===== */
.btn-primary {
  background: linear-gradient(118.97deg, #E6372D 0.19%, #C31919 99.81%);
  color: #fff !important;
  border: none;
  padding: 12px 32px; border-radius: 12px; font-weight: 600; font-size: 1rem;
  cursor: pointer; transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(230,55,45,0.3);
  text-decoration: none; display: inline-block;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(230,55,45,0.4); }

.btn-outline {
  background: transparent; border: 2px solid var(--primary); color: var(--primary);
  padding: 10px 28px; border-radius: 12px; font-weight: 600; font-size: 1rem;
  cursor: pointer; transition: all 0.2s; text-decoration: none; display: inline-block;
}
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

.pill {
  display: inline-block; background: rgba(230,55,45,0.1); color: var(--primary);
  padding: 6px 18px; border-radius: 30px; font-weight: 600; font-size: 0.9rem;
}

/* ===== Карточки (светлые) ===== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 24px; padding: 32px 24px;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: var(--shadow-glow);
}
.card:hover { transform: translateY(-6px); box-shadow: 4px 4px 30px rgba(0,0,0,0.12); }
.card-icon { font-size: 2.4rem; margin-bottom: 14px; color: var(--primary); }
.card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; color: #0E212C; }
.card p { color: #2D3A4A; font-size: 0.95rem; line-height: 1.6; }
.card .tag { display: inline-block; margin-top: 12px; font-size: 0.85rem; font-weight: 600; color: var(--primary); background: rgba(230,55,45,0.1); padding: 4px 14px; border-radius: 20px; }

/* Переопределение inline-стилей в карточках уровней */
.card p[style*="color:#cbd5e1"],
.card p[style*="color:var(--text-muted)"],
.card p[style*="color:#94a3b8"] {
  color: #2D3A4A !important;
}

.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

@media (max-width: 992px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

/* ===== Hero ===== */
.hero-bg {
  background: #FFFFFF;
  padding-top: 140px; padding-bottom: 60px;
  position: relative; overflow: hidden;
  border-bottom: 1px solid #E6E6E6;
}
.hero-title { font-size: 3.6rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; max-width: 850px; margin-bottom: 20px; color: #0E212C; }
.hero-title span { color: var(--primary); }
.hero-desc { font-size: 1.3rem; color: #4A5A6A; max-width: 650px; margin-bottom: 24px; }
.hero-metrics { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 40px; }
.hero-metrics .number { font-weight: 800; font-size: 2rem; color: var(--primary); display: block; }
.hero-metrics .label { color: #4A5A6A; font-weight: 500; }

@media (max-width: 992px) { .hero-title { font-size: 2.8rem; } }
@media (max-width: 768px) { .hero-title { font-size: 2.2rem; } }

/* ===== Навигация (светлая) ===== */
.navbar {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid #E6E6E6;
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 14px 0;
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-weight: 800; font-size: 1.7rem; letter-spacing: -0.5px; color: #0E212C; }
.logo span { color: var(--primary); }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { text-decoration: none; color: #4A5A6A; font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--primary); }

@media (max-width: 768px) { .nav-links { display: none; } }

/* ===== Футер (светлый) ===== */
footer { background: #FFFFFF; border-top: 1px solid #E6E6E6; color: #4A5A6A; padding: 40px 0; }
.footer-two-col { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; }
.footer-left { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; color: #4A5A6A; }
.footer-left .company { font-weight: 500; color: #0E212C; }
.footer-left a { color: #4A5A6A; text-decoration: none; }
.footer-left a:hover { color: var(--primary); }
.footer-right { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; color: #4A5A6A; max-width: 500px; text-align: left; }
.footer-right .owner-text { font-size: 0.95rem; line-height: 1.6; color: #2D3A4A; }
.footer-right .disclosure-link { color: var(--primary); text-decoration: none; font-size: 0.95rem; }
.footer-right .disclosure-link:hover { text-decoration: underline; }
@media (max-width: 768px) { .footer-two-col { flex-direction: column; } }

/* ===== Слайдер скриншотов (светлый) ===== */
.features-slider {
  position: relative;
  margin-top: 32px;
  overflow: hidden;
}
.slider-container {
  position: relative;
  overflow: hidden;
}
.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}
.slider-slide {
  flex: 0 0 100%;
  box-sizing: border-box;
  padding: 0 4px;
}
.slide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.slide-img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid #E6E6E6;
  display: block;
  box-shadow: var(--shadow-glow);
}
.slide-caption {
  color: #2D3A4A;
  text-align: center;
  margin-top: 8px;
  font-size: 0.9rem;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-btn:hover { background: var(--primary); }
.slider-btn-prev { left: 10px; }
.slider-btn-next { right: 10px; }

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}
.slider-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #D1D5DB;
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.3s, background 0.3s;
}
.slider-dots .dot.active {
  opacity: 1;
  background: var(--primary);
}

@media (max-width: 768px) {
  .slide-grid { grid-template-columns: 1fr; gap: 16px; }
  .slider-btn { width: 30px; height: 30px; font-size: 18px; }
}

/* ===== Прочие утилиты ===== */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

.phone-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.phone-tags span { background: #F3F4F8; padding: 6px 16px; border-radius: 30px; border: 1px solid #E6E6E6; color: #2D3A4A; font-size: 0.9rem; }
.phone-tags span i { color: var(--primary); margin-right: 6px; }

.levels-left .section-title,
.levels-left .section-subtitle {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}
.levels-left .section-subtitle { max-width: 700px; }

/* ===== Чат-ассистент (светлый) ===== */
.chat-container {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 32px;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: var(--shadow-glow);
}
.chat-messages {
  min-height: 200px;
  max-height: 300px;
  overflow-y: auto;
  padding: 16px;
  background: #F9FAFB;
  border-radius: 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chat-messages .msg {
  padding: 12px 18px;
  border-radius: 18px;
  max-width: 80%;
  font-size: 0.95rem;
  line-height: 1.5;
}
.chat-messages .user {
  align-self: flex-end;
  background: var(--primary);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-messages .bot {
  align-self: flex-start;
  background: #F3F4F8;
  border: 1px solid #E6E6E6;
  color: #0E212C;
  border-bottom-left-radius: 4px;
}
.chat-input-row {
  display: flex;
  gap: 12px;
}
.chat-input-row input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 40px;
  border: 1px solid var(--border-glass);
  background: #F9FAFB;
  color: #0E212C;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}
.chat-input-row input:focus { border-color: var(--primary); }
.chat-input-row input::placeholder { color: #8F95B1; }
.chat-input-row button {
  background: linear-gradient(118.97deg, #E6372D 0.19%, #C31919 99.81%);
  border: none;
  color: #fff;
  padding: 0 30px;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(230,55,45,0.3);
}
.chat-input-row button:hover { transform: scale(1.02); box-shadow: 0 8px 30px rgba(230,55,45,0.4); }
.chat-hint {
  margin-top: 12px;
  color: #4A5A6A;
  font-size: 0.9rem;
}
.chat-hint span { background: #F3F4F8; padding: 4px 12px; border-radius: 20px; margin: 0 4px; cursor: pointer; border: 1px solid #E6E6E6; color: #0E212C; }
.chat-hint span:hover { border-color: var(--primary); color: var(--primary); }
@media (max-width: 768px) {
  .chat-container { padding: 20px; }
  .chat-input-row { flex-direction: column; }
  .chat-input-row button { padding: 14px; }
}

/* ===== CTA (синий фон, белый текст) ===== */
.cta-section {
  background: linear-gradient(175.85deg, #283C78 0.01%, #231450 99.99%);
  border: none;
  border-radius: 24px; padding: 60px 48px;
  position: relative; overflow: hidden;
  color: #fff;
}
.cta-section .section-title { color: #fff; }
.cta-section .section-subtitle { color: #D1D5DB; }
.cta-section .btn-primary { background: linear-gradient(118.97deg, #E6372D 0.19%, #C31919 99.81%); color: #fff; box-shadow: 0 8px 24px rgba(230,55,45,0.3); }
.cta-section .btn-primary:hover { box-shadow: 0 8px 32px rgba(230,55,45,0.5); }
.cta-tags { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 32px; position: relative; z-index: 1; }
.cta-tags span { background: rgba(255,255,255,0.1); padding: 8px 20px; border-radius: 30px; font-weight: 500; font-size: 0.95rem; border: 1px solid rgba(255,255,255,0.2); color: #D1D5DB; }
.cta-tags span i { color: #fff; margin-right: 6px; }
.cta-foot { margin-top: 20px; opacity: 0.7; font-size: 0.9rem; position: relative; z-index: 1; color: #D1D5DB; }
@media (max-width: 768px) { .cta-section { padding: 40px 24px; } }

/* ===== Сравнение (проблема/решение) ===== */
.compare {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  background: var(--bg-card);
  border-radius: 24px; padding: 40px;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-glow);
}
.compare-col { padding: 8px; }
.compare-col.bad { border-left: 5px solid #ef4444; }
.compare-col.good { border-left: 5px solid var(--primary); }
.compare-col h3 { font-size: 1.4rem; margin-bottom: 16px; color: #0E212C; }
.compare-col ul { list-style: none; padding: 0; }
.compare-col ul li { padding: 10px 0; border-bottom: 1px solid var(--border-glass); display: flex; gap: 12px; align-items: flex-start; color: #2D3A4A; }
.compare-col ul li i { margin-top: 4px; }
.compare-col.bad ul li i { color: #ef4444; }
.compare-col.good ul li i { color: var(--primary); }
@media (max-width: 768px) { .compare { grid-template-columns: 1fr; padding: 24px; } }

/* ===== Метрики ===== */
.metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin: 40px 0; }
.metric-item {
  background: var(--bg-card);
  padding: 28px 20px; border-radius: 20px; text-align: center;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-glow);
  transition: transform 0.3s;
}
.metric-item:hover { transform: translateY(-4px); box-shadow: 4px 4px 30px rgba(0,0,0,0.12); }
.metric-number { font-size: 2.6rem; font-weight: 800; color: var(--primary); line-height: 1.2; }
.metric-label { font-weight: 600; color: #2D3A4A; margin-top: 6px; }
.metric-desc { font-size: 0.9rem; color: #4A5A6A; margin-top: 4px; }
@media (max-width: 992px) { .metrics { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { .metrics { grid-template-columns: 1fr; } }

/* ===== Партнёры ===== */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 30px;
  margin: 40px 0;
}
.partner-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.3s;
  box-shadow: var(--shadow-glow);
}
.partner-item:hover { transform: translateY(-6px); box-shadow: 4px 4px 30px rgba(0,0,0,0.12); }
.partner-item i { font-size: 2.2rem; color: var(--primary); margin-bottom: 16px; }
.partner-item h4 { font-size: 1.2rem; margin-bottom: 8px; color: #0E212C; }
.partner-item p { color: #4A5A6A; font-size: 0.95rem; }

/* ===== О компании (чанк standart) ===== */
.about-company {
  padding: 40px 0;
  background: #FFFFFF;
  border-top: 1px solid #E6E6E6;
}
.about-company .company-label {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary);
  letter-spacing: 0.3px;
  margin-bottom: 4px;
}
.about-company .company-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #0E212C;
  margin: 0 0 8px 0;
}
.about-company .company-text {
  font-size: 1rem;
  color: #2D3A4A;
  line-height: 1.7;
  max-width: 900px;
}
.about-company .company-text strong {
  color: #0E212C;
}

/* ===== Переопределения inline-стилей в чанках ===== */
/* Все тексты, которые были светлыми на тёмном фоне, становятся тёмными на светлом */
#levels div[style*="background:var(--bg-card)"] p,
#levels div[style*="background:var(--bg-card)"] strong,
#quality .section-subtitle[style*="color:#94a3b8"],
#quality .section-details[style*="color:#cbd5e1"],
#quality p[style*="color:#94a3b8"],
#quality p[style*="color:#cbd5e1"],
#quality div[style*="background:var(--bg-card)"] span,
#bot .section-details[style*="color:var(--text-muted)"],
#bot p[style*="color:var(--text-muted)"],
#bot li[style*="color:var(--text-muted)"],
#metrics div[style*="background:var(--bg-card)"] p,
#metrics .pill {
  color: #2D3A4A !important;
}
/* В CTA и на синем фоне всё должно быть белым */
.cta-section .section-title,
.cta-section .section-subtitle,
.cta-section .cta-tags span,
.cta-section .cta-foot {
  color: #fff !important;
}
.cta-section .cta-tags span i {
  color: #fff !important;
}
/* Кнопки в CTA уже имеют белый текст через .btn-primary */

/* Адаптивность */
@media (max-width: 1200px) {
  .container { max-width: 950px; }
}
@media (max-width: 992px) {
  .container { max-width: 730px; }
}
@media (max-width: 768px) {
  .container { max-width: 100%; padding: 0 15px; }
  section { padding: 60px 0; }
}
@media (max-width: 576px) {
  /* дополнительные мелкие правки */
}
/* === Блок сравнения на тёмном фоне (как CTA) === */
.compare-dark {
  background: linear-gradient(175.85deg, #283C78 0.01%, #231450 99.99%);
  border: none;
  box-shadow: none;
}
.compare-dark .compare-col {
  border-left-color: rgba(255,255,255,0.3);
}
.compare-dark .compare-col h3 {
  color: #fff;
}
.compare-dark .compare-col ul li {
  color: #D1D5DB;
  border-bottom-color: rgba(255,255,255,0.1);
}
/* иконки по умолчанию белые, но для плохих и хороших оставляем цвета */
.compare-dark .compare-col.bad ul li i {
  color: #ef4444; /* красный для крестиков */
}
.compare-dark .compare-col.good ul li i {
  color: #4ade80; /* зелёный для галочек (можно заменить на primary-light) */
}
/* === Карточки сравнения в блоке робота (тёмно-синие) === */
.bot-compare {
  background: linear-gradient(175.85deg, #283C78 0.01%, #231450 99.99%);
  border: none;
  border-radius: 20px;
  padding: 24px;
  color: #fff;
}
.bot-compare h4 {
  color: #fff !important;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.bot-compare ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.bot-compare ul li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  gap: 10px;
  color: #D1D5DB;
  font-size: 0.95rem;
}
.bot-compare ul li:last-child {
  border-bottom: none;
}
.bot-compare ul li i {
  margin-top: 2px;
}
/* Иконки остаются цветными */
.bot-compare.bad ul li i {
  color: #ef4444; /* красный для крестиков */
}
.bot-compare.good ul li i {
  color: #4ade80; /* зелёный для галочек (или замените на нужный) */
}
/* Дополнительно: если нужно выровнять заголовки с иконками */
.bot-compare h4 i {
  margin-right: 6px;
}
/* ===== Форма в CTA ===== */
.cta-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-form-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cta-form-row .cta-input {
  flex: 1;
  min-width: 200px;
  padding: 14px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}
.cta-form-row .cta-input::placeholder {
  color: rgba(255,255,255,0.6);
}
.cta-form-row .cta-input:focus {
  border-color: #fff;
}
.cta-form-row .btn-primary {
  flex-shrink: 0;
  padding: 14px 32px;
}
.cta-form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #D1D5DB;
  font-size: 0.9rem;
  cursor: pointer;
}
.cta-form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--primary);
  cursor: pointer;
}
.cta-form-checkbox a {
  color: #fff;
  text-decoration: underline;
}
.cta-form-checkbox a:hover {
  text-decoration: none;
}
.cta-form-status {
  margin-top: 8px;
  font-size: 0.95rem;
  color: #4ade80; /* зелёный для успеха */
}
.cta-form-status.error {
  color: #ef4444;
}
@media (max-width: 768px) {
  .cta-form-row {
    flex-direction: column;
  }
  .cta-form-row .btn-primary {
    width: 100%;
  }
}
/* ===== Стили для формы в CTA ===== */
.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}
#ctaForm textarea {
  transition: border-color 0.3s;
}
#ctaForm textarea:focus {
  border-color: var(--primary);
  outline: none;
}
#ctaForm label a {
  color: #fff;
  text-decoration: underline;
}
#ctaForm label a:hover {
  color: var(--primary-light);
}
/* ===== Сообщения формы в CTA ===== */
.cta-success {
  color: #4ade80;
  padding: 12px 16px;
  background: rgba(74, 222, 128, 0.15);
  border-radius: 12px;
  border: 1px solid rgba(74, 222, 128, 0.3);
}
.cta-error {
  color: #f87171;
  padding: 12px 16px;
  background: rgba(248, 113, 113, 0.15);
  border-radius: 12px;
  border: 1px solid rgba(248, 113, 113, 0.3);
}
/* Только для слайдера качества */
#qualitySlider .slide-img {
  max-height: 380pt;
  width: 100%;
  object-fit: contain;
}
/* Компенсация фиксированного хедера для якорных переходов */
section[id] {
  scroll-margin-top: 60px; /* Высота хедера + небольшой запас */
}
/* ===== Адаптивность для сеток ===== */
@media (max-width: 992px) {
  .grid-3 {
    grid-template-columns: 1fr 1fr !important;
  }
  .grid-4 {
    grid-template-columns: 1fr 1fr !important;
  }
}
@media (max-width: 768px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr !important;
  }
  .grid-2 {
    grid-template-columns: 1fr !important;
  }
}