/* =====================================================
   APEX DEMOLITION & EXCAVATION
   Industrial-brutalist site — Anton + Barlow + JetBrains Mono
   ===================================================== */

:root {
  --bg:        #0a0a0a;
  --bg-2:      #121212;
  --bg-3:      #171717;
  --panel:     #1a1a1a;
  --line:      rgba(255,255,255,0.08);
  --line-2:    rgba(255,255,255,0.14);
  --fg:        #ffffff;
  --fg-dim:    #a3a3a3;
  --fg-mute:   #6e6e6e;
  --accent:    #F37021;
  --accent-2:  #ff8a3d;
  --accent-dim:#b85316;
  --hazard:    #F37021;
  --hazard-2:  #0a0a0a;

  --max:       1320px;
  --pad-x:     clamp(20px, 4vw, 56px);
  --pad-y:     clamp(80px, 9vw, 140px);

  --font-display: 'Anton', 'Impact', 'Bebas Neue', sans-serif;
  --font-body:    'Barlow', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, Menlo, monospace;
}

/* ----- Reset / Base ----- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: var(--accent); color: #000; }

/* ----- Reusable bits ----- */
.mono-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-dim);
  white-space: nowrap;
}
.mono-tag-blink::before {
  content: '';
  display: inline-block;
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: 1px;
  animation: blink 1.4s infinite ease-in-out;
}
@keyframes blink {
  0%, 60% { opacity: 1; box-shadow: 0 0 0 0 rgba(243,112,33,0.6); }
  100%    { opacity: 0.4; box-shadow: 0 0 0 8px rgba(243,112,33,0); }
}
.orange { color: var(--accent); }
.muted  { color: var(--fg-mute); }

/* ----- Hazard ribbon ----- */
.hazard-strip {
  height: 14px;
  background: repeating-linear-gradient(
    -45deg,
    var(--hazard) 0 18px,
    var(--hazard-2) 18px 36px
  );
  position: relative;
  z-index: 5;
}
.hazard-strip-bottom { height: 10px; opacity: 0.85; }

/* =====================================================
   HEADER
   ===================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px var(--pad-x);
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.brand-logo {
  height: 52px;
  width: auto;
  display: block;
}
@media (max-width: 600px) {
  .brand-logo { height: 40px; }
}

.nav {
  flex: 1 1 auto;
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: center;
}
.nav-call { display: none; }
.nav a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-dim);
  position: relative;
  padding: 6px 0;
  transition: color .25s ease;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 50%; right: 50%; bottom: 0;
  height: 2px;
  background: var(--accent);
  transition: left .25s ease, right .25s ease;
}
.nav a:hover { color: var(--fg); }
.nav a:hover::after { left: 0; right: 0; }

/* ----- Hamburger toggle ----- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line-2);
  cursor: pointer;
  flex: 0 0 auto;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--fg);
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ----- Mobile nav (< 880px): slide-down panel ----- */
@media (max-width: 879px) {
  .nav-toggle { display: flex; }
  .cta-phone { margin-left: auto; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    justify-content: flex-start;
    padding: 6px var(--pad-x) 16px;
    background: rgba(10,10,10,0.97);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a {
    font-size: 15px;
    padding: 15px 2px;
    border-bottom: 1px solid var(--line);
  }
  .nav a::after { display: none; }
  .nav-call {
    display: block;
    color: var(--accent);
    border-bottom: 0 !important;
  }
}

/* Hide the standalone phone button on the smallest screens — it's in the menu */
@media (max-width: 480px) {
  .cta-phone { display: none; }
  .nav-toggle { margin-left: auto; }
}

.cta-phone {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 10px 18px 10px 22px;
  background: var(--accent);
  color: #0a0a0a;
  border: 2px solid var(--accent);
  line-height: 1;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 10px) 100%, 0 100%);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.cta-phone:hover { background: #0a0a0a; color: var(--accent); transform: translateY(-2px); }
.cta-phone-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.85;
}
.cta-phone-num {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.04em;
  margin-top: 2px;
}
.cta-phone-pulse {
  position: absolute;
  inset: -2px;
  border: 2px solid var(--accent);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 10px) 100%, 0 100%);
  opacity: 0.5;
  animation: phonePulse 2s infinite ease-out;
  pointer-events: none;
}
@keyframes phonePulse {
  0%   { transform: scale(1);    opacity: 0.5; }
  100% { transform: scale(1.14); opacity: 0; }
}
@media (max-width: 600px) {
  .cta-phone-label { display: none; }
  .cta-phone-num { font-size: 16px; }
  .cta-phone { padding: 9px 14px; }
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  padding: clamp(40px, 5vw, 70px) var(--pad-x) clamp(36px, 4vw, 60px);
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  isolation: isolate;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 80%);
  opacity: 0.55;
  z-index: -2;
}
.hero-noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.65 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.5'/></svg>");
  opacity: 0.06;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: -1;
}
.hero::before {
  content: '';
  position: absolute;
  right: -120px; top: -120px;
  width: 520px; height: 520px;
  background: radial-gradient(circle at center, rgba(243,112,33,0.35), transparent 65%);
  filter: blur(20px);
  z-index: -2;
}
.hero::after {
  content: '';
  position: absolute;
  left: -160px; bottom: -160px;
  width: 480px; height: 480px;
  background: radial-gradient(circle at center, rgba(243,112,33,0.18), transparent 70%);
  filter: blur(30px);
  z-index: -2;
}

.hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
  margin-bottom: clamp(28px, 3.5vw, 48px);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  animation: fadeUp .9s .1s both;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(60px, 12vw, 180px);
  line-height: 0.84;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin: 0 0 clamp(22px, 2.6vw, 38px);
}
.hl-row {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
}
.hl-row-a {
  animation: slideInLeft 1s .25s both;
}
.hl-row-amp {
  font-size: 0.45em;
  color: var(--accent);
  gap: clamp(18px, 3vw, 36px);
  margin: clamp(4px, 0.6vw, 10px) 0;
  animation: fadeUp 1s .55s both;
}
.amp-mark {
  font-family: var(--font-display);
  display: inline-block;
  transform: translateY(-0.05em);
}
.amp-rule {
  flex: 1;
  height: 4px;
  background: var(--accent);
  max-width: 480px;
}
.hl-row-b {
  color: var(--fg);
  position: relative;
  animation: slideInLeft 1s .45s both;
}
.hl-dot {
  color: var(--accent);
  display: inline-block;
}

.hero-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  border-top: 1px solid var(--line);
  padding-top: clamp(20px, 2.4vw, 32px);
  animation: fadeUp 1s .7s both;
}
.hero-tagline {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(18px, 1.7vw, 24px);
  letter-spacing: 0.01em;
  max-width: 32ch;
  margin: 0;
  color: var(--fg-dim);
}
.hero-tagline .orange { font-weight: 600; }

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-corner {
  position: absolute;
  bottom: 18px;
  right: var(--pad-x);
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-mute);
  animation: fadeUp 1.4s 1s both;
}
.corner-line {
  width: 70px;
  height: 1px;
  background: var(--fg-mute);
}
.corner-label {
  animation: bob 2.4s infinite ease-in-out;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(4px); }
}

/* ----- Animations ----- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 26px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 12px) 100%, 0 100%);
}
.btn svg { transition: transform .25s ease; }
.btn:hover svg { transform: translateX(4px); }
.btn-primary {
  background: var(--accent);
  color: #0a0a0a;
  border-color: var(--accent);
  box-shadow: 0 0 0 0 rgba(243,112,33,0);
}
.btn-primary:hover {
  background: #ff8a3d;
  border-color: #ff8a3d;
  transform: translateY(-2px);
  box-shadow: 0 8px 0 -2px rgba(243,112,33,0.35);
}
.btn-secondary {
  background: transparent;
  color: var(--fg);
  border-color: var(--fg);
}
.btn-secondary:hover {
  background: var(--fg);
  color: #0a0a0a;
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
  padding: 12px 20px;
  font-size: 12px;
}
.btn-ghost:hover {
  background: var(--accent);
  color: #0a0a0a;
}

/* =====================================================
   MARQUEE
   ===================================================== */
.marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  padding: 26px 0;
}
.marquee-track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  width: max-content;
  animation: marquee 45s linear infinite;
  font-family: var(--font-display);
  font-size: clamp(36px, 5.2vw, 78px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.06);
  -webkit-text-stroke: 1.4px rgba(255,255,255,0.55);
}
.marquee-track .dot {
  color: var(--accent);
  -webkit-text-stroke: 0;
  font-size: 0.6em;
  align-self: center;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =====================================================
   SECTION BASE
   ===================================================== */
.section {
  position: relative;
  padding: var(--pad-y) var(--pad-x);
  max-width: var(--max);
  margin: 0 auto;
}
.section + .section { padding-top: 0; }

.section-header {
  max-width: 880px;
  margin-bottom: clamp(50px, 6vw, 90px);
  position: relative;
}
.section-meta {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 18px;
}
.section-num {
  font-family: var(--font-display);
  font-size: clamp(56px, 7vw, 96px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--accent);
}
.section-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(38px, 6vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin: 0 0 22px;
}
.section-kicker {
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--fg-dim);
  max-width: 62ch;
  margin: 0;
  line-height: 1.55;
}

