:root{
  --bg:#0b1f4b;
  --bg2:#071536;
  --card:#0f2a63;
  --text:#ffffff;
  --muted:rgba(255,255,255,.75);
  --line:rgba(255,255,255,.14);
  --accent:#ff5a2c;
  --accent2:#ffffff;
  --shadow:0 18px 50px rgba(0,0,0,.28);
  --radius:18px;
  --max:1120px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background: radial-gradient(1200px 600px at 70% 30%, rgba(255,255,255,.10), transparent 60%),
              linear-gradient(135deg, var(--bg), var(--bg2));
}

a{color:inherit; text-decoration:none}
.container{max-width:var(--max); margin:0 auto; padding:0 20px}

.topbar{
  position:sticky; top:0; z-index:10;
  backdrop-filter: blur(10px);
  background: rgba(5, 12, 28, .55);
  border-bottom:1px solid var(--line);
}
.topbar-inner{
  height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.brand{
  display:flex;
  align-items:center;
  gap:14px;
  text-decoration:none;
}

.brand-logo-wrap{
  width:44px;
  height:44px;
  padding:6px;              /* ACA controlas el aire */
  box-sizing:border-box;
  border-radius:12px;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  flex:0 0 auto;
}

.brand-logo{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}


.brand-name{letter-spacing:.2px}

.topnav{display:flex; gap:16px; align-items:center}
.navlink{opacity:.85}
.navlink:hover{opacity:1}
.navlink.active{opacity:1; font-weight:700}

.cta{
  background:var(--accent);
  color:#fff;
  padding:10px 14px;
  border-radius:12px;
  font-weight:700;
}

.hero{padding:56px 0 26px}
.hero-inner{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:22px;
  align-items:start;
}
.hero-copy h1{
  margin:0 0 10px;
  font-size:48px;
  line-height:1.05;
}
.hero-copy p{margin:0 0 18px; color:var(--muted); max-width:56ch}
.hero-meta{display:flex; gap:10px; flex-wrap:wrap}
.pill{
  display:inline-flex;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.08);
  color:rgba(255,255,255,.9);
  font-size:13px;
}
.pill-ghost{background:rgba(255,255,255,.04)}

.hero-card{
  border:1px solid var(--line);
  background:rgba(255,255,255,.06);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:16px;
}
.hero-card-title{font-weight:800; margin-bottom:12px}

.filters{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}
.input,.select{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(0,0,0,.18);
  color:var(--text);
  outline:none;
}
.input::placeholder{color:rgba(255,255,255,.55)}
.select{appearance:none}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:var(--accent);
  color:#fff;
  font-weight:800;
  cursor:pointer;
}
.btn-secondary{
  background:rgba(255,255,255,.10);
  border:1px solid var(--line);
}
.filters .btn{grid-column: 1 / -1}

.list{padding:18px 0 64px}
.state{
  padding:14px 16px;
  border:1px dashed rgba(255,255,255,.28);
  border-radius:var(--radius);
  color:rgba(255,255,255,.86);
  margin:14px 0 18px;
  background:rgba(0,0,0,.14);
}
.grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:14px;
}
.card{
  border-radius:var(--radius);
  border:1px solid var(--line);
  background:rgba(255,255,255,.06);
  padding:16px;
  box-shadow:0 10px 28px rgba(0,0,0,.20);
  display:flex;
  flex-direction:column;
  min-height: 240px;
}
.card-title{margin:0 0 8px; font-size:18px; line-height:1.2}
.card-sub{display:flex; gap:8px; align-items:center; color:rgba(255,255,255,.74); font-size:13px}
.dot{opacity:.7}
.card-desc{margin:12px 0 14px; color:rgba(255,255,255,.80); font-size:14px; line-height:1.45}
.card-meta{display:flex; gap:8px; flex-wrap:wrap; margin-bottom:10px}
.meta{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(0,0,0,.14);
  color:rgba(255,255,255,.86);
}
.card-tags{display:flex; gap:8px; flex-wrap:wrap; margin-top:auto}
.tag{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.08);
  color:rgba(255,255,255,.86);
}
.card-actions{
  display:flex;
  gap:10px;
  margin-top:14px;
}
.card-actions .btn{flex:1}
.footer{
  border-top:1px solid var(--line);
  padding:18px 0 26px;
  color:rgba(255,255,255,.75);
  background:rgba(0,0,0,.12);
}
.footer-inner{display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap}
.footer-links{display:flex; gap:12px}

@media (max-width: 980px){
  .hero-inner{grid-template-columns:1fr}
  .grid{grid-template-columns: repeat(2, minmax(0, 1fr))}
}
@media (max-width: 640px){
  .topnav{display:none}
  .hero-copy h1{font-size:38px}
  .filters{grid-template-columns:1fr}
  .grid{grid-template-columns:1fr}
}
