@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ============================================================
   CSS VARIABLES & RESET
   Inspired by Together AI design system
   ============================================================ */
:root {
  /* Surfaces */
  --white:        #ffffff;
  --black:        #000000;
  --dark-blue:    #010120;          /* primary dark surface */
  --dark-blue-2:  #0a0a2e;          /* slightly lighter dark for layering */

  /* Text */
  --text:         #000000;
  --text-on-dark: #ffffff;
  --muted:        rgba(0, 0, 0, 0.55);
  --muted-on-dark: rgba(255, 255, 255, 0.6);

  /* Borders & glass */
  --border-light: rgba(0, 0, 0, 0.08);
  --border-dark:  rgba(255, 255, 255, 0.12);
  --glass-light:  rgba(255, 255, 255, 0.12);
  --glass-dark:   rgba(0, 0, 0, 0.04);

  /* Brand accents (illustration only) */
  --magenta:      #ef2cc1;
  --orange:       #fc4c02;
  --lavender:     #bdbbff;
  --soft-pink:    #ffd1e8;
  --soft-blue:    #c8d8ff;

  /* Shadows */
  --shadow-elev:  rgba(1, 1, 32, 0.10) 0px 4px 10px;
  --shadow-card:  rgba(1, 1, 32, 0.06) 0px 2px 6px;

  /* Radii */
  --r-sharp:    4px;
  --r-comfort:  8px;

  /* Type */
  --font-display: 'Space Grotesk', 'Arial', sans-serif;
  --font-mono:    'JetBrains Mono', 'Georgia', monospace;

  /* Layout */
  --nav-h:    72px;
  --max-w:    1200px;
  --t:        0.25s cubic-bezier(0.4, 0, 0.2, 1);

  /* Legacy aliases — keep old inline styles in pre-redesign pages from breaking */
  --bg:       #ffffff;
  --surface:  #ffffff;
  --surface2: rgba(0, 0, 0, 0.03);
  --border:   rgba(0, 0, 0, 0.08);
  --accent:   #010120;
  --accent2:  #0a0a2e;
  --gold:     #ef2cc1;
  --glow:     rgba(189, 187, 255, 0.18);
  --radius:    4px;
  --radius-lg: 8px;
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--white);
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.30;
  letter-spacing: -0.16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ============================================================
   TYPOGRAPHY (negative tracking everywhere on display font)
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);   /* 64px target */
  line-height: 1.05;
  letter-spacing: -1.92px;
}
h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem); /* 40px */
  line-height: 1.2;
  letter-spacing: -0.8px;
}
h3 {
  font-size: 1.75rem;                      /* 28px */
  line-height: 1.15;
  letter-spacing: -0.42px;
}
h4 {
  font-size: 1.375rem;                     /* 22px */
  line-height: 1.15;
  letter-spacing: -0.22px;
}
h5 {
  font-size: 1rem;
  letter-spacing: -0.16px;
}

p {
  font-size: 1rem;
  line-height: 1.30;
  letter-spacing: -0.16px;
  color: rgba(0, 0, 0, 0.72);
}
p.lead {
  font-size: 1.125rem;
  line-height: 1.35;
  letter-spacing: -0.18px;
}

strong { font-weight: 500; color: var(--text); }
em     { font-style: normal; }

/* Mono labels */
.mono-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;       /* 11px */
  font-weight: 500;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.mono-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.mono-label.no-line::before { display: none; }

.section-label { /* legacy class name kept for compatibility */
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

/* Accent text helpers — used sparingly */
.text-accent { color: var(--text); }
.text-magenta { color: var(--magenta); }
.text-muted { color: var(--muted); }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}
.section    { padding: 100px 0; }
.section-sm { padding: 60px 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

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

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-sharp);
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.16px;
  cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t);
  text-decoration: none;
}
.btn svg { width: 16px; height: 16px; }

/* Dark solid (primary CTA on light surfaces) */
.btn-primary {
  background: var(--dark-blue);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--dark-blue-2);
  transform: translateY(-1px);
  box-shadow: var(--shadow-elev);
}

/* Outlined Light (secondary on light) */
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-light);
}
.btn-outline:hover {
  border-color: rgba(0, 0, 0, 0.18);
  background: rgba(0, 0, 0, 0.02);
}

