/* =========================================================
   CABAÑAS PARQUE ALDEA — Landing Page
   Paleta cálida natural · Mobile-first · Performance-aware
   ========================================================= */

:root {
  /* Paleta */
  --green-deep: #2d4a3a;
  --green-forest: #1f3528;
  --green-moss: #4a6b53;
  --green-soft: #e8efe5;
  --terracotta: #c1644a;
  --terracotta-deep: #9c4d36;
  --sand: #f5ede0;
  --sand-warm: #ebe0cc;
  --wood: #8b5a3c;
  --cream: #faf6ef;
  --ink: #1a1a1a;
  --ink-soft: #3a3a3a;
  --muted: #6b6b6b;
  --line: rgba(45, 74, 58, 0.12);

  /* WhatsApp */
  --wa: #25d366;
  --wa-deep: #128c7e;

  /* Tipografía */
  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Manrope', system-ui, -apple-system, sans-serif;

  /* Sizing */
  --container-pad: 1.25rem;
  --nav-h: 74px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { text-decoration: none; color: inherit; }

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar-custom {
  background: rgba(250, 246, 239, 0.92);
  border-bottom: 1px solid transparent;
  padding: 1rem 0;
  transition: background-color 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
}

.navbar-custom.scrolled {
  background: rgba(250, 246, 239, 0.98);
  border-bottom-color: var(--line);
  padding: 0.6rem 0;
  box-shadow: 0 4px 20px rgba(45, 74, 58, 0.06);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
}

.brand-mark {
  width: 42px;
  height: 42px;
  background: var(--green-deep);
  color: var(--sand);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--green-forest);
  letter-spacing: -0.01em;
}

.brand-sub {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.navbar-custom .nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-soft);
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: color 0.2s ease;
}

.navbar-custom .nav-link::after {
  content: '';
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.3rem;
  height: 1px;
  background: var(--green-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.navbar-custom .nav-link:hover {
  color: var(--green-deep);
}
.navbar-custom .nav-link:hover::after {
  transform: scaleX(1);
}

.navbar-toggler {
  border: none;
  padding: 0.5rem;
  width: 44px;
  height: 44px;
  position: relative;
}
.navbar-toggler:focus { box-shadow: none; outline: none; }

.toggler-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green-deep);
  margin: 5px auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* CTA en navbar */
.btn-cta-nav {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  background: var(--green-deep);
  color: var(--sand);
  padding: 0.6rem 1.2rem;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--green-deep);
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.btn-cta-nav:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: #fff;
  transform: translateY(-1px);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 2rem) 0 4rem;
  overflow: hidden;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  background: url('../img/pileta-quinchos.jpg') center 30% / cover no-repeat;
  /* Sin background-attachment: fixed — pediste evitarlo */
  z-index: -2;
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(31, 53, 40, 0.55) 0%,
      rgba(31, 53, 40, 0.4) 40%,
      rgba(31, 53, 40, 0.75) 100%);
  z-index: -1;
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  pointer-events: none;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--cream);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sand);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 1.5rem;
  font-variation-settings: "opsz" 120;
}

.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--sand-warm);
  font-variation-settings: "opsz" 144;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 400;
  color: rgba(245, 237, 224, 0.92);
  max-width: 540px;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

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

/* Botones genéricos */
.btn-cta-primary {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  background: var(--terracotta);
  color: #fff;
  padding: 1rem 1.8rem;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid var(--terracotta);
  box-shadow: 0 8px 24px rgba(193, 100, 74, 0.3);
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.btn-cta-primary:hover {
  background: var(--terracotta-deep);
  border-color: var(--terracotta-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(193, 100, 74, 0.4);
}
.btn-cta-primary i { font-size: 1.15rem; }

.btn-cta-ghost {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  background: transparent;
  color: var(--cream);
  padding: 1rem 1.5rem;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
.btn-cta-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--cream);
  color: var(--cream);
}

.btn-cta-outline {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  background: transparent;
  color: var(--green-deep);
  padding: 0.9rem 1.6rem;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 1.5px solid var(--green-deep);
  transition: background-color 0.25s ease, color 0.25s ease;
}
.btn-cta-outline:hover {
  background: var(--green-deep);
  color: var(--sand);
}

/* Scroll cue */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  color: var(--sand);
  z-index: 2;
  opacity: 0.85;
  transition: opacity 0.25s ease;
}
.hero-scroll:hover { opacity: 1; color: var(--sand); }

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: var(--sand);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--terracotta);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0% { top: -50%; }
  100% { top: 100%; }
}

