/* ==================== VARIABLES CSS ==================== */
:root {
  --color-primary: #dc2626;
  --color-secondary: #ef4444;
  --color-accent: #f59e0b;
  --color-success: #16a34a;
  --color-danger: #dc2626;
  --color-white: #ffffff;
  --color-dark: #0f172a;
  --color-blue: #1e40af;
  --color-blue-light: #3b82f6;
  --overlay-dark: rgba(15, 23, 42, 0.7);
  --overlay-light: rgba(15, 23, 42, 0.3);
  --border-radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== RESET Y BASE ==================== */
* {
  box-sizing: border-box;
}

/* Reset para asegurar full-screen */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* ==================== HERO CONTAINER FULL SCREEN ==================== */
.hero-container {
  position: relative;
  display: flex;
  align-items: center;
  width: 100vw;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  /* Técnica simple para full-screen */
  left: 50%;
  right: 50%;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  max-width: none !important;
}

/* ==================== IMAGEN DE FONDO ==================== */
.hero-bg, .hero-img, .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

.hero-bg { 
  z-index: 1; 
  background-color: #0f172a;
}

.hero-img {
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Mantiene proporciones, no estira */
  object-position: center center;
  transition: opacity 0.3s ease;
  display: block;
  /* No forzar dimensiones específicas que puedan estirar */
}

.hero-overlay {
  z-index: 2;
  background: linear-gradient(135deg, var(--overlay-dark), var(--overlay-light) 50%, var(--overlay-dark));
}

/* ==================== CONTENIDO PRINCIPAL ==================== */
.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  color: var(--color-white);
  /* Asegura que el contenido se mantenga dentro del viewport */
  box-sizing: border-box;
}
.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  width: 100%;
  max-width: 100%;
}

/* ==================== INFORMACIÓN PRINCIPAL ==================== */
.hero-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  animation: fadeInUp 0.8s ease-out;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(90deg, var(--color-accent), #f59e0b);
  color: var(--color-dark);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  width: fit-content;
}
.badge-emoji { font-size: 1.25rem; }
.badge-exclusive {
  background: var(--color-dark);
  color: var(--color-accent);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
}
.hero-title-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hero-title {
  font-weight: 900;
  line-height: 0.9;
  margin: 0;
}
.hero-title .title-line-1 {
  display: block;
  font-size: 3rem;
  color: var(--color-white);
}
.hero-title .title-line-2 {
  display: block;
  font-size: 3rem;
  background: linear-gradient(90deg, var(--color-accent), #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-description {
  font-size: 1.1rem;
  line-height: 1.5;
  color: #cbd5e1;
  margin: 0;
}
.hero-description .highlight {
  color: var(--color-accent);
  font-weight: 600;
}

/* Características */
.hero-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 1.25rem;
}
.feature-icon-rating { background: var(--color-accent); color: var(--color-dark); }
.feature-icon-location { background: var(--color-blue-light); }
.feature-icon-time { background: var(--color-success); }
.feature-content { flex: 1; }
.feature-value {
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1;
}
.feature-label {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1;
  margin-top: 0.25rem;
}

/* --- TARJETA DE RESERVA --- */
.booking-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  color: var(--color-dark);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 380px;
  width: 100%;
}
.price-section {
  text-align: center;
  margin-bottom: 1.5rem;
}
.price-label {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.price-container {
  position: relative;
  display: inline-block;
  margin-bottom: 0.5rem;
}
.price-current {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-blue);
  line-height: 1;
}
.price-discount {
  position: absolute;
  top: -5px;
  right: -15px;
  background: var(--color-danger);
  color: var(--color-white);
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 20px;
  font-weight: 700;
}
.price-original {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.original-price {
  color: #64748b;
  text-decoration: line-through;
  font-size: 1rem;
}
.savings {
  background: linear-gradient(90deg, var(--color-danger), #dc2626);
  color: var(--color-white);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}
.includes-section {
  background: linear-gradient(90deg, #dbeafe, #bfdbfe);
  border-radius: 20px;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border: 1px solid #93c5fd;
}
.includes-title {
  font-weight: 700;
  color: var(--color-blue);
  text-align: center;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}
.includes-grid { display: grid; gap: 0.5rem; }
.include-item {
  font-size: 0.8rem;
  color: var(--color-blue);
  font-weight: 500;
}

/* ==================== MÓDULOS DE BOTONES ==================== */
.booking-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.btn-primary,
.btn-secondary {
  width: 100%;
  padding: 1rem 1.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 12px;
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)) !important;
  color: var(--color-white) !important;
  border: 2px solid var(--color-primary) !important;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.btn-secondary {
  border: 2px solid var(--color-blue) !important;
  color: var(--color-blue) !important;
  background: var(--color-white) !important;
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4) !important;
  background: linear-gradient(135deg, #b91c1c, var(--color-primary)) !important;
}

.btn-secondary:hover {
  background: var(--color-blue) !important;
  color: var(--color-white) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3) !important;
}

.btn-primary:active,
.btn-secondary:active {
  transform: scale(0.98) !important;
}

/* Estilos adicionales para compatibilidad con Elementor */
.elementor-widget-container .booking-card .booking-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.elementor-widget-container .booking-card .btn-primary,
.elementor-widget-container .booking-card .btn-secondary {
  width: 100%;
  padding: 1rem 1.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 12px;
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
}

.elementor-widget-container .booking-card .btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)) !important;
  color: var(--color-white) !important;
  border: 2px solid var(--color-primary) !important;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3) !important;
}

