/* =========================================================================
   Школа Юлии Малиновской — основные стили
   Палитра: персик + карамель + молочный (тёплая, под женскую аудиторию)
   Включает режим «версия для слабовидящих» (классы .a11y-* на <html>)
   ========================================================================= */

/* ----------------------------- Переменные ------------------------------ */
:root {
    /* Палитра */
    --bg: #FFF4EC;            /* молочный фон страницы */
    --bg-alt: #FBEEE3;        /* фон чередующихся секций */
    --card: #FFFFFF;          /* карточки */
    --card-tint: #FBE0CC;     /* тёплая карточка-акцент */
    --peach: #E8A87C;         /* персик — кнопки */
    --peach-600: #DE9362;     /* персик при наведении */
    --caramel: #B5764E;       /* карамель — акценты, ссылки */
    --caramel-700: #8A5A3A;   /* тёмная карамель — заголовки */
    --gold: #C9A24B;          /* золото — тонкий акцент */
    --text: #4A3B30;          /* тёплый тёмно-коричневый текст */
    --text-muted: #8C7A69;    /* приглушённый текст */
    --border: #F0DAC8;        /* мягкие границы */
    --white: #FFFFFF;

    /* Типографика */
    --font-body: 'Manrope', 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
    --font-head: 'Playfair Display', 'Times New Roman', Georgia, serif;
    --fs-scale: 1;            /* множитель размера (меняет версия для слабовидящих) */
    --base-size: calc(17px * var(--fs-scale));
    --ls: normal;            /* межбуквенный интервал (a11y) */

    /* Размеры */
    --container: 1160px;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow: 0 10px 30px rgba(138, 90, 58, 0.10);
    --shadow-sm: 0 4px 14px rgba(138, 90, 58, 0.08);
    --gap: 24px;
}

/* --------------------------- Базовые сбросы ---------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--base-size);
    line-height: 1.65;
    letter-spacing: var(--ls);
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--caramel); text-decoration: none; transition: color .2s; }
a:hover { color: var(--caramel-700); text-decoration: underline; }

h1, h2, h3, h4 {
    font-family: var(--font-head);
    color: var(--caramel-700);
    line-height: 1.2;
    margin: 0 0 .5em;
    font-weight: 700;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--caramel); outline-offset: 2px; border-radius: 4px; }

/* ----------------------------- Контейнер ------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.section { padding: 72px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section__head p { color: var(--text-muted); font-size: 1.1rem; }

.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: .8rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--caramel);
    background: var(--card-tint);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}

/* ------------------------------ Кнопки --------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1;
    padding: 15px 28px;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .15s, background .2s, box-shadow .2s, color .2s;
    text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--peach); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--peach-600); color: #fff; }
.btn--outline { background: transparent; color: var(--caramel-700); border-color: var(--peach); }
.btn--outline:hover { background: var(--card-tint); color: var(--caramel-700); }
.btn--lg { padding: 18px 36px; font-size: 1.08rem; }

/* Обёртки, в которые include.js подставляет шапку и меню раздела, НЕ должны
   образовывать собственный бокс. Иначе sticky-элементы внутри них «прилипают»
   лишь в пределах обёртки (равной их же высоте) — то есть ход прокрутки нулевой
   и залипание фактически не работает. display: contents «растворяет» обёртку,
   и .header / .svd-nav залипают относительно высокой родительской области. */
#site-header, #svd-nav { display: contents; }

/* ------------------------------- Шапка --------------------------------- */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 244, 236, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 74px;
}
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo:hover { text-decoration: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name { font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; color: var(--caramel-700); }
.logo__sub { font-size: .72rem; color: var(--text-muted); letter-spacing: .02em; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
    color: var(--text);
    font-weight: 600;
    font-size: .9rem;
    padding: 9px 10px;
    border-radius: 10px;
    white-space: nowrap;
}
.nav a:hover { background: var(--card-tint); color: var(--caramel-700); text-decoration: none; }
.nav a.is-active { color: var(--caramel-700); background: var(--card-tint); }

.header__actions { display: flex; align-items: center; gap: 10px; }

/* Кнопка «версия для слабовидящих» */
.a11y-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
    border: 1px solid var(--border); background: var(--card);
    border-radius: 12px; cursor: pointer; color: var(--caramel-700);
    transition: background .2s, border-color .2s;
}
.a11y-toggle:hover { background: var(--card-tint); border-color: var(--peach); }
.a11y-toggle svg { width: 22px; height: 22px; }

