/* ============================================================
   KHIPU INTERNATIONAL — Landing Page Styles
   Brand palette: Andean Gold #C9962A · Obsidian Navy #0D1B2A
   Off-white #F5F0E8 · Copper Red #8B3A2A
   Fonts: Playfair Display (display) · DM Sans (body)
   ============================================================ */

/* ── Design Tokens ── */
:root {
  /* Brand Colors */
  --gold: #C9962A;
  --gold-light: #e2b84a;
  --gold-dim: #8a6318;
  --navy: #0D1B2A;
  --navy-mid: #132234;
  --navy-light: #1a2e45;
  --offwhite: #F5F0E8;
  --offwhite-dim: #ebe4d6;
  --copper: #8B3A2A;
  --copper-light: #b04d38;
  --white: #FFFFFF;

  /* Semantic roles */
  --color-bg: var(--navy);
  --color-surface: var(--navy-mid);
  --color-text: var(--offwhite);
  --color-text-muted: #b8b0a4;
  --color-text-faint: #6e6860;
  --color-accent: var(--gold);
  --color-border: rgba(201,150,42,0.2);

  /* Typography */
  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;

  /* Type Scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(3rem, 1rem + 6vw, 7rem);

  /* Spacing */
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;

  /* Shadows */
  --shadow-gold: 0 0 40px rgba(201,150,42,0.15);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.3);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.4);

  /* Layout */
  --content-max: 1160px;
  --content-narrow: 760px;
  --nav-height: 72px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --transition-fast: 180ms var(--ease-out);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}
body {
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--navy);
  line-height: 1.65;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.15; }
p, li { text-wrap: pretty; }
ul { list-style: none; }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; transition: color var(--transition-fast); }
input, select, textarea { font: inherit; color: inherit; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── Layout Utilities ── */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
}
.section--dark { background: var(--navy); }
.section--light { background: var(--offwhite); color: var(--navy); }
.section--offwhite { background: #f0ebe0; color: var(--navy); }
.section--white { background: var(--white); color: var(--navy); }
.section--khipu { background: #100e08; color: var(--offwhite); position: relative; overflow: hidden; }
.section--premium { background: linear-gradient(165deg, #0a1520 0%, #0D1B2A 50%, #0e1a10 100%); }

/* ── Typography ── */
.section-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-4);
  display: block;
}
.section-label--red { color: var(--copper); }
.section--light .section-label,
.section--offwhite .section-label,
.section--white .section-label { color: var(--copper); }

.section-headline {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1.15;
  color: inherit;
  margin-bottom: var(--space-6);
  max-width: 700px;
}
.section-headline--gold { color: var(--gold); }
.section-headline--center { text-align: center; max-width: none; }
.section-headline--large { font-size: var(--text-3xl); }

.body-text {
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--color-text-muted);
  max-width: 620px;
}
.body-text--wide { max-width: 760px; margin-bottom: var(--space-10); }
.section--light .body-text,
.section--offwhite .body-text,
.section--white .body-text { color: #5a4f40; }
.section--dark .body-text { color: #a09590; }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-6);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast), border-color var(--transition-fast);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn--gold {
  background: var(--gold);
  color: var(--navy);
}
.btn--gold:hover { background: var(--gold-light); box-shadow: 0 4px 24px rgba(201,150,42,0.4); }
.btn--outline {
  background: transparent;
  color: var(--offwhite);
  border: 1.5px solid rgba(245,240,232,0.45);
}
.btn--outline:hover { border-color: rgba(245,240,232,0.8); color: #fff; }
.btn--lg { padding: var(--space-4) var(--space-10); font-size: var(--text-sm); }
.btn--xl { padding: var(--space-4) var(--space-12); font-size: var(--text-base); }
.btn--wide { width: 100%; }

/* ── Scroll Reveal Animations ── */
.reveal-fade {
  opacity: 1;
}
@supports (animation-timeline: scroll()) {
  .reveal-fade {
    opacity: 0;
    animation: fade-reveal linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 60%;
  }
}
@keyframes fade-reveal { to { opacity: 1; } }

/* Entrance fade-up for hero */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.8s var(--ease-out) forwards;
}
.fade-up--delay-1 { animation-delay: 0.15s; }
.fade-up--delay-2 { animation-delay: 0.3s; }
.fade-up--delay-3 { animation-delay: 0.45s; }
.fade-up--delay-4 { animation-delay: 0.6s; }
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(13,27,42,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201,150,42,0.12);
  transition: box-shadow 0.3s var(--ease-out), border-color 0.3s;
}
.nav--scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.4); border-color: rgba(201,150,42,0.2); }
.nav__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
  text-decoration: none;
}
.nav__logo-text { display: flex; flex-direction: column; line-height: 1; }
.nav__logo-main {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--offwhite);
  letter-spacing: 0.08em;
}
.nav__logo-sub {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 2px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  margin-left: auto;
}
.nav__links a {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(245,240,232,0.7);
  letter-spacing: 0.02em;
  transition: color var(--transition-fast);
}
.nav__links a:hover { color: var(--offwhite); }
.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-shrink: 0;
}
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--offwhite);
  border-radius: 2px;
  transition: transform 0.25s var(--ease-out), opacity 0.25s;
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav__mobile {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
}
.nav__mobile.open { opacity: 1; pointer-events: all; }
.nav__mobile-close {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  font-size: var(--text-lg);
  color: var(--offwhite);
  padding: var(--space-2);
}
.nav__mobile nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  text-align: center;
}
.nav__mobile-link {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--offwhite);
}
.nav__mobile-link:hover { color: var(--gold); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
  padding-top: var(--nav-height);
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(201,150,42,0.06) 0%, transparent 60%),
              radial-gradient(ellipse 50% 40% at 0% 60%, rgba(139,58,42,0.06) 0%, transparent 50%);
}
.hero__content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: var(--space-20) var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero__headline {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 1.08;
  color: var(--offwhite);
  margin-bottom: var(--space-6);
  display: flex;
  flex-direction: column;
}
.hero__line { display: block; }
.hero__line--gold { color: var(--gold); }

