/* =========================================================
   ForensixEurope — palette drawn from the logo:
   deep navy base, steel-silver, gold accent
   Cyber-forensic HUD detailing throughout.
   ========================================================= */
:root {
  --bg: #070b12;
  --bg-2: #0b1220;
  --panel: #101a2b;
  --panel-2: #12203a;
  --line: rgba(201, 212, 226, 0.12);
  --grid: rgba(127, 163, 204, 0.05);
  --ink: #e9eef6;
  --muted: #9fb0c4;
  --steel: #7fa3cc;
  --silver: #c9d4e2;
  --gold: #d4a937;
  --gold-soft: rgba(212, 169, 55, 0.14);
  --gold-line: rgba(212, 169, 55, 0.45);
  --navy-glow: rgba(63, 111, 173, 0.18);
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* faint blueprint grid over the whole page */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 100% 72px,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 72px 100%;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 40%, transparent 100%);
}

main, .footer, .nav { position: relative; z-index: 1; }

img { max-width: 100%; display: block; }
a { color: var(--steel); text-decoration: none; }

.container { width: min(1140px, 92%); margin: 0 auto; }
.container.narrow { width: min(820px, 92%); }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; }
.mono { font-family: var(--font-mono); }

/* gold hairline across the very top of the page */
.topline {
  position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 200;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, #f0d585 50%, var(--gold) 70%, transparent);
  opacity: 0.7;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-mesh, .hero-scanline, .emblem-sweep, .term-cursor { display: none; }
  .emblem-ring, .ring-2, .emblem-img, .chip-dot { animation: none !important; }
  .parallax-img { transform: none !important; }
}

