/* =========================================================
   PALCOFY · Design System — Bold & Vibrant
   Estilo: gradientes vividos, tipografía masiva, bento cards
   Referencia: diseño photo-forward purple/orange
   ========================================================= */

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

/* ----- Reset -------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1A1625;
  background: #FAFAF9;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }
::selection { background: #7C3AED; color: #fff; }

/* ----- Tokens ------------------------------------------- */
:root {
  /* Brand palette — vivid, deliberate */
  --violet:    #5B21B6;
  --violet-2:  #7C3AED;
  --violet-3:  #9333EA;
  --pink:      #DB2777;
  --orange:    #EA580C;
  --amber:     #D97706;
  --yellow:    #EAB308;

  /* Gradientes de marca */
  --grad-hero:   linear-gradient(135deg, #3B0764 0%, #6D28D9 35%, #BE185D 65%, #EA580C 100%);
  --grad-card-1: linear-gradient(140deg, #F59E0B 0%, #EF4444 50%, #DB2777 100%);
  --grad-card-2: linear-gradient(140deg, #5B21B6 0%, #7C3AED 40%, #DB2777 100%);
  --grad-card-3: linear-gradient(140deg, #0F172A 0%, #1E3A5F 50%, #1D4ED8 100%);
  --grad-subtle: linear-gradient(135deg, #F5F3FF 0%, #FFF7ED 100%);

  /* Neutrales */
  --white:   #FFFFFF;
  --off:     #FAFAF9;
  --gray-50: #F8F7FF;
  --gray-100:#F1F0F9;
  --gray-200:#E2E0F0;
  --gray-400:#9795A8;
  --gray-600:#4B495C;
  --dark:    #1A1625;
  --dark-2:  #2D2A3E;

  /* Alias de diseño (compat con páginas internas) */
  --border:       #E2E0F0;
  --surface:      #FFFFFF;
  --bg-2:         #F8F7FF;
  --accent:       #7C3AED;
  --gold:         #D97706;
  --text:         #1A1625;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --radius-lg:    20px;

  /* Tipo */
  --serif: 'DM Serif Display', Georgia, serif;
  --sans:  'Space Grotesk', system-ui, sans-serif;
  --mono:  'JetBrains Mono', monospace;

  /* Layout */
  --wrap:   1240px;
  --narrow:  860px;
  --pad:     44px;

  /* Radio */
  --r4:   4px;
  --r8:   8px;
  --r12:  12px;
  --r16:  16px;
  --r20:  20px;
  --r24:  24px;
  --r32:  32px;
  --rfull: 999px;

  /* Sombras */
  --sh-sm: 0 1px 4px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.06);
  --sh:    0 2px 8px rgba(0,0,0,.08), 0 8px 32px rgba(0,0,0,.10);
  --sh-lg: 0 8px 24px rgba(0,0,0,.12), 0 24px 64px rgba(0,0,0,.14);
  --sh-xl: 0 16px 48px rgba(0,0,0,.16), 0 48px 96px rgba(0,0,0,.20);

  /* Ease */
  --ease:   cubic-bezier(.25,.46,.45,.94);
  --spring: cubic-bezier(.34,1.56,.64,1);
  --t:      200ms;
  --ts:     380ms;
}

/* ----- Language ----------------------------------------- */
[data-lang="es"] .lang-en { display: none !important; }
[data-lang="en"] .lang-es { display: none !important; }

/* ----- Layout ------------------------------------------- */
.wrap,
.container {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.container--narrow {
  max-width: var(--narrow);
}

/* =========================================================
   HEADER — limpio sobre todo fondo
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: 64px;
  display: flex;
  align-items: center;
}

/* Dos estados: transparente sobre hero, blanco sobre rest */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px) saturate(130%);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: opacity var(--t) var(--ease);
}

.site-header.is-top::before {
  background: rgba(18,8,40,0.55);
  border-bottom-color: rgba(255,255,255,.08);
}

.header-row {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  gap: 0;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dark);
  flex-shrink: 0;
  padding-right: 24px;
}

.logo svg { width: 18px; height: 18px; }

.site-header.is-top .logo { color: #fff; }

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
}

.nav a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--gray-600);
  padding: 6px 14px;
  border-radius: var(--r8);
  transition: color var(--t) var(--ease), background var(--t) var(--ease);
}

.nav a:hover { color: var(--dark); background: var(--gray-100); }
.nav a.is-active { color: var(--violet-2); }

