.servicios {
  background: #f3f3f3;
  padding: 80px 20px;
  text-align: center;
}

.servicios .titulo {
  font-size: 2.5em;
  margin-bottom: 50px;
  color: #333;
}

.grid-servicios {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card-servicio {
  background: #fff;
  padding: 40px 20px 30px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: 0.3s ease;
  border-bottom: 3px solid #e0e0e0;
}

.card-servicio:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.card-servicio img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.card-servicio h3 {
  font-size: 1.2em;
  color: #222;
  margin-bottom: 15px;
}

.card-servicio p {
  font-size: 0.95em;
  color: #444;
  margin-bottom: 15px;
  line-height: 1.5em;
}

.card-servicio a {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #FDB521;
  color: #000;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.card-servicio a:hover {
  background-color: #e0a412;
}


.galeria {
  background: #fff;
  padding: 80px 20px;
  text-align: center;
}

.galeria .titulo {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: #333;
}

.grid-galeria {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: auto;
}

.img-wrap {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.img-wrap:hover {
  transform: scale(1.03);
}

.img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  flex-direction: row;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 2.5rem;
  border: none;
  cursor: pointer;
  padding: 10px 15px;
  z-index: 1001;
}

.lightbox .prev {
  left: 20px;
}

.lightbox .next {
  right: 20px;
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .grid-galeria {
    grid-template-columns: 1fr;
  }
}
/*  */

.titulo {
  color: #FDB521;
  font-weight: 700;
}

/*  */
.seccion-servicios-xpel {
  background: #1b1b1b;
  padding: 30px 50px;
  font-family: 'Segoe UI', sans-serif;
  color: white;
  text-align: center;
  overflow-x: hidden;
}

.contenedor-slider {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  display: auto;
  justify-content: center;
}

.slider-xpel {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0 5px 5px;
  -webkit-overflow-scrolling: touch;
  justify-content: center;
  align-items: center;
}

.slider-xpel::-webkit-scrollbar {
  display: none;
}

.card-xpel {
  flex: 0 0 auto;
  width: 33%;
  /* max-width: 360px; */
  height: 460px;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s ease, filter 0.3s ease;
  cursor: pointer;
  margin: 0 auto; /* centra individualmente */
}

.card-xpel:hover {
  transform: scale(1.03);
  filter: brightness(0.9);
}

.card-xpel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-xpel span {
  position: absolute;
  bottom: 15px;
  left: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  text-shadow: 1px 1px 4px black;
}

/* Flechas */
.btn-flecha {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fdb521;
  border: 2px solid #fff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  z-index: 10;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.btn-flecha:hover {
  background: #ffc107;
  transform: translateY(-50%) scale(1.05);
}

.btn-flecha.izquierda {
  left: 10px;
}

.btn-flecha.derecha {
  right: 10px;
}

/* Móvil */
@media (max-width: 768px) {
  .slider-xpel {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    scroll-snap-type: x mandatory;
    padding-left: 5px !important;
    padding-right: 5px !important;
    gap: 16px;
    -webkit-overflow-scrolling: touch;
  }



.seccion-servicios-xpel {
  padding-left: 5px !important;
    padding-right: 5px !important;
}

  .card-xpel {
    flex: 0 0 auto;
    width: 85%;
    height: 450px;
    scroll-snap-align: center;
    margin: 0;
  }

  .btn-flecha {
    display: none;
  }
}


.nav-link:hover,
.ftco-footer-widget a:hover,
.ftco-footer-social a:hover {
  color: #FDB521 !important;
}


/*  */
.aliados {
  background-color: #f9f9f9;
  padding: 60px 20px;
  text-align: center;
}

.aliados .titulo {
  font-size: 2em;
  margin-bottom: 30px;
  color: #333;
}

.logos-scroll {
  display: flex;
  justify-content: center; /* centra cuando no hay scroll */
  gap: 20px;
  overflow-x: auto;
  padding: 10px 20px;
  margin: 0 auto;
  scroll-padding-left: 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}

.logos-scroll::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.logo-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 80px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  padding: 10px;
  transition: transform 0.3s ease;
  scroll-snap-align: center;
}

.logo-item:hover {
  transform: scale(1.05);
}

.logo-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Responsive ajustes */
@media (max-width: 768px) {
  .logo-item {
    width: 120px;
    height: 70px;
  }

  .logos-scroll {
    justify-content: start; /* activa scroll en móvil */
  }
}




/*  */

