/* 
Theme Name: Xatet Agency
Theme URI: https://xatetagency.com/
Description: Theme child Xatet Agency
Author: Xatet Agency
Author URI: https://xatetagency.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: xatet-agency
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


.marquee-container {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
}

.marquee-track {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 10s linear infinite;
}

.marquee-track span {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  letter-spacing: 2px;
  word-spacing: 2px;
}

@keyframes marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.dot { color: #FDFD3E; }

.circulo-numero {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #FDFD3E;
    color: #000000;
    font-family: 'Heading', sans-serif; /* Cambia por tu fuente de t铆tulos */
    font-weight: 700;
    font-size: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    border: 2px solid rgba(0, 0, 0, 0.1);
}

.resultados .resultados__section:hover .elementor-widget-heading span {color: #000000!important;}


/* ===== WRAPPER ===== */
.xatet-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding: 60px 0 100px;
  overflow: hidden;
  background: #000;
}

/* ===== SLIDER ===== */
.xatet-slider {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
  perspective: 1500px;
}

/* IMPORTANTE: con coverflow NO usamos width fijo en slides */
.xatet-slider .swiper-slide {
  height: 540px;
  transition: opacity 0.4s ease;
  opacity: 0.5;
}

.xatet-slider .swiper-slide-active {
  opacity: 1;
  z-index: 10;
}

/* ===== TARJETA DE VÍDEO ===== */
.video-card {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.swiper-slide-active .video-card {
  border: 2px solid #FDFD3E;
}

/* Portada del vídeo */
.card-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Overlay oscuro sutil */
.video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
  pointer-events: none;
  transition: background 0.3s ease;
}

.swiper-slide-active .video-card::after {
  background: rgba(0, 0, 0, 0.2);
}

.swiper-slide-active .video-card:hover::after {
  background: rgba(0, 0, 0, 0.1);
}

/* Botón play */
.video-card .play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  background: #FDFD3E;
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  padding-left: 5px;
  transition: transform 0.3s ease;
  z-index: 2;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.swiper-slide-active .video-card:hover .play {
  transform: translate(-50%, -50%) scale(1.1);
}
.xatet-video-container video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

/* Etiqueta */
.video-card .label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  background: rgba(26, 26, 26, 0.9);
  color: #fff;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(10px);
}

.swiper-slide-active .video-card .label {
  opacity: 1;
}
/* ===== FLECHAS ===== */
.xatet-prev,
.xatet-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  background: #FDFD3E;
  color: #000;
  border: none;
  border-radius: 50%;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding-bottom: 4px;
  transition: transform 0.2s ease;
}

.xatet-prev:hover,
.xatet-next:hover {
  transform: translateY(-50%) scale(1.1);
}

.xatet-prev {
  left: calc(50% - 220px);
}

.xatet-next {
  right: calc(50% - 220px);
}

/* ===== PAGINACI脫N ===== */
.xatet-slider .swiper-pagination {
  bottom: 0 !important;
  position: relative;
  margin-top: 40px;
}

.xatet-slider .swiper-pagination-bullet {
  background: #666;
  opacity: 1;
  width: 10px;
  height: 10px;
  margin: 0 6px !important;
}

.xatet-slider .swiper-pagination-bullet-active {
  background: #FDFD3E;
}

/* ===== LIGHTBOX ===== */
.xatet-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.xatet-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.xatet-video-container {
  width: 90%;
  max-width: 400px;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
}

.xatet-video-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.xatet-close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: #FDFD3E;
  color: #000;
  border: none;
  border-radius: 50%;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding-bottom: 4px;
  z-index: 10000;
  transition: transform 0.2s ease;
}

.xatet-close:hover {
  transform: scale(1.1);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .xatet-slider .swiper-slide {
    height: 420px;
  }
  .xatet-prev {
    left: 10px;
  }
  .xatet-next {
    right: 10px;
  }
}

@media (max-width: 480px) {
  .xatet-slider .swiper-slide {
    height: 360px;
  }
}


/* Slide 2 */

/* ===== WRAPPER ===== */
.reviews-wrapper {
  position: relative;
  width: 100%;
  padding: 60px 0;
  overflow: hidden;
}

/* ===== SLIDER ===== */
.reviews-slider {
  width: 100%;
  padding: 0 60px;
}

.reviews-slider .swiper-slide {
  width: 240px;
  height: 420px;
}

/* ===== TARJETA ===== */
.review-card {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 16px;
  border: 2px solid #FDFD3E;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.review-card:hover {
  transform: translateY(-4px);
}

.card-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-card .play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: #FDFD3E;
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  padding-left: 4px;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.review-card:hover .play {
  transform: translate(-50%, -50%) scale(1.1);
}

.review-card .label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.95);
  color: #000;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
}

/* ===== FLECHAS ===== */
.reviews-prev,
.reviews-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: #FDFD3E;
  color: #000;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding-bottom: 10px;
  transition: transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.reviews-prev:hover,
.reviews-next:hover {
  transform: translateY(-50%) scale(1.1);
}

.reviews-prev { left: 10px; }
.reviews-next { right: 10px; }

/* ===== LIGHTBOX ===== */
.reviews-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.reviews-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.reviews-video-container {
  width: 90%;
  max-width: 400px;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
}

.reviews-video-container video,
.reviews-video-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
  background: #000;
}

.reviews-close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: #FDFD3E;
  color: #000;
  border: none;
  border-radius: 50%;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding-bottom: 4px;
  z-index: 10000;
  transition: transform 0.2s ease;
}

.reviews-close:hover {
  transform: scale(1.1);
}

.review-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
  pointer-events: none;
  transition: background 0.3s ease;
}

.review-card:hover::after {
  background: rgba(0, 0, 0, 0.15);
}

.review-card .play,
.review-card .label {
  z-index: 2;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .reviews-slider .swiper-slide {
    width: 200px;
    height: 360px;
  }
  .reviews-slider { padding: 0 30px; }
}

@media (max-width: 480px) {
  .reviews-slider .swiper-slide {
    width: 170px;
    height: 300px;
  }
  .reviews-prev, .reviews-next {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}