/* Базовая структура. Цвета, шрифты и характер — в theme.css каждой версии. */
:root {
  --bg: #121316; --bg2: #1a1b1f; --bg3: #212228;
  --text: #ecebe8; --muted: #a3a29e; --line: rgba(255,255,255,.1);
  --gold: #b39a62; --gold-2: #c9b27c; --on-gold: #15130d;
  --f-head: Georgia, serif; --f-body: system-ui, sans-serif;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --wrap: 1180px; --gut: clamp(1rem, 4vw, 2rem);
  --hdr: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 12px); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.65 var(--f-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.menu-open, body.lb-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 500; line-height: 1.15; margin: 0; letter-spacing: -.005em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 2px; }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--on-gold); padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .7rem 1.4rem; border: 1px solid transparent; font-weight: 500; font-size: .98rem; letter-spacing: .01em; cursor: pointer; transition: transform 160ms var(--ease), background-color 200ms ease, border-color 200ms ease, color 200ms ease; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.97); }
.btn--gold { background: var(--gold); color: var(--on-gold); }
.btn--line { border-color: var(--line); background: transparent; color: var(--text); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
  .btn--gold:hover { background: var(--gold-2); }
  .btn--line:hover { border-color: var(--gold); color: var(--gold-2); }
}

/* Шапка */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header__in { display: flex; align-items: center; gap: 1.5rem; height: var(--hdr); }
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand__mark { width: 28px; height: 28px; border: 1px solid var(--gold); position: relative; flex: none; }
.brand__mark::after { content: ""; position: absolute; inset: 6px; border: 1px solid var(--gold); opacity: .5; }
.brand__name { font-family: var(--f-head); font-size: 1.3rem; letter-spacing: .14em; font-weight: 500; }
.brand__name i { font-style: normal; color: var(--gold); }
.nav { margin-left: auto; display: none; align-items: center; gap: .25rem; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: .35rem; padding: .6rem .9rem; font-size: .95rem; color: var(--muted); background: none; border: 0; cursor: pointer; transition: color 180ms ease; }
.nav__link[aria-current="page"] { color: var(--gold-2); }
.nav__btn svg { transition: transform 200ms var(--ease); }
.nav__has-dd.is-open .nav__btn svg { transform: rotate(180deg); }
.dd { position: absolute; top: calc(100% + 6px); left: 0; min-width: 280px; padding: .5rem; background: var(--bg2); border: 1px solid var(--line); box-shadow: 0 20px 40px rgba(0,0,0,.4); opacity: 0; visibility: hidden; transform: translateY(-4px); transform-origin: top left; transition: opacity 160ms ease-out, transform 160ms ease-out, visibility 0s linear 160ms; }
.nav__has-dd.is-open .dd { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dd a { display: block; padding: .6rem .9rem; font-size: .95rem; color: var(--muted); transition: color 160ms ease, background-color 160ms ease; }
.dd a[aria-current="page"] { color: var(--gold-2); }
@media (hover: hover) and (pointer: fine) {
  .nav__link:hover, .dd a:hover { color: var(--text); }
  .dd a:hover { background: var(--bg3); }
}
.hdr-phone { display: none; align-items: center; gap: .5rem; font-weight: 500; white-space: nowrap; padding: .55rem 1rem; border: 1px solid var(--gold); color: var(--gold-2); transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease); }
.hdr-phone:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .hdr-phone:hover { background: var(--gold); color: var(--on-gold); } }
.burger { margin-left: auto; width: 48px; height: 48px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; color: var(--text); -webkit-tap-highlight-color: transparent; }
.mmenu { position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - var(--hdr)); background: var(--bg); overflow-y: auto; padding: 1rem 0 6rem; opacity: 0; transform: translateY(-6px); transition: opacity 200ms ease-out, transform 200ms var(--ease); }
.mmenu.is-open { opacity: 1; transform: none; }
.mmenu[hidden] { display: none; }
.mmenu__nav a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
.mmenu__nav a[aria-current="page"] { color: var(--gold-2); }
.mmenu__cta { display: grid; gap: .75rem; margin-top: 1.5rem; }
@media (min-width: 1020px) {
  .nav { display: flex; } .hdr-phone { display: inline-flex; } .burger { display: none; }
  .nav { margin-left: auto; }
}