/* =====================================================
   SERVICES
   ===================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service-card {
  background: var(--bg);
  padding: clamp(28px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  transition: background .25s ease, transform .25s ease;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 3px;
  background: var(--accent);
  transition: width .35s ease;
}
.service-card:hover::before { width: 100%; }
.service-card:hover { background: var(--bg-2); }
.service-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}
.service-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent);
}
.service-icon {
  width: 44px;
  height: 44px;
  color: var(--fg);
  opacity: 0.85;
}
.service-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0;
}
.service-card p {
  color: var(--fg-dim);
  margin: 0;
  font-size: 15px;
}
.bullet {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px dashed var(--line-2);
  padding-top: 16px;
}
.bullet li {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--fg-dim);
  padding-left: 18px;
  position: relative;
}
.bullet li::before {
  content: '+';
  position: absolute;
  left: 0; top: 0;
  color: var(--accent);
  font-weight: 700;
}

/* =====================================================
   WHY APEX — stats
   ===================================================== */
.why-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0;
  border: 1px solid var(--line);
}
.stat {
  padding: clamp(28px, 3vw, 44px);
  position: relative;
  border-right: 1px solid var(--line);
  background: var(--bg);
  transition: background .2s ease;
}
.stat:last-child { border-right: 0; }
.stat:hover { background: var(--bg-2); }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(64px, 7vw, 110px);
  line-height: 0.9;
  color: var(--fg);
  display: flex;
  align-items: flex-start;
  gap: 4px;
}
.stat-unit {
  font-size: 0.45em;
  color: var(--accent);
  margin-top: 0.15em;
}
.stat-rule {
  width: 50px;
  height: 3px;
  background: var(--accent);
  margin: 18px 0 14px;
}
.stat-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg);
}
.stat-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--fg-mute);
  margin-top: 6px;
}
@media (max-width: 900px) {
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
}

/* =====================================================
   PROCESS
   ===================================================== */
.process-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.step {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: clamp(20px, 4vw, 60px);
  padding: clamp(28px, 4vw, 50px) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  position: relative;
  transition: background .25s ease, padding-left .25s ease;
}
.step:hover {
  background: linear-gradient(90deg, rgba(243,112,33,0.06), transparent 50%);
  padding-left: 16px;
}
.step::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width .3s ease;
}
.step:hover::before { width: 8px; }
.step-num {
  font-family: var(--font-display);
  font-size: clamp(64px, 6vw, 120px);
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 2px var(--fg);
  transition: -webkit-text-stroke-color .25s ease, color .25s ease;
}
.step:hover .step-num {
  color: var(--accent);
  -webkit-text-stroke-color: var(--accent);
}
.step-body h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 44px);
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0.01em;
  margin: 0 0 14px;
}
.step-body p {
  color: var(--fg-dim);
  font-size: clamp(15px, 1.1vw, 17px);
  max-width: 60ch;
  margin: 0;
}
.step-body p em {
  color: var(--accent);
  font-style: italic;
}
@media (max-width: 720px) {
  .step { grid-template-columns: 1fr; gap: 8px; }
  .step-num { font-size: 80px; }
}

/* =====================================================
   RECENT WORK — carousel
   ===================================================== */
.work-shell {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: stretch;
  gap: 14px;
}
.work-track {
  --card-w: clamp(320px, 56vw, 640px);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: var(--card-w);
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 6px 0 18px;
  padding-inline: max(0px, calc((100% - var(--card-w)) / 2));
  outline: none;
}
.work-track::-webkit-scrollbar { display: none; }
.work-track:focus-visible { box-shadow: inset 0 0 0 2px var(--accent); }

@media (max-width: 879px) {
  .work-track { --card-w: 84vw; }
}

.work-item {
  position: relative;
  scroll-snap-align: center;
  display: block;
  margin: 0;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
  cursor: zoom-in;
  aspect-ratio: 4 / 5;
}
.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .35s ease;
  filter: saturate(0.95) brightness(0.95);
}
.work-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.78) 100%);
  opacity: 0.85;
  pointer-events: none;
  transition: opacity .25s ease;
}
.work-item:hover img,
.work-item:focus-within img {
  transform: scale(1.04);
  filter: saturate(1.05) brightness(1);
}
.work-item:hover::after { opacity: 1; }

