/* ============================================================
   AÉRO-DG Solutions — Master Design System v4.1
   Milestone 4: CSS Custom Properties + Reset + Typography
   ============================================================ */

/* ── M4.1.3: Google Fonts — Bebas Neue + Playfair Display + Instrument Sans ── */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Playfair+Display:ital,wght@0,900;1,400;1,700;1,900&family=Instrument+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300&family=Montserrat:wght@400;500;600;700;800;900&family=Open+Sans:wght@400;500;600;700&display=swap');

html, body {
  scroll-behavior: smooth;
}

:root {
  /* ── M4.1.1 Colour Scale ──────────────────────────────── */
  --amber-300: #F2C96A;
  --amber-400: #E8991A;
  --amber-500: #C8751C;
  --amber-600: #9A5712;
  --amber-700: #6B3708;

  --slate-50:  #EDE5CC;
  --slate-100: #C8BEA5;
  --slate-200: #9A9080;
  --slate-300: #6B6258;
  --slate-400: #3D382F;
  --slate-500: #332E26;
  --slate-600: #27231C;
  --slate-700: #1D1A15;
  --slate-800: #151310;
  --slate-900: #0E0D0B;
  --slate-950: #080706;

  /* Theme Direct Tokens */
  --black:    #080706;
  --black2:   #0E0D0B;
  --black3:   #151310;
  --black4:   #1D1A15;
  --black5:   #27231C;
  --black6:   #332E26;

  --amber-hi: #E8991A;
  --amber-lo: #9A5712;
  --amber-xl: #F2C96A;

  --chalk:    #EDE5CC;
  --chalk2:   #C8BEA5;
  --chalk3:   #9A9080;
  --chalk4:   #6B6258;
  --chalk5:   #3D382F;

  --bd:       rgba(237,229,204,.08);
  --bd2:      rgba(237,229,204,.13);
  --bd3:      rgba(237,229,204,.20);
  --bd-amb:   rgba(200,117,28,.30);

  /* ── M4.1.2 Semantic Tokens ───────────────────────────── */
  --color-primary:  #080706; /* Deep black */
  --color-bg:       #080706; /* Warm black */
  --color-surface:  #0E0D0B; /* Deep charcoal */
  --color-surface2: #151310; /* Card surface */
  --color-text:     #EDE5CC; /* Chalk text */
  --color-muted:    #9A9080; /* Muted chalk */
  --color-border:   rgba(237, 229, 204, 0.08); /* Transparent chalk */
  --color-success:  #22C55E;
  --color-danger:   #EF4444;
  --color-warning:  var(--amber-500);

  /* Legacy aliases (backward compat) */
  --navy:       #080706;
  --navy-light: #0E0D0B;
  --slate:      #9A9080;
  --amber:      var(--amber-500);
  --amber-dark: var(--amber-600);
  --white:      #EDE5CC;
  --gray-50:    var(--slate-50);
  --gray-100:   var(--slate-100);
  --gray-400:   var(--slate-400);
  --gray-700:   var(--slate-600);
  --success:    var(--color-success);
  --danger:     var(--color-danger);

  /* ── M4.1.3 Typography ────────────────────────────────── */
  --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-heading: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-body:    'Instrument Sans', system-ui, sans-serif;
  --font-serif:   'Playfair Display', Georgia, serif;

  /* Legacy */
  --font-head: var(--font-heading);

  /* ── M4.1.4 Font Scale ────────────────────────────────── */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;
  --text-7xl:  4.5rem;

  /* ── M4.1.5 Spacing Scale ─────────────────────────────── */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* ── M4.1.6 Border Radii ──────────────────────────────── */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  /* ── M4.1.7 Shadows (clean corporate) ───────────────────── */
  --shadow-sm:   0 1px 3px rgba(15,23,42,.08), 0 1px 2px rgba(15,23,42,.04);
  --shadow-md:   0 4px 16px rgba(15,23,42,.10), 0 2px 6px rgba(15,23,42,.05);
  --shadow-lg:   0 10px 32px rgba(15,23,42,.12), 0 4px 12px rgba(15,23,42,.06);
  --shadow-xl:   0 20px 48px rgba(15,23,42,.14), 0 8px 20px rgba(15,23,42,.08);
  --shadow-2xl:  0 32px 72px rgba(15,23,42,.18), 0 12px 28px rgba(15,23,42,.10);
  --shadow-amber:0 8px 32px rgba(200, 117, 28,.25);
  --glow-amber:  0 0 24px rgba(200, 117, 28,.35);
  --shadow-corporate: 0 10px 40px rgba(15, 23, 42, 0.08); /* Hybrid pure soft shadow */

  /* ── M4.1.8 Transitions ───────────────────────────────── */
  --t-fast:   150ms ease-out;
  --t-base:   300ms ease-out;
  --t-slow:   500ms ease-out;
  --t-smooth: 400ms cubic-bezier(0.16,1,0.3,1);
  --t-spring: 600ms cubic-bezier(0.34,1.56,0.64,1);

  /* ── M4.1.9 Z-Index Scale ─────────────────────────────── */
  --z-base:  1;
  --z-nav:   100;
  --z-chat:  200;
  --z-modal: 300;
  --z-toast: 400;
}

/* ── M4.2 Reset + Base ───────────────────────────────────── */
/* 4.2.1 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* 4.2.2 */
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  tab-size: 4;
}

/* 4.2.3 */
body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Grain overlay */
body::before {
  content: '';
  position: fixed; inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: .38;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)' opacity='.065'/%3E%3C/svg%3E");
}

/* Hybrid Phase 1 Texture Utilities */
.texture-hazard {
  background-image: repeating-linear-gradient(45deg, rgba(15, 23, 42, 0.03) 0, rgba(15, 23, 42, 0.03) 10px, transparent 10px, transparent 20px);
}
.texture-blueprint {
  background-image: linear-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 23, 42, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
}
/* Scoped to NOT affect card-fan full-page cards */
:not(.card-fan-wrapper) > .card, .card-hybrid {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-corporate);
  border: 1px solid rgba(15, 23, 42, 0.05);
  color: var(--color-text);
  padding: 2rem;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
:not(.card-fan-wrapper) > .card:hover, .card-hybrid:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* 4.2.4 */
img, video, picture, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* 4.2.5 */
a { color: inherit; text-decoration: none; }

/* 4.2.6 */
ul, ol { list-style: none; }

/* 4.2.7 */
button { cursor: pointer; border: none; background: none; font: inherit; }

/* 4.2.8 */
input, textarea, select { font: inherit; }

/* Misc base */
table { border-collapse: collapse; }
strong { font-weight: 700; }
em { font-style: italic; }
hr { border: none; border-top: 1px solid var(--color-border); }

/* ── M4.3 Typography ─────────────────────────────────────── */
/* 4.3.1 — h1: Bebas Neue display font */
h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.0;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 400; /* Bebas Neue is inherently bold */
}

/* 4.3.2 — h2: Bebas Neue */
h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-weight: 400;
}

/* 4.3.3 — h3 */
h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 2rem);
  line-height: 1.2;
  text-transform: uppercase;
  font-weight: 400;
}

/* 4.3.4 — h4–h6 */
h4 {
  font-family: var(--font-body);
  font-size: var(--text-xl);
  line-height: 1.3;
  font-weight: 700;
}
h5 {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 600;
}
h6 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
}

/* 4.3.5 — Eyebrow label */
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber-500);
  display: inline-block;
  margin-bottom: var(--space-3);
}

/* 4.3.6 — Lead paragraph */
.lead {
  font-size: var(--text-xl);
  font-weight: 300;
  color: var(--color-muted);
  line-height: 1.65;
}

/* 4.3.7 — Body paragraphs */
p {
  line-height: 1.7;
  max-width: 65ch;
  color: var(--color-muted);
}
p.full-width { max-width: none; }


/* ── M4.4 Layout ─────────────────────────────────────────── */
/* 4.4.1 */
.container    { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-6); }
/* 4.4.2 */
.container-sm { max-width: 768px;  margin: 0 auto; padding: 0 var(--space-6); }
/* 4.4.3 */
.container-md { max-width: 960px;  margin: 0 auto; padding: 0 var(--space-6); }

/* 4.4.4 */
.section { padding-block: var(--space-24); }
@media (max-width: 768px) { .section { padding-block: var(--space-16); } }

/* Semantic section modifiers */
.section--dark { background: var(--color-surface); }
.section--alt  { background: var(--color-surface2); }
.section--navy { background: var(--color-bg); }

/* 4.4.5 — Grid utilities */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-8); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Auto grid */
.grid-auto-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-8); }
.grid-auto-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-6); }
.grid-auto-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--space-6); }

/* 4.4.6 — Flex utilities */
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col     { display: flex; flex-direction: column; }
.flex-wrap    { display: flex; flex-wrap: wrap; gap: var(--space-4); }

/* Misc layout helpers */
.center       { text-align: center; }
.full-width   { width: 100%; }
.relative     { position: relative; }
.overflow-h   { overflow: hidden; }

/* Section header pattern */
.sec-head           { margin-bottom: var(--space-16); }
.sec-head h2        { color: var(--color-text); margin-bottom: var(--space-3); }
.sec-head p         { color: var(--color-muted); font-size: var(--text-lg); max-width: 560px; }
.sec-head.center p  { margin-inline: auto; }
.sec-head--light h2 { color: var(--white); }
.sec-head--light p  { color: var(--slate-400); }

/* Badge */
.badge {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-xs); font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(200, 117, 28,.12);
  color: var(--amber-500);
  border: 1px solid rgba(200, 117, 28,.3);
}

/* Diagonal dividers */
.divider-down { width:100%; height:60px; clip-path:polygon(0 100%,100% 100%,100% 0); }
.divider-up   { width:100%; height:60px; clip-path:polygon(0 0,100% 100%,0 100%); }

