/* ============================================================
   МЕТАЛЛПРО — лендинг. Индустриально-лофтовая система.
   Тема и акцент управляются через data-атрибуты на <html>.
   ============================================================ */

:root {
  /* type */
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;

  /* accent (default: оранжевый — искра сварки) */
  --accent: oklch(0.685 0.178 42);
  --accent-strong: oklch(0.62 0.18 40);
  --accent-ink: #1a0f06;

  /* dark industrial base (default) */
  --bg: #131619;
  --bg-2: #181c20;
  --surface: #1d2227;
  --surface-2: #232a30;
  --ink: #ecebe8;
  --ink-soft: #b6bcc2;
  --ink-mut: #828a92;
  --line: rgba(255, 255, 255, 0.085);
  --line-strong: rgba(255, 255, 255, 0.16);
  --shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.75);
  --hero-overlay: linear-gradient(180deg, rgba(10,12,14,0.55) 0%, rgba(10,12,14,0.72) 55%, rgba(10,12,14,0.92) 100%);
  --img-tone: saturate(1.02) contrast(1.02);

  /* shape */
  --radius: 4px;
  --radius-lg: 8px;
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 72px);
}

/* ---- Light minimal theme ---- */
html[data-theme="light"] {
  --bg: #f4f3f1;
  --bg-2: #ecebe8;
  --surface: #ffffff;
  --surface-2: #f7f6f4;
  --ink: #16191c;
  --ink-soft: #3d444b;
  --ink-mut: #767d84;
  --line: rgba(20, 22, 25, 0.10);
  --line-strong: rgba(20, 22, 25, 0.2);
  --shadow: 0 30px 60px -34px rgba(20, 24, 28, 0.4);
  --hero-overlay: linear-gradient(180deg, rgba(20,22,25,0.34) 0%, rgba(20,22,25,0.5) 60%, rgba(20,22,25,0.74) 100%);
}

/* ---- Steel graphite theme ---- */
html[data-theme="graphite"] {
  --bg: #22272b;
  --bg-2: #272d31;
  --surface: #2c3338;
  --surface-2: #333b41;
  --ink: #eef1f3;
  --ink-soft: #c2cace;
  --ink-mut: #8b969d;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.2);
}

/* ---- Accent variants ---- */
html[data-accent="blue"] {
  --accent: oklch(0.66 0.13 245);
  --accent-strong: oklch(0.58 0.13 245);
  --accent-ink: #06101c;
}
html[data-accent="brass"] {
  --accent: oklch(0.76 0.115 88);
  --accent-strong: oklch(0.68 0.115 86);
  --accent-ink: #1c1604;
}
html[data-accent="steel"] {
  --accent: oklch(0.72 0.012 250);
  --accent-strong: oklch(0.62 0.012 250);
  --accent-ink: #0e1114;
}

/* sharper / softer corners */
html[data-corners="soft"] { --radius: 10px; --radius-lg: 18px; }

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: var(--accent-ink); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

section { position: relative; }

.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--head-weight, 600);
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.h-sec {
  font-size: clamp(34px, 5vw, 62px);
  letter-spacing: 0.005em;
}
.lead { color: var(--ink-soft); font-size: clamp(16px, 1.4vw, 19px); max-width: 56ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  font-size: 15px;
  padding: 15px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-strong); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-block { width: 100%; }
.btn-lg { padding: 18px 34px; font-size: 16px; }

