/* ================================================================
   ANSAR MAHMOOD — Premium Enterprise Design System (v3)
   Palette: Deep Navy · Sapphire Blue · Safety Green accent
   Fonts: Plus Jakarta Sans (headings) + Inter (body)
   Note: --gold* CSS variables now hold SAFETY GREEN values.
         Variable names retained to preserve 350+ existing usages.
   ================================================================ */

/* ── Google Fonts ─────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── CSS Custom Properties ────────────────────────────────────── */
:root {
  /* ──────────────────────────────────────────────────────────
     Executive Emerald Palette (v4 — designer-polished)
     Principles:
       • Neutral slate for dark backgrounds (not branded green)
         so emerald CTAs pop off them.
       • Two-tone emerald: muted for primary, bright for accents.
       • Warm-tinted neutrals for smoother section alternation.
       • Softer shadows with neutral slate tint.
     ────────────────────────────────────────────────────────── */

  /* Dark backgrounds — neutral slate (not green) for contrast */
  --navy:            #0F172A;   /* Slate 900 — charcoal, neutral */
  --navy-mid:        #1E293B;   /* Slate 800 */
  --navy-light:      #334155;   /* Slate 700 */
  --navy-xlight:     #F1F5F9;   /* Slate 100 — light wash */

  /* Primary brand — restrained executive emerald */
  --blue:            #059669;   /* Emerald 600 — primary (restrained) */
  --blue-dark:       #047857;   /* Emerald 700 — hover/active */
  --blue-light:      #6EE7B7;   /* Emerald 300 — soft highlight */
  --blue-xlight:     #ECFDF5;   /* Emerald 50 — pale wash */
  --blue-bright:     #10B981;   /* Emerald 500 — bright moments */

  /* Accent — warm ochre gold for premium moments (CTAs, headline highlights, premium badges) */
  --gold:            #C9A34D;   /* Warm ochre gold — primary accent */
  --gold-dark:       #A88230;   /* Deeper gold */
  --gold-light:      #E2C275;   /* Soft gold */
  --gold-xlight:     #FAF3DF;   /* Cream */
  --accent:          #C9A34D;
  --accent-dark:     #A88230;
  --accent-light:    #E2C275;
  --accent-xlight:   #FAF3DF;

  /* Mint tone for on-dark-bg accents */
  --accent-mint:     #6EE7B7;
  --accent-mint-soft:#A7F3D0;

  /* Neutrals — warm-tinted slate for smoother feel */
  --white:           #ffffff;
  --gray-50:         #F8FAFC;   /* section alternation */
  --gray-100:        #F1F5F9;   /* subtle fills */
  --gray-200:        #E2E8F0;   /* borders */
  --gray-300:        #CBD5E1;
  --gray-400:        #94A3B8;
  --gray-500:        #64748B;
  --gray-600:        #475569;
  --gray-700:        #334155;
  --gray-800:        #1E293B;
  --gray-900:        #0F172A;
  --text:            #0F172A;   /* near-black slate for body */
  --text-muted:      #475569;   /* refined secondary text */
  --text-light:      #64748B;

  /* Semantic */
  --success:         #10b981;
  --success-light:   #d1fae5;
  --warning:         #F59E0B;
  --warning-light:   #FEF3C7;
  --danger:          #EF4444;
  --danger-light:    #FEE2E2;

  /* Gradients — softer, more sophisticated */
  --grad-navy:       linear-gradient(135deg, #0F172A 0%, #1E293B 55%, #334155 100%);
  --grad-navy-soft:  linear-gradient(160deg, #0F172A 0%, #1E293B 60%, #0A1020 100%);
  --grad-sapphire:   linear-gradient(135deg, #10B981 0%, #047857 100%);
  --grad-gold:       linear-gradient(135deg, #E2C275 0%, #C9A34D 50%, #A88230 100%);
  --grad-hero-glow:  radial-gradient(ellipse 70% 55% at 78% 35%, rgba(16,185,129,.18) 0%, transparent 60%),
                     radial-gradient(ellipse 55% 45% at 10% 85%, rgba(201,163,77,.14) 0%, transparent 55%),
                     linear-gradient(160deg, #0F172A 0%, #1E293B 45%, #0A1020 100%);
  --grad-card-hover: linear-gradient(135deg, rgba(16,185,129,.05) 0%, rgba(5,150,105,.02) 100%);
  --grad-text-premium: linear-gradient(135deg, #E2C275 0%, #C9A34D 55%, #A88230 100%);

  /* Glass / surface effects */
  --glass-bg:        rgba(255,255,255,.06);
  --glass-border:    rgba(255,255,255,.12);
  --glass-blur:      blur(22px);
  --surface-elev:    rgba(255,255,255,.78);

  /* Typography */
  --font-heading:    'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Border Radius */
  --radius-xs:       4px;
  --radius-sm:       10px;
  --radius:          16px;
  --radius-lg:       24px;
  --radius-xl:       40px;
  --radius-full:     9999px;

  /* Borders — neutral slate, softer */
  --border-soft:     1px solid rgba(15,23,42,.05);
  --border-muted:    1px solid rgba(15,23,42,.08);
  --border-crisp:    1px solid rgba(15,23,42,.12);

  /* Shadows — softer, neutral slate-tinted for smoothness */
  --shadow-xs:       0 1px 2px rgba(15,23,42,.04);
  --shadow-sm:       0 2px 4px rgba(15,23,42,.04), 0 1px 2px rgba(15,23,42,.03);
  --shadow:          0 4px 14px -6px rgba(15,23,42,.10), 0 2px 4px rgba(15,23,42,.04);
  --shadow-md:       0 10px 28px -12px rgba(15,23,42,.14), 0 4px 8px rgba(15,23,42,.04);
  --shadow-lg:       0 20px 42px -16px rgba(15,23,42,.18), 0 6px 14px rgba(15,23,42,.05);
  --shadow-xl:       0 32px 64px -22px rgba(15,23,42,.22), 0 10px 20px rgba(15,23,42,.06);
  --shadow-gold:     0 10px 24px -6px rgba(201,163,77,.40);
  --shadow-blue:     0 10px 24px -6px rgba(5,150,105,.28);
  --shadow-ring:     0 0 0 3px rgba(16,185,129,.14);

  /* Transitions — premium motion */
  --ease-out:        cubic-bezier(.22,.61,.36,1);
  --ease-smooth:     cubic-bezier(.4,0,.2,1);
  --ease-spring:     cubic-bezier(.34,1.56,.64,1);
  --transition-fast: all .18s var(--ease-out);
  --transition:      all .28s var(--ease-out);
  --transition-slow: all .5s var(--ease-smooth);

  /* Layout */
  --max-width:       1240px;
  --section-pad:     104px;
  --section-pad-sm:  64px;
  --section-pad-lg:  140px;
  --nav-height:      80px;
  --top-bar-height:  44px;
}

/* ── Theme Presets ────────────────────────────────────────────
   Switched via <html data-theme="..."> injected by
   includes/theme-prepend.php from data/settings.json.
   Only the navy family changes between themes — blue and
   green accent stay identical across all themes.
   ──────────────────────────────────────────────────────────── */

/* OCEAN — deep ocean-navy, softer than pure executive */
:root[data-theme="ocean"] {
  --navy:            #0E3A5F;
  --navy-mid:        #134D80;
  --navy-light:      #1D6FB6;
  --grad-navy:       linear-gradient(135deg, #0E3A5F 0%, #134D80 50%, #1D6FB6 100%);
  --grad-navy-soft:  linear-gradient(160deg, #0E3A5F 0%, #134D80 60%, #0A2D49 100%);
  --grad-hero-glow:  radial-gradient(ellipse 70% 55% at 78% 35%, rgba(16,185,129,.22) 0%, transparent 60%),
                     radial-gradient(ellipse 55% 45% at 10% 85%, rgba(201,163,77,.16) 0%, transparent 55%),
                     linear-gradient(160deg, #0E3A5F 0%, #134D80 45%, #0A2D49 100%);
  --shadow-xs:       0 1px 2px rgba(14,58,95,.06);
  --shadow-sm:       0 2px 6px rgba(14,58,95,.06), 0 1px 2px rgba(14,58,95,.04);
  --shadow:          0 6px 20px -8px rgba(14,58,95,.20), 0 2px 6px rgba(14,58,95,.06);
  --shadow-md:       0 14px 34px -14px rgba(14,58,95,.30), 0 4px 10px rgba(14,58,95,.08);
  --shadow-lg:       0 24px 48px -16px rgba(14,58,95,.34), 0 8px 16px rgba(14,58,95,.08);
  --shadow-xl:       0 40px 72px -24px rgba(14,58,95,.42), 0 12px 24px rgba(14,58,95,.10);
}

/* ROYAL — matches the deeper blue in your new logo */
:root[data-theme="royal"] {
  --navy:            #164C9C;
  --navy-mid:        #1E5FBD;
  --navy-light:      #2F7FDA;
  --grad-navy:       linear-gradient(135deg, #164C9C 0%, #1E5FBD 50%, #2F7FDA 100%);
  --grad-navy-soft:  linear-gradient(160deg, #164C9C 0%, #1E5FBD 60%, #0F3B7C 100%);
  --grad-hero-glow:  radial-gradient(ellipse 70% 55% at 78% 35%, rgba(16,185,129,.22) 0%, transparent 60%),
                     radial-gradient(ellipse 55% 45% at 10% 85%, rgba(201,163,77,.16) 0%, transparent 55%),
                     linear-gradient(160deg, #164C9C 0%, #1E5FBD 45%, #0F3B7C 100%);
  --shadow:          0 6px 20px -8px rgba(22,76,156,.22), 0 2px 6px rgba(22,76,156,.06);
  --shadow-md:       0 14px 34px -14px rgba(22,76,156,.32), 0 4px 10px rgba(22,76,156,.08);
  --shadow-lg:       0 24px 48px -16px rgba(22,76,156,.36), 0 8px 16px rgba(22,76,156,.10);
  --shadow-xl:       0 40px 72px -24px rgba(22,76,156,.44), 0 12px 24px rgba(22,76,156,.10);
}

/* SLATE — cooler, grey-navy, modern SaaS look */
:root[data-theme="slate"] {
  --navy:            #1E293B;
  --navy-mid:        #334155;
  --navy-light:      #475569;
  --grad-navy:       linear-gradient(135deg, #1E293B 0%, #334155 50%, #475569 100%);
  --grad-navy-soft:  linear-gradient(160deg, #1E293B 0%, #334155 60%, #141C2A 100%);
  --grad-hero-glow:  radial-gradient(ellipse 70% 55% at 78% 35%, rgba(16,185,129,.20) 0%, transparent 60%),
                     radial-gradient(ellipse 55% 45% at 10% 85%, rgba(201,163,77,.14) 0%, transparent 55%),
                     linear-gradient(160deg, #1E293B 0%, #334155 45%, #141C2A 100%);
  --shadow:          0 6px 20px -8px rgba(30,41,59,.20), 0 2px 6px rgba(30,41,59,.06);
  --shadow-md:       0 14px 34px -14px rgba(30,41,59,.30), 0 4px 10px rgba(30,41,59,.08);
  --shadow-lg:       0 24px 48px -16px rgba(30,41,59,.34), 0 8px 16px rgba(30,41,59,.08);
  --shadow-xl:       0 40px 72px -24px rgba(30,41,59,.42), 0 12px 24px rgba(30,41,59,.10);
}

/* MIDNIGHT — classic mid-navy, balanced */
:root[data-theme="midnight"] {
  --navy:            #14274E;
  --navy-mid:        #1E3A6E;
  --navy-light:      #2E5599;
  --grad-navy:       linear-gradient(135deg, #14274E 0%, #1E3A6E 50%, #2E5599 100%);
  --grad-navy-soft:  linear-gradient(160deg, #14274E 0%, #1E3A6E 60%, #0E1C3C 100%);
  --grad-hero-glow:  radial-gradient(ellipse 70% 55% at 78% 35%, rgba(16,185,129,.22) 0%, transparent 60%),
                     radial-gradient(ellipse 55% 45% at 10% 85%, rgba(201,163,77,.16) 0%, transparent 55%),
                     linear-gradient(160deg, #14274E 0%, #1E3A6E 45%, #0E1C3C 100%);
  --shadow:          0 6px 20px -8px rgba(20,39,78,.20), 0 2px 6px rgba(20,39,78,.06);
  --shadow-md:       0 14px 34px -14px rgba(20,39,78,.30), 0 4px 10px rgba(20,39,78,.08);
  --shadow-lg:       0 24px 48px -16px rgba(20,39,78,.34), 0 8px 16px rgba(20,39,78,.08);
  --shadow-xl:       0 40px 72px -24px rgba(20,39,78,.42), 0 12px 24px rgba(20,39,78,.10);
}

/* EXECUTIVE — original near-black navy (explicit alias for default) */
:root[data-theme="executive"] {
  /* Identical to :root default above — provided so dropdown works */
}

/* FOREST — deep emerald, monochromatic with the green accent */
:root[data-theme="forest"] {
  --navy:            #064E3B;
  --navy-mid:        #065F46;
  --navy-light:      #047857;
  --navy-xlight:     #ECFDF5;
  --grad-navy:       linear-gradient(135deg, #064E3B 0%, #065F46 50%, #047857 100%);
  --grad-navy-soft:  linear-gradient(160deg, #064E3B 0%, #065F46 60%, #032A21 100%);
  --grad-hero-glow:  radial-gradient(ellipse 70% 55% at 78% 35%, rgba(16,185,129,.26) 0%, transparent 60%),
                     radial-gradient(ellipse 55% 45% at 10% 85%, rgba(201,163,77,.14) 0%, transparent 55%),
                     linear-gradient(160deg, #064E3B 0%, #065F46 45%, #032A21 100%);
  --shadow-xs:       0 1px 2px rgba(6,78,59,.06);
  --shadow-sm:       0 2px 6px rgba(6,78,59,.06), 0 1px 2px rgba(6,78,59,.04);
  --shadow:          0 6px 20px -8px rgba(6,78,59,.22), 0 2px 6px rgba(6,78,59,.06);
  --shadow-md:       0 14px 34px -14px rgba(6,78,59,.32), 0 4px 10px rgba(6,78,59,.08);
  --shadow-lg:       0 24px 48px -16px rgba(6,78,59,.36), 0 8px 16px rgba(6,78,59,.10);
  --shadow-xl:       0 40px 72px -24px rgba(6,78,59,.44), 0 12px 24px rgba(6,78,59,.12);
}

/* ── Reset & Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }
table { border-collapse: collapse; }

/* ── Typography ───────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}

h1 { font-size: clamp(2.2rem, 5.5vw, 4rem);    font-weight: 800; line-height: 1.08; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.75rem); font-weight: 700; line-height: 1.15; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.65rem);font-weight: 700; line-height: 1.25; }
h4 { font-size: 1.2rem;  font-weight: 700; }
h5 { font-size: 1.05rem; font-weight: 700; }
h6 { font-size: .95rem;  font-weight: 700; }

p { color: var(--text-muted); line-height: 1.8; font-size: 1.05rem; }

.lead {
  font-size: 1.2rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.eyebrow--blue { color: var(--blue-dark); }
.eyebrow--white { color: rgba(255,255,255,.75); }
.eyebrow--gold  { color: var(--gold-dark); }

/* Premium gradient text accent */
.text-premium {
  background: var(--grad-text-premium);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: premium-shift 8s ease infinite;
}
@keyframes premium-shift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* ── Layout Helpers ───────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 768px) { .container { padding: 0 18px; } }

.section       { padding: var(--section-pad) 0; }
.section-sm    { padding: var(--section-pad-sm) 0; }
.section-lg    { padding: var(--section-pad-lg) 0; }
.section-white { background: var(--white); }
.section-gray  { background: var(--gray-50); }
.section-navy  { background: var(--navy); }
.section-navy-mid { background: var(--navy-mid); }

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-header h2 {
  margin-bottom: 18px;
  letter-spacing: -.02em;
}
.section-header h2 .accent {
  position: relative;
  white-space: nowrap;
}
.section-header h2 .accent::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -4px;
  height: 8px;
  background: linear-gradient(90deg, rgba(16,185,129,.2), rgba(16,185,129,.2));
  border-radius: 8px;
  z-index: -1;
}
.section-header p  { font-size: 1.1rem; line-height: 1.75; }

/* ── Grid Utilities ───────────────────────────────────────────── */
.grid   { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.flex          { display: flex; }
.flex-center   { display: flex; align-items: center; justify-content: center; }
.flex-between  { display: flex; align-items: center; justify-content: space-between; }
.items-center  { align-items: center; }
.gap-sm        { gap: 12px; }
.gap           { gap: 24px; }
.gap-lg        { gap: 40px; }

/* ── Color Utilities ──────────────────────────────────────────── */
.text-white  { color: var(--white) !important; }
.text-navy   { color: var(--navy) !important; }
.text-blue   { color: var(--blue) !important; }
.text-gold   { color: var(--gold) !important; }
.text-muted  { color: var(--text-muted) !important; }
.text-center { text-align: center; }

/* ── Buttons — premium treatment ──────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: .94rem;
  font-weight: 700;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .25s var(--ease-out), color .25s var(--ease-out), border-color .25s var(--ease-out);
  white-space: nowrap;
  border: 1.5px solid transparent;
  cursor: pointer;
  letter-spacing: .01em;
  line-height: 1;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.22) 50%, transparent 80%);
  transform: translateX(-110%);
  transition: transform .7s var(--ease-out);
  pointer-events: none;
  z-index: 1;
}
.btn:hover::before { transform: translateX(110%); }
.btn > * { position: relative; z-index: 2; }
.btn:active { transform: translateY(0) scale(.98); }
.btn:focus-visible { outline: none; box-shadow: var(--shadow-ring); }

.btn-xl { padding: 18px 42px; font-size: 1.04rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-sm { padding: 10px 22px; font-size: .85rem; }
.btn-xs { padding: 7px 16px;  font-size: .78rem; }

/* Primary — Sapphire gradient */
.btn-primary {
  background: var(--grad-sapphire);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 6px 16px -6px rgba(16,185,129,.55);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-blue);
}

/* Gold CTA — Premium accent */
.btn-gold {
  background: var(--grad-gold);
  color: var(--navy);
  border-color: transparent;
  box-shadow: 0 8px 20px -8px rgba(201,163,77,.55);
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
  filter: brightness(1.04);
}

/* Outline White — for dark backgrounds */
.btn-outline-white {
  background: rgba(255,255,255,.04);
  color: var(--white);
  border-color: rgba(255,255,255,.28);
  backdrop-filter: blur(10px);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.6);
  transform: translateY(-3px);
}

/* Outline Navy — for light backgrounds */
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: rgba(15,23,42,.20);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* Outline Blue */
.btn-outline-blue {
  background: transparent;
  color: var(--blue);
  border-color: rgba(16,185,129,.35);
}
.btn-outline-blue:hover {
  background: var(--grad-sapphire);
  color: var(--white);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: var(--shadow-blue);
}

/* Ghost */
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: transparent;
}
.btn-ghost:hover { background: var(--gray-100); color: var(--navy); }

/* ── Top Bar ──────────────────────────────────────────────────── */
.top-bar {
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy-mid) 100%);
  height: var(--top-bar-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.08);
  position: relative;
  z-index: 1001;
  box-shadow: 0 1px 0 rgba(16,185,129,.12);
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar__left,
.top-bar__right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-bar a,
.top-bar span {
  font-size: .8rem;
  color: rgba(255,255,255,.7);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: var(--transition-fast);
}

.top-bar a:hover { color: var(--gold); }

.top-bar__cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 5px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700 !important;
}

.top-bar__cta:hover { background: var(--gold-dark) !important; }

@media (max-width: 768px) {
  .top-bar { display: none; }
}

/* ── Header / Navigation ──────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: transparent;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background .3s ease, box-shadow .3s ease, height .3s ease;
}

.header--transparent { background: transparent; }

.header.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 8px 32px -12px rgba(15,23,42,.15), 0 1px 0 rgba(15,23,42,.06);
  height: 68px;
  border-bottom: 1px solid rgba(28,38,71,.06);
}

.header .container { display: flex; align-items: center; gap: 32px; }

/* Logo */
.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.logo-img {
  height: 44px;
  width: auto;
  transition: var(--transition);
  display: block;
}
.header.scrolled .logo-img { height: 38px; }

/* Logo text fallback */
.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: -.02em;
  transition: var(--transition);
}
.logo-text span { color: var(--gold); }
.header.scrolled .logo-text { color: var(--navy); }

/* Desktop Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: .9rem;
  font-weight: 600;
  color: rgba(255,255,255,.88);
  padding: 8px 14px;
  border-radius: var(--radius-xs);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--grad-gold);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width .3s var(--ease-out);
}
.nav-link:hover::after,
.nav-link.active::after { width: calc(100% - 24px); }

.nav-link:hover,
.nav-link.active {
  color: var(--gold-light);
}

.header.scrolled .nav-link {
  color: var(--gray-700);
}
.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
  color: var(--blue-dark);
}
.header.scrolled .nav-link::after { background: var(--grad-sapphire); }

.nav-item {
  position: relative;
}

.nav-item .nav-link svg,
.nav-item .nav-link i.fa-chevron-down {
  font-size: .65rem;
  transition: transform .2s ease;
}

.nav-item:hover .nav-link i.fa-chevron-down {
  transform: rotate(180deg);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* Mega Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  pointer-events: none;
  border: 1px solid var(--gray-200);
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  top: calc(100% + 6px);
}

.dropdown--mega {
  width: 720px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 0;
}

.mega-col {
  padding: 0 20px;
  border-right: 1px solid var(--gray-100);
}
.mega-col:last-child { border-right: none; }
.mega-col:first-child { padding-left: 0; }

.mega-col__heading {
  font-family: var(--font-heading);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-100);
}

.mega-col a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--text);
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: var(--transition-fast);
}
.mega-col a:hover {
  color: var(--blue-dark);
  padding-left: 4px;
  background: linear-gradient(90deg, var(--blue-xlight), transparent);
  margin: 0 -8px;
  padding: 8px 12px;
  border-radius: var(--radius-xs);
}
.mega-col a i { font-size: .75rem; color: var(--text-light); width: 14px; }
.mega-col a:hover i { color: var(--blue-dark); }

.mega-col--cta { border-right: none; }

.mega-cta-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius);
  padding: 24px 20px;
  min-width: 180px;
}

.mega-cta-card h5 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 8px;
}

.mega-cta-card p {
  color: rgba(255,255,255,.65);
  font-size: .82rem;
  margin-bottom: 18px;
  line-height: 1.5;
}

/* Menu Toggle (hamburger) */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.header.scrolled .menu-toggle span { background: var(--navy); }

.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

@media (max-width: 1024px) {
  .nav, .nav-actions .nav-link { display: none; }
  .menu-toggle { display: flex; margin-left: auto; }
}

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 90vw;
  height: 100%;
  background: var(--white);
  z-index: 9999;
  transition: right .35s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
}

.mobile-nav.open { right: 0; }

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,22,40,.6);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-overlay.show {
  opacity: 1;
  visibility: visible;
}

.mobile-nav__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-100);
}

.mobile-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1rem;
  transition: var(--transition-fast);
}
.mobile-close:hover { background: var(--gray-200); }

.mobile-nav__links {
  padding: 16px 0;
  flex: 1;
}

.mobile-nav__section-title {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 12px 24px 6px;
}

.mobile-nav__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 24px;
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--gray-50);
  transition: var(--transition-fast);
}

.mobile-nav__link:hover {
  color: var(--blue);
  background: var(--blue-xlight);
}

.mobile-nav__link i {
  width: 20px;
  color: var(--text-muted);
  font-size: .9rem;
}

.mobile-nav__sub {
  padding-left: 44px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-muted);
}

.mobile-nav__cta {
  padding: 20px 24px;
  border-top: 1px solid var(--gray-100);
  background: var(--gray-50);
}

/* ── Hero Section ─────────────────────────────────────────────── */
.hero {
  min-height: 88vh;
  min-height: 88svh;
  background: var(--navy);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--grad-hero-glow);
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 500px at 50% -10%, rgba(255,255,255,.05) 0%, transparent 60%),
    radial-gradient(circle at 85% 110%, rgba(16,185,129,.18) 0%, transparent 45%);
  pointer-events: none;
}

.hero__pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 56px 56px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 52px;
  padding-top: 60px;
  padding-bottom: 60px;
  position: relative;
  z-index: 2;
}

.hero__content { max-width: 680px; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(16,185,129,.16), rgba(16,185,129,.12));
  border: 1px solid rgba(16,185,129,.32);
  color: var(--gold-light);
  font-size: .76rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 22px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px -8px rgba(16,185,129,.3), inset 0 1px 0 rgba(255,255,255,.1);
}

.hero__badge-dot {
  width: 9px;
  height: 9px;
  background: var(--blue-light);
  border-radius: 50%;
  animation: pulse 2s infinite;
  box-shadow: 0 0 0 0 rgba(127,168,245,.9), 0 0 14px rgba(127,168,245,.85);
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(.75); }
}

.hero__headline {
  color: var(--white);
  margin-bottom: 18px;
  font-size: clamp(1.85rem, 3.6vw, 3.1rem);
  font-weight: 800;
  line-height: 1.08;
}

.hero__headline .text-gold  {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero__headline .text-blue  { color: var(--blue-light); }
.hero__headline .text-green { color: var(--accent-mint); }

.hero__sub {
  font-size: 1.02rem;
  color: rgba(255,255,255,.70);
  line-height: 1.72;
  margin-bottom: 26px;
  max-width: 560px;
}

/* ── Credential Pills — category-coloured ─────────────────────── */
.hero__creds {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.cred-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .79rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
  cursor: default;
}
.cred-pill--safety {
  background: rgba(16,185,129,.14);
  border: 1px solid rgba(16,185,129,.32);
  color: var(--blue-light);
  backdrop-filter: blur(10px);
}
.cred-pill--tech {
  background: rgba(16,185,129,.12);
  border: 1px solid rgba(16,185,129,.30);
  color: var(--gold-light);
  backdrop-filter: blur(10px);
}
.cred-pill--global {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
}
.cred-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.28);
}
.cred-pill--safety i { color: var(--blue-light); font-size: .75rem; }
.cred-pill--tech    i { color: var(--gold); font-size: .75rem; }
.cred-pill--global  i { color: rgba(255,255,255,.65); font-size: .75rem; }

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Hero Professional Card ──────────────────────────────────── */
.hero__visual { flex-shrink: 0; }

