/* ==========================================================================
   ADL LAW ASSOCIATES — Premium Advisory Platform
   Design System
   ========================================================================== */

:root {
  /* Color palette (fixed brief) */
  --midnight-navy: #06172F;
  --oxford-blue: #0A2448;
  --advisory-blue: #123A6F;
  --executive-gold: #C5A047;
  --soft-gold: #E6CB7B;
  --warm-white: #F8F8F6;
  --slate-gray: #667085;
  --ink-navy: #172033;

  /* Derived tones */
  --gold-glow: rgba(197, 160, 71, 0.35);
  --gold-glow-soft: rgba(230, 203, 123, 0.18);
  --navy-glass: rgba(10, 36, 72, 0.55);
  --hairline: rgba(248, 248, 246, 0.08);
  --hairline-strong: rgba(248, 248, 246, 0.14);
  --shadow-deep: 0 30px 80px -20px rgba(2, 8, 20, 0.65);

  /* Type */
  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Motion */
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 0.35s;
  --dur-med: 0.7s;
  --dur-slow: 1.1s;
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

.on-dark h1, .on-dark h2, .on-dark h3, .on-dark p, .on-dark span { color: var(--warm-white); }

.container {
  width: min(1240px, 92%);
  margin-inline: auto;
}

section { position: relative; }

/* ---------- Reveal-on-scroll base state (GSAP toggles .is-visible) ---------- */
.reveal { opacity: 0; transform: translateY(28px); }
.reveal.is-visible { opacity: 1; transform: translateY(0); transition: opacity 1s var(--ease-premium), transform 1s var(--ease-premium); }

/* ---------- Eyebrow / kicker ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--executive-gold);
  font-weight: 600;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--executive-gold), transparent);
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform var(--dur-fast) var(--ease-premium), box-shadow var(--dur-fast) var(--ease-premium), background var(--dur-fast);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--soft-gold), var(--executive-gold) 60%);
  color: var(--midnight-navy);
  box-shadow: 0 12px 30px -8px var(--gold-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -10px var(--gold-glow); }
.btn-ghost {
  border: 1px solid var(--hairline-strong);
  color: var(--warm-white);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--executive-gold); background: var(--gold-glow-soft); }
.btn-dark {
  border: 1px solid rgba(23, 32, 51, 0.15);
  color: var(--ink-navy);
}
.btn-dark:hover { background: var(--ink-navy); color: var(--warm-white); }
.btn-sm { padding: 11px 22px; font-size: 0.82rem; }

/* magnetic wrapper cursor target */
.magnetic { display: inline-block; }

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 22px 0;
  transition: padding var(--dur-fast) var(--ease-premium), background var(--dur-fast), border-color var(--dur-fast);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  padding: 14px 0;
  background: rgba(6, 23, 47, 0.82);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--hairline);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  position: relative;
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--warm-white);
  border: 1px solid var(--hairline-strong);
  padding: 6px;
  overflow: hidden;
  box-shadow: 0 6px 18px -8px rgba(6, 23, 47, 0.55);
  transition: transform var(--dur-fast) var(--ease-premium), box-shadow var(--dur-fast) var(--ease-premium);
}
.brand-mark img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  transition: transform var(--dur-fast) var(--ease-premium);
}
.brand-mark::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(230, 203, 123, 0.55) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease-premium);
  pointer-events: none;
}
.brand:hover .brand-mark {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 10px 26px -8px rgba(230, 203, 123, 0.45), 0 0 0 3px rgba(230, 203, 123, 0.22);
}
.brand:hover .brand-mark img { transform: scale(1.05); }
.brand:hover .brand-mark::after { transform: translateX(120%); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-display); font-size: 1.08rem; color: var(--warm-white); letter-spacing: 0.01em; }
.brand-text span { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--soft-gold); margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-links a {
  position: relative;
  font-size: 0.88rem;
  color: rgba(248, 248, 246, 0.78);
  font-weight: 500;
  padding: 6px 0;
}
.nav-links a::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--executive-gold);
  transition: width var(--dur-fast) var(--ease-premium);
}
.nav-links a:hover { color: var(--warm-white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--soft-gold); }

