:root{
  /* Default = LIGHT */
  --bg: #f5f7fb;
  --panel: rgba(10, 12, 18, .06);
  --panel2: rgba(10, 12, 18, .10);
  --stroke: rgba(10, 12, 18, .12);
  --text: rgba(10, 12, 18, .92);
  --muted: rgba(10, 12, 18, .70);
  --muted2: rgba(10, 12, 18, .55);
  --shadow: 0 30px 90px rgba(0, 0, 0, .18);
  --radius: 20px;
  --radius2: 28px;
  --max: 1180px;

  /* Toggle */
  --toggle-track: rgba(10, 12, 18, .08);
  --toggle-track2: rgba(10, 12, 18, .14);
  --toggle-border: rgba(10, 12, 18, .16);
  --toggle-thumb: rgba(10, 12, 18, .92);
  --toggle-shadow: 0 14px 36px rgba(0, 0, 0, .12);

  /* ===== Rey Boost neon (OPUESTO al tema) =====
     En CLARO: neon oscuro
  */
  --boost-stroke: rgba(10,12,18,.92);
  --boost-glow1: rgba(0,0,0,.45);
  --boost-glow2: rgba(0,0,0,.22);
}

/* === DARK THEME === */
html[data-theme="dark"]{
  --bg: #05070d;
  --panel: rgba(255, 255, 255, .06);
  --panel2: rgba(255, 255, 255, .10);
  --stroke: rgba(255, 255, 255, .14);
  --text: rgba(255, 255, 255, .92);
  --muted: rgba(255, 255, 255, .70);
  --muted2: rgba(255, 255, 255, .55);
  --shadow: 0 30px 90px rgba(0, 0, 0, .55);

  --toggle-track: rgba(255, 255, 255, .10);
  --toggle-track2: rgba(255, 255, 255, .18);
  --toggle-border: rgba(255, 255, 255, .18);
  --toggle-thumb: rgba(255, 255, 255, .92);
  --toggle-shadow: 0 10px 30px rgba(0, 0, 0, .35);

  /* En OSCURO: neon claro */
  --boost-stroke: rgba(245,247,251,.92);
  --boost-glow1: rgba(255,255,255,.55);
  --boost-glow2: rgba(255,255,255,.24);
}

*{ box-sizing:border-box }
html{ scroll-behavior:smooth }

body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:var(--bg);
  color:var(--text);
  overflow-x:hidden;
}

.container{
  max-width:var(--max);
  margin:0 auto;
  padding:0 22px;
}

/* Background */
.bg{
  position:fixed;
  inset:0;
  z-index:-2;
  overflow:hidden;
}
.bg-grid{
  position:absolute;
  inset:-20%;
  background-image:
    linear-gradient(rgba(10, 12, 18, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 12, 18, .08) 1px, transparent 1px);
  background-size:60px 60px;
  transform:rotate(-12deg);
  opacity:.18;
}
html[data-theme="dark"] .bg-grid{
  opacity:.25;
  background-image:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
}
.bg-orb{
  position:absolute;
  width:520px;
  height:520px;
  border-radius:999px;
  filter:blur(60px);
  opacity:.28;
  background: radial-gradient(circle at 30% 30%, rgba(0,0,0,.10), rgba(0,0,0,0) 60%);
}
html[data-theme="dark"] .bg-orb{
  opacity:.35;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.20), rgba(255,255,255,0) 60%);
}
.orb-1{ left:-120px; top:60px }
.orb-2{ right:-160px; top:220px; transform:scale(1.15) }
.orb-3{ left:30%; bottom:-240px; transform:scale(1.25) }
.bg-noise{
  position:absolute;
  inset:0;
  opacity:.12;
  mix-blend-mode:overlay;
}