.work-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 1;
  transform: translateY(4px);
  transition: transform .35s ease;
}
.work-item:hover figcaption { transform: translateY(0); }
.work-item figcaption span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.work-item figcaption strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--fg);
  text-transform: uppercase;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}

.work-arrow {
  appearance: none;
  background: var(--bg-2);
  color: var(--fg);
  border: 1px solid var(--line-2);
  width: 48px;
  height: 48px;
  align-self: center;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
  flex: 0 0 auto;
}
.work-arrow:hover { background: var(--accent); color: #000; border-color: var(--accent); }
.work-arrow:active { transform: scale(0.94); }
.work-arrow:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

@media (max-width: 879px) {
  .work-shell { grid-template-columns: 1fr; }
  .work-arrow { display: none; }
}

.work-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 22px;
}
.work-dot {
  appearance: none;
  cursor: pointer;
  width: 18px;
  height: 6px;
  background: rgba(255,255,255,0.18);
  border: none;
  padding: 0;
  transition: background .2s ease, width .2s ease;
}
.work-dot:hover { background: rgba(255,255,255,0.36); }
.work-dot.active { background: var(--accent); width: 32px; }
.work-dot:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.work-footnote {
  margin: 30px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: baseline;
  border-top: 1px dashed var(--line-2);
  padding-top: 22px;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.02em;
}
.work-footnote a {
  color: var(--accent);
  border-bottom: 2px solid transparent;
  transition: border-color .2s ease;
}
.work-footnote a:hover { border-color: var(--accent); }

