body {
  margin: 0;
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  color: #222;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.5px;
}

p {
  margin: 0;
}

.section {
  padding: 0 20px;
}

.section p {
  font-size: 24px;
}

#section1 {
  background-color: #FFF;
  padding: 0px;
}

#section1 h5 {
  color: #DDD;
}

#imgSe1 {
  width: 55%;
  opacity: 0.9 !important;
}

#section2 {
  background: #f5f5f5;
  color: #333;
}

#section3 {
  background: #f5f5f5;
  color: #333;
}

#section3 p {
  font-size: 18px;
}

#section4 {
  background: #333;
  color: white;
}

#section4 p {
  font-size: 19px;
}

#section4 ul li {
  font-size: 18px;
}

#section5 {
  background: #0f2027;
  color: #FFF;
}

#section5 p {
  font-size: 16px;
}

#section6 {
  background: #0a141d;
  color: #FFF;
}

#section6 a {
  color: #EEE;
}

#section6 p a {
  color: #EEE;
}

#section6 .btnUneteContacto {
  background-color: #4caf50;
  color: #fff;
  border-radius: 50px;
  font-weight: bold;
}

.btn {
  border-radius: 0;
}

.lineaBaja {
  position: absolute;
  bottom: 0;
  width: 100%;
  z-index: 1;
}

.lineaAlta {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
}

/* Botón flotante */
.language-switcher {
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 1000;
  background: white;
  border-radius: 20px;
  padding: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  font-size: 13px;
}

.language-switcher:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.language-btn {
  background: none;
  border: none;
  padding: 4px 6px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.language-btn.active {
  background: #f0f0f0;
}

.flagTop {
  width: 19px;
  height: 13px;
  border-radius: 2px;
  object-fit: cover;
}

/* Estados iniciales */
#english-btn {
  display: none;
}

#spanish-btn {
  display: flex;
}

/* Botón flotante */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 999;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 10px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.whatsapp-float img {
  width: 32px;
  height: 32px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* Burbuja de mensaje */
.whatsapp-msg {
  position: fixed;
  bottom: 80px;
  left: 20px;
  z-index: 998;
  background-color: #EEE;
  color: #111;
  border: 1px solid #ddd;
  padding: 10px 15px 10px 20px;
  border-radius: 15px;
  font-size: 14px;
  max-width: 200px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
  animation: aparecer 0.5s ease-in-out;
}

/* Botón cerrar (X) */
.close-msg {
  position: absolute;
  top: 5px;
  right: 10px;
  color: #999;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
}

/* Animación */
@keyframes aparecer {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-custom {
  font-family: sans-serif;
  position: absolute;
  bottom: 15%;
  left: 35%;
  box-shadow: 10px 10px 9px 1px rgba(0, 0, 0, 0.55);
  z-index: 1;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.9);
}

.play-btn {
  width: 80px;
  height: 80px;
  position: absolute;
  top: 37%;
  left: 42%;
  background: rgba(255, 255, 255, 0.2) !important;
  border: 2px solid #0b5ed7 !important;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.play-btn:hover {
  background: rgba(255, 255, 255, 0.3) !important;
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.play-btn i {
  color: #0b5ed7;
  font-size: 1.5rem;
  margin-left: 3px;
}

.oculto {
  display: none !important;
}

.lang-container {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 50px 80px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.flag {
  width: 100px;
  height: 70px;
  border-radius: 10px;
  transition: transform 0.3s;
}

.flag:hover {
  transform: scale(1.1);
  cursor: pointer;
}

.selected {
  border: 4px solid #fff;
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

/*-----------*/
.timeline {
  position: relative;
  padding: 10px 0;
  width: 100%;
  max-width: 700px;
}

.timeline p {
  font-size: 15px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background-color: #0d6efd;
}

.timeline-step {
  position: relative;
  margin: 0;
  width: 50%;
  padding: 0px 15px;
}

.timeline-step::before {
  content: '';
  position: absolute;
  top: 45px;
  right: -10px;
  width: 20px;
  height: 20px;
  background-color: #fff;
  border: 4px solid #0d6efd;
  border-radius: 50%;
  z-index: 1;
}

.timeline-step:nth-child(even) {
  left: 50%;
}

.timeline-step:nth-child(even)::before {
  left: -10px;
  right: auto;
}

.timeline-step .card {
  border: none;
  background-color: #f8f9fa;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.timeline-step h5 {
  color: #003685;
  font-weight: 600;
  font-size: 18px;
}

.accordion-button:not(.collapsed) {
  color: #FFF;
  background-color: #0f2027;
}

.accordion-button {
  color: #FFF;
  background-color: #0f2027;
  font-size: 18px;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M8.12 9.29L12 13.17l3.88-3.88a1 1 0 111.41 1.41l-4.59 4.59a1 1 0 01-1.41 0L6.7 10.7a1 1 0 111.42-1.41z'/%3E%3C/svg%3E");
  transform: rotate(0deg);
  transition: transform 0.3s ease;
  background-size: 1rem;
}

/* Estado expandido */
.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M8.12 9.29L12 13.17l3.88-3.88a1 1 0 111.41 1.41l-4.59 4.59a1 1 0 01-1.41 0L6.7 10.7a1 1 0 111.42-1.41z'/%3E%3C/svg%3E") !important;
  transform: rotate(180deg);
}

/* Versión móvil */
@media (max-width: 768px) {
  .timeline::before {
    left: 10px;
  }

  .timeline-step {
    width: 100%;
    padding-left: 15px;
  }

  .timeline-step::before {
    left: 1px !important;
  }

  .timeline-step:nth-child(even) {
    left: 0;
  }
}

@media (max-width: 767px) {
  .section p {
    font-size: 18px;
  }

  #imgSe1 {
    width: 35%;
  }

  #section2 h2 {
    font-size: 16px;
  }

  #section2 p {
    font-size: 14px !important;
  }

  #section2 h5 {
    font-size: 16px;
  }

  #imgS2 {
    display: none;
  }

  #section3 h1 {
    font-size: 16px;
  }

  #section3 h4 {
    font-size: 14px;
  }

  #section3 p {
    font-size: 12px;
  }

  #section3 .fa-2x {
    font-size: 14px;
  }

  #section4 h1 {
    font-size: 14px;
  }

  #section4 p {
    font-size: 12px;
  }

  #section4 p span {
    font-size: 12px;
  }

  #section4 ul li {
    font-size: 12px;
  }

  #section5 h1 {
    font-size: 16px;
  }

  #section5 p {
    font-size: 12px;
  }

  #section5 .accordion-button {
    font-size: 14px;
  }

  #section5 .accordion-body {
    font-size: 12px;
  }

  #section6 h4 {
    font-size: 16px;
  }

  #section6 h4 a {
    font-size: 16px !important;
  }

  #section6 p {
    font-size: 16px;
  }

  .etapasTexto {
    font-size: 12px !important;
  }
}

