/* ==========================================================================
   Ledgicore Nexus LLP — Premium Fintech Design System
   Shared across index / pricing / contact / blog / legal pages
   ========================================================================== */

:root {
  /* Brand navy scale */
  --navy-950: #060B22;
  --navy-900: #0A1130;
  --navy-800: #0E1A44;
  --navy-700: #16214B;   /* legacy brand primary */
  --navy-600: #1E2C63;
  --navy-500: #2A3D82;

  /* Accent — signature blue → cyan → violet */
  --accent:        #3B82F6;
  --accent-cyan:   #22D3EE;
  --accent-violet: #8B5CF6;
  --accent-soft:   #E7F0FF;
  --grad: linear-gradient(120deg, #3B82F6 0%, #22D3EE 60%, #38BDF8 100%);
  --grad-violet: linear-gradient(120deg, #6366F1 0%, #22D3EE 100%);
  --grad-hero: radial-gradient(60% 90% at 15% 10%, rgba(59,130,246,.35), transparent 60%),
               radial-gradient(50% 80% at 90% 20%, rgba(34,211,238,.28), transparent 55%),
               radial-gradient(60% 90% at 70% 100%, rgba(139,92,246,.28), transparent 60%);

  /* Light surfaces */
  --bg:        #F4F7FC;
  --bg-2:      #EEF3FB;
  --surface:   #FFFFFF;
  --surface-2: #F8FAFF;
  --border:    #E3E9F4;
  --border-strong: #D4DCEC;

  /* Text */
  --text:   #0D1636;
  --text-2: #3C4A6B;
  --muted:  #6B7A9C;
  --on-dark:      #EAF0FF;
  --on-dark-mute: #A9B6D6;

  /* Effects */
  --ring: 0 0 0 1px var(--border);
  --shadow-sm: 0 1px 2px rgba(13,22,54,.06), 0 1px 3px rgba(13,22,54,.05);
  --shadow-md: 0 8px 24px -8px rgba(15,27,68,.18), 0 3px 8px -4px rgba(15,27,68,.12);
  --shadow-lg: 0 30px 60px -20px rgba(15,27,68,.28), 0 12px 24px -12px rgba(15,27,68,.16);
  --shadow-accent: 0 18px 40px -14px rgba(59,130,246,.5);

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --maxw: 1200px;

  --font-display: 'Sora', 'Poppins', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Inter', 'Open Sans', ui-sans-serif, system-ui, sans-serif;
}

/* ------- Base reset (replaces Tailwind Preflight) ------- */
*, *::before, *::after { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img, svg, video, canvas { max-width: 100%; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
button { background: none; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-display, .font-poppins {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
}

::selection { background: rgba(59,130,246,.22); }

/* Subtle page grain / grid overlay behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle at 12% 8%, rgba(59,130,246,.06), transparent 40%),
    radial-gradient(circle at 88% 0%, rgba(34,211,238,.05), transparent 38%);
}

/* Legacy helpers kept for compatibility with old markup */
.bg-primary { background-color: var(--navy-700); }
.text-primary { color: var(--navy-700); }
.bg-secondary { background-color: #BDC4CC; }
.text-secondary { color: var(--on-dark-mute); }
.border-primary { border-color: var(--navy-700); }

.container { max-width: var(--maxw); }
.container-x { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 1.5rem; }
@media (min-width: 1024px){ .container-x { padding-inline: 2rem; } }
.container-narrow { max-width: 860px; }

/* ------- Utility bits ------- */
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--grad);
  border-radius: 2px;
}
.eyebrow-dark { color: #7FD8FF; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color: var(--on-dark);
  backdrop-filter: blur(8px);
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 4px rgba(52,211,153,.2); }

/* ------- Buttons ------- */
.btn {
  --btn-py: .85rem; --btn-px: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: var(--btn-py) var(--btn-px);
  border-radius: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, background .25s, color .25s, border-color .25s;
  text-align: center;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn svg { width: 1.05em; height: 1.05em; }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-accent);
  background-size: 160% 160%;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 48px -14px rgba(59,130,246,.62); background-position: 100% 0; }

.btn-dark { background: var(--navy-800); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); background: var(--navy-700); box-shadow: var(--shadow-md); }

.btn-outline { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.btn-ghost-light { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.22); backdrop-filter: blur(8px); }
.btn-ghost-light:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }

.btn-white { background: #fff; color: var(--navy-800); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-lg { --btn-py: 1.05rem; --btn-px: 2rem; font-size: 1.05rem; border-radius: 14px; }
.btn-block { width: 100%; }

/* ------- Header / Nav ------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  transition: background .3s, box-shadow .3s, border-color .3s, backdrop-filter .3s;
  background: transparent;
  border-bottom: 1px solid transparent;
  color: #fff;
}
.site-header.on-dark { color: #fff; }
.site-header.scrolled,
.site-header.nav-solid {
  background: rgba(9,15,42,.85);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: rgba(255,255,255,.09);
  box-shadow: 0 16px 40px -22px rgba(0,0,0,.65);
  color: #fff;
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand img { height: 62px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: .35rem; }
.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: .55rem .85rem;
  border-radius: 10px;
  font-weight: 500;
  font-size: .95rem;
  color: inherit;
  opacity: .92;
  transition: background .2s, color .2s, opacity .2s;
  cursor: pointer;
}
.nav-item:hover { opacity: 1; background: rgba(255,255,255,.12); color: #fff; }
.nav-item.active-nav, .nav-item.active { color: var(--accent); opacity: 1; }
.nav-item.active-nav::after, .nav-item.active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%);
  width: 18px; height: 3px; border-radius: 3px; background: var(--grad);
}

/* Services dropdown */
.has-dropdown { position: relative; display: inline-flex; align-items: center; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 560px;
  background: rgba(255,255,255,.98);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: .75rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: .15rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s, transform .22s, visibility .22s;
  z-index: 70;
}
/* invisible bridge so moving the cursor from the trigger into the panel keeps it open */
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 16px; }
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.open .dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.has-dropdown > .nav-item svg { transition: transform .25s ease; }
.has-dropdown.open > .nav-item svg { transform: rotate(180deg); }
.dropdown a {
  display: flex; flex-direction: column; gap: 2px;
  padding: .7rem .85rem; border-radius: 12px; color: var(--text);
  transition: background .18s, transform .18s;
}
.dropdown a:hover { background: var(--surface-2); transform: translateX(2px); }
.dropdown a strong { font-weight: 600; font-size: .93rem; }
.dropdown a span { font-size: .78rem; color: var(--muted); }

.hamburger { display: none; background: none; border: 0; color: inherit; padding: .4rem; cursor: pointer; }
.hamburger svg { width: 28px; height: 28px; }

/* Mobile drawer */
.mobile-drawer {
  position: fixed; inset: 0 0 0 auto; width: min(88vw, 380px);
  background: var(--navy-900); color: #fff;
  transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.7,.2,1);
  z-index: 90; padding: 1.4rem; overflow-y: auto;
  box-shadow: -30px 0 60px -20px rgba(0,0,0,.5);
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-backdrop {
  position: fixed; inset: 0; background: rgba(6,11,34,.55); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; z-index: 85;
}
.mobile-backdrop.open { opacity: 1; visibility: visible; }
.mobile-drawer a { display: block; padding: .8rem .4rem; border-radius: 10px; color: #dfe6fb; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.06); }
.mobile-drawer a:hover { color: #fff; }
.mobile-drawer .drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.mobile-drawer .drawer-head button { background: none; border: 0; color: #fff; cursor: pointer; }

/* ------- Hero / dark sections ------- */
.dark-section { background: var(--navy-900); color: var(--on-dark); position: relative; overflow: hidden; }
.dark-section h1, .dark-section h2, .dark-section h3 { color: #fff; }
.hero { position: relative; overflow: hidden; background: var(--navy-950); color: var(--on-dark); }
.hero-mesh { position: absolute; inset: 0; background: var(--grad-hero); z-index: 0; }
.hero-grid {
  position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(70% 60% at 50% 35%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 35%, #000 40%, transparent 100%);
}
.hero-blob {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; z-index: 0;
  animation: floatBlob 16s ease-in-out infinite;
}
.hero-blob.b1 { width: 460px; height: 460px; background: rgba(59,130,246,.55); top: -120px; left: -60px; }
.hero-blob.b2 { width: 420px; height: 420px; background: rgba(34,211,238,.4); bottom: -140px; right: -40px; animation-delay: -5s; }
.hero-blob.b3 { width: 320px; height: 320px; background: rgba(139,92,246,.4); top: 30%; right: 26%; animation-delay: -9s; }
.hero > .container, .hero-inner { position: relative; z-index: 2; }

@keyframes floatBlob {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(30px,-24px) scale(1.06); }
  66% { transform: translate(-24px,20px) scale(.96); }
}

.hero-title { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800; color: #fff; }
.hero-sub { color: var(--on-dark-mute); font-size: clamp(1.02rem, 1.6vw, 1.28rem); }

/* Floating glass stat cards in hero */
.glass {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(14px);
  border-radius: var(--radius);
}
.stat-glass { padding: 1.1rem 1.25rem; }
.stat-glass .num { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; color: #fff; }
.stat-glass .lbl { font-size: .8rem; color: var(--on-dark-mute); }

/* ------- Sections ------- */
.section { position: relative; z-index: 1; padding: 5.5rem 0; }
.section-sm { padding: 3.5rem 0; }
@media (max-width: 768px){ .section { padding: 3.75rem 0; } }
.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-title { font-size: clamp(1.9rem, 3.4vw, 2.9rem); font-weight: 700; }
.section-desc { color: var(--muted); font-size: 1.08rem; margin-top: 1rem; }

/* ------- Cards ------- */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s;
  overflow: hidden;
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s;
  pointer-events: none;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::after { opacity: 1; }

.card-icon {
  width: 56px; height: 56px; border-radius: 15px;
  display: grid; place-items: center;
  color: #fff; font-weight: 700;
  background: var(--grad);
  box-shadow: var(--shadow-accent);
  margin-bottom: 1.25rem;
  font-family: var(--font-display);
}
.card-icon.soft { background: var(--accent-soft); color: var(--accent); box-shadow: none; }
.card h3 { font-size: 1.28rem; margin-bottom: .55rem; }
.card p { color: var(--muted); }

.card-link {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.25rem;
  font-weight: 600; color: var(--accent);
}
.card-link svg { transition: transform .25s; }
.card:hover .card-link svg, .card-link:hover svg { transform: translateX(4px); }

/* Feature (why-us) tile */
.feature { padding: 1.75rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature .fi { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 1rem; }
.feature h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.feature p { color: var(--muted); font-size: .96rem; }

/* Chips */
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .55rem 1.05rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-weight: 500; font-size: .92rem; color: var(--text-2);
  transition: all .22s; cursor: pointer;
}
.chip:hover { color: #fff; background: var(--navy-800); border-color: var(--navy-800); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ------- Trust marquee ------- */
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: scrollX 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { font-family: var(--font-display); font-weight: 600; color: var(--muted); font-size: 1.05rem; white-space: nowrap; opacity: .8; }
@keyframes scrollX { to { transform: translateX(-50%); } }

/* ------- Stat band ------- */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat-band .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); color: #fff; line-height: 1; }
.stat-band .num .plus { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-band .lbl { color: var(--on-dark-mute); margin-top: .5rem; font-size: .92rem; }
@media (max-width: 640px){ .stat-band { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; } }

/* ------- Testimonials ------- */
.tcard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow-md); }
.tcard .quote-mark { font-family: var(--font-display); font-size: 3.5rem; line-height: .6; color: var(--accent); opacity: .28; }
.tcard blockquote { font-size: 1.28rem; line-height: 1.55; color: var(--text); font-weight: 500; }
.avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #fff; background: var(--grad); }
.t-dots { display: flex; gap: .5rem; justify-content: center; margin-top: 1.75rem; }
.t-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); cursor: pointer; transition: all .25s; border: 0; padding: 0; }
.t-dot.active { width: 26px; border-radius: 5px; background: var(--grad); }

/* ------- Forms ------- */
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--text-2); margin-bottom: .4rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: .8rem 1rem; border-radius: 12px;
  border: 1px solid var(--border-strong); background: var(--surface);
  color: var(--text); font-family: inherit; font-size: 1rem;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #9aa8c6; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(59,130,246,.14);
  background: #fff;
}

/* ------- Accordion (FAQ) ------- */
.acc-item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); margin-bottom: .85rem; overflow: hidden; transition: box-shadow .25s, border-color .25s; }
.acc-item.open { box-shadow: var(--shadow-md); border-color: transparent; }
.acc-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 1.25rem 1.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--text); }
.acc-icon { flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); transition: transform .3s, background .3s, color .3s; }
.acc-item.open .acc-icon { transform: rotate(45deg); background: var(--grad); color: #fff; }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.acc-a-inner { padding: 0 1.4rem 1.25rem; color: var(--muted); }

/* ------- Detail list (service pages) ------- */
.offer { display: flex; gap: .9rem; align-items: flex-start; padding: 1.1rem; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); transition: transform .25s, box-shadow .25s; }
.offer:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.offer .tick { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: var(--shadow-accent); }
.offer p { margin: 0; color: var(--text-2); font-size: .96rem; }
.offer strong { color: var(--text); }

