@font-face { font-family: "Unbounded"; font-weight: 400 800; font-display: swap; src: url(../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-weight: 400 800; font-display: swap; src: url(../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-weight: 400 800; font-display: swap; src: url(../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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Unbounded"; font-weight: 400 800; font-display: swap; src: url(../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: "Golos Text"; font-weight: 400 700; font-display: swap; src: url(../fonts/golostext-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-weight: 400 700; font-display: swap; src: url(../fonts/golostext-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-weight: 400 700; font-display: swap; src: url(../fonts/golostext-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Golos Text"; font-weight: 400 700; font-display: swap; src: url(../fonts/golostext-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; }

:root {
  /* Фирменный стиль «Стройплощадка» (26.10.2026): бетон, графит, один красный. Знак — «А»-ферма с красной балкой. */
  --red: #C8102E; --red-hi: #C8102E; --red-lo: #A00D24;
  --grad: linear-gradient(#C8102E, #C8102E);
  --graphite: #1B2430; --graphite-2: #243040; --ink: #1B2430; --text: #2E3946; --muted: #5B6573;
  --paper: #ffffff; --paper-2: #E9EBEA; --line: #D9DDE0; --radius: 4px;
  --on-accent: #fff; --btn: #C8102E; --on-btn: #fff; --field-bg: #fff; --field-line: #C9CED3; --top-bg: #1B2430;
  --glow: transparent; --glow-2: transparent;
  color-scheme: light;
}
/* Темы — как в CRM: «Бетон» (основная), «Графит», «Ночь». Выбор посетителя помнит его браузер. */
[data-theme="dark"] {
  --red: #FF5C64; --red-hi: #FF5C64; --red-lo: #FF8A8F; --grad: linear-gradient(#C8102E, #C8102E); --btn: #C8102E; --on-btn: #fff;
  --graphite: #0E1115; --graphite-2: #1B2027; --ink: #ECEFF2; --text: #C4CBD3; --muted: #949DA9;
  --paper: #13171C; --paper-2: #1B2027; --line: #2F3742;
  --field-bg: #161A20; --field-line: #2F3742; --top-bg: #0E1115;
  color-scheme: dark;
}
[data-theme="sapphire"] {
  --red: #E2B65C; --red-hi: #E2B65C; --red-lo: #F1D38A;
  --grad: linear-gradient(#E2B65C, #E2B65C);
  --graphite: #070D1A; --graphite-2: #121C30; --ink: #EDF1F9; --text: #C5CFE2; --muted: #94A2BE;
  --paper: #0B1322; --paper-2: #121C30; --line: #24345A;
  --on-accent: #1b1405; --btn: #E2B65C; --on-btn: #1b1405; --field-bg: #0E182B; --field-line: #24345A; --top-bg: #070D1A;
  color-scheme: dark;
}
/* Ещё 7 палитр (26.10.2026) — те же, что в CRM */
[data-theme="steel"] {
  /* Сталь */
  --red: #1F5FAD; --red-hi: #1F5FAD; --red-lo: #1F5FAD; --grad: linear-gradient(#1F5FAD, #1F5FAD);
  --btn: #1F5FAD; --on-btn: #FFFFFF; --on-accent: #FFFFFF;
  --graphite: #142233; --graphite-2: #142233; --ink: #142233; --text: #33445A; --muted: #56657A;
  --paper: #FFFFFF; --paper-2: #E4E9EF; --line: #D3DAE2;
  --field-bg: #FFFFFF; --field-line: #D3DAE2; --top-bg: #142233;
  color-scheme: light;
}
[data-theme="khaki"] {
  /* Хаки */
  --red: #5E6C22; --red-hi: #5E6C22; --red-lo: #5E6C22; --grad: linear-gradient(#5E6C22, #5E6C22);
  --btn: #5E6C22; --on-btn: #FFFFFF; --on-accent: #FFFFFF;
  --graphite: #2E3624; --graphite-2: #2E3624; --ink: #23291C; --text: #3C4433; --muted: #5C6450;
  --paper: #FFFFFF; --paper-2: #E6E7DD; --line: #D4D6C8;
  --field-bg: #FFFFFF; --field-line: #D4D6C8; --top-bg: #2E3624;
  color-scheme: light;
}
[data-theme="sand"] {
  /* Песок */
  --red: #A0521A; --red-hi: #A0521A; --red-lo: #A0521A; --grad: linear-gradient(#A0521A, #A0521A);
  --btn: #A0521A; --on-btn: #FFFFFF; --on-accent: #FFFFFF;
  --graphite: #2B2418; --graphite-2: #2B2418; --ink: #2B2418; --text: #4A3F2E; --muted: #6B5F4B;
  --paper: #FFFFFF; --paper-2: #ECE6DA; --line: #DDD4C3;
  --field-bg: #FFFFFF; --field-line: #DDD4C3; --top-bg: #2B2418;
  color-scheme: light;
}
[data-theme="brick"] {
  /* Кирпич */
  --red: #A23B1E; --red-hi: #A23B1E; --red-lo: #A23B1E; --grad: linear-gradient(#A23B1E, #A23B1E);
  --btn: #A23B1E; --on-btn: #FFFFFF; --on-accent: #FFFFFF;
  --graphite: #3A1B15; --graphite-2: #3A1B15; --ink: #2A1714; --text: #4B302B; --muted: #6E5550;
  --paper: #FFFFFF; --paper-2: #F1ECEA; --line: #E0D3CE;
  --field-bg: #FFFFFF; --field-line: #E0D3CE; --top-bg: #3A1B15;
  color-scheme: light;
}
[data-theme="signal"] {
  /* Сигнал */
  --red: #FFC20E; --red-hi: #FFC20E; --red-lo: #FFC20E; --grad: linear-gradient(#FFC20E, #FFC20E);
  --btn: #FFC20E; --on-btn: #141414; --on-accent: #141414;
  --graphite: #0A0A0A; --graphite-2: #252525; --ink: #F0F0F0; --text: #CFCFCF; --muted: #A0A0A0;
  --paper: #141414; --paper-2: #1E1E1E; --line: #353535;
  --field-bg: #141414; --field-line: #353535; --top-bg: #0A0A0A;
  color-scheme: dark;
}
[data-theme="emerald"] {
  /* Изумруд */
  --red: #3DD39B; --red-hi: #3DD39B; --red-lo: #3DD39B; --grad: linear-gradient(#3DD39B, #3DD39B);
  --btn: #3DD39B; --on-btn: #06261A; --on-accent: #06261A;
  --graphite: #07110D; --graphite-2: #172A23; --ink: #E8F2EE; --text: #C2D6CD; --muted: #8FA89C;
  --paper: #0C1814; --paper-2: #12221C; --line: #243D33;
  --field-bg: #0C1814; --field-line: #243D33; --top-bg: #07110D;
  color-scheme: dark;
}
[data-theme="amethyst"] {
  /* Аметист */
  --red: #A994FF; --red-hi: #A994FF; --red-lo: #A994FF; --grad: linear-gradient(#A994FF, #A994FF);
  --btn: #A994FF; --on-btn: #160F2E; --on-accent: #160F2E;
  --graphite: #0C0A14; --graphite-2: #221D32; --ink: #EEEAF7; --text: #CCC4E0; --muted: #9C93B5;
  --paper: #14111E; --paper-2: #1C1829; --line: #342D4A;
  --field-bg: #14111E; --field-line: #342D4A; --top-bg: #0C0A14;
  color-scheme: dark;
}
.swatch-steel { background: linear-gradient(135deg, #E4E9EF 50%, #1F5FAD 50%); }
.swatch-khaki { background: linear-gradient(135deg, #E6E7DD 50%, #5E6C22 50%); }
.swatch-sand { background: linear-gradient(135deg, #ECE6DA 50%, #A0521A 50%); }
.swatch-brick { background: linear-gradient(135deg, #F1ECEA 50%, #7A2414 50%); }
.swatch-signal { background: linear-gradient(135deg, #141414 50%, #FFC20E 50%); }
.swatch-emerald { background: linear-gradient(135deg, #0C1814 50%, #3DD39B 50%); }
.swatch-amethyst { background: linear-gradient(135deg, #14111E 50%, #A994FF 50%); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font: 400 17px/1.6 "Golos Text", "Segoe UI", system-ui, sans-serif; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; }
.wrap { max-width: 1360px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
@media (min-width: 1400px) { .wrap { padding: 0 48px; } }
h1, h2, h3, h4 { font-family: Unbounded, "Golos Text", "Arial Black", sans-serif; font-weight: 600; letter-spacing: .02em; color: var(--ink); margin: 0; }
h1 { font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.08; font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.15; font-weight: 600; margin-bottom: 28px; }
h3 { font-size: 1.15rem; line-height: 1.3; font-weight: 500; }
.muted { color: var(--muted); }
.kicker { margin: 0 0 14px; font: 600 .95rem/1 "Golos Text", sans-serif; letter-spacing: 0; color: rgba(255, 255, 255, .6); display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 26px; height: 4px; background: var(--red-hi); }
.kicker.dark { color: var(--muted); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 60ch; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 26px; border: 0; border-radius: var(--radius); background: var(--btn); color: var(--on-btn); font: 700 1rem/1 "Golos Text", sans-serif; text-decoration: none; cursor: pointer; box-shadow: none; transition: transform .15s, box-shadow .15s; }
.btn:hover { filter: brightness(1.1); }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .28); box-shadow: none; }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); box-shadow: none; }
.btn-line { background: transparent; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn-line:hover { border-color: var(--red); color: var(--red); box-shadow: none; }

/* Шапка */
.top { position: sticky; top: 0; z-index: 20; background: var(--top-bg); border-bottom: 1px solid rgba(255, 255, 255, .07); color: #fff; }
.top-in { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand-mark { flex: none; width: 44px; height: 44px; display: grid; place-items: center; }
.brand-mark svg { width: 40px; height: 40px; }
.brand b { display: block; font: 700 1.15rem/1.1 Unbounded, sans-serif; }
.brand small { display: block; font-size: .66rem; letter-spacing: 0; color: rgba(255, 255, 255, .5); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) { padding: 10px 14px; border-radius: var(--radius); text-decoration: none; color: rgba(255, 255, 255, .78); font-weight: 600; font-size: .95rem; }
.nav a:not(.btn):hover, .nav a[aria-current] { color: #fff; background: rgba(255, 255, 255, .07); }
.nav a[aria-current] { box-shadow: inset 0 -3px 0 var(--red); }
.nav .nav-phone { color: #fff; font-weight: 700; white-space: nowrap; }
.nav-toggle, .nav-btn { display: none; }
.nav a { white-space: nowrap; }
/* Шесть разделов: на средних экранах телефон в шапке прячем (он есть в заявке и подвале), меню плотнее */
@media (min-width: 1181px) and (max-width: 1499px) {
  .nav .nav-phone { display: none; }
  .nav a:not(.btn) { padding: 10px 10px; }
}
@media (max-width: 1180px) {
  .nav-btn { display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .2); cursor: pointer; }
  .nav-btn span, .nav-btn span::before, .nav-btn span::after { display: block; width: 20px; height: 2px; background: #fff; position: relative; content: ""; }
  .nav-btn span::before { position: absolute; top: -6px; } .nav-btn span::after { position: absolute; top: 6px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; align-items: stretch; padding: 12px 16px 20px; background: var(--graphite); border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav a:not(.btn) { padding: 14px; font-size: 1.05rem; }
  .nav .btn { margin-top: 8px; min-height: 50px; }
}

/* Главный экран */
.hero, .page-head, .sec-dark { position: relative; overflow: hidden; color: #fff; background: var(--graphite); }
.hero::after, .page-head::after { content: ""; position: absolute; left: 0; bottom: 0; width: min(240px, 40%); height: 8px; background: var(--red); }
.hero h1, .page-head h1, .sec-dark h2 { color: #fff; }
.hero .lead, .page-head .lead, .sec-dark .lead { color: rgba(255, 255, 255, .74); }
.hero { padding: clamp(40px, 6vw, 88px) 0 clamp(40px, 5vw, 64px); }
.hero h1 { font-size: clamp(1.9rem, 3.6vw, 3.2rem); line-height: 1.1; margin-bottom: 22px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(360px, .7fr); gap: clamp(32px, 5vw, 88px); align-items: stretch; }
.hero-text { display: flex; flex-direction: column; justify-content: center; }
.hero-text .kicker { margin-bottom: 18px; }
@media (max-width: 1000px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-form { position: relative; z-index: 1; padding: clamp(24px, 2.5vw, 36px); border-radius: var(--radius); background: var(--paper); color: var(--text); border-top: 4px solid var(--red); box-shadow: none; }
.hero-form h2 { color: var(--ink); font-size: clamp(1.6rem, 2.4vw, 2.2rem); margin-bottom: 8px; }
.hero-form > p { margin: 0 0 20px; color: var(--muted); }
form.lead-form.compact { box-shadow: none; padding: 0; }
form.lead-form.compact .grid2 { grid-template-columns: 1fr; }
form.lead-form.compact .btn { justify-self: stretch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 0; }
.hero .stats { margin-top: clamp(40px, 5vw, 64px); }
.welcome { max-width: 900px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.welcome h1 { margin-bottom: 24px; }
.h1-sub { display: inline-block; margin-top: 10px; font-size: .5em; font-weight: 500; letter-spacing: 0; color: rgba(255, 255, 255, .82); }
.welcome .lead { margin: 0 auto; }
.welcome .hero-actions { justify-content: center; }
.hero-welcome .stats li { align-items: center; text-align: center; }
.kicker-center::after { content: ""; width: 26px; height: 4px; background: var(--red-hi); }
.hero-welcome { padding-top: clamp(64px, 9vw, 120px); background: url(../img/blueprint.svg) center bottom / cover no-repeat, var(--graphite); }
.hero-welcome h1 { font-size: clamp(1.9rem, 3.8vw, 3.3rem); font-weight: 700; }
.hero-welcome .h1-sub { font-weight: 400; color: rgba(255, 255, 255, .7); }
.hero-welcome .lead { color: rgba(255, 255, 255, .62); font-size: clamp(1.05rem, 1.5vw, 1.2rem); }
.hero-welcome .btn { box-shadow: none; }
.hero-welcome .stats b { background: none; color: #fff; }
.hero-welcome .stats li { background: rgba(28, 31, 36, .94); }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); overflow: hidden; position: relative; z-index: 1; }
.stats li { background: rgba(28, 31, 36, .78); padding: 24px 22px; display: flex; flex-direction: column; gap: 4px; }
.stats b { font: 700 clamp(1.9rem, 3.4vw, 2.7rem)/1 Unbounded, sans-serif; color: #fff; }
.stats span { font-weight: 700; color: #fff; line-height: 1.3; }
.stats small { color: rgba(255, 255, 255, .55); font-size: .85rem; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.watermark { display: none; position: absolute; right: -24px; bottom: -70px; font: 700 clamp(10rem, 26vw, 22rem)/1 Unbounded, sans-serif; color: rgba(255, 255, 255, .035); pointer-events: none; user-select: none; }
.page-head { padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 5vw, 56px); }
.page-head h1 { margin-bottom: 16px; }

/* Секции */
.sec { padding: clamp(56px, 8vw, 104px) 0; }
.sec-alt { background: var(--paper-2); }
.sec-intro { max-width: 62ch; margin: -12px 0 32px; color: var(--muted); font-size: 1.08rem; }

.dirs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1100px) { .dirs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .dirs { grid-template-columns: 1fr; } }
.dir { position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.dir:hover { border-color: var(--ink); }
.dir-num { font: 600 .9rem/1 Unbounded, sans-serif; color: var(--red); letter-spacing: 0; margin-bottom: 14px; }
.dir h3 { font-size: 1.4rem; margin-bottom: 12px; }
.dir p { margin: 0 0 18px; color: var(--muted); }
.dir ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 8px; }
.dir li { padding-left: 22px; position: relative; font-weight: 600; }
.dir li::before { content: ""; position: absolute; left: 0; top: .72em; width: 12px; height: 2px; background: var(--red-hi); }
.dir li.more-items { color: var(--muted); font-weight: 500; }
.dir li.more-items::before { background: var(--line); }
.more { margin-top: auto; font-weight: 700; color: var(--red); }

.profile { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
@media (max-width: 900px) { .profile { grid-template-columns: 1fr; } }
.profile div { padding: 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--red); display: grid; gap: 6px; }
.profile b { font: 600 1.25rem/1.2 Unbounded, sans-serif; color: var(--ink); letter-spacing: 0; }
.profile span { color: var(--muted); }
.profile-note { margin: 24px 0 0; max-width: 70ch; color: var(--muted); }
.clients { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.clients li { padding: 14px 22px; border-radius: 3px; background: var(--paper); border: 1px solid var(--line); font-weight: 700; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: s; padding: 24px; border-radius: var(--radius); background: var(--paper-2); display: flex; flex-direction: column; gap: 8px; }
.steps li::before { content: counter(s); font: 700 1.8rem/1 Unbounded, sans-serif; color: var(--red); }
.steps b { font: 600 1.15rem/1.2 Unbounded, sans-serif; color: var(--ink); letter-spacing: 0; }
.steps span { color: var(--muted); font-size: .95rem; }

/* Список услуг (без цен) */
.svc-list { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; border-top: 1px solid var(--line); }
@media (max-width: 800px) { .svc-list { grid-template-columns: 1fr; } }
.svc-list li { padding: 20px 0 20px 26px; border-bottom: 1px solid var(--line); position: relative; }
.svc-list li::before { content: ""; position: absolute; left: 0; top: 31px; width: 14px; height: 2px; background: var(--red-hi); }
.svc-list h3 { margin-bottom: 4px; }
.svc-list p { margin: 0; color: var(--muted); }

/* О компании */
.about { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }
.about-lead { margin: -8px 0 20px; font: 500 clamp(1.15rem, 1.8vw, 1.4rem)/1.45 "Golos Text", sans-serif; color: var(--ink); max-width: 46ch; }
.about-p { margin: 0 0 16px; font-size: 1.08rem; max-width: 62ch; }
.link-more { display: inline-block; margin-top: 8px; font-weight: 700; color: var(--red); text-decoration: none; }
.link-more:hover { text-decoration: underline; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 28px; border-left: 2px solid var(--line); display: grid; gap: 28px; }
.timeline li { position: relative; display: grid; gap: 4px; }
.timeline li::before { content: ""; position: absolute; left: -36px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 3px solid var(--red); }
.tl-year { font: 600 1.6rem/1 Unbounded, sans-serif; color: var(--red); }
.timeline b { font: 600 1.15rem/1.25 Unbounded, sans-serif; color: var(--ink); letter-spacing: 0; }
.timeline span:last-child { color: var(--muted); }

/* Новости */
.news-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.news-head h2 { margin-bottom: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 700 .88rem/1 "Golos Text", sans-serif; padding: 11px 16px; border-radius: 3px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; }
.chip:hover { border-color: var(--red); color: var(--red); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.news { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 1000px) { .news { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .news { grid-template-columns: 1fr; } }
.news li[hidden] { display: none; }
.news a { height: 100%; display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.news a:hover { border-color: var(--ink); }
.news-meta { font-size: .8rem; font-weight: 700; letter-spacing: 0; color: var(--muted); }
.news b { font-size: 1.05rem; line-height: 1.35; color: var(--ink); }
.news-sum { color: var(--muted); font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-go { margin-top: auto; font-weight: 700; font-size: .88rem; color: var(--red); }
.news-empty { color: var(--muted); }
.news-note { margin: 16px 0 0; font-size: .85rem; color: var(--muted); }

/* Заявка */
.cta { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .cta { grid-template-columns: 1fr; } }
.cta-phone { display: inline-block; margin-top: 12px; font: 600 clamp(1.6rem, 3vw, 2.2rem)/1 Unbounded, sans-serif; color: #fff; text-decoration: none; letter-spacing: 0; }

form.lead-form { background: var(--paper); color: var(--text); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); display: grid; gap: 16px; max-width: none; font-size: 1rem; box-shadow: none; }
.form-box form.lead-form { box-shadow: none; padding: 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .grid2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field > span { font-weight: 700; font-size: .9rem; color: var(--ink); }
.field i { color: var(--red); font-style: normal; }
.field input, .field select, .field textarea { width: 100%; font: 500 1rem/1.4 "Golos Text", sans-serif; color: var(--ink); padding: 13px 14px; border-radius: var(--radius); border: 1px solid var(--field-line); background: var(--field-bg); }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); outline: none; box-shadow: 0 0 0 3px rgba(200, 16, 46, .15); }
.has-error input, .has-error select, .has-error textarea { border-color: var(--red); }
.err { color: var(--red-lo); font-style: normal; font-size: .85rem; font-weight: 600; margin: -8px 0 0; }
.field .err { margin: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--red); flex: none; }
.check.has-error span { color: var(--red-lo); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { margin: 0; padding: 12px 14px; border-radius: var(--radius); background: rgba(210, 31, 42, .08); color: var(--red-lo); font-weight: 600; }
.form-hint { margin: 0; font-size: .85rem; color: var(--muted); }
form.lead-form .btn { justify-self: start; }
@media (max-width: 600px) { form.lead-form .btn { justify-self: stretch; } }

/* Контакты */
.contacts { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .contacts { grid-template-columns: 1fr; } }
.contact-cards { display: grid; gap: 16px; }
.card { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); }
.card-label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: 0; color: var(--muted); margin-bottom: 8px; }
.card-big { font: 600 clamp(1.6rem, 3vw, 2.1rem)/1.1 Unbounded, sans-serif; color: var(--ink); text-decoration: none; }
.card-big:hover { color: var(--red); }
.card-text { margin: 0 0 4px; font-weight: 700; color: var(--ink); font-size: 1.08rem; }
.card .muted { margin: 0; }
.map-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.form-box { padding: clamp(22px, 3vw, 36px); border-radius: var(--radius); background: var(--paper-2); }
.form-box h2 { margin-bottom: 20px; }
.sent { display: grid; gap: 10px; justify-items: start; padding: 24px; border-radius: var(--radius); background: var(--paper); border-left: 4px solid #1f9d55; }
.sent b { font: 600 1.4rem/1.2 Unbounded, sans-serif; color: var(--ink); }
.sent p { margin: 0; color: var(--muted); }

/* Текст документа */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.35rem; text-transform: none; margin: 32px 0 10px; }
.prose p { margin: 0 0 12px; }
.prose a { color: var(--red); }

/* Подвал */
.foot { background: var(--graphite); border-top: 1px solid rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .72); padding: 56px 0 24px; font-size: .95rem; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
@media (max-width: 800px) { .foot-in { grid-template-columns: 1fr; } }
.foot h4 { color: #fff; font-size: .95rem; letter-spacing: 0; margin-bottom: 14px; }
.foot-in > div { display: flex; flex-direction: column; gap: 8px; }
.foot-in a { text-decoration: none; }
.foot-in a:hover { color: #fff; }
.foot-note { margin: 12px 0 0; max-width: 40ch; }
.foot .muted { color: rgba(255, 255, 255, .45); }
.foot-legal { margin-top: 36px; font-size: .82rem; color: rgba(255, 255, 255, .45); }
.foot-legal p { margin: 0 0 6px; max-width: 110ch; overflow-wrap: anywhere; }
.foot-legal a { color: rgba(255, 255, 255, .6); }
.foot-legal a:hover { color: #fff; }
.foot-legal + .foot-bottom { margin-top: 20px; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; color: rgba(255, 255, 255, .45); }
.foot-bottom a { color: rgba(255, 255, 255, .6); }
.foot-bottom a:hover { color: #fff; }

/* Наши объекты */
.work + .work { margin-top: 56px; }
.work-head h2 { margin-bottom: 6px; }
.work-place { margin: 0 0 20px; font-weight: 700; color: var(--red); letter-spacing: 0; }
.work-photos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .work-photos { grid-template-columns: 1fr 1fr; } }
.work-photos li { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); aspect-ratio: 3 / 4; }
.work-photos img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.work-photos li:hover img { transform: scale(1.03); }
.work-photos span { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 3px; background: rgba(28, 31, 36, .78); color: #fff; font-size: .85rem; font-weight: 700; }
@media (max-width: 560px) { .work-photos span { left: 8px; bottom: 8px; padding: 4px 10px; font-size: .75rem; } }
.work-media { display: grid; grid-template-columns: 1fr 2fr; gap: 16px; align-items: stretch; }
.work-video { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--graphite); min-height: 100%; }
.work-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.work-video span, .work-photos.wide span { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 3px; background: rgba(28, 31, 36, .78); color: #fff; font-size: .85rem; font-weight: 700; }
.work-photos.wide { grid-template-columns: 1fr 1fr; }
.work-photos.wide li { aspect-ratio: 16 / 9; }
@media (max-width: 900px) { .work-media { grid-template-columns: 1fr; } .work-video { aspect-ratio: 9 / 16; max-height: 70vh; } }
@media (max-width: 560px) { .work-photos.wide { grid-template-columns: 1fr; } }

/* Переключатель темы */
.themes { position: relative; }
.themes summary { list-style: none; display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--radius); cursor: pointer; color: #fff; font-weight: 600; font-size: .92rem; }
.themes summary::-webkit-details-marker { display: none; }
.themes-dot { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); background: linear-gradient(135deg, var(--paper-2) 50%, var(--red) 50%); }
.themes-pop { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; display: grid; grid-template-columns: repeat(5, 28px); gap: 10px; padding: 14px; background: var(--graphite); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); }
@media (max-width: 1180px) { .themes { margin-top: 8px; } .themes-pop { position: static; margin-top: 10px; width: max-content; } }
.swatch { width: 28px; height: 28px; padding: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .28); cursor: pointer; transition: transform .15s, border-color .15s; }
.swatch:hover { transform: scale(1.12); }
.swatch[aria-pressed="true"] { border-color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .15); }
.swatch-light { background: linear-gradient(135deg, #E9EBEA 50%, #C8102E 50%); }
.swatch-dark { background: linear-gradient(135deg, #13171C 50%, #C8102E 50%); }
.swatch-sapphire { background: linear-gradient(135deg, #0B1322 50%, #E2B65C 50%); }
.sec-concept { background: var(--paper-2); }

/* Ссылки «подробнее» столбиком или в строку */
.links-more { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 8px; }
.links-row { flex-direction: row; flex-wrap: wrap; gap: 12px 32px; margin-top: 28px; }
.link-after { margin-top: 32px; }
.stats-head { margin-top: clamp(32px, 4vw, 48px); }

/* Объекты: направление — текст и рисунок-чертёж с цифрой; под ними — объекты с фото */
.obj-group { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .obj-group { grid-template-columns: 1fr; } }
.obj-text .sec-intro { margin-bottom: 28px; }
.obj-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.obj-actions .link-more { margin-top: 0; }
.obj-art { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; color: #fff; aspect-ratio: 3 / 2; background: var(--graphite); }
.obj-art svg { display: block; width: 100%; height: 100%; }
.obj-art figcaption { position: absolute; left: clamp(18px, 3vw, 32px); bottom: clamp(16px, 3vw, 28px); display: grid; gap: 2px; padding: 14px 18px; border-radius: var(--radius); background: rgba(28, 31, 36, .82); }
.obj-art figcaption b { font: 600 clamp(2.2rem, 4vw, 3.2rem)/1 Unbounded, sans-serif; color: #fff; }
.obj-art figcaption span { font-weight: 700; color: rgba(255, 255, 255, .78); line-height: 1.3; }
.obj-work { margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); }
.work-title { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.15; margin-bottom: 6px; }

/* Как мы работаем: этапы по порядку */
.flow { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 5vw, 72px); }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr; } }
.flow li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; padding: 28px 0; border-top: 1px solid var(--line); }
.flow-num { font: 600 clamp(2.4rem, 4vw, 3.2rem)/1 Unbounded, sans-serif; color: var(--red); min-width: 2ch; }
.flow h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin: 4px 0 8px; }
.flow-text { margin: 0 0 6px; font-weight: 700; color: var(--ink); }
.flow-more { margin: 0; color: var(--muted); }

/* О компании: карточки офиса и реквизитов */
.about-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 1000px) { .about-cards { grid-template-columns: 1fr; } }
.card-wide { grid-column: 1 / -1; }
.requisites { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px 32px; }
.requisites div { display: grid; gap: 2px; }
.requisites dt { font-size: .85rem; color: var(--muted); }
.requisites dd { margin: 0; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }

/* Цифры на телефоне: две равные колонки, длинные слова («государственных») не вылезают за край */
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) {
  .stats li { padding: 16px 12px; }
  .stats span { font-size: .84rem; overflow-wrap: anywhere; hyphens: auto; }
}
@media (max-width: 360px) { .stats span { font-size: .8rem; } }

/* ---------- Объекты: фото, одобренные владельцем ---------- */
.obj-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 16px; margin-top: 32px; }
.obj-photos figure { margin: 0; }
.obj-photos a { display: block; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.obj-photos img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s; }
.obj-photos a:hover img { transform: scale(1.03); }
.obj-photos figcaption { margin-top: 8px; font-size: .9rem; color: var(--muted); }

/* Правовые документы: списки, контакты оператора, отказ от учёта посещений */
.prose ul { margin: 0 0 12px; padding-left: 22px; }
.prose li { margin: 0 0 6px; }
.doc-contacts { margin: 8px 0 16px; }
.doc-contacts a { color: var(--red); }
.optout { margin-top: 36px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); }
.optout h2 { margin-top: 0; }
.optout form { margin: 0; }
.check a { color: var(--red); }

/* ---------- Эффекты: след за курсором и «вдавливание» кнопок (static fx.js) ---------- */
.fx-trail { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2147483000; }
.fx-host { overflow: hidden; }
.fx-host-rel { position: relative; }
.fx-dent { position: absolute; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(0, 0, 0, .30) 0%, rgba(0, 0, 0, .16) 42%, rgba(255, 255, 255, .22) 58%, rgba(255, 255, 255, 0) 70%);
  filter: blur(1px); animation: fx-dent .9s cubic-bezier(.16, .84, .3, 1) forwards; }
@keyframes fx-dent { 0% { transform: scale(.15); opacity: .95; } 40% { transform: scale(.8); opacity: .8; } 100% { transform: scale(1.15); opacity: 0; } }
/* Кнопка — как клавиша: снизу ребро; навели — чуть приподнялась, нажали — плавно ушла вниз и продавилась */
.btn { box-shadow: 0 3px 0 rgba(0, 0, 0, .3); transition: transform .14s cubic-bezier(.2, .8, .3, 1), box-shadow .14s, filter .2s, background-color .2s, border-color .2s, color .2s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 0 rgba(0, 0, 0, .3); filter: brightness(1.12); }
.btn-ghost, .btn-line { box-shadow: 0 3px 0 rgba(0, 0, 0, .18); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; filter: none; }
.btn-line:hover { border-color: var(--red); color: var(--red); background: transparent; filter: none; }
.btn:active, .chip:active { transform: translateY(3px); box-shadow: 0 0 0 rgba(0, 0, 0, .3), inset 0 3px 8px rgba(0, 0, 0, .35); filter: brightness(.96); transition-duration: .06s; }
.chip { transition: transform .14s cubic-bezier(.2, .8, .3, 1), border-color .2s, color .2s, background .2s; }
.dir, .news a { transition: border-color .2s, transform .14s; }
::selection { background: var(--red); color: var(--on-accent); }
@media (prefers-reduced-motion: reduce) { .btn:hover, .btn:active, .chip:active { transform: none; } }
@media (prefers-reduced-motion: reduce) { .fx-dent { display: none; } }
