/* =========================================
   PUNTA DEL DIABLO - REFUGIOS DEL MAR
   Premium Coastal Website
   ========================================= */

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--cream);
  color: var(--charcoal);
  overflow-x: hidden;
  line-height: 1.6;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* --- CUSTOM PROPERTIES --- */
:root {
  --sand: #C9A96E;
  --sand-light: #E8D5B0;
  --sand-pale: #F5EDD8;
  --cream: #FAF7F2;
  --white-warm: #FEFCF8;
  --olive: #5C6B3A;
  --olive-dark: #3D4A25;
  --ocean: #1E4A6B;
  --ocean-dark: #0F2D45;
  --ocean-mid: #2C6189;
  --wood: #8B6347;
  --wood-dark: #5C3D22;
  --charcoal: #1A1A1A;
  --charcoal-mid: #2E2E2E;
  --gray: #6B6B6B;
  --gray-light: #9E9E9E;
  --white: #FFFFFF;

  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;

  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.2s ease;
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.18);
  --shadow-xl: 0 32px 80px rgba(0,0,0,0.24);

  --header-h: 80px;
  --max-w: 1280px;
  --section-pad: 100px 24px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sand);
}

.section-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--charcoal);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 600px;
  line-height: 1.75;
}

/* --- UTILITIES --- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.flex { display: flex; }
.grid { display: grid; }
.center { text-align: center; }

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  transform: translateX(-100%);
  transition: var(--transition);
}

.btn:hover::before { transform: translateX(0); }

.btn-primary {
  background: var(--sand);
  color: var(--white-warm);
}

.btn-primary:hover {
  background: var(--wood);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(201, 169, 110, 0.35);
}

.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.7);
  color: var(--white-warm);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: white;
  transform: translateY(-2px);
}

.btn-outline-dark {
  border: 1.5px solid var(--charcoal);
  color: var(--charcoal);
}

.btn-outline-dark:hover {
  background: var(--charcoal);
  color: var(--white-warm);
}

.btn-whatsapp {
  background: #25D366;
  color: white;
  gap: 10px;
}

.btn-whatsapp:hover {
  background: #1ebe5c;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp svg { width: 20px; height: 20px; }

/* --- SCROLL ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ==========================================
   HEADER
   ========================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(250, 247, 242, 0.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: var(--transition);
}

.logo-main {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--white-warm);
  transition: color var(--transition);
  line-height: 1;
}

.logo-sub {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sand-light);
  transition: color var(--transition);
}

.header.scrolled .logo-main { color: var(--charcoal); }
.header.scrolled .logo-sub { color: var(--sand); }

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--sand);
  transition: width var(--transition);
}

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

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

.nav-cta {
  background: var(--sand);
  color: white !important;
  padding: 10px 20px;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--wood);
  transform: translateY(-1px);
}

.nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  height: 1.5px;
  background: white;
  transition: var(--transition);
  transform-origin: center;
}

.header.scrolled .hamburger span { background: var(--charcoal); }

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--charcoal);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--sand-light);
  letter-spacing: 0.04em;
  transition: color var(--transition);
}

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

.mobile-cta {
  margin-top: 16px;
  padding: 16px 40px;
  background: #25D366;
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.mobile-cta:hover { background: #1ebe5c; }

/* ==========================================
   HERO
   ========================================== */
.hero {
  position: relative;
  height: 100svh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.hero-bg img {
  transform: scale(1.08);
  transition: transform 12s ease;
}

.hero.loaded .hero-bg img { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 25, 40, 0.45) 0%,
    rgba(10, 25, 40, 0.3) 40%,
    rgba(10, 25, 40, 0.6) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 900px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 1s 0.5s forwards;
}

.hero-label-line {
  width: 40px;
  height: 1px;
  background: var(--sand);
}

.hero-label span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sand-light);
}

.hero h1 {
  font-size: clamp(2.8rem, 6.5vw, 6rem);
  color: white;
  margin-bottom: 24px;
  text-shadow: 0 2px 40px rgba(0,0,0,0.3);
  opacity: 0;
  animation: fadeUp 1s 0.7s forwards;
  line-height: 1.08;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.82);
  margin-bottom: 48px;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 1s 0.9s forwards;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s 1.1s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1s 1.5s forwards;
}

.hero-scroll span {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* Feature Strip */
.features-strip {
  background: var(--ocean-dark);
  padding: 28px 24px;
}

.features-strip-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 32px;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.feature-item:last-child { border-right: none; }

.feature-item svg {
  width: 18px;
  height: 18px;
  color: var(--sand);
  flex-shrink: 0;
}

.feature-item span {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

/* ==========================================
   EL COMPLEJO
   ========================================== */
.complejo {
  padding: var(--section-pad);
  background: var(--white-warm);
}

.complejo-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.complejo-content .label { margin-bottom: 16px; display: block; }

.complejo-content h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  margin-bottom: 28px;
  color: var(--charcoal);
}

.complejo-content p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--gray);
  margin-bottom: 20px;
}

