    .servicios-main {
      max-width: 1100px;
      margin: 60px auto 40px auto;
      background: #fff;
      border-radius: 24px;
      box-shadow: 0 8px 32px rgba(74,60,140,0.10);
      padding: 48px 32px;
      display: flex;
      flex-direction: column;
      gap: 40px;
      z-index: 2;
    }
    .servicios-lista {
      display: flex;
      flex-wrap: wrap;
      gap: 36px;
      justify-content: center;
      margin-bottom: 24px;
    }
    .servicio-card {
      background: #f6f6fa;
      border-radius: 18px;
      box-shadow: 0 4px 18px #4a3c8c11;
      padding: 32px 28px;
      min-width: 260px;
      max-width: 340px;
      flex: 1 1 260px;
      display: flex;
      flex-direction: column;
      align-items: center;
      transition: transform 0.2s, box-shadow 0.2s;
      text-align: center;
    }
    .servicio-card:hover {
      transform: translateY(-8px) scale(1.03);
      box-shadow: 0 8px 32px #7c3aed33;
      background: #ede9fe;
    }
    .servicio-card i {
      font-size: 2.7rem;
      color: #7c3aed;
      margin-bottom: 16px;
    }
    .servicio-card h3 {
      font-size: 1.5rem;
      color: #4a3c8c;
      margin-bottom: 10px;
    }
    .servicio-card p {
      font-size: 1.1rem;
      color: #3b3663;
      margin-bottom: 0;
    }

    .btn-mas-info {
  margin-top: 18px;
  background: #7c3aed;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 22px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: 0 2px 8px #4a3c8c11;
  outline: none;
}
.btn-mas-info:hover,
.btn-mas-info:focus {
  background: #4a3c8c;
  color: #fff;
}

/* Carrusel del modal de servicios */
.modal-servicio {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(10,10,20,0.85);
  z-index: 1;
}
.modal-content {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 32px #4a3c8c55;
  padding: 38px 28px;
  display: flex;
  gap: 36px;
  align-items: center;
  min-width: 60vw;
  max-width: 900px;
  min-height: 340px;
  animation: modalIn 0.4s;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.92);}
  to { opacity: 1; transform: scale(1);}
}
.modal-info {
  flex: 1 1 320px;
  min-width: 220px;
}
.modal-info h3 {
  color: #7c3aed;
  margin-bottom: 12px;
}
.modal-info p {
  color: #3b3663;
  font-size: 1.1rem;
}
.modal-carousel {
  flex: 1 1 320px;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}
.modal-carousel img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 4px 18px #4a3c8c22;
}
.carousel-prev, .carousel-next {
  background: #7c3aed;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.3rem;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-prev:hover, .carousel-next:hover {
  background: #4a3c8c;
}
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #eee;
  color: #7c3aed;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.3rem;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 3;
}
.modal-close:hover {
  background: #7c3aed;
  color: #fff;
}

/* Añade esto a tu CSS (por ejemplo en servicios.css o gen_styles.css) */
#imgZoomModal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-zoom-bg {
  position: absolute;
  inset: 0;
  background: rgba(10,10,20,0.92);
  z-index: 1;
}
.img-zoom-content {
  position: relative;
  z-index: 2;
  background: none;
  border-radius: 18px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-zoom-content img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 18px;
  box-shadow: 0 8px 32px #4a3c8c55;
  background: #fff;
}
.img-zoom-close {
  position: absolute;
  top: -18px;
  right: -18px;
  background: #fff;
  color: #7c3aed;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.3rem;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 3;
  box-shadow: 0 2px 8px #4a3c8c22;
}
.img-zoom-close:hover {
  background: #7c3aed;
  color: #fff;
}