.site-header.is-top .nav a { color: rgba(255,255,255,0.75); }
.site-header.is-top .nav a:hover { color: #fff; background: rgba(255,255,255,0.10); }

/* Enlaces solo visibles en menú hamburguesa móvil */
.nav a.mobile-nav-cta,
.nav a.mobile-nav-secondary {
  display: none !important;
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  border-radius: var(--r8);
  overflow: hidden;
  background: var(--gray-100);
  padding: 2px;
  gap: 2px;
}

.site-header.is-top .lang-switcher {
  background: rgba(255,255,255,0.12);
}

.lang-switcher button {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  border-radius: var(--r4);
  color: var(--gray-400);
  transition: all var(--t) var(--ease);
}

.lang-switcher button.is-active {
  background: white;
  color: var(--dark);
  box-shadow: var(--sh-sm);
}

.site-header.is-top .lang-switcher button.is-active {
  background: rgba(255,255,255,0.15);
  color: white;
}

.nav-toggle {
  display: none;
  width: 36px; height: 36px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: var(--r8);
}

.nav-toggle span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform var(--t) var(--ease), opacity var(--t) var(--ease);
}

.site-header.is-top .nav-toggle span { background: white; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* =========================================================
   BOTONES
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--rfull);
  transition: all var(--t) var(--ease);
  white-space: nowrap;
  cursor: pointer;
  letter-spacing: -0.01em;
}

.btn--lg { font-size: 15px; padding: 14px 28px; }
.btn--sm { font-size: 12px; padding: 7px 14px; font-weight: 600; }

.btn .arrow {
  font-size: 12px;
  transition: transform var(--t) var(--ease);
}
.btn:hover .arrow { transform: translate(3px, -2px); }

/* Primary — pill negro */
.btn-primary {
  background: var(--dark);
  color: white;
  box-shadow: 0 2px 8px rgba(26,22,37,.25);
}
.btn-primary:hover {
  background: #000;
  box-shadow: 0 4px 20px rgba(26,22,37,.35);
  transform: translateY(-1px);
}

/* Ghost — pill con borde */
.btn-ghost {
  background: white;
  color: var(--dark);
  border: 1.5px solid var(--gray-200);
  box-shadow: var(--sh-sm);
}
.btn-ghost:hover {
  border-color: var(--gray-400);
  box-shadow: var(--sh);
  transform: translateY(-1px);
}

/* Accent — gradiente violeta */
.btn-accent {
  background: var(--grad-card-2);
  color: white;
  box-shadow: 0 4px 20px rgba(124,58,237,.35);
}
.btn-accent:hover {
  box-shadow: 0 8px 32px rgba(124,58,237,.5);
  transform: translateY(-2px);
}

/* Hero ghost — para usar sobre fondo oscuro */
.btn-hero {
  background: rgba(255,255,255,0.12);
  color: white;
  border: 1.5px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(8px);
}
.btn-hero:hover {
  background: rgba(255,255,255,0.20);
  border-color: rgba(255,255,255,0.4);
}

.btn--block { width: 100%; justify-content: center; }

/* =========================================================
   HERO — foto full-bleed + gradiente + texto blanco
   ========================================================= */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(56px, 8vw, 96px);
  overflow: hidden;
}

/* Imagen de fondo */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('hero-bg.jpg');
  background-size: cover;
  background-position: center 20%;
  z-index: 0;
}

/* Overlay gradiente sobre la imagen — como en la referencia */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(59,7,100,0.82) 0%,
    rgba(109,40,217,0.72) 30%,
    rgba(190,24,93,0.65) 60%,
    rgba(234,88,12,0.55) 100%
  );
}

/* Vignette inferior para legibilidad del texto */
.hero-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,4,25,0.75) 0%,
    rgba(10,4,25,0.3) 35%,
    transparent 65%
  );
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Eyebrow itálica — igual que en la referencia */
.hero-kicker {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(16px, 1.5vw, 21px);
  color: rgba(255,255,255,0.82);
  margin-bottom: 12px;
  font-weight: 400;
}

/* Headline masiva */
.hero-headline {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(40px, 7vw, 88px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: #fff;
  max-width: 14ch;
  margin-bottom: 0;
}

.hero-sub {
  font-size: clamp(14px, 1.1vw, 16px);
  color: rgba(255,255,255,0.70);
  max-width: 40ch;
  line-height: 1.55;
  margin-bottom: 28px;
}

/* Grid — texto izq, stats+CTA der */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: flex-end;
  gap: clamp(32px, 5vw, 72px);
}

.hero-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 6px;
}

/* Stats inline — pequeños datos sobre fondo semitransparente */
.hero-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-stat {
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r12);
  padding: 14px 18px;
  text-align: left;
}

.hero-stat-num {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(22px, 2.5vw, 32px);
  color: white;
  letter-spacing: -0.03em;
  line-height: 1;
}

.hero-stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.60);
  font-family: var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* =========================================================
   TRUSTED BY / LOGOS — franja blanca limpia
   ========================================================= */
.trust-section {
  background: white;
  padding: clamp(32px, 4vw, 48px) 0;
  border-bottom: 1px solid var(--gray-100);
}

.trust-inner {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}

.trust-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-400);
  white-space: nowrap;
  flex-shrink: 0;
}

