/* ============================================================
   Accompagnement Startups — Premium Stylesheet v2.4
   Palette: #1B1464 (Navy) | #0080E2 (Blue) | #01B4B6 (Teal)
   Fonts: Sora (headings) · Inter (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ── Custom Properties ───────────────────────────────────── */
:root {
  /* Brand */
  --primary:         #1B1464;
  --primary-light:   #2a1f8f;
  --primary-dark:    #14127a;
  --secondary:       #0080E2;
  --accent:          #01B4B6;
  --accent-light:    #01d0d3;

  /* Design token aliases (used by inline styles on pages) */
  --color-primary:   #1B1464;
  --color-secondary: #0080E2;
  --color-accent:    #01B4B6;
  --color-background:#F8FAFF;
  --color-text:      #1A1A2E;
  --color-heading:   #1B1464;

  /* Surfaces */
  --bg:              #F8FAFF;
  --bg-dark:         #0b0932;
  --surface:         #ffffff;
  --surface-2:       #EFF4FF;

  /* Text */
  --text:            #1A1A2E;
  --text-muted:      #5a607a;
  --text-light:      #8892a4;

  /* Borders & Shadows */
  --border:          rgba(27,20,100,0.12);
  --shadow-sm:       0 2px 12px rgba(27,20,100,0.08);
  --shadow-md:       0 8px 32px rgba(27,20,100,0.12);
  --shadow-lg:       0 24px 64px rgba(27,20,100,0.16);
  --shadow-xl:       0 40px 100px rgba(27,20,100,0.2);

  /* Shape */
  --radius:          12px;
  --radius-lg:       20px;
  --radius-xl:       32px;

  /* Typography */
  --font-body:       'Inter', system-ui, sans-serif;
  --font-head:       'Sora', system-ui, sans-serif;

  /* Motion */
  --transition:      0.3s ease;

  /* Layout */
  --max-w:           1200px;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Typography ──────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.2;
  color: var(--primary);
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; font-weight: 700; }
p  { font-size: 1.0625rem; line-height: 1.8; }

/* ── Layout ──────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section-pad    { padding: 6rem 0; }
.section-pad-sm { padding: 4rem 0; }

/* Anchor scroll offset — accounts for sticky navbar */
[id] { scroll-margin-top: 90px; }

/* ── Navbar offset ───────────────────────────────────────────
   The navbar is fixed at 72px tall. Every page needs one of:
   a) A full-bleed hero (.hero / .page-hero / .blog-hero) whose
      own padding-top already clears the navbar — no extra offset.
   b) A bare <main> (e.g. blog post template, legal pages) which
      gets padding-top: 72px here so the first heading is never
      hidden behind the navbar.
   ─────────────────────────────────────────────────────────── */
body > main  { padding-top: 72px; }

/* Full-bleed heroes manage their own top spacing — reset the offset */
.hero        { padding-top: 80px; }   /* homepage hero */
.page-hero   { padding-top: 8rem; }   /* inner-page hero */
.blog-hero   { padding-top: 9rem; }   /* blog listing hero */
.post-hero   { padding-top: 8rem; }   /* blog post hero */

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(1,180,182,0.1);
  border: 1px solid rgba(1,180,182,0.25);
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}
.section-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulseDot 2s infinite;
}

.section-intro {
  max-width: 640px;
  margin-bottom: 3.5rem;
}
.section-intro.centered { text-align: center; margin: 0 auto 3.5rem; }
.section-intro p { color: var(--text-muted); margin-top: 0.875rem; font-size: 1.125rem; }

