/* ============================================================
   GalaxIA · Brand Kit v1.0 (25-may-2026 oficial)
   Sustituye canon viejo Paper Peach · Manrope + paleta navy/naranja/steel
   ============================================================ */

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, picture, svg, video { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ============================================================
   Tokens · GalaxIA Brand Kit v2.0 · refactor Jessica blueprint 25-may-2026
   ============================================================ */
:root {
  /* Paleta oficial v2.0 · Brand Kit Jessica */
  --navy:        #0F2744;       /* Ancla visual · títulos H1/H2 · botones primarios */
  --navy-2:      #1A3358;       /* Navy hover/lighter */
  --naranja:     #E8490F;       /* Tensión · conversión máxima CTA */
  --naranja-dark:#C73E0D;       /* Naranja hover */
  --steel:       #778195;       /* Subtítulos · bordes sutiles · placeholders */
  --steel-2:     #9AA3B0;       /* Steel más light */
  --grey-dark:   #4B5563;       /* Cuerpo de texto · lectura suave */
  --grey-light:  #B6BECF;       /* Líneas diagramas · deshabilitados */
  --mist:        #E6E9ED;       /* Mist light · separadores */
  --mist-2:      #F2F4F7;       /* Mist más light · fondos sutiles */
  --white:       #FFFFFF;
  --card:        #FFFFFF;
  --text:        #0F2744;       /* Texto principal = navy */
  --muted:       #4B5563;       /* Texto secundario = grey-dark */
  --muted-2:     #778195;       /* Steel */

  /* Paper · descanso visual editorial · Brand v2.0 */
  --paper:   #F5F2EC;            /* Paper peach · fondos descanso */
  --paper-2: #FAFAFA;            /* Premium blanco */
  --paper-3: #E6E9ED;            /* Mist · separación entre bloques */
  --hair:    #E6E9ED;
  --hair-2:  #B6BECF;

  /* Tipografía oficial v1.0 · Manrope única */
  --font-body:    'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-mono:    'Manrope', 'SF Mono', ui-monospace, monospace;

  /* Espaciado */
  --container: 1200px;
  --container-narrow: 980px;
  --container-tight: 720px;

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-pill: 999px;

  /* Sombras (sutiles · navy tinted) */
  --shadow-card: 0 1px 2px rgba(14, 30, 46, 0.04), 0 8px 24px rgba(14, 30, 46, 0.06);
  --shadow-lift: 0 2px 4px rgba(14, 30, 46, 0.06), 0 16px 40px rgba(14, 30, 46, 0.10);
  --shadow-soft: 0 1px 0 rgba(14, 30, 46, 0.04);
}

/* ============================================================
   Base
   ============================================================ */
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  color: var(--text);
  background: var(--paper);
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(40px, 6vw, 72px); }
h2 { font-size: clamp(32px, 4.4vw, 52px); }
h3 { font-size: clamp(22px, 2.4vw, 28px); }
h4 { font-size: clamp(18px, 1.6vw, 22px); }

p { text-wrap: pretty; }

.eyebrow, .kicker, .vertical-num {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 500;
  color: var(--naranja);
}

.tint-naranja { color: var(--naranja); font-weight: 600; }
.tint-navy { color: var(--navy); }

/* Skip link */
.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--navy);
  color: var(--paper);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  z-index: 100;
}
.skip:focus { left: 8px; }

/* ============================================================
   Layout
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.container.narrow { max-width: var(--container-narrow); }
.container.tight  { max-width: var(--container-tight); }

section { padding: clamp(56px, 8vw, 112px) 0; }
section.tight { padding: clamp(40px, 5vw, 72px) 0; }

.bg-paper   { background: var(--paper); }
.bg-paper-2 { background: var(--paper-2); }
.bg-paper-3 { background: var(--paper-3); }
.bg-navy    { background: var(--navy); color: var(--paper); }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--paper); }
.bg-card    { background: var(--card); }

.divider {
  height: 1px;
  background: var(--hair);
  width: 100%;
}

/* ============================================================
   Promo bar
   ============================================================ */
