*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Arial;
}

body{
  background:#f5f5f5;
}

/* =========================
 NAVBAR HORIZONTAL
========================= */

/* NAVBAR */
.navbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:15px 40px;
  background:#083a5b;
  color:white;
  position:sticky;
  top:0;
  z-index:1000;
}

/* LOGO */

.logo{
  display:flex;
  align-items:center;
  gap:10px;
}

.logo img{
  width:105px;
}

/* MENU HORIZONTAL */

nav{
  display:flex;
  align-items:center;
  gap:25px;
}

/* LINKS */
nav a,
.dropdown-btn{
  color:white;
  text-decoration:none;
  font-size:15px;
  position:relative;
  cursor:pointer;
  padding-bottom:5px;
  transition:0.3s;
  white-space:nowrap;
}

/* EFECTO LINEA */

nav a::after,
.dropdown-btn::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:0%;
  height:2px;
  background:#ffffff;
  transition:width 0.3s ease;
}

nav a:hover::after,
.dropdown-btn:hover::after{
  width:100%;
}

/* DROPDOWN */

.dropdown{
  position:relative;
  display:inline-block;
}

.dropdown-content{
  display:none;
  position:absolute;
  top:120%;
  left:0;
  background:#0d3b5c;
  border-radius:6px;
  min-width:180px;
  overflow:hidden;
  z-index:100;
}

/* OPCIONES */

.dropdown-content a{
  display:block;
  padding:10px 15px;
  font-size:14px;
  margin:0;
}

.dropdown-content a:hover{
  background:rgba(255,255,255,0.1);
}

/* MOSTRAR MENU */

.dropdown:hover .dropdown-content{
  display:block;
}

/* TITULO */

.titulo{
  padding:20px 60px;
}

.titulo h1{
  color:#c40000;
}

/* BARRA */

.barra{
  background:#b30000;
  color:white;
  padding:10px 60px;
}

/* BANNER */

.banner img{
  width:100%;
  height:350px;
  object-fit:cover;
}

/* FILAS */

.fila{
  display:flex;
  gap:70px;
  padding:50px 200px;
  border-bottom:1px solid #ddd;
}

/* COLUMNAS */

.col{
  flex:1;
}

.col h3{
  color:#c40000;
  margin-bottom:15px;
}

.col h4{
  margin-top:15px;
  margin-bottom:10px;
  color:#c40000;
}

.col p{
  line-height:1.6;
  font-size:14px;
  color:#333;
}

/* ESCUDO */

.escudo{
  margin-top:20px;
  width:500px;
  display:block;
}

/* RESPONSIVE */

@media(max-width:1200px){

  .grid-5{
      grid-template-columns:repeat(3, 1fr);
  }
}

@media(max-width:768px){

  .navbar{
    flex-direction:column;
    text-align:center;
    padding:20px;
}

nav{
    justify-content:center;
}

  .fila{
      flex-direction:column;
      padding:40px 20px;
  }

  .escudo{
      width:100%;
  }
}

/* FRANJA CONTACTOS */

.franja-contactos{
  background-color:#c62828;
  color:white;
  padding:60px 10px;
  text-align:center;
}

.franja-contactos h2{
  margin-bottom:40px;
  font-size:28px;
  letter-spacing:2px;
}

.contenedor-contactos{
  display:flex;
  justify-content:space-around;
  align-items:center;
  flex-wrap:wrap;
  gap:40px;
}

/* ITEMS */

.contacto-item{
  display:flex;
  align-items:center;
  gap:20px;
  text-align:left;
  max-width:340px;
}

.icono-img{
  width:60px;
  height:auto;
}

/* EMERGENCIA */

.emergencia{
  flex-direction:column;
  text-align:center;
}

.texto-emergencia{
  font-weight:bold;
  letter-spacing:1px;
}

/* EFECTO 911 */

.numero-911 img{
  width:120px;
  margin-top:15px;
  animation:pulso 1.5s infinite;
}

/* ANIMACION */

@keyframes pulso{
  0%{
      transform:scale(1);
      filter:drop-shadow(0 0 0px rgba(255,255,255,0.5));
  }

  50%{
      transform:scale(1.1);
      filter:drop-shadow(0 0 20px rgba(255,255,255,0.9));
  }

  100%{
      transform:scale(1);
      filter:drop-shadow(0 0 0px rgba(255,255,255,0.5));
  }
}

/* FOOTER */

footer{
  background:#111;
  color:white;
  text-align:center;
  padding:25px;
  margin-top:40px;
}