/* ── Animations ──────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(1.4); }
}
@keyframes floatUp {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -20px) scale(1.08); }
  66%       { transform: translate(-20px, 15px) scale(0.95); }
}
@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes spinIt {
  to { transform: rotate(360deg); }
}
@keyframes nlSpin {
  to { transform: rotate(360deg); }
}

.anim-fade-up { animation: fadeInUp 0.7s ease both; }
.anim-fade    { animation: fadeIn 0.7s ease both; }
.anim-scale   { animation: scaleIn 0.6s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }

/* ── Scroll Reveal ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* Delay variants for reveal children */
.reveal.delay-1, .reveal-left.delay-1, .reveal-right.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2, .reveal-left.delay-2, .reveal-right.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3, .reveal-left.delay-3, .reveal-right.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4, .reveal-left.delay-4, .reveal-right.delay-4 { transition-delay: 0.4s; }
.reveal.delay-5, .reveal-left.delay-5, .reveal-right.delay-5 { transition-delay: 0.5s; }
.reveal.delay-6, .reveal-left.delay-6, .reveal-right.delay-6 { transition-delay: 0.6s; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 0.875rem 2rem;
  border-radius: 100px;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  opacity: 0;
  transition: opacity var(--transition);
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  color: #fff;
  box-shadow: 0 6px 24px rgba(0,128,226,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0,128,226,0.5);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: var(--primary);
  box-shadow: 0 6px 24px rgba(1,180,182,0.4);
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(1,180,182,0.5);
}

.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-white {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
  background: transparent;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-ghost-white {
  border: 2px solid rgba(255,255,255,0.4);
  color: #fff;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.8);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,255,255,0.1);
}

.btn-lg  { padding: 1.1rem 2.5rem;  font-size: 1.0625rem; }
.btn-xl  { padding: 1.25rem 3rem;   font-size: 1.125rem; }

/* Disabled state for all buttons */
.btn:disabled,
button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ── Navbar ───────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
  padding: 0.5rem 0;
  /* Always dark so links are readable on every page */
  background: rgba(11,9,50,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.navbar.scrolled {
  background: rgba(11,9,50,0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 4px 32px rgba(0,0,0,0.3);
  padding: 0.25rem 0;
}
.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  min-width: 0; /* prevent grid/flex blowout */
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark svg { display: block; border-radius: 10px; }
.logo-text {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
}
.logo-text strong { font-weight: 800; color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}
.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  padding: 0.5rem 0.875rem;
  border-radius: 8px;
  transition: all var(--transition);
  position: relative;
  text-decoration: none;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%; right: 50%;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.nav-link:hover::after,
.nav-link.active::after {
  left: 0.875rem;
  right: 0.875rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 1rem;
}
.btn-nav-ghost {
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,0.25);
  transition: all var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.btn-nav-ghost:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.08);
}
.btn-nav-cta {
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  padding: 0.55rem 1.35rem;
  border-radius: 100px;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(1,180,182,0.35);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.btn-nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(1,180,182,0.5);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition);
}
.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); }