/* Nav */
.nav{
  position:sticky;
  top:0;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(245, 247, 251, .65);
  border-bottom: 1px solid rgba(10, 12, 18, .10);
  z-index:10;
}
html[data-theme="dark"] .nav{
  background: rgba(5, 7, 13, .55);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.nav-inner{
  height:74px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.brand{
  display:flex;
  align-items:center;
  gap:14px;
  text-decoration:none;
  background:transparent!important;
  border-radius:0!important;
  padding:0!important;
  border:none!important;
}
.brand-mark{
  height:42px;
  width:auto;
  display:block;
  filter:none;
  transition:.3s ease;
}
html[data-theme="dark"] .brand-mark{
  filter: brightness(0) invert(1);
}

.nav-links{
  display:flex;
  gap:18px;
  align-items:center;
}
.nav-links a{
  color:var(--muted);
  text-decoration:none;
  font-weight:500;
  font-size:14px;
  padding:8px 10px;
  border-radius:12px;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.nav-links a:hover{
  color:var(--text);
  background: rgba(10, 12, 18, .06);
  transform: translateY(-1px);
}
html[data-theme="dark"] .nav-links a:hover{
  background: rgba(255, 255, 255, .06);
}
.nav-cta{
  display:flex;
  gap:10px;
  align-items:center;
}

/* ===== Theme Toggle Switch (Modern 2026) ===== */
.theme-toggle{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 10px;
  border-radius:999px;
  border: 1px solid rgba(10, 12, 18, .10);
  background: rgba(10, 12, 18, .04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(10,12,18,.88);
}
html[data-theme="dark"] .theme-toggle{
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .04);
  color: rgba(255,255,255,.90);
}
.theme-icon{
  width:18px;
  height:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  opacity:.95;
}
.theme-icon svg{ width:18px; height:18px; display:block; }

.theme-input{
  position:absolute;
  opacity:0;
  width:1px;
  height:1px;
  pointer-events:none;
}
.theme-switch{
  width:46px;
  height:28px;
  border-radius:999px;
  position:relative;
  cursor:pointer;
  border: 1px solid var(--toggle-border);
  background: linear-gradient(180deg, var(--toggle-track2), var(--toggle-track));
  box-shadow:
    0 10px 30px rgba(0,0,0,.18),
    inset 0 0 0 1px rgba(255,255,255,.06);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.theme-switch:active{ transform: scale(.98); }
.theme-thumb{
  position:absolute;
  top:50%;
  left:4px;
  width:22px;
  height:22px;
  transform: translateY(-50%);
  border-radius:999px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.95), rgba(255,255,255,.70));
  box-shadow: var(--toggle-shadow);
  transition: left .22s cubic-bezier(.2,.8,.2,1), width .18s ease;
}
/* checked = LIGHT */
.theme-input:checked + .theme-switch .theme-thumb{ left:20px; width:22px; }

.theme-input:focus-visible + .theme-switch{
  outline: 2px solid rgba(10, 12, 18, .25);
  outline-offset: 3px;
}
html[data-theme="dark"] .theme-input:focus-visible + .theme-switch{
  outline: 2px solid rgba(255, 255, 255, .35);
}

/* Burger */
.nav-burger{
  display:none;
  width:44px;
  height:44px;
  border-radius:14px;
  border: 1px solid rgba(10, 12, 18, .14);
  background: rgba(10, 12, 18, .06);
  cursor:pointer;
}
html[data-theme="dark"] .nav-burger{
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .05);
}
.nav-burger span{
  display:block;
  width:18px;
  height:2px;
  background: rgba(10, 12, 18, .75);
  margin:0 auto;
  border-radius:2px;
  transition: transform .25s ease, opacity .25s ease;
}
html[data-theme="dark"] .nav-burger span{
  background: rgba(255, 255, 255, .85);
}
.nav-burger span:first-child{ transform: translateY(-3px) }
.nav-burger span:last-child{ transform: translateY(3px) }
.nav-burger.is-open span:first-child{ transform: translateY(1px) rotate(45deg) }
.nav-burger.is-open span:last-child{ transform: translateY(-1px) rotate(-45deg) }

.nav-mobile{
  display:none;
  padding:10px 22px 18px 22px;
  border-bottom: 1px solid rgba(10, 12, 18, .10);
}
html[data-theme="dark"] .nav-mobile{
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.nav-mobile a{
  display:block;
  padding:12px 10px;
  border-radius:14px;
  text-decoration:none;
  color:var(--muted);
  transition: background .2s ease, color .2s ease;
}
.nav-mobile a:hover{
  background: rgba(10, 12, 18, .06);
  color: var(--text);
}
html[data-theme="dark"] .nav-mobile a:hover{
  background: rgba(255, 255, 255, .06);
}
.nav-mobile-actions{
  display:flex;
  gap:10px;
  margin-top:12px;
  flex-direction:column;
}
@media (max-width:900px){
  .nav-links{ display:none }
  .nav-burger{ display:inline-grid; place-items:center }
  .nav-mobile{ display:block }
  .nav-mobile[aria-hidden="true"]{ display:none }
}

/* Buttons */
.btn{
  appearance:none;
  border:none;
  cursor:pointer;
  font-weight:600;
  border-radius:16px;
  padding:12px 16px;
  color:var(--text);
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, opacity .18s ease;
  user-select:none;
}
.btn:active{ transform: translateY(1px) scale(.99) }
.btn.primary{
  background: rgba(10, 12, 18, .92);
  color: #f5f7fb;
}
html[data-theme="dark"] .btn.primary{
  background: rgba(255, 255, 255, .92);
  color: #05070d;
}
.btn.primary:hover{ opacity:.92 }
.btn.ghost{
  background: rgba(10, 12, 18, .06);
  border: 1px solid rgba(10, 12, 18, .14);
}
html[data-theme="dark"] .btn.ghost{
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
}
.btn.ghost:hover{ background: rgba(10, 12, 18, .10) }
html[data-theme="dark"] .btn.ghost:hover{ background: rgba(255, 255, 255, .10) }
.btn.glass{
  background: linear-gradient(180deg, rgba(10, 12, 18, .10), rgba(10, 12, 18, .05));
  border: 1px solid rgba(10, 12, 18, .14);
  backdrop-filter: blur(10px);
}
html[data-theme="dark"] .btn.glass{
  background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .06));
  border: 1px solid rgba(255, 255, 255, .16);
}
.btn.glass:hover{
  background: linear-gradient(180deg, rgba(10, 12, 18, .14), rgba(10, 12, 18, .07));
}
html[data-theme="dark"] .btn.glass:hover{
  background: linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .08));
}
.w100{ width:100% }

