:root {
  --bg: #05121d;
  --bg-2: #081d2e;
  --panel: #0c2438;
  --panel-2: #103049;
  --fg: #e9f3f8;
  --fg-dim: #9db6c4;
  --verde: #1f9fb8;
  --verde-2: #4ccde0;
  --gold: #c9a86a;
  --line: #1c3a4f;
  --line-soft: #142a3a;
  --serif: "Space Grotesk", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --maxw: 1120px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
/* fondo de mar: profundidad, luz de superficie, rayos y grano */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(1300px 720px at 50% -16%, rgba(90,215,235,0.16), transparent 62%),
    radial-gradient(1000px 900px at 84% 14%, rgba(31,159,184,0.12), transparent 55%),
    radial-gradient(1100px 1000px at 4% 92%, rgba(10,45,72,0.55), transparent 60%),
    linear-gradient(180deg, #0a2739 0%, #071b2b 40%, #04101a 100%);
  background-attachment: fixed;
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: 0.5;
  background-image:
    repeating-linear-gradient(112deg, transparent 0 90px, rgba(150,225,240,0.028) 90px 140px, transparent 140px 230px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  background-size: auto, 160px 160px;
  mask-image: radial-gradient(120% 80% at 50% -5%, #000 35%, transparent 80%);
  -webkit-mask-image: radial-gradient(120% 80% at 50% -5%, #000 35%, transparent 80%);
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--verde-2);
}

/* nav */
.nav { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line-soft);
  background: rgba(5,18,29,0.72); backdrop-filter: saturate(1.3) blur(12px); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--serif); font-weight: 600; font-size: 22px; letter-spacing: 0.01em; color: var(--fg); }
.brand .mark { width: 30px; height: 30px; border-radius: 50%; flex: 0 0 auto;
  background: radial-gradient(120% 120% at 30% 20%, #63dcec, #1f9fb8 70%);
  display: grid; place-items: center; color: #04141f;
  box-shadow: 0 0 0 1px rgba(99,220,236,0.35), 0 6px 18px -6px rgba(31,159,184,0.7), inset 0 1px 0 rgba(255,255,255,0.4); }
.brand .mark svg { width: 17px; height: 17px; }
.brand .word { text-transform: uppercase; letter-spacing: 0.17em; font-size: 16px; font-weight: 600; }
.brand .prod { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-dim); font-weight: 400; margin-left: 2px; }
@media (max-width: 620px){ .brand .prod { display: none; } }
.nav__cta { font-family: var(--sans); font-weight: 500; font-size: 15px; background: var(--fg); color: var(--bg); padding: 9px 18px; border-radius: 999px; transition: background .18s ease, color .18s ease; }
.nav__cta:hover { background: var(--verde-2); color: #04120c; }

/* secciones */
.section { padding: 96px 0; border-top: 1px solid var(--line-soft); }
.section:first-of-type { border-top: 0; }
.section--panel { background: linear-gradient(180deg, rgba(255,255,255,0.012), transparent); }
h1, h2, h3.serif { font-family: var(--serif); font-weight: 600; letter-spacing: -0.03em; }
.headline { font-family: var(--serif); font-weight: 600; font-size: clamp(31px, 4.8vw, 48px); line-height: 1.05; letter-spacing: -0.03em; max-width: 15ch; margin: 14px 0 16px; }
.headline em { font-style: normal; color: var(--verde-2); }
.subcopy { font-size: 19px; color: var(--fg-dim); max-width: 34ch; }
.section.center { text-align: center; }
.section.center .headline, .section.center .subcopy { margin-left: auto; margin-right: auto; }
.cta { display: inline-block; margin-top: 26px; background: var(--verde); color: #04120c; font-weight: 600; padding: 13px 24px; border-radius: 999px; font-size: 16px; transition: background .18s ease; }
.cta:hover { background: var(--verde-2); }
.cta-note { font-family: var(--mono); font-size: 12px; color: var(--fg-dim); margin-top: 14px; letter-spacing: 0.03em; }
.section.center .cta-note { text-align: center; }
.fineprint { color: var(--fg-dim); font-size: 12.5px; max-width: 60ch; margin: 0 auto; opacity: 0.7; font-family: var(--mono); line-height: 1.7; }

/* hero */
.hero { padding: 76px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 54px; align-items: center; }
@media (max-width: 900px){ .hero-grid { grid-template-columns: 1fr; gap: 44px; } }

/* pieza firma: certificado */
.cert {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: 18px; padding: 24px 24px 22px;
  box-shadow: 0 40px 90px -50px rgba(0,0,0,0.9), inset 0 1px 0 rgba(255,255,255,0.03);
  position: relative; overflow: hidden;
}
.cert::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px 180px at 85% -10%, rgba(46,190,215,0.20), transparent 60%); }
.cert-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px dashed var(--line); padding-bottom: 14px; margin-bottom: 4px; position: relative; }
.cert-head .t { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-dim); }
.cert-head .b { font-family: var(--serif); font-size: 16px; font-weight: 600; }
.crow { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
.crow:last-of-type { border-bottom: 0; }
.crow .lbl { font-size: 14px; color: var(--fg); }
.crow .lbl small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: var(--fg-dim); text-transform: uppercase; margin-top: 3px; }
.crow .st { font-family: var(--mono); font-size: 12px; color: var(--verde-2); display: inline-flex; align-items: center; gap: 7px; }
.crow .st .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--verde-2); box-shadow: 0 0 0 3px rgba(76,205,224,0.18); }
.verdict { margin-top: 16px; display: flex; align-items: center; gap: 14px; background: rgba(46,190,215,0.09); border: 1px solid var(--line); border-radius: 13px; padding: 14px 16px; }
.seal { width: 50px; height: 50px; border-radius: 50%; flex: 0 0 auto; border: 2px solid var(--gold); color: var(--gold); display: grid; place-items: center;
  transform: scale(0.55) rotate(-16deg); opacity: 0; transition: transform .6s cubic-bezier(.2,.9,.25,1.25), opacity .45s ease; }