.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #1f1f1f;
  color: #fff;
  padding: 14px 22px;
  border-radius: 8px;
  font-size: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all .35s ease;
  z-index: 9999;
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 2px 0 auto 0; z-index: 100;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), padding 0.35s var(--ease);
  padding: 14px 0;
}
.nav.scrolled {
  padding: 6px 0;
  background: rgba(7, 11, 18, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  width: min(1240px, 94%); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 44px; width: auto; filter: drop-shadow(0 0 8px rgba(63, 111, 173, 0.5)); }
.brand-name {
  font-family: var(--font-head); font-weight: 700; letter-spacing: 0.06em;
  font-size: 1.05rem; color: var(--silver);
}
.brand-accent { color: var(--steel); }

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  color: var(--muted); font-size: 0.92rem; font-weight: 500;
  transition: color 0.25s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links .nav-cta {
  color: var(--gold); border: 1px solid var(--gold-line);
  padding: 8px 16px;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.nav-links .nav-cta:hover { background: var(--gold); color: #0a0e14; }

.nav-right { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: flex; align-items: center; gap: 6px; }
.lang-btn {
  background: none; border: none; cursor: pointer;
  color: var(--muted); font: 600 0.85rem var(--font-mono);
  padding: 4px 6px; letter-spacing: 0.04em;
}
.lang-btn.active { color: var(--gold); text-shadow: 0 0 12px rgba(212, 169, 55, 0.6); }
.lang-sep { color: var(--line); }

.nav-burger { display: none; background: none; border: none; cursor: pointer; }
.nav-burger span {
  display: block; width: 22px; height: 2px; margin: 5px 0;
  background: var(--silver); transition: 0.3s var(--ease);
}

/* ---------- Buttons (clipped cyber corners) ---------- */
.btn {
  display: inline-block; font-weight: 600; font-size: 0.98rem;
  padding: 14px 30px; position: relative; overflow: hidden;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.btn-gold {
  background: linear-gradient(135deg, #e3bd4e, var(--gold) 55%, #b8912f);
  color: #0a0e14;
  box-shadow: 0 6px 24px rgba(212, 169, 55, 0.25);
}
/* shine sweep on hover */
.btn-gold::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -80%;
  width: 40%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transition: left 0.6s var(--ease);
}
.btn-gold:hover::after { left: 130%; }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(212, 169, 55, 0.35); }
.btn-ghost {
  color: var(--silver); border: 1px solid var(--line);
  background: rgba(201, 212, 226, 0.04);
}
.btn-ghost:hover { background: rgba(201, 212, 226, 0.09); border-color: var(--steel); }
.btn-wide { width: 100%; text-align: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  background: radial-gradient(1200px 700px at 70% -10%, #10203a 0%, var(--bg) 55%);
}
.hero-mesh { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.55; }
.hero-glow {
  position: absolute; left: 50%; bottom: -40%;
  width: 900px; height: 500px; transform: translateX(-50%);
  background: radial-gradient(closest-side, var(--navy-glow), transparent 70%);
  pointer-events: none;
}
/* slow vertical scan sweep across the hero */
.hero-scanline {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.hero-scanline::before {
  content: ""; position: absolute; left: 0; right: 0; height: 120px; top: -20%;
  background: linear-gradient(180deg, transparent, rgba(127, 163, 204, 0.06), transparent);
  animation: scan 9s linear infinite;
}
@keyframes scan { from { top: -20%; } to { top: 110%; } }

/* HUD corner brackets on the hero frame */
.hero-hud { position: absolute; width: 56px; height: 56px; pointer-events: none; opacity: 0.6; }
.hud-tl { top: 96px; left: 4%; border-top: 1px solid var(--gold-line); border-left: 1px solid var(--gold-line); }
.hud-br { bottom: 42px; right: 4%; border-bottom: 1px solid var(--gold-line); border-right: 1px solid var(--gold-line); }

.hero-inner {
  position: relative; z-index: 2; padding: 150px 0 90px;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 40px; align-items: center;
}
.hero-chip {
  display: inline-flex; align-items: center; gap: 9px;
  font: 600 0.72rem var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--steel); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px; margin-bottom: 24px;
  background: rgba(16, 26, 43, 0.6);
  width: fit-content;
}
.chip-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero-kicker {
  color: var(--gold); font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 700;
  margin-bottom: 22px;
  background: linear-gradient(120deg, #f2f5fa 30%, #b9c9dd 75%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub { color: var(--muted); font-size: 1.1rem; max-width: 620px; margin-bottom: 34px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 16px; }
.hero-micro { color: var(--muted); font-size: 0.85rem; opacity: 0.8; }

/* terminal line */
.hero-term {
  margin-top: 26px; font: 400 0.82rem var(--font-mono);
  color: rgba(127, 163, 204, 0.75);
}
.term-prompt { color: var(--gold); opacity: 0.8; }
.term-cursor {
  display: inline-block; width: 8px; height: 1em; margin-left: 3px;
  background: var(--steel); vertical-align: text-bottom;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* emblem — logo shield with rings + radar sweep */
.hero-emblem {
  position: relative; display: grid; place-items: center;
  aspect-ratio: 1; max-width: 420px; justify-self: center; width: 100%;
}
.emblem-img {
  width: 58%; position: relative; z-index: 2;
  filter: drop-shadow(0 0 34px rgba(63, 111, 173, 0.55)) drop-shadow(0 12px 30px rgba(0, 0, 0, 0.6));
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.emblem-ring {
  position: absolute; inset: 6%;
  border: 1px dashed rgba(127, 163, 204, 0.35); border-radius: 50%;
  animation: spin 40s linear infinite;
}
.emblem-ring::before, .emblem-ring::after {
  content: ""; position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 10px var(--gold);
}
.emblem-ring::before { top: -3px; left: 50%; }
.emblem-ring::after { bottom: 12%; right: 2%; background: var(--steel); box-shadow: 0 0 10px var(--steel); }
.ring-2 {
  inset: 16%; border-style: solid; border-color: rgba(212, 169, 55, 0.18);
  animation: spin 60s linear infinite reverse;
}
.ring-2::before { display: none; }
.ring-2::after { top: 8%; left: 12%; right: auto; bottom: auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.emblem-sweep {
  position: absolute; inset: 6%; border-radius: 50%; z-index: 1;
  background: conic-gradient(from 0deg, rgba(127, 163, 204, 0.14), transparent 70deg, transparent);
  animation: spin 7s linear infinite;
  mask-image: radial-gradient(circle, transparent 30%, #000 32%);
  -webkit-mask-image: radial-gradient(circle, transparent 30%, #000 32%);
}

/* staggered hero entrance */
.hero-copy .reveal:nth-child(1) { transition-delay: 0s; }
.hero-copy .reveal:nth-child(2) { transition-delay: 0.08s; }
.hero-copy .reveal:nth-child(3) { transition-delay: 0.16s; }
.hero-copy .reveal:nth-child(4) { transition-delay: 0.24s; }
.hero-copy .reveal:nth-child(5) { transition-delay: 0.32s; }
.hero-copy .reveal:nth-child(6) { transition-delay: 0.4s; }
.hero-copy .reveal:nth-child(7) { transition-delay: 0.48s; }
.hero-emblem.reveal { transition-delay: 0.3s; }

/* ---------- Trust bar ---------- */
.trustbar { border-block: 1px solid var(--line); background: var(--bg-2); padding: 26px 0; }
.trust-label {
  text-align: center; color: var(--muted); font: 600 0.7rem var(--font-mono);
  letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 16px;
}
.trust-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; }
.trust-badge {
  color: var(--silver); font: 600 0.8rem var(--font-mono); letter-spacing: 0.04em;
  border: 1px solid var(--line); padding: 7px 18px; opacity: 0.85;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  background: rgba(16, 26, 43, 0.5);
}

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }

.sec-kicker {
  font: 600 0.75rem var(--font-mono); letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--steel); margin-bottom: 14px;
}
.sk-slash { color: var(--gold); }

.section-title {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 700;
  margin-bottom: 22px; color: var(--ink);
  position: relative; padding-bottom: 18px;
}
/* animated gold data-line under titles */
.section-title::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 72px;
  background: linear-gradient(90deg, var(--gold), rgba(212, 169, 55, 0.1));
}
.section-title::before {
  content: ""; position: absolute; left: 78px; bottom: 0; height: 2px; width: 10px;
  background: var(--steel); opacity: 0.6;
}
.section-lead { color: var(--muted); max-width: 760px; margin-bottom: 48px; font-size: 1.05rem; }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 22px; margin-top: 40px; }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card {
  background: linear-gradient(160deg, var(--panel), rgba(16, 26, 43, 0.55));
  border: 1px solid var(--line);
  padding: 28px 24px; position: relative;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 169, 55, 0.35);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(212, 169, 55, 0.08);
}
/* HUD corner brackets */
.hud::before, .hud::after {
  content: ""; position: absolute; width: 14px; height: 14px;
  border-color: var(--gold-line); border-style: solid; border-width: 0;
  opacity: 0.55; transition: width 0.3s var(--ease), height 0.3s var(--ease), opacity 0.3s var(--ease);
  pointer-events: none;
}
.hud::before { top: -1px; left: -1px; border-top-width: 2px; border-left-width: 2px; }
.hud::after { bottom: -1px; right: -1px; border-bottom-width: 2px; border-right-width: 2px; }
.hud:hover::before, .hud:hover::after { width: 26px; height: 26px; opacity: 1; }

.card h3 { font-size: 1.05rem; margin: 10px 0 8px; color: var(--silver); }
.card p { color: var(--muted); font-size: 0.93rem; }
.card-icon { width: 42px; height: 42px; color: var(--gold); margin-bottom: 8px; }
.card-icon svg { width: 100%; height: 100%; }
.card-index {
  font: 600 0.68rem var(--font-mono); letter-spacing: 0.2em;
  color: var(--steel); opacity: 0.7;
}
.card.slim { display: flex; gap: 14px; align-items: flex-start; padding: 22px; }
.card.slim p { color: var(--silver); font-size: 0.95rem; }
.tick { color: var(--gold); font-weight: 700; font-size: 1.05rem; line-height: 1.5; }

/* stagger grouped cards */
.card-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.card-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.card-grid .reveal:nth-child(4) { transition-delay: 0.3s; }
.card-grid .reveal:nth-child(5) { transition-delay: 0.4s; }
.card-grid .reveal:nth-child(6) { transition-delay: 0.5s; }

/* ---------- Services ---------- */
.service-rows { display: flex; flex-direction: column; gap: 56px; margin-top: 50px; }
.service-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center;
}
.service-row.rev .service-photo { order: 2; }
.service-photo {
  position: relative; overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(140deg, var(--panel-2), var(--panel));
  aspect-ratio: 16 / 10;
  clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px);
}
.service-photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.85) brightness(0.88);
  transition: transform 0.6s var(--ease);
}
/* scanline texture over photos */
.service-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(7, 11, 18, 0.14) 0 2px, transparent 2px 5px);
  mix-blend-mode: multiply;
}
.photo-tag {
  position: absolute; left: 16px; bottom: 12px; z-index: 2;
  font: 600 0.65rem var(--font-mono); letter-spacing: 0.2em;
  color: rgba(233, 238, 246, 0.85);
  background: rgba(7, 11, 18, 0.65); padding: 5px 10px;
  border-left: 2px solid var(--gold);
}
.service-row:hover .service-photo img { transform: scale(1.035); }
.svc-index {
  font: 600 0.7rem var(--font-mono); letter-spacing: 0.24em;
  color: var(--gold); margin-bottom: 10px;
}
.service-text h3 { font-size: 1.35rem; color: var(--silver); margin-bottom: 14px; }
.service-text p { color: var(--muted); }
.service-note {
  margin-top: 56px; padding: 20px 26px;
  border-left: 3px solid var(--gold); background: var(--gold-soft);
  color: var(--silver); font-size: 0.95rem;
  max-width: 760px;
}

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin-top: 50px; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 23px; top: 10px; bottom: 10px;
  width: 1px; background: linear-gradient(var(--gold), var(--line));
}
.tl-step { display: flex; gap: 26px; padding: 22px 0; position: relative; }
.tl-num {
  flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--panel); border: 1px solid var(--gold-line);
  color: var(--gold); font: 600 1rem var(--font-mono);
  position: relative; z-index: 1;
}
/* pulse ring on timeline nodes */
.tl-num::after {
  content: ""; position: absolute; inset: -1px; border-radius: 50%;
  border: 1px solid var(--gold-line); opacity: 0;
}
.tl-step.in .tl-num::after { animation: ripple 2.6s ease-out infinite; }
@keyframes ripple {
  0% { transform: scale(1); opacity: 0.7; }
  70%, 100% { transform: scale(1.65); opacity: 0; }
}
.tl-step h3 { font-size: 1.1rem; color: var(--silver); margin-bottom: 6px; }
.tl-step p { color: var(--muted); max-width: 620px; }

