/* L2E, portada v2 (2026-09-06): la oferta y la prueba en la misma pantalla. Noche con un
   resplandor cobalto, tres teléfonos reales, ~150 palabras en toda la página. Nada decora: cada
   color señala algo (cobalto = acción, lila = el acento sobre noche, ácido = Wizli). */

:root {
  --night: #0e0f12;
  --night-2: #16181e;
  --snow: #f4f4f1;
  --snow-2: #b9bcc6;
  --paper: #f4f4f1;
  --paper-2: #e9e9e4;
  --ink: #0e0f12;
  --ink-2: #3a3c44;
  --mute: #5b5e66;
  --line: rgba(255, 255, 255, .12);
  --cobalt: #1e3dff;
  --lila: #9aa0ff;
  --acid: #e6ff63;
  --glow: rgba(30, 61, 255, .55);
  --sans: "Geist", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", "SFMono-Regular", Consolas, monospace;
  --pad: clamp(18px, 4vw, 56px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--snow); font-family: var(--sans); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
h1, h2 { margin: 0; font-weight: 800; letter-spacing: -.035em; line-height: 1; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--lila); outline-offset: 4px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--snow); color: var(--night); padding: 8px 12px; }
.skip:focus { left: 16px; z-index: 10; }

.kicker { font-family: var(--mono); font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--lila); }
.kicker.cobalt { color: var(--cobalt); }
.kicker.acid { color: var(--acid); }
.lila { color: var(--lila); }