.hero__pro-card {
  position: relative;
  width: 320px;
  background: linear-gradient(155deg, rgba(255,255,255,.09), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 28px;
  padding: 32px 26px 26px;
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  box-shadow:
    0 48px 100px -30px rgba(0,0,0,.65),
    0 24px 48px -20px rgba(16,185,129,.18),
    inset 0 1px 0 rgba(255,255,255,.14),
    inset 0 -1px 0 rgba(0,0,0,.3);
  text-align: center;
  transition: transform .6s var(--ease-out);
}
.hero__pro-card:hover { transform: translateY(-6px); }

/* Gold top accent stripe */
.hero__pro-card::before {
  content: '';
  position: absolute;
  top: 0; left: 28px; right: 28px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), #f0d080, var(--gold), transparent);
  border-radius: 0 0 4px 4px;
}

/* Floating top badge */
.hero__pro-badge {
  position: absolute;
  top: -14px; right: 20px;
  background: var(--grad-sapphire);
  color: #fff;
  font-size: .70rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  letter-spacing: .04em;
  white-space: nowrap;
  box-shadow: 0 10px 22px -6px rgba(16,185,129,.55), inset 0 1px 0 rgba(255,255,255,.3);
}
.hero__pro-badge i { color: #fff; margin-right: 4px; opacity: .9; }

/* Avatar ring */
.hero__avatar-wrap {
  position: relative;
  width: 144px;
  height: 144px;
  margin: 10px auto 22px;
}
.hero__avatar-ring {
  width: 144px;
  height: 144px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-light), var(--navy-mid));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 3px var(--gold), 0 8px 32px rgba(0,0,0,.5);
}
.hero__avatar-monogram {
  font-family: var(--font-heading);
  font-size: 2.9rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -.02em;
  line-height: 1;
}