.video-slot {
  margin-top: 60px; overflow: hidden; border: 1px solid var(--line);
  clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px);
}
.video-slot video { width: 100%; display: block; }

/* ---------- Parallax band ---------- */
.parallax-band { position: relative; height: 340px; overflow: hidden; }
.parallax-img {
  position: absolute; inset: -20% 0;
  background: url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1800&q=60") center / cover no-repeat,
              linear-gradient(140deg, #0d1930, #070b12);
  will-change: transform;
}
.parallax-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: saturate(0.7) brightness(0.85);
}
@media (prefers-reduced-motion: reduce) {
  .parallax-video { display: none; }
}
.parallax-overlay {
  position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 18px;
  background:
    repeating-linear-gradient(180deg, rgba(7, 11, 18, 0.1) 0 2px, transparent 2px 5px),
    rgba(7, 11, 18, 0.74);
}
.parallax-coords {
  font: 600 0.68rem var(--font-mono); letter-spacing: 0.26em;
  color: var(--gold); opacity: 0.75;
}
.parallax-quote {
  font-family: var(--font-head); font-size: clamp(1.15rem, 2.6vw, 1.7rem);
  color: var(--silver); max-width: 720px; text-align: center; padding: 0 6%;
}

/* ---------- Counters ---------- */
.counters {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  margin: 40px 0 20px; text-align: center;
}
.counter {
  padding: 30px 16px; border: 1px solid var(--line); position: relative;
  background: linear-gradient(160deg, var(--panel), rgba(16, 26, 43, 0.5));
}
.counter::before, .counter::after {
  content: ""; position: absolute; width: 12px; height: 12px;
  border-color: var(--gold-line); border-style: solid; border-width: 0; opacity: 0.6;
}
.counter::before { top: -1px; left: -1px; border-top-width: 2px; border-left-width: 2px; }
.counter::after { bottom: -1px; right: -1px; border-bottom-width: 2px; border-right-width: 2px; }
.counter-num, .counter-plus {
  font: 600 2.5rem var(--font-mono); color: var(--gold);
  text-shadow: 0 0 24px rgba(212, 169, 55, 0.35);
}
.counter p {
  color: var(--muted); font: 600 0.72rem var(--font-mono);
  letter-spacing: 0.18em; text-transform: uppercase; margin-top: 8px;
}