.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-toggle { display: none; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--midnight-navy);
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: 90px;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at 82% 8%, rgba(197, 160, 71, 0.18), transparent 60%),
    radial-gradient(50% 45% at 8% 92%, rgba(18, 58, 111, 0.55), transparent 60%),
    linear-gradient(180deg, var(--midnight-navy) 0%, var(--oxford-blue) 100%);
  z-index: 0;
}
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(248,248,246,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248,248,246,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(60% 60% at 60% 30%, black, transparent 85%);
  z-index: 0;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
  opacity: 0.55;
}
.orb-a { width: 420px; height: 420px; background: var(--gold-glow); top: -120px; right: 8%; }
.orb-b { width: 340px; height: 340px; background: rgba(18,58,111,0.6); bottom: -100px; left: 4%; }

.hero .container { position: relative; z-index: 2; }
.hero-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px; align-items: center; }

.hero-title {
  font-size: clamp(2.6rem, 4.6vw, 4.4rem);
  color: var(--warm-white);
  max-width: 15ch;
}
.hero-title .accent {
  background: linear-gradient(100deg, var(--soft-gold), var(--executive-gold) 55%, var(--soft-gold));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }

.hero-sub {
  margin-top: 26px;
  font-size: 1.08rem;
  color: rgba(248,248,246,0.7);
  max-width: 46ch;
  line-height: 1.75;
}
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 42px; flex-wrap: wrap; }
.hero-note { font-size: 0.82rem; color: rgba(248,248,246,0.55); display: flex; align-items: center; gap: 8px; }
.hero-note::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--soft-gold); box-shadow: 0 0 12px var(--soft-gold); }

/* Hero visual: layered glass card stack */
.hero-visual { position: relative; height: 460px; }
.glass-card {
  position: absolute;
  border-radius: 20px;
  border: 1px solid var(--hairline-strong);
  background: linear-gradient(160deg, rgba(248,248,246,0.07), rgba(248,248,246,0.02));
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-deep);
  padding: 26px;
  will-change: transform;
}
.card-main { width: 88%; height: 78%; top: 0; right: 0; z-index: 3; }
.card-float-1 { width: 62%; height: 34%; bottom: -6%; left: -6%; z-index: 4; }
.card-float-2 { width: 46%; height: 26%; top: -8%; left: 8%; z-index: 2; }

.metric-label { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--soft-gold); }
.metric-value { font-family: var(--font-display); font-size: 2.4rem; color: var(--warm-white); margin-top: 8px; }
.metric-sub { font-size: 0.8rem; color: rgba(248,248,246,0.55); margin-top: 6px; }

.mini-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mini-chip {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.78rem; color: var(--warm-white);
}
.mini-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--soft-gold); }
.spark-bars { display: flex; align-items: flex-end; gap: 5px; height: 44px; margin-top: 14px; }
.spark-bars span { width: 7px; border-radius: 3px; background: linear-gradient(180deg, var(--soft-gold), var(--executive-gold)); }

/* ==========================================================================
   TRUST / STATS STRIP
   ========================================================================== */
.trust-strip {
  background: var(--oxford-blue);
  padding: 46px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.trust-item { text-align: center; border-right: 1px solid var(--hairline); }
.trust-item:last-child { border-right: none; }
.trust-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.7rem);
  color: var(--warm-white);
  display: flex; align-items: baseline; justify-content: center; gap: 3px;
}
.trust-num .suffix { color: var(--soft-gold); font-size: 1.5rem; }
.trust-label { margin-top: 8px; font-size: 0.8rem; color: rgba(248,248,246,0.55); letter-spacing: 0.03em; }

/* ==========================================================================
   SECTION HEADERS (light sections)
   ========================================================================== */