.trust-logos {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  overflow: hidden;
  flex: 1;
}

/* Logos como pills de texto — estilo ref */
.trust-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--rfull);
  border: 1.5px solid var(--gray-200);
  background: white;
  font-weight: 700;
  font-size: 13px;
  color: var(--dark);
  white-space: nowrap;
  box-shadow: var(--sh-sm);
  flex-shrink: 0;
}

.trust-logo svg { color: var(--gray-600); }

/* =========================================================
   FEATURES INTRO — headline + descripción
   ========================================================= */
.features-intro {
  background: white;
  padding: clamp(72px, 9vw, 112px) 0;
}

.features-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

/* Italic tag */
.section-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--violet-3);
  margin-bottom: 14px;
  display: block;
}

/* Headline bold */
.section-headline {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--dark);
}

.section-body {
  font-size: clamp(14px, 1.1vw, 16px);
  color: var(--gray-600);
  line-height: 1.7;
  max-width: 44ch;
}

/* =========================================================
   BENTO GRID — igual que en la referencia
   ========================================================= */
.bento-section {
  background: white;
  padding: 0 0 clamp(72px, 9vw, 112px);
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

/* Card base */
.bento-card {
  border-radius: var(--r24);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
  box-shadow: var(--sh);
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-xl);
}

/* Card grande — ocupa la columna izquierda entera */
.bento-card--tall {
  grid-row: span 2;
  min-height: 660px;
}

/* Imagen de fondo de la card */
.bento-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease);
}

.bento-card:hover .bento-card-bg { transform: scale(1.04); }

/* Overlay de la card */
.bento-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.72) 0%,
    rgba(0,0,0,0.3) 40%,
    transparent 70%
  );
}

/* Card con fondo de gradiente puro (sin foto) */
.bento-card--grad-1 .bento-card-bg { background: var(--grad-card-1); }
.bento-card--grad-2 .bento-card-bg { background: var(--grad-card-2); }
.bento-card--grad-3 .bento-card-bg { background: var(--grad-card-3); }

/* Texto dentro de la card */
.bento-card-content {
  position: relative;
  z-index: 1;
  padding: 28px 28px 28px;
  color: white;
}

.bento-card-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 8px;
}

.bento-card-title {
  font-weight: 800;
  font-size: clamp(18px, 2vw, 26px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: white;
  margin-bottom: 8px;
}

.bento-card-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.70);
  line-height: 1.55;
  max-width: 32ch;
}

/* =========================================================
   MÉTRICAS — franja con fondo gradiente oscuro
   ========================================================= */
.metrics-section {
  background: var(--dark);
  padding: clamp(64px,8vw,96px) 0;
  position: relative;
  overflow: hidden;
}

/* Glow ambiental sutil */
.metrics-section::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,.15) 0%, transparent 70%);
  pointer-events: none;
}

.metrics-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: 10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234,88,12,.10) 0%, transparent 70%);
  pointer-events: none;
}

.metrics-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(48px,6vw,72px);
}

.metrics-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(15px,1.3vw,18px);
  color: rgba(255,255,255,0.55);
  margin-bottom: 10px;
}

.metrics-headline {
  font-weight: 800;
  font-size: clamp(28px,3.5vw,44px);
  letter-spacing: -0.03em;
  color: white;
  line-height: 1.1;
  max-width: 18ch;
}

.metrics-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.50);
  max-width: 36ch;
  line-height: 1.65;
  align-self: flex-end;
}

/* Grid de métricas — sin cards, solo tipografía y divisores */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  z-index: 1;
}

.metric-cell {
  padding: 0 clamp(20px,3vw,40px);
  border-right: 1px solid rgba(255,255,255,0.08);
}

.metric-cell:first-child { padding-left: 0; }
.metric-cell:last-child { border-right: 0; }

.metric-num {
  font-weight: 800;
  font-size: clamp(48px,6vw,72px);
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: white;
  margin-bottom: 14px;
  background: var(--grad-card-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.metric-desc {
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
  max-width: 22ch;
}

.metric-vs {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  margin-top: 10px;
}

/* =========================================================
   MODELO DUAL — dos columnas con cards limpias
   ========================================================= */
.model-section {
  background: var(--gray-50);
  padding: clamp(72px,9vw,112px) 0;
}

.model-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(48px,6vw,72px);
}

.model-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.model-card {
  background: white;
  border-radius: var(--r24);
  padding: clamp(28px,3.5vw,48px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--sh-sm);
  transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
  border: 1.5px solid var(--gray-100);
  position: relative;
  overflow: hidden;
}

.model-card:hover {
  box-shadow: var(--sh-lg);
  transform: translateY(-3px);
}

/* Acento de color en la esquina superior */
.model-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}

.model-card--venue::before { background: var(--grad-card-3); }
.model-card--artist::before { background: var(--grad-card-1); }

.model-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--rfull);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  width: fit-content;
  font-weight: 500;
}