/* Orbiting credential badges */
.hero__orbit-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .67rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  animation: float-badge 3s ease-in-out infinite;
}
.hero__orbit-badge--1 {
  top: -10px; right: -64px;
  background: rgba(16,185,129,.18);
  border: 1px solid rgba(16,185,129,.45);
  color: var(--blue-light);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px -6px rgba(16,185,129,.4);
  animation-delay: 0s;
}
.hero__orbit-badge--2 {
  bottom: 8px; right: -72px;
  background: rgba(16,185,129,.16);
  border: 1px solid rgba(16,185,129,.42);
  color: var(--gold-light);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px -6px rgba(16,185,129,.35);
  animation-delay: 1.1s;
}
.hero__orbit-badge--3 {
  top: 28px; left: -72px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  animation-delay: 2.2s;
}
@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

.hero__pro-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.hero__pro-title {
  font-size: .74rem;
  color: rgba(255,255,255,.48);
  margin-bottom: 20px;
  line-height: 1.45;
}

/* Stats bar */
.hero__pro-stats {
  display: flex;
  align-items: center;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  padding: 14px 8px;
  margin-bottom: 16px;
}
.hero__pro-stat  { flex: 1; text-align: center; }
.hero__pro-stat strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--gold);
  line-height: 1;
}
.hero__pro-stat span {
  display: block;
  font-size: .66rem;
  color: rgba(255,255,255,.48);
  font-weight: 500;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.hero__pro-divider {
  width: 1px; height: 32px;
  background: rgba(255,255,255,.10);
  flex-shrink: 0;
}

/* Verified status chip */
.hero__pro-verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .71rem;
  font-weight: 600;
  color: var(--blue-light);
  background: rgba(16,185,129,.12);
  border: 1px solid rgba(16,185,129,.28);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(10px);
}
.hero__pro-verified i { font-size: .78rem; color: var(--blue-light); }