/* ── Utility Bar (Top Bar) ────────────────────────────── */
.utility-bar, .util {
  background: var(--black);
  border-bottom: 1px solid var(--bd);
  padding: 9px 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  font-size: 10.5px;
  letter-spacing: .08em;
  color: var(--chalk4);
  position: relative;
  z-index: 101;
}
.utility-bar a, .util a { color: var(--amber-hi); text-decoration: none; transition: color .15s; }
.utility-bar a:hover, .util a:hover { color: var(--chalk); }
.util-r { display: flex; gap: 22px; align-items: center; }
.cert { display: flex; align-items: center; gap: 8px; color: var(--chalk3); }
.cert-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--amber);
  animation: pulse 2.5s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(200,117,28,.6);
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(200,117,28,.55); }
  50%      { box-shadow: 0 0 0 7px rgba(200,117,28,0); }
}
.util-portal {
  border: 1px solid var(--bd2);
  padding: 4px 14px;
  color: var(--chalk2) !important;
  transition: border-color .15s, color .15s !important;
}
.util-portal:hover { border-color: var(--bd-amb); color: var(--amber-hi) !important; }

/* ── M4.5 Navigation ─────────────────────────────────────── */
.nav, nav {
  position: sticky; top: 0; z-index: 500;
  height: 68px;
  background: rgba(8,7,6,.93);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--bd2);
  padding: 0 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo, .logo { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.nav__logo-mark, .logo-mark {
  font-family: var(--font-display);
  font-size: 27px;
  letter-spacing: .06em;
  color: var(--chalk);
}
.nav__logo-mark em, .logo-mark em { font-style: normal; color: var(--amber); }
.nav__logo-sub, .logo-sub {
  font-family: var(--font-body);
  font-size: 7px; font-weight: 600;
  letter-spacing: .32em; text-transform: uppercase;
  color: var(--chalk4); margin-top: 1px;
}
.nav__links, .nav-links { list-style: none; display: flex; align-items: center; gap: 32px; }
.nav__links a, .nav-links a {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--chalk3); text-decoration: none;
  transition: color .15s;
}
.nav__links a:hover, .nav-links a:hover { color: var(--chalk); }
.nav__links a.active, .nav-links a.active { color: var(--amber) !important; }
.nav-cta, .nav__cta {
  background: var(--amber) !important;
  color: var(--black) !important;
  padding: 8px 22px;
  font-weight: 700 !important;
  letter-spacing: .09em !important;
  transition: background .15s, box-shadow .15s !important;
}
.nav-cta:hover { background: var(--amber-hi) !important; box-shadow: 0 0 28px rgba(200,117,28,.28) !important; }

/* Hamburger */
.hbg { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hbg span { display: block; width: 24px; height: 1.5px; background: var(--chalk); transition: all .2s; }

/* Drawer */
.drawer {
  display: none;
  position: fixed; inset: 0; z-index: 600;
  background: var(--black2);
  flex-direction: column;
  padding: 28px 28px 40px;
}
.drawer.open { display: flex; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 52px; }
.drawer-close { background: none; border: none; font-size: 30px; color: var(--chalk3); cursor: pointer; line-height: 1; }
.drawer-links { list-style: none; flex: 1; display: flex; flex-direction: column; }
.drawer-links li a {
  font-family: var(--font-display);
  font-size: clamp(38px,10vw,52px);
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--chalk3); text-decoration: none;
  display: block; padding: 12px 0;
  border-bottom: 1px solid var(--bd);
  transition: color .15s;
  line-height: 1.1;
}
.drawer-links li a:hover { color: var(--amber); }
.drawer-links li:last-child a { color: var(--amber); border-bottom: none; }
.drawer-foot {
  font-family: var(--font-body); font-size: 11px;
  color: var(--chalk4); line-height: 1.9;
}
.drawer-foot a { color: var(--amber-hi); text-decoration: none; }

/* ── M4.6 Buttons ────────────────────────────────────────── */
/* 4.6.1 — Base */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading); font-weight: 700; font-size: var(--text-sm);
  letter-spacing: 0.04em; text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast),
              border-color var(--t-fast), transform var(--t-fast),
              box-shadow var(--t-fast), opacity var(--t-fast);
  position: relative; overflow: hidden; white-space: nowrap;
  text-decoration: none; user-select: none;
}

/* 4.6.2 — Primary */
.btn-primary {
  background: var(--amber-500); color: var(--navy);
  border-color: var(--amber-500);
}
.btn-primary:hover {
  background: var(--amber-600); border-color: var(--amber-600);
  box-shadow: var(--shadow-amber); transform: translateY(-2px);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: transparent; color: var(--white);
  border: 2px solid var(--color-border);
}
.btn-secondary:hover {
  background: rgba(237, 229, 204, 0.05); border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

/* 4.6.4 — Outline */
.btn-outline {
  background: transparent; color: var(--amber-500);
  border-color: var(--amber-500);
}
.btn-outline:hover {
  background: var(--amber-500); color: var(--navy);
  transform: translateY(-2px); box-shadow: var(--shadow-amber);
}

/* Outline white variant */
.btn-outline-white {
  background: transparent; color: var(--white);
  border-color: rgba(255,255,255,.45);
}
.btn-outline-white:hover {
  border-color: var(--white); background: rgba(255,255,255,.08);
  transform: translateY(-2px);
}

/* 4.6.5 — Ghost */
.btn-ghost {
  background: transparent; color: var(--color-muted); border-color: transparent;
}
.btn-ghost:hover {
  background: rgba(255,255,255,.06); color: var(--color-text);
}

/* Size modifiers */
.btn-sm { padding: 0.5rem 1.1rem; font-size: var(--text-xs); }
.btn-lg { padding: 1rem 2.25rem; font-size: var(--text-base); }
.btn-xl { padding: 1.15rem 2.75rem; font-size: var(--text-lg); }
.btn-full { width: 100%; }

/* 4.6.6 — Disabled */
.btn:disabled, .btn[aria-disabled="true"] {
  opacity: 0.5; cursor: not-allowed;
  transform: none !important; box-shadow: none !important;
}

/* 4.6.7 — Loading state */
.btn.btn-loading { color: transparent; pointer-events: none; }
.btn.btn-loading::after {
  content: '';
  position: absolute; inset: 0; margin: auto;
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: var(--navy);
  border-radius: var(--radius-full);
  animation: spin 0.7s linear infinite;
}
.btn-primary.btn-loading::after { border-top-color: var(--navy); }
.btn-secondary.btn-loading::after { border-top-color: var(--white); }

/* ── Quick Tools (Floating) ────────────────────────── */
.quick-tools {
  position: fixed;
  right: var(--space-4);
  bottom: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  z-index: var(--z-chat);
}
.quick-tool-btn {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--color-surface);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  transition: all var(--t-fast);
  position: relative;
}
.quick-tool-btn:hover {
  background: var(--amber-500);
  color: var(--navy);
  transform: translateX(-5px);
}
.quick-tool-btn::before {
  content: attr(data-label);
  position: absolute;
  right: 60px;
  background: var(--slate-900);
  color: var(--white);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all var(--t-fast);
  box-shadow: var(--shadow-sm);
}
.quick-tool-btn:hover::before {
  opacity: 1;
  visibility: visible;
  right: 55px;
}
@media (max-width: 600px) {
  .quick-tools {
    display: none; /* Hide on small mobile to avoid clutter */
  }
}
/* 4.7.1 — Form group */
.form-group {
  margin-bottom: var(--space-5);
  position: relative;
}

/* 4.7.2 — Label */
.form-group label {
  display: block;
  font-size: var(--text-sm); font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
  letter-spacing: 0.01em;
}
.form-group label .required { color: var(--amber-500); margin-left: 2px; }

/* 4.7.3 — Inputs */
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  font-family: var(--font-body); font-size: var(--text-sm);
  color: var(--color-text);
  background: rgba(255,255,255,.05);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  outline: none;
  appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394A3B8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
  padding-right: 2.5rem; cursor: pointer;
}
.form-group textarea { resize: vertical; min-height: 120px; line-height: 1.6; }

/* 4.7.4 — Focus */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--amber-500);
  box-shadow: 0 0 0 3px rgba(200, 117, 28,.18);
  background: rgba(255,255,255,.08);
}

/* Placeholder */
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--slate-500); }

/* 4.7.5 — Error state */
.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select,
.input-error {
  border-color: var(--color-danger) !important;
  box-shadow: 0 0 0 3px rgba(239,68,68,.15) !important;
}

/* 4.7.6 — Error text */
.error-text, .form-group .error-msg {
  display: block;
  font-size: var(--text-xs); color: var(--color-danger);
  margin-top: var(--space-1);
  animation: fadeInUp 0.2s ease;
}
.form-group .error-msg { display: none; }
.form-group.has-error .error-msg { display: block; }

/* 4.7.7 — Success state */
.input-success,
.form-group.has-success input,
.form-group.has-success textarea {
  border-color: var(--color-success) !important;
  box-shadow: 0 0 0 3px rgba(34,197,94,.15) !important;
}
.form-group.has-success::after {
  content: '✓';
  position: absolute; right: 0.85rem; top: 2.45rem;
  color: var(--color-success); font-weight: 700; font-size: var(--text-base);
  pointer-events: none;
}

/* 4.7.8 — Spinner */
.spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.25);
  border-top-color: currentColor;
  border-radius: var(--radius-full);
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}
.spinner--dark { border-color: rgba(8,7,6,.2); border-top-color: var(--navy); }

/* 4.7.9 — OTP input row */
.otp-inputs {
  display: flex; gap: var(--space-3);
  justify-content: center;
}
.otp-inputs input {
  width: 52px; height: 60px;
  text-align: center;
  font-size: var(--text-2xl); font-weight: 700;
  font-family: var(--font-heading);
  border: 2px solid rgba(255,255,255,.15);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.05);
  color: var(--color-text);
  padding: 0;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-spring);
  caret-color: var(--amber-500);
}
.otp-inputs input:focus {
  border-color: var(--amber-500);
  box-shadow: 0 0 0 3px rgba(200, 117, 28,.2);
  transform: scale(1.06);
}
.otp-inputs input.filled { border-color: var(--amber-400); background: rgba(200, 117, 28,.08); }

