/* =========================
   Paleta basada en tu logo
   ========================= */
:root{
  --navy: #0B1F63;      /* azul marino fondo */
  --navy-2:#07184d;
  --red:  #E4002B;      /* rojo principal */
  --blue: #1E63FF;      /* azul acento (tipo gorra) */
  --white:#FFFFFF;

  --bg: #070F2B;
  --card: rgba(255,255,255,.06);
  --border: rgba(255,255,255,.12);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.70);

  --radius: 18px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 600px at 15% 10%, rgba(30,99,255,.18), transparent 60%),
              radial-gradient(1000px 600px at 80% 25%, rgba(228,0,43,.16), transparent 55%),
              linear-gradient(180deg, var(--navy-2), var(--navy));
}

/* Layout helpers */
.container{
  width:min(1100px, 92%);
  margin:0 auto;
}

.section{
  padding: 70px 0;
}
.section--alt{
  background: rgba(0,0,0,.12);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section__head{
  margin-bottom: 22px;
}
h1,h2,h3{ margin:0 0 10px; line-height:1.1; }
h1{ font-size: clamp(2rem, 3.5vw, 3.1rem); }
h2{ font-size: clamp(1.6rem, 2.2vw, 2rem); }
p{ margin:0 0 14px; }
.muted{ color: var(--muted); }
.tiny{ font-size:.85rem; }

/* Topbar */
.topbar{
  background: rgba(0,0,0,.25);
  border-bottom: 1px solid var(--border);
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding: 10px 0;
}
.pill{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  font-size:.9rem;
}
.topbar__left, .topbar__right{
  display:flex; gap:10px; flex-wrap:wrap;
}
.topbar__link{
  color: var(--text);
  text-decoration:none;
  opacity:.9;
}
.topbar__link:hover{ opacity:1; text-decoration:underline; }

/* Header */
.header{
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(11,31,99,.65);
  border-bottom: 1px solid var(--border);
}
.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding: 12px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color: var(--text);
}
.brand__logo{
  width:56px; height:56px;
  object-fit:cover;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.brand__text strong{ display:block; }
.brand__text span{ color: var(--muted); font-size:.9rem; }

.nav{
  display:flex;
  gap:14px;
  align-items:center;
  flex-wrap:wrap;
}
.nav a{
  color: var(--text);
  text-decoration:none;
  opacity:.9;
  font-weight:600;
  font-size:.95rem;
}
.nav a:hover{ opacity:1; }

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  color: var(--white);
  text-decoration:none;
  font-weight:700;
  background: linear-gradient(135deg, var(--red), #ff2d4f);
  box-shadow: 0 10px 22px rgba(228,0,43,.25);
  transition: transform .15s ease, opacity .15s ease;
}
.btn:hover{ transform: translateY(-1px); }
.btn--ghost{
  background: rgba(255,255,255,.06);
  box-shadow:none;
}
.btn--small{ padding: 10px 14px; font-size:.95rem; }
.btn--full{ width:100%; }

/* Hero */
.hero{
  padding: 55px 0 35px;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
  align-items: start;
}
.hero__actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin: 18px 0 18px;
}
.u-accent{ color: #ffd6dd; }
.u-accent2{ color: #d6e3ff; }

.hero__badges{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.badge{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.badge__icon{
  width:40px; height:40px;
  display:grid; place-items:center;
  border-radius: 12px;
  background: rgba(30,99,255,.16);
  border: 1px solid rgba(30,99,255,.30);
}

/* Cards */
.card{
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.divider{
  height:1px;
  background: var(--border);
  margin: 14px 0;
}
.list{
  list-style:none;
  padding:0; margin:0;
  display:grid;
  gap:10px;
}
.list li{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(0,0,0,.12);
  border: 1px solid rgba(255,255,255,.08);
}

/* Grids */
.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.grid-4{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

/* Features */
.feature{
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.feature__icon{
  width:46px; height:46px;
  display:grid; place-items:center;
  border-radius: 14px;
  background: rgba(228,0,43,.16);
  border: 1px solid rgba(228,0,43,.30);
  margin-bottom: 10px;
}
.chips{
  list-style:none;
  padding:0; margin: 12px 0 0;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.chips li{
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.05);
  color: var(--muted);
  font-size:.9rem;
}

/* Categories */
.cat{
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(0,0,0,.10));
}
.cta{
  margin-top: 18px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(30,99,255,.32);
  background: rgba(30,99,255,.10);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}

/* Promos */
.promo{
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.06);
}
.tag{
  display:inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(228,0,43,.18);
  border: 1px solid rgba(228,0,43,.28);
  color: var(--text);
  font-weight:700;
  font-size:.85rem;
  margin-bottom: 10px;
}
.tag--blue{
  background: rgba(30,99,255,.18);
  border-color: rgba(30,99,255,.28);
}
.tag--dark{
  background: rgba(0,0,0,.18);
  border-color: rgba(255,255,255,.12);
}

/* Location */
.location{
  display:grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 16px;
  align-items: stretch;
}
.map{
  border-radius: var(--radius);
  overflow:hidden;
  border: 1px solid var(--border);
  min-height: 320px;
  background: rgba(0,0,0,.12);
}
.map iframe{
  width:100%;
  height:100%;
  border:0;
}

/* Contact */
.contact{
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.06);
}
.social{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.social a{
  color: var(--text);
  text-decoration:none;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(0,0,0,.12);
}
.social a:hover{ text-decoration:underline; }

/* Footer */
.footer{
  padding: 26px 0;
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,.20);
}
.footer__inner{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}

/* Floating WA */
.wa-float{
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 54px;
  height: 54px;
  display:grid;
  place-items:center;
  border-radius: 999px;
  text-decoration:none;
  font-size: 22px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), #5b8cff);
  border: 1px solid rgba(255,255,255,.20);
  box-shadow: 0 14px 30px rgba(0,0,0,.35);
}

/* Responsive */
@media (max-width: 980px){
  .hero__grid{ grid-template-columns: 1fr; }
  .hero__badges{ grid-template-columns: 1fr; }
  .grid-3{ grid-template-columns: 1fr; }
  .grid-4{ grid-template-columns: 1fr 1fr; }
  .location{ grid-template-columns: 1fr; }
  .nav{ display:none; } /* simple: oculta nav en móvil */
}
