/* Glow Islands — Parte 1: Portada luminosa estilo editorial con cielo azul y nubes en movimiento */

@font-face {
  font-family: "Host Grotesk";
  src: url("/landing/fonts/host-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("/landing/fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("/landing/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-sans: "Host Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ink-strong: #0b1526;
  --ink-body: #344a66;
  --ink-muted: #58708f;
  --dark-pill: #0d1624;
  --dark-pill-hover: #18253a;
  --surface-glass: rgba(255, 255, 255, 0.64);
  --surface-glass-strong: rgba(255, 255, 255, 0.84);
  --border-glass: rgba(255, 255, 255, 0.86);
  --shadow-soft: 0 10px 30px rgba(13, 44, 84, 0.08);
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

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

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: clip;
  background: #eef7ff;
  color: var(--ink-strong);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button, input, select {
  font: inherit;
}

/* --------------------------------------------------------------------------
   Contenedor principal del Hero + Cielo azul y nubes que vienen y van
   -------------------------------------------------------------------------- */
.hero-shell {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 66% 46% at 50% 27%, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.22) 52%, rgba(255, 255, 255, 0) 78%),
    linear-gradient(180deg, #5aa8f2 0%, #89c6fb 34%, #bfe2fe 68%, #e6f3ff 90%, #f5faff 100%);
}

.sky-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.sky-defs {
  position: absolute;
  width: 0;
  height: 0;
}

.sky-glow {
  position: absolute;
  left: 50%;
  top: 16%;
  width: min(980px, 92vw);
  height: 440px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0));
  filter: blur(18px);
}

.sky-clouds {
  position: absolute;
  inset: 0;
}

.cloud {
  position: absolute;
  left: 0;
  height: auto;
  will-change: transform;
  user-select: none;
}

/* Distribución multicapa en distintas alturas, escalas y sentidos (vienen y van) */
.cloud--1 {
  top: 4%;
  width: clamp(360px, 42vw, 620px);
  opacity: 0.82;
  filter: blur(9px);
  animation: cloud-drift-right 92s linear infinite;
  animation-delay: -18s;
}

.cloud--2 {
  top: 11%;
  width: clamp(300px, 35vw, 520px);
  opacity: 0.68;
  filter: blur(12px);
  animation: cloud-drift-left 112s linear infinite;
  animation-delay: -62s;
}

.cloud--3 {
  top: 23%;
  width: clamp(400px, 48vw, 720px);
  opacity: 0.66;
  filter: blur(14px);
  animation: cloud-drift-right 126s linear infinite;
  animation-delay: -79s;
}

.cloud--4 {
  top: 34%;
  width: clamp(300px, 34vw, 500px);
  opacity: 0.74;
  filter: blur(10px);
  animation: cloud-drift-left 84s linear infinite;
  animation-delay: -27s;
}

.cloud--5 {
  top: 46%;
  width: clamp(420px, 52vw, 760px);
  opacity: 0.8;
  filter: blur(11px);
  animation: cloud-drift-right 98s linear infinite;
  animation-delay: -48s;
}

.cloud--6 {
  top: 54%;
  width: clamp(360px, 44vw, 650px);
  opacity: 0.75;
  filter: blur(13px);
  animation: cloud-drift-left 106s linear infinite;
  animation-delay: -88s;
}

.cloud--7 {
  top: 16%;
  width: clamp(270px, 28vw, 430px);
  opacity: 0.58;
  filter: blur(15px);
  animation: cloud-drift-right 74s linear infinite;
  animation-delay: -52s;
}

@keyframes cloud-drift-right {
  from {
    transform: translate3d(-46vw, 0, 0);
  }
  to {
    transform: translate3d(112vw, 0, 0);
  }
}

@keyframes cloud-drift-left {
  from {
    transform: translate3d(112vw, 0, 0) scaleX(-1);
  }
  to {
    transform: translate3d(-46vw, 0, 0) scaleX(-1);
  }
}

.sky-horizon {
  position: absolute;
  inset: auto 0 0 0;
  height: 28%;
  background: linear-gradient(180deg, rgba(240, 248, 255, 0) 0%, rgba(244, 250, 255, 0.74) 68%, rgba(250, 253, 255, 0.96) 100%);
}

