:root {
  --azul-principal: #0b4fa3;
  --amarillo: #ffd200;
}

body {
  padding-top: 50px;
  font-family: "Rubik", sans-serif;
}

h2 {
  color: var(--azul-principal);
}

.btn {
  border-radius: 3rem;
}

section {
  padding: 3rem 0rem;
}

hr {
  padding: 1rem 0rem;
}

@media (max-width: 768px) {
  body {
    padding-top: 0px;
  }

  h1,h2 {
    font-size: 1.8rem;
  }

  section {
    padding: 0;
  }

  hr {
    padding: 0;
  }

}

.subrayado {
  background-color: var(--azul-principal);
  color: #fff;
  padding: 0 1rem;
  border-radius: 0.5rem;
}

/* NAVBAR */
.navbar {
  background: var(--azul-principal);
}

/* HERO */
.hero-carousel,
.hero-slide {
  height: 100vh;
  min-height: 520px;
}

.hero-slide {
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px; /* ajustable */
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(2, 16, 32, 0.8) 0%,
    rgba(2, 16, 32, 0.6) 40%,
    rgba(2, 16, 32, 0.0) 70%
  );
}

.hero-slide .container {
  position: relative;
  z-index: 2;
}

.hero-logo {
  max-width: 500px;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.4));
}

.hero-icons i {
  color: var(--amarillo);
  margin-right: 4px;
}

/* Backgrounds por slide */
.hero-main {
  background: linear-gradient(
    rgba(11,79,163,0.85),
    rgba(11,79,163,0.85)
  );
}

.hero-auto {
  background-image: url("../img/auto2.webp");
}

.hero-casa {
  background-image: url("../img/casa2.webp");
}

.hero-viaje {
  background-image: url("../img/viaje2.webp");
}

.hero-auto,
.hero-casa,
.hero-viaje {
  background-size: cover;
  background-repeat: repeat;
  background-position: center top;
}

/* Mobile */
@media (max-width: 768px) {
  .hero-carousel,
  .hero-slide {
    height: auto;
    padding: 50px 0;
  }

  .hero-auto {
  background-image: url("../img/auto.webp");
}

.hero-casa {
  background-image: url("../img/casa.webp");
}

.hero-viaje {
  background-image: url("../img/viaje.webp");
}

  .hero-logo {
  max-width: 250px;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.4));
}
}


/* VIDEO */

.video-section {
  background: #f8f9fa;
}

.video-section h2 {
  color: var(--azul-principal);
}

video {
  width: 100%;
  height: auto;
  border-radius: 8px;
}



/* DESTINOS */

.destinos-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
}

.destino-item {
  flex: 0 0 auto;
  width: 220px;
  text-align: center;
  scroll-snap-align: start;
}

.destino-item img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

/* Opcional: ocultar scrollbar fea */
.destinos-scroll::-webkit-scrollbar {
  display: none;
}


/* TESTIMONIALS */

.testimonial-card {
  border: 0px;
  overflow: hidden;
}

.testimonial-text {
  font-size: 1.15rem;
  line-height: 1.6;
}

.testimonial-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 150px;
  max-width: 150px;
  border-radius: 50%;

}

/* Mobile */
@media (max-width: 768px) {
  .testimonial-img {
    order: -1;
  }

  .testimonial-img img {
    max-height: 100px;
  }

  .testimonial-text {
    font-size: 0.85rem;
    line-height: 1.6;
  }
}


/* REQUISITOS */

.req-icon {
  font-size: 3rem;
  line-height: 1;
}

#requisitos h2 {
  color: var(--azul-principal);
}


/* CARDS */
.card-hover {
  transition: transform .2s ease, box-shadow .2s ease;
}
.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.card h5 {
  color: var(--azul-principal);
}

.card-img-wrapper {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Extra: micro-efecto en hover */
.card-hover:hover img {
  transform: scale(1.05);
}

.card-img-wrapper img {
  transition: transform 0.3s ease;
}

/* BOTONES */

.btn-outline-primary {
  border-color: var(--azul-principal);
  color: var(--azul-principal);
}

.btn-outline-primary:hover {
  background-color: var(--azul-principal);
  color: #fff;
}

/* BOTON WHATSAPP */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  color: #fff;
}

/* FOOTER */
.footer-section {
  background: var(--azul-principal);
}
.footer-section input,
.footer-section textarea {
  border-radius: 6px;
}

/* ------------NUESTROS PRESTAMOS -------- */

.accordion-button {
  font-weight: 600;
}

.accordion-button:not(.collapsed) {
  background-color: #eef4ff;
  color: var(--azul-principal);
}
