/* ============================================================
   AUTOGRAPH AUTOBODY — V2 "PREMIUM CINEMATIC"
   Anton (condensed display) + Archivo (body) + JetBrains Mono
   Near-black base, warm paper breaks, electric blue accent
   ============================================================ */

:root {
  --bg: #08090b;
  --bg-2: #0e0f12;
  --panel: #131417;
  --paper: #f2f0eb;
  --paper-2: #e9e6df;

  --txt: #f4f3f0;
  --txt-mut: #9a9da6;
  --txt-faint: #565a63;
  --ink: #101114;
  --ink-mut: #5a5d63;

  --accent: #2f6bff;
  --accent-hot: #4d80ff;
  --accent-deep: #1f4ecc;
  --accent-soft: rgba(47, 107, 255, 0.12);

  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.2);
  --line-ink: rgba(16, 17, 20, 0.14);

  --display: 'Anton', impact, sans-serif;
  --body: 'Archivo', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --gutter: clamp(20px, 4.5vw, 72px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p { margin: 0; text-wrap: pretty; }

h1, h2, h3 { margin: 0; }
.d1, .d2 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.94;
  letter-spacing: 0.005em;
}
.d1 { font-size: clamp(54px, 9.2vw, 150px); }
.d2 { font-size: clamp(40px, 6.4vw, 96px); }
.outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--txt);
}
.section--paper .outline { -webkit-text-stroke: 1.5px var(--ink); }
.hl { color: var(--accent); }

.wrap { max-width: 1440px; margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(80px, 9vw, 150px); position: relative; }
.section--paper { background: var(--paper); color: var(--ink); }

.kicker {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent-hot);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.kicker::before { content: ""; width: 34px; height: 2px; background: var(--accent); }
.section--paper .kicker { color: var(--accent-deep); }

.sub {
  color: var(--txt-mut);
  font-size: clamp(16px, 1.8vw, 19px);
  max-width: 52ch;
}
.section--paper .sub { color: var(--ink-mut); }

/* ---------- grain ---------- */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 200;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 7s steps(10) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); } 20% { transform: translate(-2%,2%); }
  40% { transform: translate(2%,-1%); } 60% { transform: translate(-1%,-2%); }
  80% { transform: translate(1%,2%); }
}
@media (prefers-reduced-motion: reduce) { .grain { animation: none; } }

/* ---------- scroll progress ---------- */
.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--accent);
  z-index: 300;
}

/* ---------- buttons ---------- */
.btn {
  font-family: var(--body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 30px;
  border-radius: 2px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color .3s var(--ease), border-color .3s, transform .25s var(--ease);
  white-space: nowrap;
}
.btn::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--txt);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .38s var(--ease);
  z-index: 0;
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:hover { color: var(--ink); }
.btn > * { position: relative; z-index: 1; }
.btn span, .btn svg { position: relative; z-index: 1; }
.btn .ic { width: 16px; height: 16px; }

.btn--ghost { background: transparent; border-color: var(--line-2); color: var(--txt); }
.btn--ghost::before { background: var(--txt); }
.btn--ghost:hover { color: var(--ink); border-color: var(--txt); }
.section--paper .btn--ghost { border-color: rgba(16,17,20,.3); color: var(--ink); }
.section--paper .btn--ghost::before { background: var(--ink); }
.section--paper .btn--ghost:hover { color: var(--paper); }

.btn--lg { padding: 20px 38px; font-size: 16px; }