/* --- BOTÓN FLOTANTE --- */
#btnFlotante {
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 9999;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0d6efd, #1a73e8);
  color: #fff;
  border-radius: 50px;
  padding: 10px 10px;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}

/* --- Ícono dentro del botón --- */
#btnFlotante .icono {
  background: #fff;
  color: #0d6efd;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  margin-right: 10px;
}

/* --- Hover --- */
#btnFlotante:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* --- Animación más discreta --- */
.animate__bounce {
  --animate-duration: 2.5s;
}

.mySwiper {
  width: 100%;
  height: 100dvh;
  box-sizing: border-box;
}

/* Estilo general para que en desktop siga horizontal */
.slide-content {
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.slide-text {
  flex: 1;
  width: 50%;
}

.slide-text h1 {
  font-size: 85px;
}

.slide-text h2 {
  font-size: 60px;
}

.slide-text p {
  font-size: 40px;
}

.slide-img {
  flex: 1;
  display: flex;
  justify-content: center;
}

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

/* En móviles, cambiar a vertical */
@media (max-width: 768px) {
  .slide-content {
    flex-direction: column !important;
    text-align: center;
    vertical-align: middle;
  }

  .slide-text {
    order: 1;
    width: 100%;
    margin-top: 100px;
  }

  .slide-text h1 {
    font-size: 60px;
  }

  .slide-text h2 {
    font-size: 40px;
  }

  .slide-text p {
    font-size: 30px;
  }

  .slide-img {
    order: 2;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .slide-img img {
    height: 250px;
  }
}

.ani {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.ani.is-visible {
  visibility: visible;
  pointer-events: auto;
}

/* Ajustar el alto para que Swiper nunca crezca más que fullPage */
#section7 .mySwiperTestimonios {
  height: 100%;
  position: relative;
}

#section7 .swiper-slide {
  height: 100%;
  display: flex;
  align-items: center;
}

/* Foto */
#section7 img {
  width: 150px;
  height: 150px;
  object-fit: cover;
}

/* Botones inferiores (pagination) */
#section7 .swiper-pagination {
  bottom: 30px !important;
  /* Ahora se ve */
}

#section7 .swiper-pagination-bullet {
  background: #ccc;
  width: 12px;
  height: 12px;
  opacity: 1;
}

#section7 .swiper-pagination-bullet-active {
  background: #007bff;
  width: 18px;
  border-radius: 10px;
}

/* Botones personalizados abajo */
.custom-nav {
  position: absolute;
  bottom: 50px;
  width: 100%;
  text-align: center;
  z-index: 9999;
}

.nav-btn {
  background: #000;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  cursor: pointer;
  transition: 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  border: none
}

.nav-btn:hover {
  background: #222;
  transform: scale(1.08);
}

/*>>>>>>>Rueda>>>>>>>>*/
.gallery {
  position: absolute;
  width: 100%;
  height: 90vh;
  overflow: hidden;
}

.cards {
  position: absolute;
  width: 28rem;
  left: 48%;
  transform: translate(-50%, -50%);
  top: 10%;
}

.cards li {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 30rem;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 0.8rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cardLote {
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
  border: none;
  background-color: #FFF;
  width: 100%;
  font-family: "Urbanist" !important;
}

.cardLote p {
  font-size: 16px;
}

@media (max-width: 767px) {
  .cards {
    width: 19rem;
  }

  .cards li {
    width: 20rem;
  }

  #section8 h3 {
    font-size: 14px;
  }
}

.bCambiarLotes{
  position: absolute;
  bottom: 0px;
  left: 49%;
  transform: translateX(-50%);
}

#section1 .slide-content {
  max-width: 1350px;
  margin: 0 auto;
  display: flex;
  justify-content: center; 
  align-items: center; 
  height: 100vh;
}

.container-fluid {
  max-width: 1350px;
  margin: 0 auto;
}