/* Scroll hint */
.hero__scroll-hint {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.35);
  font-size: .77rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  z-index: 2;
}
.hero__scroll-arrow {
  width: 24px; height: 24px;
  border-right: 2px solid rgba(255,255,255,.25);
  border-bottom: 2px solid rgba(255,255,255,.25);
  transform: rotate(45deg);
  animation: scroll-bounce 1.5s infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%       { transform: rotate(45deg) translateY(6px); }
}

@media (max-width: 1100px) {
  .hero .container { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .hero__content   { max-width: 640px; }
  .hero__creds, .hero__actions { justify-content: center; }
  .hero__visual    { display: none; }
}
@media (max-width: 640px) {
  .hero { min-height: auto; padding: 120px 0 80px; }
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}

/* ── Trust Bar — Scrolling Credential Marquee ───────────────── */
.trust-bar {
  background: linear-gradient(180deg, var(--navy-mid) 0%, var(--navy) 100%);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  overflow: hidden;
  position: relative;
}
.trust-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16,185,129,.4), rgba(16,185,129,.4), transparent);
}
.trust-bar__header {
  padding: 16px 0 12px;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.trust-bar__label {
  font-size: .71rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
  display: flex;
  align-items: center;
  gap: 16px;
}
.trust-bar__label::before,
.trust-bar__label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.08);
}

