/* =========================================================================
   Pohua — pohua.app
   Estilos del sitio. Modo oscuro por default (identidad "Aurora").
   Tokens y specs: ver DESIGN.md.
   ========================================================================= */

/* ---- Tokens ------------------------------------------------------------ */
:root {
  /* Color */
  --bg: #141C2A;
  --bg-elev: #1B2433;
  --bg-elev-2: #222C3D;
  --border: #2E3A4D;
  --border-strong: #3D4A60;
  --ink: #F5F1E8;
  --ink-muted: #A9B0BD;
  --ink-faint: #828B99;     /* labels/captions mono — sube a ≥4.5:1 (WCAG AA) sobre navy y cards */
  --accent: #E4007C;        /* rosa mexicano clásico */
  --accent-bright: #FF2E9A; /* rosa neón — solo destellos/hover */
  --accent-press: #C70069;  /* presionado */
  --accent-soft: rgba(228, 0, 124, 0.14);
  --aurora-1: rgba(228, 0, 124, 0.18);   /* glow rosa */
  --aurora-2: rgba(139, 123, 255, 0.16); /* glow violeta */

  /* Tipografía */
  --font-sans: "Space Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif; /* SOLO wordmark gigante */

  /* Espaciado (base 8) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-6: 24px;
  --s-8: 32px;
  --s-12: 48px;
  --s-16: 64px;
  --s-24: 96px;
  --s-32: 128px;

  /* Radios */
  --r-card: 16px;
  --r-btn: 12px;
  --r-input: 12px;
  --r-phone: 28px;
  --r-pill: 999px;

  /* Layout */
  --maxw: 1120px;
  --gutter: 20px;

  /* Sombra */
  --shadow-float: 0 8px 32px rgba(0, 0, 0, 0.35);
}

@media (min-width: 768px) {
  :root { --gutter: 40px; }
}

/* ---- Reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---- Tipografía utilitaria -------------------------------------------- */
.display, h1.display {
  font-size: 40px; font-weight: 700; line-height: 1.02;
  letter-spacing: -0.02em; margin: 0;
}
h1, .h1 { font-size: 32px; font-weight: 700; line-height: 1.05; letter-spacing: -0.015em; margin: 0; }
h2, .h2 { font-size: 26px; font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; margin: 0; }
h3, .h3 { font-size: 20px; font-weight: 600; line-height: 1.2; letter-spacing: -0.005em; margin: 0; }

.body-lg { font-size: 18px; line-height: 1.55; }
.small { font-size: 14px; line-height: 1.5; }

p { margin: 0; max-width: 62ch; }

.muted { color: var(--ink-muted); }
.faint { color: var(--ink-faint); }
.accent { color: var(--accent); }

.label {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500; line-height: 1.2;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-faint);
}
.label-lg {
  font-family: var(--font-mono);
  font-size: 14px; font-weight: 500; line-height: 1.3;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.mono-data {
  font-family: var(--font-mono);
  font-size: 14px; font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.num {
  font-size: 28px; font-weight: 700; line-height: 1;
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}

@media (min-width: 768px) {
  .display, h1.display { font-size: 72px; }
  h1, .h1 { font-size: 52px; }
  h2, .h2 { font-size: 38px; }
  h3, .h3 { font-size: 24px; }
  .body-lg { font-size: 20px; }
  body { font-size: 17px; }
  .label { font-size: 13px; }
  .label-lg { font-size: 15px; }
  .num { font-size: 44px; }
}

/* ---- Layout ------------------------------------------------------------ */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--s-24); }
@media (min-width: 768px) {
  .section { padding-block: var(--s-32); }
}

/* Micro-label (firma de Pohua): ···  02 — CÓMO LO HACE */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: var(--s-4);
}
@media (min-width: 768px) { .eyebrow { font-size: 13px; } }
.eyebrow .n { color: var(--accent); }

/* Numeral náhuatl: 3 puntos que se encienden en secuencia */
.dots { display: inline-flex; align-items: center; gap: 5px; }
.dots i {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--ink-faint);
  transition: background-color 320ms ease, box-shadow 320ms ease, transform 320ms ease;
}
.dots.lit i { background: var(--accent); box-shadow: 0 0 7px var(--accent-bright); transform: scale(1.1); }
.dots.lit i:nth-child(1) { transition-delay: 60ms; }
.dots.lit i:nth-child(2) { transition-delay: 200ms; }
.dots.lit i:nth-child(3) { transition-delay: 340ms; }
@media (prefers-reduced-motion: reduce) {
  .dots i { transition: none; }
}

