/* ==========================================================================
   SINAMEV 2026 — landing pública
   Paleta institucional UV: azul #18529D (Pantone 2728) y verde #28AD56 (355 C),
   la misma escala que usa la app (apps/web/src/index.css).
   ========================================================================== */

:root {
  --brand-50: #eff5fc;
  --brand-100: #dbe8f7;
  --brand-200: #b9d0ee;
  --brand-300: #8bb0e0;
  --brand-400: #5388cd;
  --brand-500: #2b6bb6;
  --brand-600: #18529d;
  --brand-700: #123f7a;
  --brand-800: #102f5c;
  --brand-900: #0d2444;

  --accent-50: #ebfaf0;
  --accent-100: #cff3dc;
  --accent-200: #a3e7bd;
  --accent-500: #33b365;
  --accent-600: #28ad56;
  --accent-700: #1f8a45;

  --ink: #1e293b;
  --ink-soft: #475569;
  --ink-mute: #64748b;
  --line: #e2e8f0;
  --paper: #ffffff;
  --paper-tint: #f6f9fd;

  --wrap: 1140px;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow-sm: 0 1px 2px rgb(15 23 42 / 0.06), 0 1px 3px rgb(15 23 42 / 0.04);
  --shadow: 0 4px 6px -1px rgb(15 23 42 / 0.07), 0 10px 24px -8px rgb(15 23 42 / 0.12);
  --shadow-lg: 0 24px 60px -18px rgb(13 36 68 / 0.35);

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
}

/* --------------------------------- reset --------------------------------- */

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

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  /* La barra fija superior no debe tapar el encabezado al saltar por ancla. */
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

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

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

a {
  color: var(--brand-600);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--brand-400);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--brand-700);
  color: #fff;
  border-radius: 0 0 var(--r-sm) 0;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
  top: 0;
}

.wrap {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
}

.i {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
}

/* ------------------------------- tipografía ------------------------------- */

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
  font-weight: 700;
}

h2 {
  font-size: clamp(1.7rem, 1.2rem + 2vw, 2.5rem);
  color: var(--brand-900);
}

h3 {
  font-size: 1.05rem;
}

p {
  text-wrap: pretty;
}

.kicker {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--brand-500);
}

.kicker--light {
  color: var(--accent-200);
}