/* Hero */
.hero{ padding:68px 0 40px; position:relative }
.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:26px;
  align-items:center;
}
@media (max-width:900px){
  .hero-grid{ grid-template-columns:1fr; gap:22px }
}
.badge{
  display:inline-flex;
  padding:10px 14px;
  border-radius:999px;
  border: 1px solid rgba(10, 12, 18, .14);
  background: rgba(10, 12, 18, .05);
  color: var(--muted);
  font-weight:600;
  font-size:13px;
}
html[data-theme="dark"] .badge{
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
}
.headline{
  font-size: clamp(34px, 4vw, 56px);
  line-height:1.02;
  margin:14px 0 10px;
  letter-spacing:-0.02em;
}
.subhead{
  margin:0 0 18px;
  color: var(--muted);
  font-size:15.5px;
  line-height:1.55;
  max-width:56ch;
}
.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:16px;
}
.hero-metrics{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
}
.metric{
  background: rgba(10, 12, 18, .04);
  border: 1px solid rgba(10, 12, 18, .10);
  border-radius:18px;
  padding:12px 12px;
}
html[data-theme="dark"] .metric{
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .10);
}
.metric-k{ font-weight:700; font-size:13px }
.metric-v{ color: var(--muted2); font-size:12.5px; margin-top:4px }

/* hero card */
.hero-card{ position:relative; cursor:pointer }
.hero-card:focus-visible .glass-card{
  outline: 2px solid rgba(10,12,18,.22);
  outline-offset: 4px;
}
html[data-theme="dark"] .hero-card:focus-visible .glass-card{
  outline: 2px solid rgba(255,255,255,.28);
}
.glass-card{
  border-radius: var(--radius2);
  padding:18px;
  background: linear-gradient(180deg, rgba(10, 12, 18, .08), rgba(10, 12, 18, .03));
  border: 1px solid rgba(10, 12, 18, .12);
  box-shadow: var(--shadow);
  overflow:hidden;
}
html[data-theme="dark"] .glass-card{
  background: linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .05));
  border: 1px solid rgba(255, 255, 255, .14);
}
.card-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:16px;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 12px;
  border-radius:999px;
  background: rgba(10, 12, 18, .05);
  border: 1px solid rgba(10, 12, 18, .12);
  color: var(--muted);
  font-weight:600;
  font-size:13px;
}
html[data-theme="dark"] .pill{
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
}
.pill.is-testing .dot{ animation: pulseDot 1s ease-in-out infinite; }
@keyframes pulseDot{
  0%,100% { transform: scale(1); opacity: .7; }
  50% { transform: scale(1.45); opacity: 1; }
}
.dot{
  width:8px;
  height:8px;
  border-radius:999px;
  background: rgba(10, 12, 18, .85);
}
html[data-theme="dark"] .dot{ background: rgba(255, 255, 255, .9); }
.chip{
  font-weight:700;
  font-size:12px;
  padding:9px 12px;
  border-radius:999px;
  background: rgba(10, 12, 18, .92);
  color: #f5f7fb;
}
html[data-theme="dark"] .chip{
  background: rgba(255, 255, 255, .92);
  color: #05070d;
}