.promo {
  background: var(--naranja);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  position: relative;
  z-index: 30;
}
.promo strong { font-weight: 600; }
.promo .mono { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.85; }
.promo a.btn-outline {
  border: 1px solid rgba(255,255,255,0.6);
  color: #fff;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 500;
  transition: background 0.15s;
}
.promo a.btn-outline:hover { background: rgba(255,255,255,0.12); }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 242, 236, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hair);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.brand .iso {
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--paper);
  border-radius: 50%;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  font-weight: 600;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--text);
}
.nav-links a { transition: color 0.15s; }
.nav-links a:hover { color: var(--naranja); }
.nav-links a.cta {
  background: var(--navy);
  color: var(--paper);
  padding: 8px 16px;
  border-radius: var(--r-pill);
}
.nav-links a.cta:hover { background: var(--navy-2); color: var(--paper); }

.burger {
  display: none;
  width: 36px; height: 36px;
  place-items: center;
}
.burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--navy);
  position: relative;
}
.burger span::before, .burger span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 1.5px;
  background: var(--navy);
}
.burger span::before { top: -6px; }
.burger span::after  { top: 6px; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .burger { display: grid; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--hair);
    padding: 8px 0;
  }
  .nav-links.open a {
    padding: 14px 24px;
    border-top: 1px solid var(--hair);
  }
  .nav-links.open a.cta {
    margin: 12px 24px;
    text-align: center;
    border-top: 0;
  }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  transition: transform 0.12s ease, background 0.15s, color 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--naranja);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255, 90, 0, 0.25);
}
.btn-primary:hover { background: var(--naranja-dark); box-shadow: 0 6px 20px rgba(255, 90, 0, 0.35); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}
.btn-ghost:hover { background: var(--navy); color: var(--paper); }

.btn-ghost-light {
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(245, 242, 236, 0.5);
}
.btn-ghost-light:hover { background: rgba(245, 242, 236, 0.08); }

.btn-lg { padding: 18px 32px; font-size: 16px; }
.btn-sm { padding: 10px 18px; font-size: 13px; }