/* Form card */
.form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-xl);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 580px) { .form-row { grid-template-columns: 1fr; } }

/* Honeypot — visually hidden but accessible */
.hp-field {
  position: absolute; left: -9999px; top: -9999px;
  width: 1px; height: 1px; overflow: hidden;
  opacity: 0; pointer-events: none;
}

/* Form success / OTP screens */
.form-success { display: none; text-align: center; padding: var(--space-10) var(--space-6); }
.form-success .checkmark { font-size: 3.5rem; margin-bottom: var(--space-4); animation: bounceIn .5s var(--t-spring); }
.form-success h3 { font-family: var(--font-heading); font-size: var(--text-2xl); color: var(--color-success); margin-bottom: var(--space-2); }
.form-success p { color: var(--color-muted); margin-inline: auto; }

.otp-screen { display: none; text-align: center; padding: var(--space-8) var(--space-4); }
.otp-screen h3 { font-family: var(--font-heading); font-size: var(--text-2xl); margin-bottom: var(--space-2); color: var(--color-text); }
.otp-screen p  { color: var(--color-muted); font-size: var(--text-sm); margin-bottom: var(--space-6); margin-inline: auto; }
.otp-resend-timer { font-size: var(--text-sm); color: var(--color-muted); margin-top: var(--space-4); }
.otp-resend-timer button { color: var(--amber-500); font-weight: 600; text-decoration: underline; cursor: pointer; }
.otp-resend-timer button:disabled { color: var(--slate-500); text-decoration: none; cursor: not-allowed; }

@keyframes bounceIn {
  0%   { transform: scale(0.3); opacity: 0; }
  50%  { transform: scale(1.1); }
  70%  { transform: scale(0.95); }
  100% { transform: scale(1); opacity: 1; }
}

/* ── M4.8 Cards + Sections ───────────────────────────────── */

/* 4.8.1 — Base card */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
/* 4.8.2 — Hover lift */
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* 4.8.3 — Service card */
.service-card, .svc-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-top: 4px solid transparent;
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  transition: transform var(--t-base), box-shadow var(--t-base), border-top-color var(--t-base);
}
.service-card:hover, .svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--amber-500);
}
.service-card__icon, .svc-card__icon {
  width: 56px; height: 56px; font-size: 1.75rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(200, 117, 28,.1); border-radius: var(--radius-md);
  margin-bottom: var(--space-5);
}
.service-card h3, .svc-card h3 { color: var(--color-text); margin-bottom: var(--space-3); font-size: var(--text-xl); }
.service-card p, .svc-card p   { color: var(--color-muted); font-size: var(--text-sm); line-height: 1.7; max-width: none; }
.svc-card__link { display: inline-flex; align-items: center; gap: var(--space-2); margin-top: var(--space-4); color: var(--amber-500); font-weight: 600; font-size: var(--text-sm); transition: gap var(--t-fast); }
.svc-card__link:hover { gap: var(--space-3); }

/* 4.8.4 — Stats grid */
.stats-strip { background: var(--amber-500); padding: var(--space-12) 0; }
.stats-grid  { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--space-8); text-align: center; }
.stat-item h3 { font-family: var(--font-display); font-size: clamp(2rem,4vw,3.5rem); color: var(--navy); line-height: 1; }
.stat-item p  { font-size: var(--text-sm); color: var(--navy); opacity: .75; font-weight: 600; margin-top: var(--space-2); max-width: none; }
@media(max-width:768px){ .stats-grid { grid-template-columns: repeat(2,1fr); } }

/* 4.8.5 — Testimonial card */
.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute; top: var(--space-4); left: var(--space-6);
  font-family: var(--font-display); font-size: 5rem; line-height: 1;
  color: var(--amber-500); opacity: .25; pointer-events: none;
}
.testimonial-stars { display: flex; gap: 2px; margin-bottom: var(--space-4); }
.testimonial-stars span { color: var(--amber-400); font-size: var(--text-base); }
.testimonial-card p { font-size: var(--text-base); line-height: 1.75; color: var(--color-text); max-width: none; }
.testimonial-author { display: flex; align-items: center; gap: var(--space-4); margin-top: var(--space-6); }
.testimonial-author img { width: 44px; height: 44px; border-radius: var(--radius-full); object-fit: cover; }
.testimonial-author strong { display: block; color: var(--color-text); font-size: var(--text-sm); }
.testimonial-author span  { color: var(--color-muted); font-size: var(--text-xs); }

/* Slider */
.slider-wrap { position: relative; overflow: hidden; }
.slider-track { display: flex; transition: transform var(--t-slow); }
.slider-track .testimonial-card { flex: 0 0 100%; }
.slider-controls { display: flex; gap: var(--space-3); justify-content: center; margin-top: var(--space-8); }
.slider-btn { width: 40px; height: 40px; border-radius: var(--radius-full); border: 2px solid var(--color-border); background: transparent; color: var(--color-text); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background var(--t-fast), border-color var(--t-fast); }
.slider-btn:hover { background: var(--amber-500); border-color: var(--amber-500); color: var(--navy); }
.slider-dots { display: flex; gap: var(--space-2); justify-content: center; margin-top: var(--space-4); }
.slider-dot { width: 8px; height: 8px; border-radius: var(--radius-full); background: var(--color-border); cursor: pointer; transition: background var(--t-fast), transform var(--t-fast); }
.slider-dot.active { background: var(--amber-500); transform: scale(1.3); }

/* 4.8.6 — Blog card */
.blog-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card__img { aspect-ratio: 16/9; overflow: hidden; }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.blog-card:hover .blog-card__img img { transform: scale(1.05); }
.blog-card__body { padding: var(--space-6); }
.blog-card__meta { display: flex; align-items: center; gap: var(--space-4); margin-bottom: var(--space-3); }
.blog-card__read-time { font-size: var(--text-xs); color: var(--amber-500); font-weight: 700; background: rgba(200, 117, 28,.1); padding: 2px 10px; border-radius: var(--radius-full); }
.blog-card__cat { font-size: var(--text-xs); color: var(--color-muted); text-transform: uppercase; letter-spacing: .08em; }
.blog-card h3 { font-size: var(--text-lg); color: var(--color-text); margin-bottom: var(--space-3); line-height: 1.4; }
.blog-card p  { font-size: var(--text-sm); color: var(--color-muted); max-width: none; }

/* 4.8.7 — Pricing card */
.pricing-card {
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-8);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.pricing-card.featured {
  border-color: var(--amber-500);
  transform: scale(1.03);
  box-shadow: var(--shadow-amber);
  position: relative; z-index: 1;
}
.pricing-card .price { font-family: var(--font-display); font-size: var(--text-6xl); color: var(--color-text); line-height: 1; }
.pricing-card .price span { font-size: var(--text-xl); opacity: .7; }
.pricing-card ul li { display: flex; align-items: flex-start; gap: var(--space-3); padding: var(--space-2) 0; border-bottom: 1px solid var(--color-border); font-size: var(--text-sm); color: var(--color-muted); }
.pricing-card ul li::before { content: '✓'; color: var(--amber-500); font-weight: 800; flex-shrink: 0; }

/* 4.8.8 — FAQ accordion */
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-5) 0; text-align: left;
  font-size: var(--text-base); font-weight: 600; color: var(--color-text);
  background: none; border: none; cursor: pointer;
  transition: color var(--t-fast);
}
.faq-question:hover { color: var(--amber-500); }
.faq-icon { width: 24px; height: 24px; border-radius: var(--radius-full); border: 2px solid var(--color-border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: var(--text-sm); transition: transform var(--t-base), background var(--t-fast), border-color var(--t-fast); }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--amber-500); border-color: var(--amber-500); color: var(--navy); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height var(--t-slow); }
.faq-answer-inner { padding-bottom: var(--space-5); }
.faq-answer p { font-size: var(--text-sm); color: var(--color-muted); line-height: 1.7; max-width: none; }

/* 4.8.9 — Process steps (Consolidated) */
.process-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
  gap: var(--space-8); 
  counter-reset: steps;
}
.process-step { text-align: center; position: relative; }
.process-step:not(:last-child)::after {
  content: ''; position: absolute;
  top: 36px; left: calc(50% + 40px);
  width: calc(100% - 80px); height: 2px;
  background: linear-gradient(90deg, var(--amber-500), transparent);
}
.process-step__num {
  width: 72px; height: 72px; border-radius: var(--radius-full);
  background: var(--amber-500); color: var(--navy);
  font-family: var(--font-display); font-size: var(--text-3xl); font-weight: 400;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--space-5); box-shadow: var(--shadow-amber);
}
.process-step h3 { font-size: var(--text-base); color: var(--color-text); margin-bottom: var(--space-2); }
.process-step p  { font-size: var(--text-sm); color: var(--color-muted); line-height: 1.6; max-width: none; }
/* ── Dark card context: flip process text to white ── */
.card-fan-wrapper .process-step h3 { color: var(--white); }
.card-fan-wrapper .process-step p  { color: rgba(255,255,255,0.72); }
.card-fan-wrapper .process-step:not(:last-child)::after { background: linear-gradient(90deg, var(--amber-500), transparent); }
@media(max-width:768px){ .process-step::after { display: none; } }

/* Hero (updated with tokens) */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(8,7,6,0.95) 0%, rgba(21,19,16,0.85) 60%), 
              url('/images/cyber_logistics_hero.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex; align-items: center;
  justify-content: center;
  text-align: center;
  padding: 9rem 0 6rem;
  position: relative; overflow: hidden; color: var(--white);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(200, 117, 28,.05) 0%, transparent 70%);
}
.hero__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  text-align: center;
  width: 100%;
}
.hero__glass-card {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero__tag {
  display: inline-block;
  background: rgba(200, 117, 28, 0.08);
  border: 1px solid rgba(200, 117, 28, 0.2);
  color: var(--amber-400);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.6rem 1.5rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}
.hero__motto {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--amber-400);
  margin-bottom: 1.5rem;
  line-height: 1.3;
  display: block;
  letter-spacing: 0.02em;
}
.hero__h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.2;
  margin-bottom: 3rem;
  font-weight: 800;
  max-width: 100%;
  letter-spacing: -0.01em;
}
.hero__h1 em {
  color: var(--amber);
  font-style: normal;
}
.hero__ctas {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.hero__sub {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 680px;
  margin: 0 auto 1.5rem;
}
.hero__bullets {
  list-style: none;
  padding: 0;
  margin: 0 auto 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  justify-content: center;
}
.hero__bullets li {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero__bullets li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber-400);
  flex-shrink: 0;
}
.hero__book-link {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--t-fast);
}
.hero__book-link:hover { color: var(--amber-400); }

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: var(--gray-400);
  font-size: .75rem;
  z-index: 2;
}
.hero__scroll-dot {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, var(--amber), transparent);
  border-radius: 2px;
  animation: scrollAnim 1.8s ease-in-out infinite;
}