.card-center{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
  align-items:center;
}
.ring{
  width:240px;
  height:240px;
  margin:0 auto;
  border-radius:999px;
  background: radial-gradient(circle at 30% 30%, rgba(10, 12, 18, .10), rgba(10, 12, 18, .03) 55%, rgba(10, 12, 18, .01));
  border: 1px solid rgba(10, 12, 18, .12);
  position:relative;
  overflow:hidden;
}
html[data-theme="dark"] .ring{
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .18), rgba(255, 255, 255, .05) 55%, rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .16);
}
.ring::before{
  content:"";
  position:absolute;
  inset:-40%;
  background: conic-gradient(from 180deg, rgba(10, 12, 18, 0), rgba(10, 12, 18, .28), rgba(10, 12, 18, 0));
  animation: spin 5.8s linear infinite;
  opacity:.55;
}
html[data-theme="dark"] .ring::before{
  background: conic-gradient(from 180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .35), rgba(255, 255, 255, 0));
}
.ring.is-testing::before{ opacity:.9; }
@keyframes spin{ to{ transform: rotate(360deg) } }

.ring-inner{
  position:absolute;
  inset:14px;
  border-radius:999px;
  background: rgba(245, 247, 251, .70);
  border: 1px solid rgba(10, 12, 18, .12);
  display:grid;
  place-items:center;
  text-align:center;
}
html[data-theme="dark"] .ring-inner{
  background: rgba(5, 7, 13, .55);
  border: 1px solid rgba(255, 255, 255, .12);
}
.speed-big{ font-size:58px; font-weight:800; letter-spacing:-0.03em }
.speed-unit{ color: var(--muted); font-weight:700 }
.speed-note{ color: var(--muted2); font-size:12px; margin-top:6px }

.bars{ display:grid; gap:8px }
.bar{
  height:10px;
  border-radius:999px;
  background: rgba(10, 12, 18, .05);
  border: 1px solid rgba(10, 12, 18, .10);
  overflow:hidden;
}
html[data-theme="dark"] .bar{
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .10);
}
.bar span{
  display:block;
  height:100%;
  background: rgba(10, 12, 18, .90);
  opacity:.55;
  border-radius:999px;
  transition: width .55s ease;
}
html[data-theme="dark"] .bar span{
  background: rgba(255, 255, 255, .9);
  opacity:.65;
}

.card-bottom{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
  margin-top:14px;
}
.kv{
  background: rgba(10, 12, 18, .03);
  border: 1px solid rgba(10, 12, 18, .10);
  border-radius:18px;
  padding:12px;
}
html[data-theme="dark"] .kv{
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .09);
}
.k{ font-size:12px; color: var(--muted2); font-weight:700 }
.v{ margin-top:6px; font-weight:800 }

.card-hint{
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted2);
  opacity: .95;
}

.fiber-line{
  position:absolute;
  left:-14px;
  right:-14px;
  top:54%;
  height:54px;
  pointer-events:none;
  opacity:.55;
}
.fiber-line span{
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:1px;
  background: rgba(10, 12, 18, .30);
  transform: translateX(-22%);
  animation: fiber 3.6s ease-in-out infinite;
}
html[data-theme="dark"] .fiber-line span{
  background: rgba(255, 255, 255, .35);
}
.fiber-line span:nth-child(2){ top:14px; opacity:.22; animation-delay:.3s }
.fiber-line span:nth-child(3){ top:28px; opacity:.12; animation-delay:.6s }
.fiber-line span:nth-child(4){ top:42px; opacity:.18; animation-delay:.9s }
@keyframes fiber{
  0%{ transform: translateX(-26%); opacity:.10 }
  50%{ transform: translateX(10%); opacity:.55 }
  100%{ transform: translateX(-26%); opacity:.10 }
}

