:root{
--pg-bg:#16181C;--pg-elev:#1c2024;--pg-ink:#ffffff;
--btn-bg:#ffffff;--btn-ink:#111111;
--pg-bg-blur:rgba(22,24,28,.95);--pg-drawer:rgba(16,18,22,.98);
--w02:rgba(255,255,255,0.02);--w03:rgba(255,255,255,0.03);--w035:rgba(255,255,255,0.035);--w04:rgba(255,255,255,0.04);--w06:rgba(255,255,255,0.06);--w07:rgba(255,255,255,0.07);--w08:rgba(255,255,255,0.08);--w1:rgba(255,255,255,0.1);--w12:rgba(255,255,255,0.12);--w14:rgba(255,255,255,0.14);--w15:rgba(255,255,255,0.15);--w18:rgba(255,255,255,0.18);--w2:rgba(255,255,255,0.2);--w22:rgba(255,255,255,0.22);--w25:rgba(255,255,255,0.25);--w3:rgba(255,255,255,0.3);--w35:rgba(255,255,255,0.35);--w4:rgba(255,255,255,0.4);--w42:rgba(255,255,255,0.42);--w45:rgba(255,255,255,0.45);--w5:rgba(255,255,255,0.5);--w55:rgba(255,255,255,0.55);--w6:rgba(255,255,255,0.6);--w65:rgba(255,255,255,0.65);--w7:rgba(255,255,255,0.7);--w72:rgba(255,255,255,0.72);--w75:rgba(255,255,255,0.75);--w8:rgba(255,255,255,0.8);--w9:rgba(255,255,255,0.9);--w92:rgba(255,255,255,0.92);
}

/* SANVAKS — редизайн главной. Концепт: надёжность + инженерный расчёт.
   Палитра удерживается через data-accent: "graphite" (V1) и "blue" (V2). */

:root, html[data-accent="graphite"] {
  --bg: #FFFFFF;
  --surface: #F6F7F8;
  --surface-2: #EEF0F2;
  --ink: #181B1F;
  --muted: #686F77;
  --line: #E4E7EA;
  --accent: #1C2024;          /* графит */
  --accent-hover: #303640;
  --accent-ink: #FFFFFF;
  --accent-soft: #EEF0F2;
  --accent-deep: #1C2024;
  --band-bg: var(--pg-bg);          /* тёмная полоса */
  --band-ink: #F4F5F6;
  --band-muted: #9AA1A9;
  --band-line: var(--w12);
  --hot: #D7443B;
  --cold: #2C6FB5;
}
html[data-accent="blue"] {
  --bg: #FFFFFF;
  --surface: #F4F7FB;
  --surface-2: #E9F0F8;
  --ink: #14223A;
  --muted: #5C6B7E;
  --line: #DCE5EF;
  --accent: #1456C4;           /* инженерный синий */
  --accent-hover: #1147A2;
  --accent-ink: #FFFFFF;
  --accent-soft: #E7F0FC;
  --accent-deep: #0F3E8F;
  --band-bg: #102A4C;
  --band-ink: #EAF1FB;
  --band-muted: #93A6BE;
  --band-line: var(--w14);
  --hot: #E05548;
  --cold: #2E83D6;
}

:root {
  --tg: #229ED9;
  --wa: #25B366;
  --r: 12px;
  --r-lg: 18px;
  --maxw: 1240px;
  --pad: 40px;
  --font: 'Inter Tight', system-ui, sans-serif;
  --shadow: 0 1px 2px rgba(20,20,25,0.04), 0 12px 32px rgba(20,20,25,0.08);
  --shadow-lg: 0 8px 20px rgba(20,20,25,0.08), 0 30px 60px rgba(20,20,25,0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--band-bg);
  color: var(--band-ink);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
li { list-style: none; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; text-wrap: balance; }
.lead { color: var(--muted); font-size: 1.125rem; line-height: 1.6; text-wrap: pretty; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent-deep); font-size: 0.8125rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 18px;
}
.kicker::before { content: ''; width: 22px; height: 2px; background: var(--accent); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: none; border-radius: var(--r);
  padding: 16px 26px; font-size: 1rem; font-weight: 600; line-height: 1;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s;
}
.btn .ic { width: 20px; height: 20px; flex: 0 0 auto; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-tg { background: var(--tg); color:var(--pg-ink); }
.btn-tg:hover { transform: translateY(-2px); box-shadow: var(--shadow); filter: brightness(1.03); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-deep); }
.btn-on-band { background:var(--btn-bg); color: var(--accent-deep); }
.btn-on-band:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,0,0,0.3); }
.link-wa { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.9375rem; font-weight: 500; }
.link-wa:hover { color: var(--wa); }
.link-wa .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--wa); }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-deep); font-weight: 600; font-size: 0.9375rem; }
.arrow-link:hover { gap: 12px; }