.hero-scroll-text {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

/* =========================================================
   SECTIONS — base
   ========================================================= */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.section-eyebrow.center { justify-content: center; display: flex; }

.eyebrow-dash {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--terracotta);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--green-forest);
  margin-bottom: 1.5rem;
  font-variation-settings: "opsz" 120;
}
.section-title em {
  font-style: italic;
  color: var(--terracotta);
  font-weight: 300;
  font-variation-settings: "opsz" 144;
}

.lead-text {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.body-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* =========================================================
   SECTION: EL LUGAR
   ========================================================= */
.section-intro {
  background: var(--cream);
}

.intro-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.intro-stat {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.intro-stat i {
  font-size: 1.5rem;
  color: var(--terracotta);
}

.intro-stat div {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.intro-stat strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--green-forest);
  font-weight: 500;
}

.intro-stat span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* =========================================================
   GALERÍA
   ========================================================= */
.section-gallery {
  background: var(--green-soft);
  position: relative;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 4 / 3;
  background: var(--green-deep);
  cursor: zoom-in;
}

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

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

.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  background: linear-gradient(180deg, transparent, rgba(31, 53, 40, 0.85));
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-cta {
  text-align: center;
  margin-top: 3rem;
}
.gallery-cta p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--green-forest);
  margin-bottom: 1.2rem;
}

/* =========================================================
   COMODIDADES
   ========================================================= */
.section-amenities {
  background: var(--cream);
}

.amenity-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2.2rem 1.8rem 2rem;
  height: 100%;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.amenity-card:hover {
  transform: translateY(-4px);
  border-color: var(--terracotta);
  box-shadow: 0 12px 30px rgba(45, 74, 58, 0.08);
}

.amenity-num {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 1.5rem;
  color: var(--sand-warm);
  line-height: 1;
}

.amenity-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  background: var(--green-soft);
  color: var(--green-deep);
  border-radius: 14px;
  font-size: 1.5rem;
  margin-bottom: 1.3rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.amenity-card:hover .amenity-icon {
  background: var(--terracotta);
  color: #fff;
}

.amenity-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--green-forest);
  margin-bottom: 0.7rem;
  letter-spacing: -0.01em;
}

.amenity-card p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}

.amenities-cta {
  text-align: center;
  margin-top: 3rem;
}

/* =========================================================
   UBICACIÓN
   ========================================================= */
.section-location {
  background: var(--sand);
  position: relative;
}

.location-info {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.location-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1rem;
  color: var(--ink-soft);
  margin-bottom: 0.8rem;
}
.location-row i {
  color: var(--terracotta);
  font-size: 1.1rem;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.location-actions .btn-cta-ghost {
  color: var(--green-deep);
  border-color: var(--green-deep);
}
.location-actions .btn-cta-ghost:hover {
  background: var(--green-deep);
  color: var(--sand);
}

.map-frame {
  border-radius: 22px;
  overflow: hidden;
  height: 100%;
  min-height: 380px;
  box-shadow: 0 20px 50px rgba(45, 74, 58, 0.12);
  border: 1px solid var(--line);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
}

/* =========================================================
   CTA FINAL
   ========================================================= */
.section-final-cta {
  background: var(--green-forest);
  color: var(--cream);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.final-cta-grain {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  pointer-events: none;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n2'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n2)'/%3E%3C/svg%3E");
}

.section-final-cta::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(193, 100, 74, 0.2), transparent 70%);
  z-index: -1;
}

.final-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sand-warm);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.final-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 5.5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  font-variation-settings: "opsz" 144;
}
.final-title em {
  font-style: italic;
  color: var(--terracotta);
  font-weight: 300;
}

