/* ============================================================
   FINPAY CONSULTANTS — main.css
   Design: Adyen × Marqeta — enterprise premium, bold typography,
   gradient accents, generous whitespace, 3D bento feel.
   Pure CSS, no framework. Production-ready.
   ============================================================ */


/* ================================================================
   1. CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ================================================================ */
:root {
  /* Core palette */
  --navy:       #0A1628;
  --navy-mid:   #0D1F3C;
  --navy-deep:  #06101E;
  --navy-light: #162D54;
  --teal:       #00B4D8;
  --teal-d:     #0096B7;
  --teal-l:     #48CAE4;
  --gold:       #F59E0B;
  --gold-d:     #D97706;
  --gold-l:     #FCD34D;
  --white:      #ffffff;
  --off:        #F8FAFC;

  /* Grey scale */
  --g100: #F1F5F9;
  --g200: #E2E8F0;
  --g300: #CBD5E1;
  --g400: #94A3B8;
  --g500: #64748B;
  --g600: #475569;
  --g700: #334155;
  --g800: #1E293B;
  --g900: #0F172A;

  /* Semantic */
  --success: #10B981;
  --error:   #EF4444;

  /* Compatibility aliases */
  --text-muted: var(--g500);
  --border:     var(--g200);
  --bg-page:    #fff;

  /* Font families */
  --fh: 'Plus Jakarta Sans', system-ui, sans-serif;
  --fb: 'DM Sans', system-ui, sans-serif;
  --fm: 'JetBrains Mono', 'Fira Code', monospace;

  /* Border radii */
  --r-sm:   0.25rem;
  --r-md:   0.5rem;
  --r-lg:   0.75rem;
  --r-xl:   1rem;
  --r-2xl:  1.5rem;
  --r-full: 9999px;

  /* Shadows */
  --sh-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --sh-md:   0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
  --sh-lg:   0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
  --sh-xl:   0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1);
  --sh-teal: 0 8px 32px -4px rgba(0,180,216,.35);
  --sh-gold: 0 8px 32px -4px rgba(245,158,11,.35);

  /* Transitions */
  --t-fast:   150ms ease;
  --t-base:   250ms ease;
  --t-slow:   400ms ease;
  --t-spring: 300ms cubic-bezier(.34, 1.56, .64, 1);
}


/* ================================================================
   2. RESET + BASE
   ================================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--fb);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--g700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg, video, canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color var(--t-fast);
}

a:hover { color: var(--teal-d); }

ul, ol { list-style: none; }

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--fh);
  line-height: 1.1;
  color: var(--navy);
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: .75rem 1.5rem;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  border-radius: var(--r-md);
}
.skip-link:focus { left: 1.5rem; top: 1.5rem; }


/* ================================================================
   3. LAYOUT UTILITIES
   ================================================================ */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container--wide {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

.section        { padding: 5rem 0; }
.section--sm    { padding: 3rem 0; }
.section--lg    { padding: 8rem 0; }
.section--alt   { background: var(--off); }
.section--dark  { background: var(--navy); color: #fff; }
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: #fff; }

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-center { text-align: center; }

.hidden   { display: none !important; }
.sr-only  {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.gradient-text {
  background: linear-gradient(135deg, var(--teal) 0%, #48CAE4 40%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}


/* ================================================================
   4. TYPOGRAPHY
   ================================================================ */
h1 {
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
}

h4 {
  font-size: 1.125rem;
  font-weight: 700;
}

h5 {
  font-size: 1rem;
  font-weight: 700;
}

h6 {
  font-size: .875rem;
  font-weight: 700;
}

p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--g600);
}

.lead {
  font-size: 1.25rem;
  color: var(--g500);
  line-height: 1.7;
}

.eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
}


/* ================================================================
   5. ANIMATED HERO
   ================================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  min-height: 88vh;
  display: flex;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .6;
}

.hero__orb--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,180,216,.35), transparent 70%);
  top: -100px;
  right: -50px;
  animation: orbFloat1 12s ease-in-out infinite;
}

.hero__orb--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245,158,11,.2), transparent 70%);
  bottom: -100px;
  left: 10%;
  animation: orbFloat2 15s ease-in-out infinite;
}

.hero__orb--3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,180,216,.15), transparent 70%);
  top: 30%;
  left: 30%;
  animation: orbFloat3 10s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(-60px, 40px) scale(1.1); }
  66%       { transform: translate(40px, -50px) scale(.9); }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(60px, -40px) scale(.9); }
  66%       { transform: translate(-30px, 60px) scale(1.1); }
}

@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(30px, -30px); }
}

.hero__grid-overlay {
  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: 60px 60px;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 10rem 0 8rem;
}

.hero__text {}

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero eyebrow pill */
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(0,180,216,.1);
  border: 1px solid rgba(0,180,216,.25);
  border-radius: var(--r-full);
  padding: .375rem .875rem;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--teal-l);
  margin-bottom: 1.5rem;
}

