:root {
  --bg: #FFFFFF;
  --surface: #F6F6F8;
  --navy: #18132E;
  --navy-hover: #2A2350;
  --ink-soft: #4A4A55;
  --red: #E30613;
  --teal: #66CCCC;
  --blue: #3399CC;
  --lime: #CCFF99;
  --line: #E2E2E8;
  --font: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--navy);
  background: #F9F1EE;
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* Barra de anuncio */
.topbar {
  background: var(--navy);
  color: #fff;
  padding: 10px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  flex-wrap: wrap;
}
.topbar .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex-shrink: 0; }
.topbar .dot.teal { background: var(--teal); }

/* Encabezado */
.wrap { max-width: 1320px; margin: 0 auto; padding-inline: clamp(20px, 4vw, 48px); }
.site-header {
  padding-block: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-header .logo { height: clamp(88px, 9vw, 128px); width: auto; }
.btn-pill {
  text-decoration: none;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 0 22px;
  min-height: 46px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
}
.btn-pill:hover { color: #fff; background: var(--navy-hover); }

/* Hero */
.hero {
  padding-top: clamp(8px, 2vw, 24px);
  padding-bottom: 72px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
  gap: clamp(32px, 4vw, 56px);
  align-items: stretch;
}
.hero-copy { display: flex; flex-direction: column; gap: 26px; justify-content: center; }
.ea-badge { height: 44px; width: auto; align-self: flex-start; }
.off { color: var(--red); font-weight: 700; white-space: nowrap; }

.badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border-radius: 12px;
  padding: 6px 14px 6px 6px;
  font-size: 14px;
  font-weight: 500;
}
.badge .tag {
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  border-radius: 7px;
}

.display {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0;
  text-transform: uppercase;
}
.hero h1 { font-size: clamp(44px, 5.6vw, 84px); }
.hero h1 .hot { color: var(--red); }
.lead {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
  max-width: 540px;
}

/* Tarjeta / formulario */
.card {
  background: #fff;
  border: 1px solid #EAEAF0;
  border-radius: 20px;
  padding: clamp(22px, 3vw, 32px);
  box-shadow: 0 24px 48px -28px rgba(24, 19, 46, 0.22);
  max-width: 560px;
}
.form { display: flex; flex-direction: column; gap: 16px; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; }
.field input {
  font-family: inherit;
  font-size: 16px;
  height: 52px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--navy);
  width: 100%;
}
.field input::placeholder { color: #8A8A94; }
.field input:focus { outline: 3px solid rgba(51, 153, 204, 0.35); outline-offset: 0; border-color: var(--blue); background: #fff; }
.field input[aria-invalid="true"] { border-color: #B00020; }
.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
  cursor: pointer;
}
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--navy); flex-shrink: 0; }
.error {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #B00020;
  background: #FFECEC;
  padding: 10px 14px;
  border-radius: 10px;
}
.error[hidden] { display: none; }
.btn-primary {
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  background: var(--navy);
  color: #fff;
  border: 0;
  border-radius: 14px;
  height: 56px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}
.btn-primary:hover { background: var(--navy-hover); }
.btn-primary[disabled] { opacity: 0.7; cursor: progress; }
.btn-outline {
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  border-radius: 14px;
  min-height: 48px;
  padding: 0 24px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
}
.btn-outline:hover { background: var(--navy); color: #fff; }
.closed h2 { font-size: 30px; margin-bottom: 8px; }
.closed p { margin: 0; line-height: 1.6; color: var(--ink-soft); }

/* Columna visual */
.visual { display: flex; flex-direction: column; gap: 16px; }
.photo {
  position: relative;
  flex-grow: 1;
  min-height: 560px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--teal);
  box-shadow: 0 24px 48px -28px rgba(24, 19, 46, 0.28);
  isolation: isolate;
}
.photo .ring {
  position: absolute;
  width: 84%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--lime);
  left: 8%;
  top: 10%;
  z-index: 0;
}
.photo .ring::after {
  content: "";
  position: absolute;
  inset: -7%;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.7);
}
.photo .kid {
  position: absolute;
  inset: auto auto 0 50%;
  transform: translateX(-50%);
  height: 94%;
  width: auto;
  max-width: none;
  object-fit: contain;
  border-radius: 0;
  z-index: 2;
}
.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.vtext {
  position: absolute;
  right: 4px;
  top: 0;
  bottom: 0;
  writing-mode: vertical-rl;
  font-family: var(--font);
  font-weight: 800;
  font-size: 96px;
  letter-spacing: -0.03em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.55);
  z-index: 1;
  text-transform: uppercase;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}
