/* ПБК1 v3 — navy CTA + steel accents
*/

:root {
  --graphite: #0c0f14;
  --slate: #171c26;
  --chalk: #f3f4f7;
  --mist: #e6e8ee;
  --brand: #2a327d;
  --brand-deep: #1a2158;
  --steel: #7a8b9c;
  --steel-soft: #a8b4c0;
  --brass: #2a327d;
  --brass-soft: #6b75b8;
  --accent-glow: rgba(42, 50, 125, 0.18);
  --ink: #0c0f14;
  --muted: #5a6070;
  --line: rgba(12, 15, 20, 0.1);
  --line-inv: rgba(243, 244, 247, 0.14);
  --radius: 12px;
  --radius-lg: 20px;
  --shell: min(1140px, calc(100% - 2.5rem));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-d: "Unbounded", system-ui, sans-serif;
  --font-b: "Geologica", system-ui, sans-serif;
  --shadow: 0 14px 40px rgba(12, 15, 20, 0.1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .block-unit { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-b);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--chalk);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--brand); text-underline-offset: 0.15em; }
a:hover { color: var(--brand-deep); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--brand); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }
.shell { width: var(--shell); margin-inline: auto; }

.section { padding: clamp(3.8rem, 8vw, 6.5rem) 0; }
.section-mist { background: var(--mist); }
.section-dark { background: var(--graphite); color: var(--chalk); }
.section-dark .btn-primary { background: #fff; color: var(--brand); }
.section-dark .btn-primary:hover { background: var(--chalk); color: var(--brand-deep); }

.section-head { max-width: 38rem; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.section-head h2 {
  font-family: var(--font-d);
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 .85rem;
}
.section-head p { margin: 0; color: var(--muted); font-weight: 300; }
.section-dark .section-head p { color: rgba(244, 242, 236, 0.7); }
.note { font-size: .86rem; color: var(--muted); font-weight: 300; margin: .9rem 0 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .75rem 1.35rem;
  border: 1px solid transparent; border-radius: var(--radius);
  font: 500 .94rem var(--font-b); text-decoration: none; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn-sm { min-height: 40px; padding: .45rem 1rem; font-size: .86rem; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); color: #fff; }
.btn-secondary { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-secondary:hover { border-color: var(--brand); color: var(--brand); }
.btn-ghost { background: transparent; border-color: rgba(244,242,236,.35); color: var(--chalk); }
.btn-ghost:hover { background: rgba(244,242,236,.08); color: #fff; }
.section-dark .btn-secondary { border-color: var(--line-inv); color: var(--chalk); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 242, 236, .9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-d); font-size: 1rem; letter-spacing: .05em; }
.brand-text small { font-size: .65rem; color: var(--muted); font-weight: 300; }
.nav { display: none; gap: 1.15rem; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: .86rem; }
.nav a:hover { color: var(--brand); }
.header-actions { display: flex; align-items: center; gap: .7rem; margin-left: auto; }
.phone-link { display: none; font-weight: 500; color: var(--ink); text-decoration: none; font-size: .9rem; }
.nav-toggle {
  width: 42px; height: 42px; border: 1px solid var(--line); background: transparent;
  border-radius: var(--radius); display: inline-flex; flex-direction: column;
  justify-content: center; align-items: center; gap: 5px; cursor: pointer;
}
.nav-toggle span { width: 16px; height: 1.5px; background: var(--ink); display: block; }
.mobile-nav {
  display: flex; flex-direction: column; gap: .85rem;
  padding: 1rem 1.25rem 1.4rem; border-top: 1px solid var(--line); background: var(--chalk);
}
.mobile-nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.mobile-nav[hidden] { display: none !important; }
@media (min-width: 980px) {
  .nav { display: flex; }
  .phone-link { display: inline; }
  .nav-toggle, .mobile-nav { display: none !important; }
  .header-actions { margin-left: 0; }
}

/* Dock */
.contact-dock { position: fixed; right: .9rem; bottom: .9rem; z-index: 60; display: flex; flex-direction: column; gap: .4rem; }
.dock-item {
  display: flex; align-items: center; gap: .45rem; min-height: 44px;
  padding: .5rem .85rem; background: var(--graphite); color: var(--chalk);
  text-decoration: none; border-radius: 999px; font-size: .8rem; font-weight: 500;
  box-shadow: var(--shadow);
}
.dock-item svg { width: 16px; height: 16px; fill: currentColor; }
.dock-item span { display: none; }
.dock-wa { background: #1a5c3c; }
.dock-lead { background: var(--brand); }
@media (min-width: 720px) { .dock-item span { display: inline; } }
@media (max-width: 719px) {
  .contact-dock {
    inset: auto 0 0 0; flex-direction: row; justify-content: space-around;
    padding: .4rem .3rem calc(.4rem + env(safe-area-inset-bottom));
    background: rgba(12,15,20,.96); border-radius: 0; gap: 0;
  }
  .dock-item { flex: 1; justify-content: center; box-shadow: none; background: transparent; }
  .dock-wa, .dock-lead { background: transparent; }
  body { padding-bottom: 60px; }
}

/* Hero */
.hero {
  position: relative; min-height: min(88svh, 820px);
  display: grid; align-items: end; color: var(--chalk); overflow: hidden;
  background: var(--graphite);
}
.hero-media, .hero-veil { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.hero-veil {
  background:
    linear-gradient(105deg, rgba(12,15,20,.92) 0%, rgba(12,15,20,.55) 48%, rgba(42,50,125,.28) 100%),
    linear-gradient(0deg, rgba(12,15,20,.85) 0%, transparent 45%);
}
.hero-content {
  position: relative; z-index: 1;
  padding: clamp(4.5rem, 12vh, 7rem) 0 clamp(3rem, 7vh, 4.5rem);
  max-width: 40rem;
  margin-left: max(calc((100% - var(--shell)) / 2), 1.25rem);
  width: min(40rem, calc(100% - 2.5rem));
}
.hero-meta {
  margin: 0 0 .85rem; font-size: .82rem; font-weight: 400;
  color: var(--steel-soft); letter-spacing: .02em;
}
.hero-brand {
  font-family: var(--font-d); font-size: clamp(2.8rem, 8vw, 5.2rem);
  font-weight: 700; letter-spacing: .04em; line-height: .9; margin: 0 0 1rem;
}
.hero h1 {
  font-family: var(--font-d); font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  font-weight: 500; letter-spacing: -.02em; line-height: 1.25;
  margin: 0 0 .9rem; max-width: 16ch;
}
.hero-lead { margin: 0 0 1.75rem; color: rgba(244,242,236,.78); font-weight: 300; max-width: 36ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .7rem; }

/* Trust */
.trust-strip { background: var(--graphite); color: var(--chalk); border-bottom: 1px solid var(--line-inv); }
.trust-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-inv);
}
@media (min-width: 800px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-grid > div { background: var(--graphite); padding: 1.25rem 1rem; }
.trust-grid strong { display: block; font-family: var(--font-d); font-size: 1.15rem; color: var(--steel-soft); margin-bottom: .35rem; }
.trust-grid span { font-size: .84rem; color: rgba(244,242,236,.6); font-weight: 300; }

/* Paths */
.path-grid { display: grid; gap: 1rem; }
@media (min-width: 800px) { .path-grid { grid-template-columns: 1fr 1fr; } }
.path-card {
  display: block; text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem; box-shadow: var(--shadow);
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.path-card:hover { transform: translateY(-3px); border-color: var(--brand); color: inherit; }
.path-card-accent { background: var(--brand); color: var(--chalk); border-color: var(--brand); }
.path-card-accent:hover { color: var(--chalk); border-color: var(--brass-soft); }
.path-kicker { display: block; font-size: .78rem; color: var(--steel); margin-bottom: .55rem; font-weight: 500; }
.path-card-accent .path-kicker { color: var(--steel-soft); }
.path-card h3 { font-family: var(--font-d); font-size: 1.25rem; margin: 0 0 .55rem; font-weight: 550; }
.path-card p { margin: 0 0 1.1rem; font-weight: 300; opacity: .85; }
.path-go { font-size: .9rem; font-weight: 500; color: var(--brand); }
.path-card-accent .path-go { color: #fff; }

/* Packages */
.packages { display: grid; gap: 1rem; }
@media (min-width: 860px) { .packages { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.package {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.5rem 1.3rem; display: flex; flex-direction: column; gap: .85rem;
}
.package-hit {
  background: var(--graphite); color: var(--chalk); border-color: var(--graphite);
  position: relative; transform: scale(1.02);
  box-shadow: var(--shadow);
}
.badge {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--brand); color: #fff;
  font-size: .72rem; font-weight: 600; padding: .3rem .55rem; border-radius: 999px;
}
.package h3 { font-family: var(--font-d); margin: 0; font-size: 1.2rem; font-weight: 550; }
.package-price { margin: 0; color: var(--muted); font-weight: 300; }
.package-hit .package-price { color: rgba(244,242,236,.7); }
.package-price strong { font-family: var(--font-d); font-size: 1.55rem; color: var(--ink); font-weight: 600; }
.package-hit .package-price strong { color: var(--steel-soft); }
.package ul { margin: 0; padding: 0; list-style: none; flex: 1; }
.package li {
  padding: .55rem 0; border-top: 1px solid var(--line);
  font-size: .92rem; font-weight: 300;
}
.package-hit li { border-top-color: var(--line-inv); }
.package .btn { margin-top: .4rem; align-self: flex-start; }
.package-hit .btn-primary { box-shadow: none; }

/* Process */
.process {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1rem;
}
@media (min-width: 900px) { .process { grid-template-columns: repeat(5, 1fr); gap: .75rem; } }
.process li {
  background: rgba(244,242,236,.05); border: 1px solid var(--line-inv);
  border-radius: var(--radius); padding: 1.2rem 1rem;
}
.process span {
  display: block; font-family: var(--font-d); color: var(--steel-soft);
  font-size: .95rem; margin-bottom: .55rem;
}
.process h3 { font-family: var(--font-d); font-size: 1rem; margin: 0 0 .4rem; font-weight: 550; }
.process p { margin: 0; font-size: .88rem; color: rgba(244,242,236,.65); font-weight: 300; }

/* Benefits + material split */
.material-split { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 900px) {
  .material-split { grid-template-columns: 0.95fr 1.05fr; gap: 2rem; }
  .material-split .media-frame { position: sticky; top: 5.5rem; }
}
.material-split .media-frame img { aspect-ratio: 5/4; }
.benefit-grid { display: grid; gap: .85rem; }
@media (min-width: 700px) { .benefit-grid { grid-template-columns: 1fr 1fr; } }
.benefit-grid article {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem 1.15rem;
}
.benefit-grid h3 { font-family: var(--font-d); font-size: 1rem; margin: 0 0 .45rem; font-weight: 550; }
.benefit-grid p { margin: 0; font-size: .92rem; color: var(--muted); font-weight: 300; }

/* Product mosaic */
.product-mosaic {
  display: grid;
  gap: .75rem;
  grid-template-columns: 1fr 1fr;
}
.product-hero { grid-column: 1 / -1; }
.product-hero img { aspect-ratio: 16/10; }
@media (min-width: 800px) {
  .product-mosaic {
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .product-hero { grid-column: auto; grid-row: span 2; }
  .product-hero img {
    height: 100%; min-height: 100%; aspect-ratio: auto; object-fit: cover;
  }
}
.product-tile {
  margin: 0; position: relative; overflow: hidden;
  border-radius: var(--radius-lg); background: var(--slate);
  box-shadow: var(--shadow);
}
.product-tile img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  transition: transform .8s var(--ease);
}
.product-tile:hover img { transform: scale(1.04); }
.product-tile figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.4rem .95rem .8rem;
  background: linear-gradient(transparent, rgba(12,15,20,.88));
  color: #fff; display: grid; gap: .1rem;
}
.product-tile strong { font-family: var(--font-d); font-size: .92rem; }
.product-tile span { font-size: .8rem; opacity: .75; font-weight: 300; }
.product-cta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
  margin-top: 1.5rem; justify-content: space-between;
}
.product-cta p { margin: 0; color: var(--muted); font-weight: 300; max-width: 36rem; }

/* Projects catalog */
.project-grid {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .project-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .project-grid { grid-template-columns: repeat(3, 1fr); } }
.project-card {
  margin: 0; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.project-card img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover;
  background: var(--mist);
}
.project-plan img {
  aspect-ratio: 1; object-fit: contain; padding: .75rem;
  background: #fff;
}
.project-body { padding: 1.1rem 1.15rem 1.25rem; }
.project-body h3 {
  font-family: var(--font-d); font-size: 1.05rem; margin: 0 0 .4rem; font-weight: 550;
}
.project-body p { margin: 0; font-size: .9rem; color: var(--muted); font-weight: 300; }

/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 700px; font-size: .9rem; }
.compare-table th, .compare-table td { padding: .85rem .9rem; text-align: left; border-bottom: 1px solid var(--line); font-weight: 300; }
.compare-table thead th { background: var(--graphite); color: var(--chalk); font-weight: 500; }
.compare-table thead th.hl { background: var(--brand); }
.compare-table tbody th { font-weight: 500; }
.compare-table td.hl { background: rgba(42,50,125,.07); font-weight: 500; color: var(--brand-deep); }

/* Calc */
.calc-panel {
  display: grid; gap: 1rem;
  background: var(--graphite); border-radius: var(--radius-lg); overflow: hidden;
  color: var(--chalk); box-shadow: var(--shadow);
}
@media (min-width: 880px) { .calc-panel { grid-template-columns: 1.05fr .95fr; } }
.calc-form, .calc-result { padding: clamp(1.35rem, 3vw, 2rem); }
.calc-result { background: var(--slate); border-top: 1px solid var(--line-inv); }
@media (min-width: 880px) { .calc-result { border-top: 0; border-left: 1px solid var(--line-inv); } }

.field { display: grid; gap: .4rem; margin-bottom: 1.15rem; }
.field span, .fieldset legend { font-weight: 500; font-size: .9rem; }
.field small { font-size: .8rem; color: rgba(244,242,236,.5); font-weight: 300; }
.field input[type="range"] {
  width: 100%; accent-color: var(--steel); height: 1.5rem; cursor: pointer;
}
.field input:not([type="radio"]):not([type="checkbox"]):not([type="range"]),
.field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .85rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  font: inherit; background: #fff; color: var(--ink);
}
.field textarea { min-height: 110px; resize: vertical; }

.fieldset { border: 0; padding: 0; margin: 0 0 1.2rem; display: flex; flex-direction: column; gap: .55rem; }
.fieldset legend { padding: 0; margin: 0 0 .1rem; }

.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; }
.seg-item {
  display: flex; cursor: pointer; margin: 0;
}
.seg-item input { position: absolute; opacity: 0; pointer-events: none; }
.seg-item span {
  flex: 1; text-align: center; padding: .7rem;
  border: 1px solid var(--line-inv); border-radius: var(--radius);
  font-weight: 500;
}
.seg-item input:checked + span {
  border-color: var(--steel); background: rgba(122, 139, 156, 0.18); color: var(--steel-soft);
}

.radio-stack { display: flex; flex-direction: column; gap: .5rem; }
.radio {
  display: flex; align-items: center; gap: .7rem; margin: 0;
  padding: .8rem .95rem; border: 1px solid var(--line-inv); border-radius: var(--radius);
  cursor: pointer; background: rgba(12,15,20,.35);
}
.radio:has(input:checked) { border-color: var(--steel); background: rgba(122, 139, 156, 0.16); }
.radio input[type="radio"] {
  appearance: none; -webkit-appearance: none;
  width: 1.1rem; height: 1.1rem; min-width: 1.1rem; min-height: 1.1rem;
  margin: 0; border: 2px solid rgba(244,242,236,.4); border-radius: 50%;
  background: transparent; flex-shrink: 0;
}
.radio input:checked {
  border-color: var(--steel-soft);
  background: radial-gradient(circle at center, var(--steel-soft) 0 45%, transparent 48%);
}
.radio span { font-weight: 400; font-size: .93rem; color: rgba(244,242,236,.88); }

.calc-label { margin: 0 0 .35rem; color: rgba(244,242,236,.55); font-size: .86rem; }
.calc-total { margin: 0 0 1.1rem; }
.calc-total strong {
  font-family: var(--font-d); font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--steel-soft); font-weight: 600;
}
.result-list { margin: 0 0 1rem; }
.result-list > div {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .7rem 0; border-top: 1px solid var(--line-inv);
}
.result-list dt { color: rgba(244,242,236,.55); font-weight: 300; }
.result-list dd { margin: 0; text-align: right; }
.calc-result .note { color: rgba(244,242,236,.45); }
.calc-result .btn { margin-top: .5rem; }

/* Works */
.works-grid { display: grid; gap: .75rem; }
@media (min-width: 760px) {
  .works-grid { grid-template-columns: 1.3fr .85fr .85fr; grid-auto-rows: minmax(200px, auto); }
  .work-wide { grid-column: 1 / -1; }
}
.work-tile {
  margin: 0; position: relative; overflow: hidden;
  border-radius: var(--radius-lg); background: var(--slate);
}
.work-tile img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; }
.work-wide img { aspect-ratio: 21/9; }
.work-tile figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.5rem 1rem .85rem;
  background: linear-gradient(transparent, rgba(12,15,20,.85));
  color: #fff; display: flex; flex-direction: column; gap: .15rem;
}
.work-tile strong { font-family: var(--font-d); font-size: .95rem; }
.work-tile span { font-size: .82rem; opacity: .75; font-weight: 300; }