@media (prefers-reduced-motion: reduce) {
  .cloud {
    animation: none !important;
  }
  .cloud--1 { transform: translate3d(-4vw, 0, 0); }
  .cloud--2 { transform: translate3d(68vw, 0, 0) scaleX(-1); }
  .cloud--3 { transform: translate3d(58vw, 0, 0); }
  .cloud--4 { transform: translate3d(8vw, 0, 0) scaleX(-1); }
  .cloud--5 { transform: translate3d(-6vw, 0, 0); }
  .cloud--6 { transform: translate3d(62vw, 0, 0) scaleX(-1); }
  .cloud--7 { transform: translate3d(34vw, 0, 0); }
}

/* --------------------------------------------------------------------------
   Barra superior (Navbar)
   -------------------------------------------------------------------------- */
.topbar {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 18px clamp(20px, 4vw, 56px) 8px;
}

.topbar__inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.topbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  text-decoration: none;
  color: var(--ink-strong);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.028em;
}

.topbar__logo {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(11, 35, 72, 0.16);
}

.topbar__pill {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  box-shadow: 0 6px 24px rgba(14, 46, 88, 0.07);
}

.topbar__nav-link {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 15px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  color: #2c4059;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.topbar__nav-link:hover {
  color: var(--ink-strong);
}

.topbar__nav-link.is-active {
  background: var(--dark-pill);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(13, 22, 36, 0.22);
}

.topbar__actions {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 18px;
}

.topbar__link {
  text-decoration: none;
  font-size: 14px;
  font-weight: 550;
  color: #1c2f47;
  transition: opacity 0.18s ease;
}

.topbar__link:hover {
  opacity: 0.72;
}

/* --------------------------------------------------------------------------
   Botones en píldora (estilo Bloom)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.btn:focus-visible,
.topbar__nav-link:focus-visible,
.topbar__brand:focus-visible,
.topbar__link:focus-visible {
  outline: 2px solid #0b65c2;
  outline-offset: 3px;
}

.btn--sm {
  height: 38px;
  padding: 0 17px;
  font-size: 13.5px;
}

.btn--dark {
  background: var(--dark-pill);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 10px 24px -6px rgba(11, 22, 38, 0.34);
}

.btn--dark:hover {
  background: var(--dark-pill-hover);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 14px 28px -6px rgba(11, 22, 38, 0.4);
}

.btn--light {
  background: var(--surface-glass-strong);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--ink-strong);
  border-color: rgba(13, 22, 36, 0.1);
  box-shadow: 0 8px 22px -6px rgba(14, 46, 88, 0.12);
}

.btn--light:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-1px);
}

.btn--full {
  width: 100%;
}

.btn__icon {
  flex: none;
  color: #ffd56b;
}

.btn__arrow {
  font-weight: 500;
  transition: transform 0.18s ease;
}

.btn--light:hover .btn__arrow {
  transform: translateX(2px);
}

/* --------------------------------------------------------------------------
   Cuerpo central del Hero
   -------------------------------------------------------------------------- */
.hero-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero {
  flex: 1;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(16px, 2.8vh, 34px) clamp(18px, 3.5vw, 40px) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 760px;
  z-index: 4;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 20px rgba(13, 44, 84, 0.07);
  margin-bottom: clamp(16px, 2.2vh, 24px);
}

.eyebrow__avatars {
  display: inline-flex;
  align-items: center;
  padding-left: 4px;
}

.eyebrow__avatars img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  background: #dbeafe;
  border: 1.5px solid #ffffff;
  margin-left: -6px;
  box-shadow: 0 2px 5px rgba(11, 22, 38, 0.14);
}

.eyebrow__avatars img:first-child {
  margin-left: 0;
}

.eyebrow__star {
  color: #f59e0b;
  font-size: 12px;
  line-height: 1;
}

.eyebrow__text {
  font-size: 12.5px;
  font-weight: 600;
  color: #1c2f47;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.eyebrow__dot {
  opacity: 0.48;
  margin: 0 2px;
}

