/* ===================================================================
   DOMINICAN TOUR VIP ADVENTURES - CSS CORREGIDO
   Correcciones aplicadas:
   1. Transiciones movidas del selector * a elementos específicos
   2. max-width: 100vw cambiado a 100% (evita scroll horizontal)
   3. Añadido will-change solo donde es necesario
   4. Mejorada accesibilidad con focus-visible
   5. Eliminado overlay y degradado del hero
   =================================================================== */

/* ===== VARIABLES CSS ===== */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #eff6ff;
  --bg-header: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-light: #64748b;
  --card-bg: #ffffff;
  --card-shadow: rgba(30, 58, 138, 0.15);
  --border-color: #dbeafe;
  --hero-overlay: rgba(15, 23, 42, 0.65);
  --accent-primary: #f59e0b;
  --accent-secondary: #fbbf24;
  --accent-gradient: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  --section-bg-light: #f0f9ff;
  --section-bg-medium: #dbeafe;
  --section-bg-accent: #bfdbfe;
  --blue-dark: #1e3a8a;
  --blue-medium: #2563eb;
  --blue-light: #3b82f6;
}

[data-theme="dark"] {
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-header: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-light: #94a3b8;
  --card-bg: #1e293b;
  --card-shadow: rgba(0, 0, 0, 0.4);
  --border-color: #334155;
  --section-bg-light: #1e293b;
  --section-bg-medium: #334155;
  --section-bg-accent: #475569;
}

/* ===== RESET BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 50%, #f0f9ff 100%);
  color: var(--text-secondary);
  font-family: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  transition: background-color 0.3s ease, color 0.3s ease;
}

[data-theme="dark"] body {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

/* ===== TRANSICIONES ESPECÍFICAS ===== */
header,
.tour-card,
.video-card,
.contact-form,
.comment-box,
.gallery-grid img,
.btn,
.btn-reservar,
.btn-post,
button,
a,
input,
textarea {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* ===== OPTIMIZACIONES PERFORMANCE ===== */
.tour-card,
.video-card,
.gallery-grid img {
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== ACCESIBILIDAD ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--accent-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-to-content {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--accent-gradient);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  z-index: 100001;
  transition: top 0.3s ease;
}

.skip-to-content:focus {
  top: 20px;
}

/* ===== LOADER ===== */
.loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-header);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader-wrapper.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader {
  width: 60px;
  height: 60px;
  border: 4px solid transparent;
  border-top: 4px solid #f59e0b;
  border-right: 4px solid #fbbf24;
  border-radius: 50%;
  animation: spinLoader 1s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(245, 158, 11, 0.5));
}

.loader-text {
  color: white;
  margin-top: 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes spinLoader {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.1); }
  100% { transform: rotate(360deg) scale(1); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ===== BARRA DE PROGRESO ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: var(--accent-gradient);
  z-index: 100000;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.6);
}

