/* Scroll suave para toda la página */
html {
  scroll-behavior: smooth;
}

/* Estilo inicial del Navbar (transparente) */

.navbar-transparent {
  background-color: #404afe;
  transition: background-color 0.5s ease;
}

/* Estilo del Navbar después de desplazarse (fondo azul) */

.navbar-solid {
  background-color: rgba(64,74,254,0.62);
  transition: background-color 0.5s ease;
}

.column-hero {
  width: 600px;
}

.logo {
  width: 75px;
  height: auto;
}

.margin-icon {
  margin-left: .5rem;
}

.max-parrafo {
  max-width: 600px;
}

.card-body.card-hero {
  background-color: var(--bs-info-bg-subtle);
}

.bg-logos {
  background-color: var(--bs-light);
}

.logos {
  width: auto;
  height: 50px;
}

/* Logos de clientes: una fila en escritorio, 3 + 3 en tablet y 2 + 2 + 2 en móvil
   (con flex-wrap quedaba un logo suelto en la segunda línea) */
.logos-clientes {
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: center;
  justify-items: center;
  align-items: center;
  gap: 1.5rem 2rem;
}

@media (min-width: 576px) {
  .logos-clientes {
    grid-template-columns: repeat(3, auto);
    gap: 2rem 3rem;
  }
}

@media (min-width: 992px) {
  .logos-clientes {
    grid-template-columns: repeat(6, auto);
  }
}

p.text-small {
  font-size: .7rem;
  font-weight: 200;
  font-style: italic;
}

.link-footer {
  text-decoration: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22' /%3E%3C/svg%3E");
}

/* Estilos aplicados únicamente a pantallas pequeñas si es necesario:   (Opcional: dentro de una media query para responsive) */

/* Personalizar el offcanvas que se abre desde arriba */

@media (max-width: 991.98px) {
  .offcanvas.offcanvas-top {
    height: auto;
    max-height: 100vh;
    width: 100%;
    top: 0;
    bottom: auto;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
}

.fit-cover {
  object-fit: cover;
}

.bg-white-300 {
  background: rgba(255, 255, 255, 0.3) !important;
}

.rounded-bottom-left {
  border-radius: 0;
  border-bottom-left-radius: .25rem!important;
}

.rounded-bottom-right {
  border-radius: 0;
  border-bottom-right-radius: .25rem!important;
}

.img-banner {
  max-width: 100%;
  height: 100%;
}

@media (min-width: 992px) {
  .img-banner-2 {
    max-width: 100%;
    height: 400px;
    overflow-x: hidden;
  }
}

@media (max-width: 767px) {
  .img-banner-2 {
    max-width: 100%;
    overflow-x: hidden;
  }
}

.politica-texto {
  margin-top: 90px;
}

.navbar-toggler {
  border: none;
}

@media (min-width: 768px) {
  .header {
    width: 100%;
  }
}

@media (max-width: 991px) {
  .contenido-hero {
    width: 380px;
  }
}

@media (min-width: 768px) {
  .btn-llamar {
    width: 300px;
  }
}

.text-small-2 {
  font-size: .8rem;
  color: var(--bs-primary);
}


/* Contacto por redes sociales (sección #contacto) */

.redes-contacto-icono {
  font-size: 2.5rem;
  color: #15D5FC;
}

.btn-red-social {
  padding: .85rem 1.1rem;
  border: none;
  border-radius: .75rem;
  color: #0E0A38;
  transition: background-color .2s ease, transform .2s ease;
}

.btn-red-social:hover,
.btn-red-social:focus-visible {
  background-color: #15D5FC;
  color: #0E0A38;
  transform: translateY(-2px);
}