.hero__title {
  margin: 0;
  font-size: clamp(36px, 4.75vw, 66px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.038em;
  color: var(--ink-strong);
  text-wrap: balance;
}

.hero__subtitle {
  margin: clamp(14px, 2vh, 20px) 0 0;
  max-width: 540px;
  font-size: clamp(15px, 1.15vw, 17.5px);
  line-height: 1.52;
  font-weight: 450;
  color: var(--ink-body);
  text-wrap: pretty;
}

.hero__ctas {
  margin-top: clamp(20px, 2.8vh, 28px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   Tríptico de 3 teléfonos (recorte inferior limpio como la referencia)
   -------------------------------------------------------------------------- */
.hero__phones {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1020px;
  margin-top: auto;
  padding-top: clamp(24px, 3.4vh, 38px);
  margin-bottom: clamp(-190px, -13.5vw, -125px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(16px, 2.2vw, 28px);
  pointer-events: none;
}

.phone-mockup {
  margin: 0;
  flex: 0 0 auto;
  aspect-ratio: 9 / 18.6;
  padding: 10px;
  border-radius: 46px;
  background: linear-gradient(155deg, #2b3342 0%, #0e131b 42%, #1c2433 100%);
  box-shadow:
    0 0 0 1.5px rgba(255, 255, 255, 0.72),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 32px 72px -14px rgba(10, 33, 68, 0.38),
    0 12px 26px -8px rgba(10, 33, 68, 0.2);
  position: relative;
}

.phone-mockup--center {
  width: clamp(252px, 25vw, 326px);
  z-index: 3;
}

.phone-mockup--left,
.phone-mockup--right {
  width: clamp(218px, 21.8vw, 284px);
  z-index: 2;
}

.phone-mockup--left {
  transform: translateY(48px) rotate(-5.5deg);
  transform-origin: bottom right;
}

.phone-mockup--right {
  transform: translateY(48px) rotate(5.5deg);
  transform-origin: bottom left;
}

.phone-mockup__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 37px;
  overflow: hidden;
  background: #0d274c;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

/* Sutil reflejo de cristal sobre la pantalla */
.phone-mockup__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 36%);
  pointer-events: none;
  z-index: 3;
}

.phone-mockup__statusbar {
  position: absolute;
  top: 10px;
  left: 16px;
  right: 16px;
  height: 22px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  z-index: 4;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.28);
}

.phone-mockup__time {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.01em;
  justify-self: start;
  padding-left: 4px;
}

.phone-mockup__island {
  width: 72px;
  height: 20px;
  border-radius: 999px;
  background: #070a10;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.phone-mockup--left .phone-mockup__island,
.phone-mockup--right .phone-mockup__island {
  width: 62px;
  height: 18px;
}

.phone-mockup__indicators {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  padding-right: 2px;
}

.phone-mockup__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Encuadre preciso de cada captura para lucir el corazón de cada isla en la mitad superior visible */
.phone-mockup--left .phone-mockup__img {
  object-position: 46% 42%;
  transform: scale(1.06) translateY(-7%);
  transform-origin: 50% 40%;
}

.phone-mockup--center .phone-mockup__img {
  object-position: 50% 42%;
  transform: scale(1.08) translateY(-4%);
  transform-origin: 50% 42%;
}

.phone-mockup--right .phone-mockup__img {
  object-position: 28% 18%;
  transform: scale(1.04) translateY(-2%);
  transform-origin: 35% 20%;
}


/* --------------------------------------------------------------------------
   Secciones 2 a 8 — Narrativa editorial luminosa y cierre nocturno
   -------------------------------------------------------------------------- */
.story-section {
  position: relative;
  z-index: 5;
  scroll-margin-top: 24px;
  padding: clamp(76px, 9vw, 124px) clamp(20px, 4vw, 44px);
}

.story-section--white {
  background: #ffffff;
  border-top: 1px solid rgba(11, 21, 38, 0.05);
}

.story-section--sky {
  background: linear-gradient(180deg, #f4f9ff 0%, #eef6ff 100%);
  border-top: 1px solid rgba(13, 44, 84, 0.05);
}

.story-inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.story-head {
  max-width: 680px;
  margin: 0 auto clamp(42px, 5vw, 60px);
  text-align: center;
}

.story-kicker {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(90, 168, 242, 0.12);
  color: #1f5f9e;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.story-title {
  margin: 0;
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--ink-strong);
  text-wrap: balance;
}

.story-title--left {
  text-align: left;
}

.story-lead {
  margin: 16px auto 0;
  max-width: 58ch;
  font-size: clamp(16px, 1.45vw, 18.5px);
  line-height: 1.62;
  color: var(--ink-body);
}

.story-lead--left {
  margin-left: 0;
  margin-right: 0;
}

/* Sección 2 — El problema (contraste limpio) */
.contrast-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.contrast-card {
  padding: clamp(28px, 3.4vw, 40px);
  border-radius: 28px;
  border: 1px solid rgba(11, 21, 38, 0.08);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contrast-card--muted {
  background: #f6f8fb;
}

.contrast-card--calm {
  background: linear-gradient(160deg, #f3f9ff 0%, #ffffff 68%, #eef9f3 100%);
  border-color: rgba(52, 134, 214, 0.2);
  box-shadow: 0 18px 44px rgba(13, 44, 84, 0.07);
}

.contrast-card__badge {
  align-self: flex-start;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(11, 21, 38, 0.06);
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 600;
}

.contrast-card__badge--accent {
  background: #0d1624;
  color: #ffffff;
}

.contrast-card__title {
  margin: 4px 0 0;
  font-size: clamp(21px, 2.1vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink-strong);
}

.contrast-card__body {
  margin: 0;
  font-size: 16px;
  line-height: 1.62;
  color: var(--ink-body);
}

.contrast-card__tags {
  list-style: none;
  margin: auto 0 0;
  padding: 12px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contrast-card__tags li {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(11, 21, 38, 0.05);
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 500;
}

.contrast-card__tags--calm li {
  background: rgba(45, 138, 97, 0.1);
  color: #1c5f42;
}

/* Sección 3 — Cómo funciona (3 pasos) */
.steps-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.step-card {
  padding: clamp(26px, 3vw, 34px);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(13, 44, 84, 0.08);
  box-shadow: var(--shadow-soft);
}

.step-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.step-card__num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: #3b7cc4;
  letter-spacing: 0.06em;
}

.step-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #edf5ff;
  color: #164f8a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.step-card__title {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink-strong);
}

.step-card__body {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-body);
}

/* Sección 4 — Visualiza tu progreso (3 etapas reales) */
.progress-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.progress-card {
  margin: 0;
  border-radius: 26px;
  overflow: hidden;
  background: #f8fbff;
  border: 1px solid rgba(13, 44, 84, 0.08);
  display: flex;
  flex-direction: column;
}

.progress-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #d9ecff;
}

.progress-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.progress-card__caption {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.progress-card__stage {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #3b7cc4;
}

.progress-card__title {
  margin: 2px 0 0;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink-strong);
}

.progress-card__body {
  margin: 4px 0 0;
  font-size: 15px;
  line-height: 1.58;
  color: var(--ink-body);
}

/* Sección 5 — Un mundo que te pertenece */
.world-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.world-list {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.world-list__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.world-list__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #3d8ce0;
  margin-top: 8px;
  flex: 0 0 auto;
  box-shadow: 0 0 0 4px rgba(61, 140, 224, 0.16);
}

.world-list__item strong {
  display: block;
  font-size: 16.5px;
  line-height: 1.35;
  color: var(--ink-strong);
}

.world-list__item p {
  margin: 4px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-body);
}

.world-mosaic {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  grid-template-rows: repeat(2, 210px);
  gap: 14px;
}

.world-mosaic__tile {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(13, 44, 84, 0.08);
  box-shadow: var(--shadow-soft);
  background: #d9ecff;
}

.world-mosaic__tile--tall {
  grid-row: 1 / span 2;
}

.world-mosaic__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Sección 6 — Para los momentos que importan */
.moments-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.moment-card {
  padding: clamp(26px, 3vw, 34px);
  border-radius: 26px;
  background: #f8fbff;
  border: 1px solid rgba(13, 44, 84, 0.08);
}

.moment-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(13, 44, 84, 0.08);
  color: var(--ink-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.moment-card__title {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink-strong);
}

.moment-card__body {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-body);
}