/* ------- Pricing ------- */
.price-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.9rem; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s, border-color .3s; height: 100%; display: flex; flex-direction: column; }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card.featured { background: var(--navy-800); color: #fff; border-color: transparent; box-shadow: var(--shadow-lg); }
.price-card.featured h3, .price-card.featured .price { color: #fff; }
.price-card .price { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--navy-800); }
.price-badge-top { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .04em; padding: .35rem .9rem; border-radius: 999px; box-shadow: var(--shadow-accent); text-transform: uppercase; }
.plan-feat { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; color: var(--text-2); padding: .28rem 0; }
.price-card.featured .plan-feat { color: rgba(255,255,255,.85); }
.plan-feat svg { flex: none; margin-top: .15rem; color: var(--accent); }
.price-card.featured .plan-feat svg { color: #7FD8FF; }

.rate-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.rate-row:last-child { border-bottom: 0; }
.rate-row .amt { font-family: var(--font-display); font-weight: 700; color: var(--accent); white-space: nowrap; }

/* ------- Footer ------- */
.site-footer { background: var(--navy-950); color: var(--on-dark-mute); position: relative; z-index: 1; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 80% 0%, rgba(34,211,238,.12), transparent 60%), radial-gradient(50% 60% at 10% 0%, rgba(59,130,246,.14), transparent 60%); pointer-events: none; }
.site-footer .container { position: relative; z-index: 1; }
.site-footer h4 { color: #fff; font-size: 1.02rem; margin-bottom: 1.1rem; font-family: var(--font-display); }
.site-footer a { color: var(--on-dark-mute); transition: color .2s; }
.site-footer a:hover { color: #fff; }
.foot-link { display: block; padding: .3rem 0; }
.social-btn { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #cdd8f5; transition: all .25s; }
.social-btn:hover { background: var(--grad); color: #fff; transform: translateY(-3px); border-color: transparent; }

/* ------- Floating action buttons ------- */
.fab-wrap { position: fixed; right: 20px; bottom: 20px; z-index: 70; display: flex; flex-direction: column; gap: .75rem; align-items: center; }
.fab { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow-lg); cursor: pointer; border: 0; transition: transform .25s, opacity .25s, visibility .25s; }
.fab-wa { background: #25D366; color: #fff; }
.fab-wa:hover { transform: scale(1.08); }
.fab-top { background: var(--navy-800); color: #fff; opacity: 0; visibility: hidden; }
.fab-top.show { opacity: 1; visibility: visible; }
.fab-top:hover { transform: translateY(-3px); }

/* ------- Reveal on scroll ------- */
.reveal, .scroll-animate { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.visible, .scroll-animate.visible { opacity: 1; transform: none; }

/* SPA page toggling (index) */
.page { display: none; }
.page.active { display: block; }
.testimonial-slide { display: none; }
.testimonial-slide.active { display: block; animation: fadeIn .5s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px);} to { opacity: 1; transform: none; } }

/* Prose (blog / legal) */
.prose { color: var(--text-2); line-height: 1.8; }
.prose h2, .prose h3 { color: var(--text); margin: 2rem 0 .8rem; }
.prose h2 { font-size: 1.6rem; } .prose h3 { font-size: 1.28rem; }
.prose p { margin-bottom: 1.1rem; }
.prose ul { margin: 1rem 0 1.4rem; padding-left: 1.3rem; }
.prose li { margin-bottom: .5rem; }
.prose a { color: var(--accent); text-decoration: underline; }

/* ------- Responsive nav ------- */
@media (max-width: 980px){
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: inline-flex; }
  .brand img { height: 52px; }
  .dropdown { min-width: 0; }
}

/* ==========================================================================
   Utility layer — replaces the Tailwind CDN (production-safe, zero JS)
   Only the utilities actually used across the site are defined here.
   ========================================================================== */
.grid { display: grid; grid-template-columns: repeat(1, minmax(0,1fr)); }
.flex { display: flex; }
.hidden { display: none; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.gap-4 { gap: 1rem; } .gap-5 { gap: 1.25rem; } .gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; } .gap-10 { gap: 2.5rem; } .gap-12 { gap: 3rem; }
.gap-x-6 { column-gap: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

@media (min-width: 640px){
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (min-width: 768px){
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .md\:col-span-2 { grid-column: span 2 / span 2; }
}
@media (min-width: 1024px){
  .lg\:grid-cols-2  { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .lg\:grid-cols-3  { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .lg\:grid-cols-4  { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0,1fr)); }
  .lg\:grid-cols-\[260px_1fr\] { grid-template-columns: 260px 1fr; }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
}
@media (min-width: 1280px){
  .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .scroll-animate { opacity: 1; transform: none; }
}
