/* ==========================================================================
   Gauteng Metrology Services — Design System
   ========================================================================== */

:root {
  --navy-950: #060f1e;
  --navy-900: #0b1f3a;
  --navy-800: #122a4a;
  --navy-700: #1a3a63;
  --navy-600: #24507f;
  --red-600: #c40000;
  --red-500: #fe0002;
  --red-400: #ff4d4d;
  --red-300: #ff8a80;
  --amber-400: #f5a623;
  --amber-300: #ffc45c;
  --slate-100: #f3f6fa;
  --slate-200: #e7ecf3;
  --slate-400: #9aa8bd;
  --slate-500: #6b7a91;
  --slate-600: #4a5a71;
  --white: #ffffff;

  --font-head: 'Space Grotesk', 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container: 1180px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow-soft: 0 20px 50px -20px rgba(11, 31, 58, .25);
  --shadow-lift: 0 30px 70px -25px rgba(11, 31, 58, .4);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--navy-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--navy-900);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-600);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--amber-400);
  display: inline-block;
}

.section {
  padding: 108px 0;
  position: relative;
}
.section-tight { padding: 72px 0; }

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 16px; }
.section-head p { color: var(--slate-600); font-size: 1.05rem; }

.section-dark {
  background: var(--navy-900);
  color: var(--slate-200);
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark .section-head p { color: var(--slate-400); }

.section-alt { background: var(--slate-100); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s ease, color .3s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--red-400), var(--red-500));
  color: var(--navy-950);
  box-shadow: 0 12px 30px -10px rgba(254, 0, 2, .45);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -12px rgba(254, 0, 2, .55); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.35);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }

.btn-dark {
  background: var(--navy-900);
  color: var(--white);
}
.btn-dark:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--navy-700);
  color: var(--navy-900);
}
.btn-outline:hover { background: var(--navy-900); color: var(--white); }

.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-icon { transition: transform .35s var(--ease); }
.btn:hover .btn-icon { transform: translateX(4px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s ease;
}
.site-header.scrolled {
  padding: 12px 0;
  background: rgba(6, 15, 30, .82);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -15px rgba(0,0,0,.5);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--white);
  flex-shrink: 0;
}
.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 6px;
  padding: 2px 3px;
  flex-shrink: 0;
}
.brand-mark img {
  display: block;
  width: 68px;
  height: 40px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; white-space: nowrap; }
.brand-text small {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red-400);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  color: var(--slate-200);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 10px 13px;
  border-radius: 999px;
  transition: background .3s ease, color .3s ease;
  position: relative;
  white-space: nowrap;
}
.nav-links a:hover { background: rgba(255,255,255,.08); color: var(--white); }
.nav-links a.active { color: var(--navy-950); background: var(--red-500); }

.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy-950);
  overflow: hidden;
  padding-top: 100px;
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 77, 77, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 77, 77, .06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 60% 40%, black 40%, transparent 90%);
}
.hero-glow {
  position: absolute;
  width: 700px; height: 700px;
  top: -200px; right: -200px;
  background: radial-gradient(circle, rgba(254,0,2,.22), transparent 65%);
  filter: blur(10px);
  animation: drift 14s ease-in-out infinite alternate;
}
.hero-glow.two {
  top: auto; bottom: -260px; right: auto; left: -220px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(245,166,35,.18), transparent 65%);
  animation-duration: 18s;
}
@keyframes drift {
  from { transform: translate(0,0) scale(1); }
  to { transform: translate(-40px, 40px) scale(1.08); }
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 60px 0 100px;
}
.hero-copy .eyebrow { color: var(--red-400); }
.hero-copy h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  margin-bottom: 22px;
}
.hero-copy h1 .accent {
  background: linear-gradient(120deg, var(--red-300), var(--red-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy p {
  color: var(--slate-400);
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-trust {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-trust div { display: flex; flex-direction: column; }
.hero-trust strong {
  font-family: var(--font-head);
  font-size: 1.7rem;
  color: var(--white);
}
.hero-trust span { color: var(--slate-500); font-size: 0.82rem; }

/* Gauge illustration */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gauge-card {
  position: relative;
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.01));
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(6px);
  animation: floaty 6s ease-in-out infinite;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.gauge-card img.rounded {
  border-radius: var(--radius-lg);
}
@keyframes floaty {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-14px); }
}
.gauge-needle {
  transform-origin: 150px 150px;
  animation: sweep 4s ease-in-out infinite;
}
@keyframes sweep {
  0%, 100% { transform: rotate(-55deg); }
  50% { transform: rotate(55deg); }
}
.gauge-tick { stroke: rgba(148, 178, 200, .5); }
.orbit-dot {
  animation: orbit 10s linear infinite;
  transform-origin: 150px 150px;
}
.orbit-dot.rev { animation-direction: reverse; animation-duration: 16s; }
@keyframes orbit { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.float-chip {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-lift);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-900);
  animation: floaty 7s ease-in-out infinite;
}
.float-chip.chip-1 { top: 8%; left: -6%; animation-delay: .5s; }
.float-chip.chip-2 { bottom: 4%; right: -8%; animation-delay: 1.4s; }
.float-chip .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red-500); box-shadow: 0 0 0 4px rgba(254,0,2,.2); }