/* =====================================================
   CONTACT
   ===================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(30px, 4vw, 70px);
  align-items: start;
}
@media (max-width: 980px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.quote-form {
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  padding: clamp(24px, 3vw, 44px);
  position: relative;
}
.quote-form::before {
  content: 'FORM N° 006';
  position: absolute;
  top: -1px; right: -1px;
  background: var(--accent);
  color: #0a0a0a;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  padding: 6px 12px;
}

.form-row { display: grid; grid-template-columns: 1fr; gap: 22px; margin-bottom: 22px; }
.form-row.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 620px) { .form-row.two { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 8px; }
.field-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.field-label em {
  color: var(--accent);
  font-style: normal;
  margin-right: 6px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  background: transparent;
  border: 1px solid var(--line-2);
  border-bottom-width: 2px;
  color: var(--fg);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  letter-spacing: 0.01em;
  outline: none;
  transition: border-color .2s ease, background .2s ease;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--fg-mute); }
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--accent);
  background: rgba(243,112,33,0.04);
}

.select-wrap { position: relative; }
.select-wrap svg {
  position: absolute;
  right: 16px; top: 50%;
  transform: translateY(-50%);
  width: 12px;
  color: var(--accent);
  pointer-events: none;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background: var(--bg-2);
}
.field select option {
  background: var(--bg-2);
  color: var(--fg);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 8px;
  padding-top: 22px;
  border-top: 1px dashed var(--line-2);
}
.form-note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--fg-mute);
  margin: 0;
}
.form-note strong { color: var(--fg); }

.form-status {
  margin: 18px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  min-height: 1em;
}
.form-status.err { color: #ff7a7a; }
.form-status.ok  { color: var(--accent); }

/* ----- Contact side ----- */
.contact-side {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.contact-block {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-link {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.02em;
  color: var(--fg);
  transition: color .2s ease;
}
.contact-link.big { font-size: 38px; color: var(--accent); }
.contact-link.as-text { font-family: var(--font-body); font-size: 16px; font-weight: 500; }
.contact-link:hover { color: var(--accent); }
.contact-link.big:hover { color: #ff8a3d; }

.contact-callout {
  background: var(--bg-2);
  border-left-width: 3px;
  padding: 18px 22px;
  margin-top: 10px;
}
.contact-callout p {
  color: var(--fg-dim);
  font-size: 14px;
  margin: 8px 0 14px;
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: linear-gradient(180deg, var(--bg) 0%, #050505 100%);
  padding: clamp(60px, 7vw, 100px) var(--pad-x) 30px;
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: 'APEX';
  position: absolute;
  bottom: -0.25em;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(160px, 28vw, 380px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.045);
  letter-spacing: 0.02em;
  pointer-events: none;
  z-index: 0;
}
.footer-top,
.footer-grid,
.footer-bottom { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; }

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.footer-mark {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-apex {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 84px);
  line-height: 1;
  letter-spacing: 0.02em;
}
.footer-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.footer-tag {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 300;
  color: var(--fg-dim);
  max-width: 28ch;
  text-align: right;
}
@media (max-width: 720px) { .footer-tag { text-align: left; } }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}
.footer-grid > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-grid a, .footer-grid span:not(.mono-tag) {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  color: var(--fg);
  transition: color .2s ease;
}
.footer-grid a:hover { color: var(--accent); }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--fg-mute);
}

/* =====================================================
   REVEAL ON SCROLL
   ===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.in { opacity: 1; transform: none; }
.service-card.reveal { transition-delay: 0s; }
.service-card.reveal:nth-child(2) { transition-delay: .08s; }
.service-card.reveal:nth-child(3) { transition-delay: .16s; }
.service-card.reveal:nth-child(4) { transition-delay: .24s; }
.stat.reveal:nth-child(2) { transition-delay: .08s; }
.stat.reveal:nth-child(3) { transition-delay: .16s; }
.stat.reveal:nth-child(4) { transition-delay: .24s; }
.step.reveal:nth-child(2) { transition-delay: .08s; }
.step.reveal:nth-child(3) { transition-delay: .16s; }
.step.reveal:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* =====================================================
   REVIEWS CAROUSEL
   ===================================================== */
.reviews-shell {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: stretch;
  gap: 14px;
}
.reviews-track {
  --card-w: clamp(320px, 56vw, 640px);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: var(--card-w);
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 6px 0 18px;
  padding-inline: max(0px, calc((100% - var(--card-w)) / 2));
  outline: none;
}
.reviews-track::-webkit-scrollbar { display: none; }
.reviews-track:focus-visible { box-shadow: inset 0 0 0 2px var(--accent); }

@media (max-width: 879px) {
  .reviews-track { --card-w: 84vw; }
}

.review-card {
  position: relative;
  scroll-snap-align: center;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  padding: clamp(28px, 3vw, 40px) clamp(24px, 2.4vw, 36px) clamp(22px, 2.4vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-height: 320px;
  transition: background .25s ease, transform .25s ease, border-color .25s ease;
}
.review-card:hover {
  background: var(--bg-3);
  transform: translateY(-2px);
}
.review-card::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: repeating-linear-gradient(
    -45deg,
    rgba(243,112,33,0.55) 0 8px,
    transparent 8px 16px
  );
  opacity: 0;
  transition: opacity .25s ease;
}
.review-card:hover::after { opacity: 1; }

.rev-quote-mark {
  font-family: var(--font-display);
  font-size: 92px;
  line-height: 0.6;
  color: var(--accent);
  display: block;
  height: 32px;
  margin-bottom: -6px;
  user-select: none;
}
.rev-body {
  font-family: var(--font-body);
  font-size: clamp(15.5px, 1.15vw, 17.5px);
  line-height: 1.6;
  color: var(--fg);
  margin: 0;
  flex: 1;
}
.rev-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.rev-who {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--fg-dim);
  letter-spacing: 0.01em;
}
.rev-who strong {
  color: var(--fg);
  font-weight: 700;
  font-size: 15px;
  margin-right: 4px;
}
.rev-tags {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.rev-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 4px 8px;
  border: 1px solid rgba(243,112,33,0.4);
  background: rgba(243,112,33,0.06);
}
.rev-date {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-mute);
}

.rev-arrow {
  appearance: none;
  background: var(--bg-2);
  color: var(--fg);
  border: 1px solid var(--line-2);
  width: 48px;
  height: 48px;
  align-self: center;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
  flex: 0 0 auto;
}
.rev-arrow:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}
.rev-arrow:active { transform: scale(0.94); }
.rev-arrow:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

@media (max-width: 879px) {
  .reviews-shell { grid-template-columns: 1fr; }
  .rev-arrow { display: none; }
}

.reviews-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 22px;
}
.rev-dot {
  appearance: none;
  cursor: pointer;
  width: 18px;
  height: 6px;
  background: rgba(255,255,255,0.18);
  border: none;
  padding: 0;
  transition: background .2s ease, width .2s ease;
}
.rev-dot:hover { background: rgba(255,255,255,0.36); }
.rev-dot.active { background: var(--accent); width: 32px; }
.rev-dot:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.reviews-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.reviews-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.reviews-badge svg { color: var(--accent); flex: 0 0 auto; }
.reviews-badge strong { color: var(--fg); font-weight: 700; }
.reviews-link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  transition: color .2s ease;
}
.reviews-link:hover { color: var(--accent); }

/* =====================================================
   TINY DETAILS
   ===================================================== */
@media (max-width: 880px) {
  .hero-headline { font-size: clamp(64px, 18vw, 140px); }
  .amp-rule { display: none; }
  .hl-row-amp { gap: 0; }
}