.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding: clamp(72px, 10vw, 120px) 0 clamp(56px, 8vw, 96px);
  background:
    radial-gradient(ellipse at 80% 0%, rgba(255, 90, 0, 0.04), transparent 60%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 .num {
  font-weight: 600;
  color: var(--naranja);
  font-style: italic;
}
.hero p.lead {
  margin-top: 22px;
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--muted);
  max-width: 540px;
  line-height: 1.55;
}
.hero .cta-row {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero .meta-row {
  margin-top: 28px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero .meta-row span::before { content: '✓ '; color: var(--naranja); }

.hero-eyebrow {
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--naranja);
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================================
   Hero visual (map + ad mockups)
   ============================================================ */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 540px;
  margin-left: auto;
}
.hero-map {
  position: absolute;
  inset: 0;
  background: var(--card);
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.hero-map svg { width: 100%; height: 100%; }

.ad-card {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lift);
  width: 180px;
  overflow: hidden;
}
.ad-card .ad-img {
  height: 110px;
  background: linear-gradient(135deg, #F2C7B8 0%, #E8490F 100%);
  position: relative;
}
.ad-card .ad-img.alt-1 { background: linear-gradient(135deg, #FFE9A7 0%, #E89F0F 100%); }
.ad-card .ad-img.alt-2 { background: linear-gradient(135deg, #C9D8E8 0%, #0F2744 100%); }
.ad-card .ad-body {
  padding: 10px 12px;
}
.ad-card .ad-platform {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.ad-card .ad-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  color: var(--navy);
  margin-top: 4px;
  line-height: 1.2;
}
.ad-card .ad-cta {
  margin-top: 8px;
  font-size: 10px;
  color: var(--naranja);
  font-weight: 500;
}

.ad-card.pos-1 { top: 8%;  right: -8%; transform: rotate(3deg); animation: float 6s ease-in-out infinite; }
.ad-card.pos-2 { bottom: 14%; left: -10%; transform: rotate(-4deg); animation: float 7s ease-in-out infinite 0.5s; }
.ad-card.pos-3 { bottom: -6%; right: 10%; transform: rotate(2deg); animation: float 8s ease-in-out infinite 1s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--r, 3deg)); }
  50%      { transform: translateY(-8px) rotate(var(--r, 3deg)); }
}

@media (max-width: 600px) {
  .hero-visual { max-width: 360px; margin: 0 auto; }
  .ad-card { width: 140px; }
  .ad-card .ad-img { height: 80px; }
}

/* ============================================================
   Steps (Cómo funciona)
   ============================================================ */
.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 56px;
}
.section-head .eyebrow { margin-bottom: 16px; }
.section-head p {
  margin-top: 18px;
  color: var(--muted);
  max-width: 620px;
  font-size: 17px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }

.step-card {
  background: var(--card);
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.step-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.step-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 56px;
  color: var(--naranja);
  line-height: 1;
}
.step-card h3 { margin-top: 18px; }
.step-card p { margin-top: 12px; color: var(--muted); font-size: 15px; }

.step-visual {
  margin-top: 24px;
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  padding: 18px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--paper-2);
  border: 1px solid var(--hair);
  font-size: 12px;
  color: var(--navy);
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.15s;
}
.chip:hover { border-color: var(--naranja); color: var(--naranja); }
.chip.active { background: var(--navy); color: var(--paper); border-color: var(--navy); }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* phone mockup mini */
.phone-mini {
  background: var(--navy);
  border-radius: 14px;
  padding: 8px;
  margin: 0 auto;
  width: 140px;
}
.phone-mini-screen {
  background: var(--card);
  border-radius: 8px;
  padding: 10px;
  font-size: 10px;
  min-height: 110px;
}
.phone-mini-screen .ad-thumb {
  height: 50px;
  background: linear-gradient(135deg, #F2C7B8 0%, #E8490F 100%);
  border-radius: 4px;
  margin-bottom: 8px;
}
.phone-mini-screen .ad-line {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--navy);
  font-size: 9px;
  line-height: 1.2;
}

/* metric row */
.metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.metric-mini {
  background: var(--card);
  border: 1px solid var(--hair);
  border-radius: var(--r-sm);
  padding: 10px;
}
.metric-mini .mlabel {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.1em;
}
.metric-mini .mval {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  color: var(--navy);
  margin-top: 4px;
}
.metric-mini .mval.up { color: #1B7F4A; }

/* ============================================================
   Features grid
   ============================================================ */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 980px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--card);
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: var(--hair-2);
}
.feature-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--naranja);
  border-radius: 12px;
  color: var(--naranja);
  margin-bottom: 18px;
}
.feature-icon svg { width: 22px; height: 22px; stroke: var(--naranja); fill: none; stroke-width: 1.6; }
.feature-card h3 { font-size: 22px; }
.feature-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  flex: 1;
}
.feature-card .more {
  margin-top: 18px;
  color: var(--naranja);
  font-weight: 500;
  font-size: 13px;
  font-family: var(--font-body);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.feature-card .more:hover { gap: 8px; }

.feature-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--naranja);
  background: rgba(255, 90, 0, 0.08);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
  align-self: flex-start;
}

/* ============================================================
   Verticales chips
   ============================================================ */
.verticales {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 980px;
  margin: 0 auto;
}
.vertical-chip {
  padding: 12px 22px;
  background: var(--paper-2);
  border: 1px solid var(--hair);
  border-radius: var(--r-pill);
  color: var(--navy);
  font-weight: 500;
  font-size: 14px;
  transition: all 0.15s;
  cursor: default;
}
.vertical-chip:hover {
  border-color: var(--naranja);
  color: var(--naranja);
  background: var(--card);
}

/* ============================================================
   Testimonials
   ============================================================ */
.testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 720px) { .testimonials { grid-template-columns: 1fr; } }

.testimonial {
  background: var(--card);
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testimonial-head {
  display: flex;
  align-items: center;
  gap: 16px;
}
.avatar {
  width: 64px; height: 64px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--hair);
  display: grid;
  place-items: center;
  position: relative;
  flex-shrink: 0;
}
.avatar-initial {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 26px;
  color: var(--navy);
}
.avatar-monogram {
  position: absolute;
  bottom: 4px; right: 4px;
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--muted-2);
}
.testimonial-meta .name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  color: var(--navy);
}
.testimonial-meta .role { font-size: 13px; color: var(--muted); margin-top: 2px; }
.testimonial-meta .city {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  margin-top: 4px;
}
.testimonial-quote {
  font-size: 17px;
  color: var(--text);
  line-height: 1.55;
}
.testimonial-quote::before {
  content: '“';
  font-family: var(--font-display);
  font-style: italic;
  font-size: 36px;
  color: var(--naranja);
  line-height: 0;
  position: relative;
  top: 12px;
  margin-right: 4px;
}
.testimonial-metric {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 32px;
  color: var(--naranja);
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--hair);
}
.testimonial-metric .label {
  display: block;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

/* ============================================================
   Bridge band (navy)
   ============================================================ */
.bridge {
  padding: clamp(72px, 9vw, 112px) 0;
  background: var(--navy);
  background-image:
    radial-gradient(ellipse at 80% 100%, rgba(255, 90, 0, 0.18), transparent 50%),
    radial-gradient(ellipse at 0% 0%, rgba(255, 90, 0, 0.08), transparent 50%);
  color: var(--paper);
}
.bridge h2 { color: var(--paper); max-width: 760px; }
.bridge h2 .tint-naranja { color: var(--naranja); }
.bridge p {
  margin-top: 22px;
  max-width: 620px;
  color: rgba(245, 242, 236, 0.72);
  font-size: 17px;
}
.bridge .cta-row { margin-top: 32px; }

.nerves-strip {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  gap: 6px;
  max-width: 900px;
}
.nerve {
  aspect-ratio: 1 / 1.4;
  background: rgba(245, 242, 236, 0.04);
  border: 1px solid rgba(245, 242, 236, 0.12);
  border-radius: 6px;
  display: flex;
  align-items: flex-end;
  padding: 8px 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.5);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  transition: all 0.2s;
}
.nerve.active {
  background: rgba(255, 90, 0, 0.15);
  border-color: var(--naranja);
  color: var(--naranja);
}
.nerve:hover { background: rgba(245, 242, 236, 0.08); color: var(--paper); }
@media (max-width: 720px) { .nerves-strip { display: none; } }

/* ============================================================
   Pricing preview
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto;
}
@media (max-width: 880px) { .pricing-grid { grid-template-columns: 1fr; max-width: 480px; } }

.price-card {
  background: var(--card);
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.price-card.featured {
  border: 2px solid var(--naranja);
  box-shadow: 0 12px 36px rgba(255, 90, 0, 0.12);
}
.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--naranja);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 5px 12px;
  border-radius: var(--r-pill);
}
.price-tier {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--naranja);
}
.price-amount {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 56px;
  color: var(--navy);
  margin-top: 14px;
  line-height: 1;
}
.price-amount .currency {
  font-size: 22px;
  font-weight: 500;
  color: var(--muted);
  margin-right: 4px;
}
.price-amount .period {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 14px;
  color: var(--muted);
  font-weight: 400;
  margin-left: 6px;
}
.price-desc {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}
.price-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  flex: 1;
}
.price-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.price-list li::before {
  content: '';
  width: 16px; height: 16px;
  background: rgba(255, 90, 0, 0.12);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 3px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5L7 11l5-6' stroke='%23E8490F' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.price-list li.off { color: var(--muted-2); }
.price-list li.off::before {
  background: var(--paper-2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 5l6 6M11 5l-6 6' stroke='%23B8AE92' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  border-top: 1px solid var(--hair);
}
.faq-item:last-child { border-bottom: 1px solid var(--hair); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 24px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 20px;
  color: var(--navy);
  transition: color 0.15s;
}
.faq-q:hover { color: var(--naranja); }
.faq-toggle {
  width: 28px; height: 28px;
  border: 1px solid var(--hair);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all 0.2s;
  background: var(--card);
}
.faq-toggle::before {
  content: '+';
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 400;
  color: var(--navy);
  line-height: 1;
}
.faq-item.open .faq-toggle {
  background: var(--naranja);
  border-color: var(--naranja);
}
.faq-item.open .faq-toggle::before { content: '–'; color: #fff; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a-inner {
  padding: 0 8px 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 720px;
}
.faq-item.open .faq-a { max-height: 320px; }

/* ============================================================
   CTA final
   ============================================================ */
