/* =========================================================================
   yapide · landing de preregistro
   Aligned to DESIGN.md (Cielo palette, Nunito + DM Sans, no gradients,
   no side-stripes, blue-tinted shadows, AA contrast on all text)
   ========================================================================= */

:root {
  --font-display: 'Nunito', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --primary: #2490FD;
  --primary-deep: #1965B1;
  --primary-light: #7CBCFE;
  --accent: #F5A90A;
  --accent-deep: #D4920A;
  --cta: #FF6601;
  --cta-deep: #D95701;

  --surface: #FDFCFA;
  --surface-muted: #EDF5FC;
  --surface-muted-warm: #E0EEF8;

  --texto: #0F2535;
  --texto-soft: #3D5E78;
  --texto-on-dark: #E8F3FB;
  --texto-on-dark-soft: #7A9AB8;

  --border: #C0D8EE;
  --border-dark: #1A3550;

  --noche-dark: #0A1929;
  --noche-dark-raised: #0F2535;

  --success: #2A6E3A;
  --error: #B03030;

  --shadow-rest: 0 2px 8px rgba(36, 76, 122, 0.07);
  --shadow-hover: 0 4px 20px rgba(36, 76, 122, 0.10);
  --shadow-elevated: 0 8px 32px rgba(36, 76, 122, 0.13);
}

/* ── reset ─────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--texto);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; }

/* ── layout primitives ─────────────────────────────────────────────────── */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px) { .container { padding: 0 32px; } }

/* ── buttons ───────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  padding: 14px 28px;
  min-height: 48px;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: background 0.18s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(36, 144, 253, 0.35);
}
.btn-cta { background: var(--cta); color: white; box-shadow: var(--shadow-hover); }
.btn-cta:hover { background: var(--cta-deep); }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-deep); }
.btn-sm { padding: 10px 18px; min-height: 40px; font-size: 14px; }
.btn-lg { padding: 18px 32px; min-height: 56px; font-size: 16px; }
.btn-block { width: 100%; display: flex; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

/* ── typography helpers ────────────────────────────────────────────────── */

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.eyebrow-blue { color: var(--primary-deep); }
.eyebrow-amber { color: var(--accent-deep); }
.eyebrow-on-dark { color: var(--accent); }

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.section-head--left { text-align: left; margin-left: 0; margin-right: 0; max-width: 720px; }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 4.2vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--texto);
  margin-bottom: 12px;
}
.section-sub {
  font-size: 16px;
  color: var(--texto-soft);
  line-height: 1.6;
  text-wrap: balance;
}

/* ── header ────────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 252, 250, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-rest);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}
.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.header-logo { height: 32px; width: auto; }
.header-nav { display: none; gap: 28px; }
.header-nav a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--texto-soft);
  transition: color 0.15s;
}
.header-nav a:hover { color: var(--primary-deep); }
@media (min-width: 768px) { .header-nav { display: flex; } }

/* ── hero ──────────────────────────────────────────────────────────────── */

.hero {
  padding: 48px 0 72px;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) { .hero { padding: 64px 0 96px; } }

.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 992px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 64px; }
}

.pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(245, 169, 10, 0.1);
  border: 1px solid rgba(245, 169, 10, 0.3);
  color: var(--accent-deep);
  border-radius: 9999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
}
.pulse-badge .dot {
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 5.6vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--texto);
  margin: 22px 0 10px;
}
.hero-title em {
  font-style: normal;
  color: var(--primary-deep);
}
.hero-sub {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--texto-soft);
  margin-bottom: 28px;
}

.hero-benefits {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  max-width: 560px;
}
.hero-benefits li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.hero-benefits .check {
  color: var(--primary-deep);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  line-height: 1.4;
  flex-shrink: 0;
}
.hero-benefits p {
  font-size: 16px;
  color: var(--texto-soft);
  line-height: 1.55;
}
.hero-benefits strong {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--texto);
}
.hero-fineprint {
  margin-top: 14px;
  font-size: 13px;
  color: var(--texto-soft);
}

/* hero visual stack */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 360px;
  position: relative;
}
@media (min-width: 992px) { .hero-visual { min-height: 540px; } }

