/* Tokens */
:root {
  --void: #05080f;
  --navy: #0b1f3a;
  --navy-2: #1a2c45;
  --silver: #dfe6ee;
  --silver-2: #9aa7b6;
  --ice: #7cc8ff;
  --chrome: linear-gradient(180deg, #ffffff 0%, #dfe6ee 45%, #a9b4c1 100%);
  --paper: #f3f5f7;
  --white: #ffffff;
  --ink: #0f1a2a;
  --steel: #56677d;
  --line: #d3dae2;
  --fiber: #dfe6ee;
  --apc: #1d8a5a;
  --error: #b42318;

  --display: "Clash Display", "General Sans", system-ui, sans-serif;
  --font: "General Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: var(--font);

  --fs-0: 1rem;
  --fs-1: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  --fs-2: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-3: clamp(1.625rem, 1.3rem + 1.4vw, 2.25rem);
  --fs-4: clamp(2.125rem, 1.5rem + 2.8vw, 3.5rem);

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 72px; --s9: 112px;

  --r1: 4px; --r2: 8px;
  --max: 1200px;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: var(--fs-0); line-height: 1.6; color: var(--ink); background: var(--white); overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 var(--s4); font-weight: 600; text-wrap: balance; }
p { margin: 0 0 var(--s4); max-width: 68ch; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--fiber); outline-offset: 3px; border-radius: 2px; }
.section-alt :focus-visible, .section:not(.section-dark) :focus-visible { outline-color: var(--navy); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--mono); }

.skip { position: absolute; left: var(--s4); top: -100px; z-index: 100; background: var(--fiber); color: var(--navy); padding: var(--s2) var(--s4); font-weight: 600; }
.skip:focus { top: var(--s2); }