.hero__eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 2.5s ease-in-out infinite;
  flex-shrink: 0;
}

.hero__h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.hero__sub {
  font-size: .9375rem;
  color: rgba(255,255,255,.65);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: .375rem;
  font-size: .8rem;
  color: rgba(255,255,255,.65);
  font-weight: 500;
}

.hero__trust-item svg {
  color: var(--teal);
  flex-shrink: 0;
}


/* ================================================================
   6. SITE HEADER
   ================================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
  background: transparent;
}

.site-header.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 2rem;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}


/* ================================================================
   7. BUTTONS — PREMIUM
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .875rem 1.75rem;
  font-family: var(--fb);
  font-size: .9rem;
  font-weight: 600;
  border-radius: var(--r-full);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
  line-height: 1;
}

/* Shimmer sweep on primary */
.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.2) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform .5s ease;
}

.btn--primary:hover::after { transform: translateX(100%); }

.btn--primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-d));
  color: #fff;
  border-color: var(--teal);
  box-shadow: 0 4px 20px rgba(0,180,216,.4);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,180,216,.5);
  color: #fff;
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-d));
  color: var(--navy);
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(245,158,11,.35);
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245,158,11,.5);
  color: var(--navy);
}

.btn--outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.4);
}

.btn--outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--g600);
  border-color: transparent;
}

.btn--ghost:hover {
  background: var(--g100);
  color: var(--navy);
}

.btn--sm  { padding: .5rem 1.25rem; font-size: .8rem; }
.btn--lg  { padding: 1.125rem 2.25rem; font-size: 1rem; }
.btn--xl  { padding: 1.375rem 2.75rem; font-size: 1.125rem; }
.btn--full { width: 100%; justify-content: center; }

/* Header variant — glassy on dark hero, teal when scrolled */
.btn--header {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: rgba(255,255,255,.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn--header:hover {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.6);
  color: #fff;
}

.site-header.scrolled .btn--header {
  background: linear-gradient(135deg, var(--teal), var(--teal-d));
  color: #fff;
  border-color: var(--teal);
  box-shadow: 0 4px 20px rgba(0,180,216,.4);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-header.scrolled .btn--header:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,180,216,.5);
}


/* ================================================================
   8. NAVIGATION
   ================================================================ */
.primary-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav-item { position: relative; }

/* Bridge the gap between nav button and mega menu so mouseleave doesn't fire */
.nav-item--has-mega::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .5rem .875rem;
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  border-radius: var(--r-md);
  transition: all var(--t-fast);
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
}

.nav-link svg {
  width: 12px;
  height: 12px;
  transition: transform var(--t-fast);
}

.nav-link:hover {
  color: #fff;
  background: rgba(255,255,255,.08);
}

.site-header.scrolled .nav-link {
  color: var(--g600);
}

.site-header.scrolled .nav-link:hover {
  color: var(--navy);
  background: var(--g100);
}

.nav-link.current { color: var(--teal-l); }
.site-header.scrolled .nav-link.current { color: var(--teal); }

/* Open state chevron */
.nav-item.open > .nav-link svg { transform: rotate(180deg); }


/* ================================================================
   9. MEGA MENU
   ================================================================ */
.mega-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: #fff;
  border: 1px solid var(--g100);
  border-top: 3px solid var(--teal);
  border-radius: 0 0 var(--r-xl) var(--r-xl);
  box-shadow: 0 20px 60px rgba(0,0,0,.13), 0 4px 16px rgba(0,0,0,.06);
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all .2s cubic-bezier(.16, 1, .3, 1);
  min-width: 720px;
  z-index: 20;
}

.mega-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-menu--sm { min-width: 280px; }

.mega-menu__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.mega-menu--sm .mega-menu__inner { grid-template-columns: 1fr; }

.mega-col {
  padding: .25rem .5rem;
  border-right: 1px solid var(--g100);
}
.mega-col:last-child { border-right: none; }

.mega-col__heading {
  font-size: .625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--teal-d);
  padding: .5rem .75rem .375rem;
  display: block;
}

.mega-link {
  display: block;
  padding: .55rem .875rem;
  border-radius: var(--r-md);
  font-size: .8375rem;
  font-weight: 500;
  color: var(--g600);
  text-decoration: none;
  transition: all var(--t-fast);
}