/* Marquee wrapper with fade edges */
.trust-marquee-wrapper {
  padding: 14px 0;
  overflow: hidden;
  position: relative;
}
.trust-marquee-wrapper::before,
.trust-marquee-wrapper::after {
  content: '';
  position: absolute; top: 0; bottom: 0;
  width: 80px; z-index: 2; pointer-events: none;
}
.trust-marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--navy-mid), transparent);
}
.trust-marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--navy-mid), transparent);
}

.trust-marquee {
  display: flex;
  width: max-content;
  animation: marquee-scroll 38s linear infinite;
}
.trust-marquee:hover { animation-play-state: paused; }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.trust-marquee__track {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
}

/* Individual credential chip */
.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 10px 16px;
  white-space: nowrap;
  transition: var(--transition-fast);
  cursor: default;
}
.trust-chip:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(16,185,129,.32);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -8px rgba(16,185,129,.2);
}
.trust-chip__icon {
  width: 34px; height: 34px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: .88rem;
  flex-shrink: 0;
}
.trust-chip__icon--green { background: rgba(16,185,129,.18); color: var(--blue-light); }
.trust-chip__icon--gold  { background: rgba(201,163,77,.18); color: var(--gold-light); }
.trust-chip__icon--blue  { background: rgba(127,168,245,.22); color: var(--blue-light); }

.trust-chip__text { display: flex; flex-direction: column; gap: 1px; }
.trust-chip__name {
  font-family: var(--font-heading);
  font-size: .82rem; font-weight: 700;
  color: rgba(255,255,255,.88);
  letter-spacing: .02em;
}
.trust-chip__sub {
  font-size: .67rem;
  color: rgba(255,255,255,.40);
  font-weight: 500;
}

.trust-sep {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .trust-marquee { animation-duration: 22s; }
}

/* ── Service Cards — premium, elevated ───────────────────────── */
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 0;
  border: 1px solid rgba(28,38,71,.08);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s var(--ease-out);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  isolation: isolate;
}

/* Flat variant (no __top/__foot wrappers) — gets its own padding */
.service-card:not(:has(.service-card__top)) {
  padding: 30px 28px 26px;
}

.service-card__top {
  padding: 30px 28px 22px;
  border-bottom: 1px solid var(--gray-100);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card__foot {
  padding: 18px 28px;
  background: linear-gradient(180deg, rgba(247,249,252,.6), rgba(247,249,252,1));
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .3s var(--ease-out);
}

.service-card:hover .service-card__foot {
  background: linear-gradient(180deg, rgba(239,245,255,.6), var(--blue-xlight));
}

/* subtle gradient sheen on hover */
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-card-hover);
  opacity: 0;
  transition: opacity .45s var(--ease-out);
  z-index: -1;
  pointer-events: none;
}

/* top accent line, draws in on hover */
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 24px; right: 24px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--grad-sapphire);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s var(--ease-out);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(16,185,129,.22);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover::after  { transform: scaleX(1); }

.service-card__icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-xlight) 0%, #DCE8FE 100%);
  color: var(--blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 22px;
  transition: transform .45s var(--ease-spring), background .3s, color .3s, box-shadow .3s;
  flex-shrink: 0;
  position: relative;
  box-shadow:
    inset 0 0 0 1px rgba(16,185,129,.12),
    0 6px 16px -6px rgba(16,185,129,.18);
}
.service-card__icon::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(16,185,129,.25), transparent 60%);
  opacity: 0;
  transition: opacity .4s var(--ease-out);
  z-index: -1;
  filter: blur(6px);
}

