

/* Start:/local/templates/festonika/styles.css?17902520393058*/
/* Стили контента из визуального редактора: правовые документы, описания, тексты страниц.
   Битрикс подключает styles.css и на сайте, и в самом визуальном редакторе — поэтому у каждой
   переменной есть запасное значение: в окне редактора template_styles.css с токенами может не быть.
   Всё под .content-text, чтобы типографика длинного текста не протекала в вёрстку блоков. */

.content-text{
    max-width:72ch;
    color:var(--ink,#141A2E);
    font-size:16px;
    line-height:1.65;
    overflow-wrap:break-word;
}
.content-text > :first-child{margin-top:0}
.content-text > :last-child{margin-bottom:0}

.content-text h2,
.content-text h3,
.content-text h4{
    font-family:var(--font-display,'Unbounded',sans-serif);
    color:var(--ink,#141A2E);
    letter-spacing:-.015em;
    text-wrap:balance;
}
.content-text h2{font-weight:700;font-size:clamp(22px,2vw,28px);line-height:1.15;margin:1.8em 0 .6em}
.content-text h3{font-weight:600;font-size:clamp(18px,1.5vw,21px);line-height:1.25;margin:1.5em 0 .5em}
.content-text h4{font-weight:600;font-size:17px;line-height:1.3;margin:1.3em 0 .4em}

.content-text p{margin:0 0 1em}
.content-text strong,.content-text b{font-weight:600}

.content-text a{
    color:var(--blue,#1F4BD8);
    text-decoration:underline;
    text-underline-offset:2px;
    overflow-wrap:anywhere;
}
.content-text a:hover{color:var(--blue-hover,#12308F)}

.content-text ul,
.content-text ol{margin:0 0 1em;padding-left:1.4em}
.content-text li{margin:.35em 0}
.content-text li > ul,
.content-text li > ol{margin:.35em 0 0}
.content-text ul li::marker{color:var(--blue,#1F4BD8)}
.content-text ol li::marker{color:var(--text-muted,#5C6685);font-weight:600}

/* Таблицы в документах — с рамкой цвета line; длинные слова переносятся, чтобы таблица
   не распирала страницу на телефоне */
.content-text table{
    width:100%;
    margin:0 0 1.2em;
    border-collapse:collapse;
    font-size:15px;
    line-height:1.5;
}
.content-text th,
.content-text td{
    padding:8px 12px;
    border:1px solid var(--line,#EDE7DB);
    text-align:left;
    vertical-align:top;
    overflow-wrap:anywhere;
}
.content-text th{background:#F4F0E7;font-weight:600}
.content-text caption{padding:0 0 8px;text-align:left;color:var(--text-muted,#5C6685);font-size:14px}

.content-text blockquote{
    margin:1.2em 0;
    padding:4px 0 4px 18px;
    border-left:3px solid var(--gold,#FFD54A);
    color:var(--text-muted,#5C6685);
}
.content-text hr{margin:2em 0;border:0;border-top:1px solid var(--line,#EDE7DB)}
.content-text img{max-width:100%;height:auto;border-radius:12px}
.content-text figure{margin:1.4em 0}
.content-text figcaption{margin-top:6px;color:var(--muted,#647090);font-size:14px}

/* End */


/* Start:/local/templates/festonika/template_styles.css?179182133133112*/
/* «Наше время» — каркас шаблона: токены, база, общие классы, шапка, подвал, анимации.
   Договор с остальными исполнителями — docs/step5-contract.md §2–§5: классы отсюда ими пользуются
   и не переопределяются. Стили блоков главной и карточек — в style.css шаблонов компонентов.

   Точки перелома (в прототипе считались в JS, здесь — только CSS):
   mobile      max-width: 899.98px
   nav-burger  max-width: 1099.98px — меню шапки уходит в бургер
   compact     900–1299.98px        — компактная шапка
   desktop     min-width: 1300px    — полная шапка */

/* ---------- Шрифты ---------- */
/* Свои woff2 вместо Google Fonts (разрешение заказчика 24.09.2026): адреса посетителей не уходят в Google,
   нет внешней зависимости. Файлы — вариативные наборы Google Fonts (лицензия SIL OFL 1.1), по одному на набор
   символов; браузер качает только те, чьи символы есть на странице (обычно cyrillic + latin).
   Знак ₽ в Google лежит в latin-ext (у Unbounded 118 КБ) — вынесен в отдельные *-rub.woff2 по 1 КБ,
   а из диапазона latin-ext исключён. Обновление: tools/fonts.md. */
@font-face{font-family:'Unbounded';font-style:normal;font-weight:200 900;font-display:swap;src:url('/local/templates/festonika/fonts/unbounded-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:'Unbounded';font-style:normal;font-weight:200 900;font-display:swap;src:url('/local/templates/festonika/fonts/unbounded-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Unbounded';font-style:normal;font-weight:200 900;font-display:swap;src:url('/local/templates/festonika/fonts/unbounded-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-20BC, U+20BE-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Unbounded';font-style:normal;font-weight:200 900;font-display:swap;src:url('/local/templates/festonika/fonts/unbounded-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}
@font-face{font-family:'Unbounded';font-style:normal;font-weight:200 900;font-display:swap;src:url('/local/templates/festonika/fonts/unbounded-rub.woff2') format('woff2');unicode-range:U+20BD}
@font-face{font-family:'Golos Text';font-style:normal;font-weight:400 900;font-display:swap;src:url('/local/templates/festonika/fonts/golos-text-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:'Golos Text';font-style:normal;font-weight:400 900;font-display:swap;src:url('/local/templates/festonika/fonts/golos-text-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Golos Text';font-style:normal;font-weight:400 900;font-display:swap;src:url('/local/templates/festonika/fonts/golos-text-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-20BC, U+20BE-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Golos Text';font-style:normal;font-weight:400 900;font-display:swap;src:url('/local/templates/festonika/fonts/golos-text-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}
@font-face{font-family:'Golos Text';font-style:normal;font-weight:400 900;font-display:swap;src:url('/local/templates/festonika/fonts/golos-text-rub.woff2') format('woff2');unicode-range:U+20BD}

/* ---------- Токены ---------- */
:root{
    --night:#0A1226;
    --night-2:#131C3C;
    --night-line:#1B2444;
    --night-line-2:#26315C;
    --night-border:#2A3252;
    --night-border-2:#2E3860;
    --footer-bg:#05091A;
    /* Контраст мелкого текста не ниже AA 4,5:1. В прототипе и §3 контракта было #68749A: на фоне
       подвала это 4,29:1, а цветом набраны подписи колонок (12px), реквизиты и © (13px).
       Здесь 4,94:1. */
    --footer-label:#727EA4;
    --ink:#141A2E;
    --cream:#FBF8F2;
    --white:#fff;
    --gold:#FFD54A;
    --gold-hover:#FFE27F;
    --blue:#1F4BD8;
    --blue-hover:#12308F;
    --line:#EDE7DB;
    /* В прототипе было #8B94AE: 2,85:1 на креме и 3,02:1 на белом, а токен используют только для
       мелкого текста 11–14px на светлом фоне (дни недели и подпись к цене на карточке, даты, мета).
       Оттенок и насыщенность те же, светлота ниже: 4,65:1 на креме и 4,93:1 на белом. Токен
       по-прежнему светлее --text-muted, так что разница между двумя уровнями текста сохраняется. */
    --muted:#647090;
    --text-muted:#5C6685;
    --on-dark-muted:#9AA6C6;
    --on-dark-soft:#DFE4F2;
    --hdr-muted-over:#B9C3DD;
    --menu-line:#232C4C;

    --font-display:'Unbounded',sans-serif;
    --font-body:'Golos Text',system-ui,-apple-system,'Segoe UI',sans-serif;

    --shell:1720px;
    --gutter:clamp(20px,4vw,72px);
    --ease:cubic-bezier(.22,1,.36,1);
    --radius-card:26px;
    --shadow-card:0 2px 10px rgba(10,18,38,.06);
    --shadow-card-hover:0 22px 50px rgba(10,18,38,.16);

    /* Размеры заголовков из renderVals() прототипа (h2Size, h3Size, pageTitleSize) */
    --fs-h2:clamp(32px,3.4vw,58px);
    --fs-h3:clamp(26px,2.4vw,34px);
    --fs-page-title:clamp(36px,4vw,60px);

    /* Фактическая высота шапки. Значения по умолчанию равны настоящей высоте шапки на каждой
       ширине (она не зависит от шрифта: высоту задают логотип и кнопка), поэтому герой встаёт
       на место ещё до JS. ui.js затем меряет шапку и уточняет значение (зум, крупный шрифт). */
    --header-h:77px;
}
@media (max-width:1299.98px){
    :root{--header-h:65px}
}
@media (max-width:899.98px){
    :root{
        --fs-h2:30px;
        --fs-h3:25px;
        --fs-page-title:33px;
    }
}

/* ---------- База ---------- */
*,*::before,*::after{box-sizing:border-box}
html{
    -webkit-text-size-adjust:100%;
    text-size-adjust:100%;
}
/* Якоря (#season, #smeta) не прячутся под липкую шапку. Отступ у цели, а не scroll-padding
   у страницы: если блок задаст свой scroll-margin-top, значения не сложатся, а заменят друг друга. */
[id]{scroll-margin-top:calc(var(--header-h) + 12px)}
html,body{margin:0;padding:0}
body{
    background:var(--cream);
    color:var(--ink);
    font-family:var(--font-body);
    font-size:16px;
    line-height:1.55;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
}
a{color:var(--blue)}
a:hover{color:var(--blue-hover)}
img,svg,video{max-width:100%}
img{height:auto}
input,select,textarea,button{font:inherit}
button{color:var(--night)}
details summary::-webkit-details-marker{display:none}
[hidden]{display:none!important}

/* Фокус с клавиатуры виден всегда: синий на светлом, золотой на тёмном */
:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
.section--night :focus-visible,
.site-footer :focus-visible,
.site-burger__panel :focus-visible,
html.ui body.has-hero:not(.is-scrolled):not(.menu-open) .site-header :focus-visible{outline-color:var(--gold)}

/* «Перейти к содержанию»: первая ссылка страницы, видна только при фокусе с клавиатуры */
.skip-link{
    position:fixed;
    left:12px;
    top:12px;
    z-index:1000;
    padding:10px 18px;
    border-radius:999px;
    background:var(--gold);
    color:var(--night);
    font-weight:600;
    text-decoration:none;
    transform:translateY(-200%);
    transition:transform .2s ease;
}
.skip-link:focus,.skip-link:focus-visible{transform:none;color:var(--night);outline-color:var(--night)}

/* Ловушка для ботов в формах (шаг 8, Festonika\Forms\Protect::fields): поле «website» убрано с экрана и от диктора
   (aria-hidden, tabindex=-1). Не display:none — часть ботов такие поля пропускает. Правило здесь, а не в forms.css:
   форма «Попросить подобрать» стоит на главной */
.form-trap{
    position:absolute!important;
    left:-10000px!important;
    top:auto!important;
    width:1px!important;
    height:1px!important;
    overflow:hidden!important;
}
.visually-hidden{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    padding:0!important;
    margin:-1px!important;
    overflow:hidden!important;
    clip:rect(0,0,0,0)!important;
    white-space:nowrap!important;
    border:0!important;
}

/* ---------- Общие классы (контракт §4) ---------- */
.shell{max-width:var(--shell);margin:0 auto;padding:0 var(--gutter)}

.section{padding:88px 0}
.section--night{background:var(--night);color:var(--white)}
.section--cream{background:var(--cream)}
.section--white{background:var(--white)}

.eyebrow{
    font-size:12px;
    letter-spacing:.16em;
    text-transform:uppercase;
    font-weight:600;
    line-height:1.55;
    margin:0 0 14px;
    color:var(--blue);
}
.section--night .eyebrow{color:var(--gold)}
.eyebrow--gold{color:var(--gold)}
.eyebrow--ink{color:var(--night)}

.h2{
    font-family:var(--font-display);
    font-weight:700;
    font-size:var(--fs-h2);
    line-height:1.04;
    letter-spacing:-.02em;
    margin:0 0 14px;
    text-wrap:balance;
}
.h3{
    font-family:var(--font-display);
    font-weight:700;
    font-size:var(--fs-h3);
    line-height:1.06;
    letter-spacing:-.02em;
    margin:0 0 14px;
    text-wrap:balance;
}
.lead{
    color:var(--text-muted);
    max-width:62ch;
    text-wrap:pretty;
    margin:0 0 26px;
}
.section--night .lead{color:var(--on-dark-muted)}

/* Заголовочная группа блока. Внутри включаемой области редактор может прислать голые <h2>/<p>,
   поэтому правила продублированы по тегам. Порядок важен: .block-head .eyebrow идёт после
   .block-head p, иначе надзаголовок в <p class="eyebrow"> получил бы цвет и отступ лида. */
.block-head h2{
    font-family:var(--font-display);
    font-weight:700;
    font-size:var(--fs-h2);
    line-height:1.04;
    letter-spacing:-.02em;
    margin:0 0 14px;
    text-wrap:balance;
}
.block-head p{
    color:var(--text-muted);
    max-width:62ch;
    text-wrap:pretty;
    margin:0 0 26px;
}
.section--night .block-head p{color:var(--on-dark-muted)}
.block-head .eyebrow{
    font-size:12px;
    letter-spacing:.16em;
    text-transform:uppercase;
    font-weight:600;
    max-width:none;
    margin:0 0 14px;
    color:var(--blue);
}
.section--night .block-head .eyebrow,.block-head .eyebrow--gold{color:var(--gold)}
.block-head .eyebrow--ink{color:var(--night)}
.block-head--row{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:20px;
    flex-wrap:wrap;
    margin-bottom:12px;
}
.block-head--row h2,.block-head--row .h2{margin:0}

.more-link{font-size:15px;font-weight:600;color:var(--blue)}
.more-link:hover{color:var(--blue-hover)}
.section--night .more-link{color:var(--gold)}
.section--night .more-link:hover{color:var(--gold-hover)}

/* Кнопки. <a class="btn"> для переходов, <button class="btn"> — только для действий на месте */
.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    min-height:44px;
    padding:13px 24px;
    border:0;
    border-radius:999px;
    font-family:var(--font-body);
    font-size:14px;
    font-weight:600;
    line-height:1.2;
    text-align:center;
    text-decoration:none;
    cursor:pointer;
    -webkit-appearance:none;
    appearance:none;
    transition:background-color .2s ease,color .2s ease,border-color .2s ease,transform .2s ease;
}
.btn--gold{background:var(--gold);color:var(--night)}
.btn--gold:hover{background:var(--gold-hover);color:var(--night);transform:translateY(-1px)}
.btn--ghost-light{background:transparent;color:var(--white);border:1.5px solid rgba(255,255,255,.42)}
.btn--ghost-light:hover{background:rgba(255,255,255,.2);color:var(--white)}
.btn--outline-dark{background:var(--white);color:var(--night);border:1.5px solid var(--night)}
.btn--outline-dark:hover{color:var(--blue);border-color:var(--blue)}
.btn--outline-night{background:transparent;color:var(--white);border:1.5px solid var(--night-border-2)}
.btn--outline-night:hover{color:var(--gold);border-color:var(--gold)}
.btn--lg{padding:17px 30px;font-size:16px;min-height:52px}
.btn--sm{padding:10px 15px;font-size:13px;min-height:40px}

/* Шапка внутренней страницы без героя */
.page-head{background:var(--cream);padding:48px 0 24px}
.page-head__title{
    font-family:var(--font-display);
    font-weight:700;
    font-size:var(--fs-page-title);
    line-height:1.04;
    letter-spacing:-.02em;
    margin:0 0 12px;
    text-wrap:balance;
    overflow-wrap:break-word;
    hyphens:auto;
}
.page-head__lead{
    color:var(--text-muted);
    max-width:62ch;
    text-wrap:pretty;
    margin:0 0 26px;
}
.page-body{padding:0 0 88px}

@media (max-width:899.98px){
    .section{padding:64px 0}
    .page-head{padding:32px 0 16px}
}

/* ---------- Основная область ---------- */
/* Без внутренних отступов: страница сама решает, во всю ширину блок или в .shell.
   overflow-x:clip гасит горизонтальную прокрутку от бегущей строки и параллакса,
   но, в отличие от hidden, не ломает position:sticky внутри страницы. */
.site-main{display:block;min-height:40vh;overflow-x:clip}
/* фокус на основной области ставят «Перейти к содержанию» и плашка cookie — рамка вокруг всей страницы не нужна */
.site-main:focus{outline:none}

/* Страница с героем (body.has-hero): герой подтягивается под прозрачную шапку.
   Одно общее правило — шаблоны страниц отрицательный отступ у героя НЕ дублируют.
   Только при html.js: без JS шапка непрозрачна, и герой не должен заезжать под неё.
   Прозрачность шапки держится на html.ui (его ставит ui.js), а подтяг сознательно оставлен на
   html.js. Если ui.js не загрузился, герой просто уходит под обычную шапку: верхний отступ героя
   (90/110px) больше высоты шапки, текст остаётся на виду, а --header-h по умолчанию и без JS
   равна настоящей высоте. Привязка к ui.js грозила бы сдвигом вёрстки: при включённом переносе
   JS в конец страницы ui.js выполнится уже после отрисовки, и герой прыгнул бы на высоту шапки. */
html.js body.has-hero .site-main > :first-child{margin-top:calc(var(--header-h) * -1)}

/* ---------- Шапка ---------- */
.site-header{
    position:sticky;
    top:0;
    z-index:50;
    background:rgba(251,248,242,.92);
    border-bottom:1px solid var(--line);
    color:var(--ink);
    transition:background-color .35s ease,border-color .35s ease,color .35s ease;
}
.site-header__inner{
    max-width:var(--shell);
    min-height:76px;
    margin:0 auto;
    padding:14px var(--gutter);
    display:flex;
    align-items:center;
    gap:24px;
    flex-wrap:nowrap;
}

.site-logo{
    display:flex;
    align-items:center;
    gap:10px;
    min-width:0;
    flex:0 1 auto;
    color:inherit;
    text-decoration:none;
}
.site-logo:hover{color:inherit}
.site-logo__mark{
    display:block;
    flex:0 0 auto;
    width:46px;
    height:46px;
    object-fit:contain;
    transition:width .3s ease,height .3s ease,margin .3s ease;
}
.site-logo__mark--light{display:none}
.site-logo__text{display:block;min-width:0;line-height:1.02}
.site-logo__name{
    display:block;
    font-family:var(--font-display);
    font-weight:700;
    font-size:17px;
    letter-spacing:-.015em;
    white-space:nowrap;
}
.site-logo__tagline{display:block;margin-top:3px;font-size:11px;letter-spacing:.05em;opacity:.7}

.site-nav{margin-left:8px;min-width:0}
.site-nav__list{
    display:flex;
    gap:26px;
    flex-wrap:nowrap;
    white-space:nowrap;
    list-style:none;
    margin:0;
    padding:0;
    font-size:14px;
    font-weight:500;
}
.site-nav__link{color:inherit;text-decoration:none}
.site-nav__link:hover{color:var(--blue)}
.site-nav__link[aria-current]{
    text-decoration:underline;
    text-decoration-thickness:2px;
    text-underline-offset:7px;
    text-decoration-color:var(--blue);
}

.site-header__actions{
    margin-left:auto;
    display:flex;
    align-items:center;
    gap:18px;
    flex:0 0 auto;
}
.site-header__contact{font-size:13px;line-height:1.3;text-align:right;white-space:nowrap}
.site-header__phone{display:block;font-weight:700;color:inherit;text-decoration:none}
.site-header__phone:hover{color:inherit;text-decoration:underline}
/* --text-muted, а не --muted: шапка полупрозрачная (.92), и над тёмной секцией её фон темнеет.
   --muted там даёт 3,95:1, --text-muted — 4,56:1 (на чистом креме 5,36:1). */
.site-header__ask{color:var(--text-muted)}
.site-header__ask:hover{color:var(--blue)}
.site-header__apply-short{display:none}

/* Бургер: <details> работает без JS. JS (ui.js) только добавляет закрытие по Esc, по клику вне
   и по переходу, и держит body.menu-open в лад с details[open] */
.site-burger{display:none}
.site-burger__toggle{
    display:flex;
    align-items:center;
    justify-content:center;
    width:44px;
    height:44px;
    border:1.5px solid currentColor;
    border-radius:999px;
    font-size:18px;
    line-height:1;
    cursor:pointer;
    list-style:none;
    -webkit-user-select:none;
    user-select:none;
}
.site-burger__toggle::-webkit-details-marker{display:none}
.site-burger__panel{
    position:absolute;
    left:0;
    right:0;
    top:100%;
    max-height:calc(100vh - var(--header-h));
    max-height:calc(100dvh - var(--header-h));
    overflow-y:auto;
    overscroll-behavior:contain;
    padding:8px 24px 20px;
    background:var(--night);
    color:var(--white);
}
.site-burger__list{
    display:grid;
    gap:2px;
    list-style:none;
    margin:0 0 2px;
    padding:0;
    font-size:18px;
    font-weight:500;
}
.site-burger__link{
    display:block;
    padding:13px 0;
    border-bottom:1px solid var(--menu-line);
    color:var(--white);
    text-decoration:none;
}
.site-burger__link:hover,.site-burger__link[aria-current]{color:var(--gold)}
.site-burger__ask{
    display:block;
    padding:13px 0;
    color:var(--gold);
    font-size:18px;
    font-weight:500;
    text-decoration:none;
}
.site-burger__ask:hover{color:var(--gold-hover)}

/* Над героем, пока не прокрутили: прозрачная, белый текст и белый логотип.
   Только при html.ui, то есть когда ui.js действительно выполняется. Встроенный скрипт ставит
   html.js и без ui.js, а класс is-scrolled, который возвращает шапке фон, ставит только ui.js.
   С html.js белое меню осталось бы прозрачным и над кремовыми секциями ниже героя. */
html.ui body.has-hero:not(.is-scrolled):not(.menu-open) .site-header{
    background:transparent;
    border-bottom-color:transparent;
    color:var(--white);
}
html.ui body.has-hero:not(.is-scrolled):not(.menu-open) .site-logo__mark--dark{display:none}
html.ui body.has-hero:not(.is-scrolled):not(.menu-open) .site-logo__mark--light{display:block}
html.ui body.has-hero:not(.is-scrolled):not(.menu-open) .site-header__ask{color:var(--hdr-muted-over)}
html.ui body.has-hero:not(.is-scrolled):not(.menu-open) .site-header__ask:hover,
html.ui body.has-hero:not(.is-scrolled):not(.menu-open) .site-nav__link:hover{color:var(--gold)}
html.ui body.has-hero:not(.is-scrolled):not(.menu-open) .site-nav__link[aria-current]{text-decoration-color:var(--gold)}

/* desktop: полная шапка; над героем логотип крупнее. Отрицательные поля съедают прибавку
   высоты — шапка остаётся той же высоты, и герой не дёргается при переходе через 70px прокрутки */
@media (min-width:1300px){
    html.ui body.has-hero:not(.is-scrolled):not(.menu-open) .site-logo__mark{width:56px;height:56px;margin-top:-5px;margin-bottom:-5px}
    html.ui body.has-hero:not(.is-scrolled):not(.menu-open) .site-logo__name{font-size:20px}
}

/* compact: 900–1299px — без подписи и без телефона, пункты мельче */
@media (max-width:1299.98px){
    .site-header__inner{min-height:0;padding:10px clamp(16px,3vw,32px);gap:14px}
    .site-logo__mark{width:42px;height:42px}
    .site-logo__name{font-size:16px}
    .site-logo__tagline,.site-header__contact{display:none}
    .site-nav__list{gap:16px;font-size:13px}
}

/* nav-burger: до 1099px меню уходит в бургер, вместо «Подать заявку» — «Заявка» */
@media (max-width:1099.98px){
    .site-nav{display:none}
    .site-header__actions{gap:6px}
    .site-header__apply{padding:10px 14px}
    .site-header__apply-full{display:none}
    .site-header__apply-short{display:inline}
    .site-burger{display:block}
    .site-burger__panel{padding-left:clamp(16px,3vw,32px);padding-right:clamp(16px,3vw,32px)}

    /* Открытое меню: тёмная шапка и белый логотип. :has() — чтобы работало и без JS;
       body.menu-open — дубль для браузеров без :has(). Правила раздельные: непонятый
       браузером :has() выбросил бы всё правило целиком. */
    .site-header:has(.site-burger[open]){background:var(--night);border-bottom-color:var(--night);color:var(--white)}
    .site-header:has(.site-burger[open]) .site-logo__mark--dark{display:none}
    .site-header:has(.site-burger[open]) .site-logo__mark--light{display:block}
    body.menu-open .site-header{background:var(--night);border-bottom-color:var(--night);color:var(--white)}
    body.menu-open .site-logo__mark--dark{display:none}
    body.menu-open .site-logo__mark--light{display:block}
    .site-header:has(.site-burger[open]) :focus-visible{outline-color:var(--gold)}
    body.menu-open .site-header :focus-visible{outline-color:var(--gold)}
}

/* mobile: до 899px */
@media (max-width:899.98px){
    .site-header__inner{padding:10px 16px;gap:10px}
    .site-logo__mark{width:44px;height:44px}
    .site-burger__panel{padding-left:24px;padding-right:24px}
}
/* Узкие телефоны (320–359px): логотип, «Заявка» и бургер должны поместиться в строку */
@media (max-width:359.98px){
    .site-header__inner{padding-left:12px;padding-right:12px;gap:8px}
    .site-logo__mark{width:40px;height:40px}
    .site-logo__name{font-size:14px}
}

/* ---------- Подвал ---------- */
.site-footer{background:var(--footer-bg);color:var(--white)}
.site-footer__inner{
    max-width:var(--shell);
    margin:0 auto;
    padding:64px var(--gutter) 44px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
    gap:34px;
    font-size:15px;
}
.site-footer__col{display:grid;gap:9px;align-content:start;min-width:0}
.site-footer__col--contact{gap:11px}
.site-footer__brand{display:block}
.site-footer__logo{display:flex;align-items:center;gap:16px;margin-bottom:16px}
.site-footer__emblem{display:block;flex:0 0 auto;width:96px;height:96px}
.site-footer__name{font-family:var(--font-display);font-weight:700;font-size:18px;letter-spacing:-.01em}
.site-footer__tagline{margin-top:3px;font-size:13px;color:var(--on-dark-muted)}
.site-footer__about{margin:0;color:var(--on-dark-muted);text-wrap:pretty}
.site-footer__hash{margin:12px 0 0;color:var(--gold);font-weight:600}
/* хештег — ссылка на Telegram-канал: золотой, как в макете, а не синий по умолчанию (на тёмном подвале он не читается) */
.site-footer__hash a{color:inherit;text-decoration:underline;text-decoration-color:rgba(255,213,74,.45);text-underline-offset:.2em}
.site-footer__hash a:hover{color:var(--gold-hover);text-decoration-color:currentColor}
.site-footer__socials{margin-top:7px;color:var(--on-dark-muted)}
.site-footer__socials a{color:var(--on-dark-muted);text-decoration:none}
.site-footer__socials a::after{content:"\00a0↗"}
.site-footer__socials a:hover{color:var(--gold)}
.site-footer__label{
    font-size:12px;
    color:var(--footer-label);
    text-transform:uppercase;
    letter-spacing:.1em;
    font-weight:600;
}
.site-footer__links{display:grid;gap:9px;margin:0;padding:0;list-style:none}
.site-footer__link{color:var(--white);text-decoration:none}
.site-footer__link:hover,.site-footer__link[aria-current]{color:var(--gold)}
.site-footer__phone{
    font-family:var(--font-display);
    font-weight:600;
    font-size:17px;
    color:var(--white);
    text-decoration:none;
    white-space:nowrap;
}
.site-footer__phone:hover{color:var(--gold)}
.site-footer__email{color:var(--on-dark-muted);text-decoration:none;overflow-wrap:anywhere}
.site-footer__email:hover{color:var(--gold)}
.site-footer__btn{justify-self:start;padding:12px 20px}
.site-footer .btn--outline-night{border-color:var(--night-border)}
.site-footer .btn--outline-night:hover{border-color:var(--gold)}
.site-footer__docs{color:var(--on-dark-muted)}
.site-footer__doc{display:block;justify-self:start;color:var(--on-dark-muted)}
.site-footer__doc:hover{color:var(--white)}
.site-footer__legal{margin-top:12px;font-size:13px;color:var(--footer-label)}

/* Плашка согласия на cookie и Метрику (footer.php, js/metrika.js). Скрыта атрибутом hidden, пока скрипт не решит
   её показать: без JS и после выбора посетителя её нет. Внизу экрана, поверх содержимого, не перекрывает «Перейти к содержанию» */
.cookie-bar{
    position:fixed;
    left:50%;
    bottom:max(16px,env(safe-area-inset-bottom));
    z-index:900;
    display:flex;
    align-items:center;
    gap:14px 20px;
    width:min(760px,calc(100% - 32px));
    padding:16px 18px 16px 22px;
    border:1px solid var(--night-border);
    border-radius:20px;
    background:var(--night);
    color:var(--white);
    box-shadow:0 18px 50px rgba(10,18,38,.32);
    transform:translateX(-50%);
}
.cookie-bar[hidden]{display:none}
.cookie-bar__text{margin:0;font-size:14px;line-height:1.45;color:var(--on-dark-muted);text-wrap:pretty}
.cookie-bar__text a{color:var(--white);text-underline-offset:.2em}
.cookie-bar__text a:hover{color:var(--gold)}
.cookie-bar__actions{display:flex;flex:0 0 auto;gap:8px}
.cookie-bar :focus-visible{outline-color:var(--gold)}
/* на бумагу и в PDF (смета, документы) плашка не попадает — при печати её нет никогда */
@media print{.cookie-bar{display:none!important}}
@media (max-width:639.98px){
    .cookie-bar{flex-direction:column;align-items:stretch;padding:16px}
    .cookie-bar__actions .btn{flex:1 1 0}
}

/* ---------- Окно с роликом (js/ui.js, initVideoDialogs) ----------
   06.10.2026: вертикальное видео 9:16 по высоте экрана (плитка в отзывах главной), затемнение фона; закрытие — кнопка, Esc,
   клик по фону. 12.10.2026: --wide — горизонтальный ролик 16:9 (секция видео главной) по ширине экрана, но не выше него */
.video-dialog{width:fit-content;max-width:calc(100% - 32px);max-height:calc(100dvh - 32px);padding:0;border:0;border-radius:22px;background:var(--night);overflow:visible}
.video-dialog::backdrop{background:rgba(5,9,26,.82)}
.video-dialog__video{display:block;width:auto;height:min(calc(100vh - 32px),1280px);height:min(calc(100dvh - 32px),1280px);max-width:calc(100vw - 32px);aspect-ratio:9/16;border-radius:22px;background:#000;object-fit:contain}
.video-dialog__close{position:absolute;top:10px;right:10px;z-index:1;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:0;border-radius:999px;background:rgba(10,18,38,.72);color:var(--white);font-size:26px;line-height:1;cursor:pointer}
.video-dialog__close:hover{background:var(--night)}
.video-dialog__close:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
/* ширина — у самого окна в процентах: 100vw включает полосу прокрутки, и на Windows поля выходили по 8 px вместо 16 */
.video-dialog--wide{width:min(calc(100% - 32px),1280px,calc((100vh - 32px) * 16 / 9));width:min(calc(100% - 32px),1280px,calc((100dvh - 32px) * 16 / 9))}
.video-dialog--wide .video-dialog__video{width:100%;height:auto;max-width:none;aspect-ratio:16/9}

/* ---------- Анимации (дословно из прототипа, index.html) ---------- */
@keyframes kb{0%{transform:scale(1.06) translate3d(0,0,0)}100%{transform:scale(1.18) translate3d(0,-1.5%,0)}}
@keyframes marq{0%{transform:translate3d(0,0,0)}100%{transform:translate3d(-50%,0,0)}}
@keyframes cue{0%,100%{transform:translateY(0);opacity:.55}50%{transform:translateY(9px);opacity:1}}
/* pulse — расходящееся кольцо у кнопок «смотреть». В прототипе анимировалась box-shadow: её браузер перерисовывает
   на основном потоке каждый кадр (PageSpeed, шаг 11: «некомпозитная анимация»). Теперь кольцо — ::after кнопки
   (.pulse-ring), анимируются transform и opacity, это делает видеокарта; вид тот же: кольцо на 22px шире кнопки гаснет */
@keyframes pulse{0%{transform:scale(1);opacity:.55}100%{transform:scale(var(--pulse-to,1.46));opacity:0}}
.pulse-ring{isolation:isolate}
.pulse-ring::after{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:inherit;opacity:0;pointer-events:none;animation:pulse 2.4s ease-out infinite}
@media (prefers-reduced-motion:reduce){.pulse-ring::after{animation:none}}

@media (prefers-reduced-motion:no-preference){
    html{scroll-behavior:smooth}
}
/* Если в системе включено «уменьшить движение» — гасим фоновые анимации:
   это и доступность, и заметная разгрузка слабых машин. */
@media (prefers-reduced-motion:reduce){
    *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

/* End */
/* /local/templates/festonika/styles.css?17902520393058 */
/* /local/templates/festonika/template_styles.css?179182133133112 */
