:root{
  --mb-blue:#0b4dbb;
  --mb-blue-dark:#083b90;
  --mb-cyan:#1aa7ff;
  --mb-yellow:#ffd400;
  --text-dark:#1f2937;
  --white:#ffffff;
}

*{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family:'Montserrat', sans-serif;
  color:var(--text-dark);
  background:#f5f8fc;
}

img{
  max-width:100%;
  display:block;
}

.container{
  width:min(1180px, calc(100% - 32px));
  margin:0 auto;
}

/* HEADER */
.topbar{
  background:#fff;
  border-bottom:1px solid rgba(0,0,0,.06);
  position:sticky;
  top:0;
  z-index:50;
}

.topbar-inner{
  min-height:82px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.brand{
  display:flex;
  align-items:center;
}

.logo-header{
  height:58px;
  width:auto;
  display:block;
}

.topnav{
  display:flex;
  align-items:center;
  gap:24px;
}

.topnav a{
  text-decoration:none;
  color:#334155;
  font-weight:600;
  font-size:14px;
}

.topnav a:hover{
  color:var(--mb-blue);
}

/* HERO CON BANNER REAL */
.hero-banner{
  position:relative;
  min-height:340px;
  overflow:hidden;
  background:#0b4dbb;
}

.hero-banner-bg{
  position:absolute;
  inset:0;
}

.hero-banner-bg img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  transform:scale(1.02);
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(4,24,71,.82) 0%, rgba(4,24,71,.58) 32%, rgba(4,24,71,.18) 60%, rgba(4,24,71,.10) 100%),
    linear-gradient(180deg, rgba(0,0,0,.10) 0%, rgba(0,0,0,.20) 100%);
}

.hero-banner-content{
  position:relative;
  z-index:2;
  min-height: 300px;
  display:flex;
  align-items:center;
  padding: 45px 0;
}


.hero-panel{
  max-width:840px;
  color:#fff;
  background:rgba(7, 27, 78, 0.34);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  border:1px solid rgba(255,255,255,.14);
  border-radius:24px;
  padding:34px 30px;
  box-shadow:0 18px 60px rgba(0,0,0,.18);
}

.hero-eyebrow,
.eyebrow{
  display:inline-flex;
  align-items:center;
  padding:8px 14px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  background:rgba(255,255,255,.14);
  color:#fff;
  margin-bottom:16px;
}

.hero-panel h1{
  margin:0 0 16px;
  font-size:clamp(2rem, 4.5vw, 4rem);
  line-height:1.02;
  font-weight:800;
  color:#fff;
}

.hero-panel h1 strong{
  color:var(--mb-yellow);
  text-shadow:0 2px 12px rgba(0,0,0,.22);
}

.hero-panel p{
  margin:0 0 22px;
  font-size:1rem;
  line-height:1.65;
  color:rgba(255,255,255,.92);
}

.hero-meta{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-bottom:22px;
}

.pill{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:10px 16px;
  border-radius:999px;
  font-size:14px;
  font-weight:700;
  background:#fff;
  color:#0f172a;
  box-shadow:0 10px 30px rgba(0,0,0,.10);
}

.pill-light{
  background:rgba(255,255,255,.14);
  color:#fff;
  border:1px solid rgba(255,255,255,.18);
  box-shadow:none;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 18px;
  border-radius:14px;
  text-decoration:none;
  font-weight:700;
  transition:.2s ease;
}

.btn-primary{
  background:var(--mb-yellow);
  color:#0f172a;
}

.btn-primary:hover{
  transform:translateY(-1px);
  box-shadow:0 12px 24px rgba(0,0,0,.16);
}

.btn-secondary{
  background:rgba(255,255,255,.14);
  color:#fff;
  border:1px solid rgba(255,255,255,.18);
}

.btn-secondary:hover{
  background:rgba(255,255,255,.20);
}

/* SECCIONES EXISTENTES */
.section{
  padding:72px 0;
}

.section-alt{
  background:#eef4fb;
}

.section-soft{
  background:#f8fbff;
}

.section-heading{
  margin-bottom:28px;
}

.section-heading.center{
  text-align:center;
}

.section-heading h2{
  margin:0 0 10px;
  font-size:clamp(1.8rem, 3vw, 2.5rem);
  color:#0f172a;
}

.section-heading p{
  margin:0;
  color:#475569;
  line-height:1.6;
}

.eyebrow-blue{
  background:#e0efff;
  color:var(--mb-blue);
}

.grid-4{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:18px;
}