.section-pad { padding: 130px 0; }
.section-head { max-width: 720px; margin-bottom: 70px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-title { font-size: clamp(2rem, 3.4vw, 3rem); }
.section-lead { margin-top: 20px; color: var(--slate-gray); font-size: 1.05rem; line-height: 1.75; }

.bg-navy { background: var(--midnight-navy); }
.bg-oxford { background: var(--oxford-blue); }
.bg-white { background: var(--warm-white); }

/* ==========================================================================
   SERVICES GRID (home teaser)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service-card {
  position: relative;
  padding: 40px 32px;
  border-radius: 18px;
  background: var(--warm-white);
  border: 1px solid rgba(23,32,51,0.08);
  box-shadow: 0 20px 50px -30px rgba(23,32,51,0.25);
  transition: transform var(--dur-fast) var(--ease-premium), box-shadow var(--dur-fast) var(--ease-premium), border-color var(--dur-fast);
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(160deg, var(--gold-glow-soft), transparent 55%);
  opacity: 0;
  transition: opacity var(--dur-fast);
}
.service-card:hover { transform: translateY(-8px); border-color: var(--executive-gold); box-shadow: 0 30px 60px -25px var(--gold-glow); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--advisory-blue), var(--oxford-blue));
  color: var(--soft-gold);
  margin-bottom: 26px;
  position: relative; z-index: 1;
}
.service-card h3 { font-size: 1.22rem; margin-bottom: 12px; position: relative; z-index: 1; }
.service-card p { color: var(--slate-gray); font-size: 0.94rem; line-height: 1.7; position: relative; z-index: 1; }
.service-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 20px; font-size: 0.84rem; font-weight: 600;
  color: var(--advisory-blue); position: relative; z-index: 1;
}
.service-card:hover .service-link { color: var(--executive-gold); }
.service-link svg { transition: transform var(--dur-fast) var(--ease-premium); }
.service-card:hover .service-link svg { transform: translateX(4px); }

/* ==========================================================================
   PROCESS TIMELINE
   ========================================================================== */
.process-rail { position: relative; }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute; top: 26px; left: 6%; right: 6%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--hairline-strong) 15%, var(--hairline-strong) 85%, transparent);
}
.process-step { text-align: left; }
.process-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.15rem;
  background: var(--midnight-navy);
  color: var(--soft-gold);
  border: 1px solid var(--hairline-strong);
  margin-bottom: 22px;
  position: relative; z-index: 2;
}
.process-step h4 { font-size: 1.05rem; color: var(--warm-white); margin-bottom: 10px; }
.process-step p { font-size: 0.88rem; color: rgba(248,248,246,0.58); line-height: 1.65; }

/* ==========================================================================
   WHY US / SPLIT
   ========================================================================== */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: center; }
.why-list { display: grid; gap: 26px; margin-top: 36px; }
.why-item { display: flex; gap: 18px; align-items: flex-start; }
.why-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(197,160,71,0.1);
  color: var(--executive-gold);
  border: 1px solid rgba(197,160,71,0.25);
}
.why-item h4 { font-size: 1.02rem; margin-bottom: 6px; }
.why-item p { font-size: 0.9rem; color: var(--slate-gray); line-height: 1.65; }

.panel-stack { position: relative; height: 520px; }
.stat-panel {
  position: absolute;
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow-deep);
}
.stat-panel.a { width: 78%; height: 62%; top: 0; left: 10%; background: linear-gradient(150deg, var(--oxford-blue), var(--midnight-navy)); border: 1px solid var(--hairline-strong); z-index: 2; }
.stat-panel.b { width: 60%; height: 40%; bottom: 0; right: 0; background: linear-gradient(150deg, var(--advisory-blue), var(--oxford-blue)); border: 1px solid var(--hairline-strong); z-index: 1; }

