:root{
  --bg:#0b0f14;
  --card:#121823;
  --muted:#8fa3bf;
  --text:#e9f0ff;
  --accent:#ff7a18;
  --accent2:#2ea8ff;
  --border:rgba(255,255,255,.08);
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 20% 0%, rgba(46,168,255,.18), transparent),
              radial-gradient(900px 500px at 80% 10%, rgba(255,122,24,.18), transparent),
              var(--bg);
  color:var(--text);
}

.container{
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 16px 48px;
}

.header{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:16px;
  margin-bottom:16px;
}
.h-title{font-size:22px; font-weight:700; margin:0}
.h-sub{margin:6px 0 0; color:var(--muted); font-size:14px}
.badge{
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  color:var(--muted);
}

.card{
  background: rgba(18,24,35,.88);
  border:1px solid var(--border);
  border-radius:16px;
  padding:16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  backdrop-filter: blur(6px);
}

.grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:14px;
}
@media(min-width:900px){
  .grid{grid-template-columns: 1fr 1fr;}
}

.step-title{
  font-size:16px;
  font-weight:700;
  margin:0 0 10px;
}

.opts{
  display:grid;
  gap:10px;
}
.opt{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border:1px solid var(--border);
  border-radius:12px;
  background: rgba(255,255,255,.03);
  cursor:pointer;
  transition: transform .05s ease, border-color .15s ease;
}
.opt:hover{transform: translateY(-1px); border-color: rgba(46,168,255,.35)}
.opt input{accent-color: var(--accent2)}
.opt .label{flex:1}
.small{font-size:12px; color:var(--muted)}

.row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  justify-content:space-between;
  margin-top:14px;
}

.btn{
  border:none;
  cursor:pointer;
  border-radius:12px;
  padding:10px 14px;
  font-weight:700;
  color:var(--text);
  background: linear-gradient(90deg, rgba(46,168,255,.85), rgba(255,122,24,.85));
}
.btn:disabled{opacity:.5; cursor:not-allowed}

.btn2{
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  color:var(--text);
  border-radius:12px;
  padding:10px 14px;
  cursor:pointer;
  font-weight:700;
}

.two{
  display:grid;
  grid-template-columns: 1fr;
  gap:14px;
}
@media(min-width:900px){
  .two{grid-template-columns: 1.2fr .8fr;}
}

textarea, input[type="text"]{
  width:100%;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  color:var(--text);
  border-radius:12px;
  padding:10px 12px;
  outline:none;
}
textarea{min-height: 180px; resize: vertical; line-height:1.35}

.kpi{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}
.kpi .box{
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  border-radius:12px;
  padding:10px 12px;
}
.kpi .k{font-size:12px; color:var(--muted)}
.kpi .v{font-size:14px; font-weight:700; margin-top:4px}

hr.sep{
  border:none;
  border-top:1px solid var(--border);
  margin:14px 0;
}

.toast{
  position: fixed;
  right: 16px;
  bottom: 16px;
  background: rgba(18,24,35,.95);
  border:1px solid var(--border);
  border-radius:12px;
  padding:10px 12px;
  font-size:13px;
  color:var(--text);
  opacity:0;
  transform: translateY(8px);
  transition: all .18s ease;
}
.toast.show{opacity:1; transform: translateY(0)}
/* ===== Header simple tipo web ===== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.site-header__inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand__logo{
  height: 34px;
  width: auto;
  display: block;
}

.site-header__nav{
  display: flex;
  gap: 10px;
  align-items: center;
}

.navbtn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1;
  border: 1px solid rgba(0,0,0,.12);
}

.navbtn--ghost{
  background: transparent;
  color: #111;
}

.navbtn--solid{
  background: #111;
  color: #fff;
  border-color: #111;
}

.page-wrap{
  padding: 18px 0 28px;
}

/* Mobile: botones más compactos */
@media (max-width: 480px){
  .brand__logo{ height: 30px; }
  .navbtn{ padding: 9px 10px; border-radius: 10px; }
}