/* Factory */
.factory-split { display: grid; gap: 1.75rem; align-items: center; }
@media (min-width: 860px) { .factory-split { grid-template-columns: 1fr 1.05fr; gap: 2.5rem; } }
.factory-split h2 {
  font-family: var(--font-d); font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin: 0 0 .85rem; letter-spacing: -.02em;
}
.factory-split > div > p { color: rgba(244,242,236,.72); font-weight: 300; }
.factory-list { list-style: none; margin: 1.1rem 0 1.4rem; padding: 0; }
.factory-list li { padding: .55rem 0; border-top: 1px solid var(--line-inv); font-weight: 300; }
.media-frame { margin: 0; border-radius: var(--radius-lg); overflow: hidden; }
.media-frame img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* Reviews */
.reviews { display: grid; gap: .85rem; }
@media (min-width: 860px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.reviews blockquote {
  margin: 0; padding: 1.35rem 1.2rem; background: #fff;
  border-radius: var(--radius-lg); border-left: 3px solid var(--steel);
  box-shadow: var(--shadow);
}
.reviews p { margin: 0 0 1rem; font-weight: 300; font-size: .96rem; }
.reviews footer { display: grid; gap: .15rem; }
.reviews footer strong { font-family: var(--font-d); font-size: .85rem; }
.reviews footer span { color: var(--muted); font-size: .84rem; font-weight: 300; }

/* FAQ */
.faq { display: grid; gap: .55rem; max-width: 760px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0 1.1rem;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 1.05rem 0;
  font-weight: 500; font-family: var(--font-d); font-size: .98rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--steel); font-weight: 600; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 0 0 1.05rem; color: var(--muted); font-weight: 300; font-size: .95rem; }