.section-head { margin-bottom: var(--s-12); max-width: 22ch; }
.section-head h1, .section-head .h1 { margin-bottom: var(--s-4); }

/* ---- Botones ----------------------------------------------------------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  min-height: 48px; padding-inline: var(--s-6);
  border-radius: var(--r-btn);
  font-size: 16px; font-weight: 600;
  border: 1px solid transparent;
  transition: transform 180ms ease, background-color 180ms ease,
              border-color 180ms ease, box-shadow 180ms ease;
  text-align: center;
}
.btn > * { position: relative; z-index: 1; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.97); }

/* Primario: rosa sólido + texto cream + sheen en movimiento */
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: var(--accent-bright); box-shadow: 0 8px 28px -8px rgba(228, 0, 124, 0.6); }
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -75%;
  width: 50%; height: 100%; z-index: 0;
  transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(245, 241, 232, 0.28), transparent);
  animation: btn-sheen 4.5s ease-in-out infinite;
}

.btn-secondary { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--accent); box-shadow: 0 0 0 1px rgba(228, 0, 124, 0.25), 0 8px 24px -12px rgba(228, 0, 124, 0.45); }

.btn-ghost { background: transparent; color: var(--ink-muted); }
.btn-ghost:hover { color: var(--ink); transform: none; }

.btn-full { width: 100%; }

@keyframes btn-sheen {
  0%, 35% { left: -75%; }
  70%, 100% { left: 130%; }
}

@media (prefers-reduced-motion: reduce) {
  .btn, .card { transition: none; }
  .btn:hover, .btn:active { transform: none; }
  .btn-primary::after { animation: none; display: none; }
}

/* ---- Chips / badges ---------------------------------------------------- */
.chip {
  display: inline-flex; align-items: center;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.chip-neutral { background: var(--bg-elev-2); color: var(--ink-muted); }

.chip-row { display: flex; flex-wrap: wrap; gap: var(--s-2); }

/* ---- Cards ------------------------------------------------------------- */
.card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: var(--s-6);
}
@media (hover: hover) and (min-width: 768px) {
  .card-hover, .plan, .quote {
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  }
  .card-hover:hover, .plan:hover, .quote:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 12px 36px -16px rgba(228, 0, 124, 0.5);
  }
  .plan--featured:hover { transform: translateY(-15px); }
}
@media (prefers-reduced-motion: reduce) {
  .card-hover, .plan, .quote { transition: none; }
  .card-hover:hover, .plan:hover, .quote:hover { transform: none; }
}

/* ---- Glow aurora ------------------------------------------------------- */
.aurora {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 0;
  overflow: hidden;
}
.aurora::before, .aurora::after {
  content: ""; position: absolute; border-radius: 50%;
}
.aurora::before {
  width: 80vw; height: 80vw; max-width: 720px; max-height: 720px;
  top: -20%; right: -15%;
  background: radial-gradient(circle, var(--aurora-1), transparent 60%);
  animation: aurora-drift-1 19s ease-in-out infinite;
  will-change: transform;
}
.aurora::after {
  width: 70vw; height: 70vw; max-width: 620px; max-height: 620px;
  bottom: -25%; left: -20%;
  background: radial-gradient(circle, var(--aurora-2), transparent 60%);
  animation: aurora-drift-2 25s ease-in-out infinite;
  will-change: transform;
}

@keyframes aurora-drift-1 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(-6%, 6%, 0) scale(1.14); }
}
@keyframes aurora-drift-2 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(8%, -5%, 0) scale(1.18); }
}
@media (prefers-reduced-motion: reduce) {
  .aurora::before, .aurora::after { animation: none; }
}

/* =========================================================================
   NAV
   ========================================================================= */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: 56px;
  background: rgba(20, 28, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav__inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.brand .logo { width: 28px; height: 28px; }
.nav__links { display: none; }
.nav__links a { color: var(--ink-muted); font-size: 15px; }
.nav__links a:hover { color: var(--ink); }
.nav__cta { display: none; }

.nav__toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-right: -8px;
  background: transparent; border: none; color: var(--ink);
}

