/* =========================================================
   HOJA DE ESTILOS CORPORATIVA - GRUPO FERZA
   Paleta: Navy (#0A1142), Blue (#132B77), Green (#0A4928), Emerald (#15803D)
========================================================= */

html, body {
  overflow-x: hidden;
}

/* Animaciones de aparición al hacer scroll (Reveal) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: all 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Corte diagonal estilo Hero */
.hero-diagonal {
  clip-path: polygon(0 0, 100% 0, 100% 93%, 50% 100%, 0 93%);
}

/* Degradado exclusivo en Verde Oscuro Corporativo para el título FERZA */
.ferza-title-gradient {
  background: linear-gradient(135deg, #15803D 0%, #1F9D4C 48%, #0A4928 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 4px 14px rgba(10, 73, 40, 0.55));
}

/* Degradado corporativo único para botones en Verde Ferza */
.btn-ferza-gradient {
  background: linear-gradient(135deg, #0A4928 0%, #126337 50%, #15803D 100%);
  box-shadow: 0 10px 24px -6px rgba(10, 73, 40, 0.65), inset 0 1px 0 0 rgba(255, 255, 255, 0.22);
}
.btn-ferza-gradient:hover {
  background: linear-gradient(135deg, #07381E 0%, #0A4928 50%, #126337 100%);
  box-shadow: 0 14px 28px -6px rgba(10, 73, 40, 0.8), inset 0 1px 0 0 rgba(255, 255, 255, 0.3);
}

/* Submenús desplegables suaves */
.dropdown-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
}
.group:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.submenu-right {
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.25s ease;
}
.group-sub:hover > .submenu-right {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Animación llamativa para el botón Contacto del Hero */
@keyframes contactFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 10px 25px -5px rgba(10, 73, 40, 0.6), 0 0 0 0 rgba(21, 128, 61, 0.35);
  }
  50% {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 18px 32px -5px rgba(10, 73, 40, 0.8), 0 0 0 6px rgba(21, 128, 61, 0);
  }
}
.btn-contacto-vivo {
  animation: contactFloat 2.4s infinite ease-in-out;
}

/* Destello formal muy sutil para los íconos PNG decorativos */
@keyframes subtlePulse {
  0%, 100% { opacity: 0.92; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}
.png-formal-icon {
  animation: subtlePulse 3.5s infinite ease-in-out;
}

/* Animación de pulso para el pin GPS en tarjetas de hoteles */
@keyframes gpsPulse {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-4px) scale(1.1); }
}
.hotel-card:hover .gps-icon {
  animation: gpsPulse 0.9s infinite ease-in-out;
}

/* Resaltado de la sede activa */
.hotel-card.active-hotel {
  border-color: #132B77;
  outline: 2px solid #132B77;
  box-shadow: 0 14px 28px -6px rgba(19, 43, 119, 0.22);
}

/* Fondo limpio y atmosférico para la sección de Hoteles */
.hoteles-clean-bg {
  background:
    radial-gradient(circle at 8% 15%, rgba(19, 43, 119, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 92% 85%, rgba(10, 73, 40, 0.06) 0%, transparent 42%),
    linear-gradient(180deg, #F3F6FB 0%, #FFFFFF 50%, #F1F5F9 100%);
}

/* Control deslizante de volumen */
input[type="range"].ferza-volume-slider {
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  outline: none;
  cursor: pointer;
}
input[type="range"].ferza-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #10B981;
  border: 2px solid #FFFFFF;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.8);
  cursor: pointer;
  transition: transform 0.15s ease;
}
input[type="range"].ferza-volume-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Desvanecimiento negro limpio al final y al inicio del video */
.video-edge-fade {
  background-color: #000000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease-in-out;
}

/* =========================================================
   LUPA CIRCULAR CORREGIDA PARA LOS CLIENTES SECUNDARIOS
========================================================= */
.client-pill {
  position: relative;
  z-index: 1;
}
.client-pill:hover {
  z-index: 60 !important;
}
.client-loupe {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 10px) scale(0.55);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 16px 34px -5px rgba(10, 17, 66, 0.4), 0 0 0 3px #132B77, inset 0 0 12px rgba(19, 43, 119, 0.08);
  z-index: 70;
}
.client-pill:hover .client-loupe {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0) scale(1);
}

/* =========================================================
   ESTILOS DE LOS VISORES INTERACTIVOS DE HERRAMIENTAS Y PRODUCTOS
========================================================= */
.tool-btn.active-tool {
  background: linear-gradient(135deg, #0A1142 0%, #132B77 55%, #0A4928 100%);
  color: #FFFFFF;
  border-color: #15803D;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -6px rgba(19, 43, 119, 0.45);
}
.tool-btn.active-tool .tool-btn-icon {
  background-color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.4);
}
.tool-btn.active-tool .tool-btn-sub {
  color: #6EE7B7;
}

.tool-main-img {
  transition: opacity 0.28s ease-in-out, transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================================
   BOTÓN FLOTANTE DE WHATSAPP TITILANDO EN VERDE Y CHATS
========================================================= */
@keyframes waGreenBlink {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.85), 0 10px 25px -4px rgba(21, 128, 61, 0.75);
  }
  50% {
    transform: scale(1.07);
    box-shadow: 0 0 0 14px rgba(34, 197, 94, 0), 0 14px 30px -4px rgba(34, 197, 94, 0.95);
  }
}
@keyframes waRingWave {
  0% {
    transform: scale(0.95);
    opacity: 0.85;
  }
  100% {
    transform: scale(1.65);
    opacity: 0;
  }
}
.wa-floating-btn {
  animation: waGreenBlink 1.8s infinite ease-in-out;
}
.wa-pulse-ring {
  animation: waRingWave 1.8s infinite cubic-bezier(0.24, 0, 0.38, 1);
}

.wa-chat-popup {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(18px) scale(0.94);
  transform-origin: bottom right;
  transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}
.wa-chat-popup.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.wa-chat-item {
  opacity: 0;
  transform: translateY(14px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.wa-chat-popup.open .wa-chat-item:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.06s;
}
.wa-chat-popup.open .wa-chat-item:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.14s;
}
.wa-chat-popup.open .wa-chat-item:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.22s;
}

/* =========================================================
   ALERTA COMPACTA DE ENVÍO EXITOSO
========================================================= */
.ferza-modal-backdrop {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s ease;
}
.ferza-modal-backdrop.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.ferza-modal-card {
  transform: scale(0.92) translateY(12px);
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.ferza-modal-backdrop.show .ferza-modal-card {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* =========================================================
   ANIMACIÓN LLAMATIVA PARA EL BOTÓN DE COTIZAR EN PRODUCTOS
========================================================= */
@keyframes pulseCotizarProducto {
  0%, 100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.75), 0 10px 25px -4px rgba(10, 73, 40, 0.85);
  }
  50% {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 0 0 10px rgba(52, 211, 153, 0), 0 16px 32px -4px rgba(16, 185, 129, 0.95);
  }
}

.btn-cotizar-producto-vivo {
  animation: pulseCotizarProducto 2s infinite ease-in-out;
}