.model-badge--venue {
  background: rgba(29,78,216,0.08);
  color: #1D4ED8;
}

.model-badge--artist {
  background: rgba(234,88,12,0.08);
  color: var(--orange);
}

.model-card h3 {
  font-weight: 700;
  font-size: clamp(18px,1.6vw,22px);
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--dark);
}

.model-card ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.model-card li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  color: var(--gray-600);
  line-height: 1.55;
}

/* Check icon */
.model-card li::before {
  content: '';
  flex-shrink: 0;
  margin-top: 5px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--gray-100);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23374151' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

.model-card--artist li::before {
  background-color: rgba(234,88,12,0.10);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23EA580C' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.model-card li strong {
  display: block;
  color: var(--dark);
  font-weight: 600;
  font-size: 13.5px;
  margin-bottom: 1px;
}

/* =========================================================
   FLUJO — pasos horizontales o verticales
   ========================================================= */
.flow-section {
  background: white;
  padding: clamp(72px,9vw,112px) 0;
}

.flow-intro {
  max-width: 600px;
  margin-bottom: clamp(48px,6vw,72px);
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 2px;
  background: var(--gray-100);
  border-radius: var(--r24);
  overflow: hidden;
}

.flow-step {
  background: white;
  padding: clamp(28px,3.5vw,44px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: background var(--t) var(--ease);
}

.flow-step:hover { background: var(--gray-50); }

.flow-step-num {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 56px;
  letter-spacing: -0.04em;
  line-height: 1;
  background: var(--grad-card-2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: -8px;
}

.flow-step h3 {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--dark);
}

.flow-step p {
  font-size: 13.5px;
  color: var(--gray-600);
  line-height: 1.6;
}

.flow-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet-2);
}

/* =========================================================
   PRICING TEASER — cards vividas
   ========================================================= */
.pricing-teaser {
  background: var(--gray-50);
  padding: clamp(72px,9vw,112px) 0;
}

.pricing-intro {
  text-align: center;
  max-width: 560px;
  margin: 0 auto clamp(40px,5vw,60px);
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}

.pricing-card {
  background: white;
  border-radius: var(--r20);
  padding: clamp(24px,3vw,36px);
  border: 1.5px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--sh-sm);
  position: relative;
  overflow: hidden;
  transition: all var(--t) var(--ease);
}

.pricing-card:hover {
  box-shadow: var(--sh-lg);
  transform: translateY(-3px);
}

.pricing-card--featured {
  border-color: var(--violet-2);
  box-shadow: 0 0 0 1px var(--violet-2), var(--sh);
}

/* Gradiente superior en featured */
.pricing-card--featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-card-2);
}

.pricing-badge {
  display: inline-flex;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet-2);
  font-weight: 600;
}

.pricing-name {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--dark);
  min-height: 2.6em;
  display: flex;
  align-items: flex-end;
}

.pricing-amount {
  font-weight: 800;
  font-size: clamp(36px,4vw,52px);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--dark);
  border-top: 1px solid var(--gray-100);
  padding-top: 16px;
  min-height: 72px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 2px;
}

.pricing-amount span {
  font-size: 0.35em;
  font-weight: 500;
  color: var(--gray-400);
  letter-spacing: 0.05em;
  vertical-align: top;
  margin-top: 0.3em;
  display: inline-block;
}

.pricing-desc {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.6;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 9px;
  border-top: 1px solid var(--gray-100);
  padding-top: 16px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.4;
}

.pricing-features li svg { color: var(--violet-2); margin-top: 3px; flex-shrink: 0; }
.pricing-features li strong { color: var(--dark); font-weight: 600; }

/* =========================================================
   CTA FINAL — gradiente full-width como el hero
   ========================================================= */
.cta-section {
  position: relative;
  padding: clamp(80px,10vw,128px) 0;
  background: var(--grad-hero);
  text-align: center;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('hero-bg.jpg') center 60% / cover no-repeat;
  opacity: 0.12;
}

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

.cta-kicker {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(16px,1.4vw,20px);
  color: rgba(255,255,255,0.70);
  margin-bottom: 14px;
}

.cta-headline {
  font-weight: 800;
  font-size: clamp(36px,6vw,72px);
  letter-spacing: -0.03em;
  line-height: 1.0;
  color: white;
  margin-bottom: 18px;
}

.cta-sub {
  font-size: clamp(14px,1.1vw,16px);
  color: rgba(255,255,255,0.65);
  max-width: 46ch;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================================================
   CONTACT FORM
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(40px,6vw,72px);
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 32px; }

.contact-info-block h3 {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--gray-400);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.contact-info-block p,
.contact-info-block a { font-size: 17px; color: var(--dark); }
.contact-info-block a:hover { color: var(--violet-2); }

.contact-form {
  background: white;
  border-radius: var(--r24);
  padding: clamp(28px,3.5vw,44px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--sh-lg);
}