/* ---------- header ---------- */
.hdr {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  align-items: center;
  transition: background .3s ease, border-color .3s ease, height .3s ease;
  height: 84px;
  border-bottom: 1px solid transparent;
}
.hdr.scrolled {
  height: 68px;
  background: color-mix(in oklab, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.hdr .wrap { display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand .mark {
  width: 38px; height: 38px; border-radius: var(--radius);
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center; flex: none;
}
.brand .mark svg { width: 22px; height: 22px; }
.brand b {
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  text-transform: uppercase; letter-spacing: 0.04em; line-height: 1;
}
.brand span { display: block; font-size: 10.5px; letter-spacing: 0.22em; color: var(--ink-mut); text-transform: uppercase; }
.nav { display: flex; gap: 26px; }
.nav a {
  font-size: 14.5px; color: var(--ink-soft); font-weight: 600;
  position: relative; padding: 6px 0; transition: color .2s;
}
.nav a::after {
  content:""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--accent); transition: width .25s ease;
}
.nav a:hover, .nav a.active { color: var(--ink); }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.hdr-phone { font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: 0.02em; white-space: nowrap; }
.hdr-phone small { display: block; font-family: var(--font-body); font-size: 10px; letter-spacing: 0.16em; color: var(--ink-mut); text-transform: uppercase; font-weight: 700; }
.burger { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding-top: 84px; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: var(--img-tone); }
.hero-bg::after { content:""; position: absolute; inset: 0; background: var(--hero-overlay); }
.hero-grain { position:absolute; inset:0; z-index:-1; opacity:.5;
  background-image: radial-gradient(var(--line) 1px, transparent 1px); background-size: 26px 26px;
  mask-image: linear-gradient(180deg, transparent, #000 60%); }
.hero-inner { padding-block: clamp(40px, 7vw, 96px); width: 100%; }
.hero h1 { font-size: clamp(46px, 8vw, 112px); letter-spacing: 0.004em; line-height: 1.25; padding-top: 0.2em; }
.hero h1 .accent { color: var(--accent); }
.hero h1 .outline { -webkit-text-stroke: 2px var(--ink); color: transparent; }
.hero-sub { margin-top: 32px; max-width: 50ch; color: var(--ink-soft); font-size: clamp(16px, 1.5vw, 20px); }
.hero-cta { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-tags { margin-top: 30px; display:flex; flex-wrap: wrap; gap: 10px; }
.tag {
  font-size: 13px; letter-spacing: .03em; color: var(--ink-soft);
  border: 1px solid var(--line-strong); padding: 7px 14px; border-radius: 100px;
  background: color-mix(in oklab, var(--bg) 50%, transparent); backdrop-filter: blur(4px);
}
.scroll-hint { position:absolute; right: var(--gutter); bottom: 30px; writing-mode: vertical-rl;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .26em; font-size: 12px; color: var(--ink-mut); display:flex; align-items:center; gap:12px; }
.scroll-hint::after { content:""; height: 46px; width: 1px; background: linear-gradient(var(--accent), transparent); }

/* ---------- stats strip ---------- */
.stats { border-block: 1px solid var(--line); background: var(--bg-2); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 38px 26px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .num { font-family: var(--font-display); font-size: clamp(38px, 4.4vw, 58px); font-weight: 700; line-height: 1; }
.stat .num em { color: var(--accent); font-style: normal; }
.stat .lbl { margin-top: 10px; color: var(--ink-mut); font-size: 14px; letter-spacing: .02em; }

/* ---------- generic section header ---------- */
.sec { padding-block: clamp(72px, 10vw, 140px); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 52px; }
.sec-head .txt { max-width: 60ch; }
.sec-head h2 { margin-top: 18px; }
.sec-head p { margin-top: 16px; }

/* ---------- categories ---------- */
.cats { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.cat {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  border: 1px solid var(--line); min-height: 280px; display: flex; isolation: isolate;
  grid-column: span 4;
}
.cat.wide { grid-column: span 8; }
.cat.tall { grid-row: span 2; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: var(--img-tone); transition: transform .7s cubic-bezier(.2,.7,.2,1); z-index: -2; }
.cat::after { content:""; position:absolute; inset:0; z-index:-1; background: linear-gradient(180deg, rgba(8,9,11,.05) 0%, rgba(8,9,11,.5) 55%, rgba(8,9,11,.9) 100%); }
.cat:hover img { transform: scale(1.06); }
.cat-body { margin-top: auto; padding: 24px; width: 100%; }
.cat-body .k { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); font-family: var(--font-display); font-weight: 600; }
.cat-body h3 { color: #fff; font-size: clamp(22px, 2vw, 30px); margin-top: 8px; }
.cat-body .arrow { margin-top: 14px; display: inline-flex; align-items:center; gap: 8px; color: #e9e7e3; font-size: 13.5px; letter-spacing: .04em; opacity: .8; transition: gap .2s, opacity .2s; }
.cat:hover .cat-body .arrow { gap: 14px; opacity: 1; }

/* ---------- portfolio ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.chip {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .08em;
  font-size: 13.5px; font-weight: 600; padding: 9px 18px; border-radius: 100px;
  border: 1px solid var(--line-strong); color: var(--ink-soft); background: transparent; cursor: pointer; transition: all .2s;
}
.chip:hover { color: var(--ink); border-color: var(--ink-soft); }
.chip.active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.gallery { columns: 3; column-gap: 16px; }
.shot {
  position: relative; margin-bottom: 16px; border-radius: var(--radius-lg); overflow: hidden;
  break-inside: avoid; cursor: pointer; border: 1px solid var(--line); display: block; width: 100%;
}
.shot img { width: 100%; height: auto; filter: var(--img-tone); transition: transform .6s ease; }
.shot:hover img { transform: scale(1.05); }
.shot figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px;
  background: linear-gradient(transparent, rgba(8,9,11,.88));
  color: #fff; opacity: 0; transform: translateY(10px); transition: all .3s ease;
}
.shot:hover figcaption { opacity: 1; transform: none; }
.shot figcaption b { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .04em; font-size: 18px; display:block; }
.shot figcaption span { font-size: 13px; color: #c7c4bf; }
.shot .ico { position:absolute; top:14px; right:14px; width:34px; height:34px; border-radius:50%;
  background: rgba(0,0,0,.4); backdrop-filter: blur(4px); display:grid; place-items:center; opacity:0; transition:.3s; }
.shot:hover .ico { opacity: 1; }
.shot .ico svg { width: 16px; height: 16px; stroke: #fff; }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.step { padding: 34px 26px 38px; border-left: 1px solid var(--line); position: relative; background: var(--surface); transition: background .25s; }
.step:first-child { border-left: 0; }
.step:hover { background: var(--surface-2); }
.step .n { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--accent); letter-spacing: .1em; }
.step h3 { font-size: 21px; margin-top: 18px; }
.step p { margin-top: 12px; color: var(--ink-mut); font-size: 14.5px; }
.step::after { content:""; position:absolute; left:0; bottom:0; height:3px; width:0; background: var(--accent); transition: width .4s ease; }
.step:hover::after { width:100%; }

/* ---------- about / workshop ---------- */
.about { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.about-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3.4; }
.about-media img { width:100%; height:100%; object-fit: cover; filter: var(--img-tone); }
.about-badge {
  position: absolute; left: 22px; bottom: 22px; background: var(--accent); color: var(--accent-ink);
  padding: 16px 22px; border-radius: var(--radius); box-shadow: var(--shadow);
}
.about-badge b { font-family: var(--font-display); font-size: 30px; display:block; line-height: 1; }
.about-badge span { font-size: 12.5px; letter-spacing: .04em; font-weight: 700; }
.caps { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
.cap { display:flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.cap .ci { width: 40px; height: 40px; flex: none; border-radius: var(--radius); background: color-mix(in oklab, var(--accent) 16%, transparent); color: var(--accent); display:grid; place-items:center; }
.cap .ci svg { width: 20px; height: 20px; }
.cap b { font-family: var(--font-display); text-transform: uppercase; letter-spacing:.03em; font-size: 16px; }
.cap p { font-size: 13.5px; color: var(--ink-mut); margin-top: 4px; }

/* ---------- advantages ---------- */
.adv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.adv-card { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); transition: transform .25s, border-color .25s; }
.adv-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.adv-card .ai { width: 52px; height: 52px; border-radius: var(--radius); background: color-mix(in oklab, var(--accent) 15%, transparent); color: var(--accent); display:grid; place-items:center; margin-bottom: 22px; }
.adv-card .ai svg { width: 26px; height: 26px; }
.adv-card h3 { font-size: 22px; }
.adv-card p { margin-top: 12px; color: var(--ink-mut); font-size: 15px; }

/* ---------- reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); display:flex; flex-direction: column; }
.review .stars { color: var(--accent); letter-spacing: 3px; font-size: 15px; }
.review p { margin-top: 18px; color: var(--ink-soft); font-size: 15.5px; }
.review .who { margin-top: auto; padding-top: 22px; display:flex; align-items:center; gap: 14px; }
.review .av { width: 44px; height: 44px; border-radius: 50%; background: var(--surface-2); display:grid; place-items:center; font-family: var(--font-display); font-weight:700; color: var(--accent); flex:none; border: 1px solid var(--line); }
.review .who b { font-size: 15px; }
.review .who span { display:block; font-size: 12.5px; color: var(--ink-mut); }

/* ---------- CTA / lead form ---------- */
.lead-sec { background: var(--bg-2); border-block: 1px solid var(--line); }
.lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.lead-copy h2 { font-size: clamp(34px, 4.6vw, 58px); }
.lead-copy .lead { margin-top: 20px; }
.lead-list { margin-top: 28px; display: grid; gap: 12px; }
.lead-list li { list-style: none; display:flex; gap: 12px; align-items: center; color: var(--ink-soft); font-size: 15.5px; }
.lead-list svg { width: 20px; height: 20px; color: var(--accent); flex:none; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 38px); box-shadow: var(--shadow); }
.form-card h3 { font-size: 26px; }
.form-card .sub { color: var(--ink-mut); font-size: 14px; margin-top: 8px; }
.field { margin-top: 18px; }
.field label { font-size: 12.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-mut); font-weight: 700; display:block; margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius);
  color: var(--ink); padding: 14px 16px; font-family: var(--font-body); font-size: 15.5px; transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); }
.field.err input, .field.err select { border-color: oklch(0.62 0.2 25); }
.field .msg { color: oklch(0.7 0.18 25); font-size: 12.5px; margin-top: 6px; display: none; }
.field.err .msg { display: block; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg button {
  flex: 1 1 auto; padding: 11px 12px; border-radius: var(--radius); border: 1px solid var(--line-strong);
  background: var(--bg); color: var(--ink-soft); font-family: var(--font-body); font-size: 13.5px; cursor: pointer; transition: .2s; white-space: nowrap;
}
.seg button.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 700; }
.form-note { font-size: 11.5px; color: var(--ink-mut); margin-top: 16px; text-align: center; }
.form-note a { color: var(--ink-soft); text-decoration: underline; }
.form-ok { text-align: center; padding: 30px 10px; display: none; }
.form-ok.show { display: block; }
.form-ok .ok-ic { width: 64px; height: 64px; border-radius: 50%; background: color-mix(in oklab, var(--accent) 18%, transparent); color: var(--accent); display:grid; place-items:center; margin: 0 auto 18px; }
.form-ok h3 { font-size: 26px; }
.form-ok p { color: var(--ink-mut); margin-top: 10px; font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; margin-inline: auto; }
.q { border-bottom: 1px solid var(--line); }
.q-head { width: 100%; text-align: left; background: none; border: 0; color: var(--ink); cursor: pointer;
  padding: 26px 0; display:flex; align-items:center; gap: 20px; font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: .02em; font-size: clamp(18px, 2vw, 23px); font-weight: 600; }
.q-head .pm { margin-left: auto; flex:none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong);
  display:grid; place-items:center; transition: .3s; color: var(--accent); }
.q.open .q-head .pm { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: rotate(45deg); }
.q-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.q-body p { padding-bottom: 26px; color: var(--ink-soft); max-width: 70ch; font-size: 15.5px; }

/* ---------- contacts ---------- */
.contacts { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 60px); align-items: stretch; }
.contact-info { display: grid; gap: 18px; align-content: start; }
.ci-row { display:flex; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.ci-row .ic { width: 44px; height: 44px; flex:none; border-radius: var(--radius); background: color-mix(in oklab, var(--accent) 15%, transparent); color: var(--accent); display:grid; place-items:center; }
.ci-row .ic svg { width: 22px; height: 22px; }
.ci-row .k { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-mut); font-weight: 700; }
.ci-row .v { font-family: var(--font-display); font-size: 22px; margin-top: 4px; letter-spacing:.01em; }
.ci-row .v.sm { font-size: 17px; font-family: var(--font-body); font-weight: 600; }
.map { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; min-height: 360px; position: relative;
  background:
    repeating-linear-gradient(45deg, color-mix(in oklab, var(--ink) 5%, transparent) 0 2px, transparent 2px 16px),
    var(--surface);
  display:grid; place-items:center; }
.map .pin { text-align:center; }
.map .pin .dot { width: 56px; height: 56px; border-radius: 50% 50% 50% 0; background: var(--accent); transform: rotate(-45deg); margin: 0 auto 18px; box-shadow: var(--shadow); position: relative; }
.map .pin .dot::after { content:""; position:absolute; inset: 18px; background: var(--bg); border-radius: 50%; }
.map .pin b { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .04em; font-size: 18px; }
.map .pin span { display:block; color: var(--ink-mut); font-size: 13.5px; margin-top:4px; }

/* ---------- footer ---------- */
.foot { background: var(--bg-2); border-top: 1px solid var(--line); padding-block: 56px 30px; }
.foot-top { display:flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.foot .brand b { font-size: 24px; }
.foot-cols { display:flex; gap: clamp(34px, 6vw, 84px); flex-wrap: wrap; }
.foot-col h4 { font-size: 14px; letter-spacing: .14em; color: var(--ink-mut); margin-bottom: 16px; }
.foot-col a { display:block; color: var(--ink-soft); font-size: 14.5px; padding: 5px 0; transition: color .2s; }
.foot-col a:hover { color: var(--accent); }
.foot-bottom { display:flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; color: var(--ink-mut); font-size: 13px; }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(8,9,11,.92); backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center; padding: 4vw; }
.lb.show { display: flex; }
.lb img { max-width: 90vw; max-height: 86vh; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.lb-cap { position: absolute; bottom: 5vh; left: 0; right: 0; text-align: center; color: #fff; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em; }
.lb-close, .lb-nav { position: absolute; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff;
  width: 50px; height: 50px; border-radius: 50%; display:grid; place-items:center; cursor: pointer; transition: .2s; }
.lb-close:hover, .lb-nav:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.lb-close { top: 4vh; right: 4vw; }
.lb-nav.prev { left: 3vw; top: 50%; transform: translateY(-50%); }
.lb-nav.next { right: 3vw; top: 50%; transform: translateY(-50%); }
.lb-close svg, .lb-nav svg { width: 22px; height: 22px; }

/* ---------- reveal animation ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
  .reveal.in { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: grid; place-items:center; width: 46px; height: 46px; border:1px solid var(--line-strong); border-radius: var(--radius); background: transparent; cursor:pointer; }
  .burger svg { width: 22px; height: 22px; stroke: var(--ink); }
  .hdr-phone { display: none; }
  .hdr-cta { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(odd) { border-left: 0; }
}
@media (max-width: 860px) {
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .stat { border-top: 1px solid var(--line); }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(-n+2) { border-top: 0; }
  .cats { grid-template-columns: 1fr 1fr; }
  .cat, .cat.wide { grid-column: span 1; }
  .cat.tall { grid-row: span 1; }
  .gallery { columns: 2; }
  .adv, .reviews { grid-template-columns: 1fr; }
  .about, .lead-grid, .contacts { grid-template-columns: 1fr; }
  .about-media { aspect-ratio: 16/11; }
  .caps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .cats { grid-template-columns: 1fr; }
  .gallery { columns: 1; }
  .steps { grid-template-columns: 1fr; }
  .step { border-left: 0 !important; border-top: 1px solid var(--line); }
  .step:first-child { border-top: 0; }
  .caps { grid-template-columns: 1fr; }
  .hero h1 .outline { -webkit-text-stroke-width: 1.4px; }
  .foot-top { flex-direction: column; }
}

/* mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 70; background: var(--bg); transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.7,.2,1); display:flex; flex-direction: column; padding: 90px var(--gutter) 40px; }
.mobile-menu.open { transform: none; }
.mobile-menu a { font-family: var(--font-display); text-transform: uppercase; font-size: 28px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 28px; }
.mm-close { position: absolute; top: 22px; right: var(--gutter); width: 46px; height:46px; border:1px solid var(--line-strong); border-radius: var(--radius); background:transparent; cursor:pointer; color: var(--ink); }
