h1 {
  font-family: "Fira Sans", sans-serif;
  font-size: 30px;
  text-align: center;

}

h2 {
    font-family: "Fira Sans", sans-serif;
    color: #11385A;
    text-align: center;
    font-size: 30px;

}
p {
  font-family: "Fira Sans", sans-serif;
  font-size: 15px;
  color: #575756;
}
.subtitulo-hero {
  color: #575756;
}
.txt-pie-bco{
  font-family: "Fira Sans", sans-serif;
  color: #FFFFFF;
  text-align: center;
  font-size: 14px;
  font-weight: bold;

}
.txt-pie{
  font-family: "Fira Sans", sans-serif;
  color: #9D9D9C;
  text-align: center;
  font-size: 12px;

}
.link-neutro {
  color: #9D9D9C;
  text-decoration: none;
}

.link-neutro:hover,
.link-neutro:visited,
.link-neutro:active {
  color: #9D9D9C;
  text-decoration: none;
}


.btn-marca {
  background-color: #2F8ECD;
  color: #fff;
  
}

.btn-marca:hover {
  background-color: #2678b0; /* un poco más oscuro al pasar el mouse */
  color: #fff;
  
}
.navbar {
  background-color: #2F8ECD !important;
}
footer{
    background-color: #575756;

}
#nav-secundaria {
  border-top: 1px solid #575756 !important;
}
#companias {
  border-top: 1px solid #575756 !important;
}
/* Estilos base para todos los tamaños */
#navbarPrincipal .nav-link {
  font-family: "Fira Sans", sans-serif;
  color: #fff;
  font-weight: bold;
  padding: 6px 12px;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}
#navbarPrincipal .nav-link:hover {
  color: #11385A;
  transform: scale(1.1);
  padding: 6px 12px;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: bolder;
}

#navbarPrincipal .nav-link.active {
  color: #fff;
}

/* Underline animado SOLO en desktop */
@media (min-width: 992px) {
  #navbarPrincipal .nav-link {
    position: relative;
  }

  #navbarPrincipal .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease;
  }

  #navbarPrincipal .nav-link:hover::after,
  #navbarPrincipal .nav-link.active::after {
    width: 70%;
  }
}

/* Hover en mobile: solo cambio de color */
@media (max-width: 991px) {
  #navbarPrincipal .nav-link:hover {
    color: #fff !important;
  }
}

.link-secundario {
  color: #2F8ECD;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.link-secundario:hover {
  color: #1a6fa3;
  transform: scale(1.05);
}
.link-pie-secundario {
  color: #11385A;
  font-size: 0.75rem;
  font-weight: 200;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.link-pie-secundario:hover {
  color: #1a6fa3;
  transform: scale(1.05);
}
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}

.whatsapp-float img {
  width: 55px;
  height: 55px;
}
.titulo-sobre-mi {
  color: #11385A;
  font-size: 2.0rem;
  text-align: center;
}
.titulo-sobre-mi::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: #2F8ECD;
  margin: 12px auto 0;
}
.titulo-coberturas {
  color: #11385A;
  font-size: 2.0rem;
  text-align: center;
}
.titulo-coberturas::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: #2F8ECD;
  margin: 12px auto 0;
}
.titulo-contacto {
  color: #11385A;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  text-align: left;
}

.icono-red {
  color: #2F8ECD;
  font-size: 1.5rem;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.icono-red:hover {
  color: #11385A;
  transform: scale(1.1);
}

.btn-enviar {
  display: block;
  margin: 0 auto;
  padding: 0.5rem 3rem;
}