.field { display: flex; flex-direction: column; gap: 6px; }

.field label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.field input,
.field select,
.field textarea {
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r8);
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--dark);
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}

.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--violet-2);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.12);
  background: white;
}

.field--error input, .field--error textarea { border-color: #EF4444; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* =========================================================
   MISC (compare, case-card, risk, timeline, FAQ, etc.)
   ========================================================= */

/* Sección genérica */
.section {
  padding: clamp(64px,8vw,96px) 0;
}

.section--alt { background: var(--gray-50); }
.section--dark { background: var(--dark); }

/* Overline */
.overline {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--violet-3);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Compare */
.compare {
  background: white;
  border-radius: var(--r20);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  border: 1.5px solid var(--gray-100);
  margin-top: 48px;
}

.compare-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--gray-100);
}

.compare-head h3 { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }

.compare table { width: 100%; border-collapse: collapse; font-size: 13.5px; }

.compare th, .compare td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--gray-100);
  vertical-align: middle;
}

.compare th {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
  font-weight: 500;
  background: var(--gray-50);
}

.compare th:nth-child(2) { color: var(--violet-2); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody tr:hover td { background: var(--gray-50); }
.compare td:first-child { color: var(--dark); font-weight: 600; }
.compare td { color: var(--gray-600); }

.compare .check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(124,58,237,0.10); color: var(--violet-2);
}
.compare .dash { color: var(--gray-200); font-family: var(--mono); }

/* Compare table */
.compare-table {
  background: white; border-radius: var(--r20);
  overflow: hidden; box-shadow: var(--sh-sm);
  border: 1.5px solid var(--gray-100); margin-top: 40px;
}
.compare-table table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.compare-table th, .compare-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--gray-100);
  vertical-align: middle;
}
.compare-table th {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gray-400); font-weight: 500; background: var(--gray-50);
}
.compare-table th:nth-child(2) { color: var(--violet-2); }
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table td:first-child { color: var(--dark); font-weight: 600; }
.compare-table td:nth-child(2) { color: var(--dark); }
.compare-table td:nth-child(3) { color: var(--gray-400); }

/* Case card */
.case-card {
  background: white; border-radius: var(--r20);
  padding: clamp(24px,3vw,44px); margin-top: 40px;
  box-shadow: var(--sh-sm); border: 1.5px solid var(--gray-100);
}
.case-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--gray-100);
}
.case-head h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.015em; }
.case-head .case-sub { font-family: var(--mono); font-size: 10px; color: var(--gray-400); }
.case-row {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  align-items: center; padding: 13px 0;
  border-bottom: 1px solid var(--gray-100); font-size: 13.5px;
}
.case-row:last-child { border-bottom: 0; }
.case-row--head {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gray-400);
  padding-bottom: 10px; border-bottom: 1.5px solid var(--gray-100);
}
.case-row--total {
  margin-top: 8px; padding: 16px 14px;
  background: rgba(124,58,237,0.06);
  border-radius: var(--r8);
}
.case-row--total .case-label,
.case-row--total .case-value { color: var(--dark); font-weight: 700; }
.case-label { color: var(--gray-600); }
.case-value { font-family: var(--mono); color: var(--dark); font-variant-numeric: tabular-nums; }
.case-marker { font-family: var(--mono); font-size: 11px; color: var(--gray-400); }

/* Risk */
.risk-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-top: 40px;
}
.risk {
  background: white; border-radius: var(--r20);
  padding: clamp(24px,3vw,40px);
  display: flex; flex-direction: column; gap: 14px;
  box-shadow: var(--sh-sm); border: 1.5px solid var(--gray-100);
}
.risk-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.risk-id { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; color: var(--gray-400); text-transform: uppercase; }
.risk-status {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em;
  padding: 4px 10px; border-radius: var(--rfull);
  background: var(--gray-100); color: var(--gray-600);
}
.risk-status .s-dot { width: 5px; height: 5px; border-radius: 50%; background: #EAB308; }
.risk-status--ok .s-dot { background: #22C55E; }
.risk-status--ok { background: rgba(34,197,94,0.10); color: #16A34A; }
.risk h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.3; color: var(--dark); }
.risk p.risk-desc { color: var(--gray-600); font-size: 13.5px; line-height: 1.55; }
.risk-fix {
  padding: 14px 16px; background: var(--gray-50);
  border-radius: var(--r8); border: 1.5px solid var(--gray-100);
  display: flex; flex-direction: column; gap: 5px;
}
.risk-fix .fix-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: #22C55E; }
.risk-fix p { font-size: 13px; color: var(--gray-600); line-height: 1.55; }

/* Pro card */
.pro-card {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 0; border-radius: var(--r20); overflow: hidden;
  box-shadow: var(--sh); margin-top: 48px;
}
.pro-left {
  padding: clamp(28px,4vw,48px);
  background: var(--grad-card-1);
  display: flex; flex-direction: column; gap: 18px;
}
.pro-tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.75); }
.pro-price { font-weight: 800; font-size: 58px; letter-spacing: -0.035em; line-height: 1; color: white; }
.pro-price small { font-size: 13px; color: rgba(255,255,255,0.65); margin-left: 8px; font-weight: 400; letter-spacing: 0; }
.pro-right { padding: clamp(28px,4vw,48px); background: white; display: flex; flex-direction: column; gap: 0; }
.pro-feature {
  display: grid; grid-template-columns: 20px 1fr;
  gap: 12px; align-items: start;
  padding: 14px 0; border-bottom: 1px solid var(--gray-100);
  font-size: 13px; color: var(--gray-600);
}
.pro-feature:last-child { border-bottom: 0; }
.pro-feature strong { color: var(--dark); font-weight: 600; display: block; margin-bottom: 1px; }
.pro-feature svg { color: var(--orange); margin-top: 2px; flex-shrink: 0; }