/* Glass on Dark */
.btn-glass {
  background: var(--glass-light);
  color: var(--white);
  border-color: var(--border-dark);
  backdrop-filter: blur(8px);
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.18); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  padding: 8px 0;
  font-weight: 500;
}
.btn-ghost:hover { text-decoration: underline; }

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  transition: background var(--t), border-color var(--t);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--border-light);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--text);
  letter-spacing: -0.42px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.nav-logo .logo-dot {
  width: 10px; height: 10px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--magenta), var(--lavender), var(--soft-blue));
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: -0.16px;
  color: var(--text);
  opacity: 0.7;
  transition: opacity var(--t);
}
.nav-links a:hover,
.nav-links a.active { opacity: 1; }
.nav-cta { margin-left: 8px; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: transparent;
  border: none;
}
.nav-burger span {
  width: 22px; height: 2px;
  background: var(--text);
  transition: var(--t);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-elev);
  z-index: 99;
  padding: 24px 32px;
  flex-direction: column;
  gap: 16px;
}
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: -0.16px;
  color: var(--text);
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
}

/* ============================================================
   HERO  — pastel gradient dreamscape
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
  background: var(--white);
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 800px 600px at 75% 20%, rgba(239, 44, 193, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 700px 500px at 15% 80%, rgba(189, 187, 255, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 600px 400px at 50% 100%, rgba(252, 76, 2, 0.06) 0%, transparent 70%);
}
.hero-bg-image {
  position: absolute;
  top: 0; right: 0;
  width: 55%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background-size: cover;
  background-position: center;
  mask-image: linear-gradient(to left, rgba(0,0,0,0.5) 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0.5) 0%, transparent 100%);
  opacity: 0.85;
}
.hero .container { z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--glass-dark);
  border: 1px solid var(--border-light);
  border-radius: var(--r-sharp);
  padding: 4px 12px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 28px;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: #22c55e;
  border-radius: 50%;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.0;
  letter-spacing: -1.92px;
  font-weight: 500;
  margin-bottom: 24px;
  max-width: 800px;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--magenta), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 1.125rem;
  letter-spacing: -0.18px;
  line-height: 1.35;
  max-width: 560px;
  margin-bottom: 36px;
  color: rgba(0, 0, 0, 0.72);
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Stats bar */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -1.2px;
  color: var(--text);
  margin-bottom: 8px;
}
.stat-num span {
  background: linear-gradient(120deg, var(--magenta), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   CARDS & CONTAINERS
   ============================================================ */
.card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-comfort);
  padding: 28px;
  transition: box-shadow var(--t), transform var(--t), border-color var(--t);
  position: relative;
  overflow: hidden;
}
.card:hover {
  box-shadow: var(--shadow-elev);
  transform: translateY(-2px);
  border-color: rgba(0, 0, 0, 0.12);
}
.card-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, rgba(189, 187, 255, 0.4), rgba(255, 209, 232, 0.4));
  border: 1px solid var(--border-light);
  border-radius: var(--r-sharp);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--text);
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 {
  font-size: 1.375rem;
  letter-spacing: -0.22px;
  margin-bottom: 10px;
}
.card p { font-size: 0.9375rem; line-height: 1.4; }

/* Image card */
.card-image {
  margin: -28px -28px 20px;
  height: 180px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--soft-pink), var(--lavender), var(--soft-blue));
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Stat / metric card */
.metric-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-comfort);
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.metric-card .metric-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 500;
  letter-spacing: -1.4px;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--text);
}
.metric-card .metric-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--glass-dark);
  border: 1px solid var(--border-light);
  border-radius: var(--r-sharp);
  padding: 2px 8px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: var(--text);
}
.badge-dark {
  background: var(--glass-light);
  border-color: var(--border-dark);
  color: var(--white);
}

/* ============================================================
   TRUST BAND
   ============================================================ */