@keyframes scrollAnim { 0%,100%{opacity:1} 50%{opacity:.3} }

/* SLA Guarantees Section */
.sla-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.sla-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2rem;
  border-radius: 16px;
  transition: all 0.3s ease;
  text-align: left;
}
.sla-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 117, 28, 0.3);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2), 0 0 15px rgba(200, 117, 28, 0.1);
  background: rgba(255, 255, 255, 0.04);
}
.sla-icon {
  width: 48px;
  height: 48px;
  background: rgba(200, 117, 28, 0.1);
  border: 1px solid rgba(200, 117, 28, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber-400);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}
.sla-card:hover .sla-icon {
  background: var(--amber-500);
  color: var(--navy);
  box-shadow: 0 0 12px var(--amber-500);
}
.sla-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 0.75rem;
  font-weight: 700;
  display: block;
}
.sla-desc {
  font-size: 0.9rem;
  color: var(--slate-400);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .hero {
    padding: 7rem 0 4rem;
  }
  .hero__glass-card {
    padding: 2.5rem 1.5rem;
  }
  .sla-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .sla-grid {
    grid-template-columns: 1fr;
  }
}

/* Diagonal Divider */
.divider-down { width:100%; height:80px; background:var(--gray-50); clip-path:polygon(0 100%,100% 100%,100% 0); }
.divider-up   { width:100%; height:80px; background:var(--navy);    clip-path:polygon(0 0,100% 100%,0 100%); }

/* 7. Section Header */
.sec-head { margin-bottom: 4rem; }
.sec-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--navy); margin-bottom: .75rem; }
.sec-head p  { color: var(--slate); font-size: 1.05rem; max-width: 560px; }
.sec-head.center p { margin: 0 auto; }
.sec-head--light h2 { color: var(--white); }
.sec-head--light p  { color: var(--gray-400); }

/* 8. Services Cards */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 2rem; }
.svc-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid transparent;
  transition: var(--t-smooth);
  opacity: 0; transform: translateY(24px);
}
.svc-card.visible { opacity: 1; transform: translateY(0); }
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-top-color: var(--amber); }
.svc-card__icon { font-size: 2.4rem; margin-bottom: 1.2rem; }
.svc-card h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: .6rem; }
.svc-card p  { font-size: .92rem; line-height: 1.7; color: var(--slate); }
.svc-card__link { display: inline-flex; align-items: center; gap: .35rem; margin-top: 1.2rem; color: var(--amber); font-weight: 600; font-size: .88rem; transition: gap var(--t-fast); }
.svc-card__link:hover { gap: .6rem; }

/* 9. Stats Strip */
.stats-strip { background: var(--amber); padding: 3rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; text-align: center; }
.stat-item h3 { font-size: clamp(2rem,4vw,3rem); color: var(--navy); font-weight: 800; }
.stat-item p  { font-size: .88rem; color: var(--navy); opacity: .75; font-weight: 500; margin-top: .2rem; }

/* 11. Contact Form */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }
.contact-info h2 { font-size:2rem; color:var(--navy); margin-bottom:1rem; }
.contact-info p  { color:var(--slate); line-height:1.7; margin-bottom:2rem; }
.contact-detail { display:flex; align-items:center; gap:1rem; margin-bottom:1.2rem; }
.contact-detail__icon { width:44px; height:44px; background:rgba(200, 117, 28,.1); border-radius:var(--radius-md); display:flex; align-items:center; justify-content:center; font-size:1.2rem; flex-shrink:0; }
.contact-detail strong { display:block; color:var(--navy); font-size:.9rem; }
.contact-detail span   { font-size:.85rem; color:var(--slate); }
.form-card { background:var(--white); border-radius:var(--radius-lg); padding:2.5rem; box-shadow:var(--shadow-md); }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.form-group { margin-bottom:1.25rem; }
.form-group label { display:block; font-size:.85rem; font-weight:600; color:var(--navy); margin-bottom:.4rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width:100%; padding:.8rem 1rem;
  border:2px solid var(--gray-100); border-radius:var(--radius-sm);
  font-family:var(--font-body); font-size:.9rem; color:var(--gray-700);
  background:var(--gray-50); transition:border-color var(--t-fast), box-shadow var(--t-fast);
  outline:none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color:var(--amber); box-shadow:0 0 0 3px rgba(200, 117, 28,.15); background:var(--white); }
.form-group textarea { resize:vertical; min-height:120px; }
.form-group .error-msg { font-size:.78rem; color:var(--danger); margin-top:.3rem; display:none; }
.form-group.has-error input,
.form-group.has-error textarea { border-color:var(--danger); }
.form-group.has-error .error-msg { display:block; }
.form-submit .btn { width:100%; justify-content:center; position:relative; overflow:hidden; }
.spinner { display:none; width:16px; height:16px; border:2px solid rgba(8,7,6,.3); border-top-color:var(--navy); border-radius:50%; animation:spin .7s linear infinite; }
@keyframes spin { to { transform:rotate(360deg); } }
.form-success { display:none; text-align:center; padding:2rem; }
.form-success .checkmark { font-size:3rem; margin-bottom:1rem; }
.form-success h3 { color:var(--success); margin-bottom:.5rem; }