/* ===== BOTONES FLOTANTES ===== */
.dark-mode-toggle,
.back-to-top {
  position: fixed;
  right: 15px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--card-bg);
  color: var(--accent-primary);
  border: 3px solid var(--accent-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 6px 20px var(--card-shadow);
  z-index: 9998;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.dark-mode-toggle { bottom: 90px; }

.back-to-top {
  bottom: 30px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dark-mode-toggle:hover,
.back-to-top:hover {
  transform: translateY(-6px) rotate(360deg);
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
  background: var(--accent-gradient);
  color: white;
  border-color: transparent;
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  top: 70px;
  left: 50%;
  transform: translateX(-50%) translateY(-150px);
  background: var(--card-bg);
  color: var(--text-primary);
  padding: 16px 24px;
  border-radius: 12px;
  border-left: 4px solid var(--accent-primary);
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 10000;
  font-weight: 600;
  font-size: 14px;
  max-width: calc(100% - 40px);
  width: auto;
  min-width: 250px;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast-icon {
  font-size: 20px;
  color: var(--accent-primary);
  flex-shrink: 0;
}

/* ===== HEADER ===== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-header);
  padding: 12px 15px;
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  width: 100%;
}

header.scrolled {
  padding: 10px 15px;
  box-shadow: 0 4px 30px rgba(30, 58, 138, 0.3);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
}

/* ===== LOGO ===== */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  max-width: 60%;
}

.logo-image {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
  background: white;
  padding: 5px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

.logo-text {
  color: white;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.3px;
  white-space: normal;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  line-height: 1.2;
  word-break: break-word;
}

/* ===== HERO ===== */
.hero.video-hero {
  position: relative;
  height: 100vh;
  min-height: 500px;
  max-height: 900px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(0.85);
  transform: scale(1.1);
}

/* ELIMINADO: Overlay oscuro del hero */
.hero::before {
  display: none;
}

/* ELIMINADO: Degradado blanco inferior del hero */
.hero::after {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  width: 100%;
  max-width: 1200px;
}

.hero-content h1 {
  font-size: clamp(28px, 7vw, 64px);
  font-weight: 900;
  color: white;
  text-shadow: 0 6px 24px rgba(0,0,0,0.5);
  margin-bottom: 15px;
  letter-spacing: -1px;
  line-height: 1.1;
}

.hero-content p {
  font-size: clamp(14px, 3.5vw, 20px);
  color: rgba(255,255,255,0.95);
  text-shadow: 0 3px 12px rgba(0,0,0,0.4);
  margin-bottom: 25px;
  font-weight: 300;
  letter-spacing: 0.3px;
  line-height: 1.5;
}

.hero-content .btn {
  display: inline-block;
  padding: 14px 36px;
  background: var(--accent-gradient);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: clamp(13px, 2.5vw, 16px);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border: 2px solid transparent;
}

.hero-content .btn:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 15px 45px rgba(245, 158, 11, 0.6);
  border-color: rgba(255,255,255,0.3);
}

/* ===== ANIMACIONES SCROLL ===== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
  padding: 15px;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  animation: zoomIn 0.4s ease;
}

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  border: 3px solid rgba(255,255,255,0.1);
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: var(--accent-gradient);
  border: none;
  color: white;
  font-size: 22px;
  cursor: pointer;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.lightbox-close:hover {
  transform: rotate(90deg) scale(1.15);
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.6);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255,255,255,0.3);
  color: white;
  font-size: 20px;
  padding: 12px;
  cursor: pointer;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-nav:hover {
  background: var(--accent-gradient);
  border-color: transparent;
  transform: translateY(-50%) scale(1.15);
}

.lightbox-prev { left: 8px; }
.lightbox-next { right: 8px; }

.lightbox-counter {
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 13px;
  letter-spacing: 1.5px;
  font-weight: 600;
  background: rgba(0,0,0,0.5);
  padding: 8px 18px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  white-space: nowrap;
}

/* ===== LANGUAGE DROPDOWN ===== */
.language-dropdown {
  position: relative;
  margin-left: auto;
  margin-right: 10px;
  z-index: 1002;
  flex-shrink: 0;
}

.language-current {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 7px 12px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  font-size: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 85px;
  justify-content: space-between;
  backdrop-filter: blur(10px);
}

.language-current:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.language-current .flag-icon {
  font-size: 18px;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  flex-shrink: 0;
}

.language-current .arrow {
  transition: transform 0.3s ease;
  font-size: 9px;
  flex-shrink: 0;
}

.language-dropdown.active .language-current .arrow {
  transform: rotate(180deg);
}

.language-options {
  position: absolute;
  top: 105%;
  right: 0;
  background: var(--card-bg);
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  border: 2px solid var(--border-color);
  min-width: 200px;
  max-width: 260px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  overflow: hidden;
  max-height: 360px;
  display: flex;
  flex-direction: column;
}

.language-dropdown.active .language-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.language-options-list {
  overflow-y: auto;
  max-height: 340px;
}

.language-options-list::-webkit-scrollbar { width: 4px; }
.language-options-list::-webkit-scrollbar-thumb {
  background: var(--accent-gradient);
  border-radius: 10px;
}

.language-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  font-size: 13px;
}

.language-option::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: var(--accent-gradient);
  transition: width 0.3s ease;
  z-index: -1;
}

.language-option:hover::before { width: 100%; }
.language-option:hover { color: white; padding-left: 20px; }

.language-option.active {
  background: var(--accent-gradient);
  color: white;
  font-weight: 700;
}

.language-option.hidden { display: none; }

.language-option .flag-icon {
  font-size: 22px;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  flex-shrink: 0;
}

.language-option .lang-name { font-size: 13px; flex: 1; }

.language-option .checkmark {
  font-size: 14px;
  color: white;
  opacity: 0;
  transform: scale(0);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  flex-shrink: 0;
}