.cta-final {
  text-align: center;
  padding: clamp(72px, 10vw, 120px) 0;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(255, 90, 0, 0.06), transparent 60%),
    linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
}
.cta-final h2 { max-width: 800px; margin: 0 auto; }
.cta-final .cta-row { margin-top: 36px; justify-content: center; display: flex; gap: 12px; flex-wrap: wrap; }
.cta-final .micro {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--paper-3);
  border-top: 1px solid var(--hair);
  padding: 64px 0 32px;
  color: var(--text);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-col h4 {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--naranja);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}
.footer-col a { color: var(--text); transition: color 0.15s; }
.footer-col a:hover { color: var(--naranja); }

.footer-brand .brand {
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--muted);
  max-width: 280px;
  line-height: 1.5;
}
.footer-contact {
  font-size: 14px;
  color: var(--text);
}
.footer-contact .line {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 6px;
}
.footer-contact .label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  width: 80px;
}

.footer-bottom {
  border-top: 1px solid var(--hair);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-bottom .powered { color: var(--naranja); }

/* ============================================================
   Map dots
   ============================================================ */
.map-dot {
  fill: var(--naranja);
  animation: pulse 2.2s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
.map-dot.d2 { animation-delay: 0.5s; }
.map-dot.d3 { animation-delay: 1s; }
.map-dot.d4 { animation-delay: 1.5s; }
.map-dot.d5 { animation-delay: 0.7s; }

@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.5); }
}

/* ============================================================
   Demo embed
   ============================================================ */
.demo-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}
@media (max-width: 880px) { .demo-wrap { grid-template-columns: 1fr; } }

.demo-prefill h3 { font-size: 28px; }
.demo-prefill p { margin-top: 14px; color: var(--muted); font-size: 16px; }
.demo-prefill .chip-row { margin-top: 24px; }
.demo-prefill .btn { margin-top: 28px; }

.phone-frame {
  background: var(--navy);
  border-radius: 36px;
  padding: 12px;
  width: 280px;
  margin: 0 auto;
  box-shadow: var(--shadow-lift);
  position: relative;
}
.phone-frame::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 18px;
  background: var(--navy);
  border-radius: 12px;
  z-index: 2;
}
.phone-screen {
  background: var(--card);
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 9 / 19;
  padding: 40px 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.phone-screen .gen-input {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 10px;
  padding: 12px;
  font-size: 13px;
  color: var(--text);
}
.phone-screen .gen-input .placeholder { color: var(--muted-2); font-style: italic; }
.phone-screen .gen-mock {
  flex: 1;
  background: var(--paper-2);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.phone-screen .gen-img {
  height: 140px;
  border-radius: 8px;
  background: linear-gradient(135deg, #F2C7B8 0%, #E8490F 60%, #C73E0D 100%);
}
.phone-screen .gen-headline {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.2;
}
.phone-screen .gen-cta {
  background: var(--naranja);
  color: #fff;
  border-radius: var(--r-pill);
  padding: 10px;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  margin-top: auto;
}

/* generation log lines */
.gen-log {
  background: var(--card);
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  padding: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--navy);
  margin-top: 18px;
}
.gen-log .row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
}
.gen-log .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--hair);
}
.gen-log .row.active .dot { background: var(--naranja); animation: pulse 1.4s ease-in-out infinite; }
.gen-log .row.done .dot { background: var(--navy); }

