  /* =============================================
    HERO
   ============================================= */
  #hero {
    padding-block: 0;
    background:
      linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0)),
      url('../images/hero-bg.png');
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
  }

  .hero-grid {
    padding: 64px 0;
  }

  .hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px 20px;
    color: var(--color-text);
  }

  .hero-visual {
    position: relative;
    aspect-ratio: 3/2;
    overflow: hidden;
    visibility: hidden;
  }

  .hero-image {
    object-fit: cover;
  }

  @media (max-width: 478px) {
    #hero {
      background-image: none;
    }

    .hero-visual {
      visibility: visible;
    }

    .hero-grid {
      padding-block: 0;
    }
  }

  /* =============================================
    WAVE
   ============================================= */

  .wave {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 20px;
    margin-top: 18px;
  }

  .wave span {
    width: 3px;
    background: var(--color-gold);
    border-radius: 2px;
    animation: wavebar 1.6s ease-in-out infinite;
  }

  .wave span:nth-child(1) {
    height: 40%;
    animation-delay: 0s;
  }

  .wave span:nth-child(2) {
    height: 80%;
    animation-delay: .15s;
  }

  .wave span:nth-child(3) {
    height: 55%;
    animation-delay: .3s;
  }

  .wave span:nth-child(4) {
    height: 100%;
    animation-delay: .45s;
  }

  .wave span:nth-child(5) {
    height: 65%;
    animation-delay: .6s;
  }

  .wave span:nth-child(6) {
    height: 35%;
    animation-delay: .75s;
  }

  @keyframes wavebar {

    0%,
    100% {
      transform: scaleY(0.5);
    }

    50% {
      transform: scaleY(1);
    }
  }

  /* =============================================
    SECTION
   ============================================= */

  .section-h2 {
    margin-top: 60px;
    margin-bottom: 45px;
    text-align: center;
  }

  .process-number {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  margin-bottom:20px;
  background-color:var(--color-gold);
  color:var(--color-bg);
}

  /* =============================================
    GALERIA
   ============================================= */

  .mf-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    padding: 20px;
  }

  .mf-gallery-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    max-width: 400px;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
  }

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

  .mf-gallery-item img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    cursor: url("../images/cursor-zoom.svg"), pointer;
  }

  /* LIGHTBOX base */
  .lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
  }

  .lightbox.active {
    display: flex;
  }

  .lightbox img {
    max-width: 90%;
    max-height: 85%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  }

  /* Botón Cerrar */
  .mf-gallery-close {
    position: fixed;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color:var(--color-gold);
    cursor: pointer;
    z-index: 10000;
  }

  /* FLECHAS */
  .mf-gallery-nav {
    position: absolute;
    top: 50%;
    font-size: 60px;
    color:var(--color-gold);
    cursor: pointer;
    user-select: none;
    padding: 10px;
    transform: translateY(-50%);
  }

  .mf-gallery-prev {
    left: 30px;
  }

  .mf-gallery-next {
    right: 30px;
  }

  .mf-gallery-nav:hover {
    transform: translateY(-50%) scale(1.2);
    color:white;
  }

  /* Evitar scroll */
  .no-scroll {
    overflow: hidden;
  }

  /* =============================================
    GALERÍA DE VÍDEOS
    Prefijo exclusivo: vpl-
    ============================================= */


  /* =============================================
   TARJETA
   ============================================= */

 .vpl-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #111;
  cursor: pointer;
  text-align: left;
  color: inherit;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.vpl-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

/* =============================================
   MINIATURA
   ============================================= */

.vpl-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.vpl-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.vpl-card:hover .vpl-card-image img {
  transform: scale(1.04);
}

/* =============================================
   CAPA OSCURA
   ============================================= */

.vpl-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.05));
}

/* =============================================
   BOTÓN PLAY
   ============================================= */

.vpl-play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(187, 186, 186, 0.7);
  color: #111;
  font-size: 1rem;
  padding-left: 3px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.vpl-card:hover .vpl-play {
  transform: scale(1.08);
}

/* =============================================
   INFORMACIÓN DE TARJETA
   ============================================= */