/* .contacto-banner {
  background: #f2f2f2;
  padding: 60px 20px;
  text-align: center;
}

.contacto-banner .titulo {
  font-size: 2em;
  margin-bottom: 40px;
  color: #333;
}

.contacto-opciones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.opcion-contacto {
  background: white;
  border-radius: 10px;
  padding: 20px;
  width: 150px;
  height: 150px;
  text-decoration: none;
  color: #333;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.opcion-contacto img {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
}

.opcion-contacto span {
  font-size: 1em;
  font-weight: 500;
}

.opcion-contacto:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
} */

.contacto-banner {
  background: #000;
  padding: 60px 20px;
  text-align: center;
  color: white;
}

.contacto-banner .titulo {
  font-size: 2em;
  margin-bottom: 40px;
  color: #FDB521;
}

.contacto-opciones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.opcion-contacto {
  background: #111;
  border: 2px solid #FDB521;
  border-radius: 12px;
  padding: 20px;
  width: 150px;
  height: 150px;
  text-decoration: none;
  color: white;
  box-shadow: 0 4px 15px rgba(253, 181, 33, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.opcion-contacto img {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
  
}

.opcion-contacto span {
  font-size: 1em;
  font-weight: 600;
  color: #FDB521;
}

.opcion-contacto:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(253, 181, 33, 0.4);
}


/*  */

.reseñas-banner {
  background-color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.reseñas-banner .titulo {
  font-size: 2em;
  margin-bottom: 40px;
  color: #333;
}

.grid-reseñas {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.card-reseña {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 30px 20px;
  width: 280px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
}

.card-reseña:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.card-reseña img {
  width: 50px;
  height: 50px;
  margin-bottom: 15px;
  border-radius: 50%;
}

.card-reseña .comentario {
  font-size: 0.95em;
  color: #444;
  margin-bottom: 15px;
}

.card-reseña .estrella {
  color: #fbc02d;
  font-size: 1.2em;
  margin-bottom: 10px;
}

.card-reseña .nombre {
  font-weight: 600;
  color: #333;
  font-size: 0.95em;
}

/* Reglas existentes (sin cambios) */
.reseñas-banner {
  background-color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.reseñas-banner .titulo {
  font-size: 2em;
  margin-bottom: 40px;
  color: #333;
}

.grid-reseñas {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.card-reseña {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 30px 20px;
  width: 280px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
  flex: 0 0 auto;
}

.card-reseña:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.card-reseña img {
  width: 50px;
  height: 50px;
  margin-bottom: 15px;
  border-radius: 50%;
}

.card-reseña .comentario {
  font-size: 0.95em;
  color: #444;
  margin-bottom: 15px;
}

.card-reseña .estrella {
  color: #fbc02d;
  font-size: 1.2em;
  margin-bottom: 10px;
}

.card-reseña .nombre {
  font-weight: 600;
  color: #333;
  font-size: 0.95em;
}

/* SOLO EN MÓVILES: scroll horizontal */
@media (max-width: 768px) {
  .grid-reseñas {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
    margin: 0 -20px; /* Para usar toda la pantalla */
    padding-left: 20px;
    padding-right: 20px;
  }

  .card-reseña {
    scroll-snap-align: center;
    margin-right: 15px;
  }
}


/* '../images/web/IMG_9193-scaled.jpg' */

.seccion-fondo-scroll {
  background-image: url('../images/web/IMG_9193-scaled.jpg'); /* ← Cambia por tu imagen */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: white;
  font-family: 'Segoe UI', sans-serif;
}

.seccion-fondo-scroll::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.6); /* Oscurece todo */
  z-index: 1;
}

.contenido-fondo-scroll {
  position: relative;
  z-index: 2;
  max-width: 90%;
  padding: 40px;
}

.contenido-fondo-scroll h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
    color: white;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9);
}

.contenido-fondo-scroll p {
  font-size: 1.2rem;
  margin: 10px 0;
  color: #f1f1f1;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6);
}

@media (max-width: 768px) {
  .seccion-fondo-scroll {
    background-attachment: scroll; /* Evita el problema en móviles */
  }

  .contenido-fondo-scroll h2 {
    font-size: 1.8rem;
  }

  .contenido-fondo-scroll p {
    font-size: 1rem;
  }
}




/*  */
.ftco-footer {
  background-color: #000;
  color: #ccc;
  padding: 60px 0;
  font-family: 'Poppins', sans-serif;
}

.ftco-footer-widget h2 {
  color: #FDB521;
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.ftco-footer-widget p {
  font-size: 0.95rem;
  color: #aaa;
  line-height: 1.6;
}

.ftco-footer-widget ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.ftco-footer-widget ul li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  color: #ddd;
}

.ftco-footer-widget ul li a {
  color: #FDB521;
  text-decoration: none;
  transition: color 0.3s ease;
}

.ftco-footer-widget ul li a:hover {
  color: #fff;
}

.ftco-footer-social a {
  color: #000;
  background: #FDB521;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  margin-right: 10px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.ftco-footer-social a:hover {
  background: #fff;
  color: #000;
  transform: scale(1.1);
}

.block-23 ul li .icon {
  color: #FDB521;
  margin-right: 10px;
  font-size: 1.2rem;
}

.ftco-footer .text-center a {
  color: #FDB521;
  font-weight: 600;
  transition: color 0.3s ease;
}

.ftco-footer .text-center a:hover {
  color: white;
}
.iconos-sociales {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin: 40px 0;
}

.iconos-sociales a {
  background-color: #111;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.iconos-sociales a:hover {
  background-color: #FDB521;
  color: black;
  transform: scale(1.1);
}
@media (max-width: 768px) {
  .ftco-footer .container {
    padding: 0 20px;
  }

  .ftco-footer-widget {
    text-align: center;
    margin-bottom: 30px;
  }

  .ftco-footer-widget h2 {
    margin-top: 20px;
  }

  .block-23 ul {
    padding-left: 0;
  }

  .block-23 ul li {
    justify-content: center;
    flex-direction: column;
    text-align: center;
  }

  .iconos-sociales {
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
  }

  .ftco-footer .text-center p {
    padding: 0 10px;
    font-size: 0.9rem;
  }
}

/*  */
.modal-quote {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
  }

  .modal-content-quote {
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
  }

  .close-quote {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
  }

  .close-quote:hover {
    color: #000;
  }

  #quoteForm {
    display: flex;
    flex-direction: column;
  }

  #quoteForm input,
  #quoteForm textarea {
    margin-bottom: 15px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
  }

  .btn-submit-quote {
    background-color: #fdbb00;
    border: none;
    color: white;
    padding: 12px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
  }

  .btn-submit-quote:hover {
    background-color: #e6a800;
  }

  /*  */