.language-option.active .checkmark {
  opacity: 1;
  transform: scale(1);
}

/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1001;
  padding: 5px;
  gap: 4px;
  flex-shrink: 0;
  background: none;
  border: none;
}

.hamburger span {
  width: 24px;
  height: 2.5px;
  background-color: white;
  border-radius: 3px;
  transition: all 0.4s ease;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translateY(9px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: translateX(-20px); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translateY(-9px); }

/* ===== NAV MENU ===== */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 8px;
}

.nav-menu a:hover {
  background: rgba(255,255,255,0.15);
}

/* ===== SECCIONES ===== */
section {
  padding: 60px 15px;
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

section h2 {
  text-align: center;
  font-size: clamp(26px, 5vw, 44px);
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  position: relative;
  display: block;
  width: 100%;
  padding: 0 15px;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 4px;
  background: var(--accent-gradient);
  border-radius: 5px;
}

section > p {
  text-align: center;
  font-size: clamp(14px, 2.8vw, 18px);
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  line-height: 1.6;
}

.about-section { 
  background: var(--section-bg-light); 
  position: relative;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?q=80&w=1920&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  z-index: 0;
}

.about-section .about-content {
  position: relative;
  z-index: 1;
}

/* ===== CRUISE PORTS SECTION ===== */
.cruise-ports-section {
  position: relative;
  padding: 80px 20px;
  background-image: url('https://images.unsplash.com/photo-1548574505-5e239809ee19?q=80&w=1920&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.cruise-ports-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.85) 0%, rgba(37, 99, 235, 0.8) 50%, rgba(30, 64, 175, 0.85) 100%);
  backdrop-filter: blur(3px);
}

.cruise-ports-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.cruise-ports-section h2 {
  color: #ffffff !important;
  font-size: clamp(26px, 5vw, 42px);
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  margin-bottom: 20px;
}

.cruise-ports-section h2::after {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.cruise-ports-section p {
  color: #ffffff !important;
  font-size: clamp(16px, 3vw, 20px);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .cruise-ports-section {
    background-attachment: scroll;
    padding: 60px 15px;
  }
}
.gallery-section { 
  background: var(--section-bg-medium); 
  position: relative;
}

.gallery-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://images.unsplash.com/photo-1519046904884-53103b34b206?q=80&w=1920&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  opacity: 0.07;
  z-index: 0;
}

.gallery-section h2,
.gallery-section > p,
.gallery-section .gallery-grid {
  position: relative;
  z-index: 1;
}

.videos-section { 
  background: var(--section-bg-accent); 
  position: relative;
}

.videos-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://images.unsplash.com/photo-1506929562872-bb421503ef21?q=80&w=1920&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  z-index: 0;
}

.videos-section h2,
.videos-section > p,
.videos-section .videos-container {
  position: relative;
  z-index: 1;
}

.tours-section { 
  background: var(--section-bg-light); 
  position: relative;
}

.tours-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://images.unsplash.com/photo-1473116763249-2faaef81ccda?q=80&w=1920&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  opacity: 0.06;
  z-index: 0;
}

.tours-section h2,
.tours-section .tour-list {
  position: relative;
  z-index: 1;
}

.comments-section-main { 
  background: var(--section-bg-medium); 
  margin: 0; 
  position: relative;
}

.comments-section-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://images.unsplash.com/photo-1510414842594-a61c69b5ae57?q=80&w=1920&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  opacity: 0.07;
  z-index: 0;
}

.comments-section-main h2,
.comments-section-main > p,
.comments-section-main .comments-container {
  position: relative;
  z-index: 1;
}

.contact-section { 
  background: var(--section-bg-accent); 
  position: relative;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://images.unsplash.com/photo-1468413253725-0d5181091126?q=80&w=1920&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  opacity: 0.06;
  z-index: 0;
}

.contact-section h2,
.contact-section > p,
.contact-section .contact-form,
.contact-section .whatsapp-button {
  position: relative;
  z-index: 1;
}

/* Dark mode adjustments for section backgrounds */
[data-theme="dark"] .about-section::before,
[data-theme="dark"] .gallery-section::before,
[data-theme="dark"] .videos-section::before,
[data-theme="dark"] .tours-section::before,
[data-theme="dark"] .comments-section-main::before,
[data-theme="dark"] .contact-section::before {
  opacity: 0.04;
}