.ring-chart { width: 130px; height: 130px; margin: 10px 0; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonial-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testimonial-card {
  padding: 36px 30px;
  border-radius: 18px;
  background: rgba(248,248,246,0.03);
  border: 1px solid var(--hairline);
}
.stars { color: var(--soft-gold); font-size: 0.9rem; letter-spacing: 3px; margin-bottom: 18px; }
.testimonial-card p.quote { color: rgba(248,248,246,0.78); font-size: 0.96rem; line-height: 1.75; }
.testimonial-person { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.avatar-ring {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--soft-gold), var(--executive-gold));
  color: var(--midnight-navy); font-weight: 700; font-family: var(--font-display);
}
.testimonial-person strong { display: block; font-size: 0.9rem; color: var(--warm-white); }
.testimonial-person span { font-size: 0.78rem; color: rgba(248,248,246,0.5); }

/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.cta-banner {
  border-radius: 28px;
  padding: 80px 60px;
  background: linear-gradient(135deg, var(--oxford-blue), var(--midnight-navy));
  border: 1px solid var(--hairline-strong);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-banner {
  --mx: 50%;
  --my: 0%;
}
.cta-banner::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(55% 85% at var(--mx) var(--my), var(--gold-glow), transparent 70%);
  opacity: 0.6;
  transition: background 0.15s ease-out;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--warm-white); font-size: clamp(1.9rem, 3vw, 2.6rem); max-width: 20ch; margin-inline: auto; }
.cta-banner p { color: rgba(248,248,246,0.65); margin-top: 18px; max-width: 50ch; margin-inline: auto; }
.cta-actions { margin-top: 38px; display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--midnight-navy); padding-top: 90px; border-top: 1px solid var(--hairline); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 0.9fr);
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--hairline);
}
.footer-about p { color: rgba(248,248,246,0.55); font-size: 0.9rem; margin-top: 18px; line-height: 1.75; max-width: 32ch; }
.footer-social { display: flex; gap: 12px; margin-top: 26px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  border: 1px solid var(--hairline-strong);
  color: var(--warm-white); font-size: 0.8rem;
  transition: all var(--dur-fast);
}
.footer-social a:hover { background: var(--executive-gold); color: var(--midnight-navy); border-color: var(--executive-gold); }
.footer-col h5 { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft-gold); margin-bottom: 22px; }
.footer-col ul { display: grid; gap: 13px; }
.footer-col a { font-size: 0.88rem; color: rgba(248,248,246,0.62); transition: color var(--dur-fast); }
.footer-col a:hover { color: var(--warm-white); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 0;
  font-size: 0.8rem; color: rgba(248,248,246,0.45);
}
.footer-bottom a { color: rgba(248,248,246,0.45); }
.footer-legal-links { display: flex; gap: 24px; }

/* ==========================================================================
   PAGE HEADER (interior pages)
   ========================================================================== */
.page-header {
  background: var(--midnight-navy);
  padding: 200px 0 100px;
  position: relative;
  overflow: hidden;
}
.page-header .eyebrow { color: var(--soft-gold); }
.page-header h1 { color: var(--warm-white); font-size: clamp(2.2rem, 4vw, 3.4rem); max-width: 18ch; }
.page-header p { color: rgba(248,248,246,0.62); margin-top: 20px; max-width: 56ch; font-size: 1.02rem; line-height: 1.75; }
.breadcrumbs { display: flex; gap: 10px; align-items: center; font-size: 0.82rem; color: rgba(248,248,246,0.5); margin-bottom: 20px; }
.breadcrumbs span { color: var(--soft-gold); }

/* ==========================================================================
   SERVICES PAGE (detailed)
   ========================================================================== */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 56px;
}
.filter-chip {
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 0.84rem; font-weight: 600;
  border: 1px solid rgba(23,32,51,0.14);
  color: var(--ink-navy);
  transition: all var(--dur-fast);
}
.filter-chip.active, .filter-chip:hover {
  background: var(--midnight-navy); color: var(--warm-white); border-color: var(--midnight-navy);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}