/* ---------- Шапка ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--band-bg);
  transition: background .3s, box-shadow .3s;
}
.header.scrolled { background: var(--band-bg); box-shadow: none; }
.header-bar { display: flex; align-items: center; height: 88px; padding: 0 56px; gap: 0; flex-wrap: nowrap; width: 100%; max-width: 100%; box-sizing: border-box; }
.logo { display: flex; align-items: baseline; gap: 2px; font-size: 2.125rem; font-weight: 700; letter-spacing: 0.01em; color:var(--pg-ink); }
.logo i { font-style: normal; color:var(--pg-ink); }
.logo small { font-size: 0.5625rem; font-weight: 500; color: var(--w5); margin-left: 10px; letter-spacing: 0.04em; text-transform: uppercase; }
.nav { display: flex; gap: 28px; font-size: 1.0625rem; font-weight: 400; color:var(--pg-ink); text-transform: uppercase; letter-spacing: 0.08em; margin-left: 48px; flex-shrink: 1; min-width: 0; }
.nav a { padding: 6px 0; border-bottom: 2px solid transparent; transition: color .15s; }
.nav a:hover { color:var(--pg-ink); }
.nav a.active::after { width: 0; }
.header-right { display: flex; align-items: center; gap: 36px; margin-left: auto; }
.header-phone { font-size: 0.875rem; font-weight: 600; color:var(--pg-ink); white-space: nowrap; letter-spacing: 0.02em; }
.header-btn { border: 1px solid var(--w5); color:var(--pg-ink); padding: 22px 48px; font-size: 1.125rem; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; transition: background .15s, border-color .15s; border-radius: 0; }
.header-btn:hover { background: var(--w1); border-color: var(--w7); }
.header-phone { font-weight: 700; font-size: 1.0313rem; white-space: nowrap; }
.header-phone { color:var(--pg-ink); font-size: 1.0625rem !important; letter-spacing: 0.04em !important; }
.header-phone small { display: block; font-weight: 500; font-size: 0.7188rem; color: var(--band-muted); text-align: right; }

/* ---------- Hero form ---------- */
.hero-form-fields { display: flex; flex-direction: column; align-items: stretch; gap: 12px; max-width: 340px; }
.hero-form-fields input::placeholder { color: var(--w5); }
.hero-form-fields input:focus { outline: none; border-color: var(--accent); }

/* ---------- Hero labels ---------- */
.hero-labels { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero-label { position: absolute; display: flex; align-items: center; gap: 8px; }
.hero-label-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--hot, #D7443B); box-shadow: 0 0 0 4px rgba(215,68,59,0.25); flex-shrink: 0; animation: label-pulse 2s ease-in-out infinite; }
.hero-label-text { font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color:var(--pg-ink); line-height: 1.35; background: rgba(0,0,0,0.45); backdrop-filter: blur(6px); padding: 6px 12px; border-radius: 6px; white-space: nowrap; }
@keyframes label-pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(215,68,59,0.25); } 50% { box-shadow: 0 0 0 8px rgba(215,68,59,0.1); } }
@media (max-width: 768px) { .hero-labels { display: none; } }

/* ---------- Hero full-bleed ---------- */
.hero-full { position: relative; min-height: 520px; display: flex; align-items: flex-end; overflow: hidden; }
.hero-full-bg { position: absolute; inset: 0; background: var(--band-bg); }
.hero-full-content { position: relative; z-index: 2; padding: 0 var(--pad) 72px; color:var(--pg-ink); width: 100%; }
.hero-full h1 { font-size: 3.375rem; color:var(--pg-ink); max-width: 680px; }
.hero-full-sub { font-size: 1.125rem; color: var(--w72); margin-top: 18px; max-width: 520px; line-height: 1.6; }
.hero-full-cta { display: flex; align-items: center; gap: 22px; margin-top: 32px; flex-wrap: wrap; }
@media (max-width: 680px) {
  .hero-full { min-height: 420px; }
  .hero-full h1 { font-size: 2rem; }
  .hero-full-content { padding-bottom: 48px; }
}