.seal svg { width: 26px; height: 26px; }
.cert.stamped .seal { transform: scale(1) rotate(-9deg); opacity: 1; }
.verdict .vt b { font-family: var(--serif); font-weight: 600; font-size: 19px; display: block; }
.verdict .vt span { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-dim); }

/* pilares */
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 42px; text-align: left; }
.pillar { background: var(--panel); border: 1px solid var(--line); border-radius: 15px; padding: 26px; }
.pillar .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--verde-2); display: block; margin-bottom: 12px; }
.pillar h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; margin-bottom: 8px; }
.pillar p { color: var(--fg-dim); font-size: 15.5px; }
@media (max-width: 640px){ .pillars { grid-template-columns: 1fr; } }

/* sello niveles */
.seal-levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 40px 0 22px; }
.lvl { background: var(--panel); border: 1px solid var(--line); border-radius: 15px; padding: 24px; text-align: left; }
.lvl.mid { border-color: var(--gold); box-shadow: 0 24px 60px -44px rgba(201,168,106,0.5); }
.lvl .badge { display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; border: 1px solid var(--verde); color: var(--verde-2); border-radius: 999px; padding: 5px 14px; margin-bottom: 12px; }
.lvl.mid .badge { border-color: var(--gold); color: var(--gold); }
.lvl p { color: var(--fg-dim); font-size: 14.5px; }

/* tiers */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 42px 0 22px; text-align: left; }
.tier { background: var(--panel); border: 1px solid var(--line); border-radius: 17px; padding: 28px; }
.tier--featured { border-color: var(--gold); box-shadow: 0 30px 70px -48px rgba(201,168,106,0.55); }
.tier h3 { font-family: var(--serif); font-size: 27px; font-weight: 500; }
.tier__for { color: var(--fg-dim); margin: 4px 0 16px; font-size: 15px; }
.tier ul { list-style: none; }
.tier li { color: var(--fg-dim); font-size: 14.5px; padding: 9px 0; border-top: 1px solid var(--line-soft); display: flex; gap: 10px; }
.tier li::before { content: "+"; color: var(--verde-2); font-family: var(--mono); }
@media (max-width: 860px){ .tiers { grid-template-columns: 1fr; } }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--fg-dim); font-size: 13px; }
.footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.footer__note { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; opacity: 0.8; }