/* ============================================================
   Pricing matrix (pricing.html)
   ============================================================ */
.matrix-wrap {
  overflow-x: auto;
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  background: var(--card);
}
.matrix {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}
.matrix th, .matrix td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--hair);
  font-size: 14px;
  vertical-align: middle;
}
.matrix thead th {
  background: var(--paper-2);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 20px;
  color: var(--navy);
  border-bottom: 1px solid var(--hair-2);
}
.matrix thead th.featured {
  background: var(--naranja);
  color: #fff;
  position: relative;
}
.matrix thead th .price-num {
  display: block;
  font-size: 32px;
  margin-top: 4px;
}
.matrix thead th .period-mini {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
  color: var(--muted);
  margin-top: 4px;
}
.matrix thead th.featured .period-mini { color: rgba(255,255,255,0.8); }
.matrix tbody td:first-child {
  font-weight: 500;
  color: var(--text);
}
.matrix tbody td.section-row {
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--naranja);
  font-weight: 500;
}
.matrix tbody td.check {
  text-align: center;
  color: var(--naranja);
  font-weight: 500;
}
.matrix tbody td.cross {
  text-align: center;
  color: var(--hair-2);
}
.matrix tbody td.cell-text {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text);
}
.matrix tbody tr.cta-row td { padding: 24px 20px; background: var(--paper-2); }
.matrix tbody tr.cta-row td.featured-cta { background: rgba(255, 90, 0, 0.08); }

/* ============================================================
   Doc page (privacidad / terminos)
   ============================================================ */
.doc-hero {
  padding: clamp(48px, 6vw, 80px) 0 clamp(40px, 5vw, 56px);
  background: var(--paper);
  border-bottom: 1px solid var(--hair);
}
.doc-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
}
.doc-hero .updated {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.doc-body {
  background: var(--paper-2);
  padding: 56px 0 96px;
}
.doc-card {
  background: var(--card);
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  padding: 56px 64px;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: var(--shadow-soft);
}
@media (max-width: 720px) { .doc-card { padding: 40px 28px; } }

.doc-card h2 {
  font-size: 28px;
  margin-top: 40px;
  margin-bottom: 14px;
}
.doc-card h2:first-of-type { margin-top: 0; }
.doc-card h3 {
  font-size: 18px;
  margin-top: 24px;
  margin-bottom: 8px;
  color: var(--navy);
}
.doc-card p, .doc-card li {
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 12px;
}
.doc-card ul, .doc-card ol {
  margin: 0 0 16px 22px;
}
.doc-card li { margin-bottom: 6px; }
.doc-card strong { font-weight: 600; color: var(--navy); }
.doc-card code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--paper);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--naranja);
}
.doc-toc {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  padding: 24px;
  margin-bottom: 40px;
}
.doc-toc h4 {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--naranja);
  margin-bottom: 12px;
  font-weight: 500;
}
.doc-toc ol {
  margin: 0;
  padding-left: 22px;
  font-size: 14px;
  columns: 2;
  column-gap: 24px;
}
@media (max-width: 600px) { .doc-toc ol { columns: 1; } }
.doc-toc a { color: var(--text); }
.doc-toc a:hover { color: var(--naranja); }

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
/* Fallback · si IntersectionObserver no dispara o si JS no carga · NO esconder contenido */
@media (prefers-reduced-motion: reduce), (scripting: none) {
  .reveal { opacity: 1 !important; transform: none !important; }
}
.no-js .reveal { opacity: 1 !important; transform: none !important; }

/* Fix CRÍTICO · .step-num de cards (steps "Cómo funciona") es 56px italic
   pero NO debe aplicar a .gen-row .step-num (bitácora demo) que necesita ser pequeño aligned */