/* Бургер */
.burger {
    display: none;
    width: 44px; height: 44px;
    border: 1px solid var(--border); background: var(--card);
    border-radius: 12px; cursor: pointer; padding: 0;
    position: relative;
}
.burger span, .burger span::before, .burger span::after {
    content: ''; position: absolute; left: 50%; top: 50%;
    width: 20px; height: 2px; background: var(--caramel-700);
    transform: translate(-50%, -50%); transition: .25s;
}
.burger span::before { transform: translate(-50%, -8px); }
.burger span::after { transform: translate(-50%, 6px); }
.burger.is-open span { background: transparent; }
.burger.is-open span::before { transform: translate(-50%, 0) rotate(45deg); }
.burger.is-open span::after { transform: translate(-50%, 0) rotate(-45deg); }

/* --------------------------- Hero (главная) ---------------------------- */
.hero { padding: 80px 0 90px; position: relative; overflow: hidden; }
.hero__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}
.hero h1 { margin-bottom: .35em; }
.hero__lead { font-size: 1.18rem; color: var(--text-muted); margin-bottom: 32px; max-width: 540px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero__note { font-size: .92rem; color: var(--text-muted); }
.hero__art {
    background: linear-gradient(160deg, var(--card-tint), #fff);
    border-radius: 28px;
    box-shadow: var(--shadow);
    padding: 36px;
    min-height: 340px;
    display: flex; flex-direction: column; justify-content: center; gap: 18px;
}
.hero__stat { display: flex; align-items: baseline; gap: 12px; }
.hero__stat b { font-family: var(--font-head); font-size: 2.4rem; color: var(--caramel); }
.hero__stat span { color: var(--text-muted); }

/* ------------------------------ Карточки ------------------------------- */
.grid { display: grid; gap: var(--gap); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon {
    width: 54px; height: 54px; border-radius: 14px;
    display: grid; place-items: center; margin-bottom: 18px;
    background: var(--card-tint); color: var(--caramel-700);
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--text-muted); margin: 0; }

/* Нумерованные шаги программы */
.steps { counter-reset: step; display: grid; gap: 16px; }
.step {
    display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start;
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 24px 28px;
}
.step::before {
    counter-increment: step; content: counter(step);
    width: 52px; height: 52px; border-radius: 14px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--peach), var(--caramel));
    color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.4rem;
}
.step h3 { margin: 4px 0 .3em; }
.step p { margin: 0; color: var(--text-muted); }

/* Список «для кого» */
.pill-list { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin: 0; }
.pill-list li {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 999px; padding: 10px 20px; font-weight: 600; color: var(--caramel-700);
}

/* CTA-полоса */
.cta-band {
    background: linear-gradient(135deg, var(--peach), var(--caramel));
    color: #fff; border-radius: 28px; padding: 56px;
    text-align: center; box-shadow: var(--shadow);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.92); font-size: 1.12rem; max-width: 620px; margin: 0 auto 28px; }
.cta-band .btn--primary { background: #fff; color: var(--caramel-700); }
.cta-band .btn--primary:hover { background: #fff7f0; color: var(--caramel-700); }

/* ------------------------ Внутренние страницы -------------------------- */
.page-hero { background: var(--bg-alt); padding: 56px 0; border-bottom: 1px solid var(--border); }
.page-hero h1 { margin: 0; }
.page-hero .breadcrumbs { margin-bottom: 14px; }

.breadcrumbs { font-size: .9rem; color: var(--text-muted); }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--caramel); }
.breadcrumbs span { margin: 0 8px; opacity: .6; }

.prose { max-width: 820px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }

/* Блок реквизитов / простой инфо-таблицы */
.info-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.info-table td { padding: 14px 20px; border-bottom: 1px solid var(--border); vertical-align: top; }
.info-table tr:last-child td { border-bottom: none; }
.info-table td:first-child { font-weight: 700; color: var(--caramel-700); width: 42%; }