.service-card:hover .service-card__icon {
  background: var(--grad-sapphire);
  color: var(--white);
  transform: scale(1.07) rotate(-3deg);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.2),
    0 12px 28px -8px rgba(16,185,129,.55);
}
.service-card:hover .service-card__icon::after { opacity: 1; }

.service-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--blue-dark);
  background: var(--blue-xlight);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  border: 1px solid rgba(16,185,129,.18);
}

.service-card__title {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
  letter-spacing: -.01em;
}

.service-card__desc {
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.7;
  flex: 1;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--blue-dark);
  font-size: .88rem;
  transition: var(--transition);
  margin-top: 16px;
}
.service-card__link i { transition: transform .3s var(--ease-out); }
.service-card__link:hover { color: var(--navy); }
.service-card__link:hover i { transform: translateX(4px); }

.service-card__arr {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-dark);
  font-size: .8rem;
  transition: var(--transition);
  flex-shrink: 0;
}

.service-card:hover .service-card__arr {
  background: var(--grad-sapphire);
  color: var(--white);
  border-color: transparent;
  transform: translateX(4px);
  box-shadow: 0 8px 20px -6px rgba(16,185,129,.5);
}

/* Gold variant */
.service-card--gold .service-card__icon {
  background: linear-gradient(135deg, #FAF3DF 0%, #F0E4BA 100%);
  color: var(--gold-dark);
  box-shadow:
    inset 0 0 0 1px rgba(201,163,77,.18),
    0 6px 16px -6px rgba(201,163,77,.22);
}
.service-card--gold:hover .service-card__icon {
  background: var(--grad-gold);
  color: var(--navy);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.25),
    0 12px 28px -8px rgba(201,163,77,.55);
}
.service-card--gold .service-card__tag {
  color: var(--gold-dark);
  background: var(--gold-xlight);
  border-color: rgba(201,163,77,.28);
}
.service-card--gold .service-card__link { color: var(--gold-dark); }
.service-card--gold .service-card__arr { color: var(--gold-dark); border-color: rgba(201,163,77,.28); }
.service-card--gold:hover .service-card__arr {
  background: var(--grad-gold);
  color: var(--navy);
  border-color: transparent;
}
.service-card--gold::after {
  background: var(--grad-gold);
}

/* Navy variant */
.service-card--navy .service-card__icon {
  background: linear-gradient(135deg, #E8EDF8 0%, #D8E1F3 100%);
  color: var(--navy);
}
.service-card--navy:hover .service-card__icon {
  background: var(--grad-navy);
  color: var(--gold-light);
}

/* Compact variant for dense grids */
.service-card--compact .service-card__icon { width: 52px; height: 52px; font-size: 1.25rem; }

/* ── Stats Strip ──────────────────────────────────────────────── */
.stats-strip {
  background: var(--grad-navy-soft);
  position: relative;
  overflow: hidden;
}
.stats-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 0%, rgba(16,185,129,.12), transparent 60%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(16,185,129,.10), transparent 60%);
  pointer-events: none;
}
.stats-strip > * { position: relative; z-index: 1; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  padding: 60px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.08);
  transition: background .35s var(--ease-out);
  position: relative;
}

.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(255,255,255,.04); }
.stat-item:hover .stat-number { transform: translateY(-3px); }

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.2vw, 3.2rem);
  font-weight: 800;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -.02em;
  transition: transform .4s var(--ease-spring);
}

.stat-label {
  display: block;
  color: rgba(255,255,255,.55);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.stat-item__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(184,126,24,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  margin: 0 auto 16px;
}

@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid rgba(255,255,255,.08); }
  .stat-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,.08); }
}

@media (max-width: 500px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Feature Cards — premium ─────────────────────────────────── */
.feature-card {
  padding: 36px 30px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(28,38,71,.08);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 40%;
  height: 2px;
  background: var(--grad-sapphire);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease-out);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(16,185,129,.2);
}
.feature-card:hover::before { transform: scaleX(1); }

.feature-card__icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: var(--grad-navy);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 22px;
  box-shadow: 0 12px 24px -10px rgba(15,23,42,.5), inset 0 1px 0 rgba(255,255,255,.08);
  transition: transform .4s var(--ease-spring);
}
.feature-card:hover .feature-card__icon { transform: scale(1.08) rotate(-3deg); }

.feature-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
  letter-spacing: -.01em;
}

.feature-card__desc {
  color: var(--text-muted);
  font-size: .94rem;
  line-height: 1.75;
}

/* ── Industries Grid ──────────────────────────────────────────── */
.industry-card {
  background: var(--white);
  border: 1px solid rgba(28,38,71,.08);
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.industry-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 50% 0%, rgba(16,185,129,.08), transparent 60%);
  opacity: 0;
  transition: opacity .4s var(--ease-out);
  pointer-events: none;
}

.industry-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(16,185,129,.2);
}
.industry-card:hover::before { opacity: 1; }

.industry-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-xlight), #E2E9F7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--navy);
  margin: 0 auto 18px;
  transition: transform .4s var(--ease-spring), background .3s, color .3s, box-shadow .3s;
  position: relative;
  z-index: 1;
}

.industry-card:hover .industry-card__icon {
  background: var(--grad-navy);
  color: var(--gold-light);
  transform: scale(1.08);
  box-shadow: 0 14px 28px -8px rgba(15,23,42,.45);
}

.industry-card__name {
  font-family: var(--font-heading);
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.industry-card__tag {
  font-size: .78rem;
  color: var(--text-muted);
}

/* ── Solution Showcase (alternating) ─────────────────────────── */
.solution-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.solution-block--reverse { direction: rtl; }
.solution-block--reverse > * { direction: ltr; }

.solution-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  position: relative;
}

.solution-visual__icon {
  font-size: 5rem;
  color: var(--gold);
  opacity: .35;
  position: absolute;
  bottom: 20px;
  right: 24px;
}

.solution-visual__label {
  position: absolute;
  top: 24px;
  left: 24px;
  background: var(--gold);
  color: var(--navy);
  font-size: .75rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.solution-content { }
.solution-content .eyebrow { margin-bottom: 10px; }
.solution-content h3 { margin-bottom: 18px; font-size: clamp(1.5rem, 2.5vw, 2rem); }
.solution-content p  { margin-bottom: 24px; }

.solution-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.solution-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .95rem;
  color: var(--text-muted);
}

.solution-feature i {
  color: var(--blue);
  font-size: .85rem;
  flex-shrink: 0;
  margin-top: 3px;
  width: 16px;
}

@media (max-width: 860px) {
  .solution-block, .solution-block--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 32px;
  }
  .solution-visual { min-height: 240px; }
}

/* ── Testimonials ─────────────────────────────────────────────── */
.testimonials { background: var(--gray-50); }

.testimonial-slider { position: relative; overflow: hidden; }

.testimonial-track {
  display: flex;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 4px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  border: 1px solid rgba(28,38,71,.08);
  max-width: 820px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 80px; height: 4px;
  background: var(--grad-gold);
  border-radius: 0 4px 4px 0;
}

.testimonial-card__quote {
  color: var(--blue-xlight);
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 20px;
}

.testimonial-card__quote i { color: var(--blue); opacity: .3; }