.trust-band {
  background: var(--white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 24px 0;
}
.trust-band-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.055em;
  text-transform: uppercase;
}
.trust-item svg { width: 16px; height: 16px; color: var(--text); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: calc(var(--nav-h) + 80px) 0 80px;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 80% 50%, rgba(189, 187, 255, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 400px 300px at 20% 100%, rgba(255, 209, 232, 0.18) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -1.4px;
  margin-bottom: 16px;
  max-width: 760px;
}
.page-hero p {
  font-size: 1.125rem;
  line-height: 1.35;
  letter-spacing: -0.18px;
  max-width: 600px;
  color: rgba(0, 0, 0, 0.72);
}

.page-hero-image {
  position: absolute;
  top: 0; right: 0;
  width: 40%;
  height: 100%;
  z-index: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  mask-image: linear-gradient(to left, rgba(0,0,0,0.85) 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0.85) 0%, transparent 100%);
}

/* ============================================================
   IMAGE BLOCKS
   ============================================================ */
.image-frame {
  border-radius: var(--r-comfort);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-elev);
  background: linear-gradient(135deg, var(--lavender), var(--soft-pink));
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.image-aspect-4-3 { aspect-ratio: 4 / 3; }
.image-aspect-16-9 { aspect-ratio: 16 / 9; }
.image-aspect-1-1 { aspect-ratio: 1 / 1; }

/* ============================================================
   DARK SECTION (research-style)
   ============================================================ */
.section-dark {
  background: var(--dark-blue);
  color: var(--text-on-dark);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 90% 10%, rgba(189, 187, 255, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 500px 300px at 0% 100%, rgba(239, 44, 193, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.section-dark .container { position: relative; z-index: 1; }
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: var(--white); }
.section-dark p { color: rgba(255, 255, 255, 0.72); }
.section-dark .mono-label,
.section-dark .section-label { color: var(--muted-on-dark); }
.section-dark .card {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-dark);
}
.section-dark .card:hover { border-color: rgba(255, 255, 255, 0.22); }
.section-dark .card h3 { color: var(--white); }
.section-dark .card p { color: rgba(255, 255, 255, 0.7); }
.section-dark .card-icon {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-dark);
  color: var(--white);
}
.section-dark .badge {
  background: var(--glass-light);
  border-color: var(--border-dark);
  color: var(--white);
}
.section-dark .btn-outline {
  color: var(--white);
  border-color: var(--border-dark);
}
.section-dark .btn-outline:hover {
  background: var(--glass-light);
  border-color: rgba(255, 255, 255, 0.3);
}

/* ============================================================
   ABOUT — relationship block
   ============================================================ */
.relationship-block {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-comfort);
  padding: 32px;
  box-shadow: var(--shadow-elev);
  position: relative;
  overflow: hidden;
}
.relationship-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--magenta), var(--lavender), var(--orange));
}
.relationship-arrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
}
.entity-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-sharp);
  padding: 8px 14px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
}
.entity-pill.accent { background: var(--dark-blue); color: var(--white); border-color: var(--dark-blue); }
.entity-pill.gold {
  background: linear-gradient(135deg, var(--soft-pink), var(--lavender));
  border-color: transparent;
}
.arrow-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-light), transparent);
  position: relative;
}
.arrow-line::after {
  content: '→';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text);
  font-size: 14px;
}

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ============================================================
   FORM
   ============================================================ */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-sharp);
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: -0.16px;
  outline: none;
  transition: border-color var(--t), box-shadow var(--t);
}
.form-control:focus {
  border-color: var(--text);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.04);
}
.form-control::placeholder { color: rgba(0, 0, 0, 0.35); }
textarea.form-control { resize: vertical; min-height: 130px; }

/* ============================================================
   INFO CARD (Contact)
   ============================================================ */
.info-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-comfort);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: box-shadow var(--t), border-color var(--t);
}
.info-card:hover {
  border-color: rgba(0, 0, 0, 0.18);
  box-shadow: var(--shadow-card);
}
.info-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--soft-pink), var(--lavender));
  border-radius: var(--r-sharp);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  flex-shrink: 0;
}
.info-icon svg { width: 18px; height: 18px; }
.info-text h4 { font-size: 1rem; margin-bottom: 4px; letter-spacing: -0.16px; }
.info-text p  { font-size: 0.875rem; color: var(--muted); margin: 0; }
.info-text a  { color: var(--text); border-bottom: 1px solid var(--border-light); }
.info-text a:hover { border-bottom-color: var(--text); }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-content { max-width: 780px; }
.legal-content h2 {
  font-size: 1.5rem;
  letter-spacing: -0.32px;
  margin: 40px 0 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}