.complejo-features {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.complejo-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.complejo-feature-icon {
  width: 40px;
  height: 40px;
  background: var(--sand-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.complejo-feature-icon svg {
  width: 18px;
  height: 18px;
  color: var(--sand);
}

.complejo-feature h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.complejo-feature p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.5;
  margin: 0;
}

.complejo-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 300px 220px;
  gap: 12px;
}

.complejo-img-main {
  grid-column: 1 / -1;
  border-radius: 4px;
  overflow: hidden;
}

.complejo-img-sm {
  border-radius: 4px;
  overflow: hidden;
}

/* Stats */
.stats {
  background: var(--ocean-dark);
  padding: 70px 24px;
}

.stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item {}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--sand);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* ==========================================
   CABAÑAS
   ========================================== */
.cabanas {
  padding: var(--section-pad);
  background: var(--cream);
}

.cabanas-header {
  max-width: var(--max-w);
  margin: 0 auto 60px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.cabanas-header-left .label { display: block; margin-bottom: 12px; }

.cabanas-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.cabin-card {
  background: var(--white-warm);
  border-radius: 4px;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

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

.cabin-card-img {
  height: 260px;
  position: relative;
  overflow: hidden;
}

.cabin-card-img img {
  transition: transform 0.6s ease;
}

.cabin-card:hover .cabin-card-img img { transform: scale(1.06); }

.cabin-card-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--sand);
  color: white;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 2px;
}

.cabin-card-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cabin-card-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.cabin-card-desc {
  font-size: 0.92rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}

.cabin-card-specs {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--sand-pale);
  border-bottom: 1px solid var(--sand-pale);
  margin-bottom: 20px;
}

.cabin-spec {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--charcoal-mid);
  font-weight: 500;
}

.cabin-spec svg {
  width: 16px;
  height: 16px;
  color: var(--sand);
}

.cabin-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cabin-card-actions .btn {
  flex: 1;
  justify-content: center;
  padding: 12px 16px;
  font-size: 0.75rem;
}

/* ==========================================
   GALERÍA
   ========================================== */
.gallery {
  padding: var(--section-pad);
  background: var(--charcoal);
}

.gallery-header {
  max-width: var(--max-w);
  margin: 0 auto 48px;
  text-align: center;
}

.gallery-header .label { color: var(--sand); margin-bottom: 12px; display: block; }
.gallery-header h2 { color: var(--white-warm); }
.gallery-header p { color: rgba(255,255,255,0.55); margin: 16px auto 0; max-width: 500px; }

.gallery-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  columns: 3;
  gap: 12px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 12px;
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

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

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,25,40,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.4s ease;
}

.gallery-item:hover .gallery-item-overlay {
  background: rgba(10,25,40,0.4);
}

.gallery-item-overlay svg {
  width: 36px;
  height: 36px;
  color: white;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay svg {
  opacity: 1;
  transform: scale(1);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img-wrap {
  max-width: 90vw;
  max-height: 85vh;
  position: relative;
}

.lightbox-img-wrap img {
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 2px;
}

.lightbox-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 2001;
}

.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-close svg { width: 20px; height: 20px; }

.lightbox-prev, .lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 50px; height: 50px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 2001;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.18); }
.lightbox-prev svg, .lightbox-next svg { width: 22px; height: 22px; }

.lightbox-counter {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
}

/* ==========================================
   EXPERIENCIA
   ========================================== */
.experiencia {
  padding: var(--section-pad);
  background: var(--white-warm);
}

.experiencia-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.experiencia-intro {
  text-align: center;
  margin-bottom: 70px;
}

.experiencia-intro .label { display: block; margin-bottom: 12px; }

.experiencia-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.exp-card {
  padding: 40px 32px;
  border: 1px solid var(--sand-pale);
  border-radius: 4px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.exp-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--sand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.exp-card:hover::before { transform: scaleX(1); }
.exp-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.exp-icon {
  width: 56px;
  height: 56px;
  background: var(--sand-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.exp-icon svg { width: 24px; height: 24px; color: var(--sand); }

.exp-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.exp-card p {
  font-size: 0.92rem;
  color: var(--gray);
  line-height: 1.75;
}

/* Parallax banner */
.parallax-banner {
  position: relative;
  height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parallax-bg {
  position: absolute;
  inset: -100px 0;
  z-index: 0;
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,45,69,0.85), rgba(92,107,58,0.7));
  z-index: 1;
}

.parallax-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}

.parallax-content h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: white;
  margin-bottom: 20px;
}