.scroll-cue {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  gap: 8px;
  color: var(--slate-500);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
}
.scroll-cue .line {
  width: 1px; height: 36px;
  background: linear-gradient(var(--red-500), transparent);
  animation: scrolldown 2s ease-in-out infinite;
}
@keyframes scrolldown {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ---------- Page (interior) hero ---------- */
.page-hero {
  background: var(--navy-950);
  padding: 168px 0 96px;
  position: relative;
  overflow: hidden;
}
.page-hero .eyebrow { color: var(--red-400); }
.page-hero h1 { color: var(--white); font-size: clamp(2.1rem, 4vw, 3rem); margin-bottom: 18px; }
.page-hero p { color: var(--slate-400); font-size: 1.05rem; max-width: 620px; }
.page-hero-breadcrumb {
  display: flex; gap: 8px; align-items: center;
  color: var(--slate-500); font-size: 0.85rem; margin-bottom: 24px;
}
.page-hero-breadcrumb a:hover { color: var(--red-400); }
.page-hero-breadcrumb span { color: var(--red-400); }

/* ---------- Cards: services / products ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 34px;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s ease;
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lift);
  border-color: transparent;
}
.card-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  transition: transform .45s var(--ease);
}
.card:hover .card-icon { transform: scale(1.08) rotate(-4deg); }
.card-icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--slate-600); font-size: 0.95rem; }
.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px; font-weight: 600; font-size: 0.88rem; color: var(--navy-900);
}
.card-link svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform .3s var(--ease); }
.card:hover .card-link svg,
.product-card:hover .card-link svg { transform: translateX(4px); }

/* Service detail rows */
.service-row {
  display: grid;
  grid-template-columns: 48px 64px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--slate-200);
}
.service-row:first-child { padding-top: 0; }
.service-num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  color: var(--slate-200);
  font-weight: 700;
  transition: color .4s ease;
}
.service-row:hover .service-num { color: var(--red-600); }
.service-row-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: var(--slate-100);
  display: flex; align-items: center; justify-content: center;
  transition: background .4s ease, transform .4s var(--ease);
}
.service-row:hover .service-row-icon { background: var(--navy-900); transform: rotate(-6deg); }
.service-row-icon svg { width: 30px; height: 30px; color: var(--navy-900); transition: color .3s ease; }
.service-row:hover .service-row-icon svg { color: var(--red-400); }
.service-body { min-width: 0; }
.service-body h3 { font-size: 1.3rem; margin-bottom: 8px; }
.service-body p { color: var(--slate-600); max-width: 620px; }
.service-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.service-tags span {
  font-size: 0.72rem; font-weight: 600; letter-spacing: .04em;
  padding: 5px 12px; border-radius: 999px;
  background: var(--slate-100); color: var(--slate-600);
}
.service-row-cta { justify-self: end; }
.service-arrow {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--slate-200);
  display: flex; align-items: center; justify-content: center;
  transition: all .4s var(--ease);
}
.service-row:hover .service-arrow {
  background: var(--red-500); border-color: var(--red-500); transform: rotate(45deg);
}
.service-arrow svg { width: 18px; height: 18px; }

