/* Оформление сайта «Свет и воздух» (15.11.2026, владелец выбрал макет А из трёх). Слой поверх site.css на всех страницах
   сайта. Цвета макета — только в светлой теме (L = :root:not([data-theme="dark"])); размеры, отступы, формы — в обеих.
   Финальный зелёный блок (.s-final) — из прежнего оформления (владелец). Серых разделительных линий нет. */

/* ---------- цвета (светлая тема) ---------- */
:root:not([data-theme="dark"]) {
  --bg: #ffffff; --card: #ffffff; --line: #e9eeeb; --text: #121715; --muted: #5f6b65;
  --accent: #2c7a56; --accent-dark: #1f5c40; --accent-soft: #eaf5ef; --alt: #f5faf7;
  --shadow: 0 1px 2px rgba(18, 40, 28, 0.04), 0 24px 48px -24px rgba(18, 40, 28, 0.18);
}
:root:not([data-theme="dark"]) body { background: #fff; }

/* ---------- типографика ---------- */
.s-site h1, .s-site h2, .s-site h3 { letter-spacing: -0.035em; }
.s-site .s-sec h2 { font-size: clamp(28px, 4vw, 48px); line-height: 1.07; }
.s-site .s-sub { font-size: 18px; line-height: 1.6; max-width: 620px; }
.s-site .s-tag, .s-site .s-feat-tag { padding: 5px 12px; border-radius: 999px; background: transparent; border: 1px solid #cfe5d8; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
:root[data-theme="dark"] .s-site .s-tag, :root[data-theme="dark"] .s-site .s-feat-tag { border-color: #2c4a3c; }
:root:not([data-theme="dark"]) .s-site .s-hero h1 em { background: linear-gradient(100deg, #2c7a56 0%, #3fae86 55%, #1f5c40 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---------- ритм разделов: больше воздуха, без серых линий ---------- */
.s-site .s-sec { padding: 104px 0; }
.s-site .s-sec.alt, .s-site .s-pr-sec, .s-site .s-flat-sec, .s-site .s-uspband { border-top: 0; border-bottom: 0; }
.s-site .s-feat + .s-feat { border-top: 0; }
.s-site .s-sub + .s-feats > .s-feat:first-child, .s-site .s-sub + .s-feat { border-top: 0 !important; }
.s-site .s-feat { padding: 52px 0; gap: 64px; }
:root:not([data-theme="dark"]) .s-site .s-sec.alt { background: var(--alt); }
:root:not([data-theme="dark"]) .s-site .s-pr-sec { background: linear-gradient(180deg, #fff 0%, #f2f9f5 100%); }
:root:not([data-theme="dark"]) .s-site .s-flat-sec { background: radial-gradient(900px 400px at 85% 30%, #e3f3ea 0%, transparent 70%), #fff; }

/* ---------- первый экран ---------- */
.s-site .s-hero { padding: 84px 0 100px; }
:root:not([data-theme="dark"]) .s-site .s-hero { background:
  radial-gradient(700px 480px at 82% 20%, rgba(63, 174, 134, 0.16), transparent 70%),
  radial-gradient(500px 360px at 8% 90%, rgba(44, 122, 86, 0.08), transparent 70%),
  #fff; }  /* 15.11.2026: сетка на фоне убрана (владелец) */
.s-site .s-usp { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.s-site .s-usp li { margin: 0; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); }
.s-site .s-usp .s-usp-d { display: none; }

/* ---------- карточки: тонкая рамка, мягкая тень, плавный подъём ---------- */
.s-site .hv-card, .s-site .s-cmp-card, .s-site .s-steps li, .s-site .tvx-tile, .s-site .s-with > div, .s-site .s-half { border-radius: 26px; }
.s-site .s-cmp-card, .s-site .s-steps li, .s-site .tvx-tile { border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform 0.3s, box-shadow 0.3s; }
@media (hover: hover) {
  .s-site .s-cmp-card:hover, .s-site .s-steps li:hover, .s-site .tvx-tile:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(18, 40, 28, 0.04), 0 36px 60px -28px rgba(18, 40, 28, 0.26); }
}
:root:not([data-theme="dark"]) .s-site .s-cmp-new { background: linear-gradient(135deg, #eaf5ef, #f6fbf8); }

/* ---------- кнопки — «таблетки» ---------- */
.s-site .s-btn { border-radius: 999px; }
.s-site .s-btn.big { padding: 15px 28px; }
:root:not([data-theme="dark"]) .s-site .s-btn.big:not(.ghost):not(.outline):not(.light):not(.s-btn-soft) { background: #121715; border-color: #121715; box-shadow: 0 12px 28px -12px rgba(18, 23, 21, 0.55); }
:root:not([data-theme="dark"]) .s-site .s-btn.big:not(.ghost):not(.outline):not(.light):not(.s-btn-soft):hover { background: #2c7a56; border-color: #2c7a56; }
/* финальный блок — прежний вид (владелец): белая и контурная кнопки, прежние скругления */
.s-site .s-final .s-btn { border-radius: 12px; }

/* ---------- «Оба продукта» ---------- */
.s-site .s-bundle { border-radius: 30px; }
:root:not([data-theme="dark"]) .s-site .s-bundle { background: linear-gradient(135deg, #1f5c40, #2c7a56); }

/* ---------- блок заявки: светлый ---------- */
.s-site .s-lf { border-radius: 32px; }
:root:not([data-theme="dark"]) .s-site .s-lf { background: radial-gradient(600px 300px at 0% 0%, #e3f3ea, transparent 70%), #f5faf7; color: var(--text); border: 1px solid var(--line); box-shadow: none; }
:root:not([data-theme="dark"]) .s-site .s-lf::before, :root:not([data-theme="dark"]) .s-site .s-lf::after { display: none; }
:root:not([data-theme="dark"]) .s-site .s-lf-info h2 { color: var(--text); }
:root:not([data-theme="dark"]) .s-site .s-lf-info > p { color: var(--muted); }
:root:not([data-theme="dark"]) .s-site .s-lf-tag, :root:not([data-theme="dark"]) .s-site .s-lf-points li { background: #fff; color: var(--accent); border-color: var(--line); }
.s-site .s-lf-card { border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 26px; }

/* ---------- телефон и планшет ---------- */
@media (max-width: 1000px) {
  .s-site .s-feat { gap: 32px; }
}
@media (max-width: 720px) {
  .s-site .s-sec { padding: 64px 0; }
  .s-site .s-hero { padding: 32px 0 48px; }
  .s-site .s-sec h2 { font-size: clamp(26px, 7.4vw, 32px); }
  .s-site .s-sub { font-size: 16px; margin-bottom: 26px; }
  .s-site .s-feat { padding: 28px 0; gap: 22px; }
  /* «Загляните в кабинет» на телефоне — карточки-слайды: свои внутренние отступы и рамка сохраняются */
  .s-site .s-feats > .s-feat, .s-site .s-sub + .s-feats > .s-feat:first-child { padding: 18px !important; gap: 14px; border: 1px solid var(--line) !important; border-radius: 22px; margin-top: 0; }
  .s-site .s-btn.big { padding: 14px 20px; }
  .s-site .s-usp li { padding: 10px 12px; }
  .s-site .s-lf { border-radius: 24px; }
  .s-site .s-lf-card { border-radius: 20px; }
  .s-site .s-bundle { border-radius: 24px; }
}
@media (max-width: 380px) {
  .s-site .s-usp { gap: 8px; }
  .s-site .s-btn.big { padding: 13px 16px; font-size: 15px; }
}

/* 15.11.2026 (владелец): «Оставить заявку» на белом фоне почти не видна — светло-зелёная заливка и зелёная рамка
   (!important — в site.css у этой кнопки правила с !important) */
:root:not([data-theme="dark"]) .s-site .s-btn-soft { background: #fff !important; border: 1.5px solid #2c7a56 !important; color: #1f5c40 !important; box-shadow: 0 8px 20px -12px rgba(31, 92, 64, 0.45); border-radius: 16px !important; padding: 14.5px 28.5px !important; }  /* форма — как у «Подключить салон» (16px), с учётом рамки 1,5px */
:root:not([data-theme="dark"]) .s-site .s-btn-soft:hover { background: #f2f9f5 !important; }

/* ---------- главная: фоны разделов чередуются, чтобы блоки не сливались (15.11.2026, владелец) ----------
   белый: первый экран, кабинет + «Хотите так же?», «Цена не растёт», форма заявки
   мятный: «Почему выбирают», тарифы, «Подключение за вечер», вопросы; финальный — зелёный */
:root:not([data-theme="dark"]) .s-site { --zebra: #edf5f0; --plain: #ffffff; }
:root[data-theme="dark"] .s-site { --zebra: #151c19; --plain: #0f1312; }
.s-site #why, .s-site #price, .s-site #how, .s-site #faq { background: var(--zebra) !important; }
.s-site #cabinet, .s-site .s-strip-sec, .s-site #flat, .s-site #lead { background: var(--plain) !important; }
.s-site .s-strip-sec { padding-bottom: 88px; }
.s-site #cabinet { padding-bottom: 40px; }
.s-site #lead { padding: 88px 0; }
@media (max-width: 720px) {
  .s-site .s-strip-sec { padding-bottom: 56px; }
  .s-site #lead { padding: 56px 0; }
}

/* ---------- тарифы на телефоне (15.11.2026, владелец) ----------
   «Оба продукта»: заголовок наезжал на плашки продуктов — отступ; плитки «Рассылки + ИИ-маркетолог» и «Нейроадмин» —
   карточки, которые листаются вбок (точки внизу ставит общий скрипт), а не одна длинная лента друг под другом */
@media (max-width: 720px) {
  .s-site .s-bundle h3 { margin: 4px 0 16px !important; }
  .s-site .s-bundle-tag { margin-bottom: 12px; }
  .s-site .tvx-tiles { display: flex; grid-template-columns: none; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 16px -16px 0; padding: 4px 16px 10px; scrollbar-width: none; }
  .s-site .tvx-tiles::-webkit-scrollbar { display: none; }
  .s-site .tvx-tiles > .tvx-tile { flex: 0 0 86%; scroll-snap-align: center; transform: none !important; }
  .s-site .tvx-or { margin-top: 26px; }
}