.legal-content h3 {
  font-size: 1.125rem;
  letter-spacing: -0.18px;
  margin: 24px 0 8px;
}
.legal-content p {
  margin-bottom: 16px;
  font-size: 0.9375rem;
  line-height: 1.45;
}
.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}
.legal-content li {
  font-size: 0.9375rem;
  margin-bottom: 8px;
  color: rgba(0, 0, 0, 0.72);
  line-height: 1.45;
}
.legal-highlight {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--dark-blue);
  border-radius: var(--r-sharp);
  padding: 18px 22px;
  margin: 24px 0;
  box-shadow: var(--shadow-card);
}
.legal-highlight p { margin: 0; font-size: 0.9375rem; }

/* ============================================================
   FOOTER (dark — research zone)
   ============================================================ */
footer {
  background: var(--dark-blue);
  color: var(--text-on-dark);
  position: relative;
  z-index: 1;
  overflow: hidden;
}
footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 300px at 90% 0%, rgba(189, 187, 255, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 500px 300px at 0% 100%, rgba(239, 44, 193, 0.06) 0%, transparent 60%);
  pointer-events: none;
}
footer .container { position: relative; z-index: 1; }
.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 80px 0 40px;
}
.footer-brand .nav-logo { color: var(--white); }
.footer-brand p {
  font-size: 0.9375rem;
  margin: 16px 0 24px;
  max-width: 320px;
  color: rgba(255, 255, 255, 0.65);
}
.footer-legal-note {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--r-sharp);
  padding: 14px 16px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: -0.16px;
  transition: color var(--t);
}
.footer-col ul li a:hover { color: var(--white); }

.footer-mega {
  font-family: var(--font-display);
  font-size: clamp(4rem, 14vw, 13rem);
  font-weight: 500;
  letter-spacing: -8px;
  line-height: 0.85;
  color: rgba(255, 255, 255, 0.06);
  text-align: center;
  padding: 24px 0 8px;
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom .entity-note {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom .entity-note strong { color: var(--white); }

/* ============================================================
   DIVIDER
   ============================================================ */
.divider {
  height: 1px;
  background: var(--border-light);
  margin: 0;
}
footer .divider {
  background: var(--border-dark);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.animate    { opacity: 0; transition: opacity 0.7s ease, transform 0.7s ease; }
.animate.up { transform: translateY(20px); }
.animate.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
  .grid-3, .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .hero-bg-image, .page-hero-image { display: none; }
  .footer-main { grid-template-columns: 1.5fr 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .container { padding: 0 20px; }
  .section { padding: 72px 0; }
  .grid-2, .grid-3, .services-grid, .grid-4 { grid-template-columns: 1fr; gap: 28px; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .footer-main { grid-template-columns: 1fr; gap: 40px; padding: 60px 0 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .trust-band-inner { gap: 24px; }
  .relationship-arrow { flex-direction: column; align-items: flex-start; gap: 12px; }
  .arrow-line { display: none; }
  .hero-stats { padding-top: 28px; margin-top: 56px; }
}

@media (max-width: 480px) {
  .section { padding: 60px 0; }
  .container { padding: 0 18px; }
  .btn { padding: 10px 18px; font-size: 0.9375rem; }
  .hero-title { letter-spacing: -1.0px; }
  .footer-mega { font-size: clamp(3rem, 18vw, 5rem); letter-spacing: -3px; }
}

/* ============================================================
   FLOATING WHATSAPP BUTTON
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4), 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  animation: wa-pulse 2.5s ease-out infinite;
}
.wa-float:hover,
.wa-float:focus-visible {
  transform: translateY(-3px) scale(1.05);
  color: #fff;
  outline: none;
}
.wa-float svg {
  width: 30px;
  height: 30px;
  display: block;
}

@keyframes wa-pulse {
  0%   { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70%  { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4), 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 480px) {
  .wa-float {
    bottom: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
  }
  .wa-float svg {
    width: 26px;
    height: 26px;
  }
}
@media print {
  .wa-float { display: none !important; }
}