.nav-mobile {
  display: none;
  flex-direction: column;
  background: rgba(11,9,50,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  gap: 0.25rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link {
  color: rgba(255,255,255,0.85);
  padding: 0.75rem 1rem;
  border-radius: 8px;
}
.nav-mobile .nav-link:hover { background: rgba(255,255,255,0.06); color: #fff; }
.nav-mobile-actions {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.nav-mobile-actions .btn { width: 100%; justify-content: center; }

/* ── Hero Section ─────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-dark);
  padding-top: 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.12;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(27,20,100,0.97) 0%,
    rgba(0,128,226,0.65) 55%,
    rgba(1,180,182,0.45) 100%
  );
}
.hero-orbs { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orb 12s ease-in-out infinite;
}
.orb-1 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(0,128,226,0.35) 0%, transparent 70%);
  top: -120px; right: -100px;
  animation-delay: -4s;
}
.orb-2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(1,180,182,0.3) 0%, transparent 70%);
  bottom: -80px; left: 10%;
  animation-delay: -8s;
}
.orb-3 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(27,20,100,0.5) 0%, transparent 70%);
  top: 45%; left: 42%;
}
.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: calc(100vh - 80px);
  padding: 4rem 0;
  min-width: 0; /* prevent grid blowout */
}
/* Prevent grid children from overflowing their column */
.hero-content > * { min-width: 0; }
.hero-text { color: #fff; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(1,180,182,0.12);
  border: 1px solid rgba(1,180,182,0.3);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
  animation: fadeInUp 0.6s ease both;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulseDot 2s infinite;
}
.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.7s 0.1s ease both;
}
/* Gradient text uses CSS vars via rgba equivalents — no raw hex */
.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 60%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-description {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.8;
  color: rgba(255,255,255,0.78);
  margin-bottom: 2.5rem;
  max-width: 520px;
  animation: fadeInUp 0.7s 0.2s ease both;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
  animation: fadeInUp 0.7s 0.3s ease both;
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
  animation: fadeInUp 0.7s 0.4s ease both;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.stat-number {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.stat-number span { color: var(--accent); }
.stat-label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.25rem;
  letter-spacing: 0.02em;
}
.hero-visual {
  position: relative;
  animation: fadeInUp 0.8s 0.25s ease both;
  min-width: 0; /* prevent overflow in grid column */
}
.floating-badge {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  z-index: 10;
}
.floating-badge-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.badge-top {
  top: -1.25rem; left: -1.5rem;
  animation: floatUp 4s ease-in-out infinite;
}
.badge-bottom {
  bottom: -1.25rem; right: -1.5rem;
  animation: floatUp 4s ease-in-out infinite;
  animation-delay: -2s;
}

/* ── Trust Bar ────────────────────────────────────────────── */
.trust-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.trust-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.trust-logos {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.trust-logo-item {
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.45;
  transition: opacity var(--transition);
  padding: 0.5rem 1.25rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
}
.trust-logo-item:hover { opacity: 0.8; }

/* ── Services ─────────────────────────────────────────────── */
.services { background: var(--bg); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
/* Prevent grid children from overflowing */
.services-grid > * { min-width: 0; }
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0,128,226,0.2);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.625rem;
  margin-bottom: 1.25rem;
}
.icon-blue   { background: rgba(0,128,226,0.12); }
.icon-navy   { background: rgba(27,20,100,0.1); }
.icon-teal   { background: rgba(1,180,182,0.12); }
.icon-purple { background: rgba(100,50,200,0.1); }
.icon-green  { background: rgba(16,185,129,0.1); }
.icon-orange { background: rgba(245,158,11,0.1); }
.service-title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
  color: var(--primary);
}
.service-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--secondary);
  margin-top: 1.25rem;
  transition: gap var(--transition);
}
.service-link:hover { gap: 0.625rem; }

/* ── Stats Section ────────────────────────────────────────── */
.stats-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--secondary) 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.05;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}
/* Prevent grid children from overflowing */
.stats-grid > * { min-width: 0; }
.stat-block { text-align: center; padding: 2rem 1rem; }
.stat-block-number {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-block-number em { font-style: normal; color: var(--accent); }
.stat-block-label {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}
.stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.12);
  align-self: stretch;
}