/* Sección 7 — Productividad con propósito (capturas reales) */
.product-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.product-phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 460px;
  padding: 12px 0;
}

.app-phone {
  margin: 0;
  padding: 9px;
  border-radius: 40px;
  background: #0d1624;
  box-shadow: 0 26px 56px rgba(11, 21, 38, 0.22);
}

.app-phone__screen {
  border-radius: 32px;
  overflow: hidden;
  background: #0b1526;
}

.app-phone__screen img {
  width: 100%;
  height: auto;
  display: block;
}

.app-phone--front {
  position: relative;
  z-index: 2;
  width: 244px;
  transform: translateX(-28px);
}

.app-phone--back {
  position: relative;
  z-index: 1;
  width: 214px;
  transform: translate(32px, -18px) rotate(4deg);
  opacity: 0.94;
}

.product-checks {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-checks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-body);
}

.product-checks__mark {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(45, 138, 97, 0.14);
  color: #196243;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-top: 1px;
}

/* Sección 8 — Conversión final nocturna + Footer */
.closing-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(88px, 11vw, 140px) clamp(20px, 4vw, 44px) 36px;
  background: linear-gradient(180deg, #0c1729 0%, #11233d 62%, #0a1424 100%);
  color: #ffffff;
  text-align: center;
}