.hero__sub {
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.75;
  color: rgba(245,240,232,0.72);
  max-width: 560px;
  margin-bottom: var(--space-10);
}
.hero__sub em { color: var(--gold); font-style: italic; }

.hero__ctas {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-16);
}

/* Stats ticker */
.hero__stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  border: 1px solid rgba(201,150,42,0.2);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(13,27,42,0.6);
  backdrop-filter: blur(8px);
}
.stat {
  padding: var(--space-4) var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.stat__num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--gold);
  display: block;
}
.stat__label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 400;
  letter-spacing: 0.02em;
}
.stat__divider {
  width: 1px;
  height: 48px;
  background: rgba(201,150,42,0.2);
  flex-shrink: 0;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  color: rgba(245,240,232,0.4);
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(201,150,42,0.5), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}

/* ============================================================
   PROBLEM SECTION
   ============================================================ */
.problem__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.compare-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.compare-card strong { font-size: var(--text-base); font-weight: 600; }
.compare-card p { font-size: var(--text-sm); }
.compare-card--dim {
  background: #e8e2d8;
  border: 1.5px solid #cdc7bc;
}
.compare-card--dim strong { color: #4a4236; }
.compare-card--dim p { color: #7a7060; }
.compare-card--bright {
  background: #fff8ec;
  border: 1.5px solid var(--gold);
  box-shadow: 0 4px 32px rgba(201,150,42,0.15);
}
.compare-card--bright strong { color: var(--navy); }
.compare-card--bright p { color: #4a3d28; }
.compare-vs {
  text-align: center;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: #a09080;
  margin: var(--space-4) 0;
}
.compare-arrow {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #888;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  background: rgba(0,0,0,0.06);
}
.compare-arrow--gold {
  color: var(--navy);
  background: rgba(201,150,42,0.2);
}
.problem__visual { display: flex; flex-direction: column; }

/* ============================================================
   SOLUTION / FEATURES
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-12);
  margin-bottom: var(--space-12);
}
.feature-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,150,42,0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}
.feature-card:hover { border-color: rgba(201,150,42,0.4); transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.feature-icon { margin-bottom: var(--space-4); }
.feature-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--offwhite);
  margin-bottom: var(--space-3);
}
.feature-card p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.7; }

/* Khipu callout */
.khipu-callout {
  text-align: center;
  padding: var(--space-12) var(--space-8);
  border-top: 1px solid rgba(201,150,42,0.2);
  border-bottom: 1px solid rgba(201,150,42,0.2);
  position: relative;
}
.khipu-callout blockquote p {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
  color: var(--gold);
  margin-bottom: var(--space-4);
  max-width: none;
}
.khipu-callout cite {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-style: normal;
}

/* ============================================================
   STATS GRID (Why Peru)
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}
.stat-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-8) var(--space-6);
  background: var(--white);
  border: 1px solid rgba(139,58,42,0.15);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.stat-card:hover { border-color: var(--copper-light); box-shadow: 0 4px 20px rgba(139,58,42,0.1); }
.stat-card__num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--gold-dim);
  line-height: 1;
}
.stat-card__label { font-size: var(--text-xs); color: #6a5c50; line-height: 1.5; }

.pull-quote {
  text-align: center;
  padding: var(--space-12) var(--space-8);
  max-width: 760px;
  margin: 0 auto;
}
.pull-quote p {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
  color: var(--navy);
  line-height: 1.45;
  max-width: none;
}

/* ============================================================
   TECHNOLOGY / STEPS
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-12);
  position: relative;
}
.step {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  position: relative;
}
.step__num {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: rgba(201,150,42,0.15);
  line-height: 1;
  user-select: none;
}
.step__connector {
  position: absolute;
  top: 28px;
  right: -3%;
  width: 30%;
  height: 2px;
  background: linear-gradient(to right, rgba(201,150,42,0.3), rgba(201,150,42,0.05));
}
.step__content h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-3);
}
.step__content p { font-size: var(--text-sm); color: #6a5c50; line-height: 1.75; }

.tech-footnote {
  margin-top: var(--space-10);
  padding: var(--space-6) var(--space-8);
  background: #f5f0e0;
  border-left: 3px solid var(--gold-dim);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: var(--text-sm);
  color: #5a4f3a;
}

/* ============================================================
   USE CASES
   ============================================================ */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-12);
}
.usecase-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,150,42,0.12);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}
.usecase-card:hover {
  background: rgba(201,150,42,0.06);
  border-color: rgba(201,150,42,0.3);
  transform: translateY(-2px);
}
.usecase-icon { margin-bottom: var(--space-4); }
.usecase-card h3 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--offwhite);
  margin-bottom: var(--space-2);
}
.usecase-card p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.65; }