@media (min-width: 880px) {
  .nav__toggle { display: none; }
  .nav__links { display: flex; align-items: center; gap: var(--s-8); }
  .nav__cta { display: inline-flex; }
  .nav__right { display: flex; align-items: center; gap: var(--s-6); }
}

/* Overlay móvil */
.navmenu {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg);
  display: flex; flex-direction: column;
  padding: var(--gutter);
  transform: translateY(-100%);
  transition: transform 240ms ease;
  visibility: hidden;
}
.navmenu.open { transform: translateY(0); visibility: visible; }
.navmenu__top { height: 56px; display: flex; align-items: center; justify-content: space-between; }
.navmenu__links { display: flex; flex-direction: column; gap: var(--s-6); margin-top: var(--s-12); }
.navmenu__links a { font-size: 26px; font-weight: 600; }
.navmenu__links a:hover { color: var(--accent); }
@media (prefers-reduced-motion: reduce) {
  .navmenu { transition: none; }
}

/* =========================================================================
   HERO
   ========================================================================= */
/* Fondo continuo de todo el hero (incluye la banda del wordmark): navy sin
   costura arriba/abajo + glow rosa estático detrás de "Pohua". El glow del
   tope lo aporta .aurora (animado). Un solo set, sin línea de corte. */
.hero {
  position: relative;
  padding-top: var(--s-16); padding-bottom: var(--s-8);
  background:
    radial-gradient(78% 40% at 50% 100%, rgba(228, 0, 124, 0.20), transparent 62%),
    radial-gradient(60% 34% at 14% 92%, rgba(139, 123, 255, 0.15), transparent 60%),
    linear-gradient(180deg, #141C2A 0%, #0F1622 56%, #141C2A 100%);
}
@media (min-width: 768px) {
  .hero { padding-top: 120px; padding-bottom: var(--s-12); }
}

/* El glow aurora del hero se amplía y se concentra arriba (inicio de página),
   para que el fondo arranque con vida desde el tope y baje continuo al wordmark. */
.hero .aurora::before {
  width: 100vw; height: 64vh; max-width: 1080px; max-height: 720px;
  top: -18%; right: -12%;
  background: radial-gradient(circle, rgba(228, 0, 124, 0.26), transparent 60%);
}
.hero .aurora::after {
  width: 88vw; height: 56vh; max-width: 880px; max-height: 600px;
  top: -8%; left: -16%; bottom: auto;
  background: radial-gradient(circle, rgba(139, 123, 255, 0.20), transparent 62%);
}
.hero__inner { position: relative; z-index: 1; }
.hero__grid { display: grid; gap: var(--s-16); align-items: center; }
@media (min-width: 880px) {
  .hero__grid { grid-template-columns: 55fr 45fr; gap: var(--s-12); }
}
.hero h1 { margin-block: var(--s-4) var(--s-6); }
.hero .lead { color: var(--ink-muted); margin-bottom: var(--s-8); }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-bottom: var(--s-8); }
.hero__cta .btn { flex: 1 1 auto; }
@media (min-width: 480px) { .hero__cta .btn { flex: 0 0 auto; } }

/* CTA del hero: glow rosa pulsante sutil para atraer el ojo */
.hero__cta .btn-primary {
  animation: cta-pulse 2.9s ease-in-out infinite;
}
@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(228, 0, 124, 0.45), 0 8px 22px -10px rgba(228, 0, 124, 0.45); }
  50%      { box-shadow: 0 0 0 10px rgba(228, 0, 124, 0), 0 10px 30px -8px rgba(228, 0, 124, 0.7); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__cta .btn-primary { animation: none; box-shadow: none; }
}

/* ---- Mockup de teléfono ------------------------------------------------ */
@property --shine {
  syntax: "<angle>"; initial-value: 0deg; inherits: false;
}