/* ---------- header ---------- */
.hdr {
  position: fixed; top: 3px; left: 0; right: 0; z-index: 100;
  transition: background .4s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.hdr.scrolled {
  background: rgba(8,9,11,.78);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--line);
}
.hdr__in {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-block: 16px;
}
.logo { display: flex; align-items: center; gap: 11px; line-height: 1; text-decoration: none; }
.logo__img { width: 36px; height: 36px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.logo__text { display: flex; flex-direction: column; }
.logo b { font-family: var(--display); font-weight: 400; font-size: 23px; letter-spacing: 0.04em; text-transform: uppercase; }
.logo b i { font-style: normal; color: var(--accent); }
.logo small { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.34em; color: var(--txt-mut); margin-top: 5px; }

.hdr nav { display: flex; gap: 2px; }
.hdr nav a {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--txt-mut);
  padding: 10px 14px;
  transition: color .2s;
  white-space: nowrap;
}
.hdr nav a:hover { color: var(--txt); }
.hdr__cta { display: flex; align-items: center; gap: 16px; }
.hdr__phone { font-family: var(--mono); font-size: 13.5px; font-weight: 600; letter-spacing: 0.04em; white-space: nowrap; display: inline-flex; align-items: center; gap: 9px; }
.hdr__phone .ic { width: 15px; height: 15px; color: var(--accent); }
.hdr .btn { padding: 13px 22px; font-size: 14px; }

.burger {
  display: none;
  width: 46px; height: 46px;
  background: none; border: 1px solid var(--line-2); border-radius: 2px;
  color: var(--txt); cursor: pointer;
  place-items: center;
}
.burger svg { width: 20px; height: 20px; }

/* mobile menu */
.mmenu {
  position: fixed; inset: 0; z-index: 150;
  background: var(--bg);
  display: flex; flex-direction: column;
  padding: 20px var(--gutter) 36px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .5s var(--ease);
}
.mmenu.open { clip-path: inset(0 0 0 0); }
.mmenu__top { display: flex; justify-content: space-between; align-items: center; }
.mmenu nav { display: flex; flex-direction: column; margin-top: 44px; }
.mmenu nav a {
  font-family: var(--display); font-size: clamp(38px, 9vw, 56px); text-transform: uppercase;
  padding: 10px 0; border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
}
.mmenu nav a small { font-family: var(--mono); font-size: 12px; color: var(--txt-faint); }
.mmenu__cta { margin-top: auto; display: grid; gap: 12px; }
.mmenu__cta .btn { justify-content: center; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%; height: 112%;
  object-fit: cover;
  object-position: center 42%;
  will-change: transform;
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--bg) 4%, rgba(8,9,11,.55) 36%, rgba(8,9,11,.22) 58%, rgba(8,9,11,.82) 100%),
    linear-gradient(100deg, rgba(8,9,11,.8) 0%, transparent 55%);
}
.hero__content { position: relative; z-index: 2; padding-top: 120px; padding-bottom: clamp(40px, 5vw, 80px); }
.hero__kicker-row {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  margin-bottom: clamp(22px, 3vw, 40px);
}
.hero__rating { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; color: var(--txt); background: rgba(8,9,11,.55); backdrop-filter: blur(10px); padding: 10px 16px; border: 1px solid var(--line); white-space: nowrap; }
.hero__rating .stars { color: #f2b134; display: inline-flex; gap: 1px; }
.hero__rating .stars svg { width: 14px; height: 14px; }
.hero h1 { max-width: 12ch; }
.hero__foot {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 36px;
  margin-top: clamp(28px, 3.4vw, 52px);
  flex-wrap: wrap;
}
.hero__sub { color: var(--txt-mut); font-size: clamp(16px, 1.9vw, 19px); max-width: 44ch; }
.hero__sub b { color: var(--txt); }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* line mask reveal */
.mask { display: block; overflow: hidden; }
.mask > span { display: block; transform: none; }
html.armed .mask > span {
  transform: translateY(112%);
  transition: transform .9s var(--ease);
}
html.armed .in .mask > span,
html.armed .mask.in > span { transform: none; }
html.armed .mask[data-d="1"] > span { transition-delay: .1s; }
html.armed .mask[data-d="2"] > span { transition-delay: .2s; }
html.armed .mask[data-d="3"] > span { transition-delay: .3s; }

/* generic reveal */
.rv { opacity: 1; transform: none; }
html.armed .rv { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.armed .rv.in { opacity: 1; transform: none; }
html.armed .rv[data-d="1"] { transition-delay: .08s; }
html.armed .rv[data-d="2"] { transition-delay: .16s; }
html.armed .rv[data-d="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html.armed .rv, html.armed .mask > span { opacity: 1; transform: none; transition: none; }
}

/* ---------- marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
  padding-block: 18px;
  position: relative; z-index: 3;
}
.marquee__track {
  display: flex; gap: 0;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }
.marquee__item {
  font-family: var(--display);
  font-size: 19px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--txt-mut);
  display: inline-flex; align-items: center; gap: 28px;
  padding-right: 28px;
  white-space: nowrap;
}
.marquee__item i { font-style: normal; color: var(--accent); font-size: 14px; }
.marquee__item.lit { color: var(--txt); }

/* ---------- services (editorial rows) ---------- */
.svc-rows { margin-top: clamp(40px, 5vw, 70px); border-top: 1px solid var(--line-ink); }
.svc-row {
  display: grid;
  grid-template-columns: 90px 1fr minmax(0, 420px) 60px;
  gap: clamp(16px, 3vw, 48px);
  align-items: center;
  padding: clamp(20px, 2.6vw, 34px) clamp(8px, 1.5vw, 24px);
  border-bottom: 1px solid var(--line-ink);
  position: relative;
  cursor: pointer;
  isolation: isolate;
}
.svc-row::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .42s var(--ease);
  z-index: -1;
}
.svc-row:hover::before { transform: scaleY(1); transform-origin: top; }
.svc-row > * { transition: color .3s var(--ease); }
.svc-row:hover .svc-row__n { color: var(--accent-hot); }
.svc-row:hover .svc-row__t { color: var(--paper); }
.svc-row:hover .svc-row__d { color: var(--txt-mut); }
.svc-row:hover .svc-row__a { color: var(--accent-hot); transform: translateX(6px) rotate(-45deg); }
.svc-row__n { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--ink-mut); letter-spacing: 0.1em; }
.svc-row__t { font-family: var(--display); font-size: clamp(26px, 3.4vw, 46px); text-transform: uppercase; line-height: 1; }
.svc-row__d { font-size: 15px; color: var(--ink-mut); }
.svc-row__a { justify-self: end; color: var(--ink-mut); transition: transform .3s var(--ease), color .3s; }
.svc-row__a svg { width: 26px; height: 26px; display: block; }