/* Плашка-заглушка «находится в разработке» */
.in-progress {
    background: var(--card-tint);
    border: 1px dashed var(--caramel);
    border-radius: var(--radius);
    padding: 28px 30px;
    color: var(--caramel-700);
    display: flex; align-items: center; gap: 16px;
}
.in-progress svg { width: 30px; height: 30px; flex-shrink: 0; }

/* Карточка-документ (ссылка на PDF) */
.doc-link {
    display: flex; align-items: center; gap: 14px;
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 16px 20px; margin-bottom: 12px;
    font-weight: 600; color: var(--caramel-700);
}
.doc-link:hover { background: var(--card-tint); text-decoration: none; }
.doc-link svg { width: 26px; height: 26px; flex-shrink: 0; color: var(--caramel); }

/* ----------------- Раздел «Сведения» — две колонки --------------------- */
.svd-layout { display: grid; grid-template-columns: 290px 1fr; gap: 40px; padding: 48px 0 72px; align-items: start; }
.svd-nav {
    position: sticky; top: 92px;
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow-sm);
}
.svd-nav__title { font-family: var(--font-head); font-weight: 700; color: var(--caramel-700); padding: 10px 14px 12px; font-size: 1.05rem; }
.svd-nav ol { list-style: none; margin: 0; padding: 0; counter-reset: svd; }
.svd-nav li { margin: 2px 0; }
.svd-nav a {
    display: block; padding: 10px 14px; border-radius: 10px;
    color: var(--text); font-size: .94rem; font-weight: 600; line-height: 1.35;
}
.svd-nav a:hover { background: var(--card-tint); color: var(--caramel-700); text-decoration: none; }
.svd-nav a.is-active { background: var(--peach); color: #fff; }
.svd-content { min-width: 0; }
.svd-content h1 { margin-bottom: .6em; }

/* ------------------------------- Подвал -------------------------------- */
.footer { margin-top: auto; background: var(--caramel-700); color: #f3e6da; padding: 56px 0 28px; }
.footer a { color: #f3e6da; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; margin-bottom: 40px; }
.footer__col h4 { color: #fff; font-family: var(--font-body); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { margin-bottom: 10px; }
.footer__brand .logo__name { color: #fff; }
.footer__brand .logo__sub { color: #d8c3b1; }
.footer__brand p { color: #d8c3b1; font-size: .92rem; margin-top: 14px; }
.footer__min { font-size: .9rem; }
.footer__min p { margin-bottom: 8px; color: #e7d6c8; }
.footer__min a { display: inline-block; }
.footer__bottom {
    border-top: 1px solid rgba(255,255,255,.16);
    padding-top: 22px; font-size: .85rem; color: #d8c3b1;
    display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
}

/* ===================== Версия для слабовидящих ========================= */
/* Одна кнопка-«глаз» в шапке включает единый стандартный режим: крупный шрифт
   + высокий контраст (чёрным по белому). Повторное нажатие возвращает обычную
   версию. Класс a11y-on на <html> ставит assets/js/a11y.js (до отрисовки). */
html.a11y-on {
    --fs-scale: 1.3;
    --ls: 0.03em;
    --bg: #fff; --bg-alt: #fff; --card: #fff; --card-tint: #f2f2f2;
    --text: #000; --text-muted: #000;
    --caramel: #000; --caramel-700: #000; --gold: #000;
    --peach: #000; --peach-600: #000; --border: #000; --white: #fff;
}
/* Убираем градиенты, тени и декоративные подложки — оставляем чистый контраст */
html.a11y-on .header { background: #fff; }
html.a11y-on .hero__media::before { display: none; }
html.a11y-on .card, html.a11y-on .step, html.a11y-on .stat,
html.a11y-on .info-table, html.a11y-on .faq__item, html.a11y-on .feedback,
html.a11y-on .social-btn, html.a11y-on .doc-link, html.a11y-on .hero__badge,
html.a11y-on .price-card { box-shadow: none; }
html.a11y-on .price-card--featured { border-color: #000; }
html.a11y-on .price-card__badge { background: #000 !important; color: #fff; }
html.a11y-on .card__icon, html.a11y-on .step::before,
html.a11y-on .eyebrow, html.a11y-on .social-btn .si {
    background: #f2f2f2 !important; color: #000 !important; box-shadow: none !important;
}
html.a11y-on .hero__badge { border: 1px solid #000; }
html.a11y-on .cta-band { background: #fff !important; border: 2px solid #000; box-shadow: none; }
html.a11y-on .cta-band h2, html.a11y-on .cta-band p { color: #000 !important; }
html.a11y-on .hero__photo, html.a11y-on .split__media img { border-color: #000; }
html.a11y-on .footer { background: #fff; color: #000; border-top: 2px solid #000; }
html.a11y-on .footer a, html.a11y-on .footer__col h4,
html.a11y-on .footer__brand .logo__name, html.a11y-on .footer__brand .logo__sub,
html.a11y-on .footer__brand p, html.a11y-on .footer__min p { color: #000; }
html.a11y-on .btn--primary { background: #000; color: #fff; border-color: #000; }
html.a11y-on .btn--outline { background: #fff; color: #000; border-color: #000; }
/* Подчёркиваем ссылки в тексте, но не навигацию и кнопки */
html.a11y-on a { text-decoration: underline; }
html.a11y-on .nav a, html.a11y-on .btn, html.a11y-on .svd-nav a,
html.a11y-on .logo, html.a11y-on .social-btn, html.a11y-on .doc-link { text-decoration: none; }
html.a11y-on .nav a.is-active, html.a11y-on .svd-nav a.is-active { background: #000; color: #fff; }
/* Галочки списка — чёрные */
html.a11y-on .checklist li::before {
    background: #f2f2f2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 15px no-repeat;
}
/* Кнопка-переключатель в активном состоянии */
html.a11y-on .a11y-toggle { background: #000; color: #fff; border-color: #000; }

/* ----------------------------- Адаптив --------------------------------- */
@media (max-width: 980px) {
    .hero__grid { grid-template-columns: 1fr; gap: 36px; }
    .hero__art { order: -1; min-height: 240px; }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .svd-layout { grid-template-columns: 1fr; }
    .svd-nav { position: static; }
}

@media (max-width: 1160px) {
    .grid--3, .grid--4 { grid-template-columns: 1fr 1fr; }
    /* Мобильное меню (бургер): порог 1160px. Полный пункт «Сведения об
       образовательной организации» делает меню широким, поэтому горизонтальное
       меню показываем только когда оно гарантированно помещается рядом с лого. */
    .nav {
        position: fixed; top: 74px; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 4px;
        background: var(--bg); border-bottom: 1px solid var(--border);
        padding: 16px 20px 24px; box-shadow: var(--shadow);
        transform: translateY(-130%); transition: transform .3s; max-height: calc(100vh - 74px); overflow-y: auto;
    }
    .nav.is-open { transform: translateY(0); }
    .nav a { padding: 13px 16px; font-size: 1.05rem; }
    .burger { display: block; }
}

@media (max-width: 560px) {
    .section { padding: 52px 0; }
    .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; }
    .cta-band { padding: 38px 24px; }
    .logo__sub { display: none; }
    .info-table td:first-child { width: auto; }
    .info-table, .info-table tbody, .info-table tr, .info-table td { display: block; width: 100%; }
    .info-table td { border-bottom: none; padding: 4px 18px; }
    .info-table td:first-child { padding-top: 14px; }
    .info-table tr { border-bottom: 1px solid var(--border); padding-bottom: 8px; }
}

/* ====================== Фотографии и медиа-блоки ======================= */
/* Оформление фотографий Юлии на маркетинговых страницах (главная, о школе,
   программа, контакты). Фото вертикальные — рамки рассчитаны на портрет. */

/* --- Фото в hero (главная) --- */
.hero__media { position: relative; }
.hero__photo {
    width: 100%; max-width: 430px; margin-left: auto;
    aspect-ratio: 4 / 5; object-fit: cover; object-position: top center;
    border-radius: 28px; border: 6px solid #fff; box-shadow: var(--shadow);
    position: relative; z-index: 1;
}
/* Тёплая декоративная «подложка» под фото */
.hero__media::before {
    content: ''; position: absolute; z-index: 0;
    top: 26px; right: -16px; bottom: -16px; left: 40px;
    background: linear-gradient(160deg, var(--card-tint), var(--peach));
    border-radius: 32px; opacity: .5;
}
.hero__badge {
    position: absolute; z-index: 2; left: 0; bottom: 22px;
    background: #fff; border-radius: var(--radius-sm);
    box-shadow: var(--shadow); padding: 13px 20px; max-width: 220px;
}
.hero__badge b { display: block; font-family: var(--font-head); color: var(--caramel); font-size: 1.2rem; }
.hero__badge span { font-size: .84rem; color: var(--text-muted); }

/* --- Сплит «фото + текст» (о школе, программа, тизеры) --- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img {
    width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top center;
    border-radius: var(--radius); box-shadow: var(--shadow); border: 5px solid #fff;
}
.split__body h2 { margin-top: 0; }

/* Список-галочки */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 38px; margin-bottom: 14px; }
.checklist li::before {
    content: ''; position: absolute; left: 0; top: 1px;
    width: 24px; height: 24px; border-radius: 50%;
    background: var(--card-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B5764E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 15px no-repeat;
}

/* --- Цифры/факты --- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat {
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 28px 24px; text-align: center; box-shadow: var(--shadow-sm);
}
.stat b { display: block; font-family: var(--font-head); font-size: 2.3rem; color: var(--caramel); line-height: 1; margin-bottom: 8px; }
.stat span { color: var(--text-muted); font-size: .95rem; }

/* --- Аккордеон «Вопросы и ответы» --- */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius-sm); margin-bottom: 12px; padding: 0 24px;
}
.faq__item summary {
    cursor: pointer; list-style: none; padding: 20px 0;
    font-weight: 700; color: var(--caramel-700);
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; font-size: 1.7rem; color: var(--peach); line-height: .8; transition: transform .2s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item > p { margin: 0 0 20px; color: var(--text-muted); }

/* --- Контакты + форма --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
.contact-list .ci {
    width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px;
    display: grid; place-items: center; background: var(--card-tint); color: var(--caramel-700);
}
.contact-list .ci svg { width: 22px; height: 22px; }
.contact-list b { display: block; color: var(--caramel-700); }
.contact-list span, .contact-list a { color: var(--text-muted); }

/* Блок обратной связи: мессенджеры и соцсети */
.feedback { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.feedback > p { color: var(--text-muted); margin-bottom: 20px; }
.socials { display: grid; gap: 14px; }
.social-btn {
    display: flex; align-items: center; gap: 16px;
    background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
    padding: 14px 18px; font-weight: 700; color: var(--caramel-700);
    transition: transform .15s, box-shadow .2s, background .2s;
}
.social-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); text-decoration: none; background: var(--card-tint); }
.social-btn .si { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.social-btn .si svg { width: 24px; height: 24px; }
.social-btn small { display: block; font-weight: 500; color: var(--text-muted); font-size: .84rem; margin-top: 2px; }
.si--tg { background: #29A9EB; }
.si--vk { background: #0077FF; }
.si--mail { background: var(--peach); }

/* --- Тарифы --- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
    display: flex; flex-direction: column; position: relative;
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 32px 28px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card--featured { border: 2px solid var(--peach); }
.price-card__badge {
    position: absolute; top: -13px; left: 28px;
    background: linear-gradient(135deg, var(--peach), var(--caramel)); color: #fff;
    font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    padding: 6px 14px; border-radius: 999px;
}
.price-card h3 { margin-bottom: 4px; }
.price-card__price { font-family: var(--font-head); font-weight: 700; font-size: 2.1rem; color: var(--caramel); line-height: 1.1; margin: 10px 0 4px; }
.price-card__term { color: var(--text-muted); font-size: .9rem; margin-bottom: 18px; }
.price-card > p { color: var(--text-muted); margin-bottom: 16px; }
.price-card .checklist { margin-bottom: 26px; }
.price-card .checklist li { font-size: .95rem; margin-bottom: 10px; }
.price-card .btn { margin-top: auto; width: 100%; }

/* Адаптив медиа-блоков */
@media (max-width: 980px) {
    .hero__media { order: -1; max-width: 420px; margin: 0 auto; }
    .hero__photo { margin: 0 auto; }
    .split { grid-template-columns: 1fr; gap: 34px; }
    .split--reverse .split__media { order: -1; }
    .split__media { max-width: 460px; margin: 0 auto; }
    .pricing { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}
@media (max-width: 760px) {
    .contact-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 560px) {
    .stats { grid-template-columns: 1fr; }
}

/* Доступность: уважать prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
