/* ALEXUS · sitio de bienvenida. Sin dependencias externas: fuentes e imágenes propias. */
@font-face { font-family: Manrope; font-weight: 500; font-display: swap; src: url('/fonts/manrope-500.woff2') format('woff2'); }
@font-face { font-family: Manrope; font-weight: 600; font-display: swap; src: url('/fonts/manrope-600.woff2') format('woff2'); }
@font-face { font-family: Manrope; font-weight: 700; font-display: swap; src: url('/fonts/manrope-700.woff2') format('woff2'); }
@font-face { font-family: Manrope; font-weight: 800; font-display: swap; src: url('/fonts/manrope-800.woff2') format('woff2'); }

:root {
  --noche: #0B2D6B; --profundo: #061A3F; --electrico: #1A73F0; --cielo: #5FA8FF; --ambar: #FFB020;
  --hielo: #EAF2FF; --fondo: #F6F8FC; --texto: #1D1D1F; --sec: #4A5A7A; --linea: #DCE4F2;
  --curva: cubic-bezier(0.32, 0.72, 0, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Manrope, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-weight: 500; color: var(--texto); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; margin: 0; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--electrico); outline-offset: 3px; border-radius: 6px; }
.contenedor { width: min(1120px, 100% - 40px); margin-inline: auto; }
.saltar { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--noche); padding: 10px 14px; border-radius: 8px; z-index: 100; }
.saltar:focus { left: 12px; }