.final-subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: rgba(245, 237, 224, 0.85);
  margin-bottom: 2.5rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.btn-lg-final {
  padding: 1.2rem 2.4rem;
  font-size: 1.1rem;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: #1a2e22;
  color: rgba(245, 237, 224, 0.75);
  padding: 4rem 0 1.5rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
}
.footer-brand .brand-mark {
  background: var(--terracotta);
  color: #fff;
}
.footer-brand .brand-name {
  color: var(--sand);
}
.footer-brand .brand-sub {
  color: rgba(245, 237, 224, 0.5);
}

.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(245, 237, 224, 0.6);
  max-width: 320px;
  line-height: 1.5;
}

.footer-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--sand);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-list li { margin-bottom: 0.5rem; }
.footer-list a {
  font-size: 0.92rem;
  color: rgba(245, 237, 224, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s ease;
}
.footer-list a:hover { color: var(--terracotta); }

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(245, 237, 224, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(245, 237, 224, 0.4);
}

/* =========================================================
   WHATSAPP FLOTANTE
   ========================================================= */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1040;
  width: 60px;
  height: 60px;
  background: var(--wa);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: background-color 0.25s ease, transform 0.25s ease, width 0.3s ease, border-radius 0.3s ease;
  overflow: hidden;
}

.wa-float:hover {
  background: var(--wa-deep);
  color: #fff;
  transform: translateY(-3px);
}

.wa-float i { z-index: 1; }

.wa-float-text {
  display: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  margin-left: 0.5rem;
}

.wa-float-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--wa);
  animation: waPulse 2s ease-out infinite;
  z-index: 0;
}

@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* En desktop, el botón se expande mostrando texto */
@media (min-width: 992px) {
  .wa-float {
    width: auto;
    padding: 0 1.4rem;
    border-radius: 100px;
    height: 60px;
    gap: 0;
  }
  .wa-float-text {
    display: inline-block;
  }
  .wa-float-pulse {
    border-radius: 100px;
  }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* Tablet+ */
@media (min-width: 768px) {
  .section { padding: 6.5rem 0; }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1.2rem;
  }

  .gallery-item--lg {
    grid-column: 1 / -1;
    aspect-ratio: 21 / 9;
  }
}

/* Desktop+ */
@media (min-width: 992px) {
  .section { padding: 8rem 0; }
  .section-final-cta { padding: 7rem 0; }

  .gallery-grid {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1.2rem;
    height: 560px;
  }

  .gallery-item {
    aspect-ratio: auto;
    height: 100%;
  }

  .gallery-item--lg {
    grid-column: 1;
    grid-row: 1 / 3;
  }
}

/* Móvil — ajustes finos */
@media (max-width: 575px) {
  .hero { padding: calc(var(--nav-h) + 1.5rem) 0 5rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-cta-primary,
  .hero-actions .btn-cta-ghost {
    justify-content: center;
    width: 100%;
  }
  .intro-stats { gap: 1.2rem; }
  .navbar-brand { gap: 0.5rem; }
  .brand-name { font-size: 1.1rem; }
  .brand-mark { width: 38px; height: 38px; font-size: 1rem; }
  .wa-float {
    width: 56px;
    height: 56px;
    bottom: 1.2rem;
    right: 1.2rem;
  }
  .location-actions { flex-direction: column; }
  .location-actions .btn-cta-outline,
  .location-actions .btn-cta-ghost { justify-content: center; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* =========================================================
   FALLBACK AOS — si AOS no carga (CDN caído, conexión lenta),
   los elementos con [data-aos] quedan visibles igual.
   La clase `aos-init` la agrega AOS cuando se inicializa correctamente,
   así que si no aparece, forzamos visibilidad después de un tiempo.
   ========================================================= */
.no-aos [data-aos] {
  opacity: 1 !important;
  transform: none !important;
}

/* Reducir movimiento si el usuario lo prefiere */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* =========================================================
   NUESTRAS CABAÑAS (Zorzal, Hornero, Calandria)
   ========================================================= */
.section-cabanas {
  background: var(--cream);
  position: relative;
}

.cabana-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 4rem;
  align-items: center;
}

.cabana-row:first-of-type { margin-top: 3rem; }

.cabana-media {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--green-soft);
  box-shadow: 0 20px 50px rgba(45, 74, 58, 0.08);
}

.cabana-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.cabana-row:hover .cabana-media img {
  transform: scale(1.03);
}

.cabana-badge {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 2.2rem;
  color: #fff;
  background: var(--terracotta);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(193, 100, 74, 0.35);
}

.cabana-body {
  padding: 0 0.25rem;
}

.cabana-type {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.cabana-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--green-forest);
  margin-bottom: 1rem;
  font-variation-settings: "opsz" 144;
}