.visual-stack {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4 / 5;
}
.visual-admin,
.visual-store {
  position: absolute;
  border-radius: 18px;
  box-shadow: var(--shadow-elevated);
  background: white;
}
.visual-admin {
  top: 0;
  left: 0;
  width: 78%;
  transform: rotate(-2.5deg);
  border: 6px solid white;
}
.visual-store {
  bottom: 0;
  right: 0;
  width: 62%;
  transform: rotate(3deg);
  border: 6px solid white;
}

/* ── comparativa ───────────────────────────────────────────────────────── */

.comparativa {
  padding: 72px 0;
  background: var(--surface-muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) { .comparativa { padding: 96px 0; } }

.caos-grid {
  display: grid;
  gap: 24px;
  margin-bottom: 56px;
}
@media (min-width: 768px) { .caos-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }

.caos-card {
  background: white;
  padding: 28px;
  border-radius: 20px;
  box-shadow: var(--shadow-hover);
}
.caos-card img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  margin-bottom: 20px;
}
.caos-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--texto);
  margin-bottom: 10px;
}
.caos-card p {
  color: var(--texto-soft);
  line-height: 1.6;
  font-size: 15px;
}

.pain-points {
  display: grid;
  gap: 32px;
}
@media (min-width: 768px) { .pain-points { grid-template-columns: 1fr 1fr; gap: 36px; } }

.pain-points li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.pain-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(245, 169, 10, 0.12);
  color: var(--accent-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pain-points h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--texto);
  margin-bottom: 6px;
  line-height: 1.3;
}
.pain-points p {
  color: var(--texto-soft);
  font-size: 15px;
  line-height: 1.55;
}

/* ── demo ──────────────────────────────────────────────────────────────── */

.demo {
  padding: 72px 0;
  background: white;
}
@media (min-width: 768px) { .demo { padding: 96px 0; } }

.demo-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 768px) { .demo-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }

.demo-card {
  text-align: center;
  padding: 8px;
}
.demo-card img {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 0 auto;
  display: block;
  border-radius: 18px;
  box-shadow: var(--shadow-elevated);
}
.demo-card figcaption {
  margin-top: 24px;
  color: var(--texto-soft);
  font-size: 15px;
  line-height: 1.55;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}
.demo-card figcaption strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--texto);
  font-size: 17px;
  margin-bottom: 4px;
}

/* ── giros (interactivo) ───────────────────────────────────────────────── */

.giros {
  padding: 72px 0;
  background: var(--noche-dark);
  color: var(--texto-on-dark);
}
@media (min-width: 768px) { .giros { padding: 96px 0; } }

.giros .section-head h2 { color: var(--texto-on-dark); }
.giros .section-sub { color: var(--texto-on-dark-soft); }

.giros-layout {
  display: grid;
  gap: 40px;
  align-items: start;
}
@media (min-width: 992px) {
  .giros-layout { grid-template-columns: 1fr 1fr; gap: 56px; }
  .giros-left { position: sticky; top: 96px; }
}

/* hero photo with overlay */
.giro-hero {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  aspect-ratio: 5 / 4;
  box-shadow: var(--shadow-elevated);
  margin: 28px 0;
}
.giro-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.giro-hero-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px 28px 26px;
  background: rgba(10, 25, 41, 0.85);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.giro-hero-label {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.giro-hero-overlay p {
  font-size: 14px;
  color: var(--texto-on-dark);
  line-height: 1.55;
  max-width: 460px;
}

/* 6-tab selector */
.giro-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 14px;
}
@media (min-width: 640px) {
  .giro-tabs { grid-template-columns: repeat(6, 1fr); gap: 12px 10px; }
}
.giro-tab {
  background: transparent;
  border: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: opacity 0.18s;
}
.giro-tab:hover { opacity: 1; }
.giro-tab:not(.is-active) { opacity: 0.65; }
.giro-tab-thumb {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.18s, transform 0.18s;
}
.giro-tab.is-active .giro-tab-thumb {
  box-shadow: 0 0 0 2px var(--noche-dark), 0 0 0 4px var(--accent);
  transform: translateY(-1px);
}
.giro-tab-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.giro-tab-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  color: var(--texto-on-dark-soft);
  text-align: center;
  transition: color 0.18s;
}
.giro-tab.is-active .giro-tab-label { color: var(--accent); }
.giro-tab:focus-visible { outline: none; }
.giro-tab:focus-visible .giro-tab-thumb {
  box-shadow: 0 0 0 2px var(--noche-dark), 0 0 0 4px var(--accent);
}

