@charset "UTF-8";

/* ==========================================================================
   ReelCraft — стили сайта
   Палитра и правила из брендбука: 70% obsidian/graphite, 20% ivory,
   stone для вторичного текста, brass только для мелких деталей и hover.
   ========================================================================== */

/* --- Шрифт ---------------------------------------------------------------- */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
    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: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/inter-latin-ext-wght-normal.woff2') format('woff2-variations');
    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: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/inter-cyrillic-wght-normal.woff2') format('woff2-variations');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* --- Токены --------------------------------------------------------------- */
:root {
    --obsidian: #0B0B0B;
    --ivory:    #F3F0E9;
    --graphite: #262626;
    --stone:    #AAA69E;
    --brass:    #CBB892;

    --bg:    var(--obsidian);
    --fg:    var(--ivory);
    --muted: var(--stone);
    --panel: var(--graphite);
    --line:  rgba(243, 240, 233, .14);
    --line-strong: rgba(243, 240, 233, .28);

    --wrap: 1280px;
    --gut: clamp(20px, 5vw, 56px);
    --sec: clamp(72px, 9vw, 132px);

    --t: 180ms cubic-bezier(.4, 0, .2, 1);

    --f-meta: clamp(10px, .72rem, 11.5px);
}

/* --- Сброс ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

body {
    margin: 0;
    background: var(--obsidian);
    color: var(--ivory);
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: clamp(15.5px, 1.02rem, 17px);
    line-height: 1.62;
    font-feature-settings: 'cv05' 1, 'ss03' 1;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

:focus-visible {
    outline: 2px solid var(--brass);
    outline-offset: 3px;
}

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
    position: absolute; left: -9999px; top: 0; z-index: 200;
    background: var(--ivory); color: var(--obsidian); padding: 12px 18px;
}
.skip:focus { left: 8px; top: 8px; }

/* --- Типографика ---------------------------------------------------------- */
h1, h2, h3, h4 {
    margin: 0 0 .5em;
    font-weight: 700;
    letter-spacing: -.028em;
    line-height: 1.04;
    text-wrap: balance;
}
.h-xl { font-size: clamp(2.6rem, 8.2vw, 5.5rem); letter-spacing: -.038em; }
.h-lg { font-size: clamp(2.05rem, 5.6vw, 3.6rem); }
.h-md { font-size: clamp(1.45rem, 3.1vw, 2.1rem); }
.h-sm { font-size: clamp(1.1rem, 1.8vw, 1.32rem); letter-spacing: -.018em; }

.lead {
    font-size: clamp(1.02rem, 1.55vw, 1.22rem);
    line-height: 1.55;
    color: var(--muted);
    max-width: 58ch;
}
.measure { max-width: 66ch; }

.meta {
    display: block;
    margin: 0 0 1.1em;
    font-size: var(--f-meta);
    font-weight: 600;
    letter-spacing: .19em;
    text-transform: uppercase;
    color: var(--muted);
}
.meta--spaced { margin-top: 2.2em; }
.meta--brass { color: var(--brass); }