/* Plan (pricing.html) */
.plan {
  background: white; border-radius: var(--r20);
  padding: clamp(24px,3vw,36px);
  display: flex; flex-direction: column; gap: 16px;
  border: 1.5px solid var(--gray-100); box-shadow: var(--sh-sm);
  position: relative; overflow: hidden;
  transition: all var(--t) var(--ease);
}
.plan:hover { box-shadow: var(--sh-lg); transform: translateY(-3px); }
.plan--featured { border-color: var(--violet-2); }
.plan--featured::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--grad-card-2);
}
.plan-badge { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--violet-2); }
.plan-name { font-weight: 800; font-size: 24px; letter-spacing: -0.02em; color: var(--dark); }
.plan-price { display: flex; align-items: baseline; gap: 3px; border-top: 1px solid var(--gray-100); padding-top: 14px; }
.plan-price .amount { font-weight: 800; font-size: 44px; letter-spacing: -0.03em; line-height: 1; color: var(--dark); }
.plan-price .currency { font-size: 18px; color: var(--gray-400); }
.plan-price .period { font-family: var(--mono); font-size: 10px; color: var(--gray-400); letter-spacing: 0.08em; margin-left: 4px; }
.plan-price .range { font-weight: 800; font-size: 28px; letter-spacing: -0.025em; color: var(--dark); }
.plan-desc { font-size: 13px; color: var(--gray-600); line-height: 1.55; }
.plan-features { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--gray-100); padding-top: 14px; }
.plan-features li { display: grid; grid-template-columns: 14px 1fr; gap: 9px; font-size: 13px; color: var(--gray-600); line-height: 1.4; }
.plan-features li svg { color: var(--violet-2); margin-top: 3px; flex-shrink: 0; }
.plan-features li strong { color: var(--dark); font-weight: 600; }
.plan-cta { margin-top: auto; }
.pricing-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 48px; }

/* Manifesto */
.manifesto {
  font-family: var(--sans); font-weight: 800;
  font-size: clamp(28px,3.5vw,46px);
  line-height: 1.12; letter-spacing: -0.03em; color: var(--dark); max-width: 22ch;
}
.manifesto em { font-style: normal; color: var(--violet-2); }

.manifesto-layout { display: grid; grid-template-columns: 180px 1fr; gap: clamp(40px,5vw,72px); align-items: start; }
.manifesto-index { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray-400); position: sticky; top: 80px; display: flex; flex-direction: column; gap: 6px; }
.manifesto-index strong { color: var(--gray-600); font-weight: 500; }

/* Timeline */
.timeline { position: relative; padding-left: 32px; border-left: 2px solid var(--gray-100); }
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ''; position: absolute; left: -38px; top: 5px;
  width: 10px; height: 10px; border-radius: 50%;
  background: white; border: 2px solid var(--gray-200);
}
.timeline-item .timeline-date { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; color: var(--violet-2); margin-bottom: 5px; text-transform: uppercase; }
.timeline-item .timeline-title { font-weight: 700; font-size: 16px; color: var(--dark); margin-bottom: 5px; letter-spacing: -0.01em; }
.timeline-item .timeline-desc { font-size: 13.5px; color: var(--gray-600); line-height: 1.6; }