.elementor-widget-container .booking-card .btn-secondary {
  border: 2px solid var(--color-blue) !important;
  color: var(--color-blue) !important;
  background: var(--color-white) !important;
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.15) !important;
}

.elementor-widget-container .booking-card .btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4) !important;
  background: linear-gradient(135deg, #b91c1c, var(--color-primary)) !important;
}

.elementor-widget-container .booking-card .btn-secondary:hover {
  background: var(--color-blue) !important;
  color: var(--color-white) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3) !important;
}

.elementor-widget-container .booking-card .btn-primary:active,
.elementor-widget-container .booking-card .btn-secondary:active {
  transform: scale(0.98);
}

/* ==================== SOCIAL PROOF ==================== */
.social-proof {
  border-top: 1px solid #e2e8f0;
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.urgency-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #64748b;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--color-danger);
  border-radius: 50%;
}
.availability {
  text-align: center;
  background: #fef2f2;
  color: #991b1b;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}
.trust-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  color: #64748b;
  flex-wrap: wrap;
}
.trust-indicators span::after {
  content: "•";
  margin-left: 0.5rem;
  opacity: 0.5;
}
.trust-indicators span:last-child::after { display: none; }

/* ==================== ANIMACIONES ==================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}
.hero-info { animation: fadeInUp 0.8s ease-out; }
.badge-emoji { animation: bounce 2s infinite; }
.badge-exclusive, .price-discount, .pulse-dot { animation: pulse 2s infinite; }

/* ==================== RESPONSIVE DESIGN OPTIMIZADO ==================== */

/* Mobile Portrait - Tu imagen 768x1024 */
@media (max-width: 768px) {
  .hero-img {
    object-position: center 35%;
  }
  
  .hero-content {
    padding: 1rem;
    margin: 0 auto;
    max-width: 100%;
    width: 100%;
  }
  
  .hero-info { gap: 1.5rem; }
  .hero-badge {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    gap: 0.375rem;
  }
  .badge-emoji { font-size: 1rem; }
  .title-line-1, .title-line-2 { font-size: 2.5rem; }
  .hero-description { font-size: 1rem; line-height: 1.4; }
  .hero-features {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .feature-desktop-only, .include-desktop-only { display: none; }
  .booking-card {
    max-width: 100%;
    padding: 1.25rem;
  }
  .price-current { font-size: 2rem; }
  .includes-grid { grid-template-columns: 1fr; }
  .btn-primary, .btn-secondary {
    font-size: 0.85rem;
    padding: 0.875rem 1.25rem;
  }
  .trust-indicators { font-size: 0.65rem; text-align: center; }
}

/* Mobile Extra Small */
@media (max-width: 480px) {
  .hero-img {
    object-position: center 25%;
  }
  .title-line-1, .title-line-2 { font-size: 2.2rem; }
  .hero-description { font-size: 0.95rem; }
}

/* Mobile Landscape - Ajuste especial */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-container {
    min-height: 100vh;
  }
  .hero-content {
    padding: 1rem;
  }
  .hero-info { gap: 1rem; }
  .hero-img {
    object-position: center 40%;
  }
  .title-line-1, .title-line-2 { font-size: 2rem; }
  .hero-description { font-size: 0.9rem; }
  .booking-card { 
    max-width: 300px;
    padding: 1rem;
  }
  .price-current { font-size: 1.5rem; }
}

/* Desktop - Tu imagen 1920x1080 */
@media (min-width: 769px) {
  .hero-grid { 
    grid-template-columns: 2fr 1fr; 
    gap: 3rem; 
  }
  
  .hero-img {
    object-position: center center;
  }
  
  .hero-features { grid-template-columns: repeat(3, 1fr); }
  .includes-grid { grid-template-columns: repeat(2, 1fr); }
  .title-line-1, .title-line-2 { font-size: 4rem; }
  .hero-description { font-size: 1.25rem; }
}

/* Large Desktop */
@media (min-width: 1024px) {
  .hero-content { 
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  .hero-info { gap: 3rem; }
  .title-line-1, .title-line-2 { font-size: 5rem; }
  .hero-description {
    font-size: 1.4rem;
    max-width: 600px;
  }
  .booking-card { max-width: 400px; }
  .price-current { font-size: 3rem; }
}

/* Extra Large Desktop */
@media (min-width: 1440px) {
  .hero-content { 
    max-width: 1400px;
    padding: 3rem; 
  }
  .hero-grid { gap: 4rem; }
  .title-line-1, .title-line-2 { font-size: 5.5rem; }
  .hero-description { 
    font-size: 1.5rem;
    max-width: 700px;
  }
  .booking-card { max-width: 420px; }
}

/* Ultra Wide Screens */
@media (min-width: 1920px) {
  .hero-content { 
    max-width: 1600px;
    padding: 4rem; 
  }
  .hero-grid { gap: 5rem; }
  .title-line-1, .title-line-2 { font-size: 6rem; }
  .hero-description { 
    font-size: 1.6rem;
    max-width: 800px;
  }
}

/* High DPI Displays - Mejora la nitidez */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
.hero-img, .booking-card, .btn-primary, .btn-secondary { will-change: transform; }

/* ==================== ESTILOS DEL MODAL ==================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.3s ease;
  opacity: 0;
}
.modal-overlay.active {
  display: flex;
  opacity: 1;
}
.modal-content {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  max-width: 600px;
  width: 90%;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-overlay.active .modal-content {
  transform: scale(1);
}
.modal-close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #666;
  line-height: 1;
}
.modal-header h3 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  color: var(--color-dark);
}
.modal-body {
  max-height: 70vh;
  overflow-y: auto;
}