/* --- Каркас --------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gut); }

.section { padding-block: var(--sec); background: var(--bg); color: var(--fg); }
.section--dark {
    --bg: var(--obsidian); --fg: var(--ivory); --muted: var(--stone);
    --panel: var(--graphite);
    --line: rgba(243, 240, 233, .14); --line-strong: rgba(243, 240, 233, .3);
}
.section--graphite {
    --bg: #141414; --fg: var(--ivory); --muted: var(--stone);
    --panel: var(--graphite);
    --line: rgba(243, 240, 233, .13); --line-strong: rgba(243, 240, 233, .28);
}
.section--light {
    --bg: var(--ivory); --fg: var(--obsidian); --muted: #6E6A63;
    --panel: #E7E3DA;
    --line: rgba(11, 11, 11, .14); --line-strong: rgba(11, 11, 11, .3);
}
.section--tight { padding-block: clamp(48px, 6vw, 84px); }

.section__head { margin-bottom: clamp(34px, 4.5vw, 60px); }
.section__head--row {
    display: flex; flex-wrap: wrap; align-items: end;
    justify-content: space-between; gap: 20px 40px;
}
.section__head h2 { margin-bottom: .3em; }

/* --- Кнопки --------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 15px 30px;
    background: var(--fg); color: var(--bg);
    border: 1px solid var(--fg);
    font-size: .93rem; font-weight: 600; letter-spacing: .01em;
    transition: background var(--t), color var(--t), border-color var(--t);
    cursor: pointer;
}
.btn:hover { background: var(--brass); border-color: var(--brass); color: var(--obsidian); }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--line-strong); }
.btn--ghost:hover { background: transparent; color: var(--brass); border-color: var(--brass); }
.btn--small { padding: 10px 18px; font-size: .82rem; }
.btn--block { width: 100%; }

.link {
    display: inline-block;
    padding-bottom: 3px;
    border-bottom: 1px solid var(--line-strong);
    font-size: .93rem; font-weight: 500;
    transition: color var(--t), border-color var(--t);
}
.link:hover { color: var(--brass); border-color: var(--brass); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* --- Шапка ---------------------------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 90;
    background: rgba(11, 11, 11, 0);
    transition: background var(--t), border-color var(--t);
    border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
    background: rgba(11, 11, 11, .88);
    backdrop-filter: saturate(140%) blur(14px);
    border-bottom-color: rgba(243, 240, 233, .1);
}
.site-header__inner {
    display: flex; align-items: center; gap: clamp(16px, 3vw, 44px);
    min-height: 74px;
}
.site-header__right { display: flex; align-items: center; gap: 14px; margin-left: auto; }

.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ivory); }
.brand__mark { width: 26px; display: block; color: currentColor; }
.brand__mark svg { width: 100%; height: auto; }
.brand__word {
    font-size: .95rem; letter-spacing: .16em; line-height: 1;
    white-space: nowrap; padding-top: 2px;
}
.brand__word b { font-weight: 800; }
.brand__word i { font-style: normal; font-weight: 300; }

.nav { display: none; }
.nav__list { display: flex; gap: clamp(14px, 2vw, 30px); }
.nav__list a {
    position: relative; font-size: .88rem; font-weight: 500; color: var(--stone);
    padding-block: 6px;
    transition: color var(--t);
}
.nav__list a:hover { color: var(--ivory); }
.nav__list a[aria-current="page"] { color: var(--ivory); }
.nav__list a[aria-current="page"]::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0;
    height: 1px; background: var(--brass);
}

.langs { display: flex; gap: 2px; }
.langs a {
    padding: 5px 7px;
    font-size: var(--f-meta); font-weight: 600; letter-spacing: .12em;
    color: var(--stone); transition: color var(--t);
}
.langs a:hover { color: var(--ivory); }
.langs a[aria-current="true"] { color: var(--brass); }
.langs--big { gap: 14px; }
.langs--big a { padding: 0; font-size: .95rem; letter-spacing: 0; }
.langs--footer { flex-direction: column; gap: 6px; }
.langs--footer a { padding: 0; font-size: .92rem; letter-spacing: 0; color: var(--muted); }
.langs--footer a:hover { color: var(--fg); }

.site-header__cta { display: none; }

.burger {
    width: 42px; height: 42px; margin-right: -8px;
    display: grid; place-items: center;
    background: none; border: 0; cursor: pointer;
}
.burger__lines { display: block; width: 22px; }
.burger__lines i { display: block; height: 1.5px; background: var(--ivory); transition: transform var(--t), opacity var(--t); }
.burger__lines i + i { margin-top: 6px; }
.burger[aria-expanded="true"] .burger__lines i:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines i:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* --- Мобильное меню ------------------------------------------------------- */
.mobile-menu {
    position: fixed; inset: 74px 0 0; z-index: 88;
    background: var(--obsidian);
    padding: clamp(24px, 6vw, 40px) var(--gut) 40px;
    display: flex; flex-direction: column; justify-content: space-between;
    overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__nav a {
    display: block; padding: 14px 0;
    font-size: clamp(1.7rem, 7vw, 2.4rem); font-weight: 700; letter-spacing: -.03em;
    border-bottom: 1px solid rgba(243, 240, 233, .1);
}
.mobile-menu__foot { display: flex; flex-direction: column; gap: 22px; margin-top: 40px; }
.mobile-menu__mail { color: var(--stone); font-size: .92rem; }

/* --- Заставка ------------------------------------------------------------- */
.intro {
    position: fixed; inset: 0; z-index: 300;
    display: grid; place-items: center;
    background: var(--obsidian);
}
.intro__mark { width: clamp(64px, 14vw, 104px); color: var(--ivory); }
.intro__mark svg { width: 100%; height: auto; }
html.rc-intro-running .intro__mark { animation: introMark 1.05s cubic-bezier(.22, .8, .25, 1) forwards; }
html.rc-intro-done .intro { animation: introOut .35s ease forwards; pointer-events: none; }
@keyframes introMark {
    0%   { opacity: 0; transform: translateX(-14px) scale(.94); clip-path: inset(0 100% 0 0); }
    55%  { opacity: 1; transform: translateX(0) scale(1); clip-path: inset(0 0 0 0); }
    100% { opacity: 1; transform: translateX(0) scale(1); clip-path: inset(0 0 0 0); }
}
@keyframes introOut { to { opacity: 0; visibility: hidden; } }

/* --- Хиро ----------------------------------------------------------------- */
.hero {
    position: relative;
    padding-top: clamp(44px, 7vw, 86px);
    padding-bottom: clamp(56px, 8vw, 110px);
    background: var(--obsidian);
    overflow: hidden;
}
.hero__grid { display: grid; gap: clamp(38px, 6vw, 70px); }
.hero__text { max-width: 44ch; }
.hero h1 { margin-bottom: .34em; }
.hero .lead { max-width: 46ch; }

.hero__strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(148px, 44vw);
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gut) * -1);
    padding-inline: var(--gut);
    padding-bottom: 6px;
    scrollbar-width: none;
}
.hero__strip::-webkit-scrollbar { display: none; }
.hero__strip > * { scroll-snap-align: start; }