/* ---------- Case cards ---------- */
.case-file {
  font: 600 0.66rem var(--font-mono); letter-spacing: 0.16em;
  color: var(--steel); opacity: 0.8; margin-bottom: 14px;
  padding-bottom: 12px; border-bottom: 1px dashed var(--line);
}
.case-status { color: var(--gold); }
.case-tag { color: var(--gold); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 12px; }
.case-body { margin-bottom: 14px; }
.case-outcome { color: var(--silver) !important; font-weight: 500; border-top: 1px solid var(--line); padding-top: 12px; }
.fineprint { color: var(--muted); font-size: 0.8rem; opacity: 0.75; margin-top: 30px; }

/* ---------- Team ---------- */
.team-card { text-align: center; }
.avatar-wrap { position: relative; width: 104px; height: 104px; margin: 0 auto 10px; }
.avatar-wrap::before {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 1px dashed rgba(127, 163, 204, 0.4);
  transition: transform 8s linear;
}
.team-card:hover .avatar-wrap::before { transform: rotate(180deg); border-color: var(--gold-line); }
.avatar {
  width: 100%; height: 100%; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--panel-2), #1a2c4a);
  border: 1px solid rgba(127, 163, 204, 0.4);
  color: var(--steel); font: 600 1.6rem var(--font-mono);
}
img.avatar { object-fit: cover; }
.team-cred { color: var(--gold) !important; font: 600 0.72rem var(--font-mono) !important; letter-spacing: 0.12em; margin-bottom: 4px; }