.mega-link:hover {
  background: var(--g100);
  color: var(--navy);
  padding-left: 1.125rem;
}

.mega-link--all {
  color: var(--teal);
  font-weight: 600;
  margin-top: .375rem;
  display: flex;
  align-items: center;
  gap: .375rem;
  border-top: 1px solid var(--g100);
  padding-top: .625rem;
  margin-top: .5rem;
}

.mega-link--all:hover {
  color: var(--teal-d);
  background: rgba(0,180,216,.06);
}

@media (max-width: 1024px) {
  .mega-menu { display: none !important; }
}


/* ================================================================
   10. MOBILE BURGER + DRAWER
   ================================================================ */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 7px;
  border-radius: var(--r-md);
  border: 1.5px solid rgba(255,255,255,.2);
  transition: all var(--t-fast);
  background: rgba(255,255,255,.06);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  transition: all var(--t-base);
  background: rgba(255,255,255,.8);
}

.site-header.scrolled .burger {
  border-color: var(--g200);
  background: transparent;
}

.site-header.scrolled .burger span { background: var(--navy); }

.burger:hover { background: rgba(255,255,255,.12); }
.site-header.scrolled .burger:hover { background: var(--g100); }

/* Burger active (X state) */
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }


/* ================================================================
   11. STATS SECTION (Adyen-style big numbers)
   ================================================================ */
.stats-section {
  background: var(--navy-deep);
  padding: 4rem 0;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

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

.stat-item {
  text-align: center;
  padding: 2.5rem 2rem;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 25%;
  bottom: 25%;
  width: 1px;
  background: rgba(255,255,255,.08);
}

.stat-num {
  display: block;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  font-family: var(--fh);
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #fff 0%, var(--teal-l) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: .5rem;
}

.stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
}


/* ================================================================
   12. TRUST / MARQUEE BAR
   ================================================================ */
.trust-bar {
  background: var(--off);
  border-top: 1px solid var(--g200);
  border-bottom: 1px solid var(--g200);
  padding: 1.5rem 0;
  overflow: hidden;
}

.trust-bar__label {
  text-align: center;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--g400);
  margin-bottom: 1.25rem;
}

.marquee {
  overflow: hidden;
  position: relative;
}

.marquee::before,
.marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--off), transparent);
}

.marquee::after {
  right: 0;
  background: linear-gradient(-90deg, var(--off), transparent);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}

.marquee__track:hover { animation-play-state: paused; }

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

.marquee__item {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--g500);
  white-space: nowrap;
  padding: .25rem .75rem;
  border-radius: var(--r-full);
  border: 1px solid var(--g200);
  background: #fff;
}

.marquee__item svg {
  color: var(--teal);
  flex-shrink: 0;
}


/* ================================================================
   13. CARDS
   ================================================================ */

/* Feature Card */
.feat-card {
  background: #fff;
  border: 1px solid var(--g200);
  border-radius: var(--r-2xl);
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
  transition: all .3s cubic-bezier(.16, 1, .3, 1);
  position: relative;
  overflow: hidden;
}

.feat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

.feat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,.1), 0 0 0 1px rgba(0,180,216,.15);
}

.feat-card:hover::before { transform: scaleX(1); }

.feat-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, rgba(0,180,216,.12), rgba(10,22,40,.04));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  margin-bottom: 1.25rem;
}

.feat-card__icon svg { width: 24px; height: 24px; }

.feat-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .625rem;
}

.feat-card__desc {
  font-size: .9rem;
  color: var(--g500);
  line-height: 1.7;
}

.feat-card__link {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .8375rem;
  font-weight: 600;
  color: var(--teal);
  margin-top: 1.25rem;
  text-decoration: none;
  transition: gap var(--t-fast);
}

.feat-card__link:hover { gap: .625rem; color: var(--teal-d); }

/* Service Card */
.service-card {
  background: #fff;
  border: 1px solid var(--g200);
  border-radius: var(--r-2xl);
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
  padding: 1.75rem;
  transition: all .3s cubic-bezier(.16, 1, .3, 1);
  position: relative;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,180,216,.12), 0 0 0 1px rgba(0,180,216,.2);
}

.service-card__num {
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--teal);
  margin-bottom: 1rem;
  display: block;
}

.service-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(0,180,216,.1), rgba(0,180,216,.05));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  margin-bottom: 1rem;
}

.service-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .5rem;
}

.service-card__desc {
  font-size: .8375rem;
  color: var(--g500);
  line-height: 1.65;
}

.service-card__arrow {
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
  opacity: 0;
  transform: translateX(-4px);
  transition: all var(--t-base);
  color: var(--teal);
}