/* ---------- Hero (коллаж) ---------- */
.hero { padding: 56px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1.1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: 3.125rem; }
.hero h1 .u { }
.hero .lead { margin-top: 22px; max-width: 500px; }
.hero-cta { display: flex; align-items: center; gap: 22px; margin-top: 34px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.hero-trust .t b { display: block; font-size: 1.625rem; font-weight: 700; letter-spacing: -0.02em; }
.hero-trust .t span { font-size: 0.8438rem; color: var(--muted); }
.hero-trust .t b em { font-style: normal; color: var(--accent-deep); }

/* Коллаж работ */
.collage { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1.25fr 1fr; gap: 12px; height: 520px; }
.collage figure { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--surface-2); }
.collage figure:nth-child(1) { grid-row: 1 / 3; }
.collage img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.collage figure:hover img { transform: scale(1.05); }
.collage figcaption {
  position: absolute; left: 12px; bottom: 12px;
  background: color-mix(in srgb, var(--band-bg) 78%, transparent);
  color:var(--pg-ink); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em;
  padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px);
}
.collage-badge {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  background:var(--btn-bg); border-radius: 12px; padding: 12px 16px; box-shadow: var(--shadow);
}
.collage-badge b { font-size: 1.1875rem; font-weight: 700; display: block; line-height: 1; }
.collage-badge span { font-size: 0.7188rem; color: var(--muted); }