/* Быстрая связь */
.fab { position: fixed; z-index: 40; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 1fr 1fr; padding-bottom: env(safe-area-inset-bottom); background: var(--bg2); border-top: 1px solid var(--line); }
.fab__btn { display: flex; align-items: center; justify-content: center; gap: .55rem; min-height: 54px; font-weight: 500; transition: background-color 180ms ease, transform 160ms var(--ease); -webkit-tap-highlight-color: transparent; }
.fab__btn:active { transform: scale(.97); }
.fab__btn--call { background: var(--gold); color: var(--on-gold); }
.fab__btn--wa { color: var(--text); }
body { padding-bottom: 54px; }
@media (min-width: 760px) {
  body { padding-bottom: 0; }
  .fab { left: auto; right: 24px; bottom: 24px; grid-template-columns: none; gap: .6rem; background: none; border: 0; padding: 0; }
  .fab__btn { width: 56px; min-height: 56px; border-radius: 50%; box-shadow: 0 10px 28px rgba(0,0,0,.45); position: relative; }
  .fab__btn span { position: absolute; right: calc(100% + 10px); background: var(--bg2); color: var(--text); border: 1px solid var(--line); padding: .3rem .7rem; font-size: .85rem; white-space: nowrap; opacity: 0; transform: translateX(6px); pointer-events: none; transition: opacity 150ms ease-out, transform 150ms ease-out; }
  .fab__btn--wa { background: #1f3a2b; color: #d9f2e3; border: 1px solid rgba(255,255,255,.12); }
}
@media (min-width: 760px) and (hover: hover) and (pointer: fine) {
  .fab__btn:hover span { opacity: 1; transform: none; }
}
@media (min-width: 760px) { .fab__btn:focus-visible span { opacity: 1; transform: none; } }

/* Общие секции */
.eyebrow { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 0 0 1rem; font-weight: 500; }
.sec { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.sec--tight { padding-block: clamp(2.2rem, 5vw, 4rem); }
.sec--band { background: var(--bg2); border-block: 1px solid var(--line); }
.sec__head { margin-bottom: clamp(1.8rem, 4vw, 3rem); max-width: 46rem; }
.sec__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; }
.sec__h { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
.h3 { font-size: 1.4rem; margin-bottom: 1.1rem; }
.prose p { color: var(--muted); }
.link-arrow { display: inline-flex; align-items: center; gap: .5rem; color: var(--gold-2); font-weight: 500; }
.link-arrow svg { transition: transform 200ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover svg { transform: translateX(4px); } }

/* Hero */
.hero { padding-block: clamp(3.5rem, 9vw, 7rem); position: relative; overflow: hidden; }
.hero__in { display: grid; gap: 2.5rem; }
.hero__h1 { font-size: clamp(2.2rem, 6vw, 4.2rem); margin-bottom: 1.4rem; }
.hero__lead { max-width: 40rem; color: var(--muted); font-size: 1.15rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero__phones { display: flex; gap: .7rem; flex-wrap: wrap; margin: 1.4rem 0 0; color: var(--muted); }
.hero__phones a { color: var(--text); }
.hero__aside { border: 1px solid var(--line); background: var(--bg2); padding: 1.5rem; align-self: start; }
.hero__aside-h { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: .8rem; }
.quick a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); color: var(--muted); transition: color 180ms ease; }
.quick li:last-child a { border-bottom: 0; }
.quick svg { flex: none; color: var(--gold); transition: transform 200ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .quick a:hover { color: var(--text); } .quick a:hover svg { transform: translateX(3px); } }
@media (min-width: 960px) { .hero--split .hero__in, .hero--list .hero__in { grid-template-columns: 1.25fr .75fr; gap: 4rem; align-items: center; } }

/* Hero: «заявление» и «бенто» (авторские версии) */
.hero__row { display: grid; gap: 1.5rem; margin-top: 2rem; }
.hero__row .hero__cta { margin-top: 0; }
@media (min-width: 900px) { .hero__row { grid-template-columns: minmax(0, 1.2fr) auto; gap: 4rem; align-items: end; } }
.hero__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.5rem; margin-top: clamp(2.5rem, 6vw, 4.5rem); padding-top: 1.4rem; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .hero__meta { grid-template-columns: repeat(4, 1fr); } }
.hero__meta span { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .35rem; }
.hero__meta a { display: inline-flex; align-items: center; gap: .4rem; }
.hero__meta a svg { transition: transform 200ms var(--ease); }
.bento { display: grid; gap: .75rem; }
.bento__main, .bento__cell { background: var(--bg2); border: 1px solid var(--line); padding: clamp(1.4rem, 3vw, 2.4rem); }
.bento__cell { position: relative; display: flex; flex-direction: column; gap: .3rem; min-height: 9.5rem; justify-content: flex-end; transition: background-color 220ms ease, transform 160ms var(--ease); }
.bento__cell:active { transform: scale(.985); }
.bento__cell strong { font-family: var(--f-head); font-weight: 500; font-size: 1.35rem; line-height: 1.2; }
.bento__label { position: absolute; top: 1.3rem; left: 1.4rem; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.bento__sub { color: var(--muted); font-size: .93rem; }
.bento__arrow { position: absolute; top: 1.2rem; right: 1.3rem; color: var(--gold); transition: transform 220ms var(--ease); }
@media (min-width: 620px) { .bento { grid-template-columns: 1fr 1fr; } .bento__main { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .bento { grid-template-columns: repeat(4, 1fr); } .bento__main { grid-column: span 3; grid-row: span 2; } .bento__cell--call { grid-column: 4; } .bento__cell--cargo { grid-column: 4; } .bento__cell--works, .bento__cell--area { grid-column: span 2; min-height: 8rem; } }
@media (hover: hover) and (pointer: fine) { .bento__cell:hover { background: var(--bg3); } .bento__cell:hover .bento__arrow, .hero__meta a:hover svg { transform: translateX(4px); } }
.footer__mark { display: none; }
.route { display: none; }

/* Услуги */
.svc { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 640px) { .svc { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .svc { grid-template-columns: repeat(3, 1fr); } }
.svc__item { background: var(--bg); }
.svc__link { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: start; padding: 1.6rem; height: 100%; transition: background-color 220ms ease; }
.svc__num { font-family: var(--f-head); color: var(--gold); font-size: 1rem; padding-top: .2rem; }
.svc__title { display: block; font-family: var(--f-head); font-size: 1.3rem; line-height: 1.2; margin-bottom: .5rem; }
.svc__text { display: block; color: var(--muted); font-size: .96rem; line-height: 1.55; }
.svc__arrow { color: var(--gold); opacity: .5; padding-top: .3rem; transition: transform 220ms var(--ease), opacity 220ms ease; }
.svc__item--accent { background: var(--bg3); }
@media (hover: hover) and (pointer: fine) { .svc__link:hover { background: var(--bg3); } .svc__item--accent .svc__link:hover { background: #2a2b32; } .svc__link:hover .svc__arrow { transform: translateX(4px); opacity: 1; } }

/* Груз 200 баннер */
.cargo-band__in { display: grid; gap: 1.5rem; align-items: center; }
.cargo-band__p { color: var(--muted); max-width: 44rem; margin: 1rem 0 0; }
@media (min-width: 860px) { .cargo-band__in { grid-template-columns: 1fr auto; gap: 3rem; } }

/* О нас + шаги */
.about { display: grid; gap: 3rem; }
@media (min-width: 900px) { .about { grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; } }
.steps__item { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.steps__item:first-child { border-top: 1px solid var(--line); }
.steps__n { font-family: var(--f-head); color: var(--gold); font-size: 1.5rem; line-height: 1; }
.steps__item h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.steps__item p { color: var(--muted); margin: 0; font-size: .98rem; }
@media (min-width: 900px) { .steps--row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; } .steps--row .steps__item { grid-template-columns: 1fr; border: 0; border-top: 1px solid var(--gold); padding: 1.2rem 0 0; } .steps--row .steps__item:first-child { border-top: 1px solid var(--gold); } }

/* Галерея */
.grid-works { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .grid-works { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
.tile { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg3); cursor: zoom-in; }
.tile[hidden] { display: none; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.tile__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem .9rem .7rem; font-size: .88rem; background: linear-gradient(transparent, rgba(0,0,0,.75)); opacity: 0; transition: opacity 200ms ease; }
@media (hover: hover) and (pointer: fine) { .tile:hover img { transform: scale(1.04); } .tile:hover .tile__cap { opacity: 1; } }
@media (hover: none) { .tile__cap { opacity: 1; } }
.tile--empty { display: grid; place-items: center; text-align: center; cursor: default; border: 1px dashed var(--line); background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(255,255,255,.025) 14px 15px), var(--bg3); color: var(--muted); font-size: .85rem; }
.empty-note, .empty-filter { color: var(--muted); margin-top: 1.5rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; }
.chip { min-height: 44px; padding: .5rem 1.1rem; border: 1px solid var(--line); background: none; cursor: pointer; color: var(--muted); font-size: .94rem; transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, transform 160ms var(--ease); }
.chip:active { transform: scale(.97); }
.chip.is-on { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
@media (hover: hover) and (pointer: fine) { .chip:not(.is-on):hover { color: var(--text); border-color: var(--gold); } }

/* Лайтбокс */
.lb { border: 0; padding: 0; background: rgba(8,8,10,.96); color: #fff; width: 100vw; height: 100dvh; max-width: none; max-height: none; opacity: 0; transition: opacity 200ms ease-out, display 200ms allow-discrete, overlay 200ms allow-discrete; }
.lb[open] { opacity: 1; display: grid; grid-template-columns: auto 1fr auto; align-items: center; }
@starting-style { .lb[open] { opacity: 0; } }
.lb::backdrop { background: transparent; }
.lb__fig { margin: 0; display: grid; justify-items: center; gap: .8rem; padding: 3.5rem 0; min-width: 0; }
.lb__fig img { max-width: 100%; max-height: calc(100dvh - 9rem); width: auto; height: auto; object-fit: contain; }
.lb__fig figcaption { color: #bbb; font-size: .95rem; text-align: center; padding-inline: 1rem; }
.lb__close, .lb__nav { background: none; border: 0; color: #fff; cursor: pointer; width: 52px; height: 52px; display: grid; place-items: center; opacity: .85; transition: opacity 150ms ease, transform 160ms var(--ease); }
.lb__close:active, .lb__nav:active { transform: scale(.92); }
.lb__close { position: absolute; top: 8px; right: 8px; z-index: 2; }
.lb__prev svg { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) { .lb__close:hover, .lb__nav:hover { opacity: 1; } }
@media (max-width: 640px) { .lb[open] { grid-template-columns: 1fr; } .lb__nav { display: none; } }

/* Внутренние страницы */
.phead { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); border-bottom: 1px solid var(--line); }
.crumbs { display: flex; gap: .6rem; font-size: .88rem; color: var(--muted); margin-bottom: 1.4rem; flex-wrap: wrap; }
.crumbs a { color: var(--gold-2); }
.phead__h1 { font-size: clamp(2rem, 5vw, 3.4rem); max-width: 22ch; }
.phead__lead { max-width: 46rem; color: var(--muted); font-size: 1.15rem; margin: 1.3rem 0 0; }
.detail { display: grid; gap: 2.5rem; }
@media (min-width: 940px) { .detail { grid-template-columns: 1fr 340px; gap: 4rem; align-items: start; } .aside { position: sticky; top: calc(var(--hdr) + 20px); } }
.checks li { position: relative; padding: .85rem 0 .85rem 2rem; border-bottom: 1px solid var(--line); }
.checks li:first-child { border-top: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: .2rem; top: 1.45rem; width: 10px; height: 5px; border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(-45deg); }
.callout { margin: 1.6rem 0; padding: 1.1rem 1.3rem; border-left: 2px solid var(--gold); background: var(--bg2); }
.detail .prose { margin-top: 1.6rem; }
.aside { border: 1px solid var(--line); background: var(--bg2); padding: 1.6rem; display: grid; gap: .7rem; }
.aside__h { font-size: 1.3rem; }
.aside__p { color: var(--muted); font-size: .96rem; margin: 0 0 .4rem; }
.dirs { display: grid; gap: 1rem; }
@media (min-width: 760px) { .dirs { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.dir { border: 1px solid var(--line); padding: 1.8rem; background: var(--bg2); }
.dir__tag { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.dir h3 { font-size: 1.4rem; margin: .7rem 0; }
.dir p { color: var(--muted); margin: 0; }

/* Форма */
.contact-split { display: grid; gap: 2.5rem; }
@media (min-width: 940px) { .contact-split { grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; } .contact-split--form { grid-template-columns: 1.1fr .9fr; } }
.contact-split--form > .rform:first-child { order: 0; }
.contact-list { margin-top: 1.5rem; display: grid; gap: .3rem; }
.contact-list a { display: inline-flex; align-items: center; gap: .7rem; padding: .5rem 0; color: var(--gold-2); font-size: 1.15rem; }
.rform { border: 1px solid var(--line); background: var(--bg2); padding: clamp(1.4rem, 3vw, 2.2rem); }
.rform__title { font-size: 1.6rem; margin-bottom: .6rem; }
.rform__lead { color: var(--muted); font-size: .98rem; }
.rform__grid { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: 1.2rem; }
@media (min-width: 560px) { .rform__grid { grid-template-columns: 1fr 1fr; } .field--wide { grid-column: 1 / -1; } }
.field label { display: block; font-size: .85rem; color: var(--muted); margin-bottom: .35rem; }
.field label b { color: var(--gold); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: .7rem .9rem; background: var(--bg); border: 1px solid var(--line); border-radius: 0; font-size: 1rem; transition: border-color 180ms ease; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field [aria-invalid="true"] { border-color: #b4645a; }
.rform__foot { margin-top: 1.3rem; display: grid; gap: .9rem; }
.rform__note { font-size: .8rem; color: var(--muted); margin: 0; }
.rform__status { margin: .9rem 0 0; min-height: 1.5em; font-size: .95rem; }
.rform__status.is-ok { color: #9ccf9f; } .rform__status.is-err { color: #e0a39b; }
.others__list li a { display: block; padding: .6rem 0; border-bottom: 1px solid var(--line); color: var(--muted); transition: color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .others__list li a:hover { color: var(--gold-2); } }
.bigphones { margin-bottom: 2rem; }
.bigphones li { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.bigphones li:first-child { border-top: 1px solid var(--line); }
.bigphones__l { display: block; font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.bigphones a { font-family: var(--f-head); font-size: clamp(1.7rem, 4vw, 2.4rem); color: var(--gold-2); }

/* Подвал */
.site-footer { border-top: 1px solid var(--line); background: #0d0e10; margin-top: 2rem; }
.footer__grid { display: grid; gap: 2.2rem; padding-block: 3.5rem 2rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 1.3fr 1.2fr .8fr 1fr; } }
.footer__h { font-family: var(--f-body); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; font-weight: 500; }
.footer__list li { padding: .25rem 0; }
.footer__list a { color: var(--muted); transition: color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .footer__list a:hover { color: var(--text); } }
.footer__text, .footer__small { color: var(--muted); font-size: .94rem; margin-top: 1rem; }
.footer__bottom { padding-block: 1.4rem 2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }

/* Слой деталей для авторских версий (theme.json: "fx": true).
   Браузерные поверхности, один заход героя при загрузке, отклик на наведение. */
.fx { accent-color: var(--gold); scrollbar-color: var(--bg3) var(--bg); }
.fx ::selection { background: var(--gold); color: var(--on-gold); }
.fx input, .fx textarea { caret-color: var(--gold-2); }
.fx :focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 3px; }
.fx .callout { border: 1px solid var(--line); border-left-width: 1px; border-radius: 4px; }
.fx .tile__cap { display: none; }
.fx .tile img { transition: transform 600ms var(--ease); }
.fx .link-arrow, .fx .footer__list a, .fx .crumbs a, .fx .hero__phones a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 320ms var(--ease), color 180ms ease; padding-bottom: 2px; }
@media (hover: hover) and (pointer: fine) {
  .fx .tile:hover img { transform: scale(1.03); }
  .fx .link-arrow:hover, .fx .footer__list a:hover, .fx .crumbs a:hover, .fx .hero__phones a:hover { background-size: 100% 1px; }
  .fx .others__list li a:hover { transform: translateX(3px); }
}
.fx .others__list li a { transition: color 160ms ease, transform 240ms var(--ease); }
@keyframes enter { from { opacity: 0; transform: translateY(14px); } }
.fx .hero__main > *, .fx .hero__side > * { animation: enter 800ms var(--ease) both; }
.fx .hero__main > :nth-child(2), .fx .hero__side > :nth-child(2) { animation-delay: 90ms; }
.fx .hero__main > :nth-child(3) { animation-delay: 180ms; }
.fx .hero__main > :nth-child(4) { animation-delay: 270ms; }
.fx .hero__art { pointer-events: none; }

/* Появление при прокрутке — только если JS активен */
.js-reveal .sec__head, .js-reveal .svc__item, .js-reveal .steps__item, .js-reveal .tile, .js-reveal .dir, .js-reveal .detail__main, .js-reveal .aside, .js-reveal .rform { opacity: 0; transform: translateY(10px); transition: opacity 420ms var(--ease) var(--d, 0ms), transform 420ms var(--ease) var(--d, 0ms); }
.js-reveal .in { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

.nowrap { white-space: nowrap; }

/* Где мы работаем */
.areas { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.areas li { padding: .45rem .9rem; border: 1px solid var(--line); border-radius: 999px; font-size: .94rem; color: var(--text); background: var(--bg2); }
.areas li:first-child { border-color: var(--gold); }

/* Частые вопросы */
.faq { border-top: 1px solid var(--line); max-width: 52rem; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0; font-size: 1.08rem; color: var(--text); -webkit-tap-highlight-color: transparent; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(45deg) translateY(-3px); transition: transform 240ms var(--ease); }
.faq__item[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq__item p { margin: 0 0 1.2rem; max-width: 46rem; color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .faq__item summary:hover { color: var(--gold-2); } }