.service-detail-card {
  padding: 42px;
  border-radius: 20px;
  background: var(--warm-white);
  border: 1px solid rgba(23,32,51,0.08);
  box-shadow: 0 20px 50px -34px rgba(23,32,51,0.3);
  display: flex; flex-direction: column;
  transition: transform var(--dur-fast) var(--ease-premium), box-shadow var(--dur-fast);
}
.service-detail-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -25px var(--gold-glow); }
.service-detail-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; gap: 10px; flex-wrap: wrap; }
.service-tag {
  font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--advisory-blue); background: rgba(18,58,111,0.08);
  padding: 6px 14px; border-radius: 999px; font-weight: 700;
}
.turnaround-badge {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.03em;
  color: var(--executive-gold); background: rgba(197,160,71,0.1);
  border: 1px solid rgba(197,160,71,0.3);
  padding: 5px 12px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 6px;
}
.turnaround-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--executive-gold); }

/* Variant tabs within a service card */
.variant-tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 22px; padding-bottom: 20px;
  border-bottom: 1px solid rgba(23,32,51,0.08);
}
.variant-tab {
  font-size: 0.78rem; font-weight: 600;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(23,32,51,0.04); color: var(--slate-gray);
  border: 1px solid transparent;
  transition: all var(--dur-fast);
}
.variant-tab:hover { background: rgba(23,32,51,0.08); color: var(--ink-navy); }
.variant-tab.active { background: var(--midnight-navy); color: var(--warm-white); }
.variant-panel { display: none; }
.variant-panel.active { display: block; animation: variant-in 0.35s var(--ease-premium); }
@keyframes variant-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.variant-meta { margin-bottom: 14px; }
.service-detail-card h3 { font-size: 1.35rem; margin-bottom: 14px; }
.service-detail-card > p { color: var(--slate-gray); font-size: 0.94rem; line-height: 1.75; margin-bottom: 22px; }
.service-feature-list, .doc-list { display: grid; gap: 10px; margin-bottom: 6px; }
.service-feature-list li, .doc-list li { display: flex; gap: 10px; font-size: 0.86rem; color: var(--ink-navy); align-items: flex-start; line-height: 1.45; }
.service-feature-list li::before, .doc-list li::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--executive-gold); margin-top: 7px; flex-shrink: 0;
}
.doc-list.two-col { grid-template-columns: 1fr 1fr; column-gap: 20px; }
.doc-list-label { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-gray); font-weight: 700; margin-bottom: 10px; }
.service-detail-footer {
  margin-top: 22px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 12px;
  padding-top: 22px; border-top: 1px solid rgba(23,32,51,0.08);
}
.service-price { font-family: var(--font-display); font-size: 1.1rem; color: var(--ink-navy); }
.service-price span { font-size: 0.72rem; color: var(--slate-gray); font-family: var(--font-body); display: block; margin-top: 2px; }
.service-detail-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Comparison / process for services page */
.compliance-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.compliance-item {
  text-align: center; padding: 34px 20px;
  border-radius: 16px; background: rgba(248,248,246,0.03);
  border: 1px solid var(--hairline);
}
.compliance-item .ic { color: var(--soft-gold); margin-bottom: 16px; }
.compliance-item h4 { color: var(--warm-white); font-size: 0.98rem; margin-bottom: 8px; }
.compliance-item p { font-size: 0.82rem; color: rgba(248,248,246,0.55); }

/* ==========================================================================
   CUSTOM CURSOR + SCROLL PROGRESS (subtle premium touch)
   ========================================================================== */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor-dot { width: 6px; height: 6px; background: var(--executive-gold); }
