/* Colmena · landing de pauta
   Colores, tipografías y botones tomados del globals.css de su web (05/10/2026). */

/* Las letras van con la landing (09/10), no desde Google: su hoja de estilos frenaba la primera
   pintura con dos conexiones nuevas, y el cambio de letra corría el video hacia abajo con 4G
   lento. Sólo el alfabeto latino (llega a la ñ y las tildes) y los pesos que se usan */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url(assets/fuentes/poppins-300.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fuentes/poppins-400.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fuentes/poppins-500.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fuentes/poppins-600.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fuentes/ibm-plex-mono-500.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #161616;
  --neon: #00ff97;
  --teal: #2ca3a0;
  --forest: #17553d;
  --mist: #f3f4f6;
  --white: #ffffff;
  --ink-60: rgba(22, 22, 22, 0.62);
  --line: rgba(22, 22, 22, 0.12);
  --maxw: 1180px;
  --r: 18px;
  --sans: "Poppins", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

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

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
p { margin: 0; }
img { display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--neon);
  font-weight: 500;
}
.eyebrow-teal { color: var(--teal); }
.eyebrow-oscuro { color: var(--forest); }

/* Botones: píldora, verde neón con texto en tinta */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 16px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-neon { background: var(--neon); color: var(--ink); }
.btn-neon:hover { background: #1cffa4; box-shadow: 0 8px 24px rgba(0, 255, 151, 0.28); }

/* Encabezado: sólo la marca, sin menú */
.top { background: var(--white); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; height: 64px; }
.marca { display: inline-flex; align-items: center; gap: 8px; }
.marca-col { font-weight: 600; font-size: 18px; letter-spacing: 0.02em; }
.marca-by { font-size: 11px; color: var(--ink-60); margin-left: 2px; }
.marca-int { height: 15px; width: auto; }

/* La primera pantalla, con el fondo de su web */
.hero {
  position: relative;
  color: var(--white);
  background: radial-gradient(120% 120% at 80% 0%, #1c6349 0%, var(--forest) 42%, #0f3829 100%);
}
/* Sólo el fondo se recorta: un contenedor recortado con el formulario adentro se desplaza solo
   cuando la página salta al formulario, y nadie lo puede volver a mover */
.hero-fondo { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-fondo::before, .hero-fondo::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
}
.hero-fondo::before {
  width: 420px; height: 420px; top: -120px; right: 4%;
  background: radial-gradient(circle, rgba(0, 255, 151, 0.22), transparent 70%);
}
.hero-fondo::after {
  width: 360px; height: 360px; bottom: -140px; left: -60px;
  background: radial-gradient(circle, rgba(44, 163, 160, 0.28), transparent 70%);
}
.hex-field { position: absolute; inset: 0; }
.hero-in { position: relative; z-index: 1; padding: 40px 20px 48px; display: grid; gap: 28px; }

.titulo { max-width: 760px; }
.hero h1 { font-size: clamp(34px, 5.2vw, 58px); font-weight: 600; margin: 14px 0 14px; }
.hero h1 em { font-style: normal; color: var(--neon); }
.lead { font-size: 17px; font-weight: 300; color: rgba(255, 255, 255, 0.82); max-width: 640px; }

.video { margin: 0; }
.video video {
  display: block;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  object-fit: cover;
  border-radius: var(--r);
  background: #0f3829;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

/* Entre el video y el formulario: por qué dejar los datos */
.valor h2 { font-size: 22px; font-weight: 600; line-height: 1.25; }
.beneficios { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; }
.beneficios li { position: relative; padding-left: 34px; color: rgba(255, 255, 255, 0.88); font-size: 16px; line-height: 1.5; }
.beneficios li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--neon) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23161616' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* El formulario */
.tarjeta {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--r);
  padding: 28px 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}
.tarjeta h2 { font-size: 24px; font-weight: 600; margin-bottom: 18px; }
.campo { display: block; margin-bottom: 14px; }
.campo span { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.campo input {
  width: 100%;
  font: inherit;
  font-size: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--mist);
  color: var(--ink);
}
.campo input:focus { outline: 2px solid var(--teal); outline-offset: 1px; background: var(--white); }
.campo input[aria-invalid="true"] { border-color: #c0392b; background: #fdf1f0; }
.campo .error { display: block; font-size: 13px; color: #c0392b; margin-top: 4px; font-weight: 400; }
.tarjeta .btn { width: 100%; margin-top: 6px; }
.nota { font-size: 13px; color: var(--ink-60); text-align: center; margin-top: 12px; text-wrap: balance; }

.gracias h2 { margin: 8px 0 10px; }
.gracias h2:focus { outline: none; }
.gracias p { color: var(--ink-60); margin-bottom: 20px; }

/* Las secciones de abajo: blanco y gris alternados */
.como { background: var(--white); padding: 64px 0; }
.dudas { background: var(--mist); padding: 64px 0; }
.como h2, .dudas h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 600;
  margin: 12px 0 32px;
  max-width: 680px;
}

/* Cómo funciona */
.pasos { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.pasos li { background: var(--mist); border-radius: var(--r); padding: 24px; }
.pasos .num { font-family: var(--mono); font-size: 13px; color: var(--teal); font-weight: 500; }
.pasos h3 { font-size: 20px; font-weight: 600; margin: 8px 0 8px; }
.pasos p { color: var(--ink-60); }

/* Las dudas */
.dudas details { max-width: 760px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; margin-bottom: 12px; }
.dudas summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  font-weight: 600;
  font-size: 17px;
}
.dudas summary::-webkit-details-marker { display: none; }
.dudas summary::after { content: "+"; font-family: var(--mono); font-size: 22px; line-height: 1; color: var(--teal); }
.dudas details[open] summary::after { content: "−"; }
.dudas details p { color: var(--ink-60); padding-bottom: 18px; }

/* El concepto y el último pedido */
.concepto { background: var(--forest); color: var(--white); padding: 64px 0; }
.concepto-in { max-width: 760px; text-align: center; }
.concepto h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 600; margin-bottom: 28px; }

.pie { background: #0f3829; color: rgba(255, 255, 255, 0.7); font-size: 14px; }
.pie-in { display: flex; align-items: center; height: 64px; }
.pie .marca-col { font-size: 15px; color: var(--white); }
.pie .marca-by { color: rgba(255, 255, 255, 0.6); }
.pie .marca-int { height: 13px; }

/* Celular primero: título, video, por qué dejar los datos y el formulario, uno abajo del otro.
   En la computadora: título, por qué y formulario a la izquierda, el video a la derecha */
@media (min-width: 900px) {
  .hero-in {
    padding: 36px 20px 64px;
    grid-template-columns: minmax(0, 1fr) 320px;
    grid-template-areas:
      "titulo video"
      "valor video"
      "tarjeta video";
    column-gap: 56px;
    row-gap: 18px;
    align-items: start;
  }
  .titulo { grid-area: titulo; }
  .video { grid-area: video; }
  .valor { grid-area: valor; }
  .beneficios { gap: 8px; }
  .tarjeta { grid-area: tarjeta; max-width: 600px; padding: 28px 30px; }
  .hero h1 { font-size: clamp(38px, 3.4vw, 48px); margin: 10px 0 10px; }
  .campos { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .pasos { grid-template-columns: repeat(3, 1fr); }
}
