/* OIMONI · landing comercial (MEGASPRINT 013). Sin fuentes, scripts ni imágenes de terceros (CSP: todo 'self').
   Paleta y tipografía del Manual de marca v1.0: azul marino #071126, morado #6B63FA, menta #25EBAC, Sora. */
@font-face {
  font-family: "Sora";
  src: url("/assets/fonts/sora-latin-wght.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #071126;
  --navy-2: #0D1A38;
  --purple: #6B63FA;
  --purple-ink: #4A42E0; /* texto morado sobre blanco: contraste AA */
  --mint: #25EBAC;
  --ink: #141B2E;
  --muted: #545D74;
  --on-navy: #C8CCE6;
  --paper: #FFFFFF;
  --soft: #F4F5FB;
  --line: #E3E5F0;
  --radius: 20px;
  --shadow: 0 24px 60px -24px rgba(7, 17, 38, 0.45);
  --wrap: 1180px;
  --gutter: 20px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple-ink); }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

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

.skip { position: absolute; left: -9999px; top: 8px; background: var(--paper); color: var(--navy); padding: 10px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }

/* ── Cabecera ─────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(7, 17, 38, 0.92); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; }
.brand img { width: 74px; height: auto; }
.site-nav { display: none; gap: 28px; }
.site-nav a { color: var(--on-navy); text-decoration: none; font-size: 15px; font-weight: 500; }
.site-nav a:hover { color: #fff; }

/* ── Botones ─────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 14px; font-weight: 600; font-size: 16px; text-decoration: none; transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--purple); color: #fff; box-shadow: 0 10px 30px -10px rgba(107, 99, 250, 0.8); }
.btn-primary:hover { background: #5A51F5; }
.btn-ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.28); }
.btn-ghost:hover { border-color: var(--mint); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
.btn-light { background: #fff; color: var(--navy); }

/* ── Portada ─────────────────────────────────────────────── */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -30% -10% auto auto; width: 70%; height: 120%; background: radial-gradient(closest-side, rgba(107, 99, 250, 0.35), transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: auto auto -40% -15%; width: 55%; height: 90%; background: radial-gradient(closest-side, rgba(37, 235, 172, 0.14), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; display: grid; gap: 32px; padding-top: 36px; padding-bottom: 48px; }
.pill { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); color: #E6E8F7; font-size: 13px; font-weight: 500; }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.hero h1 { font-size: clamp(32px, 8.4vw, 58px); line-height: 1.08; letter-spacing: -0.02em; font-weight: 800; margin: 18px 0 16px; }
.hero h1 em { font-style: normal; color: var(--mint); }
.hero .lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--on-navy); max-width: 34em; margin: 0 0 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin: 22px 0 0; font-size: 14px; color: #9EA5C6; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero-note span::before { content: "✓ "; color: var(--mint); font-weight: 700; }
.hero-media { position: relative; margin: 0; }
.hero-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 1448 / 1086; object-fit: cover; }
figcaption, .illustrative { font-size: 12px; color: #8C93B3; margin-top: 8px; }

/* ── Secciones ────────────────────────────────────────────── */
.section { padding: 64px 0; }
.section-soft { background: var(--soft); }
.section-navy { background: var(--navy); color: #fff; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--purple-ink); margin-bottom: 10px; }
.section-navy .eyebrow { color: var(--mint); }
h2 { font-size: clamp(26px, 5.4vw, 40px); line-height: 1.15; letter-spacing: -0.015em; font-weight: 800; margin: 0 0 16px; color: var(--navy); }
.section-navy h2 { color: #fff; }
h3 { font-size: 18px; line-height: 1.3; margin: 0 0 6px; color: var(--navy); font-weight: 700; }
.section-navy h3 { color: #fff; }
.intro { font-size: 18px; color: var(--muted); max-width: 40em; margin: 0 0 8px; }
.section-navy .intro, .section-navy p { color: var(--on-navy); }
.center { text-align: center; }
.center .intro { margin-left: auto; margin-right: auto; }

.split { display: grid; gap: 36px; align-items: center; }
.split figure { margin: 0; }
.split figure img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.split .photo-problem { aspect-ratio: 1448 / 1086; object-fit: cover; }
.split .photo-benefits { aspect-ratio: 2 / 3; object-fit: cover; width: 100%; max-width: 440px; margin: 0 auto; }
.split .benefits-fig figcaption { text-align: center; }

.checklist { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.checklist .dot { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: #EEEDFF; color: var(--purple-ink); }
.checklist .dot svg { width: 16px; height: 16px; }
.checklist.mint .dot { background: #DDFBF1; color: #0B7A57; }
.checklist strong { color: var(--navy); }

.cards { display: grid; gap: 18px; margin-top: 32px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -26px rgba(7, 17, 38, 0.4); }
.card p { margin: 0; color: var(--muted); }
.card .icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--navy); color: var(--mint); margin-bottom: 16px; }
.card .icon svg { width: 22px; height: 22px; }
.card .num { font-size: 13px; font-weight: 700; color: var(--purple-ink); margin-bottom: 8px; display: block; }
.note { margin-top: 22px; font-size: 14px; color: var(--muted); background: #fff; border: 1px dashed #C9CCE0; border-radius: 14px; padding: 14px 16px; }
.note strong { color: var(--navy); }

.steps { list-style: none; counter-reset: paso; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.steps li { counter-increment: paso; position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 20px 20px 20px 72px; }
.steps li::before { content: counter(paso); position: absolute; left: 20px; top: 18px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--purple); color: #fff; font-weight: 700; }
.steps p { margin: 0; color: var(--muted); }

.trust { display: grid; gap: 16px; margin-top: 32px; }
.trust-item { background: var(--navy-2); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 18px; padding: 22px; }
.trust-item p { margin: 0 0 10px; }
.trust-item a { color: var(--mint); font-weight: 600; text-decoration: none; }
.trust-item a:hover { text-decoration: underline; }

.platforms { display: grid; gap: 16px; margin-top: 32px; }
.platform { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; display: flex; flex-direction: column; gap: 10px; }
.platform p { margin: 0; color: var(--muted); }
.status { width: fit-content; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.status-live { background: #DDFBF1; color: #0B6E4F; }
.status-soon { background: #EEEFF6; color: #4C5470; }
.platform .btn { margin-top: auto; width: fit-content; }
.store-badges[hidden] { display: none; }
.store-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.store-badges img { height: 48px; width: auto; }

.faq { max-width: 820px; margin: 28px auto 0; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; font-weight: 600; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 22px; color: var(--purple-ink); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

.final { position: relative; overflow: hidden; border-radius: 28px; background: var(--navy); color: #fff; padding: 48px 24px; text-align: center; }
.final::before { content: ""; position: absolute; inset: -60% -20% auto -20%; height: 140%; background: radial-gradient(closest-side, rgba(107, 99, 250, 0.4), transparent 70%); }
.final > * { position: relative; }
.final h2 { color: #fff; }
.final p { color: var(--on-navy); margin: 0 auto 26px; max-width: 32em; }

/* ── Pie ─────────────────────────────────────────────────── */
.site-footer { background: var(--navy); color: var(--on-navy); padding: 48px 0 36px; font-size: 14px; }
.site-footer .wrap { display: grid; gap: 28px; }
.site-footer img { width: 96px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: #fff; text-decoration: none; }
.footer-links a:hover { color: var(--mint); }
.site-footer p { margin: 0; }
.legal-line { color: #8C93B3; font-size: 13px; }

/* ── Tablet y escritorio ─────────────────────────────────── */
@media (min-width: 600px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .platforms { grid-template-columns: repeat(3, 1fr); }
  .trust { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  :root { --gutter: 32px; }
  .site-nav { display: flex; }
  .brand img { width: 84px; }
  .hero .wrap { grid-template-columns: 1.02fr 1fr; align-items: center; gap: 48px; padding-top: 56px; padding-bottom: 80px; }
  .hero h1 { font-size: clamp(40px, 4vw, 56px); }
  .section { padding: 96px 0; }
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split.reverse figure { order: 2; }
  .cards.three { grid-template-columns: repeat(3, 1fr); }
  .cards.six { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(5, 1fr); }
  .steps li { padding: 72px 20px 22px; }
  .steps li::before { top: 20px; }
  .trust { grid-template-columns: repeat(3, 1fr); }
  .final { padding: 72px 48px; }
  .site-footer .wrap { grid-template-columns: auto 1fr; align-items: start; }
  .footer-links { justify-content: flex-end; }
  .site-footer .legal-block { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 22px; }
}
@media (min-width: 1600px) {
  :root { --wrap: 1280px; }
}