.phone {
  position: relative;
  width: 100%; max-width: 300px; margin-inline: auto;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-phone);
  padding: 14px;
  box-shadow: var(--shadow-float);
}
/* Brillo rosa que recorre el borde del teléfono */
.phone::before {
  content: ""; position: absolute; inset: -1px;
  border-radius: inherit; padding: 1.5px; z-index: 2;
  pointer-events: none;
  background: conic-gradient(from var(--shine),
    transparent 0 62%, var(--accent) 78%, var(--accent-bright) 86%, transparent 96%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
  animation: phone-shine 5.5s linear infinite;
}
@keyframes phone-shine { to { --shine: 360deg; } }

/* Filas en cascada al entrar el teléfono en viewport */
.phone .phone__row {
  opacity: 0; transform: translateX(10px);
  transition: opacity 420ms ease, transform 420ms ease;
}
.phone.in .phone__row { opacity: 1; transform: none; }
.phone.in .phone__row:nth-child(1) { transition-delay: 220ms; }
.phone.in .phone__row:nth-child(2) { transition-delay: 360ms; }
.phone.in .phone__row:nth-child(3) { transition-delay: 500ms; }

@media (prefers-reduced-motion: reduce) {
  .phone::before { animation: none; opacity: 0.5; }
  .phone .phone__row { opacity: 1; transform: none; transition: none; }
}
.phone__screen {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: var(--s-6) var(--s-4) var(--s-4);
}
.phone__notch {
  width: 48px; height: 5px; border-radius: 999px;
  background: var(--border-strong); margin: 0 auto var(--s-6);
}
.phone__cardlabel { color: var(--ink-faint); margin-bottom: 6px; }
.phone__amount { color: var(--accent); margin-bottom: var(--s-6); }
.phone__list { display: flex; flex-direction: column; gap: var(--s-1); }
.phone__row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; border-top: 1px solid var(--border);
}
.phone__merch { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.phone__dot {
  width: 28px; height: 28px; border-radius: 999px;
  background: var(--bg-elev-2); display: inline-flex;
  align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-muted);
}
.phone__val { font-family: var(--font-mono); font-size: 14px; font-variant-numeric: tabular-nums; }
.phone__val.neg { color: var(--ink); }
.phone__val.pos { color: var(--ink-muted); }

/* =========================================================================
   QUÉ HACE — pasos
   ========================================================================= */
.steps { display: grid; gap: var(--s-4); }
@media (min-width: 880px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }
  /* Conector rosa que se "dibuja" al revelar cada paso */
  .step { position: relative; }
  .step:not(:last-child)::after {
    content: ""; position: absolute; z-index: 2;
    top: calc(var(--s-6) + 9px); right: calc(-1 * var(--s-6) - 1px);
    width: calc(var(--s-6) + 2px); height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-bright));
    transform: scaleX(0); transform-origin: left;
    transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1) 240ms;
  }
  .step.reveal.in:not(:last-child)::after { transform: scaleX(1); }
}
@media (min-width: 880px) and (prefers-reduced-motion: reduce) {
  .step:not(:last-child)::after { transition: none; transform: scaleX(1); }
}
.step .num-dots {
  font-family: var(--font-mono); letter-spacing: 0.1em;
  color: var(--accent); font-size: 18px; margin-bottom: var(--s-4);
}
.step h3 { margin-bottom: var(--s-2); }
.step p { color: var(--ink-muted); }
.note { color: var(--ink-muted); margin-top: var(--s-8); }

/* =========================================================================
   CÓMO LO HACE — privacidad
   ========================================================================= */