.section__lead {
  max-width: 62ch;
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.fineprint {
  margin-top: 26px;
  max-width: 70ch;
  font-size: 0.86rem;
  color: var(--ink-mute);
}

/* --------------------------------- botones -------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.14s ease, background-color 0.18s ease, border-color 0.18s ease,
    box-shadow 0.18s ease, color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--sm {
  padding: 9px 16px;
  font-size: 0.88rem;
}

.btn--lg {
  padding: 15px 28px;
  font-size: 1.03rem;
}

.btn--block {
  width: 100%;
  margin-top: 18px;
}

.btn--primary {
  background: var(--brand-600);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgb(24 82 157 / 0.7);
}

.btn--primary:hover {
  background: var(--brand-700);
}

.btn--accent {
  background: var(--accent-600);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgb(40 173 86 / 0.85);
}

.btn--accent:hover {
  background: var(--accent-700);
}

.btn--outline {
  border-color: var(--brand-300);
  color: var(--brand-700);
  background: #fff;
}

.btn--outline:hover {
  border-color: var(--brand-600);
  background: var(--brand-50);
}

/* Sobre fondo oscuro (hero). */
.btn--ghost {
  border-color: rgb(255 255 255 / 0.35);
  color: #fff;
  background: rgb(255 255 255 / 0.06);
  backdrop-filter: blur(4px);
}

.btn--ghost:hover {
  border-color: #fff;
  background: rgb(255 255 255 / 0.14);
}

/* Misma variante, pero sobre fondo claro. */
.btn--ghost.btn--dark {
  border-color: var(--line);
  color: var(--ink-soft);
  background: transparent;
  backdrop-filter: none;
}

.btn--ghost.btn--dark:hover {
  border-color: var(--brand-300);
  background: var(--brand-50);
  color: var(--brand-700);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

/* ------------------------------ barra superior ----------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(13 36 68 / 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

/* Al salir del hero la barra pasa a fondo claro. */
.nav.is-scrolled {
  background: rgb(255 255 255 / 0.92);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 68px;
  padding-block: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  margin-right: auto;
}

.brand img {
  border-radius: 9px;
}

.brand__text {
  display: flex;
  align-items: baseline;
  gap: 6px;
  line-height: 1;
}

.brand__text strong {
  font-size: 1.12rem;
  letter-spacing: 0.06em;
  color: #fff;
  transition: color 0.25s ease;
}

.brand__text em {
  font-style: normal;
  font-weight: 650;
  font-size: 0.95rem;
  color: var(--accent-500);
}

.nav.is-scrolled .brand__text strong {
  color: var(--brand-900);
}

.nav__links {
  display: flex;
  gap: 4px;
}

.nav__links a {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 550;
  color: rgb(219 232 247 / 0.9);
  text-decoration: none;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.nav__links a:hover {
  background: rgb(255 255 255 / 0.1);
  color: #fff;
}

.nav.is-scrolled .nav__links a {
  color: var(--ink-soft);
}

.nav.is-scrolled .nav__links a:hover {
  background: var(--brand-50);
  color: var(--brand-700);
}

@media (max-width: 900px) {
  .nav__links {
    display: none;
  }
}

/* ---------------------------------- hero ---------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: 0;
  background:
    radial-gradient(1100px 620px at 78% -10%, #1a4d94 0%, transparent 60%),
    linear-gradient(165deg, #123f7a 0%, #0d2444 58%, #0a1c36 100%);
  color: #fff;
}

/* El recorte vive en el fondo, no en el hero: las cifras sobresalen por abajo
   con margen negativo y `overflow:hidden` en `.hero` las cortaría. */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.lattice {
  width: 100%;
  height: 100%;
  opacity: 0.5;
  mask-image: radial-gradient(120% 95% at 60% 0%, #000 15%, transparent 78%);
  animation: drift 60s linear infinite;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-200px, -174px, 0);
  }
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}

.hero__glow--a {
  width: 460px;
  height: 460px;
  top: -140px;
  right: -80px;
  background: rgb(40 173 86 / 0.28);
}

.hero__glow--b {
  width: 380px;
  height: 380px;
  bottom: 60px;
  left: -120px;
  background: rgb(43 107 182 / 0.4);
}

.hero__inner {
  max-width: 860px;
  padding-bottom: 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 12px;
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.08);
  font-size: 0.83rem;
  font-weight: 550;
  color: var(--brand-100);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-500);
  box-shadow: 0 0 0 0 rgb(40 173 86 / 0.6);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 9px rgb(40 173 86 / 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgb(40 173 86 / 0);
  }
}

.hero__title {
  margin-top: 22px;
  font-size: clamp(1.65rem, 1rem + 3.1vw, 3rem);
  font-weight: 700;
  color: #fff;
}

.hero__year {
  display: block;
  margin-bottom: 12px;
  font-size: clamp(2.6rem, 1.4rem + 6vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.95;
  background: linear-gradient(96deg, #ffffff 12%, var(--brand-200) 48%, var(--accent-200) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 22px;
  font-weight: 600;
  color: var(--brand-100);
}

.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.hero__meta .i {
  color: var(--accent-500);
}

.hero__lead {
  max-width: 60ch;
  margin-top: 18px;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.12rem);
  color: rgb(219 232 247 / 0.88);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* ------------------------------ cuenta regresiva ---------------------------- */

.countdown {
  margin-top: 38px;
  padding: 18px 22px;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: var(--r);
  background: rgb(255 255 255 / 0.06);
  backdrop-filter: blur(6px);
  max-width: 520px;
}

.countdown__label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-200);
}

.countdown__units {
  display: flex;
  gap: 26px;
  margin-top: 10px;
}

.countdown__units div {
  text-align: center;
}

.countdown__units b {
  display: block;
  font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.3rem);
  font-weight: 750;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

.countdown__units span {
  font-size: 0.74rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brand-200);
}

/* --------------------------------- cifras --------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-bottom: -46px;
  border-radius: var(--r-lg);
  background: var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.stats li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 22px 20px;
  background: #fff;
  text-align: center;
}

.stats strong {
  font-size: 1.9rem;
  font-weight: 750;
  line-height: 1.1;
  color: var(--brand-600);
}

.stats span {
  font-size: 0.82rem;
  color: var(--ink-mute);
}

@media (max-width: 720px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats strong {
    font-size: 1.6rem;
  }
}

/* -------------------------------- secciones ------------------------------- */

.section {
  padding-block: clamp(72px, 9vw, 116px);
}