.cursor-ring { width: 34px; height: 34px; border: 1px solid var(--gold-glow); transition: width .25s, height .25s, border-color .25s, background .25s; }
.cursor-ring.hovered { width: 56px; height: 56px; background: var(--gold-glow-soft); border-color: var(--executive-gold); }
@media (hover: none) { .cursor-dot, .cursor-ring { display: none; } }

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px;
  background: linear-gradient(90deg, var(--advisory-blue), var(--executive-gold), var(--soft-gold));
  z-index: 1000; width: 0%;
  box-shadow: 0 0 12px var(--gold-glow);
}

.back-to-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 500;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--midnight-navy); border: 1px solid var(--hairline-strong);
  color: var(--soft-gold); display: grid; place-items: center;
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: all var(--dur-fast) var(--ease-premium);
}
.back-to-top.show { opacity: 1; pointer-events: all; transform: translateY(0); }
.back-to-top:hover { background: var(--executive-gold); color: var(--midnight-navy); }

/* ---------------- WhatsApp floating CTA ---------------- */
.whatsapp-float {
  position: fixed; bottom: 32px; left: 32px; z-index: 500;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--soft-gold), var(--executive-gold));
  color: var(--midnight-navy);
  box-shadow: 0 14px 34px -10px var(--gold-glow);
  transition: transform var(--dur-fast) var(--ease-premium), box-shadow var(--dur-fast);
}
.whatsapp-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 20px 44px -10px var(--gold-glow); }
.whatsapp-float .ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--executive-gold);
  animation: wa-pulse 2.4s ease-out infinite;
}
.whatsapp-float .ring.delay { animation-delay: 1.2s; }
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.9); opacity: 0; }
}
.whatsapp-tooltip {
  position: absolute; left: 72px; bottom: 14px;
  background: var(--midnight-navy); color: var(--warm-white);
  padding: 9px 16px; border-radius: 10px; font-size: 0.82rem; font-weight: 600;
  white-space: nowrap; border: 1px solid var(--hairline-strong);
  opacity: 0; transform: translateX(-8px); pointer-events: none;
  transition: opacity var(--dur-fast) var(--ease-premium), transform var(--dur-fast) var(--ease-premium);
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; transform: translateX(0); }
@media (max-width: 640px) {
  .whatsapp-float { left: 20px; bottom: 20px; width: 52px; height: 52px; }
  .back-to-top { right: 20px; bottom: 20px; width: 46px; height: 46px; }
  .whatsapp-tooltip { display: none; }
}

/* Inline WhatsApp CTA used inside service cards etc. */
.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C4A);
  color: #fff;
  box-shadow: 0 12px 28px -10px rgba(37, 211, 102, 0.55);
}
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -10px rgba(37, 211, 102, 0.6); }

/* Contact form inline feedback */
.form-feedback {
  margin-top: 16px; padding: 14px 18px; border-radius: 12px;
  background: rgba(37, 211, 102, 0.1); border: 1px solid rgba(37, 211, 102, 0.35);
  color: #14532d; font-size: 0.88rem; font-weight: 600;
  display: none; align-items: center; gap: 10px;
}
.form-feedback.show { display: flex; }

/* Loader */
.page-loader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--midnight-navy);
  display: grid; place-items: center;
  transition: opacity .6s var(--ease-premium), visibility .6s;
}
.page-loader.done { opacity: 0; visibility: hidden; }
.loader-mark { font-family: var(--font-display); color: var(--soft-gold); font-size: 1.4rem; letter-spacing: 0.3em; position: relative; }
.loader-bar { width: 160px; height: 2px; background: var(--hairline-strong); margin-top: 18px; overflow: hidden; border-radius: 2px; }
.loader-bar span { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--advisory-blue), var(--executive-gold)); }

/* ==========================================================================
   ARTICLE / BLOG POST
   ========================================================================== */