/* ===== SOCIAL MEDIA BANNER ===== */
.social-media-banner {
  background: var(--bg-header);
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
}

.social-media-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(245,158,11,0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.social-media-banner .social-media-content {
  background: rgba(0, 0, 0, 0.3);
  padding: 35px 25px;
  border-radius: 20px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  position: relative;
  z-index: 1;
}

.social-media-banner h2 {
  color: #ffffff !important;
  text-shadow: 0 3px 12px rgba(0,0,0,0.4);
  font-size: clamp(24px, 4.5vw, 40px);
}

.social-media-banner p {
  color: #ffffff !important;
  text-shadow: 0 2px 6px rgba(0,0,0,0.3);
  font-size: clamp(14px, 2.8vw, 20px);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.social-icon.facebook { background: #1877f2; }
.social-icon.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-icon.tiktok { background: #000000; }

.social-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* ===== FOOTER ===== */
.site-footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  color: #ffffff;
  padding: 45px 20px 80px;
  text-align: center;
  border-top: 3px solid rgba(245, 158, 11, 0.3);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 0;
  width: 100%;
  height: 80px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z" fill="%23f59e0b" opacity="0.3"/></svg>') repeat-x;
  background-size: 1200px 80px;
  animation: wave 15s linear infinite;
}

@keyframes wave {
  0% { background-position-x: 0; }
  100% { background-position-x: 1200px; }
}

.site-footer .footer-content { max-width: 900px; margin: 0 auto; }
.site-footer .footer-content > p { font-size: 12px; margin-bottom: 22px; opacity: 0.8; letter-spacing: 0.8px; }
.site-footer .footer-contact { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.site-footer .footer-contact p { margin: 0; font-size: 13px; }
.site-footer .footer-contact a { color: #fbbf24; text-decoration: none; font-weight: 600; }
.site-footer .footer-contact a:hover { color: #fff; }

/* Footer Social Icons */
.footer-social {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fbbf24;
  font-size: 18px;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.footer-social a:hover {
  background: var(--accent-gradient);
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
  border-color: transparent;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 155px;
  right: 15px;
  width: 55px;
  height: 55px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
  z-index: 9999;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border: 2px solid rgba(255,255,255,0.3);
}

.whatsapp-float:hover {
  transform: scale(1.12) translateY(-4px);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.7);
}

.whatsapp-float svg, .whatsapp-float img { width: 28px; height: 28px; }

/* ===== GALERÍA ===== */
.gallery-grid {
  display: flex;
  gap: 15px;
  padding: 15px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-primary) var(--bg-secondary);
  width: 100%;
}

.gallery-grid::-webkit-scrollbar { height: 5px; }
.gallery-grid::-webkit-scrollbar-track { background: var(--bg-secondary); border-radius: 10px; }
.gallery-grid::-webkit-scrollbar-thumb { background: var(--accent-gradient); border-radius: 10px; }

.gallery-grid img {
  flex: 0 0 auto;
  width: 260px;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: 0 6px 24px var(--card-shadow);
  border: 3px solid var(--card-bg);
}

.gallery-grid img:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
  border-color: var(--accent-primary);
}

/* ===== VIDEOS ===== */
.videos-container {
  display: flex;
  gap: 15px;
  padding: 15px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-primary) var(--bg-secondary);
  width: 100%;
}

.videos-container::-webkit-scrollbar { height: 5px; }
.videos-container::-webkit-scrollbar-track { background: var(--bg-secondary); border-radius: 10px; }
.videos-container::-webkit-scrollbar-thumb { background: var(--accent-gradient); border-radius: 10px; }

.video-card {
  flex: 0 0 auto;
  width: 290px;
  background: var(--card-bg);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 28px var(--card-shadow);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border: 2px solid transparent;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
}

[data-theme="dark"] .video-card { background: rgba(30, 41, 59, 0.7); }

.video-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
  border-color: var(--accent-primary);
}

.video-card video { width: 100%; height: 180px; object-fit: cover; }
.video-card h3 { padding: 16px 18px 6px; font-size: 17px; color: var(--text-primary); font-weight: 700; }
.video-card p { padding: 0 18px 16px; font-size: 13px; color: var(--text-light); line-height: 1.5; }

/* ===== TOUR CAROUSEL ===== */
.tour-carousel {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
}

.carousel-container { position: relative; width: 100%; height: 100%; }

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.carousel-slide.active { opacity: 1; }

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.95);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-primary);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  z-index: 10;
  box-shadow: 0 3px 12px rgba(0,0,0,0.2);
}