.hero + .section {
  padding-top: clamp(104px, 12vw, 150px);
}

.section--tint {
  background: var(--paper-tint);
  border-block: 1px solid var(--line);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.grid-2 p + p {
  margin-top: 14px;
}

.grid-2 > div > p {
  color: var(--ink-soft);
  max-width: 58ch;
}

.grid-2 h2 + p {
  margin-top: 16px;
}

@media (max-width: 880px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------- lista de atributos --------------------------- */

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list li {
  display: flex;
  gap: 15px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.feature-list li:hover {
  border-color: var(--brand-200);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.feature-list .i {
  width: 26px;
  height: 26px;
  padding: 0;
  color: var(--brand-600);
  margin-top: 2px;
}

.feature-list h3 {
  color: var(--brand-900);
}

.feature-list p {
  margin-top: 3px;
  font-size: 0.92rem;
  color: var(--ink-mute);
}

/* ------------------------------ ejes temáticos ----------------------------- */

.axes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 42px;
}

.axis {
  position: relative;
  padding: 28px 26px 30px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.axis::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--axis-color, var(--brand-600));
}

.axis:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.axis--med {
  --axis-color: #d9466b;
  --axis-tint: #fdeef2;
}

.axis--amb {
  --axis-color: var(--accent-600);
  --axis-tint: var(--accent-50);
}

.axis--ene {
  --axis-color: #e08a1e;
  --axis-tint: #fdf3e3;
}

.axis__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--axis-tint);
  color: var(--axis-color);
}

.axis__ico .i {
  width: 24px;
  height: 24px;
}

.axis h3 {
  margin-top: 16px;
  font-size: 1.3rem;
  color: var(--brand-900);
}

.axis ul {
  margin-top: 16px;
  display: grid;
  gap: 9px;
}

.axis li {
  position: relative;
  padding-left: 20px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.axis li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--axis-color);
  opacity: 0.55;
}

/* --------------------------------- timeline -------------------------------- */

.timeline {
  position: relative;
  margin-top: 44px;
  display: grid;
  gap: 4px;
  padding-left: 34px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(var(--brand-200), var(--line));
}

.timeline li {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 20px;
  padding: 16px 20px;
  border-radius: var(--r);
  transition: background-color 0.18s ease;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 22px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2.5px solid var(--brand-300);
}

.timeline__date {
  min-width: 17rem;
  font-weight: 650;
  color: var(--brand-800);
}

.timeline__what {
  color: var(--ink-soft);
}

/* Etapas ya cumplidas: se apagan para que resalte lo que viene. */
.timeline li.is-past {
  opacity: 0.5;
}

.timeline li.is-past::before {
  background: var(--brand-300);
  border-color: var(--brand-300);
}

/* Próximo corte del calendario. */
.timeline li.is-next {
  background: var(--brand-50);
}

.timeline li.is-next::before {
  border-color: var(--accent-600);
  background: var(--accent-600);
  box-shadow: 0 0 0 5px rgb(40 173 86 / 0.15);
}

.timeline li.is-next .timeline__date {
  color: var(--brand-900);
}

.timeline li[data-highlight]::after {
  content: attr(data-highlight);
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--brand-100);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand-700);
}

.timeline li.is-next[data-highlight]::after {
  background: var(--accent-600);
  color: #fff;
}

@media (max-width: 640px) {
  .timeline__date {
    min-width: 100%;
  }
}

/* ------------------------------ cuotas / tiers ----------------------------- */

.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: 22px;
  margin-top: 42px;
  align-items: start;
}

.tier {
  display: flex;
  flex-direction: column;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.tier--featured {
  position: relative;
  border-color: var(--brand-600);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 940px) {
  .tier--featured {
    /* Destaca la categoría con más volumen de registro. */
    transform: scale(1.035);
  }
}

.tier__tag {
  position: absolute;
  top: -13px;
  left: 26px;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--brand-600);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tier h3 {
  font-size: 1.08rem;
  color: var(--brand-900);
}

.tier__price {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-top: 10px;
  font-size: 2.7rem;
  font-weight: 750;
  line-height: 1;
  color: var(--brand-700);
  letter-spacing: -0.03em;
}

.tier__price span {
  font-size: 1.3rem;
  font-weight: 600;
}

.tier__price em {
  margin-left: 6px;
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
}

.tier__for {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--ink-mute);
  min-height: 2.7em;
}