/* 12. Footer */
.footer { background:var(--navy); color:var(--gray-400); padding:4rem 0 2rem; }
.footer__grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:3rem; margin-bottom:3rem; }
.footer__brand .nav__logo { font-size:1.4rem; margin-bottom:1rem; color: #ffffff; }
.footer__brand p { font-size:.88rem; line-height:1.7; max-width:280px; }
.footer__col h4 { color:var(--white); font-size:.9rem; font-weight:600; margin-bottom:1.2rem; letter-spacing:.05em; text-transform:uppercase; }
.footer__col a { display:block; font-size:.88rem; color:var(--gray-400); margin-bottom:.7rem; transition:color var(--t-fast); }
.footer__col a:hover { color:var(--amber); }
.footer__bottom { border-top:1px solid rgba(255,255,255,.07); padding-top:1.5rem; display:flex; justify-content:space-between; align-items:center; font-size:.82rem; }
.footer__bottom a { color:var(--gray-400); }
.footer__bottom a:hover { color:var(--amber); }

/* 13. Admin Dashboard */
.admin-body { background:var(--gray-50); font-family:var(--font-body); }
.admin-nav { background:var(--navy); padding:1rem 1.5rem; display:flex; justify-content:space-between; align-items:center; position:sticky; top:0; z-index:100; }
.admin-content { max-width:1300px; margin:0 auto; padding:2rem 1.5rem; }
.admin-login { min-height:100vh; display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,var(--navy),var(--navy-light)); }
.admin-login-card { background:var(--white); border-radius:var(--radius-lg); padding:2.5rem; width:100%; max-width:400px; box-shadow:var(--shadow-lg); }
.kpi-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:1.5rem; margin-bottom:2rem; }
.kpi-card { background:var(--white); border-radius:var(--radius-md); padding:1.5rem; box-shadow:var(--shadow-sm); }
.kpi-card h3 { font-size:2rem; color:var(--navy); }
.kpi-card p  { font-size:.82rem; color:var(--slate); margin-top:.2rem; }
.leads-table { background:var(--white); border-radius:var(--radius-md); box-shadow:var(--shadow-sm); overflow:hidden; }
.leads-table table { width:100%; border-collapse:collapse; }
.leads-table th { background:var(--navy); color:var(--white); padding:.9rem 1rem; text-align:left; font-size:.8rem; letter-spacing:.06em; text-transform:uppercase; }
.leads-table td { padding:.85rem 1rem; border-bottom:1px solid var(--gray-100); font-size:.88rem; vertical-align:top; }
.leads-table tr:last-child td { border-bottom:none; }
.leads-table tr:hover td { background:var(--gray-50); }
.status-badge { padding:.25rem .75rem; border-radius:50px; font-size:.75rem; font-weight:600; }
.status-New       { background:rgba(200, 117, 28,.15); color:#b36d00; }
.status-Contacted { background:rgba(52,152,219,.15); color:#1a6fa8; }
.status-Quoted    { background:rgba(155,89,182,.15); color:#6c3483; }
.status-Closed    { background:rgba(46,204,113,.15); color:#1a7a45; }

/* 14. Cookie Banner (Overridden by modern styles in Section 4.9.6) */

/* 15. Back to Top */
.back-top {
  position:fixed; bottom:2rem; right:2rem; z-index:500;
  width:44px; height:44px; border-radius:50%; background:var(--amber); color:var(--navy);
  display:flex; align-items:center; justify-content:center; font-size:1.2rem;
  box-shadow:var(--shadow-md); cursor:pointer; border:none;
  opacity:0; transform:translateY(10px) scale(.9); transition:var(--t-smooth); pointer-events:none;
}
.back-top.show { opacity:1; transform:translateY(0) scale(1); pointer-events:auto; }
.back-top:hover { background:var(--amber-dark); box-shadow:var(--glow-amber); }

/* 16. Responsive */
@media (max-width:1024px) {
  .hero__grid { grid-template-columns:1fr; }
  .hero__card { display:none; }
  .contact-grid { grid-template-columns:1fr; }
  .footer__grid { grid-template-columns:1fr 1fr; }
  .stats-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:768px) {
  .nav__links { display:none; flex-direction:column; position:absolute; top:100%; left:0; right:0; background:var(--navy); padding:1.5rem; gap:1.2rem; }
  .nav__links.open { display:flex; }
  .nav__burger { display:flex; }
  .form-row { grid-template-columns:1fr; }
  .footer__grid { grid-template-columns:1fr; }
  .footer__bottom { flex-direction:column; gap:.5rem; text-align:center; }
  .process-step::after { display:none; }
}

/* ── M4.9 Floating UI Elements ───────────────────────────── */

/* 4.9.1 — Back to top */
.back-to-top, .back-top {
  position: fixed; bottom: var(--space-8); right: var(--space-8);
  z-index: var(--z-chat);
  width: 48px; height: 48px; border-radius: var(--radius-full);
  background: var(--amber-500); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 800;
  box-shadow: var(--shadow-amber); border: none; cursor: pointer;
  opacity: 0; transform: translateY(16px);
  transition: opacity var(--t-base), transform var(--t-base), background var(--t-fast), box-shadow var(--t-fast);
  pointer-events: none;
}
/* 4.9.2 — Visible state */
.back-to-top.visible, .back-top.show {
  opacity: 1; transform: translateY(0); pointer-events: auto;
}
.back-to-top:hover, .back-top:hover {
  background: var(--amber-600); box-shadow: var(--glow-amber); transform: translateY(-2px);
}

/* 4.9.3 — WhatsApp float */
.whatsapp-float {
  position: fixed; bottom: 32px; right: 28px;
  z-index: var(--z-chat);
  width: 56px; height: 56px; border-radius: var(--radius-full);
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
  text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.55); }
.whatsapp-float svg { width: 28px; height: 28px; fill: currentColor; }

/* 4.9.4 — Chat button */
.chat-button {
  position: fixed; bottom: 104px; right: var(--space-8);
  z-index: var(--z-chat);
  width: 56px; height: 56px; border-radius: var(--radius-full);
  background: var(--amber-500); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; border: none; cursor: pointer;
  box-shadow: var(--shadow-amber);
  animation: chatPulse 3s ease-in-out infinite;
  transition: transform var(--t-fast), background var(--t-fast);
}
.chat-button:hover { transform: scale(1.12); background: var(--amber-600); animation: none; }
.chat-button.open  { animation: none; background: var(--slate-700); color: var(--white); }

/* Proactive bubble */
.chat-proactive-bubble {
  position: fixed; bottom: 176px; right: var(--space-8);
  z-index: var(--z-chat);
  background: var(--color-surface); color: var(--color-text);
  border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  border-bottom-right-radius: 4px;
  padding: var(--space-3) var(--space-5);
  font-size: var(--text-sm); max-width: 220px;
  box-shadow: var(--shadow-lg);
  animation: fadeInUp 0.4s ease;
}
.chat-proactive-bubble::after {
  content: ''; position: absolute; bottom: -8px; right: 20px;
  border: 8px solid transparent; border-top-color: var(--color-border);
  border-bottom: none;
}

/* 4.9.5 — Chat panel */
.chat-panel {
  position: fixed; bottom: calc(var(--space-8) + 72px); right: var(--space-8);
  z-index: var(--z-chat);
  width: 380px; height: 520px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl);
  display: flex; flex-direction: column;
  overflow: hidden;
  transform: scale(0.85) translateY(20px);
  transform-origin: bottom right;
  opacity: 0; pointer-events: none;
  transition: transform var(--t-spring), opacity var(--t-base);
}
.chat-panel.open {
  transform: scale(1) translateY(0);
  opacity: 1; pointer-events: all;
}
.chat-header {
  background: var(--color-bg); padding: var(--space-4) var(--space-5);
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--color-border); flex-shrink: 0;
}
.chat-header-info { display: flex; align-items: center; gap: var(--space-3); }
.chat-avatar { width: 36px; height: 36px; border-radius: var(--radius-full); background: var(--amber-500); display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.chat-header-info strong { display: block; font-size: var(--text-sm); color: var(--color-text); }
.chat-header-info span  { font-size: var(--text-xs); color: var(--color-success); }
.chat-close { background: none; border: none; color: var(--color-muted); cursor: pointer; font-size: 1.2rem; padding: var(--space-1); transition: color var(--t-fast); }
.chat-close:hover { color: var(--color-text); }
.chat-messages {
  flex: 1; overflow-y: auto; padding: var(--space-4) var(--space-5);
  display: flex; flex-direction: column; gap: var(--space-3);
  scroll-behavior: smooth;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: var(--radius-full); }
.chat-bubble { max-width: 80%; padding: var(--space-3) var(--space-4); border-radius: var(--radius-lg); font-size: var(--text-sm); line-height: 1.6; animation: bubbleIn 0.25s var(--t-spring); }
.chat-bubble.bot  { background: rgba(255,255,255,.06); color: var(--color-text); border-bottom-left-radius: 4px; align-self: flex-start; }
.chat-bubble.user { background: var(--amber-500); color: var(--navy); border-bottom-right-radius: 4px; align-self: flex-end; font-weight: 500; }
.chat-typing { display: flex; gap: 5px; align-items: center; padding: var(--space-3) var(--space-4); background: rgba(255,255,255,.06); border-radius: var(--radius-lg); border-bottom-left-radius: 4px; align-self: flex-start; }
.chat-typing span { width: 6px; height: 6px; border-radius: var(--radius-full); background: var(--color-muted); animation: typingDot 1.2s ease infinite; }
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
.chat-quick-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); padding: 0 var(--space-5) var(--space-3); }
.chat-quick-btn { font-size: var(--text-xs); padding: var(--space-1) var(--space-3); border: 1px solid var(--amber-500); border-radius: var(--radius-full); color: var(--amber-500); background: transparent; cursor: pointer; transition: background var(--t-fast), color var(--t-fast); white-space: nowrap; }
.chat-quick-btn:hover { background: var(--amber-500); color: var(--navy); }
.chat-input-area {
  padding: var(--space-4) var(--space-5); border-top: 1px solid var(--color-border);
  display: flex; gap: var(--space-3); align-items: flex-end; flex-shrink: 0;
}
.chat-input {
  flex: 1; background: rgba(255,255,255,.05); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-3) var(--space-4);
  color: var(--color-text); font-size: var(--text-sm); font-family: var(--font-body);
  resize: none; min-height: 42px; max-height: 120px;
  transition: border-color var(--t-fast); outline: none;
}
.chat-input:focus { border-color: var(--amber-500); }
.chat-send { width: 42px; height: 42px; border-radius: var(--radius-full); background: var(--amber-500); color: var(--navy); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; transition: background var(--t-fast), transform var(--t-fast); flex-shrink: 0; }
.chat-send:hover { background: var(--amber-600); transform: scale(1.08); }

/* Mobile chat */
@media(max-width: 480px) {
  .chat-panel { width: calc(100vw - var(--space-8)); right: var(--space-4); bottom: calc(var(--space-8) + 64px); }
  .chat-button, .whatsapp-float { right: var(--space-4); }
  .back-to-top, .back-top { right: var(--space-4); bottom: var(--space-4); }
}

/* 4.9.6 — Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: var(--space-6);
  left: var(--space-6);
  right: auto;
  width: 360px;
  max-width: calc(100vw - var(--space-12));
  z-index: var(--z-toast);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--amber-500);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-4);
  transform: translateY(150%);
  transition: transform var(--t-smooth);
  box-shadow: var(--shadow-xl);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { font-size: var(--text-sm); color: var(--color-muted); line-height: 1.5; }
.cookie-banner p a { color: var(--amber-500); text-decoration: underline; font-weight: 600; }
.cookie-banner__btns { display: flex; gap: var(--space-3); width: 100%; justify-content: flex-end; }
.cookie-btn {
  flex: 1;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: var(--text-xs);
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.cookie-accept  { background: var(--amber-500); color: var(--navy); border-color: var(--amber-500); }
.cookie-accept:hover { background: var(--amber-600); border-color: var(--amber-600); }
.cookie-decline { background: transparent; color: var(--color-muted); border-color: var(--color-border); }
.cookie-decline:hover { color: var(--color-text); border-color: var(--slate-500); }

/* 4.9.7 — Toast notifications */
.toast-container {
  position: fixed;
  top: 100px;
  right: var(--space-8);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  pointer-events: none;
}
@media (max-width: 600px) {
  .cookie-banner {
    left: var(--space-4);
    bottom: var(--space-4);
    width: auto;
    max-width: calc(100vw - var(--space-8));
  }
}
@media (max-width: 480px) {
  .toast-container {
    top: 90px;
    right: var(--space-4);
    left: var(--space-4);
  }
  .toast {
    min-width: 0;
    max-width: 100%;
  }
}
.toast {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: var(--space-4) var(--space-5);
  display: flex; align-items: center; gap: var(--space-3);
  box-shadow: var(--shadow-xl); min-width: 280px; max-width: 380px;
  pointer-events: all; cursor: pointer;
  animation: toastIn 0.35s var(--t-spring);
  border-left: 4px solid var(--color-border);
}
.toast.toast-success { border-left-color: var(--color-success); }
.toast.toast-error   { border-left-color: var(--color-danger); }
.toast.toast-warning { border-left-color: var(--amber-500); }
.toast.toast-out { animation: toastOut 0.3s ease forwards; }
.toast-icon { font-size: 1.25rem; flex-shrink: 0; }
.toast-body strong { display: block; font-size: var(--text-sm); color: var(--color-text); }
.toast-body span   { font-size: var(--text-xs); color: var(--color-muted); }

/* Contact layout */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--space-16); align-items: start; }
.contact-info h2 { color: var(--color-text); margin-bottom: var(--space-4); }
.contact-info p  { color: var(--color-muted); line-height: 1.7; margin-bottom: var(--space-8); max-width: none; }
.contact-detail { display: flex; align-items: center; gap: var(--space-4); margin-bottom: var(--space-5); }
.contact-detail__icon { width: 48px; height: 48px; background: rgba(200, 117, 28,.1); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; border: 1px solid rgba(200, 117, 28,.2); }
.contact-detail strong { display: block; color: var(--color-text); font-size: var(--text-sm); margin-bottom: 2px; }
.contact-detail span  { font-size: var(--text-sm); color: var(--color-muted); }
@media(max-width:900px) { .contact-grid { grid-template-columns: 1fr; } }