/* Value card */
.value-card { background: white; border-radius: var(--r20); padding: 36px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--sh-sm); border: 1.5px solid var(--gray-100); }
.value-num { font-weight: 800; font-size: 52px; letter-spacing: -0.04em; line-height: 1; background: var(--grad-card-2); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Team card */
.team-card { background: white; border-radius: var(--r20); padding: 24px; display: flex; flex-direction: column; gap: 12px; border: 1.5px solid var(--gray-100); box-shadow: var(--sh-sm); transition: all var(--t) var(--ease); }
.team-card:hover { box-shadow: var(--sh); transform: translateY(-2px); }
.team-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--grad-card-2); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; color: white; }
.team-name { font-weight: 700; font-size: 16px; color: var(--dark); letter-spacing: -0.01em; }
.team-role { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--violet-2); }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--gray-100); padding: 18px 0; }
.faq-item:first-child { border-top: 1px solid var(--gray-100); }
.faq-question { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; font-weight: 600; font-size: 15px; color: var(--dark); letter-spacing: -0.01em; transition: color var(--t) var(--ease); }
.faq-question:hover { color: var(--violet-2); }
.faq-question .faq-icon { width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; border-radius: var(--rfull); border: 1.5px solid var(--gray-200); color: var(--gray-400); font-size: 18px; transition: all var(--t) var(--ease); flex-shrink: 0; }
.faq-item.is-open .faq-icon { background: rgba(124,58,237,0.10); color: var(--violet-2); border-color: rgba(124,58,237,0.2); transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.38s var(--ease); }
.faq-answer-inner { padding-top: 12px; color: var(--gray-600); font-size: 14px; line-height: 1.65; }
.faq-item.is-open .faq-answer { max-height: 320px; }

/* Page header */
.page-header {
  padding: clamp(110px,13vw,160px) 0 clamp(52px,6vw,72px);
  background: var(--grad-hero);
  color: white;
  position: relative;
  overflow: hidden;
}
.page-header::before { content: ''; position: absolute; inset: 0; background: url('hero-bg.jpg') center/cover no-repeat; opacity: 0.15; }
.page-header-inner { position: relative; z-index: 1; }
.page-header .display { color: white; }
.page-header .display em { color: rgba(255,200,60,0.95); }
.page-header .lede {
  margin-top: clamp(24px, 3vw, 40px);
  color: rgba(255,255,255,0.72);
  max-width: 58ch;
}
.page-header .eyebrow { color: rgba(255,255,255,0.55); }
.page-header .eyebrow .dot { background: rgba(255,255,255,0.6); }
.page-header-meta { display: flex; gap: 24px; margin-top: 22px; font-family: var(--mono); font-size: 10px; color: rgba(255,255,255,0.55); }
.page-header-meta span strong { color: rgba(255,255,255,0.80); font-weight: 500; }

/* Display type */
.display { font-family: var(--sans); font-weight: 800; font-size: clamp(52px,8vw,104px); line-height: 0.95; letter-spacing: -0.035em; color: var(--dark); }
.display em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.display--lg { font-size: clamp(60px,9.5vw,130px); line-height: 0.92; }

.h2 { font-weight: 800; font-size: clamp(30px,4vw,52px); line-height: 1.08; letter-spacing: -0.03em; color: var(--dark); }
.h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--violet-2); }
.h3 { font-weight: 700; font-size: clamp(17px,1.5vw,21px); line-height: 1.25; letter-spacing: -0.02em; color: var(--dark); }
.lede { font-size: clamp(15px,1.2vw,17.5px); line-height: 1.65; color: var(--gray-600); }
.lede strong { color: var(--dark); font-weight: 600; }
.kicker { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray-400); }

/* =========================================================
   MODELO — Clases auxiliares para páginas internas
   ========================================================= */

/* Section head wrapper */
.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

/* Eyebrow / caption / dot */
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 8px;
  vertical-align: middle;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
}

.eyebrow .dot {
  background: rgba(255,255,255,0.6);
}

.section-head .eyebrow {
  color: var(--accent);
}

.section-head .eyebrow .dot {
  background: var(--accent);
}

.caption {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-400);
}

/* Tipografía de apoyo */
.h4 {
  font-weight: 700;
  font-size: clamp(15px,1.3vw,18px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--dark);
}

.text-body {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--gray-600);
}

.text-mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--gray-400);
}

/* Dual card tags */
.dual-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--rfull);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  background: rgba(124,58,237,0.08);
  color: var(--accent);
}

.dual-card-tag--alt {
  background: rgba(217,119,6,0.08);
  color: var(--gold);
}

/* Tag genérico */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--rfull);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--gray-100);
  color: var(--gray-600);
}

/* Case table (modelo.html unit economics) */
.case-table {
  display: flex;
  flex-direction: column;
}

.case-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 13.5px;
}

.case-row:last-child { border-bottom: 0; }

.case-row--head {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--gray-100);
}

.case-row--total {
  margin-top: 8px;
  padding: 16px 14px;
  background: rgba(124,58,237,0.06);
  border-radius: var(--r8);
}

.case-row--total .case-label,
.case-row--total .case-value { color: var(--dark); font-weight: 700; }

.case-label { color: var(--gray-600); }

.case-value {
  font-family: var(--mono);
  color: var(--dark);
  font-variant-numeric: tabular-nums;
}

.case-marker {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gray-400);
}