/* ── How It Works ─────────────────────────────────────────── */
.how-it-works { background: linear-gradient(180deg, var(--bg) 0%, var(--surface-2) 100%); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}
.steps-grid > * { min-width: 0; }
.steps-grid::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: calc(12.5% + 1.5rem);
  right: calc(12.5% + 1.5rem);
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
  opacity: 0.2;
}
.step-card { text-align: center; position: relative; }
.step-number {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 24px rgba(27,20,100,0.25);
  transition: transform var(--transition), box-shadow var(--transition);
}
.step-card:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(0,128,226,0.35);
}
.step-title { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 0.625rem; }
.step-desc  { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* ── About Section ────────────────────────────────────────── */
.about-section { background: var(--bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-grid > * { min-width: 0; }
.about-image-wrap { position: relative; }
.about-image-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}
.about-badge-float {
  position: absolute;
  bottom: -1.75rem;
  right: -1.75rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
  min-width: 140px;
}
.about-badge-float .big-num {
  font-family: var(--font-head);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.about-badge-float .big-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
  margin-top: 0.25rem;
  line-height: 1.4;
}
.about-text h2 { margin-bottom: 1.25rem; }
.about-text p  { color: var(--text-muted); margin-bottom: 1.5rem; }
.value-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.value-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.value-item:hover {
  border-color: rgba(0,128,226,0.25);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}
.value-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
}
.value-content h4 { font-size: 0.9375rem; color: var(--primary); margin-bottom: 0.25rem; }
.value-content p  { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 40%, var(--secondary) 100%);
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}
.cta-banner .orb-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-banner .orb-bg::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(1,180,182,0.22) 0%, transparent 70%);
  top: -200px; right: -100px;
  border-radius: 50%;
  animation: orb 15s ease-in-out infinite;
}
.cta-banner .orb-bg::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,128,226,0.18) 0%, transparent 70%);
  bottom: -100px; left: -100px;
  border-radius: 50%;
  animation: orb 20s ease-in-out infinite reverse;
}
.cta-banner-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.cta-banner-inner h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 3rem); margin-bottom: 1.25rem; }
.cta-banner-inner p  { color: rgba(255,255,255,0.75); font-size: 1.125rem; margin-bottom: 2.5rem; }
.cta-banner-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Testimonials ─────────────────────────────────────────── */
.testimonials { background: var(--surface); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonials-grid > * { min-width: 0; }
.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0,128,226,0.18);
}
.quote-icon {
  font-size: 3.5rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.25;
  font-family: Georgia, serif;
  margin-bottom: 0.5rem;
}
.stars { display: flex; gap: 2px; margin-bottom: 1rem; }
.star  { color: #f59e0b; font-size: 0.875rem; }
.testimonial-text {
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.78;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.author-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}
.author-name { font-size: 0.9375rem; font-weight: 700; color: var(--primary); }
.author-role { font-size: 0.8125rem; color: var(--text-muted); margin-top: 0.125rem; }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-section { background: var(--surface-2); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.faq-grid > * { min-width: 0; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item:hover { border-color: rgba(0,128,226,0.22); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary);
  text-align: left;
  transition: color var(--transition);
}
.faq-q:hover { color: var(--secondary); }
.faq-chevron {
  width: 20px; height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--accent);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.78;
  border-top: 1px solid var(--border);
}
.faq-item.open .faq-a { display: block; animation: fadeInUp 0.25s ease both; }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.75);
  position: relative;
  overflow: hidden;
}
.footer-glow {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--secondary), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding: 5rem 0 3rem;
}
.footer-grid > * { min-width: 0; }
.footer-brand-col {}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  text-decoration: none;
}
.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.75rem;
  max-width: 290px;
}
.footer-social { display: flex; gap: 0.75rem; }
.social-link {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  transition: all var(--transition);
  text-decoration: none;
}
.social-link:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
  transform: translateY(-2px);
}
.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.58);
  transition: color var(--transition);
  text-decoration: none;
}
.footer-col ul li a:hover { color: var(--accent); }
.footer-contact-col p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 0;
}
.footer-contact-info { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.625rem; }
.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.5;
}
.footer-contact-icon { flex-shrink: 0; font-size: 0.875rem; margin-top: 0.1rem; }
.footer-contact-info a {
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
  text-decoration: none;
}
.footer-contact-info a:hover { color: var(--accent); }
.footer-bottom-wrap { border-top: 1px solid rgba(255,255,255,0.07); }
.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.8125rem; color: rgba(255,255,255,0.3); }
.footer-bottom-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-bottom-links a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.3);
  transition: color var(--transition);
  text-decoration: none;
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ── Page Hero (inner pages) ──────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--secondary) 100%);
  padding: 8rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(1,180,182,0.2) 0%, transparent 70%);
  top: -200px; right: -100px;
  border-radius: 50%;
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,128,226,0.15) 0%, transparent 70%);
  bottom: -150px; left: -100px;
  border-radius: 50%;
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 1rem; }
.page-hero p  { color: rgba(255,255,255,0.75); font-size: 1.125rem; max-width: 600px; margin: 0 auto; }

/* ── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.5rem;
  justify-content: center;
}
.breadcrumb a { color: rgba(255,255,255,0.65); text-decoration: none; transition: color var(--transition); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: rgba(255,255,255,0.35); }

/* ── Embed Wrapper ────────────────────────────────────────── */
.embed-wrapper {
  background: var(--surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.embed-header {
  padding: 1.125rem 1.75rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.embed-header-dots { display: flex; gap: 6px; }
.embed-dot { width: 10px; height: 10px; border-radius: 50%; }
.embed-dot-r { background: #ff5f57; }
.embed-dot-y { background: #febc2e; }
.embed-dot-g { background: #28c840; }
.embed-header-title {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.65);
  font-family: var(--font-body);
  margin-left: 0.5rem;
}
.embed-wrapper iframe {
  display: block;
  width: 100%;
  border: none;
  min-height: 600px;
}

/* ── Legal pages ──────────────────────────────────────────── */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}
.legal-content h2 {
  font-size: 1.375rem;
  margin: 2.5rem 0 0.875rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.legal-content h3 { font-size: 1.125rem; margin: 1.75rem 0 0.625rem; }
.legal-content p   { color: var(--text-muted); margin-bottom: 1rem; }
.legal-content ul  { list-style: disc; padding-left: 1.5rem; color: var(--text-muted); margin-bottom: 1rem; }
.legal-content ul li { margin-bottom: 0.5rem; font-size: 1rem; }
.legal-content a   { color: var(--secondary); text-decoration: underline; }
.legal-meta {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

/* ── 404 ──────────────────────────────────────────────────── */
.not-found {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
}
.not-found-code {
  font-family: var(--font-head);
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 1rem;
}

/* ── Utility ──────────────────────────────────────────────── */
.text-center    { text-align: center; }
.text-gradient  {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.highlight { color: var(--accent); }
.divider   { height: 1px; background: var(--border); margin: 0; }
.mt-2      { margin-top: 2rem; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .services-grid     { grid-template-columns: repeat(2, 1fr); }
  .steps-grid        { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before{ display: none; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid       { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .stats-grid        { grid-template-columns: repeat(2, 1fr); }
  .stat-divider      { display: none; }
}
@media (max-width: 960px) {
  .hero-content { grid-template-columns: 1fr; gap: 3rem; min-height: auto; padding: 3rem 0; }
  .hero-visual  { max-width: 520px; margin: 0 auto; }
  .about-grid   { grid-template-columns: 1fr; gap: 3rem; }
  .about-image-wrap img { height: 340px; }
  .about-badge-float    { bottom: 0.75rem; right: 0.75rem; }
}
@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }
  .services-grid     { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid       { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom     { flex-direction: column; text-align: center; }
  .footer-bottom-links { justify-content: center; }
  .trust-inner       { gap: 1.5rem; }
  .section-pad       { padding: 4rem 0; }
  .hero-stats        { gap: 1.5rem; flex-wrap: wrap; }
  .badge-top, .badge-bottom { display: none; }
  .faq-grid          { grid-template-columns: 1fr; }
  .stats-grid        { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .stat-divider      { display: none; }
}
@media (max-width: 480px) {
  .btn-xl { padding: 1rem 1.75rem; font-size: 1rem; }
  .hero-actions { flex-direction: column; }
  .steps-grid   { grid-template-columns: 1fr; }
  .cta-banner-actions { flex-direction: column; align-items: center; }
  /* Collapse stats to single column on small screens */
  .stats-grid   { grid-template-columns: 1fr; }
  /* Ensure trust logos wrap gracefully */
  .trust-logos  { gap: 1rem; }
  .trust-logo-item { font-size: 0.8125rem; padding: 0.4rem 0.875rem; }
}

/* ── 320px safety net ────────────────────────────────────── */
@media (max-width: 360px) {
  .container { padding: 0 1rem; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .btn { white-space: normal; text-align: center; }
  .btn-lg, .btn-xl { padding: 0.875rem 1.25rem; font-size: 0.9375rem; }
  /* Stack hero stats vertically at 320px */
  .hero-stats { flex-direction: column; gap: 1rem; }
  .stat-number { font-size: 1.75rem; }
  /* Single column stats at 320px */
  .stats-grid { grid-template-columns: 1fr; }
  /* Prevent footer grid overflow */
  .footer-grid { grid-template-columns: 1fr; }
  /* Ensure service cards don't overflow */
  .services-grid { grid-template-columns: 1fr; }
  /* Collapse FAQ grid */
  .faq-grid { grid-template-columns: 1fr; }
  /* Prevent testimonial grid overflow */
  .testimonials-grid { grid-template-columns: 1fr; }
  /* Prevent steps grid overflow */
  .steps-grid { grid-template-columns: 1fr; }
  /* Prevent about grid overflow */
  .about-grid { grid-template-columns: 1fr; }
  /* Prevent hero content grid overflow */
  .hero-content { grid-template-columns: 1fr; }
}