/* === SERVICIOS: RESPONSIVE PARA MÓVIL (hasta 480px) === */
@media (max-width: 480px) {
  .servicios-main {
    max-width: 99vw;
    margin: 18px auto 12px auto;
    padding: 16px 2vw;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(74,60,140,0.10);
    gap: 18px;
  }
  .servicios-lista {
    flex-direction: column;
    gap: 18px;
    margin-bottom: 10px;
  }
  .servicio-card {
    min-width: 0;
    max-width: 99vw;
    width: 100%;
    padding: 18px 8px;
    border-radius: 12px;
    box-shadow: 0 2px 8px #4a3c8c11;
    font-size: 1rem;
  }
  .servicio-card i {
    font-size: 2rem;
    margin-bottom: 10px;
  }
  .servicio-card h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
  }
  .servicio-card p {
    font-size: 0.98rem;
  }
  .btn-mas-info {
    margin-top: 12px;
    padding: 8px 0;
    font-size: 0.98rem;
    border-radius: 7px;
    width: 100%;
  }

  /* MODAL SERVICIOS */
  .modal-servicio {
    align-items: flex-start;
    padding: 8px 2px;
  }
  .modal-content {
    flex-direction: column;
    gap: 16px;
    min-width: unset;
    max-width: 98vw;
    min-height: unset;
    padding: 16px 2vw 18px 2vw;
    border-radius: 14px;
  }
  .modal-info {
    min-width: 0;
    width: 100%;
  }
  .modal-info h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
  }
  .modal-info p {
    font-size: 0.98rem;
  }
  .modal-carousel {
    flex-direction: row;
    gap: 6px;
    min-width: 0;
    width: 100%;
    justify-content: center;
    align-items: center;
  }
  .modal-carousel img {
    width: 90vw;
    max-width: 220px;
    height: auto;
    border-radius: 12px;
  }
  .carousel-prev, .carousel-next {
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
  }
  .modal-close {
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
  }

  /* ZOOM DE IMAGEN */
  .img-zoom-content img {
    max-width: 98vw;
    max-height: 60vh;
    border-radius: 12px;
  }
  .img-zoom-close {
    top: -10px;
    right: -10px;
    width: 28px;
    height: 28px;
    font-size: 1rem;
  }
}
/* === SERVICIOS: RESPONSIVE PARA TABLET PEQUEÑA (481px a 767px) === */
@media (min-width: 481px) and (max-width: 767px) {
  .servicios-main {
    max-width: 96vw;
    margin: 32px auto 18px auto;
    padding: 28px 4vw;
    border-radius: 18px;
    box-shadow: 0 6px 24px rgba(74,60,140,0.10);
    gap: 24px;
  }
  .servicios-lista {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 12px;
  }
  .servicio-card {
    min-width: 160px;
    max-width: 48vw;
    width: 100%;
    padding: 22px 10px;
    border-radius: 14px;
    box-shadow: 0 2px 8px #4a3c8c11;
    font-size: 1.08rem;
  }
  .servicio-card i {
    font-size: 2.2rem;
    margin-bottom: 8px;
  }
  .servicio-card h3 {
    font-size: 1.18rem;
    margin-bottom: 6px;
  }
  .servicio-card p {
    font-size: 1.02rem;
  }
  .btn-mas-info {
    margin-top: 10px;
    padding: 8px 0;
    font-size: 1rem;
    border-radius: 8px;
    width: 100%;
  }
  .modal-servicio {
    align-items: flex-start;
    padding: 12px 2vw;
  }
  .modal-content {
    flex-direction: column;
    gap: 18px;
    min-width: unset;
    max-width: 96vw;
    min-height: unset;
    padding: 18px 2vw 22px 2vw;
    border-radius: 16px;
  }
  .modal-info {
    min-width: 0;
    width: 100%;
  }
  .modal-info h3 {
    font-size: 1.18rem;
    margin-bottom: 8px;
  }
  .modal-info p {
    font-size: 1.02rem;
  }
  .modal-carousel {
    flex-direction: row;
    gap: 8px;
    min-width: 0;
    width: 100%;
    justify-content: center;
    align-items: center;
  }
  .modal-carousel img {
    width: 60vw;
    max-width: 260px;
    height: auto;
    border-radius: 14px;
  }
  .carousel-prev, .carousel-next {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }
  .modal-close {
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
  }
  .img-zoom-content img {
    max-width: 96vw;
    max-height: 70vh;
    border-radius: 14px;
  }
  .img-zoom-close {
    top: -10px;
    right: -10px;
    width: 28px;
    height: 28px;
    font-size: 1rem;
  }
}