/* --- Карточка вертикального видео ----------------------------------------- */
.reel { display: block; position: relative; }
.reel__frame {
    position: relative;
    aspect-ratio: 9 / 16;
    background: var(--panel);
    overflow: hidden;
}
.reel__frame img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 320ms cubic-bezier(.4, 0, .2, 1), opacity var(--t);
}
.reel:hover .reel__frame img { transform: scale(1.035); }
.reel__play {
    position: absolute; left: 14px; bottom: 14px;
    width: 34px; height: 34px;
    display: grid; place-items: center;
    background: rgba(11, 11, 11, .55);
    backdrop-filter: blur(6px);
    color: var(--ivory);
    border: 0; cursor: pointer;
    transition: background var(--t), color var(--t);
}
.reel:hover .reel__play, .reel__play:hover { background: var(--ivory); color: var(--obsidian); }
.reel__play svg { width: 11px; height: 11px; }
.reel__body { padding-top: 12px; }
.reel__client { font-size: var(--f-meta); font-weight: 600; letter-spacing: .17em; text-transform: uppercase; color: var(--brass); }
.reel__title { margin: 5px 0 0; font-size: .97rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.3; }
.reel__cat { margin-top: 3px; font-size: .8rem; color: var(--muted); }

/* --- Сетка работ ---------------------------------------------------------- */
.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
    gap: clamp(14px, 2vw, 26px) clamp(12px, 1.6vw, 20px);
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(26px, 3.5vw, 40px); }
.filters button {
    padding: 8px 15px;
    background: transparent; color: var(--muted);
    border: 1px solid var(--line);
    font-size: .82rem; font-weight: 500;
    cursor: pointer;
    transition: color var(--t), border-color var(--t), background var(--t);
}
.filters button:hover { color: var(--fg); border-color: var(--line-strong); }
.filters button[aria-pressed="true"] { background: var(--fg); border-color: var(--fg); color: var(--bg); }

/* --- Блок Reel Daily ------------------------------------------------------ */
.rd-panel { display: grid; gap: clamp(30px, 5vw, 64px); align-items: center; }
.rd-figure {
    font-size: clamp(2.4rem, 9vw, 5rem);
    font-weight: 800; letter-spacing: -.045em; line-height: .96;
    margin: 0 0 .22em;
}
.rd-price {
    display: inline-block;
    padding: 6px 0 8px;
    border-bottom: 1px solid var(--brass);
    font-size: clamp(1.15rem, 2.4vw, 1.5rem);
    font-weight: 600; letter-spacing: -.02em;
}
.rd-list { display: grid; gap: 0; margin-top: 8px; }
.rd-list li {
    display: flex; gap: 14px; align-items: baseline;
    padding: 14px 0;
    border-top: 1px solid var(--line);
    font-size: .95rem;
}
.rd-list li::before { content: ''; flex: 0 0 auto; width: 6px; height: 6px; background: var(--brass); transform: translateY(-2px); }