.info-card{
  border-radius:20px;
  padding:24px;
  box-shadow:0 10px 30px rgba(15,23,42,.06);
}

.soft-cyan{ background:#e9f8ff; }
.soft-white{ background:#ffffff; }
.soft-blue{ background:#dbeafe; }
.soft-cream{ background:#fff7e8; }

.info-card h3{
  margin:0 0 8px;
  font-size:1.1rem;
}

.info-card p{
  margin:0;
  color:#475569;
  line-height:1.6;
}

.draws-list{
  display:grid;
  gap:20px;
}

.draw-card{
  background:#fff;
  border-radius:24px;
  padding:24px;
  box-shadow:0 10px 30px rgba(15,23,42,.06);
}

.draw-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}

.date-tag{
  display:inline-block;
  margin-bottom:8px;
  padding:7px 12px;
  border-radius:999px;
  background:#e0efff;
  color:var(--mb-blue);
  font-size:12px;
  font-weight:800;
}

.draw-header h3{
  margin:0;
  color:#0f172a;
}

.mini-link{
  font-size:14px;
  color:var(--mb-blue);
  font-weight:700;
  text-decoration:none;
}

.winners-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}

.winner-item{
  background:#f8fbff;
  border:1px solid #e2e8f0;
  border-radius:18px;
  padding:16px;
}

.winner-filial{
  display:inline-block;
  margin-bottom:8px;
  font-size:12px;
  font-weight:800;
  color:var(--mb-blue);
  text-transform:uppercase;
}

.winner-item strong{
  display:block;
  color:#0f172a;
  margin-bottom:6px;
}

.winner-item small{
  color:#64748b;
}

.two-col{
  display:grid;
  grid-template-columns:1fr 1.15fr;
  gap:28px;
  align-items:start;
}

.accordion{
  display:grid;
  gap:12px;
}

.accordion-item{
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:18px;
  padding:0;
  overflow:hidden;
}

.accordion-item summary{
  list-style:none;
  cursor:pointer;
  padding:18px 20px;
  font-weight:700;
  color:#0f172a;
}

.accordion-item summary::-webkit-details-marker{
  display:none;
}

.accordion-content{
  padding:0 20px 20px;
  color:#475569;
  line-height:1.7;
}

.branches-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
}

.branch-card{
  background:#fff;
  border-radius:20px;
  padding:22px;
  box-shadow:0 10px 30px rgba(15,23,42,.06);
}

.branch-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:12px;
}

.branch-top h3{
  margin:0;
}

.branch-top span{
  font-size:13px;
  color:#64748b;
  font-weight:700;
}

.branch-card ul{
  margin:0;
  padding-left:18px;
  color:#475569;
  FONT-SIZE: small;
}

.branch-card li + li{
  margin-top:3px;
}

.footer{
  background:#0b1734;
  color:#fff;
  padding:28px 0;
}

.footer-inner{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
}

.footer p{
  margin:6px 0 0;
  color:rgba(255,255,255,.78);
}

/* RESPONSIVE */
@media (max-width: 1100px){
  .grid-4{
    grid-template-columns:repeat(2, 1fr);
  }

  .winners-grid{
    grid-template-columns:repeat(2, 1fr);
  }

  .branches-grid{
    grid-template-columns:repeat(2, 1fr);
  }

  .two-col{
    grid-template-columns:1fr;
  }
}

@media (max-width: 768px){
  .topbar-inner{
    min-height:auto;
    padding:14px 0;
    flex-direction:column;
    align-items:flex-start;
  }

  .topnav{
    width:100%;
    flex-wrap:wrap;
    gap:14px;
  }

  .logo-header{
    height:48px;
  }

  .hero-banner{
    min-height:auto;
  }

  .hero-banner-content{
    min-height:auto;
    padding:32px 0 42px;
  }

  .hero-panel{
    max-width:100%;
    padding:22px 18px;
    border-radius:18px;
  }

  .hero-panel h1{
    line-height:1.06;
  }

  .hero-meta{
    flex-direction:column;
    align-items:flex-start;
  }

  .grid-4,
  .winners-grid,
  .branches-grid{
    grid-template-columns:1fr;
  }

  .draw-header,
  .footer-inner{
    flex-direction:column;
    align-items:flex-start;
  }
}

.btn-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #0b4dbb, #1aa7ff);
  color: #fff;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  z-index: 999;
  
  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .3s ease;
}

.btn-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.btn-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.35);
}

.btn-whatsapp {
  position: fixed;
  bottom: 90px; /* encima del botón TOP */
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  z-index: 999;
  transition: all .3s ease;
}

.btn-whatsapp:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}