/* ========================================================================
   Amour · Menú desplegable de Servicios + páginas de detalle y tarifario
   ======================================================================== */

/* ---------- Dropdown del navbar (desktop + móvil) ---------- */
.amour-navbar__links .submenu > span,
.mobile-menu .menu .submenu > span {
  cursor: pointer;
  color: var(--pp-text, #f5e6e2);
  font-weight: 500;
  transition: color 0.25s ease;
}

.amour-navbar__links .submenu:hover > span,
.amour-navbar__links .submenu > span.active {
  color: var(--pp-accent-gold, #d9a56b);
}

.header .menu .submenu .submenu-dropdown.amour-servicios-dropdown {
  background-color: #1c0d10;
  border: 1px solid var(--pp-card-border, rgba(255, 255, 255, 0.1));
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  padding: 8px;
}

@media (min-width: 992px) {
  .header .menu .submenu .submenu-dropdown.amour-servicios-dropdown {
    min-width: 260px;
    max-height: 70vh;
    top: 120%;
  }
}

.header .menu .submenu .amour-servicios-dropdown li a {
  border-radius: 9px;
  padding: 9px 14px;
  color: var(--pp-text, #f5e6e2);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.header .menu .submenu .amour-servicios-dropdown li a:hover {
  background-color: rgba(217, 165, 107, 0.14);
  color: var(--pp-accent-gold, #d9a56b);
}

.header .menu .submenu .amour-servicios-dropdown__all {
  color: var(--pp-accent-gold, #d9a56b) !important;
  font-weight: 600 !important;
  border-bottom: 1px solid var(--pp-card-border, rgba(255, 255, 255, 0.08));
  border-radius: 9px 9px 0 0 !important;
  margin-bottom: 4px;
}

/* Scrollbar discreta para la lista larga de servicios */
.amour-servicios-dropdown::-webkit-scrollbar { width: 6px; }
.amour-servicios-dropdown::-webkit-scrollbar-thumb {
  background: rgba(217, 165, 107, 0.4);
  border-radius: 6px;
}

/* ---------- Página de detalle del servicio ---------- */
.amour-servicio__media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.amour-servicio__media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.amour-servicio__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0 0 18px;
}

.amour-servicio__meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--pp-text-muted, #d3b3ae);
  font-size: 0.95rem;
}

.amour-servicio__meta li i {
  color: var(--pp-accent-gold, #d9a56b);
  font-size: 1.2rem;
}

.amour-servicio__body p {
  color: var(--pp-text-muted, #d3b3ae);
  line-height: 1.8;
}

/* ---------- Tarifario: ítems clicables ---------- */
.amour-tarifas__item {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 18px 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  position: relative;
  scroll-margin-top: 120px;
}

.amour-tarifas__item:hover {
  background-color: rgba(217, 165, 107, 0.08);
  border-color: var(--pp-card-border, rgba(255, 255, 255, 0.1));
  transform: translateY(-2px);
}

.amour-tarifas__item .name {
  color: var(--pp-text, #f5e6e2);
  font-weight: 600;
}

.amour-tarifas__item .price {
  color: var(--pp-accent-gold, #d9a56b);
  font-weight: 700;
  white-space: nowrap;
}

.amour-tarifas__item > p {
  color: var(--pp-text-muted, #d3b3ae);
  font-size: 0.92rem;
}

.amour-tarifas__cue {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--pp-accent-gold, #d9a56b);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.amour-tarifas__item:hover .amour-tarifas__cue {
  opacity: 1;
  transform: translateX(0);
}

/* Resaltado de la tarifa al llegar desde /servicios/{slug}#plan-ID */
.amour-tarifas--destino .amour-tarifas__item:target {
  background-color: rgba(217, 165, 107, 0.16);
  border-color: var(--pp-accent-gold, #d9a56b);
  animation: amourTarifaFlash 1.6s ease;
}

@keyframes amourTarifaFlash {
  0%, 100% { box-shadow: 0 0 0 0 rgba(217, 165, 107, 0); }
  30% { box-shadow: 0 0 0 4px rgba(217, 165, 107, 0.35); }
}

/* ========================================================================
   Hero · Video de fondo embebido desde Google Drive (iframe /preview)
   ======================================================================== */
.banner.banner-6 .hero-video-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  background: #12070a;
}
.banner.banner-6 .hero-video-frame iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* Escala 16:9 para cubrir todo el hero (equivalente a object-fit: cover) */
  width: 100vw;
  height: 56.25vw;      /* 100 / (16/9) */
  min-height: 100%;
  min-width: 177.78vh;  /* 100 * (16/9) */
  border: 0;
}

/* ---------- Hero · YouTube de fondo (autoplay silenciado, interfaz oculta) ---------- */
.banner.banner-6 .hero-video-frame--yt { pointer-events: none; }
.banner.banner-6 .hero-video-frame--yt iframe {
  /* Se amplía y recorta para esconder el título, controles y logo de YouTube */
  width: 100vw;
  height: 56.25vw;        /* 16:9 */
  min-height: 100%;
  min-width: 177.78vh;
  transform: translate(-50%, -50%) scale(1.45);
  transform-origin: center center;
  pointer-events: none;
}