/* ---------- stats band ---------- */
.stats { border-block: 1px solid var(--line); background: var(--bg-2); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
  padding: clamp(36px, 4vw, 60px) clamp(20px, 2.5vw, 40px);
  border-left: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px;
}
.stat:first-child { border-left: 0; }
.stat b { font-family: var(--display); font-weight: 400; font-size: clamp(48px, 5.6vw, 88px); line-height: 0.95; }
.stat b i { font-style: normal; color: var(--accent); }
.stat small { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--txt-mut); }

/* ---------- why (bento) ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(210px, auto);
  gap: 14px;
  margin-top: clamp(40px, 5vw, 70px);
}
.bcard {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 28px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  position: relative; overflow: hidden;
  transition: border-color .3s, transform .35s var(--ease);
}
.bcard:hover { border-color: var(--line-2); transform: translateY(-4px); }
.bcard h3 { font-family: var(--display); font-weight: 400; font-size: clamp(20px, 2vw, 27px); text-transform: uppercase; letter-spacing: 0.02em; }
.bcard p { font-size: 14.5px; color: var(--txt-mut); max-width: 38ch; }
.bcard__ic { width: 44px; height: 44px; border-radius: 2px; background: var(--accent-soft); color: var(--accent-hot); display: grid; place-items: center; margin-bottom: auto; }
.bcard__ic svg { width: 22px; height: 22px; }
.bcard--accent { background: var(--accent); border-color: var(--accent); }
.bcard--accent .bcard__ic { background: rgba(255,255,255,.16); color: #fff; }
.bcard--accent p { color: rgba(255,255,255,.82); }
.bcard--photo { padding: 0; border: 0; }
.bcard--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.bcard--photo:hover img { transform: scale(1.045); }
.bcard--photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,9,11,.78), transparent 55%);
}
.bcard--photo figcaption {
  position: absolute; left: 24px; bottom: 20px; right: 24px; z-index: 2;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--txt);
}
.bcard--w2 { grid-column: span 2; }
.bcard--h2 { grid-row: span 2; }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(40px, 5vw, 70px); border-top: 1px solid var(--line-ink); }
.stp {
  position: relative;
  padding: 34px clamp(20px, 2.4vw, 38px) 44px 0;
  border-bottom: 1px solid var(--line-ink);
  overflow: hidden;
}
.stp__ghost {
  font-family: var(--display);
  font-size: clamp(90px, 9vw, 150px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(16,17,20,.16);
  position: absolute; right: 6px; top: 8px;
  pointer-events: none;
  user-select: none;
}
.stp__n { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.2em; color: var(--accent-deep); }
.stp h3 { font-family: var(--display); font-weight: 400; font-size: clamp(24px, 2.4vw, 34px); text-transform: uppercase; margin-top: 14px; }
.stp p { font-size: 15px; color: var(--ink-mut); margin-top: 10px; max-width: 32ch; }

/* ---------- reviews (snap scroller) ---------- */
.rev-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.rev-score { display: flex; align-items: baseline; gap: 18px; }
.rev-score b { font-family: var(--display); font-weight: 400; font-size: clamp(72px, 8vw, 130px); line-height: 0.9; }
.rev-score__meta { display: flex; flex-direction: column; gap: 8px; padding-bottom: 10px; }
.rev-score__meta .stars { color: #f2b134; display: flex; gap: 2px; }
.rev-score__meta .stars svg { width: 17px; height: 17px; }
.rev-score__meta small { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--txt-mut); }