.service-card:hover .service-card__arrow {
  opacity: 1;
  transform: translateX(0);
}


/* ================================================================
   14. CASE STUDY CARDS
   ================================================================ */
.case-card {
  background: #fff;
  border: 1px solid var(--g100);
  border-radius: var(--r-2xl);
  overflow: hidden;
  transition: all .3s cubic-bezier(.16, 1, .3, 1);
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,.1);
}

.case-card__head {
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  position: relative;
  overflow: hidden;
}

.case-card__head::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
}

.case-card__cat {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--teal-l);
  margin-bottom: .5rem;
  display: block;
}

.case-card__client {
  font-size: .8375rem;
  color: rgba(255,255,255,.5);
}

.case-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.case-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .625rem;
  line-height: 1.35;
  flex: 0 0 auto;
}

.case-card__excerpt {
  font-size: .8375rem;
  color: var(--g500);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex: 1;
}

.case-card__results {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px solid var(--g100);
}

.case-result__val {
  display: block;
  font-size: 1.375rem;
  font-weight: 900;
  color: var(--teal);
  font-family: var(--fh);
  line-height: 1;
}

.case-result__label {
  font-size: .7rem;
  color: var(--g400);
  margin-top: .2rem;
}


/* ================================================================
   15. INSIGHT CARDS
   ================================================================ */
.insight-card {
  background: #fff;
  border: 1px solid var(--g200);
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
  transition: all .3s cubic-bezier(.16, 1, .3, 1);
  display: flex;
  flex-direction: column;
}

.insight-card__body { flex: 1; }

.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.08);
}

.insight-card__img {
  height: 160px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.insight-card__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 40%, rgba(0,180,216,.2), transparent 60%);
}

.insight-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }

.insight-card__cat {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--teal);
  margin-bottom: .5rem;
  display: block;
}

.insight-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .5rem;
  line-height: 1.35;
}

.insight-card__excerpt {
  font-size: .8375rem;
  color: var(--g500);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.insight-card__meta {
  font-size: .75rem;
  color: var(--g400);
  display: flex;
  gap: .75rem;
}


/* ================================================================
   16. BADGES
   ================================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .25rem .75rem;
  border-radius: var(--r-full);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.badge--teal  { background: rgba(0,180,216,.1);   color: var(--teal-d); border: 1px solid rgba(0,180,216,.2); }
.badge--navy  { background: rgba(10,22,40,.08);   color: var(--navy);   border: 1px solid rgba(10,22,40,.12); }
.badge--gold  { background: rgba(245,158,11,.1);  color: var(--gold-d); border: 1px solid rgba(245,158,11,.2); }
.badge--visa  { background: rgba(26,31,113,.07);  color: #1A1F71;       border: 1px solid rgba(26,31,113,.15); }
.badge--mc    { background: rgba(192,0,26,.07);   color: #C0001A;       border: 1px solid rgba(192,0,26,.15); }


/* ================================================================
   17. PAGE HERO (interior pages)
   ================================================================ */
.page-hero {
  background: var(--navy-deep);
  padding: 7rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  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: 48px 48px;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 70% 50%, rgba(0,180,216,.12), transparent 70%);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
}

/* Interior service/sub pages use plain <h1>/<p> tags — force white on dark hero */
.page-hero h1 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin: .75rem 0 1.125rem;
}
.page-hero h2 { color: #fff; }
.page-hero > .container > p {
  color: rgba(255,255,255,.7);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 660px;
}

.page-hero__h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  line-height: 1.1;
}

.page-hero__lead {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.65);
  max-width: 680px;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.page-hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}


/* ================================================================
   18. BREADCRUMB
   ================================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-wrap: wrap;
  font-size: .8rem;
  margin-bottom: 1.25rem;
}

.breadcrumb a {
  color: rgba(255,255,255,.45);
  transition: color var(--t-fast);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--teal-l); }

.breadcrumb__sep { color: rgba(255,255,255,.2); }

.breadcrumb__current { color: rgba(255,255,255,.75); }


/* ================================================================
   19. SECTION NAV (sticky in-page tabs)
   ================================================================ */
.section-nav {
  background: #fff;
  border-bottom: 1px solid var(--g200);
  position: sticky;
  top: 72px;
  z-index: 50;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.section-nav ul {
  display: flex;
  padding: 0 1.5rem;
  list-style: none;
  min-width: max-content;
  gap: 0;
}

.section-nav a {
  display: block;
  padding: 1rem 1.25rem;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--g500);
  border-bottom: 2px solid transparent;
  text-decoration: none;
  transition: all var(--t-fast);
  white-space: nowrap;
}