.wrap { width: min(100% - 2 * var(--s5), var(--max)); margin-inline: auto; }
.narrow { max-width: 760px; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--s5); border: 2px solid transparent; border-radius: var(--r1); font: 600 var(--fs-0)/1 var(--font); text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--fiber); color: var(--navy); }
.btn-primary:hover { background: #ffc61a; }
.btn-lg { min-height: 54px; padding: 0 var(--s6); font-size: var(--fs-1); }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-ghost-light { background: transparent; border-color: var(--white); color: var(--white); }
.link-plain { display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; }

/* Encabezado */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: var(--white); border-bottom: 1px solid var(--navy-2); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: var(--s4); }
.brand { display: inline-flex; align-items: center; gap: var(--s2); font-weight: 700; font-size: 1.25rem; text-decoration: none; min-height: 44px; }
.menu-btn { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; padding: 0 var(--s3); background: none; border: 1px solid #ffffff55; border-radius: var(--r1); color: var(--white); font: 500 var(--fs-0) var(--font); cursor: pointer; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; } .menu-icon::after { top: 6px; }
.nav { position: absolute; inset: var(--header-h) 0 auto 0; background: var(--navy); padding: var(--s4) var(--s5) var(--s5); border-bottom: 1px solid var(--navy-2); display: none; }
.nav.is-open { display: block; }
.nav ul { list-style: none; margin: 0 0 var(--s4); padding: 0; }
.nav li a { display: flex; align-items: center; min-height: 48px; text-decoration: none; border-bottom: 1px solid var(--navy-2); }
.nav li a:hover { color: var(--fiber); }
.nav .btn { width: 100%; }

@media (min-width: 960px) {
  .menu-btn { display: none; }
  .nav { position: static; display: flex !important; align-items: center; gap: var(--s5); padding: 0; border: 0; background: none; }
  .nav ul { display: flex; gap: var(--s5); margin: 0; }
  .nav li a { border: 0; min-height: 44px; }
  .nav .btn { width: auto; min-height: 44px; }
}

/* Portada */
.hero { background: var(--navy); color: var(--white); padding: var(--s7) 0 var(--s8); }
.hero-grid { display: grid; gap: var(--s7); align-items: center; }
.kicker { color: #c9d4e2; font-size: var(--fs-1); margin-bottom: var(--s4); }
.hero h1 { font-size: var(--fs-4); font-weight: 700; max-width: 16ch; letter-spacing: -0.01em; }
.lead { font-size: var(--fs-1); color: #dbe3ec; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4) var(--s5); margin: var(--s5) 0; }
.actions.center { justify-content: center; margin-top: var(--s7); }
.integrations-line { font-size: 0.9375rem; color: #b6c3d3; border-top: 1px solid var(--navy-2); padding-top: var(--s4); }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.05fr 1fr; } }

/* Diagrama del suscriptor */
.journey { margin: 0; background: #0f2747; border: 1px solid #284a73; border-radius: var(--r2); padding: var(--s5); container-type: inline-size; }
.journey-head { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); margin-bottom: var(--s3); font-size: 0.9375rem; }
.journey-tag { font-size: 0.875rem; color: #b6c3d3; }
.journey-line { width: 100%; height: 12px; margin-bottom: calc(-1 * var(--s5) - 4px); position: relative; }
.fiber-base { stroke: #3a5a80; stroke-width: 3; }
.fiber-signal { stroke: var(--fiber); stroke-width: 3; stroke-dasharray: 460; stroke-dashoffset: 460; transition: stroke-dashoffset .6s ease; }
.journey-steps { list-style: none; margin: 0 0 var(--s5); padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.journey-steps button { width: 100%; min-height: 64px; display: flex; flex-direction: column; align-items: center; gap: var(--s2); padding: 0 2px; background: none; border: 0; color: #c9d4e2; font: 500 0.875rem var(--font); cursor: pointer; }
.node { width: 18px; height: 18px; border-radius: 50%; background: var(--navy); border: 3px solid #3a5a80; transition: transform .2s ease, background-color .2s ease, border-color .2s ease; }
.journey-steps button.is-done .node { border-color: var(--fiber); background: var(--fiber); }
.journey-steps button[aria-selected="true"] { color: var(--white); font-weight: 600; }
.journey-steps button[aria-selected="true"] .node { border-color: var(--fiber); background: var(--navy); transform: scale(1.3); }
.journey-steps button:hover .node { border-color: var(--fiber); }
.journey-panels { background: var(--white); color: var(--ink); border-radius: var(--r1); padding: var(--s5); min-height: 220px; }
.panel-title { font-size: var(--fs-2); }
.ticket { display: grid; grid-template-columns: max-content 1fr; gap: var(--s2) var(--s4); margin: 0; font-size: 0.9375rem; }
.ticket dt { font-family: var(--mono); color: var(--steel); }
.ticket dd { margin: 0; }
@container (max-width: 420px) {
  .ticket { grid-template-columns: 1fr; gap: 0; }
  .ticket dd { margin-bottom: var(--s3); }
  .journey-steps button { font-size: 0.8125rem; }
}

/* Secciones */
.section { padding: var(--s8) 0; }
.section-alt { background: var(--paper); }
.section-dark { background: var(--navy); color: var(--white); }
.section-title { font-size: var(--fs-3); max-width: 24ch; }
.section-lead { font-size: var(--fs-1); color: var(--steel); }
.section-dark .section-lead { color: #c9d4e2; }
@media (min-width: 768px) { .section { padding: var(--s9) 0; } }

/* Beneficios */
.benefits { list-style: none; padding: 0; margin: var(--s6) 0 0; display: grid; gap: var(--s6) var(--s7); }
.benefits li { border-top: 3px solid var(--navy); padding-top: var(--s4); }
.benefits h3 { font-size: var(--fs-2); }
.benefits p { color: #33445a; }
@media (min-width: 768px) { .benefits { grid-template-columns: 1fr 1fr; } }

/* Módulos */
.modules { display: grid; gap: var(--s5); margin-top: var(--s6); }
.module-list { display: flex; gap: var(--s2); overflow-x: auto; padding-bottom: var(--s2); scrollbar-width: thin; }
.module-list button { flex: 0 0 auto; min-height: 48px; padding: var(--s2) var(--s4); background: var(--white); border: 1px solid var(--line); border-radius: var(--r1); font: 500 var(--fs-0) var(--font); color: var(--ink); text-align: left; cursor: pointer; }
.module-list button:hover { border-color: var(--steel); }
.module-list button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.module-panels article { background: var(--white); border: 1px solid var(--line); border-radius: var(--r2); padding: var(--s6); }
.module-panels h3 { font-size: var(--fs-2); }
.module-panels ul { padding-left: 1.2em; margin: 0 0 var(--s5); }
.module-panels li { margin-bottom: var(--s2); }
.module-panels li::marker { color: var(--apc); }
.example { border-left: 3px solid var(--fiber); padding-left: var(--s4); margin: 0; }
@media (min-width: 900px) {
  .modules { grid-template-columns: 300px 1fr; align-items: start; }
  .module-list { flex-direction: column; overflow: visible; }
  .module-list button { width: 100%; }
}

/* Ecosistema */
.eco-grid { display: grid; gap: var(--s7); align-items: center; }
.eco-list { list-style: none; padding: 0; margin: var(--s5) 0 0; }
.eco-list li { padding: var(--s3) 0; border-bottom: 1px solid var(--navy-2); }
.eco-map { margin: 0; }
.eco-links path { stroke: #4b6d96; stroke-width: 2; stroke-dasharray: 4 5; }
.eco-node circle { fill: var(--fiber); }
.eco-node text, .eco-core text { fill: var(--white); font: 500 14px var(--mono); text-anchor: middle; }
.eco-core rect { fill: var(--navy-2); stroke: var(--fiber); stroke-width: 2; }
.eco-core text { font: 600 18px var(--font); }
@media (min-width: 900px) { .eco-grid { grid-template-columns: 1fr 1.1fr; } }

/* Cómo funciona */
.steps { list-style: none; counter-reset: paso; padding: 0; margin: var(--s6) 0 0; display: grid; gap: var(--s5); }
.steps li { counter-increment: paso; position: relative; padding: var(--s5) 0 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(paso, decimal-leading-zero); display: block; font: 500 var(--fs-2) var(--mono); color: var(--steel); margin-bottom: var(--s2); }
.steps h3 { font-size: var(--fs-1); }
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: var(--s5); }
  .steps li { border-top: 3px solid var(--navy); }
}

/* Casos */
.cases { display: grid; gap: var(--s5); margin-top: var(--s6); }
.case { background: var(--white); border: 1px solid var(--line); border-radius: var(--r2); padding: var(--s5); }
.case h3 { font-size: var(--fs-1); }
.case-problem { color: var(--steel); }
@media (min-width: 900px) { .cases { grid-template-columns: repeat(3, 1fr); } }

/* Tabla */
.table-wrap { overflow-x: auto; margin-top: var(--s6); border: 1px solid var(--line); border-radius: var(--r2); }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; }
.compare th, .compare td { text-align: left; padding: var(--s4); border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--navy); color: var(--white); font-weight: 600; }
.compare tbody th { font-weight: 600; }
.compare td:last-child { font-weight: 500; }
.compare td:nth-child(2) { color: var(--steel); }
.compare tbody tr:last-child > * { border-bottom: 0; }

/* Planes */
.plan-finder { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r2); padding: var(--s5); margin: var(--s6) 0; }
.plan-finder h3 { font-size: var(--fs-1); }
.finder-fields { display: grid; gap: var(--s5); }
.finder-result { margin: var(--s4) 0 0; font-weight: 500; }
@media (min-width: 768px) { .finder-fields { grid-template-columns: 240px 1fr; } }
.plans { display: grid; gap: var(--s5); }
.plan { border: 1px solid var(--line); border-radius: var(--r2); padding: var(--s6) var(--s5); display: flex; flex-direction: column; transition: border-color .2s ease; }
.plan h3 { font-size: var(--fs-2); margin-bottom: var(--s2); }
.plan-for { color: var(--steel); }
.plan ul { padding-left: 1.2em; margin: 0 0 var(--s5); flex: 1; }
.plan li { margin-bottom: var(--s2); }
.plan-price { font-family: var(--mono); font-size: 0.9375rem; margin: 0; padding-top: var(--s4); border-top: 1px solid var(--line); }
.plan-featured { border: 2px solid var(--navy); }
.badge { align-self: flex-start; background: var(--navy); color: var(--white); font-size: 0.875rem; font-weight: 600; padding: var(--s1) var(--s3); border-radius: var(--r1); margin-bottom: var(--s3); }
.plan.is-recommended { border: 2px solid var(--apc); box-shadow: inset 0 0 0 1px var(--apc); }
.plan.is-recommended h3::after { content: " · recomendado para ti"; font-size: 1rem; font-weight: 500; color: var(--apc); }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }

/* FAQ */
.faq { margin-top: var(--s5); border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--s4); min-height: 56px; padding: var(--s3) 0; font-weight: 600; font-size: var(--fs-1); cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 1.5rem var(--mono); color: var(--steel); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: var(--s4); }

/* Formularios */
.field { display: flex; flex-direction: column; gap: var(--s1); margin: 0 0 var(--s4); border: 0; padding: 0; min-width: 0; }
.field > label, .field > span, .field legend { font-weight: 500; }
.field legend { margin-bottom: var(--s2); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], textarea {
  width: 100%; min-height: 48px; padding: var(--s3); font: 400 var(--fs-0) var(--font); color: var(--ink);
  background: var(--white); border: 1px solid #8494a7; border-radius: var(--r1);
}
textarea { resize: vertical; }
input:focus-visible, textarea:focus-visible { outline: 3px solid var(--fiber); outline-offset: 1px; border-color: var(--navy); }
.check { display: flex; gap: var(--s3); align-items: flex-start; min-height: 44px; padding: var(--s2) 0; font-weight: 400; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--apc); }
.hint { font-size: 0.9375rem; margin: 0; }
.error { margin: 0; font-size: 0.9375rem; font-weight: 500; }
.error:empty { display: none; }
[aria-invalid="true"] { border-color: var(--error) !important; border-width: 2px !important; }

.contact-grid { display: grid; gap: var(--s7); }
.contact-alt { padding-left: 1.2em; }
.contact-alt li { margin-bottom: var(--s2); }
.section-dark a { color: var(--white); }
.demo-form { background: var(--white); color: var(--ink); border-radius: var(--r2); padding: var(--s5); }
.demo-form a { color: var(--navy); }
.demo-form .hint { color: var(--steel); }
.demo-form .error { color: var(--error); }
.field-row { display: grid; gap: 0 var(--s4); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: var(--s4) 0 0; font-weight: 500; }
.form-status.is-ok { color: var(--apc); }
.form-status.is-error { color: var(--error); }
[data-submit][aria-busy="true"] { opacity: .7; cursor: progress; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } .demo-form { padding: var(--s6); } }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1.2fr; align-items: start; } }

/* Legal */
.legal { padding: var(--s7) 0; border-top: 1px solid var(--line); }
.legal h2 { font-size: var(--fs-2); }
.legal + .legal { padding-top: 0; border-top: 0; }

/* Pie */
.site-footer { background: var(--navy); color: #c9d4e2; padding: var(--s6) 0; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s4); }
.footer-inner p { margin: 0; }
.footer-inner ul { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin: 0; padding: 0; }
.footer-inner a { display: inline-flex; align-items: center; min-height: 44px; }

/* Cookies */
.cookie-bar { position: fixed; inset: auto var(--s3) var(--s3) var(--s3); z-index: 60; background: var(--navy); color: var(--white); border: 1px solid #284a73; border-radius: var(--r2); padding: var(--s4) var(--s5); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3) var(--s5); max-width: 760px; margin-inline: auto; }
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; }
.cookie-bar a { color: var(--white); }
.cookie-actions { display: flex; gap: var(--s3); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Identidad: plata y fibra sobre noche, a partir del logo */
:focus-visible { outline-color: var(--ice); }
.section:not(.section-dark) :focus-visible { outline-color: var(--navy); }
.skip { background: var(--silver); }
.site-header { background: rgb(5 8 15 / .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom-color: #ffffff14; }
.brand img { height: 48px; width: auto; }
.nav { background: var(--void); }
.nav li a:hover { color: var(--ice); }
@media (min-width: 960px) { .nav { background: none; } }

.btn-primary { background: var(--chrome); color: var(--void); box-shadow: inset 0 1px 0 #fff, 0 1px 0 #ffffff22, 0 8px 24px -8px rgb(124 200 255 / .45); }
.btn-primary:hover { background: linear-gradient(180deg, #fff, #eef3f8 50%, #c3ccd6); box-shadow: inset 0 1px 0 #fff, 0 10px 30px -8px rgb(124 200 255 / .7); }
.section:not(.section-dark):not(.hero) .btn-primary { background: var(--void); color: var(--white); box-shadow: 0 8px 24px -10px rgb(5 8 15 / .6); }
.section:not(.section-dark):not(.hero) .btn-primary:hover { background: var(--navy); }

/* Portada en 3D */
.hero { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(120% 90% at 75% 20%, #12294a 0%, var(--void) 60%); padding: var(--s8) 0 var(--s9); }
.fiber-field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 120px; background: linear-gradient(transparent, var(--void)); z-index: -1; pointer-events: none; }
.hero h1 { background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 12px rgb(124 200 255 / .18)); }
.kicker, .lead { color: #c3cdd9; }
.integrations-line { color: var(--silver-2); border-top-color: #ffffff1a; }

.tilt, [data-tilt] { transform-style: preserve-3d; transition: transform .25s ease-out; will-change: transform; }
.journey { background: linear-gradient(160deg, rgb(26 44 69 / .75), rgb(5 8 15 / .8)); border: 1px solid #ffffff22; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 40px 80px -30px #000, inset 0 1px 0 #ffffff1f; }
.journey-panels { transform: translateZ(40px); box-shadow: 0 20px 40px -20px #000; }
.journey-steps { transform: translateZ(24px); }
.fiber-base { stroke: #2b3f5c; }
.fiber-signal { stroke: var(--ice); filter: drop-shadow(0 0 4px var(--ice)); }
.node { background: var(--void); border-color: #3b5272; }
.journey-steps button.is-done .node { background: var(--silver); border-color: var(--silver); box-shadow: 0 0 10px var(--ice); }
.journey-steps button[aria-selected="true"] .node { border-color: var(--ice); box-shadow: 0 0 0 4px rgb(124 200 255 / .2), 0 0 14px var(--ice); }
.journey-steps button:hover .node { border-color: var(--ice); }
.example { border-left-color: var(--ice); }

/* Secciones oscuras con profundidad */
.section-dark { background: radial-gradient(90% 70% at 20% 0%, #10223d, var(--void) 70%); }
.section-alt { background: linear-gradient(180deg, #eef2f6, #f7f9fb); }
.benefits li { border-top: 0; position: relative; padding: var(--s5); background: var(--white); border-radius: var(--r2); box-shadow: 0 1px 0 #ffffff inset, 0 0 0 1px var(--line), 0 18px 40px -28px rgb(5 8 15 / .45); }
.benefits li::before { content: ""; position: absolute; left: var(--s5); right: var(--s5); top: 0; height: 2px; background: linear-gradient(90deg, var(--navy), var(--ice), transparent); }
.module-panels article, .case { box-shadow: 0 24px 50px -34px rgb(5 8 15 / .5); }
.module-list button[aria-selected="true"] { background: linear-gradient(180deg, var(--navy-2), var(--void)); border-color: var(--void); box-shadow: inset 0 1px 0 #ffffff22; }
.module-panels li::marker { color: var(--navy); }

.eco-map { position: relative; perspective: 900px; }
.eco-map svg { transform: rotateX(18deg); transform-origin: 50% 60%; }
.eco-mark { position: absolute; inset: 22% 18% auto; width: 64%; height: auto; opacity: .09; pointer-events: none; }
.eco-links path { stroke: #5b7aa0; animation: flow 3s linear infinite; }
.eco-node circle { fill: var(--silver); filter: drop-shadow(0 0 6px var(--ice)); }
.eco-core rect { fill: #0e1c31; stroke: var(--silver); }
@keyframes flow { to { stroke-dashoffset: -18; } }

.compare thead th { background: var(--void); }
.plan { background: var(--white); box-shadow: 0 30px 60px -40px rgb(5 8 15 / .55); }
.plan-featured { border: 0; background: linear-gradient(170deg, #13243d, var(--void)); color: var(--white); box-shadow: 0 40px 70px -30px rgb(5 8 15 / .8), inset 0 1px 0 #ffffff24; }
.plan-featured .plan-for { color: #c3cdd9; }
.plan-featured .plan-price { border-top-color: #ffffff22; }
.plan-featured .badge { background: var(--chrome); color: var(--void); }
.plan.is-recommended { outline: 2px solid var(--apc); outline-offset: 3px; border-color: var(--line); box-shadow: 0 30px 60px -40px rgb(29 138 90 / .7); }
.plan-featured.is-recommended h3::after { color: #6fe0a8; }

.demo-form { box-shadow: 0 40px 80px -40px #000; }
.site-footer { background: var(--void); }
.footer-logo { width: 140px; height: auto; }
.cookie-bar { background: rgb(5 8 15 / .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: #ffffff22; }

@media (prefers-reduced-motion: reduce) {
  .eco-links path { animation: none; }
  [data-tilt] { transform: none !important; }
}
.brand img { height: 40px; width: auto; }
.brand-name { font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.brand-name small { display: block; font-size: .625rem; letter-spacing: .3em; margin-top: 4px; font-weight: 500; }
.site-header { background: rgb(5 8 15 / .94); }

/* Tipografía premium */
body { font-feature-settings: "ss01", "kern"; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
h1, h2, h3, .panel-title, .brand-name, .faq summary { font-family: var(--display); letter-spacing: -0.01em; }
h1 { font-weight: 600; letter-spacing: -0.025em; line-height: 1.02; }
h2 { font-weight: 600; letter-spacing: -0.02em; }
h3, .faq summary { font-weight: 500; }
.brand-name { font-weight: 600; letter-spacing: .08em; }
.btn { font-family: var(--font); font-weight: 600; letter-spacing: .01em; }
.mono, .ticket dt, .plan-price, .eco-node text, .steps li::before, .faq summary::after { font-family: var(--font); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.ticket dt, .plan-price { font-size: .8125rem; text-transform: uppercase; letter-spacing: .1em; }
.steps li::before { font-family: var(--display); font-size: var(--fs-3); font-weight: 500; color: #b8c3cf; letter-spacing: -0.02em; }
.eco-core text { font-family: var(--display); }
.kicker { letter-spacing: .02em; }

/* Secuencia de entrada de la portada */
.ln { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.ln > span { display: inline-block; background: inherit; -webkit-background-clip: text; background-clip: text; }
@media (prefers-reduced-motion: no-preference) {
  .js .site-header { animation: in-down .7s cubic-bezier(.2,.7,.2,1) both; }
  .js .fiber-field { animation: in-fade 1.8s ease .2s both; }
  .js .hero .kicker { animation: in-up .7s cubic-bezier(.2,.7,.2,1) .25s both; }
  .js .hero h1 .ln > span { animation: in-line .9s cubic-bezier(.2,.8,.2,1) both; }
  .js .hero h1 .ln:nth-child(1) > span { animation-delay: .35s; }
  .js .hero h1 .ln:nth-child(2) > span { animation-delay: .45s; }
  .js .hero h1 .ln:nth-child(3) > span { animation-delay: .55s; }
  .js .hero h1 .ln:nth-child(4) > span { animation-delay: .65s; }
  .js .hero .lead { animation: in-up .8s cubic-bezier(.2,.7,.2,1) .85s both; }
  .js .hero .actions { animation: in-up .8s cubic-bezier(.2,.7,.2,1) 1s both; }
  .js .hero .integrations-line { animation: in-fade 1s ease 1.2s both; }
  .js .journey { animation: in-card 1.2s cubic-bezier(.16,.8,.2,1) .6s both; }
  .js .journey-panels { animation: in-fade .8s ease 1.4s both; }
  .js .hero .btn-primary::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / .85) 50%, transparent 65%); background-size: 250% 100%; animation: shine 1.2s ease 1.6s both; pointer-events: none; }
  .js .hero .btn-primary { position: relative; overflow: hidden; }
  .js .brand img { animation: in-fade 1s ease .15s both, glint 1.4s ease 1.1s both; }
}
@keyframes in-down { from { transform: translateY(-100%); opacity: 0; } }
@keyframes in-up { from { transform: translateY(18px); opacity: 0; } }
@keyframes in-fade { from { opacity: 0; } }
@keyframes in-line { from { transform: translateY(105%); } }
@keyframes in-card { from { opacity: 0; transform: perspective(1200px) rotateX(18deg) rotateY(-14deg) translateY(40px) scale(.94); } }
@keyframes shine { from { background-position: 150% 0; } to { background-position: -50% 0; } }
@keyframes glint { 50% { filter: brightness(1.8) drop-shadow(0 0 6px #7cc8ff); } }
.hero h1 { background: none; filter: none; color: var(--silver); }
.hero h1 .ln > span { background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 12px rgb(124 200 255 / .18)); }

/* Imagen de la portada */
.hero-visual { margin: 0; position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 50px 90px -40px #000, 0 0 0 1px #ffffff14; }
.hero-visual img { width: 100%; height: auto; }
.hero-visual::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 60px 20px rgb(5 8 15 / .55); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .hero-visual { animation: in-card 1.2s cubic-bezier(.16,.8,.2,1) .6s both; }
}

/* La imagen se integra al anillo de fibra: sin marco, bordes fundidos */
.hero-grid { position: relative; z-index: 1; }
.fiber-front { z-index: 2; pointer-events: none; }
.hero-visual { border-radius: 0; overflow: visible; box-shadow: none; background: none;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 52%, #000 58%, transparent 100%);
          mask-image: radial-gradient(ellipse 50% 50% at 50% 52%, #000 58%, transparent 100%); }
.hero-visual::after { display: none; }
.hero-visual img { filter: saturate(1.05) contrast(1.04); }
@media (min-width: 1024px) { .hero-visual { transform: scale(1.12); transform-origin: 50% 50%; } }

/* Botón "Solicitar demo": metal pulido con brillo de fibra */
.btn-primary {
  --cal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='3'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3Ccircle cx='12' cy='15.5' r='1.6' fill='black' stroke='none'/%3E%3C/svg%3E");
  position: relative; isolation: isolate; overflow: hidden;
  gap: 10px; border-radius: 999px; border: 0; padding-inline: 26px;
  font-weight: 600; letter-spacing: .015em;
  color: #06101f;
  background:
    linear-gradient(180deg, rgb(255 255 255 / .9), rgb(255 255 255 / 0) 52%),
    linear-gradient(180deg, #f6f9fc 0%, #d9e1ea 48%, #b3bfcc 52%, #dfe6ee 100%);
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -1px 0 rgb(0 0 0 / .18),
    0 0 0 1px rgb(255 255 255 / .35),
    0 10px 28px -10px rgb(124 200 255 / .55),
    0 2px 6px rgb(0 0 0 / .35);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, filter .25s ease;
}
.btn-primary::before {
  content: ""; width: 18px; height: 18px; flex: 0 0 auto;
  background: currentColor; -webkit-mask: var(--cal) center / contain no-repeat; mask: var(--cal) center / contain no-repeat;
}
.btn-primary:hover {
  background:
    linear-gradient(180deg, rgb(255 255 255 / .95), rgb(255 255 255 / 0) 52%),
    linear-gradient(180deg, #ffffff 0%, #e6edf4 48%, #c2ccd7 52%, #eef3f8 100%);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 #fff, inset 0 -1px 0 rgb(0 0 0 / .15),
    0 0 0 1px rgb(124 200 255 / .7),
    0 0 0 5px rgb(124 200 255 / .14),
    0 18px 40px -12px rgb(124 200 255 / .75),
    0 4px 10px rgb(0 0 0 / .35);
}
.btn-primary:active { transform: translateY(0) scale(.98); filter: brightness(.97); }
.btn-primary:focus-visible { outline: 3px solid var(--ice); outline-offset: 4px; }

/* Brillo que cruza al pasar el mouse */
@media (prefers-reduced-motion: no-preference) {
  .btn-primary:hover::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / .9) 50%, transparent 65%);
    background-size: 250% 100%; animation: shine .9s ease both;
  }
}

/* Variante sobre fondos claros: noche con borde plateado */
.section:not(.section-dark):not(.hero) .btn-primary {
  color: #fff;
  background:
    linear-gradient(180deg, rgb(255 255 255 / .14), rgb(255 255 255 / 0) 50%),
    linear-gradient(180deg, #1a2c45, #05080f);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / .25),
    0 0 0 1px #9aa7b6,
    0 14px 30px -14px rgb(5 8 15 / .8);
}
.section:not(.section-dark):not(.hero) .btn-primary:hover {
  background:
    linear-gradient(180deg, rgb(255 255 255 / .18), rgb(255 255 255 / 0) 50%),
    linear-gradient(180deg, #24406a, #0b1f3a);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / .3),
    0 0 0 1px var(--ice), 0 0 0 5px rgb(124 200 255 / .18),
    0 20px 40px -14px rgb(11 31 58 / .9);
}

/* Tamaños */
.site-header .btn-primary { min-height: 42px; padding-inline: 18px; font-size: .9375rem; }
.site-header .btn-primary::before { width: 16px; height: 16px; }
.btn-lg.btn-primary { min-height: 56px; padding-inline: 30px; font-size: 1.0625rem; }
.btn-block.btn-primary { border-radius: 14px; }
[data-submit][aria-busy="true"]::before { -webkit-mask: none; mask: none; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; background: none; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Integraciones de la portada */
.integrations-line { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; font-size: .875rem; }
.integrations-line p { margin: 0; color: var(--silver-2); letter-spacing: .08em; text-transform: uppercase; font-size: .75rem; font-weight: 500; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 12px 0 10px;
  border-radius: 999px; color: #e6ecf3; font-weight: 500; white-space: nowrap;
  background: linear-gradient(180deg, rgb(255 255 255 / .09), rgb(255 255 255 / .02));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .14), 0 0 0 1px rgb(255 255 255 / .1);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: box-shadow .2s ease, transform .2s ease;
}
.chips li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 8px var(--ice); }
.chips li:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgb(255 255 255 / .2), 0 0 0 1px rgb(124 200 255 / .5); }
@media (prefers-reduced-motion: no-preference) {
  .js .chips li { animation: in-up .6s cubic-bezier(.2,.7,.2,1) both; }
  .js .chips li:nth-child(1) { animation-delay: 1.20s; } .js .chips li:nth-child(2) { animation-delay: 1.26s; }
  .js .chips li:nth-child(3) { animation-delay: 1.32s; } .js .chips li:nth-child(4) { animation-delay: 1.38s; }
  .js .chips li:nth-child(5) { animation-delay: 1.44s; } .js .chips li:nth-child(6) { animation-delay: 1.50s; }
  .js .chips li:nth-child(7) { animation-delay: 1.56s; }
  .js .chips li::before { animation: blink 2.4s ease-in-out infinite; }
  .js .chips li:nth-child(2n)::before { animation-delay: .8s; } .js .chips li:nth-child(3n)::before { animation-delay: 1.6s; }
}
@keyframes blink { 50% { opacity: .35; box-shadow: none; } }

/* Beneficios con imagen */
.benefits-section { position: relative; overflow: hidden; }
.benefits-section::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 60%; height: 80%; background: radial-gradient(closest-side, rgb(124 200 255 / .12), transparent); pointer-events: none; }
.benefits { gap: var(--s5); }
.benefits li.benefit {
  padding: 0; overflow: hidden; border-radius: 18px; color: var(--white);
  background: linear-gradient(170deg, rgb(26 44 69 / .7), rgb(5 8 15 / .9));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), 0 0 0 1px rgb(255 255 255 / .08), 0 40px 70px -40px #000;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
}
.benefits li.benefit::before { display: none; }
.benefit-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.benefit-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1), filter .6s ease; }
.benefit-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgb(8 15 28 / .95)); pointer-events: none; }
/* Reflejo que sigue al puntero */
.benefit-media::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(400px circle at var(--gx, 50%) var(--gy, 50%), rgb(255 255 255 / .18), transparent 45%); }
.benefit:hover .benefit-media::before { opacity: 1; }
.benefit-body { padding: var(--s4) var(--s5) var(--s6); margin-top: -36px; position: relative; }
.benefit-body h3 { font-size: var(--fs-2); background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.benefit-body p { color: #c3cdd9; margin: 0; }
.benefit:hover { box-shadow: inset 0 1px 0 rgb(255 255 255 / .18), 0 0 0 1px rgb(124 200 255 / .45), 0 50px 80px -40px #000, 0 0 60px -20px rgb(124 200 255 / .35); }
.benefit:hover .benefit-media img { transform: scale(1.06); filter: saturate(1.15) brightness(1.08); }

/* Aparición al verlo */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: perspective(1000px) translateY(60px) rotateX(12deg) scale(.96); }
  .js [data-reveal] .benefit-media img { transform: scale(1.25); filter: blur(8px) brightness(.6); }
  .js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity .9s ease, transform 1.1s cubic-bezier(.16,.8,.2,1); transition-delay: var(--d, 0s); }
  .js [data-reveal].is-in .benefit-media img { transform: scale(1); filter: none; transition: transform 1.6s cubic-bezier(.16,.8,.2,1), filter 1.2s ease; transition-delay: calc(var(--d, 0s) + .15s); }
  .js [data-reveal].is-in:hover .benefit-media img { transform: scale(1.06); filter: saturate(1.15) brightness(1.08); transition-delay: 0s; }
  .js [data-reveal].is-in.done { transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease; }
}

/* ===== Toda la web en el mismo universo oscuro ===== */
body { background: var(--void); color: #e6ecf3; }
.section-deep { background: linear-gradient(180deg, #070d19, #0a1424); color: #e6ecf3; }
.section-dark, .section-deep { --line-d: rgb(255 255 255 / .1); }
.section-deep .section-lead, .section-dark .section-lead { color: #b6c3d3; }
.section-deep :focus-visible, .section-dark :focus-visible { outline-color: var(--ice); }
.section-title { background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-deep .btn-primary, .section-dark .btn-primary { color: #06101f !important;
  background: linear-gradient(180deg, rgb(255 255 255 / .9), rgb(255 255 255 / 0) 52%), linear-gradient(180deg, #f6f9fc 0%, #d9e1ea 48%, #b3bfcc 52%, #dfe6ee 100%) !important;
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgb(0 0 0 / .18), 0 0 0 1px rgb(255 255 255 / .35), 0 10px 28px -10px rgb(124 200 255 / .55), 0 2px 6px rgb(0 0 0 / .35) !important; }
.section-deep .btn-primary:hover, .section-dark .btn-primary:hover { box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgb(124 200 255 / .7), 0 0 0 5px rgb(124 200 255 / .14), 0 18px 40px -12px rgb(124 200 255 / .75) !important; }
.link-plain { color: var(--silver); }
.glass { background: linear-gradient(170deg, rgb(26 44 69 / .6), rgb(5 8 15 / .85)); box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), 0 0 0 1px rgb(255 255 255 / .08), 0 40px 70px -40px #000; }

/* Módulos */
.module-list button { background: rgb(255 255 255 / .03); color: #c3cdd9; border-color: rgb(255 255 255 / .1); border-radius: 12px; transition: background .2s, color .2s, border-color .2s; }
.module-list button:hover { border-color: rgb(124 200 255 / .5); color: #fff; }
.module-list button[aria-selected="true"] { color: #06101f; background: var(--chrome); border-color: transparent; box-shadow: 0 10px 30px -12px rgb(124 200 255 / .6); }
.module-panels article { color: #e6ecf3; border: 0; border-radius: 18px; background: linear-gradient(170deg, rgb(26 44 69 / .6), rgb(5 8 15 / .85)); box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), 0 0 0 1px rgb(255 255 255 / .08), 0 40px 70px -40px #000; }
.module-panels article:not([hidden]) { animation: panel-in .5s cubic-bezier(.2,.8,.2,1); }
.module-panels li::marker { color: var(--ice); }
.module-panels p { color: #c3cdd9; }
.example { color: #e6ecf3; }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px) scale(.99); } }

/* Cómo funciona: línea de fibra que se enciende */
.steps { position: relative; }
.steps li { border-top: 0 !important; padding-top: var(--s6); }
.steps li::after { content: ""; position: absolute; top: 10px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--void); border: 2px solid var(--silver-2); }
.steps::before { content: ""; position: absolute; top: 16px; left: 0; right: 0; height: 2px; background: rgb(255 255 255 / .1); }
.steps::after { content: ""; position: absolute; top: 16px; left: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--silver), var(--ice)); box-shadow: 0 0 12px var(--ice); transform-origin: left; transform: scaleX(var(--fill, 1)); transition: transform 1.6s cubic-bezier(.3,.7,.2,1) .3s; }
.steps.is-in li::after { border-color: var(--ice); box-shadow: 0 0 12px var(--ice); transition: border-color .3s, box-shadow .3s; }
.steps li:nth-child(2)::after { transition-delay: .7s; } .steps li:nth-child(3)::after { transition-delay: 1.1s; } .steps li:nth-child(4)::after { transition-delay: 1.5s; }
.steps li::before { background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.steps p { color: #b6c3d3; }
@media (max-width: 767px) {
  .steps::before, .steps::after { top: 0; bottom: 0; left: 6px; right: auto; width: 2px; height: auto; transform-origin: top; transform: scaleY(var(--fill, 1)); }
  .steps li { padding-left: var(--s6); padding-top: 0; }
  .steps li::after { top: 4px; }
}

/* Casos */
.case { color: #e6ecf3; border: 0; border-radius: 18px; padding: var(--s6) var(--s5); background: linear-gradient(170deg, rgb(26 44 69 / .6), rgb(5 8 15 / .85)); box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), 0 0 0 1px rgb(255 255 255 / .08), 0 40px 70px -40px #000; position: relative; overflow: hidden; }
.case::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, transparent, var(--ice), transparent); opacity: .7; }
.case-problem { color: #8f9db0; text-decoration: line-through; text-decoration-color: rgb(255 255 255 / .25); }
.case h3 { font-size: var(--fs-2); }
.case:hover { box-shadow: inset 0 1px 0 rgb(255 255 255 / .18), 0 0 0 1px rgb(124 200 255 / .45), 0 50px 80px -40px #000, 0 0 60px -20px rgb(124 200 255 / .35); }

/* Tabla */
.table-wrap { border: 0; border-radius: 18px; background: linear-gradient(170deg, rgb(26 44 69 / .5), rgb(5 8 15 / .85)); box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), 0 0 0 1px rgb(255 255 255 / .08); }
.compare th, .compare td { border-bottom-color: rgb(255 255 255 / .08); }
.compare thead th { background: rgb(255 255 255 / .04); color: var(--silver); font-weight: 500; }
.compare td:nth-child(2) { color: #8f9db0; }
.compare td:last-child { color: #fff; }
.compare td:last-child::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 8px var(--ice); margin-right: 10px; vertical-align: middle; }
.compare tbody tr { transition: background .2s; }
.compare tbody tr:hover { background: rgb(124 200 255 / .05); }

/* Referencias */
#referencias .wrap { text-align: center; }
#referencias .section-title, #referencias p { margin-inline: auto; }

/* Planes */
.plan-finder { color: #e6ecf3; border: 0; border-radius: 18px; background: linear-gradient(170deg, rgb(26 44 69 / .5), rgb(5 8 15 / .85)); box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), 0 0 0 1px rgb(255 255 255 / .08); }
.plan-finder input[type="number"] { background: rgb(255 255 255 / .05); color: #fff; border-color: rgb(255 255 255 / .2); }
.plan { color: #e6ecf3; border: 0; border-radius: 20px; background: linear-gradient(170deg, rgb(26 44 69 / .45), rgb(5 8 15 / .9)); box-shadow: inset 0 1px 0 rgb(255 255 255 / .1), 0 0 0 1px rgb(255 255 255 / .08), 0 40px 70px -40px #000; }
.plan-for { color: #b6c3d3; }
.plan-price { border-top-color: rgb(255 255 255 / .1); color: var(--silver); }
.plan-featured { background: linear-gradient(170deg, #1d3658, #070d19); box-shadow: inset 0 1px 0 rgb(255 255 255 / .25), 0 0 0 1px rgb(124 200 255 / .35), 0 50px 90px -40px #000, 0 0 80px -30px rgb(124 200 255 / .45); }
@media (min-width: 900px) { .plan-featured { transform: translateY(-12px); } }
.plan.is-recommended { outline-color: #6fe0a8; }
.plan.is-recommended h3::after { color: #6fe0a8; }
.plan li::marker { color: var(--ice); }

/* FAQ */
.faq { border-top-color: rgb(255 255 255 / .1); }
.faq details { border-bottom-color: rgb(255 255 255 / .1); transition: background .2s; border-radius: 10px; padding-inline: var(--s3); }
.faq details[open] { background: rgb(255 255 255 / .03); }
.faq summary::after { color: var(--ice); }
.faq details p { color: #c3cdd9; }
.faq details[open] p { animation: panel-in .4s ease; }

/* Contacto y legal */
.demo-form { border-radius: 20px; }
.legal { border-top-color: rgb(255 255 255 / .08); }
.legal h2 { color: var(--silver); }
.legal p { color: #b6c3d3; }
.legal a { color: var(--white); }
.btn-ghost { border-color: rgb(255 255 255 / .4); color: #fff; border-radius: 999px; }
.btn-ghost:hover { border-color: var(--ice); }

/* Aparición genérica */
@media (prefers-reduced-motion: no-preference) {
  .js .section-title[data-reveal], .js .section-lead[data-reveal] { transform: translateY(24px); }
  .js .steps[data-reveal] { --fill: 0; transform: none; }
  .js .steps[data-reveal].is-in { --fill: 1; }
  .js .eco-map[data-reveal] svg { transform: rotateX(55deg) scale(.85); opacity: 0; }
  .js .eco-map[data-reveal].is-in svg { transform: rotateX(18deg); opacity: 1; transition: transform 1.4s cubic-bezier(.16,.8,.2,1), opacity 1s ease; }
  .js .eco-map[data-reveal] .eco-node { opacity: 0; }
  .js .eco-map[data-reveal].is-in .eco-node { opacity: 1; transition: opacity .5s ease; }
  .js .eco-map.is-in .eco-node:nth-of-type(2) { transition-delay: .5s; } .js .eco-map.is-in .eco-node:nth-of-type(3) { transition-delay: .6s; }
  .js .eco-map.is-in .eco-node:nth-of-type(4) { transition-delay: .7s; } .js .eco-map.is-in .eco-node:nth-of-type(5) { transition-delay: .8s; }
  .js .eco-map.is-in .eco-node:nth-of-type(6) { transition-delay: .9s; } .js .eco-map.is-in .eco-node:nth-of-type(7) { transition-delay: 1s; }
  .js .eco-map.is-in .eco-node:nth-of-type(8) { transition-delay: 1.1s; }
  .js .plan-featured[data-reveal].is-in { transform: translateY(-12px); }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 899px) { .js .plan-featured[data-reveal].is-in { transform: none; } }

/* ===== Secciones claras: plata y luz, para que la web no sea tan oscura ===== */
body { background: #eef2f7; }
.section-light { color: var(--ink); background: linear-gradient(180deg, #f7f9fc 0%, #edf2f8 100%); position: relative; }
.section-light + .section-light { background: linear-gradient(180deg, #edf2f8 0%, #f7f9fc 100%); }
.section-light .section-title { background: linear-gradient(180deg, #0b1f3a, #3a5476); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-light .section-lead { color: var(--steel); }
.section-light :focus-visible { outline-color: var(--navy); }
.section-light .btn-primary { color: #fff !important;
  background: linear-gradient(180deg, rgb(255 255 255 / .16), rgb(255 255 255 / 0) 50%), linear-gradient(180deg, #1d3658, #0b1f3a) !important;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .25), 0 0 0 1px #0b1f3a, 0 14px 30px -12px rgb(11 31 58 / .55) !important; }
.section-light .btn-primary:hover { box-shadow: inset 0 1px 0 rgb(255 255 255 / .3), 0 0 0 1px var(--ice), 0 0 0 5px rgb(124 200 255 / .25), 0 20px 40px -14px rgb(11 31 58 / .6) !important; }
.section-light .link-plain { color: var(--navy); }

/* Vidrio claro reutilizable */
.section-light .module-panels article, .section-light .case, .section-light .table-wrap,
.section-light .plan-finder, .section-light .plan:not(.plan-featured) {
  color: var(--ink);
  background: linear-gradient(170deg, rgb(255 255 255 / .95), rgb(244 247 251 / .9));
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px #d6dee8, 0 30px 60px -40px rgb(11 31 58 / .35);
}
.section-light .case:hover, .section-light .plan:not(.plan-featured):hover { box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgb(124 200 255 / .8), 0 40px 70px -40px rgb(11 31 58 / .45), 0 0 50px -20px rgb(124 200 255 / .5); }

/* Módulos */
.section-light .module-list button { background: #fff; color: var(--ink); border-color: #d6dee8; }
.section-light .module-list button:hover { border-color: #7cc8ff; color: var(--navy); }
.section-light .module-list button[aria-selected="true"] { color: #fff; background: linear-gradient(180deg, #1d3658, #0b1f3a); border-color: transparent; box-shadow: 0 10px 24px -12px rgb(11 31 58 / .6); }
.section-light .module-panels p, .section-light .example { color: #33445a; }
.section-light .module-panels li::marker, .section-light .plan li::marker { color: #2f7fc0; }

/* Cómo funciona */
.section-light .steps::before { background: #d6dee8; }
.section-light .steps::after { background: linear-gradient(90deg, #0b1f3a, #2f7fc0, #7cc8ff); box-shadow: 0 0 10px rgb(124 200 255 / .7); }
.section-light .steps li::after { background: #fff; border-color: #9aa7b6; }
.section-light .steps.is-in li::after { border-color: #2f7fc0; box-shadow: 0 0 0 4px rgb(124 200 255 / .3); }
.section-light .steps li::before { background: linear-gradient(180deg, #0b1f3a, #5b7aa0); -webkit-background-clip: text; background-clip: text; }
.section-light .steps p { color: var(--steel); }

/* Casos */
.section-light .case::before { background: linear-gradient(90deg, transparent, #2f7fc0, transparent); }
.section-light .case-problem { color: #7d8ba0; text-decoration-color: rgb(11 31 58 / .3); }

/* Tabla */
.section-light .compare th, .section-light .compare td { border-bottom-color: #e2e8f0; }
.section-light .compare thead th { background: linear-gradient(180deg, #1d3658, #0b1f3a); color: #fff; }
.section-light .compare td:nth-child(2) { color: var(--steel); }
.section-light .compare td:last-child { color: var(--navy); }
.section-light .compare td:last-child::before { background: #2f7fc0; box-shadow: 0 0 8px rgb(124 200 255 / .8); }
.section-light .compare tbody tr:hover { background: rgb(124 200 255 / .08); }

/* Planes */
.section-light .plan-finder input[type="number"] { background: #fff; color: var(--ink); border-color: #8494a7; }
.section-light .plan-for { color: var(--steel); }
.section-light .plan-price { color: var(--steel); border-top-color: #e2e8f0; }
.section-light .plan-featured .plan-for { color: #c3cdd9; }
.section-light .plan-featured .plan-price { color: var(--silver); }
.section-light .plan.is-recommended { outline-color: var(--apc); }
.section-light .plan.is-recommended h3::after { color: var(--apc); }
.section-light .plan-featured.is-recommended h3::after { color: #6fe0a8; }

/* FAQ y legal */
.section-light .faq { border-top-color: #d6dee8; }
.section-light .faq details { border-bottom-color: #d6dee8; }
.section-light .faq details[open] { background: #fff; box-shadow: 0 10px 30px -20px rgb(11 31 58 / .3); }
.section-light .faq summary::after { color: #2f7fc0; }
.section-light .faq details p { color: #33445a; }
.section-light.legal h2 { color: var(--navy); }
.section-light.legal p { color: var(--steel); }
.section-light.legal a { color: var(--navy); }
.section-light .btn-ghost { color: var(--navy); border-color: var(--navy); }

/* ===== Más blanco ===== */
body { background: #fff; }
.section-light { background: #ffffff; }
.section-light + .section-light { background: linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%); }
.section-light + .section-light + .section-light { background: #ffffff; }
.hero::after { background: linear-gradient(transparent, #05080f); }

/* Beneficios: tarjetas oscuras sobre blanco */
.section-light.benefits-section::before { background: radial-gradient(closest-side, rgb(124 200 255 / .18), transparent); }
.section-light .benefits li.benefit { box-shadow: 0 0 0 1px rgb(11 31 58 / .08), 0 40px 70px -35px rgb(11 31 58 / .55); }

/* Ecosistema en claro */
.section-light .eco-list li { border-bottom-color: #e2e8f0; color: #33445a; }
.section-light .eco-list strong { color: var(--navy); }
.section-light .eco-links path { stroke: #9fb3cc; }
.section-light .eco-node circle { fill: #2f7fc0; filter: drop-shadow(0 0 6px rgb(124 200 255 / .9)); }
.section-light .eco-node text { fill: var(--navy); font-weight: 600; }
.section-light .eco-core rect { fill: #0b1f3a; stroke: #7cc8ff; }
.section-light .eco-core text { fill: #fff; }
.section-light .eco-mark { opacity: .16; filter: invert(1) brightness(.35) sepia(1) hue-rotate(180deg) saturate(3); }

/* Contacto en claro */
.section-light .contact-alt { color: #33445a; }
.section-light .contact-alt a { color: var(--navy); }
.section-light .demo-form { box-shadow: 0 0 0 1px #d6dee8, 0 40px 80px -40px rgb(11 31 58 / .4); }
.section-light .demo-form .btn-primary { color: #fff !important; }

/* ===== Relleno de las áreas blancas: textura de red y fibra ===== */
.section-light { isolation: isolate; overflow: hidden; }
.section-light > .wrap { position: relative; z-index: 1; }
/* Malla de puntos, como un plano de red */
.section-light::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgb(11 31 58 / .09) 1.2px, transparent 1.3px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 85% 20%, #000 0%, transparent 70%);
          mask-image: radial-gradient(ellipse 80% 70% at 85% 20%, #000 0%, transparent 70%);
}
/* Hebras de fibra y brillos de color */
.section-light::after {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 600' preserveAspectRatio='none' fill='none'%3E%3Cg stroke-linecap='round'%3E%3Cpath d='M-40 520 C 300 380 520 600 860 430 S 1300 260 1500 330' stroke='%237cc8ff' stroke-opacity='.45' stroke-width='1.5'/%3E%3Cpath d='M-40 545 C 320 410 540 620 880 455 S 1320 290 1500 360' stroke='%230b1f3a' stroke-opacity='.12' stroke-width='1'/%3E%3Cpath d='M-40 570 C 340 440 560 640 900 480 S 1340 320 1500 390' stroke='%237cc8ff' stroke-opacity='.3' stroke-width='1'/%3E%3Cpath d='M-40 595 C 360 470 580 660 920 505 S 1360 350 1500 420' stroke='%23f2b705' stroke-opacity='.35' stroke-width='1.2'/%3E%3C/g%3E%3C/svg%3E") center bottom / 100% 70% no-repeat,
    radial-gradient(40% 50% at 100% 0%, rgb(124 200 255 / .16), transparent 70%),
    radial-gradient(35% 45% at 0% 100%, rgb(11 31 58 / .07), transparent 70%);
}
/* Variación por sección para que no se repita igual */
.section-light:nth-of-type(even)::before { -webkit-mask-image: radial-gradient(ellipse 70% 70% at 10% 30%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse 70% 70% at 10% 30%, #000 0%, transparent 70%); }
.section-light:nth-of-type(even)::after { transform: scaleX(-1); }
.legal::after, .legal::before { opacity: .5; }

/* Menos aire vacío */
.section { padding: var(--s8) 0; }
@media (min-width: 768px) { .section { padding: 96px 0; } }
.legal { padding: var(--s7) 0; }

/* Referencias: tarjeta destacada en lugar de texto suelto */
#referencias .wrap { max-width: 860px; padding: var(--s7) var(--s6); border-radius: 24px;
  background: linear-gradient(135deg, #0b1f3a, #13304f 60%, #1d3658); color: #fff; text-align: center;
  box-shadow: 0 50px 90px -50px rgb(11 31 58 / .8), inset 0 1px 0 rgb(255 255 255 / .15); }
#referencias .section-title { background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; margin-inline: auto; }
#referencias p { color: #c9d4e2; }
#referencias .link-plain { color: #fff; }
.section-light::before { background-image: radial-gradient(rgb(11 31 58 / .14) 1.3px, transparent 1.4px); }
.section-light::after { background-size: 100% 85%, auto, auto; filter: saturate(1.3) contrast(1.15); }

/* ===== Módulos enriquecidos ===== */
.module-list button { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.mod-ic { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.module-list button[aria-selected="true"] .mod-ic { stroke: #7cc8ff; opacity: 1; }
.module-panels article.mod-panel { padding: 0; overflow: hidden; display: grid; }
.mod-media { margin: 0; position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.mod-media img { width: 100%; height: 100%; object-fit: cover; }
.mod-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgb(255 255 255 / .9)); }
.mod-panel:not([hidden]) .mod-media img { animation: mod-zoom 1.2s cubic-bezier(.2,.8,.2,1); }
@keyframes mod-zoom { from { transform: scale(1.08); filter: blur(4px); } }
.mod-body { padding: var(--s5) var(--s6) var(--s6); }
.mod-body h3 { margin-bottom: var(--s2); }
.mod-lead { font-size: var(--fs-1); color: #33445a; }
.mod-feats { list-style: none; padding: 0 !important; margin: 0 0 var(--s5) !important; display: grid; gap: 10px; }
.mod-feats li { display: flex; gap: 12px; align-items: flex-start; margin: 0 !important; padding: 12px 14px; border-radius: 12px; background: #f4f7fb; box-shadow: inset 0 0 0 1px #e2e8f0; }
.mod-feats li::before { content: ""; flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background: #1d8a5a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.mod-ints { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: var(--s5); }
.mod-ints > span { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--steel); font-weight: 500; }
.chips-light li { color: var(--navy); background: #fff; box-shadow: 0 0 0 1px #d6dee8, 0 4px 12px -8px rgb(11 31 58 / .4); backdrop-filter: none; }
.chips-light li::before { background: #2f7fc0; box-shadow: 0 0 6px rgb(124 200 255 / .8); }
.mod-body .example { margin-bottom: var(--s5); padding: 12px 16px; border-left: 3px solid #2f7fc0; background: linear-gradient(90deg, rgb(124 200 255 / .12), transparent); border-radius: 0 10px 10px 0; }
@media (min-width: 1100px) {
  .module-panels article.mod-panel { grid-template-columns: 0.9fr 1.1fr; }
  .mod-media { aspect-ratio: auto; height: 100%; min-height: 100%; }
  .mod-media::after { background: linear-gradient(90deg, transparent 70%, rgb(255 255 255 / .9)); }
}

/* Módulos: más compactos */
.module-panels article.mod-panel[hidden] { display: none; }
.mod-body { padding: var(--s4) var(--s5) var(--s5); }
.mod-body h3 { font-size: 1.25rem; }
.mod-lead { font-size: 1rem; margin-bottom: var(--s3); }
.mod-feats { gap: 6px; margin-bottom: var(--s4) !important; }
.mod-feats li { padding: 8px 12px; font-size: .9375rem; border-radius: 10px; }
.mod-feats li::before { width: 18px; height: 18px; background-size: 10px; }
.mod-ints { margin-bottom: var(--s3); }
.mod-body .example { font-size: .9375rem; padding: 10px 14px; margin-bottom: var(--s4); }
.mod-body .btn-primary { min-height: 42px; padding-inline: 18px; font-size: .9375rem; }
.mod-media { aspect-ratio: 21 / 9; }
@media (min-width: 1100px) {
  .module-panels article.mod-panel { grid-template-columns: 300px 1fr; max-height: 420px; }
  .mod-media { aspect-ratio: auto; height: 100%; }
}
.module-list button { min-height: 44px; padding: 8px 12px; font-size: .9375rem; }
@media (min-width: 1100px) { .module-panels article.mod-panel { max-height: none; } }

/* Áreas táctiles amplias */
.module-list button { min-height: 44px !important; }
.contact-alt a, .legal a { display: inline-block; padding-block: 10px; }
@media (max-width: 480px) {
  .brand { gap: 6px; min-width: 0; }
  .brand img { height: 30px; }
  .brand-name { font-size: 1rem; }
  .menu-btn { flex: 0 0 auto; }
  .header-inner { gap: 8px; }
}
.section-light .case-problem { color: #5f6e84; }
@media (min-width: 1100px) { .module-panels article.mod-panel { max-height: none !important; min-height: 490px; overflow: visible; } .mod-media { border-radius: 18px 0 0 18px; } }
