:root{
  --bg:#0b1220;
  --card:#0f1b33;
  --text:#e9eef7;
  --muted:#b7c3d8;
  --brand:#0F5C9C;
  --accent:#6EC1E4;
  --line:rgba(255,255,255,.12);
}

*{box-sizing:border-box}
html,body{
  margin:0;
  padding:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
}
a{color:inherit;text-decoration:none}

.container{max-width:1100px;margin:0 auto;padding:18px}

/* ✅ HEADER */
.header{
  position:sticky;
  top:0;
  z-index:10;
  backdrop-filter: blur(10px);
  background: rgba(11,18,32,.88);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
}

.brand img{
  height:82px;        /* 👈 aquí está la clave */
  width:auto;
  object-fit:contain;
  filter: drop-shadow(0 3px 8px rgba(0,0,0,.7));
}


.menu{display:flex; gap:10px; flex-wrap:wrap}
.menu a{
  padding:10px 12px;
  border-radius:12px;
  border:1px solid transparent;
  color:var(--muted);
  font-size:14px;
}
.menu a:hover{border-color:var(--line); color:var(--text)}
.menu a.active{
  border-color:rgba(110,193,228,.35);
  background:rgba(15,92,156,.15);
  color:var(--text);
}

/* ✅ HERO */
.hero{
  border-bottom:1px solid var(--line);
  background-image:url("assets/hero-libro.png");
  background-size:cover;
  background-position:center;
  min-height:56vh;
  display:flex;
  align-items:flex-end;
}

.hero .overlay{
  width:100%;
  padding:34px 0;
  background: linear-gradient(180deg, rgba(11,18,32,.05), rgba(11,18,32,.92));
}

.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  color:var(--muted);
  font-size:13px;
}
.dot{
  width:8px;height:8px;border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 0 4px rgba(110,193,228,.15)
}

h1{margin:12px 0 8px; font-size:34px; letter-spacing:.2px}
h2{margin:0 0 10px; font-size:24px}
p{margin:0; color:var(--muted); line-height:1.65; max-width:900px}

.section{padding:26px 0}
.card{
  background:linear-gradient(180deg, rgba(15,27,51,.92), rgba(15,27,51,.55));
  border:1px solid var(--line);
  border-radius:18px;
  padding:18px;
  box-shadow:0 10px 28px rgba(0,0,0,.25);
}

.grid{display:grid; grid-template-columns:1.3fr .7fr; gap:16px}
@media(max-width:900px){.grid{grid-template-columns:1fr}}

.btn{
  display:inline-block;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(110,193,228,.35);
  background:linear-gradient(180deg, rgba(15,92,156,.95), rgba(15,92,156,.70));
  color:var(--text);
  font-weight:600;
}

.footer{
  border-top:1px solid var(--line);
  padding:16px 0;
  color:var(--muted);
  font-size:13px;
}
.footer .row{
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}
