/* Salchi Gran Fondo - estilos base */
:root{
  --bg:#0b0f14;
  --card:#101822;
  --text:#e9eef6;
  --muted:#9fb0c3;
  --accent:#ffb300;
  --accent2:#ff3d2e;
  --ok:#27ae60;
  --warn:#f39c12;
  --danger:#e74c3c;
  --shadow: 0 12px 30px rgba(0,0,0,.35);
  --radius: 18px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(1000px 600px at 15% -10%, rgba(255,179,0,.25), transparent 60%),
    radial-gradient(800px 600px at 80% 0%, rgba(255,61,46,.20), transparent 55%),
    linear-gradient(180deg, #0b0f14 0%, #070a0f 100%);
  color:var(--text);
  line-height:1.45;
}

a{color:inherit}
.container{max-width:1100px;margin:0 auto;padding:26px 16px 60px}
.topbar{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:10px 0 18px;border-bottom:1px solid rgba(255,255,255,.08);
}
.brand{
  display:flex;align-items:center;gap:10px;
  font-weight:800;letter-spacing:.3px
}
.badge{
  font-size:12px;padding:6px 10px;border:1px solid rgba(255,255,255,.14);
  border-radius:999px;color:var(--muted);white-space:nowrap
}
.hero{
  display:grid;grid-template-columns: 1.05fr .95fr;gap:18px;margin-top:20px;
  align-items:stretch;
}
.card{
  background:rgba(16,24,34,.78);
  border:1px solid rgba(255,255,255,.10);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.card-inner{padding:18px}
.h-title{
  font-family: Montserrat, Inter, system-ui, sans-serif;
  font-weight:900;line-height:1.04;
  font-size:40px;margin:0 0 10px;
}
.h-sub{color:var(--muted);font-size:15px;margin:0 0 14px}

.kpis{
  display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px
}
.kpi{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;padding:12px;
}
.kpi .num{font-size:22px;font-weight:900}
.kpi .lab{color:var(--muted);font-size:12px;margin-top:2px}
.kpi .ico{opacity:.95;margin-right:6px}

.poster{
  width:100%;height:100%;display:block;object-fit:cover;
  filter: contrast(1.05) saturate(1.02);
}

.section{margin-top:18px}
.section h2{
  margin:0 0 10px;font-size:20px;font-weight:900;
  display:flex;align-items:center;gap:10px
}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.list{
  margin:0;padding-left:18px;color:var(--muted)
}
.note{
  border-left:4px solid rgba(255,179,0,.7);
  padding:10px 12px;margin-top:10px;
  background:rgba(255,179,0,.08);
  border-radius:12px;color:var(--text)
}
.small{font-size:13px;color:var(--muted)}

.form{
  display:grid;gap:10px;margin-top:8px
}
.row{
  display:grid;grid-template-columns:1fr 1fr;gap:10px
}
label{font-size:12px;color:var(--muted);display:block;margin:0 0 6px}
input,button,textarea{
  width:100%;padding:12px 12px;border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(0,0,0,.22);
  color:var(--text);
  outline:none;
}
input:focus,textarea:focus{border-color:rgba(255,179,0,.55);box-shadow:0 0 0 4px rgba(255,179,0,.12)}
button{
  cursor:pointer;border:none;
  background:linear-gradient(90deg, rgba(255,179,0,1), rgba(255,61,46,1));
  font-weight:900;padding:13px 14px;
}
button[disabled]{opacity:.5;cursor:not-allowed}
.inline{
  display:flex;gap:10px;align-items:flex-start;
  padding:10px 12px;border-radius:12px;background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08)
}
.inline input{width:auto;margin-top:2px}
.alert{
  padding:12px 14px;border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.05);
  margin-top:10px;
}
.alert.ok{border-color:rgba(39,174,96,.55);background:rgba(39,174,96,.10)}
.alert.err{border-color:rgba(231,76,60,.55);background:rgba(231,76,60,.10)}
.footer{margin-top:22px;color:var(--muted);font-size:13px}
.footer a{color:#fff;opacity:.9}

.pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.pill{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  border-radius:999px;padding:7px 10px;
  font-size:12px;color:var(--muted)
}

@media (max-width: 920px){
  .hero{grid-template-columns:1fr}
  .h-title{font-size:34px}
  .kpis{grid-template-columns:repeat(4,1fr)}
}
@media (max-width: 560px){
  .kpis{grid-template-columns:1fr 1fr}
  .row{grid-template-columns:1fr}
}

/* Compartir */
.sharebar{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.sbtn{
  display:inline-flex;align-items:center;gap:8px;
  padding:9px 11px;border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.05);
  color:var(--text);text-decoration:none;
  font-size:12px;font-weight:700;
}
.sbtn:hover{border-color:rgba(255,179,0,.55)}
.sbtn i{opacity:.95}

/* Selector de grupo */
.choices{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.choice{
  display:flex;gap:10px;align-items:flex-start;
  padding:12px;border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  cursor:pointer;
}
.choice:hover{border-color:rgba(255,179,0,.45)}
.choice input{margin-top:3px;width:auto}
.choice .ctitle{font-weight:900}
.choice .cdesc{color:var(--muted);font-size:12px;margin-top:2px}

@media (max-width: 560px){
  .choices{grid-template-columns:1fr}
}
