/* ================= TOKENS · СВЕТЛЫЙ + ГРАФИТ ================= */
:root {
  --bg: #f6f5f1;          /* тёплый белый */
  --bg-warm: #eeece6;     /* крем для чередования секций */
  --panel: #ffffff;
  --line: rgba(29,31,35,.10);
  --line-strong: rgba(29,31,35,.18);
  --ink: #1d1f23;         /* графит */
  --ink-soft: #5d5f64;
  --ink-faint: #9b9c9f;
  --brass: #a8853f;       /* латунь-текст (контраст на светлом) */
  --brass-soft: #c9a45f;  /* латунь-детали */
  --brass-bg: rgba(168,133,63,.10);
  --dark: #1d1f23;        /* тёмные блоки */
  --dark-2: #24262b;
  --dark-line: rgba(255,255,255,.10);
  --dark-ink: #f2f1ee;
  --dark-ink-soft: #a7a8ab;
  --r-md: 14px; --r-lg: 22px; --r-full: 999px;
  --font-logo: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-d: 'Manrope', 'Inter', sans-serif;
  --font-t: 'Inter', sans-serif;
  --shadow-card: 0 1px 3px rgba(29,31,35,.05), 0 10px 30px rgba(29,31,35,.06);
  --shadow-photo: 0 24px 60px rgba(29,31,35,.18);
  --wrap: 1140px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-t); color: var(--ink); background: var(--bg); font-size: 16.5px; line-height: 1.6; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
h1, h2, h3 { font-family: var(--font-d); line-height: 1.12; letter-spacing: -0.015em; font-weight: 800; }
h2 { font-size: clamp(27px, 4vw, 40px); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); margin-bottom: 16px; }
.kicker::before { content: ''; width: 26px; height: 1px; background: var(--brass); opacity: .8; }
.sub { color: var(--ink-soft); font-size: clamp(15.5px, 1.9vw, 18px); max-width: 620px; }
section { padding: clamp(60px, 9vw, 104px) 0; }
.sec-warm { background: var(--bg-warm); }

/* ================= LOGO ================= */
.logo { display: flex; align-items: baseline; gap: 12px; }
.logo-word { font-family: var(--font-logo); font-weight: 400; font-size: 32px; letter-spacing: .06em; line-height: 1; color: var(--ink); }
.logo-word .dot { color: var(--brass-soft); }
.logo-tag { font-size: 12px; color: var(--ink-faint); letter-spacing: .04em; }