/* === SERVICIOS: RESPONSIVE PARA TABLET GRANDE (768px a 1023px) === */
@media (min-width: 768px) and (max-width: 1023px) {
  .servicios-main {
    max-width: 90vw;
    margin: 40px auto 24px auto;
    padding: 36px 6vw;
    border-radius: 22px;
    box-shadow: 0 10px 32px rgba(74,60,140,0.10);
    gap: 32px;
  }
  .servicios-lista {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 18px;
  }
  .servicio-card {
    min-width: 200px;
    max-width: 38vw;
    width: 100%;
    padding: 28px 18px;
    border-radius: 16px;
    box-shadow: 0 3px 12px #4a3c8c11;
    font-size: 1.15rem;
  }
  .servicio-card i {
    font-size: 2.5rem;
    margin-bottom: 10px;
  }
  .servicio-card h3 {
    font-size: 1.28rem;
    margin-bottom: 8px;
  }
  .servicio-card p {
    font-size: 1.08rem;
  }
  .btn-mas-info {
    margin-top: 14px;
    padding: 10px 0;
    font-size: 1.08rem;
    border-radius: 10px;
    width: 100%;
  }
  .modal-servicio {
    align-items: center;
    padding: 18px 3vw;
  }
  .modal-content {
    flex-direction: row;
    gap: 24px;
    min-width: unset;
    max-width: 90vw;
    min-height: unset;
    padding: 24px 3vw 28px 3vw;
    border-radius: 20px;
  }
  .modal-info {
    min-width: 0;
    width: 50%;
  }
  .modal-info h3 {
    font-size: 1.28rem;
    margin-bottom: 10px;
  }
  .modal-info p {
    font-size: 1.08rem;
  }
  .modal-carousel {
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    width: 50%;
    justify-content: center;
    align-items: center;
  }
  .modal-carousel img {
    width: 32vw;
    max-width: 320px;
    height: auto;
    border-radius: 16px;
  }
  .carousel-prev, .carousel-next {
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
  }
  .modal-close {
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }
  .img-zoom-content img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 16px;
  }
  .img-zoom-close {
    top: -14px;
    right: -14px;
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
  }
}

/* === SERVICIOS: RESPONSIVE PARA DESKTOP MEDIO (1024px a 1280px) === */
@media (min-width: 1024px) and (max-width: 1280px) {
  .servicios-main {
    max-width: 1100px;
    margin: 60px auto 40px auto;
    padding: 48px 32px;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(74,60,140,0.10);
    gap: 40px;
  }
  .servicios-lista {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 36px;
    margin-bottom: 24px;
  }
  .servicio-card {
    min-width: 260px;
    max-width: 340px;
    width: 100%;
    padding: 32px 28px;
    border-radius: 18px;
    box-shadow: 0 4px 18px #4a3c8c11;
    font-size: 1.18rem;
  }
  .servicio-card i {
    font-size: 2.7rem;
    margin-bottom: 16px;
  }
  .servicio-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }
  .servicio-card p {
    font-size: 1.1rem;
  }
  .btn-mas-info {
    margin-top: 18px;
    padding: 12px 0;
    font-size: 1.15rem;
    border-radius: 12px;
    width: 100%;
  }
  .modal-servicio {
    align-items: center;
    padding: 24px 4vw;
  }
  .modal-content {
    flex-direction: row;
    gap: 36px;
    min-width: 60vw;
    max-width: 900px;
    min-height: 340px;
    padding: 38px 28px;
    border-radius: 24px;
  }
  .modal-info {
    min-width: 220px;
    width: 50%;
  }
  .modal-info h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }
  .modal-info p {
    font-size: 1.1rem;
  }
  .modal-carousel {
    flex-direction: column;
    gap: 12px;
    min-width: 220px;
    width: 50%;
    justify-content: center;
    align-items: center;
  }
  .modal-carousel img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 18px;
  }
  .carousel-prev, .carousel-next {
    width: 38px;
    height: 38px;
    font-size: 1.3rem;
  }
  .modal-close {
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    font-size: 1.3rem;
  }
  .img-zoom-content img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 18px;
  }
  .img-zoom-close {
    top: -18px;
    right: -18px;
    width: 38px;
    height: 38px;
    font-size: 1.3rem;
  }
}