.closing-section__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.closing-section__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  filter: blur(2px) saturate(1.1);
}

.closing-section__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 35%, rgba(16, 36, 66, 0.35) 0%, rgba(10, 20, 36, 0.88) 78%);
}

.closing-section__inner {
  max-width: 760px;
  margin: 0 auto;
}

.closing-kicker {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #cfe4ff;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.closing-title {
  margin: 0;
  font-size: clamp(32px, 4.8vw, 54px);
  line-height: 1.07;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: #ffffff;
  text-wrap: balance;
}

.closing-lead {
  margin: 18px auto 0;
  max-width: 52ch;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.62;
  color: rgba(226, 238, 255, 0.84);
}

.closing-actions {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

.btn--lg {
  height: 52px;
  padding: 0 28px;
  font-size: 15.5px;
}

.closing-note {
  margin: 14px 0 0;
  font-size: 13.5px;
  color: rgba(207, 228, 255, 0.72);
}

.site-footer {
  margin-top: clamp(64px, 8vw, 96px);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13.5px;
  color: rgba(207, 228, 255, 0.7);
}

.site-footer__link {
  color: rgba(235, 245, 255, 0.88);
  text-decoration: none;
  font-weight: 500;
}

.site-footer__link:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Modal de Lista de Espera (Beta)
   -------------------------------------------------------------------------- */
.beta-modal {
  padding: 0;
  border: 0;
  border-radius: 28px;
  max-width: 460px;
  width: calc(100% - 32px);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--ink-strong);
  box-shadow:
    0 0 0 1px rgba(13, 22, 36, 0.08),
    0 32px 80px rgba(10, 28, 58, 0.28);
}

.beta-modal::backdrop {
  background: rgba(11, 24, 44, 0.42);
  backdrop-filter: blur(6px);
}

.beta-modal__card {
  padding: 28px;
}

.beta-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.beta-modal__title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.beta-modal__subtitle {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-body);
}