/* ================= BUTTONS ================= */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; font-size: 16px; padding: 15px 28px; border-radius: var(--r-full); transition: opacity .15s, background .15s, border-color .15s, transform .15s; white-space: nowrap; letter-spacing: .01em; }
.btn:active { transform: translateY(1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #33363c; }
.btn-line { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.btn-line:hover { border-color: var(--ink); background: rgba(29,31,35,.03); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { opacity: .9; }
.btn-ghost-dark { background: transparent; color: var(--dark-ink); border: 1px solid var(--dark-line); }
.btn-ghost-dark:hover { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.05); }

/* ================= HEADER (тёмный) ================= */
.topbar { position: sticky; top: 0; z-index: 60; background: rgba(29,31,35,.94); backdrop-filter: blur(14px); border-bottom: 1px solid var(--dark-line); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 70px; }
.topbar .logo-word { color: var(--dark-ink); }
.topbar .logo-tag { color: rgba(242,241,238,.45); }
.top-contacts { display: flex; align-items: center; gap: 18px; }
.top-phone { font-family: var(--font-d); font-weight: 800; font-size: 17px; color: var(--dark-ink); }
.top-phone small { display: block; font-size: 11.5px; font-weight: 400; color: rgba(242,241,238,.45); text-align: right; letter-spacing: .03em; }
.top-cta { padding: 11px 22px; font-size: 14.5px; }

/* ================= ТЁМНАЯ СЕКЦИЯ ================= */
.sec-dark { background: var(--dark); }
.sec-dark h2 { color: #fff; }
.sec-dark .sub { color: var(--dark-ink-soft); }
.sec-dark .kicker { color: var(--brass-soft); }
.sec-dark .kicker::before { background: var(--brass-soft); }

/* ================= HERO ================= */
.hero { padding: clamp(44px, 6vw, 80px) 0 clamp(56px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero h1 { font-size: clamp(32px, 4.8vw, 54px); letter-spacing: -.025em; }
.hero h1 .thin { color: var(--ink-faint); font-weight: 700; }
.hero-sub { margin-top: 20px; font-size: clamp(15.5px, 1.9vw, 18px); color: var(--ink-soft); max-width: 480px; }
.hero-sub strong { color: var(--ink); font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-facts { display: flex; flex-wrap: wrap; margin-top: 40px; border-top: 1px solid var(--line); }
.fact { padding: 18px 28px 0 0; margin-right: 28px; }
.fact b { display: block; font-family: var(--font-d); font-weight: 800; font-size: 22px; letter-spacing: -.01em; color: var(--brass); }
.fact span { font-size: 13px; color: var(--ink-faint); }
.hero-photo { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-photo); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/11; }

/* ================= PAINS ================= */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.pain-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-card); }
.pain-q { background: var(--dark); color: var(--dark-ink); font-size: 16px; font-weight: 700; font-family: var(--font-d); line-height: 1.4; padding: 22px 26px; flex: 1; }
.pain-q::before { content: '«'; color: rgba(242,241,238,.4); }
.pain-q::after { content: '»'; color: rgba(242,241,238,.4); }
.pain-a { font-size: 14.5px; color: var(--ink-soft); padding: 18px 26px 24px; }
.pain-a strong { color: var(--brass); font-weight: 600; }

/* ================= CALC ================= */
.calc-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-card); padding: clamp(24px, 4vw, 44px); margin-top: 44px; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 52px); }
.calc-row { margin-bottom: 28px; }
.calc-label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 500; font-size: 15px; margin-bottom: 14px; color: var(--ink-soft); }
.calc-val { font-family: var(--font-d); font-weight: 800; font-size: 20px; color: var(--ink); }
input[type="range"] { width: 100%; height: 5px; border-radius: 99px; appearance: none; -webkit-appearance: none; background: linear-gradient(to right, var(--brass-soft) 0%, var(--brass-soft) var(--fill, 20%), rgba(29,31,35,.12) var(--fill, 20%)); outline: none; cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); border: none; box-shadow: 0 2px 8px rgba(29,31,35,.35); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); border: none; box-shadow: 0 2px 8px rgba(29,31,35,.35); }
.calc-check { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 10px; cursor: pointer; transition: border-color .15s, background .15s; font-size: 15px; }
.calc-check:has(input:checked) { border-color: var(--brass-soft); background: var(--brass-bg); }
.calc-check input { width: 18px; height: 18px; accent-color: var(--ink); }
.calc-check .pr { margin-left: auto; font-size: 13px; color: var(--ink-faint); white-space: nowrap; }
.calc-total { background: var(--dark); color: var(--dark-ink); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; justify-content: center; }
.calc-total-label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--dark-ink-soft); }
.calc-total-sum { font-family: var(--font-d); font-weight: 800; font-size: clamp(36px, 4.6vw, 50px); letter-spacing: -.02em; margin: 12px 0 6px; color: #fff; }
.calc-total-sum small { font-size: .5em; font-weight: 700; color: var(--brass-soft); vertical-align: .25em; margin-right: 4px; }
.calc-total-note { font-size: 13.5px; color: var(--dark-ink-soft); margin-bottom: 24px; }
.calc-total .btn { width: 100%; }
.calc-total .btn + .btn { margin-top: 10px; }

/* ================= SERVICES ================= */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 44px; }
.svc { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow-card); transition: transform .2s, box-shadow .2s; }
.svc:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(29,31,35,.08), 0 18px 44px rgba(29,31,35,.10); }
.svc-ico { width: 42px; height: 42px; border-radius: 12px; background: var(--dark); display: grid; place-items: center; color: var(--brass-soft); margin-bottom: 8px; }
.svc-ico svg { width: 22px; height: 22px; }
.svc h3 { font-size: 16.5px; }
.svc p { font-size: 13.5px; color: var(--ink-soft); flex: 1; }
.svc-price { font-family: var(--font-d); font-weight: 800; font-size: 17px; color: var(--ink); }
.svc-price small { font-size: 12.5px; color: var(--ink-faint); font-weight: 500; }
.prices-note { margin-top: 20px; font-size: 13px; color: var(--ink-faint); }

