/* 🔹 Estilo general de títulos */


/* 🔹 Estilo único del título */
.section-title {
  font-size: 2.6rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 40px;
  background: linear-gradient(135deg, #fc12fd , #fc12fd); /* degradado atractivo */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

/* 🔹 Línea decorativa debajo */
.section-title::after {
  content: "";
  display: block;
  width: 90px;
  height: 4px;
  background: linear-gradient(90deg, #fc12fd, #fc12fd);
  margin: 12px auto 0;
  border-radius: 3px;
}


/* 🔹 Línea decorativa debajo */
.services-section h2::after,
.videos-services-section h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #fc12fd, #fc12fd);
  margin: 10px auto 0;
  border-radius: 2px;
}


.section-bg {
  background-color: #270eca;
}

body, p, li, .service-item, .feature-card p, .feature-card h4 {
  color: #000 !important;   /* Negro sólido */
}


/* Galería scroll */
.galeria-scroll {
  width: 100%;
  overflow-x: auto;
  padding: 20px 0;
}

.galeria-scroll h2 {
  margin-bottom: 30px;
  font-size: 2rem;
  color: #333;
}

.contenedor-scroll {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 20px;
  flex-wrap: nowrap;
  background: transparent;
}

/* Ocultar scrollbar */
.contenedor-scroll::-webkit-scrollbar { display: none; }
.contenedor-scroll { -ms-overflow-style: none; scrollbar-width: none; }

.img-box {
  position: relative;
  flex: 0 0 auto;
  width: 300px;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  scroll-snap-align: center;
}

.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

/* Hover imágenes */
.img-box:hover img { transform: scale(1.1); }
.img-box:hover { transform: translateY(-10px); box-shadow: 0 12px 30px rgba(0,0,0,0.3); }

/* --- Videos --- */
.video-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.video-box {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.video-box video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

/* 🔹 Video principal */
.video-box.center {
  width: 360px;
  z-index: 2;
  opacity: 1; /* siempre 100% visible */
}
/*.video-box.center { width: 350px; z-index: 2; transform: scale(1.1); }
.video-box.small  { width: 220px; opacity: 0.8; transform: scale(0.95); z-index: 1; }*/

/* Hover para TODOS */
.video-box:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/* --- Sección Videos + Servicios --- */
.videos-services-section .row {
  align-items: flex-start;
  justify-content: space-between; /* reparte mejor columnas */
}

/* 📹 Columna videos */
.videos-services-section .col-lg-6:first-child {
  flex: 0 0 40%;    /* ocupa 40% del ancho */
  max-width: 40%;
  text-align: left;
  padding-left: 0;  /* quita espacio a la izquierda */
}

.video-container {
  justify-content: flex-start; /* ahora pegados a la izquierda */
  gap: 20px;
}

.video-box.center {
  width: 420px;  /* más grande */
  transform: scale(1.05);
}

.video-box.small {
  width: 220px;
  opacity: 0.6;  /* 👈 más opacos por defecto */
  transform: scale(0.95);
  z-index: 1;
}

/* Hover ESPECÍFICO para los laterales opacos */
.video-box.small:hover {
  opacity: 1; /* recupera el color */
}

/* ⭐ Columna servicios */
.videos-services-section .col-lg-6:last-child {
  flex: 0 0 60%;   /* ocupa más espacio */
  max-width: 60%;
  background: linear-gradient(135deg, #ffecd2, #fcb69f);
  border-radius: 25px;
  padding: 50px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Bloque interior transparente */
.services-section {
   background: transparent;
  box-shadow: none;
  margin: 0;
  padding: 0;
}

/* 📋 Servicios en dos columnas */
.services-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-item {
  background: rgba(255,255,255,0.9);
  padding: 18px 20px;
  border-radius: 15px;
  font-size: 1.1rem;
  color: #444;
  line-height: 1.6;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-item:hover { transform: translateY(-6px); box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.service-item::first-letter { font-size: 1.3rem; }
.service-item span { font-size: 1.5rem; }

/* Responsivo */
@media (max-width: 991px) {
  .videos-services-section .col-lg-6 {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 30px;
  }
  .services-list { grid-template-columns: 1fr; }
}

/* Quitar espacios extra */
.no-gutters {
  margin-right: 0;
  margin-left: 0;
}
.no-gutters > .col,
.no-gutters > [class*="col-"] {
  padding-right: 0;
  padding-left: 0;
}

/* Fondo degradado solo en la parte de servicios */
.services-wrapper {
  background: 
    linear-gradient(135deg, rgba(34, 14, 202, 0.85), rgba(252, 18, 253, 0.85)), 
    url("../images/photos/photo10.png");
  background-size: cover;     /* que la imagen cubra todo */
  background-position: center;
  border-radius: 25px;
  padding: 50px;
  height: 100%;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  margin-left: 20px; /* 🔹 espacio extra desde los videos */
}

/* Videos más grandes */
.video-box.center { width: 420px; }
.video-box.small { width: 260px; }

/* 📹 Espacio entre videos y servicios */
.videos-services-section .col-lg-5 {
  padding-right: 30px; /* separa los videos de la derecha */
}

/* 🔹 Ajustes para auto-scroll ping pong */
.contenedor-scroll.auto-anim { 
  scroll-snap-type: none; /* evita que el snap frene la animación */
}

.contenedor-scroll { 
  will-change: scroll-position; /* optimiza la animación */
}

/* 🔹 Botón flotante de WhatsApp */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;   /* distancia desde abajo */
  right: 20px;    /* distancia desde la derecha */
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 32px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  z-index: 1000; /* siempre encima */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

/* Botón flotante de Traducción */
.translate-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 90px;   /* 🔼 encima del WhatsApp */
  right: 20px;
  background-color: #007bff; /* azul */
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 28px;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.translate-float:hover {
  background-color: #0056b3;
  transform: scale(1.1);
  color: #fff;
  text-decoration: none;
}


.whatsapp-float:hover {
  transform: scale(1.1);
  color: #fff;
  text-decoration: none;
}

/* 🔹 Botón Reservar con borde llamativo estilo WhatsApp */
.reservar-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #25d366, #128C7E); /* degradado estilo WhatsApp */
  color: #fff !important;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 40px 0 20px 0; /* esquina superior izquierda muy redonda */
  padding: 12px 22px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.reservar-btn i {
  font-size: 1.3rem;
}

.reservar-btn:hover {
  background: linear-gradient(135deg, #20bd5a, #0e6f5c);
  border-color: #20bd5a;  /* borde cambia de tono en hover */
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  text-decoration: none;
}

.reservar-btn {
  border-radius: 0 20px 20px 20px; /* esquina sup. izq. recta, las demás redondeadas */
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%, 0% 20%);
}

/* 🔹 Sección de características (features) */
.features-section {
  margin: 60px 0;
}

.features-section h2 {
  font-weight: 800;
  font-size: 2rem;
   color: #c7011c;  
  -webkit-text-fill-color: transparent;
}

/* Grid responsivo */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

/* Tarjeta individual */
.feature-card {
  background: #fff;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.feature-card h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #333;
}

.feature-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

/* 🔹 Ajuste solo para la curva de la subpágina */
.subpage-curve {
  display: block;
  width: 100%;
  height: auto;
  max-height: 160px; /* evita que invada demasiado */
  position: relative;
  z-index: 0;
}

/* Las tarjetas siempre por encima */
.features-section {
  position: relative;
  z-index: 1;
}

/* En pantallas muy grandes, ajustamos */
@media (min-width: 1780px) {
  .subpage-curve {
    max-height: 120px;   /* curva más delgada */
    margin-bottom: -20px; /* la “sube” para no tapar */
  }
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 40px;
  color: #222;
  opacity: 0; /* invisible hasta que se active */
}


/* 🔹 Nueva sección de videos (independiente) */
.videos-section .video-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.videos-section .video-box.center {
  width: 420px;
}

.videos-section .video-box.small {
  width: 260px;
  opacity: 0.8;
}

/* 🔹 Nueva sección de servicios */
.services-section-wrapper .services-wrapper {
  background: linear-gradient(135deg, rgba(34, 14, 202, 0.85), rgba(252, 18, 253, 0.85)),
              url("../images/photos/photo10.png");
  background-size: cover;
  background-position: center;
  border-radius: 25px;
  padding: 50px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}


/* 🔹 Imagen de portada bajo los videos */
.video-cover {
  margin: 40px auto;
  text-align: center;
}

.video-cover .cover-img {
  width: 100%;
  max-height: 800px;   /* ajusta altura máxima */
  object-fit: cover;   /* mantiene la proporción y recorta si sobra */
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* 🔹 Sección de portada */
.video-cover {
  margin: 50px auto;
  text-align: center;
}

.cover-wrapper {
  position: relative;
  width: 100%;
  max-height: 420px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* Imagen con animación */
.cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: zoomSlow 1s infinite alternate ease-in-out;
}

/* Degradado encima */
.cover-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
}

/* Texto centrado */
.cover-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 2;
  padding: 0 15px;
}

.cover-text h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.cover-text p {
  font-size: 1.2rem;
  margin: 0;
}

/* Animación de zoom */
@keyframes zoomSlow {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

/* Hover para TODOS */
.video-box:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

/* 🔹 Video expandido en pantalla completa */
.video-box.video-expanded {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 90vw !important;
  max-width: 800px !important;
  height: auto !important;
  z-index: 9999 !important;
  opacity: 1 !important;
  box-shadow: 0 0 50px rgba(0,0,0,0.8) !important;
}

.video-box.video-expanded video {
  width: 100% !important;
  height: auto !important;
  max-height: 90vh !important;
}

/* Fondo oscuro cuando hay video expandido */
body:has(.video-expanded)::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  z-index: 9998;
}