/* Одиночный чертёж вместо коллажа */
.collage--single { display: block; height: auto !important; position: relative; max-height: 560px; }
.collage--single .blueprint-figure {
  overflow: hidden; border-radius: var(--r-lg);
  background:var(--btn-bg); border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.collage--single .blueprint-figure img {
  width: 100%; height: auto; max-height: 520px; object-fit: contain;
  transition: transform .5s ease;
}
.collage--single .blueprint-figure:hover img { transform: scale(1.03); }
.collage--single .blueprint-figure figcaption {
  position: absolute; left: 16px; bottom: 16px;
  background: color-mix(in srgb, var(--band-bg) 78%, transparent);
  color:var(--pg-ink); font-size: 0.8125rem; font-weight: 600;
  padding: 8px 14px; border-radius: 999px; backdrop-filter: blur(6px);
}

/* ---------- Полоса логотипов/доверия ---------- */
.stripe { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stripe-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; flex-wrap: wrap; }
.stripe-label { font-size: 0.8125rem; color: var(--muted); font-weight: 500; }
.stripe-brands { display: flex; gap: 30px; flex-wrap: wrap; font-size: 1.0625rem; font-weight: 700; color: var(--ink); opacity: 0.5; letter-spacing: 0.02em; }

/* ---------- Секции ---------- */
.section { padding: 92px 0; }
.section.tight { padding: 72px 0; }
.section-head { max-width: 660px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head h2 { font-size: 2.25rem; }
.section-head .lead { margin-top: 14px; font-size: 1.0625rem; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 48px; flex-wrap: wrap; }
.head-row .section-head { margin-bottom: 0; }

/* ---------- Почему / надёжность ---------- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; transition: box-shadow .2s, transform .2s; }
.why-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.why-num { font-size: 0.875rem; font-weight: 700; color: var(--accent-deep); font-variant-numeric: tabular-nums; }
.why-card h3 { font-size: 1.25rem; margin-top: 18px; }
.why-card p { color: var(--muted); font-size: 0.9375rem; margin-top: 10px; text-wrap: pretty; }

/* ---------- Услуги ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.service:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service:hover .service-photo img { transform: scale(1.05); }
.service-photo { aspect-ratio: 16/11; overflow: hidden; background: var(--surface-2); }
.service-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.service h3 { font-size: 1.3125rem; }
.service > .service-body > p { color: var(--muted); font-size: 0.9375rem; margin-top: 10px; flex: 1; }
.service-list { margin-top: 16px; display: flex; flex-direction: column; gap: 9px; }
.service-list li { display: flex; gap: 10px; align-items: baseline; font-size: 0.9063rem; }
.service-list li::before { content: ''; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); flex: 0 0 auto; transform: translateY(-1px); }
.service-foot { display: flex; align-items: baseline; justify-content: space-between; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.service-foot b { font-size: 1.1875rem; font-weight: 700; }
.service-foot span { font-size: 0.8125rem; color: var(--muted); }

/* ---------- Контрастная полоса ---------- */
.band { background: var(--band-bg); color: var(--band-ink); position: relative; overflow: hidden; }
.band::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(125deg, transparent 40%, var(--w04) 100%);
}
.band-in { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; padding: 76px 0; position: relative; z-index: 1; }
.band h2 { font-size: 2.125rem; }
.band .lead { color: var(--band-muted); margin-top: 16px; }
.band-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--band-line); border: 1px solid var(--band-line); border-radius: var(--r-lg); overflow: hidden; }
.band-stat { background: var(--band-bg); padding: 28px 26px; }
.band-stat b { display: block; font-size: 2.375rem; font-weight: 700; letter-spacing: -0.02em; }
.band-stat span { font-size: 0.8438rem; color: var(--band-muted); margin-top: 4px; display: block; }
.band-cta { margin-top: 30px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

/* ---------- Подпись к фирменным шкафам ---------- */
.signature { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sig-main { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 460px; background: var(--surface-2); }
.sig-main img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.sig-side { display: grid; grid-template-rows: 1fr 1fr; gap: 12px; }
.sig-tile { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); min-height: 224px; }
.sig-tile img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.sig-note {
  position: absolute; left: 16px; bottom: 16px; right: 16px;
  background: color-mix(in srgb, var(--band-bg) 82%, transparent);
  color:var(--pg-ink); padding: 12px 16px; border-radius: 12px; backdrop-filter: blur(8px);
}
.sig-note b { font-size: 0.9375rem; display: block; }
.sig-note span { font-size: 0.7813rem; color: var(--w75); }

/* ---------- Этапы ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--line); }
.step { background: var(--bg); padding: 30px 26px; position: relative; }
.step-num { font-size: 0.8125rem; font-weight: 700; color: var(--accent-ink); background: var(--accent); width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.step h3 { font-size: 1.0938rem; margin-top: 20px; }
.step p { color: var(--muted); font-size: 0.9063rem; margin-top: 8px; text-wrap: pretty; }

/* ---------- Отзывы — текстовые цитаты ---------- */
.reviews-plain { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.review-plain { padding: 32px 28px 32px 0; border-right: 1px solid var(--line); }
.review-plain:last-child { padding-right: 0; border-right: none; padding-left: 28px; }
.review-plain:nth-child(2) { padding-left: 28px; }
.review-plain p { font-size: 1.0313rem; line-height: 1.65; color: var(--ink); text-wrap: pretty; }
.review-plain span { display: block; margin-top: 18px; font-size: 0.8438rem; color: var(--muted); font-weight: 500; }
@media (max-width: 900px) { .reviews-plain { grid-template-columns: 1fr; } .review-plain, .review-plain:last-child, .review-plain:nth-child(2) { padding: 24px 0; border-right: none; border-bottom: 1px solid var(--line); } }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.work-card {
  background: var(--bg);
  overflow: hidden; cursor: pointer; text-align: left;
  display: flex; flex-direction: column;
  position: relative;
  transition: opacity .15s;
}
.work-card:hover { opacity: 0.92; }
.work-card:hover .ph img { transform: scale(1.04); }
.work-photo { aspect-ratio: 4/3; }
.work-body {
  padding: 16px 18px 20px;
  display: flex; flex-direction: column; gap: 4px;
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.work-kind { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); font-weight: 500; }
.work-card h3 { font-size: 1.0313rem; font-weight: 600; line-height: 1.35; }
.work-loc { color: var(--muted); font-size: 0.8125rem; }
.work-price { font-size: 1.3125rem; font-weight: 700; margin-top: 8px; letter-spacing: -0.01em; }
.work-days { font-size: 0.7813rem; color: var(--muted); margin-top: 1px; }
/* убрать старые селекторы если остались */
.work-tag { display: none; }
.work-meta { display: none; }
.work-desc { display: none; }

/* фото-заглушка */
.ph { position: relative; overflow: hidden; background: var(--surface-2); }
.ph::before { content: attr(data-label); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 0.7813rem; color: var(--muted); text-align: center; padding: 12px; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }

/* скелетоны */
.skeleton { border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; background: var(--bg); }
.skeleton .sk-img { aspect-ratio: 16/11; background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 50%, var(--surface) 75%); background-size: 200% 100%; animation: sh 1.4s infinite; }
.skeleton .sk-body { padding: 22px 24px; }
.skeleton .sk-line { height: 13px; border-radius: 7px; margin-bottom: 12px; background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 50%, var(--surface) 75%); background-size: 200% 100%; animation: sh 1.4s infinite; }
.skeleton .sk-line.short { width: 55%; }
@keyframes sh { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ---------- Отзывы ---------- */
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.review { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 28px; }
.review-bubble { background: var(--surface); border-radius: 4px 16px 16px 16px; padding: 18px 20px; font-size: 0.9375rem; line-height: 1.6; text-wrap: pretty; }
.review-author { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.review-ava { width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9375rem; }
.review-author b { display: block; font-size: 0.9375rem; font-weight: 600; }
.review-author span { display: block; font-size: 0.8125rem; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { background: var(--surface); border-top: 1px solid var(--line); }
.cta-in { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; padding: 84px 0; align-items: center; }
.cta-in h2 { font-size: 2.25rem; }
.cta-in .lead { margin-top: 16px; }
.cta-actions { display: flex; flex-direction: column; gap: 14px; }
.cta-actions .btn { padding: 18px; font-size: 1.0625rem; }
.cta-or { text-align: center; color: var(--muted); font-size: 0.8125rem; }
.cta-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.input { width: 100%; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--bg); padding: 15px 18px; font-size: 0.9688rem; font-family: inherit; color: var(--ink); transition: border-color .15s; }
.input:focus { outline: none; border-color: var(--accent); }
.input::placeholder { color: var(--muted); }
.field-full { grid-column: 1 / -1; }
.form-note { grid-column: 1 / -1; font-size: 0.7813rem; color: var(--muted); }
.form-note a { text-decoration: underline; }
.form-success { grid-column: 1 / -1; background: var(--accent-soft); color: var(--accent-deep); border-radius: var(--r); padding: 18px 22px; font-size: 0.9375rem; font-weight: 500; }

/* ---------- Футер ---------- */
.footer { border-top: 1px solid var(--line); }
.footer-in { display: flex; justify-content: space-between; gap: 32px; padding: 48px 0 56px; flex-wrap: wrap; }
.footer .logo { font-size: 1.25rem; }
.footer-col { font-size: 0.875rem; color: var(--muted); line-height: 2; }
.footer-col b { color: var(--ink); font-weight: 600; }
.footer-col a:hover { color: var(--accent-deep); }

/* ---------- Модалка ---------- */
.modal-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(15,17,20,0.55); display: flex; align-items: center; justify-content: center; padding: 32px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal { background: var(--bg); border-radius: 22px; max-width: 880px; width: 100%; max-height: calc(100vh - 64px); overflow-y: auto; transform: translateY(16px) scale(.98); transition: transform .22s; box-shadow: 0 32px 80px rgba(15,17,20,0.34); }
.modal-overlay.open .modal { transform: none; }
.modal-gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 6px; padding: 6px; }
.modal-gallery .ph { border-radius: 16px 6px 6px 6px; }
.modal-gallery .ph:first-child { grid-row: 1 / 3; min-height: 320px; }
.modal-gallery .ph:nth-child(2) { border-radius: 6px 16px 6px 6px; min-height: 157px; }
.modal-gallery .ph:nth-child(3) { border-radius: 6px; min-height: 157px; }
.modal-body { padding: 30px 36px 38px; }
.modal-close { position: sticky; top: 16px; margin-left: auto; margin-right: 16px; transform: translateY(16px); width: 38px; height: 38px; border-radius: 50%; border: none; background: var(--w92); box-shadow: var(--shadow); font-size: 1.0625rem; z-index: 2; display: flex; align-items: center; justify-content: center; }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.modal-head h3 { font-size: 1.5rem; }
.modal-price { text-align: right; }
.modal-price b { font-size: 1.375rem; font-weight: 700; color: var(--accent-deep); white-space: nowrap; }
.modal-price span { display: block; font-size: 0.8125rem; color: var(--muted); }
.modal-facts { display: flex; gap: 28px; margin-top: 18px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.modal-fact b { display: block; font-size: 1.0625rem; font-weight: 700; }
.modal-fact span { font-size: 0.8125rem; color: var(--muted); }
.modal-body h4 { font-size: 0.9688rem; margin-top: 24px; }
.modal-body p { color: var(--muted); font-size: 0.9375rem; margin-top: 8px; }
.modal-points { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.modal-points li { display: flex; gap: 10px; align-items: baseline; font-size: 0.9063rem; }
.modal-points li::before { content: ''; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); flex: 0 0 auto; transform: translateY(-1px); }
.modal-cta { display: flex; align-items: center; gap: 20px; margin-top: 30px; flex-wrap: wrap; }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .72s cubic-bezier(.16,1,.3,1) var(--d,0s),
              transform .72s cubic-bezier(.16,1,.3,1) var(--d,0s);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Кнопки — тактильность */
.btn { transition: transform .2s cubic-bezier(.34,1.56,.64,1), background .2s, color .2s, border-color .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.13); }
.btn:active { transform: scale(.97) !important; transition-duration: .08s; }

/* Nav underline hover */
.nav a { position: relative; }
.nav a::after { content:''; position:absolute; bottom:-4px; left:0; width:0; height:1px; background:currentColor; transition: width .3s cubic-bezier(.22,1,.36,1); }
.nav a:hover::after { width:100%; }

/* Header scroll blur */
.header { transition: background .3s, box-shadow .3s; }
.header.scrolled { background: var(--pg-bg-blur) !important; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: none; }

/* FAQ анимация */
.faq-body { animation: faqOpen .35s cubic-bezier(.16,1,.3,1); }
@keyframes faqOpen { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:none; } }