.cabana-tagline {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.45;
  color: var(--ink-soft);
  margin-bottom: 1.8rem;
  max-width: 520px;
}

.cabana-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1.5rem;
  margin: 0 0 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cabana-specs > div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.cabana-specs dt {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.cabana-specs dd {
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--green-forest);
  font-weight: 600;
  margin: 0;
}

.cabanas-cta {
  text-align: center;
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px dashed var(--line);
}

.cabanas-cta-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--green-forest);
  margin-bottom: 1.3rem;
}

/* Tablet/Desktop: layout alternado (imagen-info / info-imagen) */
@media (min-width: 768px) {
  .cabana-row {
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    margin-top: 6rem;
  }

  .cabana-row-reverse {
    grid-template-columns: 1fr 1.1fr;
  }

  .cabana-row-reverse .cabana-media {
    order: 2;
  }

  .cabana-row-reverse .cabana-body {
    order: 1;
  }
}

@media (min-width: 992px) {
  .cabana-row { gap: 4.5rem; margin-top: 7rem; }
  .cabana-media { aspect-ratio: 5 / 4; }
}

/* =========================================================
   ANTES DE VENIR (info-block)
   ========================================================= */
.section-info {
  background: var(--green-soft);
}

.info-block {
  background: #fff;
  border-radius: 18px;
  padding: 2.2rem 1.8rem;
  height: 100%;
  border: 1px solid var(--line);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(45, 74, 58, 0.08);
}

.info-block-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  background: var(--terracotta);
  color: #fff;
  border-radius: 14px;
  font-size: 1.6rem;
  margin-bottom: 1.3rem;
}

.info-block h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--green-forest);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.info-highlight {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 0.9rem;
  line-height: 1.6;
}

.info-highlight strong {
  color: var(--green-forest);
  font-weight: 700;
}

.info-note {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* =========================================================
   FOOTER — address
   ========================================================= */
.footer-address {
  font-size: 0.88rem;
  color: rgba(245, 237, 224, 0.6);
  line-height: 1.6;
  margin-top: 1rem;
}
.footer-address i {
  color: var(--terracotta);
  margin-right: 0.3rem;
}

/* =========================================================
   CABAÑA — galería con lightbox (botón "Ver fotos")
   ========================================================= */

/* Link que envuelve la imagen principal */
.cabana-media-link {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}

.cabana-media-link img {
  /* Si la img está dentro de un <a>, mantener el comportamiento del hover-row */
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Links ocultos para fotos adicionales del lightbox (carrusel) */
.cabana-extra-photo {
  display: none;
}

/* Badge "Ver las X fotos" */
.cabana-photos-badge {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--green-forest);
  padding: 0.6rem 1.05rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
  z-index: 2;
}

.cabana-photos-badge i {
  font-size: 1rem;
  line-height: 1;
}

/* Hover sobre la imagen → la badge se anima */
.cabana-media-link:hover .cabana-photos-badge {
  background: var(--terracotta);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}

/* Móvil: badge un toque más chica */
@media (max-width: 575px) {
  .cabana-photos-badge {
    bottom: 0.75rem;
    right: 0.75rem;
    padding: 0.5rem 0.85rem;
    font-size: 0.78rem;
  }
}

/* =========================================================
   GLightbox — ocultar barra de descripción/título
   ========================================================= */
.gslide-description,
.gdesc-inner {
  display: none !important;
}