/* Product cards */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); }
.product-media {
  height: 150px;
  background: linear-gradient(150deg, var(--navy-900), var(--navy-700));
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-media svg { width: 72px; height: 72px; position: relative; z-index: 1; }
.product-media::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 22px 22px;
}
.product-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--amber-400); color: var(--navy-950);
  font-size: 0.68rem; font-weight: 700; letter-spacing: .04em;
  padding: 5px 12px; border-radius: 999px;
}
.product-body { padding: 18px 20px 20px; }
.product-cat { font-size: 0.68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red-600); margin-bottom: 6px; }
.product-body h3 { font-size: 1rem; margin-bottom: 6px; }
.product-body p { color: var(--slate-600); font-size: 0.9rem; margin-bottom: 18px; }
.product-foot { display: flex; align-items: center; justify-content: space-between; }
.product-spec { font-size: 0.8rem; color: var(--slate-500); }

/* Stats */
.stats-strip {
  background: var(--navy-900);
  border-radius: var(--radius-lg);
  padding: 52px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  overflow: hidden;
}
.stat { text-align: center; }
.stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(2rem, 3vw, 2.6rem);
  color: var(--white);
  margin-bottom: 6px;
}
.stat span { color: var(--slate-400); font-size: 0.85rem; }

/* Process steps */
.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process-track::before {
  content: '';
  position: absolute; top: 28px; left: 8%; right: 8%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--slate-200) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.process-step { position: relative; z-index: 1; }
.process-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--navy-900);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; color: var(--navy-900);
  margin-bottom: 20px;
  transition: background .3s ease, color .3s ease;
}
.process-step:hover .process-num { background: var(--navy-900); color: var(--red-400); }
.process-step h4 { font-size: 1.02rem; margin-bottom: 8px; }
.process-step p { color: var(--slate-600); font-size: 0.9rem; }

/* Accreditation strip */
.accred-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 28px 0;
}
.accred-item {
  display: flex; align-items: center; gap: 12px;
  color: var(--slate-500); font-weight: 600; font-size: 0.9rem;
}
.accred-item svg { width: 26px; height: 26px; color: var(--slate-400); }

/* CTA banner */
.cta-banner {
  background: linear-gradient(120deg, var(--navy-950), var(--navy-800));
  border-radius: var(--radius-lg);
  padding: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: '';
  position: absolute; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(254,0,2,.2), transparent 65%);
  right: -120px; top: -160px;
}
.cta-banner h2 { color: var(--white); font-size: clamp(1.6rem, 2.6vw, 2.2rem); max-width: 480px; position: relative; z-index: 1; }
.cta-banner p { color: var(--slate-400); margin-top: 12px; max-width: 460px; position: relative; z-index: 1; }
.cta-actions { display: flex; gap: 16px; position: relative; z-index: 1; flex-shrink: 0; flex-wrap: wrap; }

/* Contact section */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.contact-intro h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 16px; }
.contact-intro p { color: var(--slate-600); font-size: 1.02rem; max-width: 440px; }
.contact-info {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-info-item svg {
  width: 22px; height: 22px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--red-500);
}
.contact-info-item strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 3px;
}
.contact-info-item span { font-weight: 600; color: var(--navy-900); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-soft);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-800);
}
.form-field .req { color: var(--red-500); }
.form-field input, .form-field textarea {
  border: 1.5px solid var(--slate-200);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--navy-900);
  background: var(--white);
  transition: border-color .3s ease, box-shadow .3s ease;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--red-400);
  box-shadow: 0 0 0 3px rgba(254,0,2,.12);
}
.form-field textarea { resize: vertical; min-height: 110px; }

.cf-turnstile-placeholder {
  min-height: 65px;
  display: flex;
  align-items: center;
  border: 1px dashed var(--slate-200);
  border-radius: 10px;
  padding: 8px 14px;
}
.cf-turnstile-placeholder-text {
  font-size: 0.82rem;
  color: var(--slate-500);
  line-height: 1.4;
}