/* manifiesto: parrafo mas largo, centrado */
.lede { font-size: 21px; color: var(--fg-dim); max-width: 44ch; margin: 0 auto; line-height: 1.55; }
.lede strong { color: var(--fg); font-weight: 500; }

/* pasos (como funciona) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--panel); text-align: left; margin-top: 44px; }
.step { padding: 26px 22px; border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; }
.step .n { font-family: var(--mono); font-size: 12px; color: var(--verde-2); letter-spacing: 0.1em; }
.step h3 { font-family: var(--serif); font-weight: 600; font-size: 19px; margin: 12px 0 8px; letter-spacing: -0.02em; }
.step p { color: var(--fg-dim); font-size: 14.5px; }
@media (max-width: 820px){ .steps { grid-template-columns: 1fr 1fr; } .step:nth-child(2){ border-right: 0; } .step:nth-child(1),.step:nth-child(2){ border-bottom: 1px solid var(--line); } }
@media (max-width: 520px){ .steps { grid-template-columns: 1fr; } .step { border-right: 0; border-bottom: 1px solid var(--line); } .step:last-child { border-bottom: 0; } }

/* comparativa */
.compare-wrap { margin-top: 42px; overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; text-align: left; font-size: 14.5px; min-width: 620px; }
.compare th, .compare td { border-bottom: 1px solid var(--line-soft); padding: 15px 14px; }
.compare thead th { font-family: var(--mono); font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--fg-dim); font-weight: 500; }
.compare thead th.us { color: var(--verde-2); }
.compare tbody th { font-family: var(--sans); font-weight: 500; color: var(--fg); }
.compare tbody td { color: var(--fg-dim); font-family: var(--mono); font-size: 13px; }
.compare .us { background: rgba(76,205,224,0.06); }
.compare .yes { color: var(--verde-2); }
.compare .no { color: #6b8394; }
@media (max-width: 640px){ .compare th, .compare td { padding: 11px 8px; } }

/* enlace de verificacion del sello en el certificado */
.cert-verify { margin-top: 12px; text-align: right; }
.cert-verify a { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--verde-2); border-bottom: 1px solid rgba(76,205,224,0.35); padding-bottom: 1px; }

/* valores: tranquilidad, agilidad, sencillez */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; text-align: left; }
.value { background: linear-gradient(180deg, rgba(76,205,224,0.05), transparent); border: 1px solid var(--line); border-radius: 16px; padding: 30px 26px; }
.value .ic { width: 34px; height: 34px; color: var(--verde-2); margin-bottom: 16px; }
.value h3 { font-family: var(--serif); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; margin-bottom: 8px; }
.value p { color: var(--fg-dim); font-size: 15.5px; }
@media (max-width: 760px){ .values { grid-template-columns: 1fr; } }

/* declaracion grande */
.statement { font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 5vw, 54px); line-height: 1.08; letter-spacing: -0.03em; max-width: 18ch; margin: 0 auto; }
.statement em { font-style: normal; color: var(--verde-2); }
.statement-sub { font-size: 19px; color: var(--fg-dim); max-width: 42ch; margin: 22px auto 0; }

/* prueba / transparencia */
.proof { max-width: 46ch; margin: 0 auto; }

/* faq / objeciones */
.faq { max-width: 780px; margin: 42px auto 0; text-align: left; }
.faq .q { border-top: 1px solid var(--line-soft); padding: 24px 0; }
.faq .q:last-child { border-bottom: 1px solid var(--line-soft); }
.faq .q h3 { font-family: var(--serif); font-weight: 600; font-size: 19px; margin-bottom: 9px; letter-spacing: -0.02em; }
.faq .q p { color: var(--fg-dim); font-size: 15.5px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1; transform: none; transition: none; } .seal { transition: none; opacity: 1; transform: scale(1) rotate(-9deg); } }