.rev-rail {
  display: flex; gap: 16px;
  margin-top: clamp(36px, 4vw, 60px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 18px;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}
.rev-rail.dragging { cursor: grabbing; scroll-snap-type: none; }
.rev-rail::-webkit-scrollbar { height: 4px; }
.rev-rail::-webkit-scrollbar-thumb { background: var(--accent); }
.rev-card {
  flex: 0 0 min(420px, 82vw);
  scroll-snap-align: start;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 30px;
  display: flex; flex-direction: column; gap: 20px;
  user-select: none;
}
.rev-card .stars { color: #f2b134; display: flex; gap: 2px; }
.rev-card .stars svg { width: 15px; height: 15px; }
.rev-card p { font-size: 17px; line-height: 1.6; }
.rev-card footer { margin-top: auto; display: flex; align-items: center; gap: 13px; padding-top: 18px; border-top: 1px solid var(--line); }
.rev-card footer .av {
  width: 40px; height: 40px; border-radius: 2px;
  background: var(--accent-soft); color: var(--accent-hot);
  display: grid; place-items: center;
  font-family: var(--mono); font-weight: 600; font-size: 13px;
}
.rev-card footer b { font-size: 14.5px; display: block; }
.rev-card footer small { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--txt-faint); }
.rev-note { margin-top: 8px; font-family: var(--mono); font-size: 12px; color: var(--txt-faint); letter-spacing: 0.04em; }

/* ---------- before / after ---------- */
.ba { position: relative; border-radius: 4px; overflow: hidden; aspect-ratio: 16 / 7.4; user-select: none; cursor: ew-resize; touch-action: none; margin-top: clamp(40px, 5vw, 70px); }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { clip-path: inset(0 50% 0 0); z-index: 2; }
.ba__tag {
  position: absolute; top: 20px; z-index: 4;
  font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 9px 16px;
  background: rgba(8,9,11,.78); color: #fff;
  backdrop-filter: blur(8px);
}
.ba__tag--b { left: 20px; }
.ba__tag--a { right: 20px; background: var(--accent); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; z-index: 3; transform: translateX(-1px); }
.ba__grip {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 54px; height: 54px;
  background: #fff; color: var(--ink);
  display: grid; place-items: center;
  box-shadow: 0 10px 34px rgba(0,0,0,.5);
}
.ba__grip svg { width: 24px; height: 24px; }
.ba__cap {
  position: absolute; left: 20px; bottom: 18px; z-index: 4;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em;
  color: #fff; background: rgba(8,9,11,.7); padding: 9px 14px;
  backdrop-filter: blur(8px);
}

.jobs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.job { position: relative; border-radius: 4px; overflow: hidden; aspect-ratio: 4/3; margin: 0; }
.job img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.job:hover img { transform: scale(1.05); }
.job figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 18px 14px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: #fff;
  background: linear-gradient(to top, rgba(8,9,11,.85), transparent);
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 5vw, 90px); align-items: start; }
.faq-list { border-top: 1px solid var(--line-ink); }
.fitem { border-bottom: 1px solid var(--line-ink); }
.fq {
  width: 100%; background: none; border: 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 22px;
  text-align: left;
  padding: 24px 2px;
  font-family: var(--display); font-weight: 400; font-size: clamp(19px, 2vw, 26px);
  text-transform: uppercase; letter-spacing: 0.02em;
  color: var(--ink);
}
.fq__ic {
  flex-shrink: 0; width: 34px; height: 34px;
  border: 1px solid rgba(16,17,20,.25);
  display: grid; place-items: center;
  transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s;
}
.fq__ic svg { width: 15px; height: 15px; }
.fitem.open .fq__ic { background: var(--accent); border-color: var(--accent); color: #fff; transform: rotate(45deg); }
.fa { height: 0; overflow: hidden; transition: height .4s var(--ease); }
.fa__in { padding: 0 2px 28px; color: var(--ink-mut); font-size: 16px; max-width: 58ch; }

/* ---------- final CTA ---------- */
.cta { text-align: center; overflow: hidden; }
.cta .d1 { max-width: 10ch; margin-inline: auto; }
.cta__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: clamp(32px, 4vw, 52px); }
.cta__meta { margin-top: 30px; font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--txt-faint); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 5vw, 80px); align-items: stretch; }
.crow { display: flex; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.crow .ci {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--accent-soft); color: var(--accent-hot);
  display: grid; place-items: center; border-radius: 2px;
}
.crow .ci svg { width: 20px; height: 20px; }
.crow b { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--txt-faint); display: block; }
.crow a, .crow span { font-size: 17.5px; display: block; margin-top: 5px; }
.map { border-radius: 4px; overflow: hidden; border: 1px solid var(--line-2); min-height: 420px; background: var(--panel); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(0.3) contrast(1.05); }

