:root {
  --azul: #0B1F33;
  --azul-2: #0d2742;
  --oro: #F5B841;
  --verde: #17B26A;
  --celeste: #2BC4D5;
  --marfil: #F7F3EA;
  --grafito: #23272F;
  --white: #FFFFFF;
  --text-muted: #51596a;

  --line: rgba(11, 31, 51, 0.10);
  --line-light: rgba(255, 255, 255, 0.12);
  --shadow-sm: 0 1px 2px rgba(11, 31, 51, 0.06), 0 4px 14px rgba(11, 31, 51, 0.06);
  --shadow-md: 0 12px 34px rgba(11, 31, 51, 0.12), 0 3px 10px rgba(11, 31, 51, 0.06);
  --shadow-lg: 0 30px 70px rgba(11, 31, 51, 0.22);
  --radius: 20px;
  --radius-sm: 13px;
  --maxw: 1160px;

  --font-display: 'Sora', system-ui, sans-serif;
  --font: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--grafito);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.025em; color: var(--azul); margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--oro); color: var(--azul);
  padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 1000; font-weight: 700;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--celeste); outline-offset: 3px; border-radius: 6px; }

/* ---------- Reveal animation (progressive enhancement) ----------
   El contenido es visible por defecto. Solo cuando JS agrega .reveal-on al <html>
   armamos el estado oculto inicial, de modo que si el JS falla nada queda invisible. */
.reveal-on .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal-on .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-weight: 700; font-size: 1rem;
  padding: 13px 24px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .18s ease, box-shadow .22s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--oro); color: var(--azul); box-shadow: 0 10px 26px rgba(245, 184, 65, 0.32); }
.btn-primary:hover { background: #ffce63; transform: translateY(-2px); box-shadow: 0 14px 32px rgba(245, 184, 65, 0.45); }
.btn-ghost { background: rgba(255,255,255,0.04); color: var(--white); border-color: rgba(255, 255, 255, 0.28); }
.btn-ghost:hover { border-color: var(--celeste); color: var(--celeste); transform: translateY(-2px); }
.btn-lg { padding: 15px 30px; font-size: 1.04rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 31, 51, 0.86);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-name { font-family: var(--font-display); color: var(--white); font-weight: 800; font-size: 1.28rem; letter-spacing: -0.02em; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav > a:not(.btn) { color: rgba(255, 255, 255, 0.82); font-weight: 500; font-size: .96rem; transition: color .2s; }
.site-nav > a:not(.btn):hover { color: var(--white); }
.btn-nav { padding: 10px 20px; }
.nav-burger { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(120% 120% at 85% -10%, rgba(43,196,213,.12), transparent 55%),
    radial-gradient(90% 90% at 0% 110%, rgba(23,178,106,.10), transparent 55%),
    linear-gradient(160deg, #0B1F33 0%, #0d2742 60%, #0a1c2f 100%);
  padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 112px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 26px 26px; opacity: .5; mask-image: linear-gradient(180deg, #000, transparent 70%);
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 5vw, 64px); align-items: center;
}
.hero-copy { max-width: 600px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(23, 178, 106, 0.14); color: #6fe6b0;
  border: 1px solid rgba(23, 178, 106, 0.4);
  padding: 7px 15px 7px 12px; border-radius: 999px; font-weight: 600; font-size: 0.84rem; letter-spacing: .005em;
  margin-bottom: 22px;
}
.chip-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--verde); box-shadow: 0 0 0 4px rgba(23,178,106,.2); }
.hero-title { color: var(--white); font-size: clamp(2.3rem, 5.4vw, 3.9rem); font-weight: 800; margin-bottom: 20px; }
.grad { background: linear-gradient(100deg, #ffd982, var(--oro) 60%, #ffce63); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: clamp(1.04rem, 1.7vw, 1.22rem); color: rgba(247, 243, 234, 0.84); max-width: 540px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; color: rgba(247,243,234,.72); font-size: .9rem; font-weight: 500; }

.hero-visual { position: relative; }
.hero-frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.08);
  background: #0a1726;
}
.hero-frame img { width: 100%; height: auto; display: block; }
.hero-badge {
  position: absolute; left: 18px; bottom: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(11, 31, 51, 0.72); backdrop-filter: blur(8px);
  border: 1px solid rgba(23,178,106,.45); color: #d6ffe9;
  padding: 9px 14px; border-radius: 999px; font-weight: 700; font-size: .82rem;
}
.hero-orb {
  position: absolute; inset: auto -16% -24% auto; width: 56%; aspect-ratio: 1;
  background: radial-gradient(circle at center, rgba(245,184,65,.22), transparent 65%);
  filter: blur(12px); pointer-events: none; z-index: -1;
}

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--azul); color: var(--white); border-top: 1px solid rgba(255,255,255,.06); }
.trust-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; padding: 26px 0; }
.trust-lead { font-size: 1.02rem; color: rgba(247,243,234,.72); max-width: 620px; }
.trust-lead strong { color: var(--white); font-weight: 700; }
.trust-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); padding: 8px 14px; border-radius: 999px; font-size: .86rem; font-weight: 600; color: rgba(247,243,234,.9); }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot-verde { background: var(--verde); } .dot-celeste { background: var(--celeste); } .dot-oro { background: var(--oro); }