/* Botones: una sola forma, tres pieles */
.button {
  display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 22px;
  border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, background-color .2s ease, color .2s ease;
}
.button:active { transform: translateY(1px); }
.button.solid { background: var(--snow); color: var(--night); }
.button.solid:hover { background: #fff; }
.button.ghost { border: 1px solid rgba(255, 255, 255, .35); color: var(--snow); }
.button.ghost:hover { border-color: #fff; }
.paper .button.solid { background: var(--night); color: var(--snow); }
.paper .button.solid:hover { background: #24262e; }
.button.acid-btn { background: var(--acid); color: #141608; }
.button.white { background: #fff; color: var(--cobalt); }
.button.white:hover { background: #eef1ff; }

/* Portada */
.hero {
  position: relative; overflow: hidden;
  padding: 18px var(--pad) 40px;
  background: radial-gradient(70% 70% at 100% 0%, var(--glow) 0%, rgba(14, 15, 18, 0) 60%), var(--night);
}
.top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; max-width: 1280px; margin: 0 auto; }
.wordmark { font-weight: 800; letter-spacing: -.02em; font-size: 20px; text-decoration: none; display: inline-flex; align-items: baseline; gap: 8px; }
.wordmark span { font-family: var(--mono); font-weight: 500; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--snow-2); }
.top nav { display: flex; gap: 28px; justify-self: center; }
.top nav a { text-decoration: none; color: var(--snow-2); font-size: 15px; }
.top nav a:hover { color: #fff; }
.top > .button { justify-self: end; height: 42px; padding: 0 18px; }

.hero-grid {
  max-width: 1280px; margin: 0 auto; padding-top: clamp(40px, 7vw, 96px);
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero-copy { display: grid; gap: 20px; max-width: 620px; }
h1 { font-size: clamp(34px, 5.2vw, 66px); }
.hero-line { font-size: clamp(16px, 1.5vw, 20px); color: var(--snow-2); max-width: 34ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }

.hero-proof { display: grid; gap: 22px; }
.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1.2vw, 14px); align-items: end; }
.phone {
  display: block; border-radius: clamp(12px, 1.4vw, 18px); overflow: hidden; background: #0c0d10;
  border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 24px 50px rgba(0, 0, 0, .45);
  transition: transform .25s ease;
}
.phone:hover { transform: translateY(-4px); }
.phone:nth-child(1), .phone:nth-child(3) { transform: translateY(18px); }
.phone:nth-child(1):hover, .phone:nth-child(3):hover { transform: translateY(14px); }
.phone:nth-child(2) { transform: translateY(-8px); }
.phone:nth-child(2):hover { transform: translateY(-12px); }
.phone img { width: 100%; height: auto; }
.names { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; text-align: center; font-size: 12px; color: var(--snow-2); }
.names b { display: block; color: #fff; font-size: 13px; }

/* Productos: tres bloques, uno al lado del otro en escritorio, apilados en móvil */
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product { display: grid; grid-template-rows: auto 1fr; gap: 26px; padding: clamp(32px, 4vw, 56px) var(--pad) 0; }
.product.paper { background: var(--paper); color: var(--ink); }
.product.night { background: var(--night-2); color: var(--snow); }
.product-copy { display: grid; gap: 10px; }
.product h2 { font-size: clamp(26px, 2.6vw, 34px); margin-top: 4px; }
.product p:not(.kicker) { font-size: 16px; }
.product.paper p:not(.kicker) { color: var(--ink-2); }
.product.night p:not(.kicker) { color: var(--snow-2); }
.product .button { justify-self: start; margin-top: 8px; }
.shot { margin: 0; align-self: end; width: min(78%, 320px); margin-inline: auto; border-radius: 22px 22px 0 0; overflow: hidden; border: 1px solid rgba(0, 0, 0, .08); border-bottom: 0; background: #0c0d10; box-shadow: 0 -10px 40px rgba(0, 0, 0, .18); }
.product.night .shot { border-color: rgba(255, 255, 255, .1); }
.shot img { width: 100%; height: auto; }

/* Cómo trabajamos */
.how { background: var(--night); padding: clamp(56px, 8vw, 110px) var(--pad); }
.how-inner { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.how h2 { font-size: clamp(30px, 4vw, 48px); }
.how-line { color: var(--snow-2); font-size: 17px; max-width: 46ch; }
.steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); font-size: 18px; }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps span { font-weight: 800; font-size: 26px; color: var(--lila); letter-spacing: -.03em; }

/* Cierre */
.close { background: var(--cobalt); color: #fff; padding: clamp(56px, 8vw, 110px) var(--pad); }
.close-inner { max-width: 760px; margin: 0 auto; display: grid; gap: 22px; justify-items: start; }
.close h2 { font-size: clamp(30px, 4.4vw, 54px); }
.close-mail { color: #c9d2ff; font-size: 15px; }
.close-mail a { color: #fff; }

/* Pie */
.foot { display: flex; gap: 18px 28px; flex-wrap: wrap; justify-content: space-between; padding: 26px var(--pad) 40px; font-size: 13px; color: var(--snow-2); background: var(--night); }
.foot a { color: var(--snow-2); }
.wordmark-small { font-weight: 700; color: var(--snow); }

/* Una sola coreografía: la portada entra en orden. Nada más se mueve. */
.reveal { opacity: 0; transform: translateY(12px); animation: rise .7s cubic-bezier(.2, .7, .2, 1) forwards; }
.hero-copy .reveal:nth-child(1) { animation-delay: .05s; }
.hero-copy .reveal:nth-child(2) { animation-delay: .14s; }
.hero-copy .reveal:nth-child(3) { animation-delay: .22s; }
.hero-copy .reveal:nth-child(4) { animation-delay: .3s; }
.hero-proof.reveal { animation-delay: .28s; animation-duration: .9s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { animation: none; opacity: 1; transform: none; }
  .phone, .button { transition: none; }
}

/* Escritorio estrecho y tabletas */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 36px; }
  .hero-copy { max-width: none; }
  .products { grid-template-columns: 1fr; }
  .product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: none; align-items: end; padding-top: clamp(32px, 4vw, 48px); }
  .shot { width: min(70%, 300px); }
}

/* Celular: la portada completa en la primera pantalla */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero { padding: 14px 16px 26px; }
  .top { grid-template-columns: 1fr auto; }
  .top nav { display: none; }
  /* Orden de la primera pantalla: kicker, titular, línea, teléfonos, botones. `display: contents`
     deja que los hijos de .hero-copy se ordenen junto con la prueba dentro de la misma rejilla. */
  .hero-grid { gap: 14px; padding-top: 22px; }
  .hero-copy { display: contents; }
  .hero-copy .kicker { order: 1; }
  .hero-copy h1 { order: 2; }
  .hero-copy .hero-line { order: 3; }
  .hero-proof { order: 4; margin-top: 8px; }
  .hero-copy .hero-actions { order: 5; margin-top: 6px; }
  h1 { font-size: clamp(28px, 8.4vw, 34px); }
  .hero-line { font-size: 14px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero-actions .button { height: 46px; padding: 0 10px; font-size: 13.5px; }
  .hero-proof { gap: 14px; }
  .phones { gap: 8px; }
  .phone:nth-child(1), .phone:nth-child(3) { transform: translateY(10px); }
  .phone:nth-child(2) { transform: translateY(-4px); }
  .names { font-size: 11px; margin-top: 10px; }
  .product { grid-template-columns: 1fr; grid-template-rows: auto 1fr; padding: 28px 16px 0; gap: 18px; }
  .shot { width: min(72%, 260px); }
  .how, .close { padding-left: 16px; padding-right: 16px; }
  .steps li { font-size: 16px; grid-template-columns: 36px 1fr; }
  .foot { padding-left: 16px; padding-right: 16px; }
}