.section-nav a:hover,
.section-nav a.active {
  color: var(--teal);
  border-bottom-color: var(--teal);
}


/* ================================================================
   20. CONTENT BODY (long-form prose)
   ================================================================ */
.content-body { max-width: 800px; }

.content-body h2 {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--navy);
  margin: 3rem 0 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--g100);
  letter-spacing: -0.02em;
}

.content-body h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.content-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin: 2rem 0 .875rem;
}

.content-body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--g700);
  margin: 1.5rem 0 .625rem;
}

.content-body p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--g600);
  margin-bottom: 1.25rem;
}

.content-body ul,
.content-body ol {
  margin-bottom: 1.5rem;
  padding-left: 0;
}

.content-body ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: .625rem;
  font-size: 1rem;
  color: var(--g600);
  line-height: 1.7;
}

.content-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.content-body ol { counter-reset: li; }

.content-body ol li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: .75rem;
  font-size: 1rem;
  color: var(--g600);
  line-height: 1.7;
  counter-increment: li;
}

.content-body ol li::before {
  content: counter(li);
  position: absolute;
  left: 0;
  top: 1px;
  width: 1.375rem;
  height: 1.375rem;
  background: var(--teal);
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fh);
}

.content-body strong { color: var(--navy); font-weight: 700; }

.content-body a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* ================================================================
   21. CALLOUTS
   ================================================================ */
.callout {
  border-left: 3px solid var(--teal);
  background: rgba(0,180,216,.05);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.callout--gold {
  border-left-color: var(--gold);
  background: rgba(245,158,11,.05);
}

.callout__title {
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--teal);
  margin-bottom: .5rem;
}

.callout--gold .callout__title { color: var(--gold-d); }

.callout p {
  font-size: .9rem;
  color: var(--g600);
  line-height: 1.7;
  margin: 0;
}


/* ================================================================
   22. SPEC TABLE
   ================================================================ */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--g100);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
}

.spec-table th {
  background: var(--navy);
  color: #fff;
  padding: .875rem 1rem;
  text-align: left;
  font-weight: 700;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
}

.spec-table th:first-child { border-radius: var(--r-lg) 0 0 0; }
.spec-table th:last-child  { border-radius: 0 var(--r-lg) 0 0; }

.spec-table td {
  padding: .875rem 1rem;
  border-bottom: 1px solid var(--g100);
  color: var(--g600);
  vertical-align: top;
  line-height: 1.5;
}

.spec-table code {
  font-family: var(--fm);
  font-size: .8rem;
  background: var(--g100);
  padding: .1rem .4rem;
  border-radius: var(--r-sm);
  color: var(--teal-d);
}

.spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:hover td     { background: rgba(0,180,216,.03); }


/* ================================================================
   23. CODE BLOCK
   ================================================================ */
.code-block {
  background: #0D1117;
  border-radius: var(--r-xl);
  padding: 1.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid rgba(255,255,255,.06);
  position: relative;
}

.code-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
}

.code-block code {
  color: #e6edf3;
  font-family: var(--fm);
  font-size: .875rem;
  line-height: 1.75;
  display: block;
}

.code-block .kw  { color: #ff7b72; }
.code-block .str { color: #a5d6ff; }
.code-block .cm  { color: #8b949e; }
.code-block .num { color: #79c0ff; }


/* ================================================================
   24. PROCESS STEPS
   ================================================================ */
.process {
  display: flex;
  flex-direction: column;
  position: relative;
}

.process::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(to bottom, var(--teal), rgba(0,180,216,.1));
}

.process-step {
  display: flex;
  gap: 1.75rem;
  padding-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.process-step:last-child { padding-bottom: 0; }

.process-step__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-d));
  color: #fff;
  font-weight: 900;
  font-family: var(--fh);
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(0,180,216,.15);
}

.process-step__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .5rem;
}

.process-step__desc {
  font-size: .9rem;
  color: var(--g500);
  line-height: 1.7;
}


/* ================================================================
   25. ACCORDION / FAQ
   ================================================================ */
.accordion {
  border: 1px solid var(--g100);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.acc-item { border-bottom: 1px solid var(--g100); }
.acc-item:last-child { border-bottom: none; }

.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--navy);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: all var(--t-fast);
  font-family: var(--fb);
}

.acc-trigger:hover { background: var(--off); }

.acc-trigger::after {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--g100);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%2364748B' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform var(--t-base);
}

.acc-item.open .acc-trigger::after { transform: rotate(180deg); }

.acc-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height .35s cubic-bezier(.16, 1, .3, 1);
}