/* Lead / contacts */
.lead-layout { max-width: 680px; }
.lead-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.3rem, 3vw, 1.85rem); box-shadow: var(--shadow);
}
.lead-grid { display: grid; gap: 0; }
@media (min-width: 640px) { .lead-grid { grid-template-columns: 1fr 1fr; gap: 1rem; } }
.lead-calc-box {
  margin: 0 0 1rem; padding: 1rem; background: var(--mist);
  border-left: 3px solid var(--steel); border-radius: var(--radius);
}
.lead-calc-box h3 { margin: 0 0 .45rem; font-size: .88rem; font-family: var(--font-d); }
.lead-calc-box pre { margin: 0; white-space: pre-wrap; font-family: var(--font-b); font-size: .85rem; color: var(--muted); }
.check { display: flex; gap: .55rem; align-items: flex-start; margin: 0 0 1rem; font-size: .9rem; color: var(--muted); }
.check input { margin-top: .3rem; }
.form-status { min-height: 1.3em; margin: .75rem 0 0; font-weight: 500; color: var(--brand-deep); }

.contacts-grid { display: grid; gap: 1.75rem; }
@media (min-width: 860px) { .contacts-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; } }
.contacts-grid h2 { font-family: var(--font-d); font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 .75rem; }
.contacts-phone { font-family: var(--font-d); font-size: clamp(1.35rem, 2.8vw, 1.9rem); margin: 0 0 1.2rem; }
.contacts-phone a { color: var(--ink); text-decoration: none; }
.contact-list { list-style: none; margin: 0 0 1.2rem; padding: 0; }
.contact-list li { padding: .8rem 0; border-top: 1px solid var(--line); display: grid; gap: .2rem; }
.contact-list span { font-size: .8rem; color: var(--muted); }
.contact-messengers { display: flex; flex-wrap: wrap; gap: .6rem; }

.site-footer {
  background: var(--graphite); color: rgba(244,242,236,.55);
  padding: 1.5rem 0 2rem; border-top: 1px solid var(--line-inv);
}
.footer-inner { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: .65rem; color: var(--chalk); }
.footer-brand img { width: 36px; height: 36px; filter: brightness(0) invert(1); }
.footer-brand strong { font-family: var(--font-d); display: block; }
.footer-brand span { font-size: .76rem; color: rgba(244,242,236,.5); }
.site-footer a { color: var(--steel-soft); text-decoration: none; }
.section-dark a:not(.btn) { color: var(--steel-soft); }
.site-footer p { margin: 0; font-size: .84rem; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.block-unit {
  opacity: 0; transform: translateY(36px) scale(.96); filter: blur(3px);
  transition: opacity .6s var(--ease), transform .7s var(--ease), filter .5s ease;
}
.block-unit.is-visible { opacity: 1; transform: none; filter: none; }