/* ---------- Sections ---------- */
.section { padding: clamp(60px, 9vw, 108px) 0; }
.section-ivory { background: var(--marfil); }
.section-head { max-width: 660px; margin-bottom: clamp(36px, 5vw, 56px); }
.eyebrow { display: inline-block; color: var(--verde); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; }
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.section-lead { color: var(--text-muted); font-size: 1.08rem; margin-top: 14px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 28px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.step-card::after { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 3px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--celeste), var(--verde)); opacity: .0; transition: opacity .25s; }
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.step-card:hover::after { opacity: 1; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--azul); color: var(--oro); font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; margin-bottom: 16px; }
.step-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step-card p { color: var(--text-muted); font-size: .98rem; }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feature-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; margin-bottom: 18px; }
.icon-celeste { background: rgba(43, 196, 213, 0.13); color: var(--celeste); }
.icon-verde { background: rgba(23, 178, 106, 0.13); color: var(--verde); }
.icon-oro { background: rgba(245, 184, 65, 0.18); color: #c8901e; }
.feature-card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); }

/* ---------- Confianza (dark) ---------- */
.section-dark {
  background:
    radial-gradient(100% 120% at 100% 0%, rgba(43,196,213,.10), transparent 50%),
    linear-gradient(165deg, #0B1F33, #0d2742);
  color: var(--white);
}
.confianza-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.eyebrow-on-dark { color: var(--celeste); }
.on-dark { color: var(--white); font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.on-dark-sub { color: rgba(247,243,234,.78); font-size: 1.08rem; margin-top: 16px; max-width: 420px; }
.confianza-list { display: grid; gap: 14px; }
.confianza-list li { display: flex; gap: 16px; align-items: flex-start; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); border-radius: var(--radius-sm); padding: 20px 22px; }
.conf-ico { flex: 0 0 44px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: rgba(255,255,255,.05); }
.confianza-list h3 { color: var(--white); font-size: 1.08rem; margin-bottom: 4px; }
.confianza-list p { color: rgba(247,243,234,.68); font-size: .96rem; }

/* ---------- Audiences ---------- */
.audiences { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.audience-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.audience-card:nth-child(1) { border-top: 4px solid var(--oro); }
.audience-card:nth-child(2) { border-top: 4px solid var(--celeste); }
.audience-card:nth-child(3) { border-top: 4px solid var(--verde); }
.audience-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.aud-tag { display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: 1.22rem; color: var(--azul); margin-bottom: 12px; }
.audience-card p { color: var(--text-muted); }

/* ---------- Band ---------- */
.band { background: var(--azul); color: var(--white); padding: clamp(56px, 9vw, 92px) 0; text-align: center; }
.band-text { font-family: var(--font-display); font-size: clamp(1.7rem, 4.4vw, 2.7rem); font-weight: 800; letter-spacing: -0.025em; max-width: 880px; margin-inline: auto; }
.band-accent { color: var(--oro); }

/* ---------- Closing ---------- */
.closing-inner { max-width: 680px; text-align: center; margin-inline: auto; }
.closing .eyebrow { margin-bottom: 12px; }
.closing h2 { font-size: clamp(1.9rem, 4.2vw, 2.7rem); margin-bottom: 16px; }
.closing p { font-size: 1.12rem; color: var(--text-muted); margin-bottom: 28px; }
.closing-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.closing-legal { font-size: .9rem; color: var(--text-muted); margin-top: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--azul); color: rgba(247, 243, 234, 0.72); padding: 54px 0 36px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,.09); margin-bottom: 22px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-tagline { font-family: var(--font-display); color: var(--white); font-weight: 700; font-size: 1.02rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-nav a { color: rgba(247,243,234,.7); font-size: .92rem; font-weight: 500; }
.footer-nav a:hover { color: var(--white); }
.footer-legal { font-size: 0.84rem; line-height: 1.7; max-width: 780px; color: rgba(247, 243, 234, 0.55); margin-bottom: 14px; }
.footer-copy { font-weight: 600; font-size: .9rem; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 560px; }
  .confianza-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .features, .audiences { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-burger { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; cursor: pointer; }
  .nav-burger span { display: block; height: 2.5px; width: 24px; background: var(--white); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
  .site-nav { position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--azul); border-bottom: 1px solid rgba(255,255,255,.1); padding: 8px 0 20px; max-height: 0; overflow: hidden; transition: max-height .3s ease; }
  .site-nav > a { padding: 14px clamp(20px, 5vw, 40px); }
  .site-nav > a:not(.btn) { border-bottom: 1px solid rgba(255,255,255,.06); }
  .btn-nav { margin: 14px clamp(20px, 5vw, 40px) 0; justify-content: center; }
  .nav-toggle:checked ~ .site-nav { max-height: 400px; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .trust-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}