/* Tabular numbers helper */
.tabnum { font-variant-numeric: tabular-nums; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--dark);
  padding: 60px 0 28px;
  color: rgba(255,255,255,0.60);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 0;
}

.footer-brand p {
  color: rgba(255,255,255,0.40);
  font-size: 12.5px;
  line-height: 1.65;
  margin-top: 12px;
  max-width: 28ch;
}

.logo--footer { color: white; }

.footer-col h4 {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  font-weight: 500;
  margin-bottom: 14px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 9px; }

.footer-col a {
  color: rgba(255,255,255,0.45);
  font-size: 13px;
  transition: color var(--t) var(--ease);
}

.footer-col a:hover { color: rgba(255,255,255,0.85); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.06em;
}

/* =========================================================
   REVEAL
   ========================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 480ms var(--ease), transform 480ms var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: translateY(0); }

[data-reveal-stagger] > * {
  opacity: 0; transform: translateY(12px);
  transition: opacity 480ms var(--ease), transform 480ms var(--ease);
}
[data-reveal-stagger].is-in > *:nth-child(1) { transition-delay: 0ms; }
[data-reveal-stagger].is-in > *:nth-child(2) { transition-delay: 60ms; }
[data-reveal-stagger].is-in > *:nth-child(3) { transition-delay: 120ms; }
[data-reveal-stagger].is-in > *:nth-child(4) { transition-delay: 180ms; }
[data-reveal-stagger].is-in > *:nth-child(5) { transition-delay: 240ms; }
[data-reveal-stagger].is-in > *:nth-child(6) { transition-delay: 300ms; }
[data-reveal-stagger].is-in > * { opacity: 1; transform: translateY(0); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  :root { --pad: 28px; }
  .bento-grid { gap: 14px; }
  .bento-card--tall { min-height: 480px; }
  .pricing-cards { grid-template-columns: 1fr 1fr; }
  .pricing-cards .pricing-card:last-child { grid-column: 1 / -1; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  :root { --pad: 20px; }
  .nav { display: none; }
  .nav.is-open {
    display: flex; position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column; background: white;
    border-bottom: 1px solid var(--gray-100);
    padding: 16px; gap: 8px; z-index: 300;
    box-shadow: 0 16px 40px rgba(0,0,0,0.25);
  }
  .site-header.is-top .nav.is-open { background: rgba(18,8,40,0.98); }
  .nav.is-open a { border-radius: var(--r8); padding: 12px 16px; font-size: 14px; font-weight: 700; }
  .nav.is-open a.mobile-nav-cta {
    display: flex !important;
    background: var(--violet-2);
    color: white !important;
    text-align: center;
    justify-content: center;
    margin-top: 6px;
    box-shadow: 0 4px 16px rgba(124,58,237,0.3);
  }
  .nav.is-open a.mobile-nav-secondary {
    display: flex !important;
    background: rgba(255,255,255,0.08);
    color: white !important;
    text-align: center;
    justify-content: center;
  }
  .nav-toggle { display: inline-flex; }
  .header-cta .btn-ghost { display: inline-flex; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-right { align-items: flex-start; }
  .hero-stats { flex-wrap: wrap; }

  .features-intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card--tall { min-height: 320px; grid-row: auto; }
  .metrics-row { grid-template-columns: 1fr 1fr; gap: 32px; }
  .metric-cell { padding: 0 !important; border-right: 0 !important; border-left: 0 !important; }
  .metrics-top { flex-direction: column; gap: 16px; }
  .model-grid { grid-template-columns: 1fr; }
  .flow-steps { grid-template-columns: 1fr; }
  .pricing-cards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .manifesto-layout { grid-template-columns: 1fr; }
  .manifesto-index { position: static; }
  .pro-card { grid-template-columns: 1fr; }
  .risk-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .trust-inner { flex-wrap: wrap; }
  .pricing-grid { grid-template-columns: 1fr; }

  /* Modelo page grids */
  [style*="grid-template-columns:repeat(3,1fr)"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns:repeat(4,1fr)"] { grid-template-columns: 1fr 1fr !important; }
  [style*="grid-template-columns:1fr auto 1fr auto 1fr"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns:1fr auto 1fr auto 1fr"] > div:nth-child(2),
  [style*="grid-template-columns:1fr auto 1fr auto 1fr"] > div:nth-child(4) {
    padding: 4px 0; transform: rotate(90deg);
  }
  .case-row { grid-template-columns: 2fr 1fr 1fr; font-size: 12px; }
  .section-head { max-width: 100%; }
}

@media (max-width: 640px) {
  .hero { min-height: 80vh; }
  .metrics-row { grid-template-columns: 1fr; }
  .pricing-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; align-items: flex-start; }
  .field-row { grid-template-columns: 1fr; }
  .lang-switcher { display: inline-flex; margin-right: 4px; }
  .hero-stats { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  [data-reveal], [data-reveal-stagger] > * { opacity: 1; transform: none; }
}
