@charset "UTF-8";

/* ==========================================================================
   Quinta Anacahuitas - Design System & Modern CSS (V2)
   ========================================================================== */

:root {
  /* Color Palette */
  --primary: #059669;
  --primary-dark: #064e3b;
  --primary-light: #34d399;
  --primary-bg: #ecfdf5;
  
  --secondary: #d97706;
  --secondary-dark: #b45309;
  --secondary-light: #fbbf24;
  
  --dark-slate: #0f172a;
  --slate: #1e293b;
  --muted-slate: #475569;
  --light-slate: #f8fafc;
  --border-slate: #e2e8f0;
  
  --white: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-dark: rgba(15, 23, 42, 0.75);
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--muted-slate);
  background-color: var(--light-slate);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark-slate);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Section Common */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-subtitle {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  background-color: var(--primary-bg);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--dark-slate);
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--muted-slate);
  max-width: 680px;
  margin: 0 auto 3rem auto;
}

.text-center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px -5px rgba(5, 150, 105, 0.4);
  color: var(--white);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: var(--white);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px -5px rgba(37, 211, 102, 0.4);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--dark-slate);
  border: 2px solid var(--border-slate);
  box-shadow: none;
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: var(--primary-bg);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.35);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1.125rem 2.5rem;
  font-size: 1.125rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 1.25rem 0;
}

.header.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.75rem 0;
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid var(--glass-border);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--white);
}

.header.scrolled .logo-link {
  color: var(--dark-slate);
}

.logo-img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--white);
  object-fit: cover;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  padding: 0.25rem 0;
}

.header.scrolled .nav-link {
  color: var(--slate);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-light);
  transition: var(--transition);
  border-radius: var(--radius-full);
}

.header.scrolled .nav-link::after {
  background-color: var(--primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--white);
}

.header.scrolled .nav-link:hover {
  color: var(--primary);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--white);
  cursor: pointer;
}

.header.scrolled .mobile-toggle {
  color: var(--dark-slate);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--dark-slate);
  color: var(--white);
  overflow: hidden;
  padding-top: 5rem;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out, transform 8s ease;
  transform: scale(1.05);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.65) 0%, rgba(15, 23, 42, 0.85) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  padding: 3rem 1rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(5, 150, 105, 0.25);
  border: 1px solid var(--primary-light);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-title span {
  background: linear-gradient(135deg, #6ee7b7 0%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.hero-quick-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  padding: 1.25rem 2rem;
  border-radius: var(--radius-lg);
  margin-top: 3.5rem;
  box-shadow: var(--shadow-xl);
}

.quick-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
}

.quick-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--primary-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.quick-info h4 {
  font-size: 0.95rem;
  color: var(--dark-slate);
}

.quick-info p {
  font-size: 0.85rem;
  color: var(--muted-slate);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-slate);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h3 {
  font-size: 1.85rem;
  color: var(--dark-slate);
  margin-bottom: 1.25rem;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--muted-slate);
  margin-bottom: 1.5rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;

}

.highlight-box {
  background: var(--light-slate);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary);
}

.highlight-box strong {
  display: block;
  font-family: var(--font-heading);
  color: var(--dark-slate);
  font-size: 1.1rem;
}

.highlight-box span {
  font-size: 0.875rem;
  color: var(--muted-slate);
}

.about-media {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-media img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

/* ==========================================================================
   Instalaciones / Amenities Section
   ========================================================================== */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.amenity-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-slate);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.amenity-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.amenity-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
}

.amenity-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--primary-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.amenity-title {
  font-size: 1.4rem;
  color: var(--dark-slate);
  margin-bottom: 1rem;
}

.amenity-list {
  list-style: none;
}

.amenity-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  color: var(--muted-slate);
}

.amenity-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 800;
}

/* ==========================================================================
   Paquetes y Cotizador Section
   ========================================================================== */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.package-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-slate);
  transition: var(--transition);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.package-card.featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-xl);
  transform: scale(1.03);
}

.package-card.featured:hover {
  transform: scale(1.05) translateY(-4px);
}

.package-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.package-badge {
  position: static !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  display: inline-block !important;
  margin: 0 auto 0.75rem auto !important;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.35rem 1.15rem;
  border-radius: var(--radius-full);
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.35);
  width: fit-content;
}

.package-header {
  margin-bottom: 1.5rem;
}

.package-name {
  font-size: 1.35rem;
  color: var(--dark-slate);
  margin-bottom: 0.5rem;
}

.package-duration {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
}

.package-price {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--dark-slate);
  font-family: var(--font-heading);
  margin: 1rem 0;
}

.package-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted-slate);
}

.package-features {
  list-style: none;
  margin-bottom: 1.5rem;
  text-align: left;
}

.package-features li {
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--muted-slate);
  border-bottom: 1px dashed var(--border-slate);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Cotizador Calculator Widget */