.privacy { position: relative; background: #11192599; }
.privacy__grid { display: grid; gap: var(--s-12); align-items: center; }
@media (min-width: 880px) {
  .privacy__grid { grid-template-columns: 1fr 1fr; gap: var(--s-16); }
}
.guarantees { display: flex; flex-direction: column; gap: var(--s-4); }
.guarantee h3 { margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.guarantee p { color: var(--ink-muted); }
.guarantee .gdot { color: var(--accent); }

/* Diagrama "sin nube" */
.nocloud {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: var(--s-6);
  padding: var(--s-8) var(--s-6);
}
.nocloud__cloud { position: relative; color: var(--ink-faint); }
.nocloud__cloud svg { width: 120px; height: auto; }
.nocloud__slash {
  position: absolute; inset: 0; margin: auto;
  width: 2px; height: 96px; background: var(--accent);
  transform: rotate(45deg); transform-origin: center;
  border-radius: 2px;
}
.nocloud__link {
  width: 2px; height: 40px;
  background: repeating-linear-gradient(var(--border-strong) 0 6px, transparent 6px 12px);
}
.nocloud__device {
  width: 132px; background: var(--bg-elev); border: 1px solid var(--border-strong);
  border-radius: 18px; padding: var(--s-4);
  display: flex; flex-direction: column; gap: 8px;
}
.nocloud__device .check {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-muted);
}
.nocloud__device .check b { color: var(--accent); font-weight: 700; }
.nocloud__caption { color: var(--ink-faint); text-align: center; }

/* =========================================================================
   QUIÉNES SOMOS
   ========================================================================= */
.about__grid { display: grid; gap: var(--s-12); }
@media (min-width: 880px) { .about__grid { grid-template-columns: 1fr 1fr; align-items: center; gap: var(--s-16); } }
.quote { background: var(--bg-elev); border: 1px solid var(--border); border-left: 2px solid var(--accent); border-radius: var(--r-card); padding: var(--s-8); }
.quote h3 { margin-bottom: var(--s-3); }
.quote p { color: var(--ink-muted); margin-bottom: var(--s-6); }
.quote .sign { color: var(--ink-faint); }

/* =========================================================================
   PLANES
   ========================================================================= */
.plans { display: grid; gap: var(--s-6); }
@media (min-width: 880px) { .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.plan {
  display: flex; flex-direction: column;
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: var(--r-card); padding: var(--s-8);
}
.plan__top { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); margin-bottom: var(--s-2); }
.plan__name { font-weight: 700; font-size: 20px; }
.plan__soon { color: var(--ink-faint); margin-bottom: var(--s-6); }
.plan ul { list-style: none; margin: 0 0 var(--s-8); padding: 0; display: flex; flex-direction: column; gap: var(--s-3); flex: 1; }
.plan li { display: flex; gap: 10px; color: var(--ink-muted); font-size: 15px; }
.plan li::before { content: "·"; color: var(--accent); font-weight: 700; }
.plan .plan__base { color: var(--ink); font-weight: 600; }
.plan--featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 0 48px -12px var(--aurora-1);
}
@media (min-width: 880px) {
  .plan--featured { transform: translateY(-12px); }
}

/* =========================================================================
   REPORTAR (bloque CTA en home)
   ========================================================================= */
.cta-block { text-align: center; }
.cta-block .eyebrow { justify-content: center; }
.cta-block h2 { margin-bottom: var(--s-4); }
.cta-block p { margin-inline: auto; margin-bottom: var(--s-8); color: var(--ink-muted); }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer { border-top: 1px solid var(--border); padding-block: var(--s-16) var(--s-12); }
.footer__grid { display: grid; gap: var(--s-12); }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--s-8); } }
.footer__brand .brand { margin-bottom: var(--s-3); }
.footer__brand p { color: var(--ink-muted); }
.footer__col h4 {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint);
  margin: 0 0 var(--s-4);
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s-3); }
.footer__col a { color: var(--ink-muted); font-size: 15px; }
.footer__col a:hover { color: var(--ink); }
.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4);
  margin-top: var(--s-12); padding-top: var(--s-6);
  border-top: 1px solid var(--border);
  color: var(--ink-faint); font-size: 14px;
}
.footer__bottom .sep { flex: 1; }

/* =========================================================================
   PÁGINA /reportar
   ========================================================================= */
.form-page { min-height: 60vh; padding-top: var(--s-16); }
.form-wrap { max-width: 560px; }
.form-wrap h1 { margin-bottom: var(--s-4); }
.form-wrap .intro { color: var(--ink-muted); margin-bottom: var(--s-12); }

.field { margin-bottom: var(--s-6); }
.field label {
  display: block; margin-bottom: var(--s-2);
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted);
}
.field .req { color: var(--accent); }
.field input, .field textarea {
  width: 100%; min-height: 48px;
  background: var(--bg-elev-2); color: var(--ink);
  border: 1px solid var(--border); border-radius: var(--r-input);
  padding: 12px 14px; font-family: inherit; font-size: 16px; line-height: 1.5;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: var(--accent);
}
.field .helper { margin-top: 6px; color: var(--ink-faint); font-size: 13px; }
.field .error {
  margin-top: 6px; color: var(--accent-bright); font-size: 13px;
  min-height: 1em; display: none;
}
.field .error.show { display: block; }

