:root{
  --green:#188a3a;
  --red:#e53935;
  --gold:#c9b27a;
  --text:#121212;
  --muted:#5b5b5b;
  --line:#e9e9e9;
  --card:#ffffff;
}

*{box-sizing:border-box;margin:0;padding:0}
body{
  font-family:"Poppins",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:#fff;
  padding-top:88px; /* espacio para header fixed */
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

.container{width:min(1120px, 92vw); margin:0 auto}

/* HEADER */
.header{
  position:fixed; top:0; left:0; right:0;
  background:rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  z-index:9999;
  border-bottom:1px solid var(--line);
}
.nav{
  height:84px;
  display:flex; align-items:center; justify-content:space-between;
  gap:18px;
}

.brand{
  display:flex; align-items:center; gap:12px; min-width:180px;
}
.brand img{height:52px; width:auto}

.nav-links{
  display:flex; align-items:center; gap:28px;
  font-weight:700;
  letter-spacing:0.5px;
  text-transform:uppercase;
  font-size:14px;
  white-space:nowrap;
}
.nav-links a{
  position:relative;
  padding:8px 0;
  opacity:0.9;
}
.nav-links a:hover{opacity:1}
.nav-links a::after{
  content:"";
  position:absolute; left:0; bottom:2px;
  width:0; height:2px;
  background:var(--green);
  transition:width .2s ease;
}
.nav-links a:hover::after{width:100%}

.cta{
  background:var(--red);
  color:#fff;
  border:none;
  padding:12px 22px;
  border-radius:999px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:0.5px;
  cursor:pointer;
  box-shadow:0 10px 20px rgba(229,57,53,.18);
  white-space:nowrap;
}
.cta:hover{transform:translateY(-1px)}
.cta:active{transform:translateY(0)}

.hamburger{
  display:none;
  border:1px solid var(--line);
  background:#fff;
  padding:10px 12px;
  border-radius:12px;
  cursor:pointer;
}
.hamburger span{
  display:block;
  width:22px; height:2px;
  background:#222;
  margin:4px 0;
}

/* Línea tricolor */
.tricolor{
  height:4px;
  background: linear-gradient(90deg, var(--red) 0 33%, var(--green) 33% 66%, var(--gold) 66% 100%);
}

/* Menú móvil (dropdown) */
.mobile-panel{
  display:none;
  border-top:1px solid var(--line);
  padding:14px 0 18px;
  background:#fff;
}
.mobile-panel a{
  display:block;
  padding:12px 4vw;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.4px;
  border-bottom:1px solid #f1f1f1;
}
.mobile-panel a:last-child{border-bottom:none}
.header.open .mobile-panel{display:block}

/* HERO */
.hero{
  padding:34px 0 18px;
}
.hero-card{
  background:var(--card);
  border-radius:18px;
  padding:28px 18px 26px;
}

.logo-row{
  display:grid;
  grid-template-columns: repeat(7, 1fr);
  align-items:center;
  gap:18px;
  padding:6px 6px 18px;
}
.logo-row .logo{
  display:flex; justify-content:center; align-items:center;
  opacity:0.95;
}
.logo-row .logo img{
  height:56px; width:auto;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.06));
}
.logo-row .logo.main img{
  height:92px;
}

.hero-copy{
  text-align:center;
  max-width:820px;
  margin:0 auto;
  padding-top:6px;
}
.hero-copy p{
  color:var(--muted);
  font-size:13px;
  line-height:1.55;
}
.hero-copy p strong{color:#222}
.hero-copy .welcome{
  margin-top:10px;
  font-weight:800;
  color:var(--red);
  font-size:13px;
}

.hero-actions{
  margin-top:14px;
  display:flex;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
}
.btn{
  border-radius:999px;
  padding:12px 22px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.4px;
  font-size:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:160px;
  cursor:pointer;
  border:2px solid transparent;
}
.btn.primary{
  background:var(--red);
  color:#fff;
  box-shadow:0 10px 20px rgba(229,57,53,.18);
}
.btn.primary:hover{transform:translateY(-1px)}
.btn.outline{
  background:#fff;
  border-color:var(--green);
  color:var(--green);
}
.btn.outline:hover{
  background:rgba(24,138,58,.06);
}

/* Secciones */
.section{
  padding:26px 0 46px;
}
.section h2{
  text-align:center;
  font-size:44px;
  letter-spacing:1px;
  font-weight:900;
}
.section p{
  text-align:center;
  margin-top:10px;
  color:var(--muted);
  font-size:14px;
}

/* Páginas internas */
.page{
  padding:34px 0 56px;
}
.page-title{
  text-align:center;
  font-size:34px;
  font-weight:900;
  letter-spacing:.5px;
}
.page-subtitle{
  text-align:center;
  margin-top:10px;
  color:var(--muted);
  font-size:14px;
}

/* Grid deportes */
.sports-grid{
  margin-top:26px;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:18px;
}
.sport-card{
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  background:#fff;
  transition:transform .15s ease, box-shadow .15s ease;
}
.sport-card:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 26px rgba(0,0,0,.08);
}
.sport-img{
  width:100%;
  height:210px;
  object-fit:cover;
  background:#f4f4f4;
}
.sport-name{
  padding:14px 14px 16px;
  font-weight:900;
  letter-spacing:.4px;
  text-transform:uppercase;
  text-align:center;
}

/* Footer */
.footer{
  border-top:1px solid var(--line);
  padding:18px 0;
  color:var(--muted);
  font-size:13px;
}
.footer .row{
  display:flex;
  gap:12px;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
}

/* RESPONSIVE */
@media (max-width: 980px){
  .nav-links{display:none}
  .hamburger{display:inline-block}
  body{padding-top:86px}
  .logo-row{
    grid-template-columns: repeat(3, 1fr);
    gap:14px;
  }
  .logo-row .logo.main{
    grid-column: 1 / -1;
    order: 4;
  }
  .logo-row .logo.main img{height:98px}
  .logo-row .logo img{height:52px}
  .section h2{font-size:36px}

  .sports-grid{
    grid-template-columns: repeat(2, 1fr);
  }
  .sport-img{height:190px}
}

@media (max-width: 420px){
  .brand img{height:46px}
  .cta{padding:11px 16px; font-size:12px}
  .btn{min-width: 150px}
  .section h2{font-size:32px}

  .sports-grid{
    grid-template-columns: 1fr;
  }
  .sport-img{height:210px}
}