.acc-body__inner {
  padding: 0 1.5rem 1.5rem;
  font-size: .9rem;
  color: var(--g600);
  line-height: 1.75;
}

.acc-item.open .acc-body { max-height: 500px; }


/* ================================================================
   26. CTA SECTION
   ================================================================ */
.cta-section {
  background: var(--navy-deep);
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,180,216,.12), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-section__inner { position: relative; z-index: 1; }

.cta-section__tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--teal);
  margin-bottom: 1.5rem;
}

.cta-section__h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.cta-section__sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.55);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.cta-section__btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}


/* ================================================================
   27. NEWSLETTER
   ================================================================ */
.newsletter-wrap {
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
  border-radius: var(--r-2xl);
  padding: 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.06);
}

.newsletter-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(0,180,216,.08), transparent 60%);
  pointer-events: none;
}

.newsletter-wrap h2 {
  color: #fff;
  margin-bottom: .75rem;
  position: relative;
}

.newsletter-wrap p {
  color: rgba(255,255,255,.55);
  margin-bottom: 2rem;
  position: relative;
}

.newsletter-form {
  display: flex;
  gap: .75rem;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  position: relative;
}

.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: .875rem 1.25rem;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-full);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: .9rem;
  outline: none;
  transition: all var(--t-fast);
}

.newsletter-form input[type="email"]::placeholder {
  color: rgba(255,255,255,.35);
}

.newsletter-form input[type="email"]:focus {
  border-color: var(--teal);
  background: rgba(255,255,255,.1);
  box-shadow: 0 0 0 3px rgba(0,180,216,.15);
}

.nl-msg {
  text-align: center;
  font-size: .875rem;
  margin-top: .75rem;
}

.nl-ok  { color: #34D399; }
.nl-err { color: #F87171; }


/* ================================================================
   28. FORMS
   ================================================================ */
.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .5rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: .875rem 1.125rem;
  background: #fff;
  border: 1.5px solid var(--g200);
  border-radius: var(--r-lg);
  font-size: .9rem;
  color: var(--g800);
  transition: all var(--t-fast);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,180,216,.12);
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--g400); }

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

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24' stroke='%2364748B'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-input.err,
.form-textarea.err {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(239,68,68,.1);
}

.form-msg {
  border-radius: var(--r-lg);
  padding: .875rem 1.125rem;
  font-size: .875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.form-msg--ok {
  background: rgba(16,185,129,.1);
  border: 1px solid rgba(16,185,129,.25);
  color: #059669;
}

.form-msg--err {
  background: rgba(239,68,68,.06);
  border: 1px solid rgba(239,68,68,.2);
  color: #DC2626;
}


/* ================================================================
   29. INFO CARD (contact page)
   ================================================================ */
.info-card {
  background: #fff;
  border: 1px solid var(--g100);
  border-radius: var(--r-xl);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: all var(--t-fast);
}

.info-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
}

.info-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-lg);
  background: rgba(0,180,216,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
}

.info-card__label {
  font-size: .7rem;
  font-weight: 700;
  color: var(--g400);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .25rem;
}

.info-card__value {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--navy);
}


/* ================================================================
   30. SIDEBAR
   ================================================================ */
.sidebar {
  position: sticky;
  top: calc(72px + 2rem);
}

.sidebar-card {
  background: #fff;
  border: 1px solid var(--g100);
  border-radius: var(--r-2xl);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.sidebar-card--dark {
  background: var(--navy);
  border-color: var(--navy-light);
}

.sidebar-card--dark h3 { color: #fff; }
.sidebar-card--dark p  { color: rgba(255,255,255,.6); }


/* ================================================================
   31. FOOTER
   ================================================================ */
.site-footer {
  background: var(--g900);
  color: rgba(255,255,255,.55);
  padding-top: 5rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.footer-col--brand .footer-tagline {
  font-size: .875rem;
  line-height: 1.75;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,.45);
}

.footer-social {
  display: flex;
  gap: .625rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.4);
  transition: all var(--t-fast);
  text-decoration: none;
}

.social-link:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.footer-col__heading {
  font-family: var(--fh);
  font-size: .65rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 1.25rem;
}

.footer-col__list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col__link {
  font-size: .875rem;
  color: rgba(255,255,255,.45);
  text-decoration: none;
  transition: color var(--t-fast);
}

.footer-col__link:hover { color: var(--teal-l); }

.footer-bottom { padding: 1.75rem 0; border-top: 1px solid rgba(255,255,255,.07); }

.footer-bottom__inner {
  display: flex;
  flex-direction: column;
  gap: .375rem;
}

.footer-copy {
  font-size: .7rem;
  color: rgba(255,255,255,.3);
}

.footer-trademark {
  font-size: .72rem;
  color: rgba(255,255,255,.32);
  line-height: 1.65;
  max-width: 800px;
}


/* ================================================================
   32. FLOATING CTA
   ================================================================ */
.floating-cta {
  position: fixed;
  bottom: 5.5rem;
  right: 2rem;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  align-items: flex-end;
}

.float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
  cursor: pointer;
  transition: all var(--t-spring);
  text-decoration: none;
  border: none;
}