.calculator-box {
  background: linear-gradient(135deg, var(--dark-slate) 0%, #1e293b 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-xl);
  max-width: 900px;
  margin: 0 auto;
}

.calculator-title {
  color: var(--white);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.calculator-desc {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.calculator-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-light);
  background: rgba(255, 255, 255, 0.15);
}

.form-control option {
  background: var(--dark-slate);
  color: var(--white);
}

/* Custom Aesthetic Date Input Styling */
input[type="date"].form-control {
  appearance: none;
  -webkit-appearance: none;
  color-scheme: dark;
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

input[type="date"].form-control:hover,
input[type="date"].form-control:focus {
  border-color: var(--primary-light);
  background-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 15px rgba(52, 211, 153, 0.3);
}

input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  filter: invert(0.8) sepia(1) saturate(5) hue-rotate(110deg);
  opacity: 0.95;
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
  transform: scale(1.15);
  opacity: 1;
}

.calculator-result {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.total-display strong {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.total-display span {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary-light);
}

/* ==========================================================================
   Galería Section & Lightbox Modal
   ========================================================================== */
.gallery-controls {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.gallery-btn {
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-slate);
  background: var(--white);
  color: var(--muted-slate);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-btn.active, .gallery-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 240px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.8) 100%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption {
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
}

.swipe-hint, .lightbox-swipe-hint {
  display: none !important;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

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

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: var(--white);
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  border: none;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.4);
}

.lightbox-prev { left: -60px; }
.lightbox-next { right: -60px; }

/* ==========================================================================
   Ubicación Section
   ========================================================================== */
.location-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-slate);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.location-info {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.location-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.location-info p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.location-map {
  width: 100%;
  height: 100%;
  min-height: 380px;
}

.location-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-slate);
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--dark-slate);
  user-select: none;
}

.faq-icon {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
  color: var(--primary);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-body {
  padding: 0 1.5rem 1.25rem 1.5rem;
  display: none;
  font-size: 0.98rem;
  color: var(--muted-slate);
  line-height: 1.7;
}

.faq-item.active .faq-body {
  display: block;
}

/* ==========================================================================
   Footer & Floating Elements
   ========================================================================== */
.footer {
  background: var(--dark-slate);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-links h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: var(--white);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================================================
   Responsive Breakpoints & Mobile App UX
   ========================================================================== */
.mobile-bottom-bar {
  display: none;
}

@media (max-width: 992px) {
  .about-card, .location-card {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
  }
  
  .calculator-form {
    grid-template-columns: 1fr;
  }
  
  .package-card.featured {
    transform: none;
  }
  
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 70px; /* Offset for fixed bottom app dock */
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .hero {
    min-height: 88vh;
    padding-top: 6rem;
    padding-bottom: 3rem;
  }

  .hero-title {
    font-size: 2.35rem;
  }

  .hero-desc {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-quick-bar {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding: 1.25rem;
    margin-top: 2rem;
  }

  .quick-item {
    background: rgba(255, 255, 255, 0.6);
    padding: 0.75rem;
    border-radius: var(--radius-md);
  }

  /* Mobile Touch Carousels for Instalaciones & Paquetes */
  .swipe-hint {
    display: none;
  }

  .swipe-hint.show-mobile {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.825rem;
    color: var(--primary-dark);
    background: var(--primary-bg);
    border: 1px solid rgba(5, 150, 105, 0.2);
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
    font-weight: 600;
  }

  .lightbox-swipe-hint.show-mobile {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    position: absolute;
    bottom: -3.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 0.45rem 1.1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1010;
    border: 1px solid rgba(255, 255, 255, 0.25);
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    white-space: nowrap;
  }

  .amenities-grid, .packages-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 1.1rem !important;
    padding-top: 1.5rem !important;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    padding-bottom: 1.5rem !important;
    margin-bottom: 2rem !important;
    scrollbar-width: none;
  }

  .amenities-grid::-webkit-scrollbar, .packages-grid::-webkit-scrollbar {
    display: none;
  }

  .amenity-card {
    flex: 0 0 86% !important;
    max-width: 86% !important;
    scroll-snap-align: center !important;
    margin-bottom: 0 !important;
    box-shadow: var(--shadow-lg);
  }

  .package-card {
    flex: 0 0 84% !important;
    max-width: 84% !important;
    scroll-snap-align: center !important;
    margin-bottom: 0 !important;
    box-shadow: var(--shadow-lg);
  }

  .package-card.featured {
    transform: none !important;
  }

  /* Sleek Mobile Navigation Drawer */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 340px;
    height: 100vh;
    background: linear-gradient(180deg, var(--dark-slate) 0%, #1e293b 100%);
    flex-direction: column;
    justify-content: flex-start;
    padding: 5rem 2rem 2rem 2rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    gap: 1.25rem;
    overflow-y: auto;
  }
  
  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
  }

  .nav-link i {
    width: 24px;
    color: var(--primary-light);
  }
  
  .mobile-toggle {
    display: block;
    z-index: 1001;
    font-size: 1.5rem;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
  }

  /* Gallery Horizontal Swipe Chips */
  .gallery-controls {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0.5rem 0.25rem 1rem 0.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.5rem;
  }

  .gallery-controls::-webkit-scrollbar {
    display: none;
  }

  .gallery-btn {
    flex-shrink: 0;
    padding: 0.5rem 1.15rem;
    font-size: 0.85rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.85rem;
  }

  .gallery-item {
    height: 180px;
  }

  .gallery-caption {
    font-size: 0.85rem;
  }

  /* Cotizador Mobile Polish */
  .calculator-box {
    padding: 1.75rem 1.25rem;
  }

  .calculator-result {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 1.25rem;
  }

  .total-display span {
    font-size: 2rem;
  }

  /* Floating WhatsApp Button Adjustment */
  .whatsapp-float {
    bottom: 4.75rem;
    right: 1rem;
    width: 52px;
    height: 52px;
    font-size: 1.65rem;
  }

  /* Mobile App Bottom Dock */
  .mobile-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.5rem 0.5rem;
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.25);
  }

  .mobile-bottom-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.7rem;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.25rem 0.4rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    text-decoration: none;
  }

  .mobile-bottom-item i {
    font-size: 1.15rem;
  }

  .mobile-bottom-item:hover, .mobile-bottom-item.active {
    color: var(--primary-light);
  }

  .mobile-bottom-item.highlight {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff;
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  }

  .mobile-bottom-item.highlight i {
    font-size: 1.05rem;
  }
}