/* Barra superior: cristal translúcido */
.barra { position: sticky; top: 0; z-index: 50; padding-top: env(safe-area-inset-top, 0); background: rgb(255 255 255 / 0.78); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid transparent; transition: border-color 200ms ease; }
.barra.con-borde { border-bottom-color: var(--linea); }
.barra__fila { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.barra__logo img { height: 34px; width: auto; }
.barra__nav { display: none; gap: 28px; font-weight: 600; font-size: 15px; }
.barra__nav a { text-decoration: none; color: var(--sec); transition: color 150ms ease; }
.barra__nav a:hover { color: var(--noche); }

/* Botones */
.boton { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 12px; border: 2px solid transparent; font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; transition: transform 160ms var(--curva), background-color 160ms ease, box-shadow 160ms ease; }
.boton:active { transform: scale(0.97); }
.boton--chico { min-height: 40px; padding: 0 18px; font-size: 15px; border-radius: 10px; }
.boton--blanco { background: #fff; color: var(--noche); }
.boton--blanco:hover { box-shadow: 0 10px 28px -10px rgb(0 0 0 / 0.5); transform: translateY(-1px); }
.boton--borde { color: #fff; border-color: rgb(255 255 255 / 0.55); background: transparent; }
.boton--borde:hover { background: rgb(255 255 255 / 0.12); }
.boton--oscuro { background: var(--noche); color: #fff; }
.boton--oscuro:hover { background: #0E3A8A; }

/* Portada */
.portada { position: relative; color: #fff; background: var(--noche) url('/img/fondo.svg') center / cover no-repeat; overflow: hidden; }
.portada::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(6 26 63 / 0.72), rgb(6 26 63 / 0.1) 70%); pointer-events: none; }
.portada__cuerpo { position: relative; z-index: 1; padding: clamp(56px, 11vw, 128px) 0 clamp(48px, 8vw, 96px); max-width: 760px; margin-inline: auto 0; margin-inline-start: max(20px, calc((100% - 1120px) / 2)); }
.portada--completa { min-height: 100vh; display: grid; align-items: center; }
.portada h1 { font-size: clamp(2.6rem, 8.5vw, 5rem); margin: 14px 0 22px; }
.portada__texto { font-size: clamp(1.05rem, 2.6vw, 1.25rem); color: #D6E5FF; max-width: 640px; }
.portada__texto strong { color: #fff; }
.portada__acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.portada__acciones--centro { justify-content: center; }
.fichas { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.fichas li { font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 99px; background: rgb(255 255 255 / 0.12); border: 1px solid rgb(255 255 255 / 0.2); color: #EAF2FF; }

/* Secciones */
.etiqueta { font-size: 13px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--electrico); margin-bottom: 12px; }
.etiqueta--clara { color: var(--cielo); margin-bottom: 0; }
.seccion { padding: clamp(56px, 9vw, 104px) 0; }
.seccion--suave { background: var(--fondo); }
.seccion h2 { font-size: clamp(1.9rem, 5vw, 3rem); max-width: 18ch; color: var(--noche); }
.seccion__intro { margin-top: 16px; font-size: 1.12rem; color: var(--sec); max-width: 60ch; }
.nota { margin-top: 28px; font-size: 14px; color: var(--sec); max-width: 70ch; padding-left: 14px; border-left: 3px solid var(--ambar); }

/* Tarjetas */
.tarjetas { display: grid; gap: 16px; margin-top: 40px; }
.tarjeta { background: #fff; border: 1px solid var(--linea); border-radius: 20px; padding: 28px; transition: transform 240ms var(--curva), box-shadow 240ms var(--curva); }
.seccion--suave .tarjeta { border-color: transparent; }
@media (hover: hover) { .tarjeta:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgb(11 45 107 / 0.5); } }
.tarjeta h3 { font-size: 1.25rem; color: var(--noche); margin-bottom: 8px; }
.tarjeta p { color: var(--sec); font-size: 1rem; }
.tarjeta__icono { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--hielo); margin-bottom: 18px; }
.tarjeta--cta { background: var(--noche); border-color: var(--noche); }
.tarjeta--cta h3 { color: #fff; } .tarjeta--cta p { color: #C9DCFF; }
.enlace { display: inline-block; margin-top: 14px; font-weight: 800; color: #fff; text-decoration: none; border-bottom: 2px solid var(--ambar); padding-bottom: 2px; }

/* Qué incluye */
.doble { display: grid; gap: 16px; margin-top: 40px; }
.caja { border: 1px solid var(--linea); border-radius: 20px; padding: 28px; background: #fff; }
.caja h3 { font-size: 1.25rem; color: var(--noche); margin-bottom: 14px; }
.caja--proximo { background: var(--fondo); border-style: dashed; }
.lista { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.lista li { position: relative; padding-left: 28px; color: var(--texto); }
.lista li::before { content: ''; position: absolute; left: 2px; top: 0.5em; width: 12px; height: 7px; border-left: 2.5px solid var(--electrico); border-bottom: 2.5px solid var(--electrico); transform: rotate(-45deg); }
.lista--proximo li { color: var(--sec); }
.lista--proximo li::before { border-color: var(--ambar); }

/* Pasos */
.pasos { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 14px; }
.pasos li { display: flex; gap: 18px; background: #fff; border-radius: 20px; padding: 24px; }
.pasos__n { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--noche); color: #fff; font-weight: 800; }
.pasos h3 { font-size: 1.15rem; color: var(--noche); margin-bottom: 4px; }
.pasos p { color: var(--sec); }

/* Contacto */
.contacto { background: var(--noche) url('/img/fondo.svg') center / cover; color: #fff; text-align: center; padding: clamp(64px, 10vw, 112px) 0; position: relative; }
.contacto::after { content: ''; position: absolute; inset: 0; background: rgb(6 26 63 / 0.55); }
.contacto__cuerpo { position: relative; z-index: 1; }
.contacto h2 { font-size: clamp(2rem, 6vw, 3.4rem); }
.contacto__cuerpo > p:not([class]) { margin-top: 14px; color: #D6E5FF; font-size: 1.15rem; }
.contacto__correo { margin-top: 28px; font-size: clamp(1.5rem, 5.5vw, 2.4rem); font-weight: 800; letter-spacing: -0.01em; }
.contacto__correo a { text-decoration: none; border-bottom: 3px solid var(--ambar); padding-bottom: 2px; word-break: break-word; }
.contacto__estado { min-height: 1.5em; margin-top: 14px; color: #BFE0C9; font-weight: 600; }

/* Pie */
.pie { background: var(--profundo); color: #B9D3FF; padding: 36px 0 calc(36px + env(safe-area-inset-bottom, 0)); font-size: 14px; }
.pie__fila { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.pie img { height: 34px; width: auto; }
.pie a { color: #fff; }

/* Aparición al desplazarse (solo los elementos que aún no se ven; sin JS todo es visible) */
.revelar { transition: opacity 600ms var(--curva), transform 600ms var(--curva); }
.revelar.oculto { opacity: 0; transform: translateY(18px); }

@media (min-width: 760px) {
  .barra__nav { display: flex; }
  .tarjetas--3 { grid-template-columns: repeat(3, 1fr); }
  .tarjetas--giros { grid-template-columns: repeat(3, 1fr); }
  .doble { grid-template-columns: 1.3fr 1fr; }
  .pasos { grid-template-columns: repeat(3, 1fr); }
  .pasos li { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .revelar, .revelar.oculto { transition: none; opacity: 1; transform: none; }
  .boton:active { transform: none; }
}