/* Footer */
.footer { background: var(--color-bg); color: var(--color-muted); padding: var(--space-24) 0 var(--space-8); border-top: 1px solid var(--color-border); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-12); margin-bottom: var(--space-12); }
.footer__brand p { font-size: var(--text-sm); line-height: 1.7; max-width: 280px; margin-top: var(--space-4); }
.footer__col h4 { color: var(--color-text); font-size: var(--text-xs); font-weight: 700; margin-bottom: var(--space-5); letter-spacing: .12em; text-transform: uppercase; }
.footer__col a { display: block; font-size: var(--text-sm); color: var(--color-muted); margin-bottom: var(--space-3); transition: color var(--t-fast); }
.footer__col a:hover { color: var(--amber-500); }
.footer__bottom { border-top: 1px solid var(--color-border); padding-top: var(--space-8); display: flex; justify-content: space-between; align-items: center; font-size: var(--text-xs); flex-wrap: wrap; gap: var(--space-4); }
.footer__bottom a { color: var(--color-muted); transition: color var(--t-fast); }
.footer__bottom a:hover { color: var(--amber-500); }
@media(max-width:1024px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:640px)  { .footer__grid { grid-template-columns: 1fr; } .footer__bottom { flex-direction: column; text-align: center; } }

/* Admin Dashboard */
.admin-body { background: var(--slate-900); font-family: var(--font-body); color: var(--color-text); }
.admin-nav { background: var(--color-bg); padding: var(--space-4) var(--space-6); display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: var(--z-nav); border-bottom: 1px solid var(--color-border); }
.admin-content { max-width: 1300px; margin: 0 auto; padding: var(--space-8) var(--space-6); }
.admin-login { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--color-bg), var(--color-surface)); }
.admin-login-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: var(--space-10); width: 100%; max-width: 420px; box-shadow: var(--shadow-2xl); }
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: var(--space-6); margin-bottom: var(--space-8); }
.kpi-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-6); }
.kpi-card__val { font-family: var(--font-display); font-size: var(--text-5xl); color: var(--color-text); line-height: 1; }
.kpi-card__label { font-size: var(--text-xs); color: var(--color-muted); text-transform: uppercase; letter-spacing: .1em; margin-top: var(--space-2); }
.kpi-card__delta { font-size: var(--text-xs); color: var(--color-success); font-weight: 600; margin-top: var(--space-1); }
.leads-table { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; }
.leads-table table { width: 100%; border-collapse: collapse; }
.leads-table th { background: var(--color-bg); color: var(--color-muted); padding: var(--space-3) var(--space-4); text-align: left; font-size: var(--text-xs); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.leads-table td { padding: var(--space-4); border-bottom: 1px solid var(--color-border); font-size: var(--text-sm); vertical-align: middle; color: var(--color-text); }
.leads-table tr:last-child td { border-bottom: none; }
.leads-table tr:hover td { background: rgba(255,255,255,.02); }
.status-badge { padding: 3px 10px; border-radius: var(--radius-full); font-size: var(--text-xs); font-weight: 700; }
.status-New       { background: rgba(200, 117, 28,.15); color: var(--amber-400); }
.status-Contacted { background: rgba(59,130,246,.15); color: #60a5fa; }
.status-Quoted    { background: rgba(168,85,247,.15); color: #c084fc; }
.status-Closed-Won  { background: rgba(34,197,94,.15); color: #4ade80; }
.status-Closed-Lost { background: rgba(239,68,68,.15); color: #f87171; }

/* Responsive: nav mobile */
@media (max-width: 900px) {
  .hamburger, .nav__burger { display: flex; }
  .nav__links:not(.mobile-override) { display: none; }
}
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__card { display: none; }
}

/* ── M4.10 Animations ────────────────────────────────────── */

/* 4.10.1 */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* 4.10.2 */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
/* 4.10.3 */
@keyframes slideDown {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}
/* 4.10.4 */
@keyframes spin {
  to { transform: rotate(360deg); }
}
/* 4.10.5 */
@keyframes chatPulse {
  0%, 100% { transform: scale(1); box-shadow: var(--shadow-amber); }
  50%       { transform: scale(1.05); box-shadow: 0 0 0 8px rgba(200, 117, 28,.15), var(--shadow-amber); }
}
/* 4.10.6 */
@keyframes checkmark {
  from { stroke-dashoffset: 100; }
  to   { stroke-dashoffset: 0; }
}
.checkmark-svg { width: 60px; height: 60px; }
.checkmark-svg circle { fill: none; stroke: var(--color-success); stroke-width: 3; }
.checkmark-svg path { fill: none; stroke: var(--color-success); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 100; animation: checkmark 0.6s ease forwards 0.3s; stroke-dashoffset: 100; }

/* Misc keyframes */
@keyframes float       { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }
@keyframes scrollAnim  { 0%,100%{opacity:1} 50%{opacity:.3} }
@keyframes bounceIn    { 0%{transform:scale(.3);opacity:0} 50%{transform:scale(1.1)} 70%{transform:scale(.95)} 100%{transform:scale(1);opacity:1} }
@keyframes typingDot   { 0%,60%,100%{transform:translateY(0)} 30%{transform:translateY(-6px)} }
@keyframes toastIn     { from{opacity:0;transform:translateX(40px)} to{opacity:1;transform:translateX(0)} }
@keyframes toastOut    { from{opacity:1;transform:translateX(0)} to{opacity:0;transform:translateX(40px)} }
@keyframes bubbleIn    { from{opacity:0;transform:scale(.85)} to{opacity:1;transform:scale(1)} }
@keyframes pulse-dot   { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.6);opacity:.5} }



/* Optimized Stats Strip */
.stats-strip {
  background: linear-gradient(135deg, var(--color-primary) 0%, #e68a00 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.stats-strip::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.stat-item {
  text-align: center;
  flex: 1;
  color: var(--color-surface);
  position: relative;
  z-index: 1;
}

.stat-item h3 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin: 0;
  line-height: 1;
}

.stat-item p {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .stats-strip {
    flex-direction: column;
    padding: 2.5rem 1rem;
    gap: 2.5rem;
  }
}


/* Reveal Animation */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

[data-reveal].revealed,
[data-reveal].active {
  opacity: 1;
  transform: translateY(0);
}


[data-reveal][data-delay="100"] { transition-delay: 100ms; }
[data-reveal][data-delay="200"] { transition-delay: 200ms; }
[data-reveal][data-delay="300"] { transition-delay: 300ms; }
[data-reveal][data-delay="400"] { transition-delay: 400ms; }
[data-reveal][data-delay="500"] { transition-delay: 500ms; }

/* ── M4.11 Accessibility Styles ──────────────────────────── */

/* 4.11.1 — Skip nav */
.skip-nav {
  position: absolute;
  top: -100%; left: var(--space-4);
  background: var(--amber-500); color: var(--navy);
  padding: var(--space-2) var(--space-5);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 700; font-size: var(--text-sm);
  z-index: calc(var(--z-toast) + 1);
  transition: top var(--t-fast);
  text-decoration: none;
}
.skip-nav:focus { top: 0; }

/* 4.11.2 — Focus visible ring */
:focus-visible {
  outline: 3px solid var(--amber-400);
  outline-offset: 3px;
  border-radius: 2px;
}

/* 4.11.3 — Remove outline on mouse click */
:focus:not(:focus-visible) {
  outline: none;
}

/* 4.11.4 — Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ── M4.12 Print Styles ──────────────────────────────────── */
@media print {
  /* 4.12.1 — Hide non-content elements */
  .nav, nav,
  .footer .footer__bottom .footer__col:last-child,
  .chat-button, .chat-panel, .whatsapp-float,
  .back-to-top, .back-top,
  .cookie-banner,
  .hero__ctas .btn-outline,
  .toast-container,
  .hamburger, .nav__burger {
    display: none !important;
  }

  /* 4.12.2 — White bg, black text */
  body {
    background: #fff !important;
    color: #111 !important;
    font-size: 12pt;
  }

  /* 4.12.3 — Show URLs after links */
  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 10pt;
    color: #555;
  }
  a[href^="#"]::after,
  a[href^="javascript"]::after { content: ''; }

  /* 4.12.4 — Avoid page breaks inside cards */
  .card, .service-card, .blog-card, .pricing-card,
  .testimonial-card, .process-step, section {
    page-break-inside: avoid;
    break-inside: avoid;
  }

  h1, h2, h3 { page-break-after: avoid; break-after: avoid; }
  .hero { min-height: auto; padding: 2rem 0; }
}


/* ============================================================
   ADDITIONS v2.1 — Trust bar, Testimonials, FAQ, Location pages,
   Blog teaser cards, Breadcrumb, Honeypot
   ============================================================ */

/* ── Honeypot: visually hidden but still in DOM ─────────── */
.hp-field {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

/* ── Breadcrumb ─────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--amber); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span[aria-hidden] { color: rgba(255,255,255,.3); }

/* ── Trust Bar ──────────────────────────────────────────── */
.trust-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}
.trust-bar__label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-bottom: .9rem;
}
.trust-bar__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 2rem;
  align-items: center;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
}
.trust-badge svg {
  color: var(--amber);
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

/* ── Testimonials ───────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: var(--space-6);
  margin-top: var(--space-8);
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-7);
  margin: 0;
  position: relative;
  transition: box-shadow var(--transition-spring);
}
.testimonial-card::before {
  content: '\201C';
  font-size: 5rem;
  line-height: 1;
  color: var(--amber);
  opacity: .2;
  position: absolute;
  top: .75rem;
  left: 1.25rem;
  font-family: Georgia, serif;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-amber);
}
.testimonial-card__stars {
  color: var(--amber);
  font-size: 1rem;
  letter-spacing: .1em;
  margin-bottom: var(--space-4);
}
.testimonial-card p {
  font-size: .95rem;
  line-height: 1.65;
  color: var(--text-secondary);
  font-style: italic;
  margin: 0 0 var(--space-5);
}
.testimonial-card footer {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.testimonial-card footer strong {
  font-size: .9rem;
  font-weight: 700;
  color: var(--text);
}
.testimonial-card footer span {
  font-size: .8rem;
  color: var(--muted);
}

/* ── FAQ Section ────────────────────────────────────────── */
.section--muted {
  background: var(--surface);
}
.faq-container {
  max-width: 760px;
  margin: 0 auto;
}
.faq-list {
  margin-top: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--background);
  transition: border-color var(--t-base);
}
.faq-item:has(.faq-question[aria-expanded="true"]) {
  border-color: var(--amber-500);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  transition: color var(--t-base);
}
.faq-question:hover { color: var(--amber-500); }
.faq-question[aria-expanded="true"] { color: var(--amber-500); }
.faq-chevron {
  flex-shrink: 0;
  transition: transform .25s ease;
  color: var(--amber-500);
}
.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
}
/* FAQ answer: hidden attribute collapses the element,
   JS removes [hidden] to expand. The max-height transition
   is handled by the card__inner overflow-y: auto. */