.float-btn:hover { transform: scale(1.1); color: #fff; }

.float-btn--wa {
  background: #25D366;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
}

.float-btn--top {
  background: var(--navy);
  border: 1px solid rgba(255,255,255,.1);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: all .25s ease;
}

.float-btn--top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}


/* ================================================================
   33. COOKIE BANNER
   ================================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15,23,42,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: rgba(255,255,255,.8);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  z-index: 400;
  font-size: .875rem;
  border-top: 1px solid rgba(255,255,255,.08);
}

.cookie-banner p {
  flex: 1;
  min-width: 200px;
  margin: 0;
  line-height: 1.55;
  color: rgba(255,255,255,.8);
}

.cookie-banner a {
  color: var(--teal-l);
  text-decoration: underline;
}

.cookie-btns {
  display: flex;
  gap: .5rem;
  flex-shrink: 0;
}

.cookie-accept {
  background: var(--teal);
  color: #fff;
  border: none;
  padding: .5rem 1.25rem;
  border-radius: var(--r-full);
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t-fast);
}

.cookie-accept:hover { background: var(--teal-d); }

.cookie-reject {
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.5);
  border: 1px solid rgba(255,255,255,.1);
  padding: .5rem 1rem;
  border-radius: var(--r-full);
  font-size: .8rem;
  cursor: pointer;
  transition: all var(--t-fast);
}

.cookie-reject:hover {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.8);
}


/* ================================================================
   34. ANIMATIONS
   ================================================================ */

/* Entrance scroll animations */
[data-anim] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity .65s cubic-bezier(.16, 1, .3, 1),
    transform .65s cubic-bezier(.16, 1, .3, 1);
}

[data-anim].anim-in {
  opacity: 1;
  transform: translateY(0);
}

[data-anim][data-delay="100"] { transition-delay: .1s; }
[data-anim][data-delay="200"] { transition-delay: .2s; }
[data-anim][data-delay="300"] { transition-delay: .3s; }
[data-anim][data-delay="400"] { transition-delay: .4s; }
[data-anim][data-delay="500"] { transition-delay: .5s; }

/* Pulse — hero eyebrow dot */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(1.4); }
}
.pulse { animation: pulse 2.5s ease-in-out infinite; }

/* Teal glow pulse */
@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px rgba(0,180,216,.3); }
  50%       { box-shadow: 0 0 40px rgba(0,180,216,.6); }
}
.glow-pulse { animation: glow 3s ease-in-out infinite; }

/* Slow spin */
@keyframes spinSlow { to { transform: rotate(360deg); } }
.spin-slow { animation: spinSlow 20s linear infinite; }

/* Fade up — standalone class */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .6s cubic-bezier(.16, 1, .3, 1) both; }

/* Scale in */
@keyframes scaleIn {
  from { opacity: 0; transform: scale(.92); }
  to   { opacity: 1; transform: scale(1); }
}
.scale-in { animation: scaleIn .5s cubic-bezier(.16, 1, .3, 1) both; }


/* ================================================================
   35. ADDITIONAL UTILITIES
   ================================================================ */
.text-teal  { color: var(--teal); }
.text-gold  { color: var(--gold); }
.text-white { color: #fff; }
.text-muted { color: var(--g500); }
.text-navy  { color: var(--navy); }
.font-mono  { font-family: var(--fm); }
.rounded-full { border-radius: var(--r-full); }
.w-full { width: 100%; }
.mt-auto { margin-top: auto; }
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }


/* ================================================================
   36. LOGO
   ================================================================ */
.logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo__text {
  font-family: var(--fh);
  font-size: 1.125rem;
  font-weight: 800;
  color: rgba(255,255,255,.95);
  letter-spacing: -0.02em;
  transition: color var(--t-fast);
}

.logo__text strong { color: var(--teal); }

.site-header.scrolled .logo__text { color: var(--navy); }

.logo--footer .logo__text { color: rgba(255,255,255,.8); }


/* ================================================================
   37. MOBILE DRAWER
   ================================================================ */
#mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
}

#mobile-drawer.open { pointer-events: auto; }

#mobile-drawer #drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6,16,30,.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .3s;
}