.parallax-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================
   AIRBNB
   ========================================== */
.airbnb {
  padding: var(--section-pad);
  background: var(--sand-pale);
}

.airbnb-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.airbnb-content .label { display: block; margin-bottom: 12px; }
.airbnb-content h2 { font-size: clamp(2rem, 3.5vw, 3rem); margin-bottom: 20px; }
.airbnb-content p { font-size: 1rem; color: var(--gray); line-height: 1.8; margin-bottom: 16px; }

.airbnb-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: white;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}

.airbnb-badge svg { width: 28px; height: 28px; color: #FF5A5F; }
.airbnb-badge span { font-size: 0.9rem; font-weight: 600; color: var(--charcoal); }

.airbnb-visual {
  border-radius: 8px;
  overflow: hidden;
  height: 420px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.airbnb-visual-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(10,25,40,0.8), transparent);
  padding: 28px;
  z-index: 1;
}

.airbnb-visual-text {
  color: white;
  font-family: var(--font-heading);
  font-size: 1.5rem;
}

.airbnb-visual-sub {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  margin-top: 4px;
}

/* ==========================================
   RESEÑAS
   ========================================== */
.reviews {
  padding: var(--section-pad);
  background: var(--charcoal);
}

.reviews-header {
  max-width: var(--max-w);
  margin: 0 auto 60px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.reviews-header-left .label { color: var(--sand); display: block; margin-bottom: 12px; }
.reviews-header-left h2 { color: var(--white-warm); }

.reviews-slider-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  overflow: hidden;
}

.reviews-slider {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.review-card {
  flex: 0 0 calc(33.333% - 16px);
  background: var(--charcoal-mid);
  border-radius: 4px;
  padding: 36px;
  border: 1px solid rgba(255,255,255,0.06);
}

.review-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.review-stars svg { width: 16px; height: 16px; color: var(--sand); fill: var(--sand); }

.review-text {
  font-size: 0.98rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-avatar svg { width: 20px; height: 20px; color: white; }

.review-name {
  font-weight: 600;
  color: var(--white-warm);
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.review-origin {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

.reviews-controls {
  max-width: var(--max-w);
  margin: 32px auto 0;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.slider-btn:hover {
  border-color: var(--sand);
  color: var(--sand);
  background: rgba(201, 169, 110, 0.1);
}

.slider-btn svg { width: 18px; height: 18px; }

/* ==========================================
   UBICACIÓN
   ========================================== */
.ubicacion {
  padding: var(--section-pad);
  background: var(--white-warm);
}

.ubicacion-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.ubicacion-content .label { display: block; margin-bottom: 12px; }
.ubicacion-content h2 { font-size: clamp(2rem, 3.5vw, 3rem); margin-bottom: 20px; }
.ubicacion-content p { color: var(--gray); line-height: 1.8; margin-bottom: 32px; }

.ubicacion-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.ubicacion-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.92rem;
  color: var(--charcoal-mid);
}

.ubicacion-detail svg {
  width: 18px;
  height: 18px;
  color: var(--sand);
  flex-shrink: 0;
}

.map-wrap {
  border-radius: 8px;
  overflow: hidden;
  height: 420px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--sand-pale);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================
   CONTACTO
   ========================================== */
.contacto {
  padding: var(--section-pad);
  background: var(--ocean-dark);
}

.contacto-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.contacto-inner .label { color: var(--sand); display: block; margin-bottom: 16px; }

.contacto-inner h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: var(--white-warm);
  margin-bottom: 20px;
}

.contacto-inner > p {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 48px;
}

.contacto-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.contacto-option {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 32px;
  transition: var(--transition);
}

.contacto-option:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(201, 169, 110, 0.4);
  transform: translateY(-4px);
}

.contacto-option svg {
  width: 32px;
  height: 32px;
  color: var(--sand);
  margin-bottom: 12px;
}

.contacto-option h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--white-warm);
  margin-bottom: 8px;
}

.contacto-option p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

.contacto-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.contacto-cta .btn {
  min-width: 280px;
  justify-content: center;
  font-size: 0.9rem;
  padding: 18px 40px;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: var(--charcoal);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 60px 24px 32px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo-main { color: var(--sand-light); font-size: 1.6rem; }
.footer-brand .logo-sub { color: var(--sand); }

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin-top: 16px;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}

.social-link:hover {
  border-color: var(--sand);
  color: var(--sand);
  background: rgba(201,169,110,0.1);
}

.social-link svg { width: 16px; height: 16px; }