.testimonial-card__text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
  font-style: italic;
  margin-bottom: 28px;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-card__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.testimonial-card__author-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}

.testimonial-card__author-title {
  font-size: .85rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.testimonial-card__stars {
  display: flex;
  gap: 4px;
  margin-top: 16px;
}

.testimonial-card__stars i { color: var(--gold); font-size: .95rem; }

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}

.testimonial-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  cursor: pointer;
  font-size: .9rem;
}

.testimonial-btn:hover {
  background: var(--grad-navy);
  color: var(--white);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.testimonial-dots {
  display: flex;
  gap: 8px;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-300);
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
}

.testimonial-dot.active {
  background: var(--navy);
  width: 24px;
  border-radius: var(--radius-full);
}

/* ── CTA Banner — premium ─────────────────────────────────────── */
.cta-banner {
  background: var(--grad-navy-soft);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(16,185,129,.28) 0%, transparent 60%);
  pointer-events: none;
  filter: blur(20px);
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16,185,129,.18) 0%, transparent 60%);
  pointer-events: none;
  filter: blur(20px);
}

.cta-banner__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.cta-banner__content h2 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

.cta-banner__content p {
  color: rgba(255,255,255,.72);
  font-size: 1.1rem;
  margin-bottom: 36px;
}

.cta-banner__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Footer ───────────────────────────────────────────────────── */
.footer {
  background: var(--grad-navy-soft);
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16,185,129,.4), rgba(16,185,129,.4), transparent);
}
.footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(16,185,129,.08), transparent 60%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(16,185,129,.06), transparent 60%);
  pointer-events: none;
}
.footer > * { position: relative; z-index: 1; }

.footer__main { padding: 80px 0 60px; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr;
  gap: 40px;
}

.footer__col--brand {}

.footer__logo-img {
  display: block;
  width: auto;
  max-width: 260px;
  height: auto;
  margin-bottom: 20px;
}

.footer__logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -.02em;
}

.footer__logo span { color: var(--gold); }

.footer__col p {
  color: rgba(255,255,255,.5);
  font-size: .9rem;
  line-height: 1.75;
  margin: 16px 0 24px;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  transition: transform .3s var(--ease-out), background .3s, color .3s, box-shadow .3s;
}

.footer__social a:hover {
  background: var(--grad-gold);
  color: var(--navy);
  border-color: transparent;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 22px -6px rgba(16,185,129,.5);
}

.footer__col h5 {
  color: var(--white);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer__col ul { display: flex; flex-direction: column; gap: 10px; }

.footer__col ul a {
  color: rgba(255,255,255,.5);
  font-size: .9rem;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__col ul a:hover { color: var(--gold); padding-left: 4px; }

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.footer__contact-item i {
  color: var(--gold);
  font-size: .9rem;
  margin-top: 3px;
  width: 16px;
  flex-shrink: 0;
}

.footer__contact-item a,
.footer__contact-item span {
  color: rgba(255,255,255,.55);
  font-size: .88rem;
  line-height: 1.5;
  transition: var(--transition-fast);
}

.footer__contact-item a:hover { color: var(--gold); }

.footer__newsletter { margin-top: 24px; }

.footer__newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.footer__newsletter input {
  flex: 1;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  padding: 11px 16px;
  color: var(--white);
  font-size: .85rem;
  transition: border-color .25s var(--ease-out), box-shadow .25s var(--ease-out);
}

.footer__newsletter input::placeholder { color: rgba(255,255,255,.4); }
.footer__newsletter input:focus {
  outline: none;
  border-color: rgba(16,185,129,.6);
  box-shadow: 0 0 0 4px rgba(16,185,129,.12);
  background: rgba(255,255,255,.1);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
}

.footer__bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__bottom p {
  color: rgba(255,255,255,.35);
  font-size: .82rem;
  margin: 0;
}

.footer__legal {
  display: flex;
  gap: 20px;
}

.footer__legal a {
  color: rgba(255,255,255,.35);
  font-size: .82rem;
  transition: var(--transition-fast);
}

.footer__legal a:hover { color: var(--gold); }

@media (max-width: 1100px) {
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__col--brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ── WhatsApp Floating Button ─────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 12px 32px -8px rgba(37,211,102,.6), inset 0 1px 0 rgba(255,255,255,.3);
  transition: transform .3s var(--ease-spring), box-shadow .3s var(--ease-out);
  text-decoration: none;
}
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,.4);
  animation: ring-pulse 2.2s cubic-bezier(.215,.61,.355,1) infinite;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 16px 40px -6px rgba(37,211,102,.7);
  color: white;
}

.whatsapp-float__tooltip {
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--navy);
  color: white;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: .8rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.whatsapp-float:hover .whatsapp-float__tooltip { opacity: 1; }

/* ── Back to Top ──────────────────────────────────────────────── */
.back-top {
  position: fixed;
  bottom: 96px;
  right: 28px;
  z-index: 8999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  border: none;
}

.back-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover {
  background: var(--grad-sapphire);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -6px rgba(16,185,129,.55);
}

/* ── Cookie Banner ────────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 8998;
  background: var(--navy-mid);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 16px 0;
  transform: translateY(100%);
  transition: transform .4s ease;
}

.cookie-banner.visible { transform: translateY(0); }

.cookie-banner__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner p {
  color: rgba(255,255,255,.75);
  font-size: .88rem;
  margin: 0;
}

.cookie-banner a { color: var(--gold); }

.cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* ── Form Elements ────────────────────────────────────────────── */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: var(--transition-fast);
  appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(8,145,178,.1);
}

.form-control::placeholder { color: var(--text-light); }

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-status {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 600;
  margin-top: 16px;
  display: none;
}

.form-status--success {
  display: block;
  background: var(--success-light);
  color: #047857;
  border: 1px solid #a7f3d0;
}

.form-status--error {
  display: block;
  background: var(--danger-light);
  color: #b91c1c;
  border: 1px solid #fca5a5;
}

/* Honeypot */
.form-honeypot { display: none !important; }

/* ── Misc Utilities ───────────────────────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid var(--gray-200);
  margin: 40px 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-xlight);
  color: var(--blue);
  font-size: .78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
}

.tag--gold {
  background: var(--gold-xlight);
  color: var(--gold-dark);
}

.tag--navy {
  background: var(--navy-xlight);
  color: var(--navy);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--navy);
  font-size: .7rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* Process steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--gray-200);
  z-index: 0;
}

.step-item {
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow);
}

.step-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 10px;
}

.step-desc {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .process-steps::before { display: none; }
}

@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
}

/* ── Responsive Global ────────────────────────────────────────── */
@media (max-width: 640px) {
  :root {
    --section-pad: 68px;
    --section-pad-sm: 42px;
    --section-pad-lg: 88px;
  }
  .section-header { margin-bottom: 40px; }
  .cta-banner__actions { flex-direction: column; align-items: center; }
  .cta-banner__actions .btn { width: 100%; justify-content: center; }
}

/* ================================================================
   PREMIUM ADDITIONS — v2
   Category header, chips, KPI tiles, skeletons, advanced sections
   ================================================================ */