/* ---------- FAQ ---------- */
.accordion { margin-top: 36px; display: flex; flex-direction: column; gap: 12px; counter-reset: faq; }
.acc-item {
  background: linear-gradient(160deg, var(--panel), rgba(16, 26, 43, 0.55));
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.3s var(--ease);
}
.acc-item[open] { border-color: rgba(212, 169, 55, 0.3); }
.acc-item summary {
  cursor: pointer; list-style: none; padding: 20px 52px 20px 24px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--silver);
  position: relative; counter-increment: faq;
}
.acc-item summary::before {
  content: "Q." counter(faq, decimal-leading-zero) " ";
  font: 600 0.75rem var(--font-mono); color: var(--gold);
  letter-spacing: 0.1em; margin-right: 10px;
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%;
  transform: translateY(-50%); color: var(--gold); font: 400 1.3rem var(--font-mono);
  transition: transform 0.3s var(--ease);
}
.acc-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.acc-item p { padding: 0 24px 22px; color: var(--muted); font-size: 0.95rem; }

/* ---------- Contact ---------- */
.section-contact {
  background:
    radial-gradient(800px 400px at 50% 0%, var(--navy-glow), transparent 70%),
    var(--bg-2);
  border-top: 1px solid var(--line);
}
.contact-form {
  margin-top: 20px; display: flex; flex-direction: column; gap: 18px;
  border: 1px solid var(--line); padding: 34px 32px;
  background: linear-gradient(160deg, rgba(16, 26, 43, 0.7), rgba(11, 18, 32, 0.7));
  position: relative;
}
.form-head {
  display: flex; align-items: center; gap: 9px;
  font: 600 0.68rem var(--font-mono); letter-spacing: 0.22em;
  color: var(--steel); margin-bottom: 4px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: flex; flex-direction: column; gap: 7px; font-size: 0.88rem; color: var(--silver); font-weight: 500; }
