/* ===============================
   RESET BÁSICO
================================ */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family: "Segoe UI", Arial, sans-serif;
  background:#f4f6f9;
  color:#333;
  line-height:1.6;
}

.container{
  width:90%;
  max-width:1100px;
  margin:auto;
}

/* ===============================
   HEADER
================================ */
header{
  background:#7b1e3a;
  color:#fff;
}

.header-content{
  display:flex;
  align-items:center;
  gap:15px;
  padding:20px 0;
}

.header-content img{
  height:70px;
}

.header-content h1{
  font-size:22px;
}

.header-content p{
  font-size:14px;
  opacity:.9;
}

/* ===============================
   NAV
================================ */
nav{
  background:#5e162c;
}

nav ul{
  list-style:none;
  display:flex;
  flex-wrap:wrap;
}

nav ul li{
  margin:0;
}

nav ul li a{
  display:block;
  padding:14px 18px;
  color:#fff;
  text-decoration:none;
  font-size:14px;
}

nav ul li a:hover,
nav ul li a.activo{
  background:#7b1e3a;
}

/* ===============================
   MENÚ HAMBURGUESA
================================ */
.menu-toggle{
  display:none;
  font-size:26px;
  color:#fff;
  cursor:pointer;
  padding:15px;
}

/* ===============================
   BANNER
================================ */
.banner{
  background:
    linear-gradient(rgba(123,30,58,.85),rgba(123,30,58,.85)),
    url("banner.jpg") center/cover no-repeat;
  color:#fff;
  text-align:center;
  padding:70px 20px;
}

.banner h2{
  font-size:32px;
  margin-bottom:10px;
  color:#fff;
}

.banner p{
  font-size:18px;
  max-width:700px;
  margin:auto;
  color:#fff;
}

/* ===============================
   SECCIONES
================================ */
section{
  padding:40px 0;
}

section h2{
  color:#7b1e3a;
  margin-bottom:15px;
}

section h3{
  color:#5e162c;
  margin-top:20px;
}

.card{
  background:#fff;
  padding:20px;
  margin-bottom:15px;
  border-radius:6px;
  box-shadow:0 2px 8px rgba(0,0,0,.1);
}

/* ===============================
   BOTÓN CONSULTA
================================ */
.btn-consulta{
  display:inline-block;
  background:#7b1e3a;
  color:#fff;
  padding:12px 25px;
  text-decoration:none;
  margin-top:15px;
  border-radius:4px;
}

.btn-consulta:hover{
  background:#5e162c;
}

/* ===============================
   MODAL COMUNICADO
================================ */
.modal{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.6);
  align-items:center;
  justify-content:center;
  z-index:9999;
}

.modal-contenido{
  background:#fff;
  padding:25px;
  max-width:400px;
  border-radius:6px;
  text-align:center;
}

.modal-contenido h3{
  color:#7b1e3a;
  margin-bottom:10px;
}

.modal-contenido button{
  margin-top:15px;
  padding:10px 20px;
  border:none;
  background:#7b1e3a;
  color:#fff;
  cursor:pointer;
}

.modal-contenido button:hover{
  background:#5e162c;
}

/* ===============================
   BOTÓN WHATSAPP (CSS PURO)
================================ */
.btn-whatsapp{
  position:fixed;
  bottom:20px;
  right:20px;
  width:56px;
  height:56px;
  background:#25D366;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 4px 10px rgba(0,0,0,.3);
  z-index:9999;
}

.btn-whatsapp::before{
  content:"";
  width:28px;
  height:28px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='white' d='M380.9 97.1C339-8.5 210.1-34.8 117.6 13.1 20.3 64.7-25.1 181.4 16.8 284.9L0 480l198.2-52.1c86.6 32.1 188.8 4.6 247.8-69.7 59.1-74.3 61.9-178.3 7-254z'/%3E%3C/svg%3E");
  background-size:contain;
  background-repeat:no-repeat;
}

/* ===============================
   FOOTER
================================ */
footer{
  background:#5e162c;
  color:#fff;
  text-align:center;
  padding:20px;
  margin-top:40px;
}

footer p{
  font-size:14px;
}

/* ===============================
   RESPONSIVE
================================ */
@media(max-width:768px){

  .header-content{
    flex-direction:column;
    text-align:center;
  }

  nav ul{
    display:none;
    flex-direction:column;
  }

  nav ul.mostrar{
    display:flex;
  }

  .menu-toggle{
    display:block;
    background:#5e162c;
    text-align:right;
  }

  nav ul li a{
    border-top:1px solid rgba(255,255,255,.2);
  }

  .banner h2{
    font-size:26px;
  }

  .banner p{
    font-size:16px;
  }
}