.vpl-card-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 45px 16px 15px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
}

.vpl-card-title {
  display: block;
  font-size: 1.2rem;
  line-height: 1.35;
  color: #fff;
}

/* =============================================
   LIGHTBOX DE VÍDEOS
   Prefijo exclusivo: vpl-
   ============================================= */

.vpl-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(5px);
  z-index: 9998;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Lightbox activo */

.vpl-lightbox.active {
  display: flex;
}

/* =============================================
   REPRODUCTOR
   ============================================= */

.vpl-lightbox-video {
  position: relative;
  width: min(900px, 80vw);
  aspect-ratio: 16 / 9;
  z-index: 2;
}

.vpl-video-player {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
}

.vpl-video-player iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* =============================================
   BOTÓN CERRAR
   ============================================= */

.vpl-lightbox-close {
  position: fixed;
  top: 20px;
  right: 30px;
  z-index: 10001;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  color:var(--color-gold);
  font-size: 48px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.25s ease, color 0.25s ease;
}

.vpl-lightbox-close:hover {
  color: #fff;
  transform: scale(1.15);
}

/* =============================================
   FLECHAS
   ============================================= */

.vpl-lightbox-nav {
  position: fixed;
  top: 50%;
  z-index: 10001;
  width: 55px;
  height: 55px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-gold);
  font-size: 55px;
  line-height: 1;
  cursor: pointer;
  user-select: none;
  transform: translateY(-50%);
  transition: transform 0.25s ease, color 0.25s ease;
}

.vpl-lightbox-nav:hover {
  color: #fff;
  transform: translateY(-50%) scale(1.2);
}

/* Anterior */

.vpl-lightbox-prev {
  left: 30px;
}

/* Siguiente */

.vpl-lightbox-next {
  right: 30px;
}

/* =============================================
   INFORMACIÓN
   ============================================= */

.vpl-lightbox-info {
  position: fixed;
  left: 50%;
  bottom: 25px;
  z-index: 10001;
  width: min(900px, 80vw);
  transform: translateX(-50%);
  text-align: center;
  pointer-events: none;
}

/* Contador */

.vpl-video-counter {
  display: block;
  margin-bottom: 5px;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
}

/* Título */

.vpl-video-title {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
}

/* =============================================
   MÓVIL
   ============================================= */

@media (max-width: 600px) {

  .vpl-lightbox-video {
    width: 94vw;
    /*
     * El vídeo mantiene 16:9
     * pero deja espacio para los controles.
     */
    max-height: 70vh;
  }

  .vpl-lightbox-close {
    top: 12px;
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 40px;
  }

  .vpl-lightbox-nav {
    width: 42px;
    height: 42px;
    font-size: 38px;
  }

  .vpl-lightbox-prev {
    left: 5px;
  }

  .vpl-lightbox-next {
    right: 5px;
  }

  .vpl-lightbox-info {
    bottom: 18px;
    width: 85vw;
  }

  .vpl-video-title {
    font-size: 0.9rem;
  }
}

  /* =============================================
    FAQ (ACCORDION WITH DETAILS & SUMMARY)
   ============================================= */
  .faq-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .faq-item {
    padding: 0;
    overflow: hidden;
    transition: all var(--transition-fast);
  }

  .faq-question {
    width: 100%;
    padding: 24px 30px;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    cursor: pointer;
    list-style: none;
    user-select: none;
  }

  .faq-question::-webkit-details-marker {
    display: none;
  }

  .faq-icon {
    font-size: 1.5rem;
    font-weight: var(--font-regular);
    transition: transform var(--transition-fast);
    line-height: 1;
  }

  details.faq-item[open] .faq-icon {
    transform: rotate(45deg);
  }

  .faq-answer {
    padding: 0 30px 24px 30px;
    animation: fadeIn 0.3s ease-in-out;
  }

  .faq-answer p {
    margin-bottom: 0;
    font-size: 0.98rem;
  }

  /* =============================================
    FORM
   ============================================= */
  input[type="date"] {
    color-scheme: dark;
  }