.chip {
  z-index: 3;
  position: absolute;
  left: 20px;
  top: 20px;
  background: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 8px 20px -10px rgba(24, 19, 46, 0.35);
}
.chip svg { color: var(--red); }

/* Cuenta regresiva */
.countdown {
  background: var(--navy);
  color: #fff;
  border-radius: 20px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.countdown .head { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.countdown .kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); }
.countdown .when { font-size: 12px; color: rgba(255, 255, 255, 0.72); }
.countdown .units { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.countdown .unit { background: rgba(255, 255, 255, 0.08); border-radius: 12px; padding: 10px 6px; text-align: center; }
.countdown .num { font-weight: 700; font-size: 32px; line-height: 1.15; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.countdown .lbl { font-size: 11px; font-weight: 500; color: rgba(255, 255, 255, 0.72); text-transform: uppercase; letter-spacing: 0.08em; }

/* Gracias */
.check {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
}
.thanks h1 { font-size: clamp(42px, 5vw, 76px); }
.mail-row { display: flex; align-items: center; gap: 14px; }
.mail-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mail-row small { display: block; font-size: 13px; color: var(--ink-soft); }
.mail-row strong { display: block; font-size: 17px; overflow-wrap: anywhere; }
.tips { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 14px; line-height: 1.5; color: #2E2A40; }
.tips li { display: flex; gap: 10px; align-items: flex-start; }
.tips svg { flex-shrink: 0; margin-top: 1px; }
.photo-banner {
  z-index: 3;
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background: var(--navy);
  color: #fff;
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.photo-banner .kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); }
.photo-banner .date { font-weight: 700; font-size: 24px; line-height: 1; letter-spacing: -0.02em; text-transform: uppercase; }

/* Footer */
.site-footer { border-top: 1px solid rgba(24, 19, 46, 0.1); }
.site-footer .wrap {
  padding-block: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-soft);
}
.site-footer nav { display: flex; gap: 20px; }

@media (max-width: 760px) {
  .topbar { font-size: 12px; padding: 8px 16px; gap: 8px; }
  .site-header { padding-block: 12px; }
  .site-header .logo { height: 72px; }
  .site-header .btn-pill { display: none; }

  /* En celular: sin foto; texto y formulario, contador al final */
  .hero { gap: 20px; padding-bottom: 32px; padding-top: 0; }
  .visual { display: contents; }
  .photo { display: none; }
  .hero-copy { order: 1; gap: 18px; }
  .countdown { order: 2; padding: 14px 16px; border-radius: 16px; gap: 8px; }
  .countdown .when { display: none; }
  .countdown .num { font-size: 24px; }
  .countdown .unit { padding: 8px 4px; border-radius: 10px; }

  .ea-badge { height: 36px; }
  .hero h1 { font-size: 40px; }
  .lead { font-size: 15px; line-height: 1.55; }
  .card { padding: 20px; border-radius: 18px; }
  .form { gap: 12px; }
  .row { gap: 12px; }
  .field input { height: 48px; }
  .btn-primary { height: 52px; }

  .thanks .visual { display: none; }
  .thanks h1 { font-size: 38px; }
  .check { width: 56px; height: 56px; border-radius: 14px; }

  .site-footer .wrap { padding-block: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}


/* ===== Landing estilo banner (Early Access) ===== */
body.ea { background: #FCFFF5; }
.ea { --ea-red: #CF2E26; --ea-grey: #686A6C; }
.ea-wrap {
  max-width: 1320px; margin: 0 auto;
  padding: clamp(28px, 4vw, 56px) clamp(20px, 4vw, 48px) 72px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 56px); align-items: stretch;
}
.ea-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 22px; max-width: 560px; }
.ea-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.pill { font-size: 14px; font-weight: 700; letter-spacing: 0.06em; padding: 8px 16px; border-radius: 999px; line-height: 1; }
.pill-y { background: #F8DDA0; color: var(--navy); }
.pill-o { border: 1.5px solid var(--navy); color: var(--navy); }
.ea-lockup { width: min(100%, 540px); height: auto; }
.ea-sub { margin: 4px 0 0; font-size: clamp(18px, 1.7vw, 23px); font-weight: 600; color: var(--ea-grey); letter-spacing: -0.01em; }
.ea-offer { margin: -6px 0 0; display: flex; align-items: center; gap: 14px; font-weight: 700; }
.ea-offer .hasta {
  writing-mode: vertical-rl; transform: rotate(180deg);
  background: var(--navy); color: #fff; font-size: 15px; font-weight: 700;
  padding: 10px 6px; border-radius: 999px; line-height: 1;
}
.ea-offer .big { color: var(--ea-red); font-size: clamp(52px, 5.4vw, 76px); line-height: 0.95; letter-spacing: -0.035em; }
.ea-plus { margin: -8px 0 0; font-size: 15px; color: var(--ea-grey); }
.ea-plus strong { color: var(--navy); }
.ea-card {
  width: 100%; background: #fff; border: 1px solid #ECEEE4; border-radius: 22px;
  padding: clamp(18px, 2.4vw, 24px); box-shadow: 0 24px 48px -32px rgba(23, 19, 44, 0.25);
}
.ea-btn {
  font-family: inherit; width: 100%; height: 60px; border: 0; border-radius: 999px;
  background: #17132C; color: #fff; font-size: 19px; font-weight: 700; letter-spacing: 0.01em;
  display: flex; align-items: center; justify-content: center; gap: 12px; cursor: pointer;
}
.ea-btn:hover { background: #2A2350; }
.ea-btn[disabled] { opacity: .7; cursor: progress; }
.closed h2 { margin: 0 0 8px; font-size: 24px; }
.ea-note { margin: 0; font-size: 13px; line-height: 1.6; color: var(--navy); }
.ea-note span { color: var(--ea-grey); }
.ea-note a { color: var(--ea-grey); }
.ea-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.ea-photo { width: min(100%, 560px); height: auto; position: relative; z-index: 1; }
.clover { position: absolute; z-index: 0; }
.clover-y { width: 14%; max-width: 90px; top: -2%; left: 2%; }
.clover-g { width: 26%; max-width: 160px; bottom: -6%; right: -2%; z-index: 2; }

@media (max-width: 860px) {
  .ea-wrap { grid-template-columns: 1fr; padding-top: 24px; padding-bottom: 32px; gap: 20px; }
  .ea-wrap .visual { display: block; }
  .ea-wrap .photo { display: none; }
  .ea-copy { gap: 16px; max-width: none; }
  .ea-lockup { width: 100%; max-width: 420px; }
  .ea-offer .big { font-size: 52px; }
  .ea-sub { font-size: 15px; letter-spacing: -0.015em; }
  .ea-offer .hasta { font-size: 11px; padding: 8px 5px; }
  .pill { font-size: 12px; padding: 7px 12px; }
  .ea-btn { height: 54px; font-size: 17px; }
}
.thanks h1, .thanks .check { }
body.ea .thanks h1 { color: var(--navy); }
body.ea .btn-outline { border-radius: 999px; }