.footer-col h5 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: rgba(255,255,255,0.8); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  transition: color var(--transition);
}

.footer-legal a:hover { color: rgba(255,255,255,0.6); }

/* ==========================================
   WHATSAPP FLOATING
   ========================================== */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.whatsapp-tooltip {
  background: var(--charcoal);
  color: white;
  font-size: 0.82rem;
  padding: 10px 16px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
  box-shadow: var(--shadow-md);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

.whatsapp-btn {
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
}

.whatsapp-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  animation: waPulse 2.5s infinite;
}

.whatsapp-btn svg {
  width: 30px;
  height: 30px;
  color: white;
  position: relative;
  z-index: 1;
}

.whatsapp-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.5);
}

/* ==========================================
   ANIMATIONS (KEYFRAMES)
   ========================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.6); opacity: 0.4; }
}

@keyframes waPulse {
  0%   { transform: scale(1); opacity: 0.6; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ==========================================
   CABIN PAGE SPECIFIC
   ========================================== */
.cabin-hero {
  height: 70vh;
  min-height: 520px;
  position: relative;
  display: flex;
  align-items: flex-end;
}

.cabin-hero-bg {
  position: absolute;
  inset: 0;
}

.cabin-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,25,40,0.9) 0%, rgba(10,25,40,0.2) 60%, transparent 100%);
}

.cabin-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 40px 60px;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.cabin-hero-label { color: var(--sand-light); margin-bottom: 12px; display: block; }

.cabin-hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: white;
  margin-bottom: 16px;
}

.cabin-hero-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.cabin-hero-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
}

.cabin-hero-meta svg { width: 16px; height: 16px; color: var(--sand); }

.cabin-detail {
  padding: var(--section-pad);
  background: var(--white-warm);
}

.cabin-detail-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: start;
}

.cabin-detail-desc {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--gray);
  margin-bottom: 40px;
}

.cabin-amenities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--sand-pale);
  border-radius: 4px;
  font-size: 0.82rem;
  color: var(--charcoal-mid);
  font-weight: 500;
}

.amenity-item svg { width: 18px; height: 18px; color: var(--olive); flex-shrink: 0; }

.cabin-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.cabin-sidebar-card {
  background: var(--white-warm);
  border: 1px solid var(--sand-pale);
  border-radius: 8px;
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.cabin-sidebar-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--charcoal);
  margin-bottom: 20px;
}

.cabin-sidebar-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--sand-pale);
}

.sidebar-spec {
  text-align: center;
  padding: 14px;
  background: var(--sand-pale);
  border-radius: 4px;
}

.sidebar-spec-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--sand);
  line-height: 1;
  margin-bottom: 4px;
}

.sidebar-spec-label {
  font-size: 0.75rem;
  color: var(--gray);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.sidebar-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-btns .btn {
  width: 100%;
  justify-content: center;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .nav { display: none; }
  .hamburger { display: flex; }

  .complejo-grid { grid-template-columns: 1fr; gap: 48px; }
  .complejo-images { grid-template-rows: 260px 180px; }

  .stats-inner { grid-template-columns: repeat(2, 1fr); }

  .cabanas-grid { grid-template-columns: repeat(2, 1fr); }
  .cabanas-header { flex-direction: column; align-items: flex-start; }

  .gallery-grid { columns: 2; }

  .experiencia-grid { grid-template-columns: repeat(2, 1fr); }

  .airbnb-inner { grid-template-columns: 1fr; gap: 48px; }
  .airbnb-visual { height: 300px; }

  .reviews-header { flex-direction: column; align-items: flex-start; }
  .review-card { flex: 0 0 calc(50% - 12px); }

  .ubicacion-inner { grid-template-columns: 1fr; gap: 48px; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }

  .cabin-detail-inner { grid-template-columns: 1fr; }
  .cabin-sidebar { position: static; }
}

@media (max-width: 768px) {
  :root { --section-pad: 70px 20px; }

  .cabanas-grid { grid-template-columns: 1fr; }

  .gallery-grid { columns: 1; }

  .experiencia-grid { grid-template-columns: 1fr; }

  .review-card { flex: 0 0 85vw; }

  .contacto-options { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .hero-buttons { flex-direction: column; align-items: center; }

  .features-strip-inner { gap: 0; }
  .feature-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); width: 100%; justify-content: center; }
  .feature-item:last-child { border-bottom: none; }

  .cabin-amenities { grid-template-columns: repeat(2, 1fr); }

  .complejo-features { grid-template-columns: 1fr; }

  .whatsapp-float { bottom: 20px; right: 20px; }
  .whatsapp-btn { width: 54px; height: 54px; }
}