/* right column: tag + features */
.giros-right-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.incluido-pill {
  background: rgba(42, 110, 58, 0.22);
  color: #6FD089;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 9999px;
}
.hecho-para {
  font-size: 11px;
  color: var(--texto-on-dark-soft);
}
.hecho-para span {
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
}

.giro-features {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.giro-feature {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feature-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.giro-feature h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--texto-on-dark);
  line-height: 1.2;
}
.giro-feature p {
  font-size: 14px;
  color: var(--texto-on-dark-soft);
  line-height: 1.6;
  max-width: 560px;
}

/* feature captures: single or two side-by-side */
.feature-captures {
  display: grid;
  gap: 14px;
  margin-top: 6px;
}
.feature-captures--multi {
  grid-template-columns: 1fr 1fr;
}
.feature-capture {
  background: var(--noche-dark-raised);
  border: 1px solid var(--border-dark);
  border-radius: 18px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.feature-capture img {
  width: 100%;
  max-width: 260px;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-elevated);
  display: block;
}
.feature-captures:not(.feature-captures--multi) .feature-capture img {
  max-width: 300px;
}
.feature-capture figcaption {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  color: var(--texto-on-dark-soft);
  text-align: center;
}

/* ── pasos ─────────────────────────────────────────────────────────────── */

.pasos {
  padding: 72px 0;
  background: white;
}
@media (min-width: 768px) { .pasos { padding: 96px 0; } }

.pasos-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .pasos-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .pasos-grid { grid-template-columns: repeat(4, 1fr); } }

.paso-card {
  position: relative;
  background: white;
  padding: 28px 24px;
  border-radius: 20px;
  box-shadow: var(--shadow-rest);
  border: 1px solid var(--border);
}
.paso-num {
  position: absolute;
  top: 8px;
  right: 18px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 56px;
  color: rgba(245, 169, 10, 0.28);
  line-height: 1;
}
.paso-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(245, 169, 10, 0.12);
  color: var(--accent-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.paso-card h4 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  color: var(--texto);
  margin-bottom: 8px;
}
.paso-card p {
  font-size: 14px;
  color: var(--texto-soft);
  line-height: 1.55;
}

/* ── planes ────────────────────────────────────────────────────────────── */

.planes {
  padding: 72px 0;
  background: var(--surface-muted);
  border-top: 1px solid var(--border);
}
@media (min-width: 768px) { .planes { padding: 96px 0; } }

.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: white;
  padding: 5px;
  border-radius: 9999px;
  margin-top: 24px;
  box-shadow: var(--shadow-rest);
  border: 1px solid var(--border);
}
.billing-btn {
  background: transparent;
  border: none;
  padding: 10px 18px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 13px;
  color: var(--texto-soft);
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.18s, color 0.18s;
}
.billing-btn:hover { color: var(--texto); }
.billing-btn.is-active {
  background: var(--accent);
  color: var(--texto);
}
.save-pill {
  background: rgba(255, 102, 1, 0.12);
  color: var(--cta-deep);
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 9999px;
  font-weight: 700;
}

.planes-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 768px) { .planes-grid { grid-template-columns: repeat(3, 1fr); } }

.plan-card {
  position: relative;
  background: white;
  padding: 32px 28px;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-rest);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.plan-card--featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-elevated);
}
@media (min-width: 768px) {
  .plan-card--featured { transform: translateY(-12px); }
}
.featured-pill {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent);
  color: var(--texto);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 10px;
  padding: 5px 12px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.plan-card h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--texto);
}
.plan-desc {
  font-size: 13px;
  color: var(--texto-soft);
  line-height: 1.55;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.plan-price-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 40px;
  color: var(--texto);
  line-height: 1;
}
.plan-price-unit {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  color: var(--texto-soft);
}
.plan-features {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.plan-features-label {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--texto-soft);
}
.plan-features-label--featured { color: var(--accent-deep); }
.plan-features ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--texto-soft);
  line-height: 1.5;
}
.plan-features .ok {
  color: var(--success);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
  line-height: 1.3;
}

