:root{
  --bg:#0b0d12;
  --card:#111521;
  --text:#e9eef7;
  --muted:#aab3c4;
  --line:#22283a;
  --accent:#6ee7ff;
  --accent2:#b6ff6e;
  --warn:#ffd36e;
  --err:#ff6e6e;
  --ok:#76ff9e;
  --radius:16px;
}
*{box-sizing:border-box}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: radial-gradient(1200px 800px at 20% -10%, rgba(110,231,255,.12), transparent 60%),
              radial-gradient(900px 700px at 100% 10%, rgba(182,255,110,.10), transparent 55%),
              var(--bg);
  color:var(--text);
}
a{color:var(--accent); text-decoration:none}
a:hover{text-decoration:underline}
.container{width:min(1100px, 92vw); margin:0 auto;}
.topbar{
  position:sticky; top:0;
  backdrop-filter: blur(10px);
  background: rgba(11,13,18,.65);
  border-bottom:1px solid rgba(34,40,58,.65);
  z-index:10;
}
.topbar__row{display:flex; align-items:center; gap:16px; padding:14px 0; flex-wrap: wrap;}
.brand{display:flex; align-items:center; gap:10px; font-weight:700; color:var(--text); flex-shrink: 0;}
.brand__mark{font-size:20px}
.nav{display:flex; gap:14px; margin-left:auto; flex-wrap: wrap;}
.nav a{color:var(--text); opacity:.9; padding:8px 10px; border-radius:10px; white-space: nowrap;}
.nav a:hover{background: rgba(255,255,255,.06); text-decoration:none;}
.lang select{
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  color:var(--text);
  border-radius:10px;
  padding:8px 10px;
  outline:none;
}
.hero{padding:48px 0 18px;}
.hero__grid{display:grid; grid-template-columns: 1.15fr .85fr; gap:24px;}
@media (max-width: 860px){
  .hero__grid{grid-template-columns:1fr}
  .nav{width: 100%; order: 3; justify-content: center; margin-top: 10px;}
}
h1{font-size: clamp(28px, 3.2vw, 44px); line-height:1.08; margin:0 0 10px;}
.h3{font-size:20px; margin:0;}
.lead{color:var(--muted); font-size: 17px; line-height:1.5; margin:0 0 18px;}
.hero__cta{display:flex; gap:12px; flex-wrap:wrap; margin:14px 0 8px}
.section{padding:32px 0}
.grid3{display:grid; grid-template-columns:repeat(3,1fr); gap:16px}
.grid2{display:grid; grid-template-columns:repeat(2,1fr); gap:16px}
@media (max-width: 860px){ .grid3,.grid2{grid-template-columns:1fr} }
.card{
  background: linear-gradient(180deg, rgba(17,21,33,.9), rgba(17,21,33,.75));
  border:1px solid rgba(34,40,58,.9);
  border-radius: var(--radius);
  padding:18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.card__title{font-weight:700; margin-bottom:10px;}
.checklist{margin:0; padding-left:18px; color:var(--muted);}
.checklist li{margin:10px 0}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:11px 14px; border-radius: 12px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  color:var(--text);
  font-weight:650; cursor:pointer; text-decoration:none;
}
.btn:hover{background: rgba(255,255,255,.08); text-decoration:none}
.btn.primary{border-color: rgba(110,231,255,.35); background: rgba(110,231,255,.10);}
.btn.primary:hover{background: rgba(110,231,255,.14)}
.btn.full{width:100%}
.muted{color:var(--muted)}
.small{font-size:13px}
.mt{margin-top:16px}
.form{display:grid; gap:12px}
label span{display:block; margin-bottom:6px; color:var(--muted); font-size:13px}
input, select, textarea{
  width:100%; border-radius: 12px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color:var(--text); padding:11px 12px; outline:none;
}
textarea{resize:vertical}
input:focus, select:focus, textarea:focus{
  border-color: rgba(110,231,255,.45);
  box-shadow: 0 0 0 3px rgba(110,231,255,.12);
}
.split{display:grid; grid-template-columns: 1fr 1fr; gap:16px;}
@media (max-width: 860px){ .split{grid-template-columns:1fr} }
.alert{border-radius: 12px; padding:12px 14px; margin: 0 0 12px; border:1px solid rgba(255,255,255,.10);}
.alert.ok{border-color: rgba(118,255,158,.35); background: rgba(118,255,158,.08)}
.alert.err{border-color: rgba(255,110,110,.35); background: rgba(255,110,110,.07)}
.alert.warn{border-color: rgba(255,211,110,.35); background: rgba(255,211,110,.07); color:var(--text)}
.note{margin-top:14px; padding:12px 14px; border-radius: 12px; border:1px dashed rgba(255,255,255,.14); color:var(--muted);}
.badge{
  display:inline-flex; align-items:center; padding:6px 10px; border-radius:999px;
  background: rgba(182,255,110,.10); border:1px solid rgba(182,255,110,.25);
  color: var(--text); font-size:12px; font-weight:700; margin-bottom:10px;
}
.code{
  background: rgba(0,0,0,.25);
  border:1px solid rgba(255,255,255,.08);
  padding:12px; border-radius: 12px; overflow:auto; color: #d9e6ff;
}
.list{margin:0; padding-left:18px; color:var(--muted)}
.list li{margin:10px 0}
.footer{border-top:1px solid rgba(34,40,58,.9); padding:20px 0; margin-top:24px;}
.footer__row{display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap;}
.footer__right{display:flex; gap:12px}
.tabs{display:flex; gap:10px; margin:14px 0}
.tab{
  padding:10px 12px; border-radius: 12px; border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04); color:var(--text);
}
.tab.active{border-color: rgba(110,231,255,.35); background: rgba(110,231,255,.10);}
.faq{
  border:1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding:12px 14px;
  margin: 10px 0;
  background: rgba(255,255,255,.03);
}
.faq summary{cursor:pointer; font-weight:700;}

/* Mejorar visibilidad del selector de idioma (opciones) */
select option{
  background: #0b0d12;
  color: #e9eef7;
}
.btn.disabled, .btn[aria-disabled="true"]{
  opacity: .6;
  cursor: not-allowed;
  filter: grayscale(20%);
}