.contact-form .form-control {
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 12px 15px;
  font-size: 1rem;
}

.contact-form .form-control::placeholder {
  color: #999;
}

.btn-primary {
  background-color: #FDB521;
  border: none;
  color: #000;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #e0a800;
  color: #000;
}


  /*  */

  
    .servicios-section {
      padding: 60px 20px;
      max-width: 1200px;
      margin: auto;
      background: #ffffff;
    }

    .servicios-section h2 {
      text-align: center;
      font-size: 2.5rem;
      margin-bottom: 40px;
      color: #111;
    }

    .servicios-row {
      display: flex;
      flex-wrap: wrap;
      gap: 30px;
      justify-content: center;
    }

    .servicio-card {
      flex: 1 1 300px;
      background: #f9f9f9;
      border-radius: 15px;
      overflow: hidden;
      transition: transform 0.3s;
      box-shadow: 0 4px 10px rgba(0,0,0,0.08);
      display: flex;
      flex-direction: column;
    }

    .servicio-card:hover {
      transform: translateY(-5px);
    }

    .servicio-card img {
      width: 100%;
      height: 200px;
      object-fit: cover;
    }

    .servicio-content {
      padding: 20px;
      flex: 1;
    }

    .servicio-content h3 {
      margin: 0 0 10px;
      font-size: 1.2rem;
      color: #111;
    }

    .servicio-content p {
      font-size: 0.95rem;
      color: #555;
    }

    .btn-more {
      margin-top: 20px;
      background: #FDB521;
      color: #000;
      border: none;
      padding: 10px 20px;
      border-radius: 30px;
      font-weight: bold;
      cursor: pointer;
      transition: background 0.3s;
    }

    .btn-more:hover {
      background: #e0a200;
    }

    /* Modal */
    .modal {
      display: none;
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0,0,0,0.6);
      justify-content: center;
      align-items: center;
      z-index: 9999;
    }
#modal-text {
  white-space: pre-line;
}

    .modal-content {
      background: white;
      padding: 30px;
      max-width: 600px;
      border-radius: 15px;
      position: relative;
      text-align: left;
    }

    .modal-content h3 {
      margin-top: 0;
      color: #111;
    }

    .modal-content p {
      color: #444;
      font-size: 1rem;
      line-height: 1.6;
    }

    .modal-close {
      position: absolute;
      top: 15px;
      right: 20px;
      font-size: 26px;
      cursor: pointer;
      color: #111;
    }

    @media(max-width: 768px) {
      .servicio-card {
        flex: 1 1 100%;
      }
    }