.form-status {
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 0;
}
.form-status:not(:empty) { margin-bottom: 16px; }
.form-status.success { color: #16794f; }
.form-status.error { color: var(--red-600); }

.form-submit { width: 100%; justify-content: center; }
.form-submit[disabled] { opacity: 0.6; cursor: not-allowed; }
.form-submit[disabled]:hover { transform: none; box-shadow: none; }

/* Customer logos */
.logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.logo-chip {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.logo-chip img {
  height: 28px;
  width: auto;
  max-width: 108px;
  object-fit: contain;
  filter: grayscale(1) opacity(.7);
  transition: filter .25s var(--ease);
}
.logo-chip:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}
.logo-chip:hover img {
  filter: grayscale(0) opacity(1);
}
.logo-chip--dark {
  background: var(--navy-900);
  border-color: var(--navy-800);
}
.logo-chip--dark img {
  filter: opacity(.85);
}
.logo-chip--dark:hover img {
  filter: opacity(1);
}
.logo-chip:hover span { color: var(--navy-800); }

/* Filter tabs (products page) */
.filter-row {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px;
}
.filter-btn {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--slate-200);
  background: var(--white);
  font-weight: 600; font-size: 0.85rem;
  color: var(--slate-600);
  cursor: pointer;
  transition: all .3s var(--ease);
}
.filter-btn:hover { border-color: var(--navy-700); color: var(--navy-900); }
.filter-btn.active { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: var(--slate-400);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .brand { color: var(--white); margin-bottom: 16px; }
.footer-brand p { max-width: 300px; font-size: 0.9rem; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
  transition: background .3s ease, transform .3s ease;
}
.footer-social a:hover { background: var(--red-500); color: var(--navy-950); transform: translateY(-3px); }
.footer-social svg { width: 16px; height: 16px; }
.footer-col h4 { color: var(--white); font-size: 0.9rem; margin-bottom: 20px; letter-spacing: .04em; text-transform: uppercase; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { font-size: 0.9rem; transition: color .3s ease, padding-left .3s ease; }
.footer-col ul li a:hover { color: var(--red-400); padding-left: 4px; }
.footer-col .contact-line { display: flex; gap: 10px; font-size: 0.9rem; margin-bottom: 14px; align-items: flex-start; }
.footer-col .contact-line svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--red-400); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; font-size: 0.82rem; flex-wrap: wrap; gap: 12px;
}
.footer-bottom a:hover { color: var(--red-400); }

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal="fade"] { transform: none; }
[data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal-delay="2"] { transition-delay: .2s; }
[data-reveal-delay="3"] { transition-delay: .3s; }
[data-reveal-delay="4"] { transition-delay: .4s; }

.reveal-stagger > * { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .1s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .2s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .3s; }
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 420px; margin: 0 auto; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .process-track { grid-template-columns: repeat(2, 1fr); }
  .process-track::before { display: none; }
  .service-row { grid-template-columns: 36px 48px 1fr auto; }
  .cta-banner { flex-direction: column; text-align: center; align-items: flex-start; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .brand-mark img { width: 54px; height: 32px; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr 1fr; padding: 40px 24px; }
  .cta-banner { padding: 40px 28px; }
  .section { padding: 76px 0; }
  .contact-form { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  body.nav-open .mobile-nav { transform: translateX(0); }
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(320px, 84vw);
  background: var(--navy-950);
  z-index: 1100;
  transform: translateX(100%);
  transition: transform .45s var(--ease);
  padding: 100px 32px 40px;
  display: flex; flex-direction: column; gap: 8px;
  box-shadow: -20px 0 60px rgba(0,0,0,.4);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  color: var(--slate-200); font-size: 1.05rem; font-weight: 600;
  padding: 14px 8px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-nav a.active { color: var(--red-400); }
.nav-scrim {
  position: fixed; inset: 0; background: rgba(0,0,0,.5);
  z-index: 1050; opacity: 0; pointer-events: none; transition: opacity .4s ease;
}
.nav-scrim.open { opacity: 1; pointer-events: auto; }