.gen-row .step-num,
.demo-gen-log .step-num {
  font-family: var(--font-mono) !important;
  font-style: normal !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  width: 24px !important;
  flex-shrink: 0 !important;
  color: var(--naranja) !important;
  letter-spacing: 0.05em !important;
}

/* ============================================================
   Misc utilities
   ============================================================ */
.text-center { text-align: center; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 48px; }
.flex-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.muted { color: var(--muted); }

/* Section number aside */
.section-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--naranja);
}

/* ============================================================
   Agencias / Docencia specifics
   ============================================================ */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 880px) { .advantage-grid { grid-template-columns: 1fr; } }

.advantage {
  background: var(--card);
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  padding: 32px 28px;
}
.advantage .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 42px;
  color: var(--naranja);
  line-height: 1;
}
.advantage h3 { margin-top: 16px; font-size: 22px; }
.advantage p { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.6; }

.agency-dashboard {
  background: var(--card);
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  overflow: hidden;
  max-width: 980px;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
}
.dash-bar {
  background: var(--paper-2);
  padding: 14px 20px;
  border-bottom: 1px solid var(--hair);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}
.dash-bar .dots { display: flex; gap: 6px; }
.dash-bar .dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--hair-2); }
.dash-bar .dots span:first-child { background: var(--naranja); }
.dash-body {
  display: grid;
  grid-template-columns: 200px 1fr;
}
@media (max-width: 720px) { .dash-body { grid-template-columns: 1fr; } }
.dash-side {
  background: var(--paper);
  border-right: 1px solid var(--hair);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dash-side .client {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dash-side .client:hover { background: var(--paper-2); }
.dash-side .client.active { background: var(--navy); color: var(--paper); }
.dash-side .client .mini-stat {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--naranja);
}
.dash-side .client.active .mini-stat { color: #FFA67F; }
.dash-main { padding: 28px; }
.dash-main h4 { font-size: 22px; }
.dash-main .stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}
@media (max-width: 600px) { .dash-main .stats { grid-template-columns: 1fr 1fr; } }
.stat-card {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  padding: 16px;
}
.stat-card .l {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.stat-card .v {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 26px;
  color: var(--navy);
  margin-top: 4px;
}
.stat-card .v.up { color: #1B7F4A; }
.dash-chart {
  margin-top: 20px;
  height: 140px;
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  padding: 16px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
}
.dash-chart .bar {
  flex: 1;
  background: linear-gradient(180deg, var(--naranja) 0%, rgba(255,90,0,0.4) 100%);
  border-radius: 4px 4px 0 0;
}

/* docencia modalities */
.modalities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 880px) { .modalities { grid-template-columns: 1fr; } }
.modality {
  background: var(--card);
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.modality .tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--naranja);
  background: rgba(255,90,0,0.08);
  padding: 4px 10px;
  border-radius: 4px;
  align-self: flex-start;
  margin-bottom: 18px;
}
.modality h3 { font-size: 26px; }
.modality .price-strip {
  margin-top: 14px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 32px;
  color: var(--naranja);
}
.modality .price-strip .per {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
}
.modality ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--text);
  flex: 1;
}
.modality ul li { padding-left: 22px; position: relative; }
.modality ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255,90,0,0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.5L5 8.5l4-5' stroke='%23E8490F' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.badge-strip {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--paper-2);
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  padding: 16px 22px;
  max-width: 540px;
  margin: 32px auto 0;
}
.badge-strip .badge {
  width: 48px; height: 48px;
  background: var(--card);
  border: 1px solid var(--hair);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--navy);
  flex-shrink: 0;
}
.badge-strip .badge-text {
  font-size: 13px;
  color: var(--text);
}
.badge-strip .badge-text strong { color: var(--navy); font-weight: 600; }
.badge-strip .badge-text .sub { color: var(--muted); font-size: 12px; }

/* simple two-col */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 880px) { .two-col { grid-template-columns: 1fr; gap: 40px; } }