#mobile-drawer.open #drawer-backdrop { opacity: 1; }

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 92vw);
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.16, 1, .3, 1);
  overflow-y: auto;
  box-shadow: -20px 0 60px rgba(0,0,0,.15);
}

#mobile-drawer.open .drawer-panel { transform: translateX(0); }

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--g100);
}

#drawer-close {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--g200);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--g600);
  transition: all var(--t-fast);
  background: none;
  cursor: pointer;
}

#drawer-close:hover {
  background: var(--g100);
  color: var(--navy);
}

.drawer-nav {
  flex: 1;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.drawer-nav a {
  display: block;
  padding: .75rem 1rem;
  border-radius: var(--r-lg);
  color: var(--g700);
  font-weight: 500;
  font-size: .9375rem;
  text-decoration: none;
  transition: all var(--t-fast);
}

.drawer-nav a:hover {
  background: var(--g100);
  color: var(--navy);
}

.drawer-section > span {
  display: block;
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--g400);
  padding: .875rem 1rem .375rem;
}

.drawer-section ul {
  list-style: none;
  padding: 0;
  margin: 0 0 .5rem;
}

.drawer-section ul li a {
  display: block;
  padding: .5rem 1.5rem;
  font-size: .875rem;
  color: var(--g600);
  text-decoration: none;
  border-radius: var(--r-md);
  transition: all var(--t-fast);
}

.drawer-section ul li a:hover {
  background: var(--g100);
  color: var(--navy);
}

.drawer-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--g100);
  display: flex;
  flex-direction: column;
  gap: .75rem;
}


/* ================================================================
   38. RESPONSIVE BREAKPOINTS
   ================================================================ */

/* Tablet / small desktop */
@media (max-width: 1024px) {
  .primary-nav { display: none; }
  .header-cta .btn:not(.btn--header) { display: none; }
  .burger { display: flex; }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 8rem 0 5rem;
  }

  .hero__visual { display: none; }

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

  .footer-main {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
  }

  .footer-main .footer-col--brand { grid-column: 1 / -1; }

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

/* Mobile */
@media (max-width: 768px) {
  .container { padding: 0 1.25rem; }

  .section     { padding: 3rem 0; }
  .section--lg { padding: 5rem 0; }

  .grid-2,
  .grid-3 { grid-template-columns: 1fr; }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }

  .footer-main { grid-template-columns: 1fr 1fr; }

  .footer-bottom { flex-direction: column; gap: .5rem; }

  .cta-section { padding: 5rem 0; }
  .cta-section__btns { flex-direction: column; align-items: center; }

  .page-hero { padding: 5rem 0 3rem; }

  .newsletter-wrap { padding: 2.5rem 1.5rem; }
}

/* Small mobile */
@media (max-width: 480px) {
  .hero__h1 { font-size: 2.25rem; }
  .hero__actions { flex-direction: column; }

  .btn--xl,
  .btn--lg { width: 100%; justify-content: center; }

  .stat-item:not(:last-child)::after { display: none; }

  .stats-grid { grid-template-columns: 1fr 1fr; }

  .footer-main { grid-template-columns: 1fr; }
}

/* ── TRUSTED-BY STRIP ─────────────────────────────────────── */
.trusted-by {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--g100);
  border-bottom: 1px solid var(--g100);
  background: #fff;
}
.trusted-by__label {
  text-align: center;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--g400);
  margin: 0 0 1.25rem;
}
.trusted-by__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .75rem 2rem;
}
.trusted-logo {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: .4rem 1rem;
  border: 1px solid var(--g200);
  border-radius: 6px;
  background: rgba(0,180,216,.03);
  letter-spacing: .04em;
  transition: color .2s, border-color .2s;
}
.trusted-logo:hover {
  color: var(--teal);
  border-color: rgba(0,180,216,.35);
}

/* ── UX IMPROVEMENTS ─────────────────────────────────────────── */

/* Focus visibility */
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Page-hero elements animate immediately (no JS flash) */
@keyframes pageHeroReveal {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
.page-hero [data-anim] {
  opacity: 1;
  transform: none;
  animation: pageHeroReveal .6s cubic-bezier(.16, 1, .3, 1) both;
}
.page-hero [data-anim]:nth-child(2) { animation-delay: .1s; }
.page-hero [data-anim]:nth-child(3) { animation-delay: .2s; }
.page-hero [data-anim]:nth-child(4) { animation-delay: .3s; }

/* Print */
@media print {
  .site-header,
  .floating-cta,
  .cta-section,
  .site-footer,
  .cookie-banner { display: none; }

  body { color: #000; }
  a    { color: #000; text-decoration: underline; }
}