/* --- Карточки услуг ------------------------------------------------------- */
.cards { display: grid; gap: clamp(14px, 2vw, 22px); }
.card {
    display: flex; flex-direction: column;
    padding: clamp(22px, 3vw, 32px);
    border: 1px solid var(--line);
    background: transparent;
    transition: border-color var(--t);
}
.card:hover { border-color: var(--line-strong); }
.card--accent { border-color: var(--brass); }
.card__flag {
    display: inline-block; margin-bottom: 14px;
    font-size: var(--f-meta); font-weight: 600; letter-spacing: .17em;
    text-transform: uppercase; color: var(--brass);
}
.card__name { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: .2em; }
.card__tag { font-size: .88rem; color: var(--muted); margin-bottom: 1.1em; }
.card__price {
    margin: 0 0 1.2em; padding-bottom: 1em;
    border-bottom: 1px solid var(--line);
    font-size: 1.28rem; font-weight: 700; letter-spacing: -.025em;
}
.card__price span { display: block; font-size: .78rem; font-weight: 500; letter-spacing: .02em; color: var(--muted); }
.card__list { display: grid; gap: 9px; margin-bottom: 1.6em; font-size: .92rem; }
.card__list li { display: flex; gap: 10px; }
.card__list li::before { content: ''; flex: 0 0 auto; width: 5px; height: 5px; margin-top: .55em; background: var(--brass); }
.card__foot { margin-top: auto; }
.card__for { font-size: .86rem; color: var(--muted); margin-bottom: 1.2em; }

/* --- Шаги процесса -------------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 0; }
.steps li {
    counter-increment: step;
    display: grid; grid-template-columns: 44px 1fr; gap: 6px 18px;
    padding: clamp(20px, 2.6vw, 28px) 0;
    border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before {
    content: counter(step, decimal-leading-zero);
    grid-row: 1 / span 2;
    font-size: var(--f-meta); font-weight: 600; letter-spacing: .14em;
    color: var(--brass); padding-top: .45em;
}
.steps h3 { margin: 0 0 .25em; font-size: clamp(1.1rem, 2vw, 1.35rem); }
.steps p { color: var(--muted); font-size: .95rem; max-width: 62ch; }

/* --- Строки данных -------------------------------------------------------- */
.rows { border-top: 1px solid var(--line); }
.rows > div {
    display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between;
    padding: 15px 0; border-bottom: 1px solid var(--line);
    font-size: .95rem;
}
.rows dt, .rows .rows__k { color: var(--muted); }
.rows dd, .rows .rows__v { margin: 0; font-weight: 500; }

/* --- Страница проекта ----------------------------------------------------- */
.project__head { display: grid; gap: clamp(28px, 4vw, 56px); }
.project__player { position: relative; background: var(--graphite); aspect-ratio: 9 / 16; overflow: hidden; }
.project__player img { width: 100%; height: 100%; object-fit: cover; }
.project__player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.project__playbtn {
    position: absolute; inset: 0; width: 100%;
    display: grid; place-items: center;
    background: rgba(11, 11, 11, .25); border: 0; color: var(--ivory); cursor: pointer;
    transition: background var(--t);
}
.project__playbtn:hover { background: rgba(11, 11, 11, .45); }
.project__playbtn span {
    width: 64px; height: 64px; display: grid; place-items: center;
    background: rgba(243, 240, 233, .92); color: var(--obsidian);
}
.project__playbtn svg { width: 17px; height: 17px; }
.project__blocks { display: grid; gap: clamp(22px, 3vw, 34px); }
.project__block h2 { font-size: 1.05rem; margin-bottom: .45em; }
.project__block p { color: var(--muted); }