.carousel-btn:hover {
  background: var(--accent-gradient);
  color: white;
  transform: translateY(-50%) scale(1.12);
}

.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }

.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 10;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.carousel-dot.active {
  background: var(--accent-gradient);
  transform: scale(1.3);
  border-color: white;
}

/* ===== TOUR CARDS ===== */
.tour-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  padding: 15px;
  width: 100%;
  max-width: 100%;
}

.tour-card {
  background: var(--card-bg);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 28px var(--card-shadow);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border: 2px solid transparent;
  position: relative;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
}

[data-theme="dark"] .tour-card { background: rgba(30, 41, 59, 0.7); }

.tour-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(245, 158, 11, 0.1) 50%, transparent 70%);
  transform: rotate(45deg);
  transition: all 0.6s;
}

.tour-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
  border-color: var(--accent-primary);
}

.tour-card:hover::after { animation: shine 1.5s ease; }

@keyframes shine {
  0% { left: -50%; }
  100% { left: 150%; }
}

.tour-card h3 {
  padding: 18px 20px 6px;
  font-size: 18px;
  color: var(--text-primary);
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.3px;
  line-height: 1.3;
}

.tour-card .description {
  padding: 0 20px 12px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.tour-card .price {
  padding: 0 20px 16px;
  font-size: 26px;
  font-weight: 900;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  letter-spacing: -0.8px;
  animation: countUp 0.6s ease-out;
}

.tour-card .price span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  -webkit-text-fill-color: var(--text-light);
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.tour-card .btn-reservar {
  display: block;
  margin: 0 20px 20px;
  padding: 14px;
  background: var(--accent-gradient);
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.8px;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
  z-index: 10;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
  text-transform: uppercase;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
}

.tour-card .btn-reservar:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(245, 158, 11, 0.5);
}

/* ===== FORMULARIO ===== */
.contact-form {
  background: var(--card-bg);
  padding: 35px 25px;
  border-radius: 20px;
  box-shadow: 0 10px 40px var(--card-shadow);
  max-width: 700px;
  margin: 0 auto;
  border: 2px solid var(--border-color);
  width: calc(100% - 30px);
}

.form-group {
  position: relative;
  margin-bottom: 24px;
}

.form-group label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 14px;
  transition: all 0.3s ease;
  pointer-events: none;
  background: var(--card-bg);
  padding: 0 6px;
  font-weight: 500;
}

.form-group textarea ~ label {
  top: 20px;
  transform: none;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: -9px;
  left: 12px;
  font-size: 11px;
  color: var(--accent-primary);
  font-weight: 700;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  font-size: 14px;
  background: var(--card-bg);
  color: var(--text-primary);
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
}

