/* ============================================================================
   Fortuna imPOSIBLE — estilos de la web (landing, guía, gracias y legales)
   Paleta y letra de la marca (las de Fortuna): #141414 · #F4EFE6 · #E4412F,
   Archivo 900 condensada para titulares e Inter para el texto. El toque
   femenino lo pone el pintalabios del logo, no un cambio de paleta.
   Móvil primero: el tráfico llega desde la bio de Instagram y TikTok.
   ============================================================================ */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap;
  src: url(/fonts/archivo-latin.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: 'Archivo'; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap;
  src: url(/fonts/archivo-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/inter-latin.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: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --fondo: #141414;
  --fondo-2: #1c1b1a;
  --fondo-3: #242220;
  --linea: rgba(244, 239, 230, .12);
  --linea-2: rgba(244, 239, 230, .22);
  --crema: #F4EFE6;
  --crema-2: #b9b4ab;        /* texto secundario: 8,9:1 sobre el fondo */
  --gris: #8c8a86;           /* notas: 5,3:1 */
  --rojo: #E4412F;
  --rojo-2: #c9331f;
  --titular: 'Archivo', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --texto: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --ancho: 1080px;
  --lateral: clamp(16px, 5vw, 40px);
  --radio: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--fondo); color: var(--crema); font-family: var(--texto); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--rojo); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr-only:focus { position: fixed; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 10; background: var(--crema); color: var(--fondo); padding: 8px 12px; border-radius: 8px; }
.contenedor { max-width: var(--ancho); margin: 0 auto; padding: 0 var(--lateral); }

/* ── Titulares ─────────────────────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--titular); font-weight: 900; font-stretch: 68%; line-height: 1; margin: 0 0 .5em; letter-spacing: 0; text-transform: uppercase; text-wrap: balance; }
h1 { font-size: clamp(44px, 11vw, 92px); line-height: .92; }
h2 { font-size: clamp(32px, 7vw, 56px); }
h3 { font-size: 22px; font-stretch: 75%; font-weight: 800; }
h1 em, h2 em { font-style: normal; color: var(--rojo); }
.antetitulo { font-family: var(--titular); font-weight: 800; font-stretch: 80%; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--rojo); margin: 0 0 14px; }
.raya { display: block; width: 72px; height: 6px; background: var(--rojo); transform: rotate(-8deg); transform-origin: left; margin: 6px 0 22px; }

/* ── Cabecera ──────────────────────────────────────────────────────────── */
.cabecera { border-bottom: 1px solid var(--linea); }
.cabecera .contenedor { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--titular); font-weight: 900; font-stretch: 70%; font-size: 21px; letter-spacing: .02em; text-transform: uppercase; line-height: 1; }
.marca img { width: 34px; height: 34px; border-radius: 8px; }
.marca span em { font-style: normal; color: var(--gris); }
.cabecera__nota { font-size: 13px; color: var(--crema-2); }

/* ── Botones ───────────────────────────────────────────────────────────── */
.boton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 16px 28px; border: 0; border-radius: 999px;
  background: var(--rojo); color: #fff; font-family: var(--titular); font-weight: 900; font-stretch: 78%; font-size: 21px; letter-spacing: .03em;
  text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; box-shadow: 0 10px 30px rgba(228, 65, 47, .28); }
.boton:hover { background: var(--rojo-2); transform: translateY(-1px); }
.boton:disabled { opacity: .55; cursor: default; transform: none; }
.boton--ancho { width: 100%; }
.boton--claro { background: var(--crema); color: var(--fondo); box-shadow: none; }
.boton--claro:hover { background: #fff; }
.boton__nota { margin: 12px 0 0; font-size: 14px; color: var(--crema-2); }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero { padding: 40px 0 56px; }
.hero .contenedor { display: grid; gap: 36px; align-items: center; }
.hero__sub { font-size: 19px; color: var(--crema-2); max-width: 34em; }
.hero__sub strong { color: var(--crema); }
.portada { justify-self: center; width: min(250px, 66vw); }
.portada img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 30px 60px rgba(0,0,0,.55), 0 0 0 1px var(--linea); transform: rotate(-3deg); }
@media (min-width: 900px) {
  .hero { padding: 72px 0 88px; }
  .hero .contenedor { grid-template-columns: 1.25fr .75fr; gap: 56px; }
  .portada { width: 320px; }
}