/* Hover на карточках */
.reason { transition: background .2s; }
.reason:hover { background: rgba(0,0,0,.025); }
.tl-item { transition: background .2s; }
.tl-item:hover { background: rgba(0,0,0,.03); }

/* ---------- Адаптив ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .collage { height: 440px; }
  .why, .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .band-in, .cta-in { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 2.625rem; }
}
@media (max-width: 680px) {
  :root { --pad: 20px; }
  .nav, .header-phone small { display: none; }
  .hero h1 { font-size: 2rem; }
  .collage { height: 360px; grid-template-columns: 1fr 1fr; }
  .why, .services, .works-grid, .reviews, .signature { grid-template-columns: 1fr; }
  .sig-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .steps, .band-stats { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .section-head h2, .band h2, .cta-in h2 { font-size: 1.6875rem; }
  .hero-trust { gap: 20px; }
  .modal-gallery { grid-template-columns: 1fr; }
  .modal-gallery .ph:first-child { grid-row: auto; }
  .modal-body { padding: 24px 22px 30px; }
}

/* ===== Адаптив шапки (в конце файла, чтобы перебить базовые правила) ===== */
@media (max-width: 1300px) {
  .header-bar { padding: 0 48px; }
  .nav { margin-left: 32px; gap: 22px; font-size: 1rem; }
  .header-btn { padding: 16px 32px; font-size: 0.875rem; }
}
@media (max-width: 1024px) {
  .nav { display: none; }
  .header-bar { padding: 0 32px; height: 80px; }
}
@media (max-width: 600px) {
  .header-bar { padding: 0 20px; }
}