.tier ul {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.tier ul li {
  position: relative;
  padding-left: 26px;
  font-size: 0.93rem;
  color: var(--ink-soft);
}

.tier ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f8a45' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 12.5 5 5L20 6.5'/%3E%3C/svg%3E")
    center / 10px no-repeat;
}

.tier .btn--block {
  margin-top: auto;
}

.tier ul + .btn--block {
  margin-top: 24px;
}

.tier__note {
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--ink-mute);
  text-align: center;
}

/* ============================ CTA: instalar la app ========================== */

.install {
  position: relative;
  isolation: isolate;
  padding-block: clamp(72px, 9vw, 112px);
  background:
    radial-gradient(900px 500px at 15% 0%, #1a4d94 0%, transparent 62%),
    linear-gradient(150deg, #123f7a 0%, #0d2444 62%, #0a1c36 100%);
  color: #fff;
  overflow: hidden;
}

.install::after {
  /* Halo verde que ata el bloque al color de acento del CTA. */
  content: "";
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 520px;
  right: -140px;
  bottom: -220px;
  border-radius: 50%;
  background: rgb(40 173 86 / 0.22);
  filter: blur(100px);
}

.install__inner {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.install h2 {
  color: #fff;
}

.install__lead {
  max-width: 54ch;
  margin-top: 16px;
  color: rgb(219 232 247 / 0.88);
}

.install__perks {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.install__perks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.96rem;
  color: rgb(219 232 247 / 0.92);
}

.install__perks strong {
  color: #fff;
  font-weight: 650;
}

.install__perks .i {
  width: 21px;
  height: 21px;
  margin-top: 2px;
  padding: 3px;
  border-radius: 50%;
  background: rgb(40 173 86 / 0.22);
  color: var(--accent-200);
}

.install .btn--lg {
  margin-top: 32px;
}

.install__url {
  margin-top: 14px;
  font-size: 0.86rem;
  color: rgb(185 208 238 / 0.8);
}

.install__url strong {
  color: var(--accent-200);
}

/* ------------------------------ maqueta del móvil --------------------------- */

.install__how {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 30px;
  align-items: center;
}

@media (max-width: 1040px) {
  .install__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .install__how {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

.phone {
  position: relative;
  width: 236px;
  padding: 11px;
  border-radius: 34px;
  background: linear-gradient(160deg, #2c3a51, #131c2b);
  box-shadow: 0 30px 70px -22px rgb(0 0 0 / 0.7), inset 0 0 0 1px rgb(255 255 255 / 0.12);
}

.phone__notch {
  position: absolute;
  top: 19px;
  left: 50%;
  transform: translateX(-50%);
  width: 74px;
  height: 19px;
  border-radius: 999px;
  background: #0b111c;
  z-index: 2;
}

.phone__screen {
  border-radius: 25px;
  background: #f6f9fd;
  overflow: hidden;
  color: var(--ink);
}

.phone__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 30px 14px 11px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-900);
}

.phone__bar img {
  border-radius: 6px;
}

.phone__hero {
  margin: 11px;
  padding: 15px 14px;
  border-radius: 15px;
  background: linear-gradient(140deg, var(--brand-700), var(--brand-900));
  color: #fff;
}

.phone__hi {
  font-size: 1.02rem;
  font-weight: 700;
}

.phone__st {
  margin-top: 5px;
  font-size: 0.7rem;
  color: var(--brand-100);
  line-height: 1.45;
}

.phone__date {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgb(255 255 255 / 0.15);
  font-size: 0.67rem;
  font-weight: 600;
  color: var(--accent-200);
}

.phone__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin: 0 11px;
}

.phone__card {
  padding: 11px 10px 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  font-size: 0.72rem;
  font-weight: 650;
}

.phone__card span {
  display: block;
  width: 26px;
  height: 26px;
  margin-bottom: 8px;
  border-radius: 8px;
  background: var(--brand-50);
}

.phone__card:last-child span {
  background: var(--accent-50);
}

.phone__note {
  margin: 11px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent-600);
  border-radius: 11px;
  background: #fff;
}

.phone__note strong {
  font-size: 0.7rem;
  color: var(--brand-800);
}

.phone__note p {
  margin-top: 3px;
  font-size: 0.68rem;
  color: var(--ink-mute);
  line-height: 1.45;
}

/* ------------------------------ pasos de install ---------------------------- */

.howto {
  min-width: 250px;
}

.howto__tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.08);
  border: 1px solid rgb(255 255 255 / 0.14);
}