/* ================= LIGHT / PHOTOS ================= */
.light-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 44px; }
.light-card { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 300px; box-shadow: var(--shadow-card); }
.light-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.light-card:hover img { transform: scale(1.04); }
.light-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(16,17,20,.82) 0%, rgba(16,17,20,.22) 45%, rgba(16,17,20,0) 70%); }
.light-card.wide { grid-column: 1 / -1; min-height: 340px; }
.light-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 26px; z-index: 2; color: var(--dark-ink); }
.light-body h3 { font-size: 19px; margin-bottom: 6px; }
.light-body p { font-size: 14px; color: rgba(242,241,238,.75); max-width: 460px; }
.light-body .tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brass-soft); margin-bottom: 10px; }

/* ================= BAND (family) ================= */
.band { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-photo); }
.band img { width: 100%; height: clamp(340px, 46vw, 520px); object-fit: cover; object-position: center 30%; }
.band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(16,17,20,.82) 0%, rgba(16,17,20,.42) 45%, rgba(16,17,20,.04) 75%); }
.band-body { position: absolute; left: 0; top: 0; bottom: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 5vw, 56px); max-width: 560px; color: var(--dark-ink); }
.band-body .kicker { color: var(--brass-soft); }
.band-body .kicker::before { background: var(--brass-soft); }
.band-body h2 { font-size: clamp(24px, 3.6vw, 36px); }
.band-body p { margin-top: 14px; color: rgba(242,241,238,.78); font-size: clamp(14.5px, 1.8vw, 17px); }
.band-body .btn { margin-top: 26px; align-self: flex-start; }

/* ================= STEPS ================= */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 44px; counter-reset: step; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 24px; box-shadow: var(--shadow-card); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--font-d); font-weight: 800; font-size: 15px; color: var(--brass-soft); background: var(--dark); display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; margin-bottom: 16px; }
.step h3 { font-size: 16.5px; margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--ink-soft); }
.step p b { color: var(--ink); font-weight: 600; }

/* ================= FAQ ================= */
.faq-list { max-width: 780px; margin: 44px auto 0; }
details { border-bottom: 1px solid var(--line-strong); }
details:first-child { border-top: 1px solid var(--line-strong); }
summary { list-style: none; cursor: pointer; padding: 22px 4px; font-weight: 700; font-size: 16.5px; font-family: var(--font-d); display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: color .15s; }
summary:hover { color: var(--brass); }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 24px; font-weight: 400; color: var(--brass); flex-shrink: 0; transition: transform .2s; line-height: 1; }
details[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 4px 22px; color: var(--ink-soft); font-size: 15px; max-width: 680px; }
.faq-body a { color: var(--brass); font-weight: 600; }