/* ── Section Tints ────────────────────────────────────────────── */
.section-tint      { background: linear-gradient(180deg, #ffffff 0%, var(--gray-50) 100%); }
.section-tint-blue {
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(16,185,129,.06), transparent 60%),
    radial-gradient(45% 40% at 0% 100%, rgba(16,185,129,.05), transparent 60%),
    var(--gray-50);
  position: relative;
}
.section-dark {
  background: var(--grad-navy-soft);
  color: rgba(255,255,255,.85);
  position: relative;
  overflow: hidden;
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,.7); }

/* Pattern overlay utility for dark sections */
.pattern-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
}

/* ── Category Header — replaces flat inline styles ──────────── */
.category-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 36px;
  padding: 22px 26px;
  background: linear-gradient(135deg, #ffffff 0%, var(--gray-50) 100%);
  border: 1px solid rgba(28,38,71,.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.category-header::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 5px;
  background: var(--grad-sapphire);
  border-radius: 0 4px 4px 0;
}
.category-header--gold::before { background: var(--grad-gold); }
.category-header--navy::before { background: var(--grad-navy); }
.category-header:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.category-header__icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: var(--grad-sapphire);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  box-shadow: 0 12px 24px -10px rgba(16,185,129,.5), inset 0 1px 0 rgba(255,255,255,.25);
}
.category-header--gold .category-header__icon {
  background: var(--grad-gold);
  color: var(--navy);
  box-shadow: 0 12px 24px -10px rgba(16,185,129,.5), inset 0 1px 0 rgba(255,255,255,.25);
}
.category-header--navy .category-header__icon {
  background: var(--grad-navy);
  color: var(--gold-light);
  box-shadow: 0 12px 24px -10px rgba(15,23,42,.5), inset 0 1px 0 rgba(255,255,255,.1);
}

.category-header__body { flex: 1; min-width: 0; }
.category-header__label {
  font-family: var(--font-heading);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 4px;
}
.category-header__title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.01em;
  margin: 0;
  line-height: 1.2;
}
.category-header__desc {
  font-size: .9rem;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.5;
}
.category-header__cta {
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .category-header { flex-wrap: wrap; padding: 20px; }
  .category-header__cta { width: 100%; }
  .category-header__cta .btn { width: 100%; justify-content: center; }
}

/* ── Chips & Badges — premium ─────────────────────────────────── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--gray-100);
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
}
.chip:hover { background: var(--blue-xlight); color: var(--blue-dark); border-color: rgba(16,185,129,.18); }
.chip--blue  { background: var(--blue-xlight); color: var(--blue-dark); border-color: rgba(16,185,129,.18); }
.chip--gold  { background: var(--gold-xlight); color: var(--gold-dark); border-color: rgba(201,163,77,.25); }
.chip--navy  { background: var(--navy-xlight); color: var(--navy); border-color: rgba(15,23,42,.1); }
.chip--solid { background: var(--grad-sapphire); color: var(--white); border-color: transparent; }

/* ── KPI / Metric Tiles ───────────────────────────────────────── */
.kpi-tile {
  background: var(--white);
  border: 1px solid rgba(28,38,71,.08);
  border-radius: var(--radius);
  padding: 22px 24px;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.kpi-tile::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 120px; height: 120px;
  background: radial-gradient(circle at top right, rgba(16,185,129,.1), transparent 60%);
  pointer-events: none;
}
.kpi-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(16,185,129,.22);
}
.kpi-tile__label {
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: .02em;
}
.kpi-tile__value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -.02em;
}
.kpi-tile__delta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .76rem;
  font-weight: 700;
  color: var(--success);
  margin-top: 10px;
}
.kpi-tile__delta--down { color: var(--danger); }

/* ── Skeleton loaders (premium empty/loading) ────────────────── */
.skeleton {
  background: linear-gradient(90deg, var(--gray-100) 0%, var(--gray-200) 50%, var(--gray-100) 100%);
  background-size: 200% 100%;
  animation: skeleton-shine 1.6s linear infinite;
  border-radius: var(--radius-sm);
}
@keyframes skeleton-shine {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.skeleton--text { height: 14px; margin-bottom: 10px; }
.skeleton--title { height: 22px; width: 70%; margin-bottom: 12px; }
.skeleton--circle { border-radius: 50%; }
.skeleton--card { height: 240px; }

/* ── Empty state ──────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 72px 32px;
  background: var(--gray-50);
  border: 1px dashed var(--gray-300);
  border-radius: var(--radius);
}
.empty-state__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--blue-dark);
  font-size: 1.8rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}
.empty-state__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.empty-state__desc {
  font-size: .92rem;
  color: var(--text-muted);
  max-width: 440px;
  margin: 0 auto 20px;
  line-height: 1.65;
}

/* ── Premium table ────────────────────────────────────────────── */
.table-wrap {
  background: var(--white);
  border: 1px solid rgba(28,38,71,.08);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.table-premium {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.table-premium thead th {
  text-align: left;
  padding: 14px 20px;
  font-family: var(--font-heading);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: linear-gradient(180deg, var(--gray-50), var(--white));
  border-bottom: 1px solid var(--gray-200);
}
.table-premium tbody td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--text);
}
.table-premium tbody tr { transition: background .2s var(--ease-out); }
.table-premium tbody tr:hover { background: var(--blue-xlight); }
.table-premium tbody tr:last-child td { border-bottom: none; }

/* ── Premium inputs (upgrade) ─────────────────────────────────── */
.form-control {
  transition: border-color .2s var(--ease-out), box-shadow .2s var(--ease-out), background .2s;
  background: var(--white);
}
.form-control:hover { border-color: var(--gray-300); }
.form-control:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(16,185,129,.12);
  background: var(--white);
}

/* ── Accessibility: focus ring on all interactive elements ───── */
.btn:focus-visible,
.nav-link:focus-visible,
a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(16,185,129,.35);
  border-radius: var(--radius-xs);
}

/* ── Premium scrollbar (webkit) ───────────────────────────────── */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--gray-50); }
::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: var(--radius-full);
  border: 3px solid var(--gray-50);
}
::-webkit-scrollbar-thumb:hover { background: var(--gray-400); }

/* ── Selection ────────────────────────────────────────────────── */
::selection { background: rgba(16,185,129,.22); color: var(--navy); }

/* ── Modal / Dialog ───────────────────────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9997;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease-out), visibility .3s;
}
.modal-backdrop.show { opacity: 1; visibility: visible; }
.modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -48%);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 560px;
  width: 90vw;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out), visibility .35s;
}
.modal.show { opacity: 1; visibility: visible; transform: translate(-50%, -50%); }
.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition-fast);
}
.modal__close:hover { background: var(--gray-200); transform: rotate(90deg); }

/* ── Section separator — elegant ──────────────────────────────── */
.section-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(28,38,71,.12), transparent);
  margin: 0;
  border: none;
}

/* ── Premium card — generic reusable ──────────────────────────── */
.p-card {
  background: var(--white);
  border: 1px solid rgba(28,38,71,.08);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s;
}
.p-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(16,185,129,.2);
}
.p-card--glass {
  background: linear-gradient(155deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 24px 48px -16px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.12);
  color: rgba(255,255,255,.88);
}