/* ── Secciones ─────────────────────────────────────────────────────────── */
.seccion { padding: 64px 0; border-top: 1px solid var(--linea); }
.seccion__intro { font-size: 18px; color: var(--crema-2); max-width: 40em; }
.pasos { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.pasos li { background: var(--fondo-2); border: 1px solid var(--linea); border-radius: var(--radio); padding: 20px 20px 18px; }
.pasos b { display: block; font-family: var(--titular); font-weight: 900; font-stretch: 62%; font-size: 40px; line-height: .9; color: var(--rojo); margin-bottom: 8px; }
.pasos h3 { margin: 0 0 6px; }
.pasos p { margin: 0; color: var(--crema-2); font-size: 16px; }
@media (min-width: 760px) { .pasos { grid-template-columns: repeat(3, 1fr); } }

.perfiles { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; }
.perfiles li { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--linea); border-radius: var(--radio); background: var(--fondo-2); }
.perfiles b { font-family: var(--titular); font-weight: 900; font-stretch: 62%; font-size: 44px; line-height: 1; color: var(--rojo); text-align: center; }
.perfiles strong { display: block; font-family: var(--titular); font-weight: 800; font-stretch: 75%; font-size: 20px; text-transform: uppercase; line-height: 1.1; }
.perfiles span { color: var(--crema-2); font-size: 15px; }
@media (min-width: 760px) { .perfiles { grid-template-columns: repeat(2, 1fr); } }

.final { text-align: center; }
.final .seccion__intro { margin-left: auto; margin-right: auto; }

/* ── Página de la guía: descarga + oferta del ebook ────────────────────── */
.lista-ok { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; }
.lista-ok li { position: relative; padding-left: 30px; color: var(--crema-2); }
.lista-ok li::before { content: ''; position: absolute; left: 0; top: .55em; width: 16px; height: 5px; background: var(--rojo); transform: rotate(-8deg); }
.lista-ok strong { color: var(--crema); }
.oferta { display: grid; gap: 32px; align-items: start; }
.oferta__caja { background: var(--crema); color: var(--fondo); border-radius: 20px; padding: 26px 22px; }
.oferta__caja h3 { font-size: 30px; margin: 0 0 6px; }
.oferta__caja p { color: #3a3835; }
.precio { display: flex; align-items: baseline; gap: 12px; margin: 14px 0 18px; }
.precio b { font-family: var(--titular); font-weight: 900; font-stretch: 62%; font-size: 64px; line-height: 1; }
.precio span { font-size: 14px; color: #57544f; }
.oferta__legal { font-size: 13px; color: #57544f; margin: 14px 0 0; }
.oferta__aviso { min-height: 1.4em; margin: 10px 0 0; font-size: 14px; color: var(--rojo-2); font-weight: 600; }
.oferta .portada { justify-self: center; }
@media (min-width: 900px) { .oferta { grid-template-columns: .8fr 1.2fr; gap: 56px; } }

/* ── Gracias ───────────────────────────────────────────────────────────── */
.gracias { padding: 56px 0 72px; }
.gracias__caja { max-width: 560px; }
.gracias__estado { color: var(--crema-2); }
.gracias .boton { margin-top: 10px; }

/* ── Textos legales ────────────────────────────────────────────────────── */
.legal { padding: 48px 0 72px; max-width: 760px; }
.legal h1 { font-size: clamp(36px, 8vw, 60px); }
.legal h2 { font-size: 26px; margin-top: 1.6em; }
.legal p, .legal li { color: var(--crema-2); }
.legal strong { color: var(--crema); }

/* ── Pie (móvil: una columna, enlaces grandes y sin cortar) ────────────── */
.pie { border-top: 1px solid var(--linea); padding: 32px 0 calc(32px + env(safe-area-inset-bottom)); font-size: 14px; color: var(--gris); }
.pie .contenedor { display: grid; gap: 16px; }
.pie nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.pie nav a { display: inline-block; padding: 8px 0; color: var(--crema-2); text-decoration: none; }
.pie nav a:hover { color: var(--crema); text-decoration: underline; }
.pie p { margin: 0; }
@media (min-width: 760px) { .pie .contenedor { grid-template-columns: 1fr auto; align-items: center; } }

/* ── Gracias: estados, descarga y enlace de acceso ─────────────────────── */
.estado h1 { font-size: clamp(40px, 10vw, 72px); }
.giro { width: 44px; height: 44px; border-radius: 50%; border: 4px solid var(--linea-2); border-top-color: var(--rojo); animation: girar 1s linear infinite; margin: 0 0 20px; }
@keyframes girar { to { transform: rotate(360deg); } }
.descargas { display: grid; gap: 12px; margin: 24px 0; }
.descarga { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radio); background: var(--crema); color: var(--fondo); text-decoration: none; }
.descarga b { display: block; font-family: var(--titular); font-weight: 900; font-stretch: 75%; font-size: 22px; text-transform: uppercase; line-height: 1.05; }
.descarga small { color: #57544f; font-size: 14px; }
.descarga__icono { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--rojo); color: #fff; display: grid; place-items: center; }
.descarga__icono svg { width: 24px; height: 24px; }
.guardar { margin: 24px 0; padding: 18px; border: 1px solid var(--linea-2); border-radius: var(--radio); }
.guardar__fila { display: flex; gap: 10px; flex-wrap: wrap; }
.guardar input { flex: 1 1 220px; min-width: 0; min-height: 48px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--linea-2); background: var(--fondo-2); color: var(--crema); font: 14px var(--texto); }
.guardar .boton { min-height: 48px; padding: 10px 22px; font-size: 18px; margin: 0; }