/* ---------- footer ---------- */
.ftr { border-top: 1px solid var(--line); padding-top: clamp(48px, 6vw, 80px); overflow: hidden; }
.ftr__grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 50px; }
.ftr__cols { display: flex; gap: clamp(40px, 6vw, 100px); flex-wrap: wrap; }
.ftr__col b { font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--txt-faint); display: block; margin-bottom: 18px; }
.ftr__col a { display: block; font-size: 15px; color: var(--txt-mut); padding: 5px 0; transition: color .2s; }
.ftr__col a:hover { color: var(--txt); }
.ftr__word {
  font-family: var(--display);
  font-size: clamp(56px, 12.5vw, 210px);
  line-height: 0.86;
  text-transform: uppercase;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.14);
  white-space: nowrap;
  pointer-events: none;
  transform: translateY(12%);
}
.ftr__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-block: 22px;
  font-family: var(--mono); font-size: 12px; color: var(--txt-faint); letter-spacing: 0.04em;
}

/* ---------- sticky mobile bar ---------- */
.mbar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: rgba(8,9,11,.92);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  padding: 12px var(--gutter);
  gap: 10px;
}
.mbar .btn { flex: 1; justify-content: center; padding: 15px; }
.mbar .btn--ghost { flex: 0 0 auto; }