/* ============================================================
   KHIPU STORY
   ============================================================ */
.khipu-story__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.khipu-bg-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.khipu-story__content {
  position: relative;
  z-index: 5;
  max-width: 640px;
}
.khipu-story__content .section-label { color: var(--gold); }
.khipu-story__content h2 { color: var(--offwhite); margin-bottom: var(--space-8); }
.khipu-story__content .body-text { margin-bottom: var(--space-6); max-width: none; }
.khipu-story__content .body-text strong { color: var(--gold); font-weight: 600; }

/* ============================================================
   REGULATORY
   ============================================================ */
.reg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-top: var(--space-10);
  margin-bottom: var(--space-8);
}
.reg-card {
  background: var(--white);
  border: 1px solid rgba(139,58,42,0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: box-shadow var(--transition-fast);
}
.reg-card:hover { box-shadow: 0 6px 30px rgba(139,58,42,0.1); }
.reg-card__flag { font-size: 2rem; margin-bottom: var(--space-4); }
.reg-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-4);
}
.reg-card p { font-size: var(--text-sm); color: #6a5c50; line-height: 1.75; }

.reg-banner {
  background: var(--gold);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  text-align: center;
}
.reg-banner p {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.55;
  max-width: none;
}



/* ============================================================
   TEAM
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  margin-top: var(--space-10);
  max-width: 800px;
}
.team-card {
  display: flex;
  gap: var(--space-6);
  align-items: flex-start;
  padding: var(--space-8);
  background: var(--offwhite);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(139,58,42,0.1);
}
.team-avatar { flex-shrink: 0; }
.team-info h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-2);
}
.team-title {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: var(--space-3);
}
.team-info p { font-size: var(--text-sm); color: #5a4f40; line-height: 1.65; }
.team-note {
  margin-top: var(--space-6);
  font-size: var(--text-xs);
  color: #a09080;
  font-style: italic;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #060e18;
  border-top: 1px solid rgba(201,150,42,0.15);
  padding-block: var(--space-16);
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}
.footer__tagline {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-4);
}
.footer__tagline-es {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-sm);
  color: rgba(201,150,42,0.6);
  margin-top: var(--space-2);
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer__links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}
.footer__links a:hover { color: var(--offwhite); }
.footer__contact { display: flex; flex-direction: column; gap: var(--space-4); }
.footer__contact a {
  font-size: var(--text-sm);
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer__contact a:hover { color: var(--gold-light); }
.footer__social {
  display: flex;
  gap: var(--space-4);
}
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(201,150,42,0.2);
  color: var(--color-text-muted);
  transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}
.social-icon:hover {
  color: var(--gold);
  border-color: rgba(201,150,42,0.5);
  background: rgba(201,150,42,0.08);
}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer__legal {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  max-width: 760px;
  line-height: 1.65;
}
.footer__copy {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.nav__logo--footer { margin-bottom: var(--space-3); }



/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .problem__grid { grid-template-columns: 1fr; gap: var(--space-10); }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step__connector { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .usecase-grid { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__actions .btn--gold { display: none; }
  .nav__hamburger { display: flex; }
  .hero__stats { flex-direction: column; border: none; gap: 0; }
  .stat { border-top: 1px solid rgba(201,150,42,0.15); width: 100%; }
  .stat__divider { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .allocation-grid { grid-template-columns: 1fr; }
  .reg-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: var(--space-8); }
  .usecase-grid { grid-template-columns: 1fr; }
  .hero__ctas { flex-direction: column; width: 100%; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .section-headline--large { font-size: var(--text-2xl); }
  .hero__headline { font-size: clamp(2.2rem, 8vw, 5rem); }
}