.faq-answer {
  padding: 0 1.25rem;
  overflow: hidden;
}
.faq-answer[hidden] { display: none; }
.faq-answer p {
  font-size: .93rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
  padding-bottom: 1.1rem;
}

/* ── FAQ Overrides for Dark Card-Fan Context ── */
.card-fan-wrapper .faq-item {
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
}
.card-fan-wrapper .faq-question {
  color: var(--white);
}
.card-fan-wrapper .faq-question:hover,
.card-fan-wrapper .faq-question[aria-expanded="true"] {
  color: var(--amber-500);
}
.card-fan-wrapper .faq-answer p {
  color: rgba(255,255,255,0.72);
}

/* ── Blog Teaser Cards ──────────────────────────────────── */
.blog-teaser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: var(--space-6);
  margin-top: var(--space-8);
}
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: box-shadow var(--transition-spring), border-color var(--transition-base);
}
.blog-card:hover {
  border-color: var(--amber);
  box-shadow: var(--shadow-amber);
}
.blog-card__cat {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: .75rem;
}
.blog-card h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 .6rem;
}
.blog-card h3 a {
  color: var(--text);
  text-decoration: none;
  transition: color var(--transition-base);
}
.blog-card h3 a:hover { color: var(--amber); }
.blog-card p {
  font-size: .875rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 1rem;
}
.blog-card__link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--amber);
  text-decoration: none;
  transition: opacity var(--transition-base);
}
.blog-card__link:hover { opacity: .75; }

/* ── OTP Screen ─────────────────────────────────────────── */
.otp-screen {
  text-align: center;
  padding: var(--space-8) var(--space-4);
}
.otp-screen__icon {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--amber);
}
.otp-screen h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.otp-screen p {
  color: var(--text-secondary);
  font-size: .95rem;
  margin-bottom: var(--space-6);
}
.otp-input-group input {
  text-align: center;
  font-size: 1.5rem;
  letter-spacing: .3em;
  max-width: 240px;
  margin: 0 auto;
}

/* ── Location Page Layout ───────────────────────────────── */
.location-content {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-10);
  align-items: start;
}
@media (max-width: 900px) {
  .location-content { grid-template-columns: 1fr; }
  .location-sidebar { order: -1; }
}
.location-main h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-bottom: var(--space-5);
}
.location-main h3 {
  font-size: 1.15rem;
  margin: var(--space-7) 0 var(--space-3);
  color: var(--amber);
}
.location-main p {
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
}
.location-services {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.location-services li {
  padding: var(--space-4) var(--space-5);
  background: var(--surface);
  border-left: 3px solid var(--amber);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: .93rem;
  line-height: 1.6;
  color: var(--text-secondary);
}
.location-services li strong {
  display: block;
  color: var(--text);
  font-weight: 700;
  margin-bottom: .25rem;
}
.location-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  position: sticky;
  top: 5rem;
}
.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
}
.sidebar-card h4 {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: var(--space-4);
}
.sidebar-card p {
  font-size: .875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: .35rem;
}
.sidebar-cities {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.sidebar-cities li {
  font-size: .875rem;
  color: var(--text-secondary);
}
.sidebar-cities a {
  color: var(--amber);
  text-decoration: none;
  font-weight: 600;
}
.sidebar-cities a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════
   PLUGIN STYLES — Exit-Intent Popup, Wizard, Label Generator
   ═══════════════════════════════════════════════════════════ */

/* ── Exit-Intent Popup ────────────────────────────────────── */
.exit-popup {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; align-items: center; justify-content: center; padding: 1rem;
}
.exit-popup__backdrop {
  position: absolute; inset: 0;
  background: rgba(8,7,6,0.88);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.exit-popup__card {
  position: relative; z-index: 1;
  background: linear-gradient(135deg, #0E0D0B 0%, #151310 100%);
  border: 1px solid rgba(200, 117, 28,0.25); border-radius: 24px;
  padding: clamp(1.5rem, 4vw, 2.5rem); max-width: 480px; width: 100%;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 40px rgba(200, 117, 28,0.08);
  animation: exitPopupIn 0.4s cubic-bezier(0.175,0.885,0.32,1.275);
}
@keyframes exitPopupIn {
  from { opacity: 0; transform: scale(0.85) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.exit-popup__close {
  position: absolute; top: 1rem; right: 1rem;
  background: rgba(255,255,255,0.08); border: none; color: var(--slate-400);
  width: 32px; height: 32px; border-radius: 50%; font-size: 1.2rem;
  cursor: pointer; transition: all 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.exit-popup__close:hover { background: rgba(255,255,255,0.18); color: #fff; }
.exit-popup__badge {
  display: inline-block;
  background: rgba(200, 117, 28,0.15); color: var(--amber-400);
  border: 1px solid rgba(200, 117, 28,0.3); border-radius: 50px;
  padding: 0.25rem 0.9rem; font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.9rem;
}
.exit-popup__title {
  font-size: clamp(1.25rem, 3vw, 1.65rem); font-weight: 800;
  color: #fff; line-height: 1.3; margin: 0 0 0.7rem;
}
.exit-popup__title span { color: var(--amber-400); }
.exit-popup__desc { font-size: 0.92rem; color: var(--slate-400); line-height: 1.65; margin: 0 0 1rem; }
.exit-popup__list { list-style: none; padding: 0; margin: 0 0 1.4rem; display: flex; flex-direction: column; gap: 0.4rem; }
.exit-popup__list li { font-size: 0.88rem; color: var(--slate-300); }
.exit-popup__form { display: flex; flex-direction: column; gap: 0.75rem; }
.exit-popup__form input {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md); color: #fff; padding: 0.75rem 1rem;
  font-size: 0.9rem; width: 100%; transition: border-color 0.2s;
}
.exit-popup__form input:focus { outline: none; border-color: var(--amber-500); }
.exit-popup__privacy { font-size: 0.72rem; color: var(--slate-500); text-align: center; margin: 0.7rem 0 0; }

/* ── Wizard (DG Checker) ──────────────────────────────────── */
.wizard-step { display: none; }
.wizard-step.active { display: block; animation: fadeInUp 0.35s ease; }
.wizard-progress { display: flex; gap: 0.5rem; margin-bottom: 2rem; }
.wizard-progress__bar {
  height: 4px; flex: 1; background: rgba(255,255,255,0.1);
  border-radius: 2px; transition: background 0.35s;
}
.wizard-progress__bar.active { background: var(--amber-500); }
.wizard-progress__bar.done   { background: var(--color-success); }
.wizard-option {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md); cursor: pointer; transition: all 0.2s;
  margin-bottom: 0.65rem; text-align: left; color: var(--color-text);
  font-size: 0.95rem; width: 100%;
}
.wizard-option:hover  { background: rgba(200, 117, 28,0.08); border-color: rgba(200, 117, 28,0.3); }
.wizard-option.selected { background: rgba(200, 117, 28,0.12); border-color: var(--amber-500); }
.wizard-option__icon { font-size: 1.5rem; flex-shrink: 0; }
.wizard-result-card {
  border-radius: var(--radius-lg); padding: 1.5rem;
  margin-bottom: 1rem; border: 1px solid;
}
.wizard-result-card.danger  { background: rgba(239,68,68,0.08);  border-color: rgba(239,68,68,0.3);  }
.wizard-result-card.warning { background: rgba(200, 117, 28,0.08); border-color: rgba(200, 117, 28,0.3); }
.wizard-result-card.safe    { background: rgba(34,197,94,0.08);  border-color: rgba(34,197,94,0.3);  }

/* ── Hazard Label Grid ────────────────────────────────────── */
.label-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px,1fr));
  gap: 1rem; margin-top: 1.5rem;
}
.hazard-label-card {
  border: 2px solid rgba(255,255,255,0.1); border-radius: var(--radius-md);
  padding: 1rem; text-align: center; cursor: pointer;
  transition: all 0.2s; background: rgba(255,255,255,0.03);
}
.hazard-label-card:hover, .hazard-label-card.selected {
  border-color: var(--amber-500); background: rgba(200, 117, 28,0.08);
}
.hazard-label-card svg { width: 80px; height: 80px; margin: 0 auto 0.5rem; display: block; }
.hazard-label-card h4  { font-size: 0.8rem; font-weight: 700; margin: 0; color: var(--slate-300); }
.hazard-label-card p   { font-size: 0.7rem; color: var(--slate-500); margin: 0.2rem 0 0; }

/* ================================================================
   GLOBAL NAVIGATION — Applied to ALL pages via style.css
   Single source of truth: edit here, works everywhere.
   ================================================================ */

/* ── Utility Bar ── */
.utility-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10002;
  background: rgba(8, 7, 6, 0.93); /* Hybrid Dark Glassmorphism */
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 5px 0; font-size: 11px; font-family: var(--font-body);
}
.utility-bar__inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
}
.utility-bar__left, .utility-bar__right {
  display: flex; align-items: center; gap: 18px;
}
.utility-bar a {
  color: rgba(255,255,255,0.5); text-decoration: none;
  font-size: 11px; display: flex; align-items: center; gap: 5px;
  transition: color .2s; white-space: nowrap; letter-spacing: 0.2px;
}
.utility-bar a:hover { color: rgba(255,255,255,0.9); }
.utility-bar__divider { color: rgba(255,255,255,0.15); }