.contact-form input, .contact-form textarea {
  background: rgba(7, 11, 18, 0.6); border: 1px solid var(--line);
  padding: 13px 15px; color: var(--ink); font: 400 0.98rem var(--font-body);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 169, 55, 0.12);
}
.form-micro { color: var(--muted); font-size: 0.82rem; text-align: center; opacity: 0.85; }
.form-status { text-align: center; color: var(--gold); font: 400 0.85rem var(--font-mono); min-height: 1.4em; }

/* ---------- Footer ---------- */
.footer { background: #05080d; border-top: 1px solid var(--line); padding: 60px 0 30px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-logo {
  height: 110px; width: auto;
  border: 1px solid var(--line);
  box-shadow: 0 0 0 1px rgba(212, 169, 55, 0.08), 0 10px 30px rgba(0, 0, 0, 0.4);
}
.footer-tag { color: var(--muted); font: 600 0.7rem var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; margin-top: 10px; }
.footer-cols { display: flex; gap: 70px; flex-wrap: wrap; }
.footer h4 {
  color: var(--silver); font: 600 0.72rem var(--font-mono); text-transform: uppercase;
  letter-spacing: 0.2em; margin-bottom: 12px;
}
.footer p { color: var(--muted); font-size: 0.88rem; margin-bottom: 6px; }
.footer a:hover { color: var(--ink); }
.footer-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line);
}
.footer-bottom p { color: var(--muted); font-size: 0.78rem; opacity: 0.75; margin-bottom: 8px; }
.footer-meta .mono { color: var(--steel); font-size: 0.7rem; letter-spacing: 0.12em; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-emblem { display: none; }
}
@media (max-width: 960px) {
  .card-grid.four { grid-template-columns: repeat(2, 1fr); }
  .card-grid.three { grid-template-columns: repeat(2, 1fr); }
  .service-row { grid-template-columns: 1fr; gap: 24px; }
  .service-row.rev .service-photo { order: 0; }
  .counters { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .section { padding: 76px 0; }
  .card-grid.four, .card-grid.three { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 26px 20px; }
  .nav-burger { display: block; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 84vw);
    flex-direction: column; align-items: flex-start; gap: 8px;
    background: rgba(7, 11, 18, 0.97); backdrop-filter: blur(16px);
    padding: 90px 34px 34px;
    transform: translateX(100%); transition: transform 0.35s var(--ease);
    z-index: 99;
  }
  .nav-links a { font-size: 1.1rem; padding: 10px 0; }
  .nav-links.open { transform: none; }
  .nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-burger.open span:nth-child(2) { opacity: 0; }
  .nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero-hud { display: none; }
  .footer-logo { height: 84px; }
}

/* ---------- Agencies Section ---------- */
.agencies-section {
  padding-block: 80px;
}
.agency-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.agency-card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 20px;
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 2;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.agency-card img {
  max-height: 50px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) brightness(0.9) contrast(1.1);
  opacity: 0.65;
  transition: filter 0.3s var(--ease), opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.agency-card:hover {
  border-color: rgba(212, 169, 55, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.agency-card:hover img {
  filter: grayscale(0) brightness(1);
  opacity: 1;
  transform: scale(1.04);
}
@media (max-width: 600px) {
  .agency-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