.form-group input.valid { border-color: #10b981; }
.form-group input.invalid { border-color: #ef4444; animation: shake 0.5s ease; }

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
  20%, 40%, 60%, 80% { transform: translateX(4px); }
}

.form-group .validation-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 17px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.form-group input.valid ~ .validation-icon.valid-icon,
.form-group input.invalid ~ .validation-icon.invalid-icon { opacity: 1; }

.valid-icon { color: #10b981; }
.invalid-icon { color: #ef4444; }

.form-group textarea { resize: vertical; min-height: 120px; }

.contact-form button {
  width: 100%;
  padding: 16px;
  background: var(--accent-gradient);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  box-shadow: 0 8px 28px rgba(245, 158, 11, 0.3);
  font-family: inherit;
}

.contact-form button:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(245, 158, 11, 0.5);
}

.contact-form button:disabled { opacity: 0.6; cursor: not-allowed; }

.form-message {
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 22px;
  display: none;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 13px;
}

.form-message.success { display: flex; background: #d1fae5; color: #065f46; border: 2px solid #6ee7b7; }
.form-message.error { display: flex; background: #fee2e2; color: #991b1b; border: 2px solid #fca5a5; }

.whatsapp-button { text-align: center; margin-top: 30px; }

.whatsapp-button a {
  display: inline-block;
  padding: 14px 30px;
  background: #25d366;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.whatsapp-button a:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

/* ===== COMENTARIOS ===== */
.comments-section-main h2 { font-size: clamp(26px, 5vw, 40px); }

.comments-container { max-width: 900px; margin: 0 auto; padding: 0 15px; width: 100%; }

.comments-list {
  background: var(--card-bg);
  padding: 25px 18px;
  border-radius: 18px;
  box-shadow: 0 8px 32px var(--card-shadow);
  margin-bottom: 45px;
  border: 2px solid var(--border-color);
}

.comment-box {
  background: var(--bg-secondary);
  padding: 22px;
  border-radius: 14px;
  margin-bottom: 16px;
  border-left: 4px solid var(--accent-primary);
}

.comment-box:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 18px rgba(0,0,0,0.1);
}

.comment-stars { font-size: 17px; margin-bottom: 10px; letter-spacing: 2px; color: var(--accent-primary); }
.comment-name { font-weight: 700; color: var(--text-primary); font-size: 15px; margin-bottom: 9px; }
.comment-text { color: var(--text-secondary); font-size: 14px; line-height: 1.6; }

.comment-form {
  background: var(--card-bg);
  padding: 25px 18px;
  border-radius: 18px;
  box-shadow: 0 8px 32px var(--card-shadow);
  border: 2px solid var(--border-color);
}

.comment-form h3 { margin-top: 0; margin-bottom: 22px; color: var(--text-primary); font-size: 22px; font-weight: 800; }

.comment-message { padding: 14px; border-radius: 10px; margin-bottom: 18px; font-size: 13px; display: none; font-weight: 600; }
.comment-message.success { background: #d4edda; color: #155724; border: 2px solid #c3e6cb; display: block; }
.comment-message.error { background: #f8d7da; color: #721c24; border: 2px solid #f5c6cb; display: block; }

#commentForm { display: grid; gap: 18px; }

#commentForm input,
#commentForm textarea {
  padding: 15px;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  font-size: 14px;
  background: var(--card-bg);
  color: var(--text-primary);
  font-family: inherit;
}

#commentForm input:focus,
#commentForm textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
}

#commentForm textarea { resize: vertical; min-height: 100px; }

.btn-post {
  background: var(--accent-gradient);
  color: white;
  padding: 15px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
  font-family: inherit;
}

.btn-post:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(245, 158, 11, 0.5);
}

.btn-post:disabled { opacity: 0.6; cursor: not-allowed; }

.no-comments { text-align: center; color: var(--text-light); padding: 18px; font-size: 14px; }

/* ===== PWA BANNER ===== */
.pwa-install-banner {
  position: fixed;
  bottom: 15px;
  left: 15px;
  right: 15px;
  background: var(--card-bg);
  color: var(--text-primary);
  padding: 18px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--border-color);
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
  animation: slideUp 0.6s ease;
  text-align: center;
  max-width: 400px;
  margin: 0 auto;
}

.pwa-install-banner.show { display: flex; }

@keyframes slideUp {
  from { transform: translateY(120px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.pwa-install-banner .pwa-icon { font-size: 34px; }
.pwa-install-banner .pwa-text h4 { margin: 0 0 5px; font-size: 17px; font-weight: 700; }
.pwa-install-banner .pwa-text p { margin: 0; font-size: 13px; color: var(--text-secondary); }
.pwa-install-banner .pwa-buttons { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }

.pwa-install-banner button {
  padding: 11px 22px;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.pwa-install-banner .btn-install {
  background: var(--accent-gradient);
  color: white;
  box-shadow: 0 5px 16px rgba(245, 158, 11, 0.3);
}

.pwa-install-banner .btn-install:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.5);
}

.pwa-install-banner .btn-close { background: var(--bg-secondary); color: var(--text-secondary); }

.content-fade { animation: fadeContent 0.5s ease-in-out; }

@keyframes fadeContent {
  0% { opacity: 1; }
  50% { opacity: 0.4; }
  100% { opacity: 1; }
}

/* ===== DARK MODE IMAGES ===== */
[data-theme="dark"] img { opacity: 0.92; filter: brightness(0.9); }
[data-theme="dark"] .gallery-grid img:hover,
[data-theme="dark"] .tour-carousel img { opacity: 1; filter: brightness(1); }
[data-theme="dark"] ::-webkit-scrollbar-track { background: #334155; }
[data-theme="dark"] ::-webkit-scrollbar-thumb { background: var(--accent-gradient); }

/* ===== RESPONSIVE TABLET ===== */
@media (max-width: 992px) {
  .tour-list { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
  .gallery-grid img { width: 240px; height: 200px; }
  .video-card { width: 270px; }
}

/* ===== RESPONSIVE MÓVIL ===== */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .language-dropdown { position: fixed; top: 10px; right: 48px; margin: 0; }
  .language-current .lang-text { display: none; }
  .language-options { position: fixed; top: 50px; right: 8px; left: auto; min-width: 220px; max-width: calc(100% - 16px); }
  .hamburger { position: fixed; top: 10px; right: 10px; }
  
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 55px;
    flex-direction: column;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.98) 0%, rgba(30, 64, 175, 0.98) 100%);
    width: 100%;
    text-align: center;
    transition: 0.4s ease;
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.4);
    padding: 22px 0 30px;
    z-index: 1000;
    backdrop-filter: blur(20px);
  }
  
  .nav-menu.active { left: 0; }
  .nav-menu li { margin: 16px 0; }
  .nav-menu a { font-size: 17px; padding: 10px; display: block; font-weight: 600; }
  .hero.video-hero { min-height: 450px; max-height: 700px; }
  .tour-list { grid-template-columns: 1fr; gap: 20px; padding: 10px; }
  .gallery-grid img { width: 220px; height: 185px; }
  .video-card { width: 260px; }
  .contact-form { padding: 28px 20px; width: calc(100% - 20px); }
  .site-footer { padding: 40px 15px 75px; }
  .dark-mode-toggle, .back-to-top { width: 48px; height: 48px; font-size: 18px; right: 12px; }
  .dark-mode-toggle { bottom: 85px; }
  .back-to-top { bottom: 28px; }
  .whatsapp-float { width: 52px; height: 52px; bottom: 145px; right: 12px; }
  section { padding: 50px 12px; }
}

/* ===== RESPONSIVE MÓVIL PEQUEÑO ===== */
@media (max-width: 480px) {
  .logo-image { width: 45px; height: 45px; }
  .logo-text { font-size: 12px; max-width: 140px; }
  .hero.video-hero { min-height: 400px; }
  .hero-content .btn { padding: 12px 28px; font-size: 12px; }
  .gallery-grid { gap: 12px; padding: 12px; }
  .gallery-grid img { width: 200px; height: 170px; }
  .videos-container { gap: 12px; padding: 12px; }
  .video-card { width: 240px; }
  .tour-carousel { height: 180px; }
  .carousel-btn { width: 32px; height: 32px; font-size: 12px; }
  .tour-card h3 { font-size: 16px; padding: 15px 16px 5px; }
  .tour-card .description { font-size: 13px; padding: 0 16px 10px; }
  .tour-card .price { font-size: 22px; padding: 0 16px 14px; }
  .tour-card .btn-reservar { font-size: 12px; padding: 12px; margin: 0 16px 16px; }
  .contact-form { padding: 24px 16px; }
  .form-group input, .form-group textarea { padding: 14px; font-size: 13px; }
  .contact-form button { padding: 14px; font-size: 13px; }
  .comment-box { padding: 18px; }
  .comment-form { padding: 22px 15px; }
  #commentForm input, #commentForm textarea { padding: 13px; font-size: 13px; }
  .btn-post { padding: 13px; font-size: 12px; }
  .lightbox-close { top: -40px; width: 38px; height: 38px; font-size: 20px; }
  .lightbox-nav { width: 40px; height: 40px; font-size: 18px; padding: 10px; }
  .lightbox-counter { font-size: 12px; padding: 6px 14px; bottom: -32px; }
}

/* ===== RESPONSIVE MUY PEQUEÑO ===== */
@media (max-width: 360px) {
  .logo-image { width: 42px; height: 42px; }
  .logo-text { font-size: 11px; max-width: 120px; }
  .language-current { padding: 6px 10px; min-width: 75px; }
  .gallery-grid img { width: 180px; height: 150px; }
  .video-card { width: 220px; }
  .tour-list { grid-template-columns: 1fr; }
  section h2 { font-size: 22px; }
  section > p { font-size: 13px; }
}

/* ===== LANDSCAPE MÓVIL ===== */
@media (max-height: 500px) and (orientation: landscape) {
  .hero.video-hero { min-height: 100vh; max-height: 100vh; }
  .hero-content h1 { font-size: 32px; }
  .hero-content p { font-size: 14px; margin-bottom: 15px; }
  .hero-content .btn { padding: 10px 24px; font-size: 12px; }
  section { padding: 40px 15px; }
}