/* ================= FINAL (тёмный блок) ================= */
.final-sec { padding-bottom: clamp(60px, 9vw, 104px); }
.final { background: var(--dark); color: var(--dark-ink); border-radius: var(--r-lg); text-align: center; padding: clamp(48px, 7vw, 88px) 24px; position: relative; overflow: hidden; }
.final::before { content: ''; position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: min(560px, 70%); height: 1px; background: linear-gradient(90deg, transparent, var(--brass-soft), transparent); }
.final::after { content: ''; position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 420px; height: 150px; background: radial-gradient(50% 100% at 50% 0%, rgba(201,164,95,.18), transparent); pointer-events: none; }
.final .kicker { color: var(--brass-soft); justify-content: center; }
.final .kicker::before { background: var(--brass-soft); }
.final h2 { font-size: clamp(28px, 4.4vw, 46px); color: #fff; }
.final .sub { margin: 16px auto 0; color: var(--dark-ink-soft); }
.final-phone { display: inline-block; font-family: var(--font-d); font-weight: 800; font-size: clamp(28px, 4.6vw, 44px); letter-spacing: -.01em; margin-top: 30px; color: #fff; }
.final-phone:hover { color: var(--brass-soft); }
.final-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.final-note { margin-top: 22px; font-size: 13.5px; color: var(--dark-ink-soft); }

/* ================= FOOTER ================= */
footer { background: var(--dark); color: var(--dark-ink-soft); padding: 36px 0 44px; font-size: 13px; }
.foot-grid { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-start; }
.foot-legal { max-width: 540px; line-height: 1.65; }
.foot-logo { font-family: var(--font-logo); font-size: 24px; letter-spacing: .06em; color: var(--dark-ink); }
.foot-logo .dot { color: var(--brass-soft); }
.foot-links a { display: block; margin-bottom: 8px; color: var(--dark-ink-soft); }
.foot-links a:hover { color: var(--dark-ink); }


/* ================= RESPONSIVE ================= */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { order: -1; max-width: 640px; }
  .pain-grid { grid-template-columns: 1fr; }
  .svc-grid, .steps-grid { grid-template-columns: 1fr 1fr; }
  .calc-card { grid-template-columns: 1fr; }
  .light-grid { grid-template-columns: 1fr; }
  .band img { object-position: 60% 30%; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .top-phone, .logo-tag { display: none; }
  .svc-grid, .steps-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .top-cta { padding: 10px 16px; font-size: 13.5px; }
  .fact { padding-right: 18px; margin-right: 18px; }
  .band-body { justify-content: flex-end; }
  .band::after { background: linear-gradient(to top, rgba(16,17,20,.9) 0%, rgba(16,17,20,.4) 55%, rgba(16,17,20,.08) 100%); }
}

/* ================= АКЦЕНТЫ (ревизия 18.07) ================= */

.svc.svc-hot { background: var(--dark); border-color: var(--dark); }
.svc.svc-hot h3 { color: var(--dark-ink); }
.svc.svc-hot p { color: var(--dark-ink-soft); }
.svc.svc-hot .svc-price { color: var(--brass-soft); }
.svc.svc-hot .svc-price small { color: rgba(242,241,238,.4); }
.svc.svc-hot .svc-ico { background: rgba(201,164,95,.16); color: var(--brass-soft); }

/* ================= ФОРМА ЗАЯВКИ ================= */
.lead-form { max-width: 520px; margin: 30px auto 0; text-align: left; }
.lead-row { display: flex; gap: 12px; }
.lead-row .lead-input { flex: 1; }
.lead-input { width: 100%; margin-bottom: 12px; padding: 14px 16px; border-radius: var(--r-md); border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: var(--dark-ink); font-size: 15.5px; font-family: var(--font-t); transition: border-color .15s, background .15s; }
.lead-input::placeholder { color: rgba(242,241,238,.5); }
.lead-input:focus { outline: none; border-color: var(--brass-soft); background: rgba(255,255,255,.1); }
textarea.lead-input { resize: vertical; min-height: 52px; }
.lead-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 12.5px; color: var(--dark-ink-soft); margin: 4px 0 16px; line-height: 1.45; cursor: pointer; }
.lead-consent input { margin-top: 2px; width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--brass-soft); }
.lead-consent a { color: var(--brass-soft); }
.lead-submit { width: 100%; }
.lead-status { margin-top: 14px; text-align: center; font-size: 14.5px; min-height: 20px; }
.lead-status.ok { color: #8fce8f; }
.lead-status.err { color: #f0a0a0; }
.lead-or { margin-top: 34px; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--dark-ink-soft); }
@media (max-width: 560px) { .lead-row { flex-direction: column; gap: 0; } }

/* ================= COOKIE ================= */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 720px; margin: 0 auto; display: flex; align-items: center; gap: 18px; padding: 16px 20px; background: var(--dark); color: var(--dark-ink); border: 1px solid var(--dark-line); border-radius: var(--r-md); box-shadow: var(--shadow-photo); font-size: 13.5px; line-height: 1.5; }
.cookie-bar[hidden] { display: none; }
.cookie-bar a { color: var(--brass-soft); }
.cookie-bar .btn { flex-shrink: 0; padding: 11px 22px; }
@media (max-width: 640px) { .cookie-bar { flex-direction: column; align-items: stretch; text-align: center; bottom: 16px; } }