.scroll-hint{
  margin:26px auto 0;
  width:22px;
  height:36px;
  border-radius:999px;
  border: 1px solid rgba(10, 12, 18, .18);
  display:grid;
  place-items:center;
  opacity:.7;
}
html[data-theme="dark"] .scroll-hint{
  border: 1px solid rgba(255, 255, 255, .18);
}
.scroll-hint span{
  width:4px;
  height:8px;
  border-radius:999px;
  background: rgba(10, 12, 18, .60);
  animation: scroll 1.4s ease-in-out infinite;
}
html[data-theme="dark"] .scroll-hint span{
  background: rgba(255, 255, 255, .75);
}
@keyframes scroll{
  0%{ transform: translateY(-6px); opacity:.3 }
  50%{ transform: translateY(6px); opacity:1 }
  100%{ transform: translateY(-6px); opacity:.3 }
}

/* Sections */
.section{ padding:70px 0 }
.section-head{ margin-bottom:22px }
.title{
  font-size: clamp(24px, 2.5vw, 36px);
  letter-spacing:-0.02em;
  margin:0 0 10px;
}
.desc{ margin:0; color: var(--muted); line-height:1.55 }

.plans{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin-top:22px;
}
.plans > .plan{ min-width:0 }
@media (max-width:1100px){
  .plans{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width:700px){
  .plans{ grid-template-columns:1fr; }
}

.plan{
  border-radius: var(--radius2);
  border: 1px solid rgba(10, 12, 18, .12);
  background: rgba(10, 12, 18, .04);
  padding:18px;
  position:relative;
  overflow:hidden;
}
html[data-theme="dark"] .plan{
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .05);
}
.plan-price{
  margin:8px 0 10px;
  padding-top:6px;
  border-top: 1px solid rgba(10, 12, 18, .10);
  text-align:left;
}
html[data-theme="dark"] .plan-price{
  border-top: 1px solid rgba(255, 255, 255, .10);
}
.plan-price h3{ margin:0; font-size:16px; font-weight:800 }
.plan-price .plan-sub{ margin-top:6px }

.plan.featured{
  background: linear-gradient(180deg, rgba(10, 12, 18, .08), rgba(10, 12, 18, .03));
  border-color: rgba(10, 12, 18, .16);
}
html[data-theme="dark"] .plan.featured{
  background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .05));
  border-color: rgba(255, 255, 255, .18);
}

.plan-top h3{ margin:0; font-size:18px }
.plan-sub{ margin:6px 0 0; color: var(--muted2); font-weight:600; font-size:13px }

.price{
  margin:14px 0 10px;
  display:flex;
  align-items:baseline;
  gap:8px;
  text-align:center;
}
.price-big{ font-size:44px; font-weight:900; letter-spacing:-0.03em }
.price-unit{ color: var(--muted); font-weight:700 }

.features{
  margin:12px 0 18px;
  padding-left:18px;
  color: var(--muted);
  line-height:1.7;
}

.plan-actions{ display:grid; gap:10px }
.note{ margin-top:18px; color: var(--muted2); font-size:13px }

/* Coverage split */
.split{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:14px;
  align-items:stretch;
}
@media (max-width:900px){ .split{ grid-template-columns:1fr } }

.coverage{
  margin-top:16px;
  padding:16px;
  border-radius: var(--radius2);
  background: rgba(10, 12, 18, .04);
  border: 1px solid rgba(10, 12, 18, .12);
}
html[data-theme="dark"] .coverage{
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
}
.label{
  display:block;
  color: var(--muted2);
  font-weight:700;
  font-size:12px;
  margin-bottom:8px;
}
.coverage-row{
  display:flex;
  gap:10px;
  align-items:center;
}
.input{
  flex:1;
  border-radius:16px;
  border: 1px solid rgba(10, 12, 18, .14);
  background: rgba(245, 247, 251, .75);
  color: var(--text);
  padding:12px 14px;
  outline:none;
}
html[data-theme="dark"] .input{
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(5, 7, 13, .55);
}
.input::placeholder{ color: rgba(10, 12, 18, .35) }
html[data-theme="dark"] .input::placeholder{ color: rgba(255, 255, 255, .35) }
.coverage-result{
  margin-top:12px;
  color: var(--muted);
  font-weight:600;
  min-height:18px;
}

.panel{
  position:relative;
  border-radius: var(--radius2);
  border: 1px solid rgba(10, 12, 18, .12);
  background: rgba(10, 12, 18, .04);
  overflow:hidden;
}
html[data-theme="dark"] .panel{
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .05);
}
.panel-card{ padding:18px }
.panel-card h3{ margin:0 0 10px }
.panel-card p{ margin:0 0 14px; color: var(--muted); line-height:1.55 }
.panel-actions{ display:flex; gap:10px; flex-wrap:wrap }
.panel-glow{
  position:absolute;
  inset:-40%;
  background: radial-gradient(circle at 30% 30%, rgba(0,0,0,.14), rgba(0,0,0,0) 60%);
  filter: blur(50px);
  opacity:.25;
}
html[data-theme="dark"] .panel-glow{
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.18), rgba(255,255,255,0) 60%);
  opacity:.35;
}