/* ---------- modal ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(4,5,7,.78);
  backdrop-filter: blur(10px);
  display: grid; place-items: center;
  padding: 22px;
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}
.overlay.open { opacity: 1; visibility: visible; }
.modal {
  width: min(580px, 100%);
  max-height: 92vh; overflow-y: auto;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  padding: clamp(28px, 4vw, 44px);
  transform: translateY(22px);
  transition: transform .4s var(--ease);
}
.overlay.open .modal { transform: none; }
.modal__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.modal__head h3 { font-family: var(--display); font-weight: 400; font-size: 30px; text-transform: uppercase; }
.modal__head p { color: var(--txt-mut); font-size: 14.5px; margin-top: 10px; }
.xbtn {
  flex-shrink: 0; width: 40px; height: 40px;
  background: none; border: 1px solid var(--line-2); color: var(--txt);
  cursor: pointer; display: grid; place-items: center;
  transition: background .2s;
}
.xbtn:hover { background: rgba(255,255,255,.08); }
.xbtn svg { width: 17px; height: 17px; }

.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.fld { display: flex; flex-direction: column; gap: 8px; }
.fld.c2 { grid-column: span 2; }
.fld label { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--txt-mut); }
.fld label .rq { color: var(--accent-hot); }
.fld select {
  font-family: var(--body); font-size: 15px;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: 2px;
  padding: 14px;
  color: var(--txt);
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%239a9da6' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 42px;
  cursor: pointer;
}
.fld select:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.fld select option { background: var(--bg-2); color: var(--txt); }
.fld select optgroup { background: var(--bg-2); color: var(--txt-mut); font-style: normal; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }

.fld input, .fld textarea {
  font-family: var(--body); font-size: 15px;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: 2px;
  padding: 14px;
  color: var(--txt);
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.fld input:focus, .fld textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.fld textarea { resize: vertical; min-height: 86px; }
.fld.bad input { border-color: #e0564f; }
.fld__err { font-family: var(--mono); font-size: 11px; color: #f0857f; display: none; }
.fld.bad .fld__err { display: block; }

.seg { display: flex; gap: 10px; }
.seg label { flex: 1; position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span {
  display: block; text-align: center;
  padding: 13px; border: 1px solid var(--line-2); border-radius: 2px;
  font-size: 14px; font-weight: 600; color: var(--txt-mut);
  cursor: pointer; transition: all .2s;
}
.seg input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--txt); }

.modal__submit { margin-top: 26px; }
.modal__submit .btn { width: 100%; justify-content: center; }
.modal__fine { margin-top: 16px; font-family: var(--mono); font-size: 11.5px; color: var(--txt-faint); text-align: center; letter-spacing: 0.04em; }

.msuccess { display: none; text-align: center; padding: 24px 0; }
.modal.done .mform { display: none; }
.modal.done .modal__head { display: none; }
.modal.done .msuccess { display: block; }
.msuccess__ic { width: 74px; height: 74px; margin: 0 auto 26px; background: var(--accent-soft); color: var(--accent-hot); display: grid; place-items: center; }
.msuccess__ic svg { width: 34px; height: 34px; }
.msuccess h3 { font-family: var(--display); font-weight: 400; font-size: 30px; text-transform: uppercase; }
.msuccess p { color: var(--txt-mut); margin-top: 14px; font-size: 15.5px; max-width: 40ch; margin-inline: auto; }
.msuccess .btn { margin-top: 28px; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .hdr nav { display: none; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid var(--line); }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(even) { border-left: 1px solid var(--line); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .svc-row { grid-template-columns: 60px 1fr 50px; }
  .svc-row__d { display: none; }
}

@media (max-width: 880px) {
  .hdr__phone, .hdr .btn:not(.burger) { display: none; }
  .burger { display: grid; }
  .hero__kicker-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .steps { grid-template-columns: 1fr; }
  .stp { padding-right: 0; }
  .faq-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .map { min-height: 320px; }
  .mbar { display: flex; }
  body { padding-bottom: 78px; }
  .jobs { grid-template-columns: 1fr; }
  .ba { aspect-ratio: 16/10; }
  .ftr__grid { flex-direction: column; }
}

@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .bcard--w2 { grid-column: span 1; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .hero__actions { width: 100%; flex-direction: column; }
  .hero__actions .btn { justify-content: center; }
  .fgrid { grid-template-columns: 1fr; }
  .fld.c2 { grid-column: span 1; }
  .svc-row { grid-template-columns: 44px 1fr 36px; }
}