/* --- FAQ ------------------------------------------------------------------ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    padding: 18px 0; cursor: pointer; list-style: none;
    font-size: 1.02rem; font-weight: 600; letter-spacing: -.015em;
    transition: color var(--t);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--brass); }
.faq summary::after {
    content: ''; flex: 0 0 auto; width: 11px; height: 11px;
    border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translate(-3px, -3px);
    transition: transform var(--t);
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq p { padding-bottom: 20px; color: var(--muted); max-width: 70ch; }

/* --- Формы ---------------------------------------------------------------- */
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 7px; }
.field > label {
    font-size: var(--f-meta); font-weight: 600; letter-spacing: .15em;
    text-transform: uppercase; color: var(--muted);
}
.field input, .field select, .field textarea {
    width: 100%; padding: 12px 0;
    background: transparent; color: var(--fg);
    border: 0; border-bottom: 1px solid var(--line-strong);
    font: inherit; font-size: 1rem;
    border-radius: 0;
    transition: border-color var(--t);
}
.field select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
    background-position: calc(100% - 11px) 1.35em, calc(100% - 6px) 1.35em;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 26px;
}
.field select option { background: var(--obsidian); color: var(--ivory); }
.section--light .field select option { background: var(--ivory); color: var(--obsidian); }
.field textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-bottom-color: var(--brass); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .7; }
.field--error input, .field--error textarea, .field--error select { border-bottom-color: #C4604E; }
.field__note { font-size: .78rem; color: var(--muted); }
.field__err { font-size: .82rem; color: #D98170; }

.form__row { display: grid; gap: 22px; }
.check { display: flex; gap: 11px; align-items: flex-start; font-size: .87rem; color: var(--muted); }
.check input { width: 17px; height: 17px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--brass); }
.check a { color: var(--fg); border-bottom: 1px solid var(--line-strong); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.notice { padding: 20px 22px; border: 1px solid var(--line-strong); margin-bottom: 30px; }
.notice--ok { border-color: var(--brass); }
.notice h2 { font-size: 1.1rem; margin-bottom: .3em; }
.notice p { color: var(--muted); font-size: .93rem; }

/* --- Финальный призыв ----------------------------------------------------- */
.cta-block { text-align: center; }
.cta-block .lead { margin-inline: auto; }
.cta-block .btn-row { justify-content: center; }

/* --- Юридические страницы ------------------------------------------------- */
.legal { max-width: 74ch; }
.legal__block { padding: 26px 0; border-top: 1px solid var(--line); }
.legal__block h2 { font-size: 1.05rem; margin-bottom: .55em; }
.legal__block p { color: var(--muted); white-space: pre-line; }
.legal__note {
    margin-top: 34px; padding: 16px 20px;
    border-left: 2px solid var(--brass);
    font-size: .88rem; color: var(--muted);
}

/* --- Подвал --------------------------------------------------------------- */
.site-footer {
    background: var(--obsidian); color: var(--ivory);
    border-top: 1px solid rgba(243, 240, 233, .12);
    padding-block: clamp(46px, 6vw, 80px) 28px;
    --muted: var(--stone); --fg: var(--ivory);
}
.site-footer__top { display: grid; gap: clamp(30px, 4vw, 48px); }
.site-footer__tagline { margin-top: 14px; color: var(--stone); font-size: .9rem; max-width: 30ch; }
.site-footer__col ul { display: grid; gap: 9px; }
.site-footer__col a { font-size: .92rem; color: var(--stone); transition: color var(--t); }
.site-footer__col a:hover { color: var(--ivory); }
.site-footer__bottom {
    display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
    margin-top: clamp(34px, 5vw, 60px); padding-top: 22px;
    border-top: 1px solid rgba(243, 240, 233, .1);
    font-size: .8rem; color: var(--stone);
}
.site-footer__bottom p { margin: 0; }
.brand--footer .brand__mark { width: 30px; }

/* --- Лайтбокс ------------------------------------------------------------- */
.lightbox {
    position: fixed; inset: 0; z-index: 200;
    display: grid; place-items: center;
    padding: clamp(16px, 4vw, 40px);
    background: rgba(11, 11, 11, .94);
}
.lightbox[hidden] { display: none; }
.lightbox__stage {
    position: relative;
    width: min(100%, calc((100vh - 120px) * 9 / 16));
    aspect-ratio: 9 / 16;
    background: #000;
}
.lightbox__stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lightbox__close {
    position: absolute; top: 14px; right: 14px;
    width: 44px; height: 44px; display: grid; place-items: center;
    background: none; border: 0; color: var(--ivory); cursor: pointer;
    transition: color var(--t);
}
.lightbox__close:hover { color: var(--brass); }
.lightbox__close svg { width: 20px; height: 20px; }

/* ==========================================================================
   Адаптив
   ========================================================================== */
@media (min-width: 620px) {
    .form__row { grid-template-columns: 1fr 1fr; }
    .cards { grid-template-columns: repeat(2, 1fr); }
    .site-footer__top { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
    .nav { display: block; }
    .burger { display: none; }
    .site-header__cta { display: inline-flex; }
    .mobile-menu { display: none !important; }

    .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; }
    .hero__strip {
        grid-auto-flow: unset;
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
        overflow: visible;
        margin-inline: 0;
        padding-inline: 0;
        align-items: start;
    }
    .hero__strip > *:nth-child(2) { transform: translateY(30px); }
    .hero__strip > *:nth-child(3) { transform: translateY(-16px); }

    .rd-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .cards { grid-template-columns: repeat(3, 1fr); }
    .project__head { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); align-items: start; }
    .site-footer__top { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
    .steps li { grid-template-columns: 70px 1fr; }
}

@media (min-width: 1100px) {
    .work-grid { grid-template-columns: repeat(4, 1fr); }
}