/* ── Burger / мобильное меню ── */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 48px; height: 48px;
  background: none; border: 0;
  cursor: pointer; padding: 10px; flex-shrink: 0;
  opacity: .7; transition: opacity .15s;
}
.burger:hover { opacity: 1; }
.burger span {
  display: block; width: 22px; height: 1.5px;
  background:var(--btn-bg); border-radius: 1px;
  transition: transform .25s cubic-bezier(.4,0,.2,1), opacity .2s, transform .25s;
}
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-drawer {
  position: fixed; inset: 0; z-index: 49;
  background: var(--pg-drawer); backdrop-filter: blur(12px);
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: center;
  padding: 0 40px 80px;
  opacity: 0; pointer-events: none;
  transition: opacity .22s;
}
.nav-drawer.open { opacity: 1; pointer-events: auto; }
.nav-drawer a {
  font-size: 1.625rem; font-weight: 400; color: var(--w55);
  text-transform: uppercase; letter-spacing: 0.08em;
  display: block; width: 100%;
  padding: 20px 0;
  border-bottom: 1px solid var(--w08);
  transition: color .15s;
}
.nav-drawer a:first-child { border-top: 1px solid var(--w08); }
.nav-drawer a:hover, .nav-drawer a.active { color:var(--pg-ink); }

@media (max-width: 1024px) {
  .burger { display: flex; }
  .header-right { display: none; }
}
@media (max-width: 600px) {
  .logo { font-size: 1.75rem !important; }
  .header-bar { height: 72px !important; }
}