.article-hero {
  background: var(--midnight-navy);
  padding: 190px 0 70px;
  position: relative;
  overflow: hidden;
}
.article-hero-illustration { position: relative; z-index: 2; border-radius: 22px; overflow: hidden; margin-top: 40px; box-shadow: var(--shadow-deep); border: 1px solid var(--hairline-strong); }
.article-hero-illustration svg { display: block; width: 100%; height: auto; }
.article-category-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--midnight-navy); background: linear-gradient(135deg, var(--soft-gold), var(--executive-gold));
  padding: 8px 16px; border-radius: 999px; margin-bottom: 20px;
}
.article-meta-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
  margin-top: 22px; font-size: 0.85rem; color: rgba(248,248,246,0.6);
}
.article-meta-row .meta-item { display: flex; align-items: center; gap: 7px; }
.article-meta-row strong { color: var(--warm-white); font-weight: 600; }

.article-layout {
  display: grid; grid-template-columns: 0.7fr 2.3fr; gap: 60px; align-items: start;
}
.article-toc {
  position: sticky; top: 110px;
  background: var(--warm-white); border: 1px solid rgba(23,32,51,0.08);
  border-radius: 18px; padding: 26px;
  box-shadow: 0 20px 50px -34px rgba(23,32,51,0.25);
}
.article-toc h4 { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate-gray); margin-bottom: 16px; }
.article-toc ol { list-style: none; display: grid; gap: 12px; counter-reset: toc; }
.article-toc li { counter-increment: toc; }
.article-toc a {
  display: flex; gap: 10px; font-size: 0.86rem; color: var(--ink-navy); line-height: 1.4;
  transition: color var(--dur-fast);
}
.article-toc a::before {
  content: counter(toc);
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(197,160,71,0.12); color: var(--executive-gold);
  font-size: 0.72rem; font-weight: 700; display: grid; place-items: center;
}
.article-toc a:hover { color: var(--executive-gold); }
.toc-whatsapp {
  margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(23,32,51,0.08);
}
.toc-whatsapp p { font-size: 0.82rem; color: var(--slate-gray); margin-bottom: 14px; line-height: 1.5; }