/* ── Main Nav ── */
.nav {
  position: fixed; top: 27px; left: 0; right: 0; z-index: 10001;
  background: rgba(8, 7, 6, 0.9); /* Hybrid Dark Glassmorphism */
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1280px; margin: 0 auto; padding: 0 24px; height: 58px;
}
.nav__logo {
  font-size: 21px; font-weight: 800; letter-spacing: -0.5px;
  color: #fff; text-decoration: none; font-family: var(--font-body);
}
.nav__logo span { color: var(--amber-500); }

/* ── Nav Links ── */
.nav__links {
  display: flex; align-items: center; gap: 2px;
}
.nav__links > a {
  color: rgba(255,255,255,0.72); text-decoration: none;
  font-size: 13px; font-weight: 500; padding: 7px 13px;
  border-radius: 8px; transition: all .2s; white-space: nowrap;
}
.nav__links > a:hover { color: #fff; background: rgba(255,255,255,0.07); }
.nav__links > a.active { color: #fff; font-weight: 600; }

/* ── Dropdown ── */
.nav__dropdown { position: relative; }
.nav__dropdown > a {
  color: rgba(255,255,255,0.72); text-decoration: none;
  font-size: 13px; font-weight: 500; padding: 7px 13px;
  border-radius: 8px; transition: all .2s; white-space: nowrap;
  display: flex; align-items: center; gap: 4px; cursor: pointer;
}
.nav__dropdown > a::after { content: '▾'; font-size: 9px; opacity: 0.5; }
.nav__dropdown > a:hover { color: #fff; background: rgba(255,255,255,0.07); }
.nav__dropdown > a.active { color: #fff; font-weight: 600; }

.nav__dropdown-menu {
  display: none;
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 230px;
  background: rgba(8, 7, 6, 0.98); /* Hybrid Dark Glassmorphism */
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; padding: 8px; z-index: 10010;
  box-shadow: 0 24px 64px rgba(0,0,0,0.55);
}
.nav__dropdown:hover .nav__dropdown-menu { display: flex; flex-direction: column; }
.nav__dropdown-menu a {
  padding: 9px 14px; border-radius: 8px; font-size: 13px;
  color: rgba(255,255,255,0.72) !important; text-decoration: none;
  display: flex; align-items: center; gap: 9px;
  transition: all .18s; font-weight: 400;
}
.nav__dropdown-menu a:hover {
  background: rgba(200,117,28,0.1) !important;
  color: var(--amber-500) !important;
}

/* ── Nav CTA button ── */
.nav__links .btn-amber, .nav__links .btn.btn-amber {
  background: var(--amber-500); color: #080706 !important;
  font-weight: 700; padding: 8px 18px;
  border-radius: 8px; font-size: 13px; white-space: nowrap;
  text-decoration: none; transition: background .2s;
}
.nav__links .btn-amber:hover { background: #FFB545; }

/* ── Burger — mobile only ── */
.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav__burger span {
  display: block; width: 22px; height: 2px;
  background: rgba(255,255,255,0.8); border-radius: 2px;
  transition: all .3s;
}

/* ── Page body offset so content isn't under fixed nav ── */
body { padding-top: 85px; }
body.card-fan-active { padding-top: 0; }

/* ── Mobile nav ── */
@media (max-width: 768px) {
  .nav__burger { display: flex; }
  .nav__links {
    display: none; flex-direction: column; align-items: flex-start;
    position: fixed; top: 85px; left: 0; right: 0;
    background: rgba(5,10,21,0.98); padding: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    gap: 4px;
  }
  .nav__links.is-open { display: flex; }
  .nav__dropdown-menu {
    position: static; box-shadow: none;
    border: none; border-radius: 0; padding: 0 0 0 16px;
    background: transparent; backdrop-filter: none;
  }
  .nav__dropdown:hover .nav__dropdown-menu { display: none; }
  .nav__dropdown.is-open .nav__dropdown-menu { display: flex; flex-direction: column; }
}

/* Honeypot fields visibility fix */
#website_url, #phone2, .hp-field {
  display: none !important;
}

/* ============================================================
   Homepage 3-Step Timeline & YYZ CTA Hook Styling
   ============================================================ */

/* 1. Process / How It Works Section */
.section--process {
  background: #080706; /* Brand Warm Black */
  color: var(--white);
  padding-block: 7rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section--process::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 80%, rgba(200, 117, 28, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 5rem;
  position: relative;
  z-index: 2;
}

.section-tag {
  display: inline-block;
  background: rgba(200, 117, 28, 0.08);
  border: 1px solid rgba(200, 117, 28, 0.2);
  color: var(--amber-400);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.section-subtitle {
  color: var(--slate-400);
  font-size: 1.1rem;
  line-height: 1.6;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  position: relative;
  z-index: 2;
}

/* Horizontal timeline connector */
.process-timeline::before {
  content: '';
  position: absolute;
  top: 72px; /* Center with the step badge/icon */
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, rgba(200, 117, 28,0.1) 0%, rgba(200, 117, 28,0.6) 50%, rgba(200, 117, 28,0.1) 100%);
  z-index: 1;
}

.process-step {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3rem 2rem;
  border-radius: 20px;
  text-align: center;
  position: relative;
  z-index: 2;
  transition: all var(--t-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  backdrop-filter: blur(10px);
}

.process-step:hover {
  transform: translateY(-8px);
  border-color: rgba(200, 117, 28, 0.3);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(200, 117, 28, 0.08);
}

.step-badge {
  position: absolute;
  top: -15px;
  background: linear-gradient(135deg, var(--amber-500), var(--amber-600));
  color: var(--navy);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(200, 117, 28, 0.3);
  letter-spacing: 0.05em;
}

.step-icon {
  width: 64px;
  height: 64px;
  background: rgba(200, 117, 28, 0.08);
  border: 1px solid rgba(200, 117, 28, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber-500);
  margin-bottom: 2rem;
  transition: all var(--t-base);
}

.process-step:hover .step-icon {
  background: var(--amber-500);
  color: var(--navy);
  transform: scale(1.1);
  box-shadow: var(--shadow-amber);
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.step-desc {
  color: var(--slate-400);
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
}

.step-link {
  display: inline-flex;
  align-items: center;
  color: var(--amber-500);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  margin-top: 1.5rem;
  transition: color var(--t-fast);
}

.step-link:hover {
  color: var(--white);
}

/* 2. YYZ Rescue CTA Hook Section */
.section--cta-hook {
  background: #0E0D0B; /* Deeper background for contrast (Charcoal) */
  padding-block: 8rem;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.section--cta-hook::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(200, 117, 28, 0.07) 0%, transparent 60%);
  pointer-events: none;
}

.cta-hook__card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 4.5rem 4rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.cta-hook__glow {
  position: absolute;
  top: -150px;
  right: -150px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(200, 117, 28, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.cta-hook__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.cta-hook__badge {
  display: inline-block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #EF4444;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  animation: pulse 2s infinite alternate;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
  100% { box-shadow: 0 0 10px 4px rgba(239, 68, 68, 0.2); }
}

.cta-hook__title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.cta-hook__desc {
  font-size: 1.15rem;
  color: var(--slate-300);
  line-height: 1.7;
  margin-bottom: 3rem;
}

.cta-hook__actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .process-timeline {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .process-timeline::before {
    display: none; /* Hide horizontal connector on mobile */
  }
  .cta-hook__card {
    padding: 3.5rem 2.5rem;
  }
}

@media (max-width: 768px) {
  .section--process {
    padding-block: 5rem;
  }
  .section-header {
    margin-bottom: 3.5rem;
  }
  .section--cta-hook {
    padding-block: 5rem;
  }
  .cta-hook__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-hook__actions .btn {
    justify-content: center;
    width: 100%;
  }
}

/* ── Responsive Navigation & Drawer (Concept overrides) ── */
@media (max-width: 1024px) {
  .nav, nav { padding: 0 32px; height: 60px; }
  .nav__links, .nav-links { display: none; }
  .nav__burger, .hamburger, .hbg { display: flex; }
  .utility-bar, .util { display: none; }
}

@media (max-width: 640px) {
  .nav, nav { padding: 0 20px; height: 56px; }
  .nav__logo-mark, .logo-mark { font-size: 22px; }
}

.hl-tagline {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--chalk3, #a89f95);
  margin-bottom: 8px;
}

.svc-n {
  color: #f59e0b;        /* amber — visible on dark card background */
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: 1 !important;
}

#btn-print-labels,
#btn-download-svg,
.label-gen-btn,
button[onclick*="printLabels"],
button[onclick*="downloadSVG"] {
  background: #f59e0b !important;
  color: #000 !important;
  font-weight: 700;
  font-size: 13px;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  display: block;
  width: 100%;
  margin-bottom: 8px;
  opacity: 1 !important;
  visibility: visible !important;
}



/* ── Admin Panels Visibility ── */
.admin-panel { display: none; }
.admin-panel.active { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

/* New tagline class for hero */
.hl-tagline {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--chalk3, #a89f95);
  margin-bottom: 8px;
}

/* Fix missing svc-n text */
.svc-n {
  color: #f59e0b !important;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: 1 !important;
}

/* Label generator buttons fix */
#btn-print-labels,
#btn-download-svg,
.label-gen-btn {
  background: #f59e0b !important;
  color: #000 !important;
  font-weight: 700;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  display: block;
  width: 100%;
  margin-bottom: 8px;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Global Table Responsive Utility */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: var(--space-4);
}
.table-responsive table {
  width: 100%;
  min-width: 600px;
}