html[data-theme="light"]{
--bg:#F4F5F6;--surface:#EBEDEF;--surface-2:#E2E5E8;--ink:#23272C;--muted:#606770;--line:#DBDFE3;
--pg-bg:#EEEFF1;--pg-elev:#F8F9FA;--pg-ink:#23272C;
--band-bg:#EEEFF1;--band-ink:#23272C;--band-muted:#606770;--band-line:rgba(35,39,44,.12);
--btn-bg:#1C2024;--btn-ink:#FFFFFF;
--pg-bg-blur:rgba(255,255,255,.9);--pg-drawer:rgba(255,255,255,.98);
--w02:rgba(24,27,31,0.02);--w03:rgba(24,27,31,0.03);--w035:rgba(24,27,31,0.035);--w04:rgba(24,27,31,0.04);--w06:rgba(24,27,31,0.06);--w07:rgba(24,27,31,0.07);--w08:rgba(24,27,31,0.08);--w1:rgba(24,27,31,0.1);--w12:rgba(24,27,31,0.12);--w14:rgba(24,27,31,0.14);--w15:rgba(24,27,31,0.15);--w18:rgba(24,27,31,0.18);--w2:rgba(24,27,31,0.2);--w22:rgba(24,27,31,0.22);--w25:rgba(24,27,31,0.25);--w3:rgba(24,27,31,0.3);--w35:rgba(24,27,31,0.35);--w4:rgba(24,27,31,0.4);--w42:rgba(24,27,31,0.42);--w45:rgba(24,27,31,0.45);--w5:rgba(24,27,31,0.5);--w55:rgba(24,27,31,0.55);--w6:rgba(24,27,31,0.6);--w65:rgba(24,27,31,0.65);--w7:rgba(24,27,31,0.7);--w72:rgba(24,27,31,0.72);--w75:rgba(24,27,31,0.75);--w8:rgba(24,27,31,0.8);--w9:rgba(24,27,31,0.9);--w92:rgba(24,27,31,0.92);
}

/* ===== Переключатель темы ===== */
.theme-toggle{width:44px;height:44px;display:flex;align-items:center;justify-content:center;background:none;border:0;color:var(--pg-ink);cursor:pointer;flex-shrink:0;padding:0;opacity:.55;transition:opacity .15s;}
.theme-toggle:hover{opacity:1;animation:none;}
@keyframes tt-pulse{0%,100%{opacity:.55;}50%{opacity:1;}}
.theme-toggle:not(.tt-seen){animation:tt-pulse 2.8s ease-in-out infinite;}
@media (prefers-reduced-motion: reduce){.theme-toggle{animation:none !important;}}
.theme-toggle svg{width:19px;height:19px;display:block;}
.theme-toggle .ic-moon{display:none;}
html[data-theme="light"] .theme-toggle .ic-moon{display:block;}
html[data-theme="light"] .theme-toggle .ic-sun{display:none;}
.header-right .theme-toggle{margin-left:4px;}
@media (max-width:1024px){.header-right{display:flex !important;}.header-right .header-phone{display:none;}}

/* Светлая тема: насыщаем текстовые токены (бледный серый плохо читается на светлом) */
html[data-theme="light"]{
--w92:rgba(28,32,37,.98);--w9:rgba(28,32,37,.96);
--w75:rgba(28,32,37,.9);--w72:rgba(28,32,37,.88);--w7:rgba(28,32,37,.86);
--w65:rgba(28,32,37,.82);--w6:rgba(28,32,37,.78);
--w55:rgba(28,32,37,.76);--w5:rgba(28,32,37,.72);
--w45:rgba(28,32,37,.66);--w42:rgba(28,32,37,.62);--w4:rgba(28,32,37,.6);
--w35:rgba(28,32,37,.56);--w3:rgba(28,32,37,.52);
--w25:rgba(28,32,37,.5);--w22:rgba(28,32,37,.46);--w2:rgba(28,32,37,.4);
--w18:rgba(28,32,37,.34);--w15:rgba(28,32,37,.3);--w14:rgba(28,32,37,.28);
--w12:rgba(28,32,37,.22);--w1:rgba(28,32,37,.18);
--w08:rgba(28,32,37,.14);--w07:rgba(28,32,37,.13);--w06:rgba(28,32,37,.12);
--w04:rgba(28,32,37,.1);--w035:rgba(28,32,37,.05);--w03:rgba(28,32,37,.09);--w02:rgba(28,32,37,.08);
}