.article-body { font-size: 1.05rem; color: var(--ink-navy); line-height: 1.85; }
.article-body h2 {
  font-size: 1.65rem; margin-top: 52px; margin-bottom: 18px; scroll-margin-top: 110px;
  padding-bottom: 14px; border-bottom: 2px solid rgba(197,160,71,0.25);
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { font-size: 1.25rem; margin-top: 34px; margin-bottom: 14px; scroll-margin-top: 110px; }
.article-body p { margin-bottom: 20px; color: var(--ink-navy); }
.article-body p.lede { font-size: 1.18rem; color: var(--slate-gray); line-height: 1.7; }
.article-body ul, .article-body ol { margin: 0 0 24px 0; display: grid; gap: 12px; padding-left: 4px; }
.article-body ul li, .article-body ol li { display: flex; gap: 12px; font-size: 1rem; line-height: 1.65; list-style: none; }
.article-body ul li::before { content: ''; width: 6px; height: 6px; margin-top: 10px; border-radius: 50%; background: var(--executive-gold); flex-shrink: 0; }
.article-body ol { counter-reset: ol-counter; }
.article-body ol li { counter-increment: ol-counter; }
.article-body ol li::before {
  content: counter(ol-counter);
  width: 24px; height: 24px; border-radius: 50%; margin-top: 0;
  background: var(--midnight-navy); color: var(--soft-gold);
  font-size: 0.76rem; font-weight: 700; display: grid; place-items: center; flex-shrink: 0;
}
.article-body strong { color: var(--midnight-navy); font-weight: 700; }
.article-body a:not(.btn) { color: var(--advisory-blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.article-body a:not(.btn):hover { color: var(--executive-gold); }

.article-table-wrap { overflow-x: auto; margin-bottom: 28px; border-radius: 14px; border: 1px solid rgba(23,32,51,0.08); }
.article-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.article-table th { background: var(--midnight-navy); color: var(--warm-white); text-align: left; padding: 14px 18px; font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; }
.article-table td { padding: 13px 18px; border-bottom: 1px solid rgba(23,32,51,0.06); }
.article-table tr:last-child td { border-bottom: none; }
.article-table tr:nth-child(even) td { background: rgba(23,32,51,0.02); }

.article-callout {
  background: linear-gradient(150deg, rgba(197,160,71,0.08), rgba(197,160,71,0.02));
  border: 1px solid rgba(197,160,71,0.25);
  border-left: 4px solid var(--executive-gold);
  border-radius: 14px; padding: 24px 28px; margin: 32px 0;
}
.article-callout h4 { font-size: 0.95rem; color: var(--midnight-navy); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.article-callout p { font-size: 0.92rem; color: var(--slate-gray); margin-bottom: 0; }

.faq-block { margin-top: 20px; display: grid; gap: 14px; }
.faq-item { border: 1px solid rgba(23,32,51,0.08); border-radius: 14px; overflow: hidden; }
.faq-question {
  width: 100%; text-align: left; padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  font-size: 1rem; font-weight: 700; color: var(--ink-navy);
  background: var(--warm-white);
}
.faq-question .plus { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: rgba(197,160,71,0.12); color: var(--executive-gold); display: grid; place-items: center; font-size: 1.1rem; transition: transform var(--dur-fast); }
.faq-item.open .faq-question .plus { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease-premium); }
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer p { padding: 0 24px 20px; font-size: 0.94rem; color: var(--slate-gray); line-height: 1.7; margin-bottom: 0; }

.article-author-box {
  margin-top: 60px; padding: 28px; border-radius: 18px;
  background: var(--midnight-navy); display: flex; gap: 18px; align-items: center;
}
.article-author-box .avatar-ring { width: 56px; height: 56px; font-size: 1.15rem; flex-shrink: 0; }
.article-author-box strong { color: var(--warm-white); display: block; font-size: 1rem; margin-bottom: 4px; }
.article-author-box span { color: rgba(248,248,246,0.6); font-size: 0.86rem; line-height: 1.5; }

.article-cta-box {
  margin-top: 32px; padding: 32px; border-radius: 18px;
  background: linear-gradient(150deg, var(--oxford-blue), var(--midnight-navy));
  border: 1px solid var(--hairline-strong);
}
.article-cta-box h4 { color: var(--warm-white); font-size: 1.15rem; margin-bottom: 10px; }
.article-cta-box p { color: rgba(248,248,246,0.65); font-size: 0.92rem; margin-bottom: 20px; }
.article-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.share-row { display: flex; align-items: center; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(23,32,51,0.08); }
.share-row span { font-size: 0.82rem; color: var(--slate-gray); font-weight: 600; }
.share-icons { display: flex; gap: 10px; }
.share-icons a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(23,32,51,0.05); color: var(--ink-navy); transition: all var(--dur-fast); }
.share-icons a:hover { background: var(--executive-gold); color: var(--midnight-navy); }

.related-articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 26px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { height: 380px; margin-top: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .panel-stack { height: 400px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .testimonial-track { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-toc { position: relative; top: 0; }
  .related-articles { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-links { position: fixed; top: 0; right: 0; height: 100vh; width: 78%; background: var(--midnight-navy); flex-direction: column; justify-content: center; gap: 30px; transform: translateX(100%); transition: transform .5s var(--ease-premium); border-left: 1px solid var(--hairline); }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle { display: flex; flex-direction: column; gap: 5px; z-index: 950; }
  .nav-toggle span { width: 24px; height: 2px; background: var(--warm-white); transition: all .3s; transform-origin: center; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .trust-item:nth-child(2) { border-right: none; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .compliance-strip { grid-template-columns: 1fr 1fr; }
  .cta-banner { padding: 56px 26px; }
  .doc-list.two-col { grid-template-columns: 1fr; }
  .service-detail-card { padding: 28px 22px; }
  .variant-tabs { gap: 6px; }
  .variant-tab { padding: 7px 13px; font-size: 0.74rem; }
}