.form-foot { margin-top: var(--s-8); }
.form-note { margin-top: var(--s-6); color: var(--ink-faint); font-size: 14px; }

/* Spinner del botón */
.btn[data-loading="true"] { pointer-events: none; opacity: 0.7; }
.spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(245, 241, 232, 0.35); border-top-color: var(--ink);
  animation: spin 700ms linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 2s; } }

/* Estado de éxito (reemplaza el form) */
.form-success {
  display: none;
  background: var(--bg-elev); border: 1px solid var(--border);
  border-left: 2px solid var(--accent);
  border-radius: var(--r-card); padding: var(--s-8);
}
.form-success.show { display: block; }
.form-success h2 { margin-bottom: var(--s-3); }
.form-success p { color: var(--ink-muted); }

.form-status { margin-top: var(--s-4); color: var(--accent-bright); font-size: 14px; min-height: 1em; }

/* =========================================================================
   Animación de entrada al scroll
   ========================================================================= */
.reveal {
  opacity: 0; transform: translateY(20px) scale(0.985);
  transition: opacity 520ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Honeypot anti-spam: fuera de pantalla, sin foco, oculto a lectores */
.hp {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}

/* Helpers */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.dots-sep {
  display: flex; justify-content: center; gap: 8px; padding-block: var(--s-8);
}
.dots-sep span { width: 6px; height: 6px; border-radius: 50%; background: var(--border-strong); }

/* =========================================================================
   WORDMARK GIGANTE "Pohua" (estilo Aurion) — solo hero + footer
   Fraunces, alto contraste. Excepción serif deliberada; el resto del sitio
   sigue en Space Grotesk + IBM Plex Mono.
   ========================================================================= */
.wordmark-wrap, .footer-wordmark-wrap {
  position: relative; z-index: 1;
  width: 100%;
  overflow: hidden;            /* recorta cualquier sobrante horizontal */
  text-align: center;
}
.wordmark {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-weight: 500;
  font-variation-settings: "opsz" 144, "wght" 500, "SOFT" 0, "WONK" 0;
  font-size: clamp(56px, 36vw, 520px); /* llena ~88% del ancho, móvil→desktop */
  line-height: 1;              /* single line: alcanza para no recortar glifos */
  letter-spacing: -0.02em;
  white-space: nowrap;
  user-select: none;
}
/* Cada letra: caja con clip; el glifo sube desde abajo al revelarse */
.wm-letter {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  line-height: 1;
}
.wm-inner {
  display: block;
  transform: translateY(110%);
  transition: transform 760ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--i, 0) * 70ms);
  will-change: transform;
}
.wordmark.in .wm-inner { transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .wm-inner { transform: none !important; transition: none; }
}

/* Hero: cream sobre navy. La banda del wordmark ya NO tiene fondo ni bordes
   propios: comparte el fondo continuo del .hero, así no hay línea de corte. */
.wordmark--hero { color: var(--ink); }
.wordmark-wrap {
  margin-top: var(--s-16);
  padding-block: var(--s-12);
}
.wordmark-wrap .wordmark { position: relative; z-index: 1; }
@media (min-width: 768px) {
  .wordmark-wrap { margin-top: var(--s-24); padding-block: var(--s-16); }
}

/* Footer: navy sobre cream (banda Aurion) */
.wordmark--footer { color: #141C2A; }
.footer-wordmark-wrap { margin-bottom: var(--s-12); }

/* =========================================================================
   FOOTER "Aurion" — banda cream (solo home; /reportar conserva su footer)
   ========================================================================= */
.footer--aurion {
  background: #F5F1E8;
  border-top: none;
  color: #141C2A;
  overflow: hidden;
}
.footer--aurion .footer__tag {
  color: #2E3A4D; font-size: 18px; line-height: 1.4;
}
.footer--aurion .footer__nahuatl {
  color: #5A6473; font-size: 14px; margin-top: var(--s-2);
}
.footer--aurion .footer__col h4 { color: #5A6473; }
.footer--aurion .footer__col a { color: #3D4A60; }
.footer--aurion .footer__col a:hover { color: var(--accent); }
.footer--aurion .footer__bottom {
  border-top-color: #E3DCCB;
  color: #5A6473;
}
.footer--aurion .footer__bottom .chip-neutral {
  background: rgba(20, 28, 42, 0.06);
  color: #4A5566;
}