/* ── faq ───────────────────────────────────────────────────────────────── */

.faq {
  padding: 72px 0;
  background: white;
}
@media (min-width: 768px) { .faq { padding: 96px 0; } }

.faq-container { max-width: 820px; }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--surface-muted);
  border-radius: 14px;
  overflow: hidden;
  transition: background 0.15s;
}
.faq-item summary {
  cursor: pointer;
  padding: 20px 24px 20px 24px;
  padding-right: 56px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--texto);
  list-style: none;
  position: relative;
  user-select: none;
}
.faq-item summary::-webkit-details-marker,
.faq-item summary::marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-deep);
  transition: transform 0.2s;
  width: 24px;
  text-align: center;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item[open] { background: var(--surface-muted-warm); }
.faq-item p {
  padding: 0 24px 22px;
  color: var(--texto-soft);
  line-height: 1.6;
  font-size: 15px;
}

/* ── preregistro / form ────────────────────────────────────────────────── */

.preregistro {
  padding: 72px 0;
  background: var(--primary-deep);
  color: var(--texto-on-dark);
}
@media (min-width: 768px) { .preregistro { padding: 96px 0; } }

.preregistro-inner {
  display: grid;
  gap: 40px;
  align-items: start;
}
@media (min-width: 992px) {
  .preregistro-inner { grid-template-columns: 1.05fr 1fr; gap: 56px; }
}

.preregistro-copy h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: white;
  margin-bottom: 16px;
}
.preregistro-copy > p {
  color: rgba(232, 243, 251, 0.86);
  line-height: 1.6;
  font-size: 16px;
  margin-bottom: 28px;
}
.preregistro-perks {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.preregistro-perks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--texto-on-dark);
  font-size: 15px;
  line-height: 1.5;
}
.preregistro-perks .check {
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 16px;
  flex-shrink: 0;
}

.preregistro-form {
  background: white;
  padding: 28px;
  border-radius: 20px;
  box-shadow: var(--shadow-elevated);
  color: var(--texto);
  position: relative;
}
@media (min-width: 768px) { .preregistro-form { padding: 32px; } }

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.form-row label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--texto);
}
.form-row input,
.form-row select {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--texto);
  padding: 12px 16px;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: white;
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
}
.form-row input:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(36, 144, 253, 0.18);
}
.form-row select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%231965B1' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-position: right 16px center;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.form-row--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-row--split > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-hint {
  font-size: 12px;
  color: var(--texto-soft);
}
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  visibility: hidden !important;
}
.form-fineprint {
  font-size: 12px;
  color: var(--texto-soft);
  margin-top: 14px;
  text-align: center;
  line-height: 1.5;
}

.preregistro-thanks {
  background: white;
  padding: 48px 32px;
  border-radius: 20px;
  box-shadow: var(--shadow-elevated);
  text-align: center;
  color: var(--texto);
}
.thanks-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(42, 110, 58, 0.12);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.preregistro-thanks h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(22px, 3vw, 28px);
  color: var(--texto);
  margin-bottom: 14px;
}
.preregistro-thanks p {
  color: var(--texto-soft);
  line-height: 1.6;
  max-width: 440px;
  margin: 0 auto;
  font-size: 15px;
}

/* ── footer ────────────────────────────────────────────────────────────── */

.site-footer {
  background: var(--noche-dark);
  color: var(--texto-on-dark);
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  margin-bottom: 32px;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.footer-brand p {
  color: var(--texto-on-dark-soft);
  font-size: 13px;
  line-height: 1.5;
  max-width: 320px;
}
.footer-logo {
  height: 32px;
  width: auto;
  margin-bottom: 16px;
}
.site-footer h5 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--texto-on-dark-soft);
  margin-bottom: 14px;
}
.site-footer ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.site-footer a {
  color: var(--texto-on-dark);
  font-size: 14px;
  transition: color 0.15s;
}
.site-footer a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-dark);
}
.footer-bottom small {
  color: var(--texto-on-dark-soft);
  font-size: 12px;
}

/* ── motion respect ────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