.beta-modal__close {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(13, 22, 36, 0.1);
  background: rgba(13, 22, 36, 0.04);
  color: var(--ink-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.beta-modal__close:hover {
  background: rgba(13, 22, 36, 0.09);
}

.beta-form {
  display: grid;
  gap: 16px;
}

.field {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 6px;
}

.field label,
.field legend {
  padding: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-strong);
}

.field__opt {
  font-weight: 400;
  color: var(--ink-muted);
}

.field input[type="email"],
.field select {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(13, 22, 36, 0.16);
  background: #ffffff;
  color: var(--ink-strong);
  font-size: 15px;
}

.field input[type="email"]:focus,
.field select:focus {
  outline: 2px solid #0b65c2;
  outline-offset: 1px;
  border-color: transparent;
}

.field input[aria-invalid="true"] {
  border-color: #c81e1e;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 4px;
}

.choice-pill {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(13, 22, 36, 0.15);
  background: #ffffff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 550;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.choice-pill input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}

.choice-pill span {
  pointer-events: none;
}

.choice-pill:has(input:checked) {
  border-color: var(--dark-pill);
  background: var(--dark-pill);
  color: #ffffff;
}

.choice-pill:has(input:focus-visible) {
  outline: 2px solid #0b65c2;
  outline-offset: 2px;
}

.field__error {
  margin: 2px 0 0;
  font-size: 13px;
  color: #b91c1c;
}

.form__status {
  margin: 0;
  font-size: 14px;
  font-weight: 550;
  color: #0f5132;
  text-align: center;
  min-height: 20px;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}


/* --------------------------------------------------------------------------
   Adaptación tablet y móvil (sin desbordamiento horizontal)
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .world-split,
  .product-split {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .story-title--left,
  .story-lead--left {
    text-align: left;
  }

  .product-phones {
    min-height: 410px;
  }
}

@media (max-width: 860px) {
  .topbar__inner {
    grid-template-columns: 1fr auto;
  }

  .topbar__pill,
  .topbar__link {
    display: none;
  }

  .hero__phones {
    gap: 10px;
    margin-bottom: -105px;
  }

  .phone-mockup {
    padding: 7px;
    border-radius: 34px;
  }

  .phone-mockup__screen {
    border-radius: 28px;
  }

  .phone-mockup--center {
    width: clamp(164px, 43vw, 232px);
  }

  .phone-mockup--left,
  .phone-mockup--right {
    width: clamp(136px, 36vw, 196px);
  }

  .phone-mockup--left {
    transform: translateY(30px) rotate(-5.5deg);
  }

  .phone-mockup--right {
    transform: translateY(30px) rotate(5.5deg);
  }

  .phone-mockup__statusbar {
    top: 7px;
    left: 11px;
    right: 11px;
  }

  .phone-mockup__time {
    font-size: 9px;
  }

  .phone-mockup__island {
    width: 48px;
    height: 14px;
  }

  .phone-mockup--left .phone-mockup__island,
  .phone-mockup--right .phone-mockup__island {
    width: 40px;
    height: 12px;
  }

  .phone-mockup__indicators svg {
    width: 28px;
    height: 8px;
  }

  .contrast-grid,
  .steps-grid,
  .progress-grid,
  .moments-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .topbar {
    padding: 14px 16px 6px;
  }

  .hero {
    padding: 20px 14px 0;
  }

  .hero__eyebrow {
    padding: 4px 10px 4px 4px;
    gap: 5px;
    max-width: 100%;
  }

  .eyebrow__avatars img {
    width: 19px;
    height: 19px;
  }

  .eyebrow__text {
    font-size: 10.8px;
  }

  .hero__title {
    font-size: clamp(30px, 8.8vw, 38px);
  }

  .hero__ctas {
    width: 100%;
    gap: 8px;
  }

  .hero__ctas .btn {
    height: 43px;
    padding: 0 16px;
    font-size: 13.5px;
  }

  .hero__phones {
    gap: 8px;
    margin-top: auto;
    padding-top: 24px;
    margin-bottom: -74px;
  }

  .phone-mockup {
    padding: 6px;
    border-radius: 30px;
  }

  .phone-mockup__screen {
    border-radius: 24px;
  }

  .phone-mockup--center {
    width: 52vw;
  }

  .phone-mockup--left,
  .phone-mockup--right {
    width: 44vw;
  }

  .phone-mockup--left {
    transform: translateY(28px) rotate(-5.5deg);
  }

  .phone-mockup--right {
    transform: translateY(28px) rotate(5.5deg);
  }

  .world-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 170px 170px;
    gap: 10px;
  }

  .product-phones {
    min-height: 360px;
  }

  .app-phone {
    padding: 6px;
    border-radius: 30px;
  }

  .app-phone__screen {
    border-radius: 24px;
  }

  .app-phone--front {
    width: 186px;
    transform: translateX(-16px);
  }

  .app-phone--back {
    width: 162px;
    transform: translate(18px, -12px) rotate(4deg);
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }
}
