/* ===== ESTILOS GENERALES ===== */
:root{
  --bg:#0b0f14;
  --panel:#0f1621;
  --text:#e8edf5;
  --muted:#b7c0ce;
  --line:rgba(255,255,255,.1);
  --accent:#45a6ff;
  --radius:16px;
  --max:1100px;
  --shadow:0 14px 35px rgba(0,0,0,.35);
  --sans:system-ui,-apple-system,Segoe UI,Roboto,Arial;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family:var(--sans);
  background:linear-gradient(180deg,#0b0f14,#06090d);
  color:var(--text);
  line-height:1.65;
}

a{color:inherit;text-decoration:none}

.container{
  max-width:var(--max);
  margin:0 auto;
  padding:0 18px;
}

/* ===== HEADER ===== */
header{
  position:sticky;
  top:0;
  background:rgba(6,9,13,.9);
  border-bottom:1px solid var(--line);
}

.navbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:14px 0;
}

.brand .name{
  font-weight:800;
  letter-spacing:.5px;
}
.brand .tag{
  font-size:13px;
  color:var(--muted);
}

nav a{
  margin-left:10px;
  padding:8px 12px;
  border-radius:999px;
  color:var(--muted);
}
nav a:hover,
nav a.active{
  color:var(--text);
  background:rgba(255,255,255,.05);
  border:1px solid var(--line);
}

/* ===== SECCIONES ===== */
.section{
  padding:32px 0;
}

.card{
  background:rgba(255,255,255,.03);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:22px;
  box-shadow:var(--shadow);
}

h1{font-size:40px;line-height:1.15}
h2{font-size:24px}
h3{font-size:17px}
p{color:var(--muted)}

.grid{
  display:grid;
  gap:16px;
}
.grid-3{
  grid-template-columns:repeat(3,1fr);
}
@media(max-width:900px){
  .grid-3{grid-template-columns:1fr}
}

/* ===== BOTONES ===== */
.btn{
  display:inline-block;
  padding:11px 16px;
  border-radius:12px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.05);
}
.btn.primary{
  background:rgba(69,166,255,.2);
  border-color:rgba(69,166,255,.4);
}
.btn:hover{background:rgba(255,255,255,.08)}

/* ===== FORMULARIO ===== */
form{display:grid;gap:12px}
input,textarea{
  width:100%;
  padding:12px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#0b0f14;
  color:var(--text);
}
textarea{min-height:140px}

/* ===== FOOTER ===== */
footer{
  border-top:1px solid var(--line);
  padding:26px 0;
  font-size:13px;
  color:var(--muted);
}