/* Cards */
.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin-top:22px;
}
@media (max-width:900px){ .cards{ grid-template-columns:1fr } }
.card{
  border-radius: var(--radius2);
  border: 1px solid rgba(10, 12, 18, .12);
  background: rgba(10, 12, 18, .04);
  padding:18px;
}
html[data-theme="dark"] .card{
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .05);
}
.card h3{ margin:0 0 10px }
.card p{ margin:0; color: var(--muted); line-height:1.6 }

/* FAQ */
.faq{ display:grid; gap:12px; margin-top:18px }
.faq-item{
  border-radius: var(--radius2);
  border: 1px solid rgba(10, 12, 18, .12);
  background: rgba(10, 12, 18, .04);
  padding:14px 16px;
}
html[data-theme="dark"] .faq-item{
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .05);
}
.faq-item summary{ cursor:pointer; font-weight:800; outline:none }
.faq-item p{ margin:10px 0 0; color: var(--muted); line-height:1.6 }

/* Footer */
.footer{
  padding:34px 0 42px;
  border-top: 1px solid rgba(10, 12, 18, .10);
}
html[data-theme="dark"] .footer{
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:flex-start;
  flex-wrap:wrap;
}
.foot-note{ color: var(--muted2); font-size:13px; margin-top:6px }
.foot-right{ display:flex; gap:14px; flex-wrap:wrap }
.foot-right a{ color: var(--muted); text-decoration:none }
.foot-right a:hover{ color: var(--text) }

/* Modal */
.modal{
  position:fixed;
  inset:0;
  display:none;
  z-index:30;
}
.modal[aria-hidden="false"]{ display:block }
.modal-backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.6);
}
.modal-card{
  position:relative;
  max-width:560px;
  margin:8vh auto 0;
  border-radius: var(--radius2);
  background: rgba(245, 247, 251, .85);
  border: 1px solid rgba(10, 12, 18, .16);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding:16px;
}
html[data-theme="dark"] .modal-card{
  background: rgba(10, 12, 18, .78);
  border: 1px solid rgba(255, 255, 255, .16);
}
.modal-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:4px 4px 10px;
}
.modal-title{ font-weight:900; letter-spacing:-0.02em }
.modal-x{
  width:44px;
  height:44px;
  border-radius:16px;
  border: 1px solid rgba(10, 12, 18, .14);
  background: rgba(10, 12, 18, .06);
  color: var(--text);
  cursor:pointer;
}
html[data-theme="dark"] .modal-x{
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .06);
}
.modal-body{ color: var(--muted); line-height:1.6; padding:4px 4px 12px }
.modal-actions{ display:flex; gap:10px; justify-content:flex-end; flex-wrap:wrap }

/* Reveal animations */
.reveal{
  opacity:0;
  transform: translateY(14px);
  transition: opacity .65s ease, transform .65s ease;
  will-change: opacity, transform;
}
.reveal.is-in{ opacity:1; transform: translateY(0) }
@media (prefers-reduced-motion: reduce){
  *{ animation:none!important; transition:none!important }
  html{ scroll-behavior:auto }
  .reveal{ opacity:1; transform:none }
}

/* ===== Rey Boost icon (stroke neon OPUESTO al tema) ===== */
.ico{
  display:inline-flex;
  width:16px;
  height:16px;
  vertical-align:-2px;
  margin: 0 3px;
}
.ico svg{ width:100%; height:100%; display:block; }

.ico-boost{
  color: var(--boost-stroke);
  filter:
    drop-shadow(0 0 6px var(--boost-glow1))
    drop-shadow(0 0 14px var(--boost-glow2));
  animation: boostPulse 2.2s ease-in-out infinite;
}
@keyframes boostPulse{
  0%,100%{
    filter:
      drop-shadow(0 0 5px var(--boost-glow1))
      drop-shadow(0 0 12px var(--boost-glow2));
    opacity: .95;
  }
  50%{
    filter:
      drop-shadow(0 0 9px var(--boost-glow1))
      drop-shadow(0 0 20px var(--boost-glow2));
    opacity: 1;
  }
}