.howto__tabs button {
  flex: 1;
  padding: 9px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgb(219 232 247 / 0.8);
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.howto__tabs button:hover {
  color: #fff;
}

.howto__tabs button[aria-selected="true"] {
  background: #fff;
  color: var(--brand-800);
}

.howto__panel {
  margin-top: 18px;
}

.howto__panel ol {
  display: grid;
  gap: 13px;
  counter-reset: paso;
}

.howto__panel li {
  position: relative;
  padding-left: 38px;
  font-size: 0.93rem;
  color: rgb(219 232 247 / 0.9);
  counter-increment: paso;
}

.howto__panel li::before {
  content: counter(paso);
  position: absolute;
  left: 0;
  top: -1px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.1);
  border: 1px solid rgb(255 255 255 / 0.2);
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
}

.howto__panel strong {
  color: #fff;
}

.howto__warn {
  margin-top: 16px;
  padding: 11px 14px;
  border-radius: var(--r-sm);
  background: rgb(40 173 86 / 0.14);
  border: 1px solid rgb(40 173 86 / 0.3);
  font-size: 0.83rem;
  color: var(--accent-100);
}

.howto__warn strong {
  color: #fff;
}

/* --------------------------------- comité --------------------------------- */

.committee {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
  margin-top: 42px;
}

.committee article {
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.committee h3 {
  padding-bottom: 13px;
  border-bottom: 2px solid var(--brand-100);
  font-size: 0.9rem;
  color: var(--brand-700);
  letter-spacing: 0;
}

.committee ul {
  display: grid;
  gap: 7px;
  margin-top: 15px;
}

.committee li {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ------------------------------ tarjeta contacto ---------------------------- */

.contact-card {
  display: grid;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper-tint);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.contact-card li {
  display: flex;
  gap: 15px;
  padding: 20px 22px;
  background: #fff;
}

.contact-card .i {
  width: 22px;
  height: 22px;
  margin-top: 3px;
  color: var(--brand-500);
}

.contact-card span {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.contact-card a {
  font-weight: 650;
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

/* --------------------------------- cierre --------------------------------- */

.closer {
  padding-block: clamp(64px, 8vw, 96px);
  background: var(--brand-50);
  border-top: 1px solid var(--line);
}

.closer__inner {
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
}

.closer p {
  margin-top: 14px;
  color: var(--ink-soft);
}

.closer .btn {
  margin-top: 28px;
}

/* ----------------------------------- pie ---------------------------------- */

.foot {
  padding-block: 56px 40px;
  background: var(--brand-900);
  color: rgb(185 208 238 / 0.75);
  font-size: 0.9rem;
}

.foot__brand {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.foot__brand img {
  border-radius: 10px;
}

.foot__brand strong {
  color: #fff;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
}

.foot__brand p {
  margin-top: 5px;
  line-height: 1.6;
}

.foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 32px;
  padding-top: 26px;
  border-top: 1px solid rgb(255 255 255 / 0.1);
}

.foot__links a {
  color: var(--brand-200);
  text-decoration: none;
}

.foot__links a:hover {
  color: #fff;
  text-decoration: underline;
}

.foot__legal {
  margin-top: 26px;
  font-size: 0.82rem;
  color: rgb(139 176 224 / 0.6);
  max-width: 76ch;
}

.foot__legal a {
  color: var(--brand-200);
}

/* ------------------------------- CTA pegajoso ------------------------------ */

.sticky-cta {
  position: fixed;
  z-index: 60;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: var(--r);
  background: rgb(13 36 68 / 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 34px -10px rgb(0 0 0 / 0.55);
  color: #fff;
  transform: translateY(140%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.sticky-cta.is-visible {
  transform: translateY(0);
}

.sticky-cta > div {
  display: grid;
  line-height: 1.3;
  margin-right: auto;
}

.sticky-cta strong {
  font-size: 0.92rem;
}

.sticky-cta span {
  font-size: 0.76rem;
  color: var(--brand-200);
}

/* Solo tiene sentido donde el CTA del hero ya se perdió de vista. */
@media (min-width: 861px) {
  .sticky-cta {
    display: none;
  }
}

/* ------------------------------ entrada al scroll --------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .nav,
  .sticky-cta,
  .hero__bg {
    display: none;
  }

  .hero,
  .install,
  .foot {
    background: #fff;
    color: #000;
  }
}
