/* ==========================================================================
   Casitas Maraika — main.css
   Design system: Jungle green dominant, sand/bone light sections,
   Fraunces display (light italic) + Inter body, editorial asymmetric grid
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
  /* Colors */
  --c-jungle:     #1a2e1f;
  --c-jungle-dk:  #0d1a10;
  --c-sand:       #e8dcc8;
  --c-bone:       #f5f0e8;
  --c-terracotta: #c96f4a;
  --c-gold:       #b89a6a;
  --c-white:      #ffffff;
  --c-ink:        #0d1a10;

  /* Typography */
  --f-display: 'Fraunces', Georgia, serif;
  --f-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  8rem;
  --space-2xl: 12rem;

  /* Transitions */
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-cinematic: cubic-bezier(0.25, 0.1, 0.25, 1);

  /* Pricing — single variable to swap */
  --price-from: "desde MXN $2,929 / noche";
  --price-from-en: "from MXN $2,929 / night";
}

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

html {
  scroll-behavior: auto; /* Lenis handles smooth scroll */
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--f-body);
  font-size: 1.0625rem; /* 17px */
  line-height: 1.7;
  letter-spacing: 0.01em;
  color: var(--c-bone);
  background-color: var(--c-jungle-dk);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul, ol {
  list-style: none;
}

/* --------------------------------------------------------------------------
   2. Typography Scale
   -------------------------------------------------------------------------- */

.t-display {
  font-family: var(--f-display);
  font-size: clamp(3.5rem, 9vw, 8.75rem);
  font-weight: 300;
  font-style: italic;
  font-optical-sizing: auto;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.t-h2 {
  font-family: var(--f-display);
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  font-weight: 300;
  font-optical-sizing: auto;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.t-h3 {
  font-family: var(--f-display);
  font-size: clamp(1.375rem, 3vw, 2rem);
  font-weight: 400;
  font-optical-sizing: auto;
  line-height: 1.2;
}

.t-eyebrow {
  font-family: var(--f-body);
  font-size: 0.6875rem; /* 11px */
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.4;
}

.t-body {
  font-size: 1.0625rem;
  line-height: 1.7;
}

.t-caption {
  font-size: 0.8125rem; /* 13px */
  line-height: 1.5;
  letter-spacing: 0.03em;
}

/* --------------------------------------------------------------------------
   3. Layout — Asymmetric 7-col grid + left-rail labels
   -------------------------------------------------------------------------- */

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding-inline: clamp(1.5rem, 5vw, 6rem);
}

/* Left-rail section labels (floated into column 1) */
.section-label {
  display: block;
  writing-mode: horizontal-tb;
  color: var(--c-gold);
  margin-bottom: var(--space-md);
}

@media (min-width: 1024px) {
  .section-label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    position: absolute;
    left: clamp(1.5rem, 3vw, 4rem);
    top: var(--space-lg);
    margin-bottom: 0;
  }

  .section-has-rail {
    position: relative;
  }
}

/* --------------------------------------------------------------------------
   4. Navigation
   -------------------------------------------------------------------------- */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem clamp(1.5rem, 5vw, 6rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.5s var(--ease-out), backdrop-filter 0.5s;
}

.site-nav.scrolled {
  background: rgba(13, 26, 16, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 1;
}

.nav-logo img {
  width: 36px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.nav-logo-text {
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--c-bone);
}

.nav-links {
  display: none;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-bone);
  opacity: 0.75;
  transition: opacity 0.25s;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.lang-toggle {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-gold);
  border: 1px solid rgba(184, 154, 106, 0.4);
  padding: 0.35rem 0.75rem;
  border-radius: 2px;
  transition: all 0.25s;
  cursor: pointer;
}

.lang-toggle:hover {
  border-color: var(--c-gold);
  background: rgba(184, 154, 106, 0.1);
}

.nav-cta {
  display: none;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-bone);
  background: var(--c-terracotta);
  padding: 0.6rem 1.4rem;
  border-radius: 2px;
  transition: background 0.25s, transform 0.2s;
}

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

@media (min-width: 640px) {
  .nav-cta {
    display: block;
  }
}

/* Mobile menu toggle */
.nav-burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}

@media (min-width: 768px) {
  .nav-burger {
    display: none;
  }
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--c-bone);
  transition: all 0.3s;
}

/* --------------------------------------------------------------------------
   5. Hero Section
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 600px;
  overflow: hidden;
  background-color: var(--c-jungle-dk);
}

.hero-media {
  position: absolute;
  inset: 0;
  will-change: transform;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.08);
  /* Ken Burns via GSAP */
}

/* Subtle gradient overlay — thin, doesn't kill the photo */
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13, 26, 16, 0.15) 0%,
    rgba(13, 26, 16, 0.0) 30%,
    rgba(13, 26, 16, 0.0) 50%,
    rgba(13, 26, 16, 0.55) 80%,
    rgba(13, 26, 16, 0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-lg) clamp(1.5rem, 5vw, 6rem);
  padding-bottom: clamp(3rem, 8vh, 6rem);
}

.hero-badge {
  color: var(--c-gold);
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-badge::before {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: var(--c-gold);
}

.hero-title {
  font-family: var(--f-display);
  font-size: clamp(3.5rem, 9vw, 8.75rem);
  font-weight: 300;
  font-style: italic;
  font-optical-sizing: auto;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--c-bone);
  max-width: 14ch;
  margin-bottom: 1.5rem;
  /* Soft text shadow only — no dark scrim */
  text-shadow: 0 2px 40px rgba(13, 26, 16, 0.4);
}

.hero-sub {
  font-family: var(--f-display);
  font-size: clamp(1.125rem, 2.5vw, 1.75rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(245, 240, 232, 0.85);
  margin-bottom: 2.5rem;
  max-width: 36ch;
}

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

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--f-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
}

.btn-primary {
  background: var(--c-terracotta);
  color: var(--c-bone);
}

.btn-primary:hover {
  background: #d87a55;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201, 111, 74, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--c-bone);
  border: 1px solid rgba(245, 240, 232, 0.35);
}

.btn-ghost:hover {
  border-color: var(--c-bone);
  background: rgba(245, 240, 232, 0.08);
  transform: translateY(-2px);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--c-jungle);
  border: 1px solid rgba(26, 46, 31, 0.4);
}

.btn-ghost-dark:hover {
  border-color: var(--c-jungle);
  background: rgba(26, 46, 31, 0.06);
  transform: translateY(-2px);
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  right: clamp(1.5rem, 5vw, 6rem);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(245, 240, 232, 0.5);
}

.hero-scroll-line {
  width: 1px;
  height: 3rem;
  background: linear-gradient(to bottom, transparent, rgba(245, 240, 232, 0.4));
  animation: scrollPulse 2s ease-in-out infinite;
}

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

/* --------------------------------------------------------------------------
   7. Manifesto / Arrival Section
   -------------------------------------------------------------------------- */

.section-manifesto {
  background: var(--c-sand);
  color: var(--c-jungle);
  padding: var(--space-2xl) clamp(1.5rem, 5vw, 6rem);
  position: relative;
  overflow: hidden;
}

.manifesto-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: start;
}

@media (min-width: 1024px) {
  .manifesto-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
}

.manifesto-text {
  padding-left: 0;
}

@media (min-width: 1024px) {
  .manifesto-text {
    padding-left: 5rem;
  }
}

.manifesto-eyebrow {
  color: var(--c-terracotta);
  margin-bottom: 2rem;
}

.manifesto-headline {
  color: var(--c-jungle);
  margin-bottom: 2rem;
}

.manifesto-body {
  color: rgba(26, 46, 31, 0.75);
  max-width: 46ch;
  margin-bottom: var(--space-lg);
}

/* Journey Timeline — the signature element */
.journey-timeline {
  position: relative;
  margin-top: var(--space-lg);
}

.journey-track {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.journey-track::before {
  content: '';
  position: absolute;
  left: 0.75rem;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 1px;
  background: var(--c-gold);
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 1.2s var(--ease-out);
}

.journey-track.animated::before {
  transform: scaleY(1);
}

.journey-stop {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem 0;
  position: relative;
}

.journey-dot {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  border: 1.5px solid var(--c-gold);
  background: var(--c-sand);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: background 0.4s, border-color 0.4s;
}

.journey-stop.active .journey-dot {
  background: var(--c-gold);
}

.journey-dot-inner {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-jungle);
  opacity: 0;
  transition: opacity 0.4s;
}

.journey-stop.active .journey-dot-inner {
  opacity: 1;
}

.journey-label {
  flex: 1;
}

.journey-place {
  display: block;
  font-family: var(--f-display);
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--c-jungle);
  margin-bottom: 0.2rem;
}

.journey-desc {
  color: rgba(26, 46, 31, 0.6);
  font-size: 0.875rem;
}

.journey-time {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-top: 0.25rem;
  display: block;
}

.manifesto-image {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.manifesto-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 500px;
  transform: scale(1.05);
  transition: transform 8s ease;
}

/* --------------------------------------------------------------------------
   8. Casitas Section
   -------------------------------------------------------------------------- */

.section-casitas {
  background: var(--c-jungle);
  padding: var(--space-2xl) clamp(1.5rem, 5vw, 6rem);
  position: relative;
}

.casitas-header {
  max-width: 1440px;
  margin: 0 auto var(--space-xl);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-md);
}

.casitas-header-left {}

.casitas-eyebrow {
  color: var(--c-gold);
  margin-bottom: 1rem;
}

.casitas-headline {
  color: var(--c-bone);
}

.casitas-price-note {
  color: rgba(245, 240, 232, 0.5);
  font-size: 0.875rem;
  max-width: 26ch;
  text-align: right;
  line-height: 1.5;
}

/* Grid: editorial irregular stagger */
.casitas-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .casitas-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .casitas-grid {
    grid-template-columns: repeat(12, 1fr);
  }

  .casita-card:nth-child(1) { grid-column: 1 / 6; }
  .casita-card:nth-child(2) { grid-column: 6 / 10; }
  .casita-card:nth-child(3) { grid-column: 10 / 13; }
  .casita-card:nth-child(4) { grid-column: 1 / 5; }
  .casita-card:nth-child(5) { grid-column: 5 / 9; }
  .casita-card:nth-child(6) { grid-column: 9 / 13; }
}

.casita-card {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: var(--c-jungle-dk);
  cursor: pointer;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
  min-height: 380px;
}

@media (min-width: 1024px) {
  .casita-card:nth-child(1) { min-height: 520px; }
  .casita-card:nth-child(2) { min-height: 420px; }
  .casita-card:nth-child(3) { min-height: 420px; }
  .casita-card:nth-child(4) { min-height: 440px; }
  .casita-card:nth-child(5) { min-height: 440px; }
  .casita-card:nth-child(6) { min-height: 440px; }
}

.casita-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

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

.casita-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
  transform: scale(1);
}

.casita-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(13, 26, 16, 0.92) 0%,
    rgba(13, 26, 16, 0.5) 40%,
    rgba(13, 26, 16, 0.1) 70%,
    transparent 100%
  );
}

.casita-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.casita-name {
  font-family: var(--f-display);
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 300;
  font-style: italic;
  color: var(--c-bone);
  line-height: 1;
}

.casita-capacity {
  color: var(--c-gold);
  font-size: 0.6875rem;
  margin-bottom: 0.25rem;
}

.casita-desc {
  color: rgba(245, 240, 232, 0.72);
  font-size: 0.875rem;
  line-height: 1.5;
  max-width: 28ch;
}

.casita-cta {
  margin-top: 0.75rem;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.35s var(--ease-out);
}

.casita-card:hover .casita-cta {
  opacity: 1;
  transform: translateY(0);
}

/* Touch devices have no hover — CTA must always be visible */
@media (hover: none) {
  .casita-cta {
    opacity: 1;
    transform: none;
  }
}

/* If GSAP fails to load, never leave content hidden */
.no-gsap .reveal,
.no-gsap .reveal-left,
.no-gsap .reveal-right,
.no-gsap .reveal-scale {
  opacity: 1;
  transform: none;
}

.casita-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-terracotta);
  border-bottom: 1px solid var(--c-terracotta);
  padding-bottom: 2px;
}

/* --------------------------------------------------------------------------
   9. Included / Amenities Strip
   -------------------------------------------------------------------------- */

.section-included {
  background: var(--c-bone);
  padding: var(--space-xl) clamp(1.5rem, 5vw, 6rem);
}

.included-inner {
  max-width: 1440px;
  margin: 0 auto;
}

.included-eyebrow {
  color: var(--c-terracotta);
  margin-bottom: 1rem;
}

.included-headline {
  color: var(--c-jungle);
  margin-bottom: var(--space-xl);
  max-width: 20ch;
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

@media (min-width: 640px) {
  .included-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .included-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.included-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.included-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--c-jungle);
  flex-shrink: 0;
}

.included-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--c-jungle);
  fill: none;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.included-label {
  font-family: var(--f-display);
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--c-jungle);
  line-height: 1.3;
}

.included-sub {
  color: rgba(26, 46, 31, 0.6);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   10. Experiences Section
   -------------------------------------------------------------------------- */

.section-experiences {
  background: var(--c-jungle-dk);
  padding: var(--space-2xl) 0;
  overflow: hidden;
}

.experiences-header {
  max-width: 1440px;
  margin: 0 auto var(--space-xl);
  padding-inline: clamp(1.5rem, 5vw, 6rem);
}

.experiences-eyebrow {
  color: var(--c-gold);
  margin-bottom: 1rem;
}

.experiences-headline {
  color: var(--c-bone);
  max-width: 22ch;
}

/* Alternating editorial blocks */
.experience-block {
  max-width: 1440px;
  margin: 0 auto;
  padding: var(--space-lg) clamp(1.5rem, 5vw, 6rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 768px) {
  .experience-block {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

  .experience-block.reverse {
    direction: rtl;
  }

  .experience-block.reverse > * {
    direction: ltr;
  }
}

.experience-media {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 4/5;
}

.experience-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 0.1s linear; /* GSAP parallax takes over */
}

.experience-text {
  padding: var(--space-sm) 0;
}

.experience-eyebrow {
  color: var(--c-gold);
  margin-bottom: 1.25rem;
}

.experience-title {
  color: var(--c-bone);
  margin-bottom: 1.25rem;
}

.experience-body {
  color: rgba(245, 240, 232, 0.65);
  max-width: 42ch;
  line-height: 1.75;
  margin-bottom: var(--space-md);
}

.experience-note {
  font-size: 0.75rem;
  color: rgba(245, 240, 232, 0.35);
  font-style: italic;
  margin-top: -0.75rem;
  margin-bottom: var(--space-md);
}

/* --------------------------------------------------------------------------
   11. Map / How to Arrive
   -------------------------------------------------------------------------- */

.section-arrival {
  background: var(--c-sand);
  padding: var(--space-2xl) clamp(1.5rem, 5vw, 6rem);
  position: relative;
}

.arrival-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: start;
}

@media (min-width: 1024px) {
  .arrival-inner {
    grid-template-columns: 5fr 7fr;
    gap: var(--space-2xl);
  }
}

.arrival-text {}

.arrival-eyebrow {
  color: var(--c-terracotta);
  margin-bottom: 1rem;
}

.arrival-headline {
  color: var(--c-jungle);
  margin-bottom: var(--space-md);
}

.arrival-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: var(--space-md);
}

.arrival-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.arrival-step-num {
  font-family: var(--f-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--c-gold);
  line-height: 1;
  flex-shrink: 0;
  width: 3rem;
}

.arrival-step-text h4 {
  font-family: var(--f-display);
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--c-jungle);
  margin-bottom: 0.25rem;
}

.arrival-step-text p {
  color: rgba(26, 46, 31, 0.65);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.arrival-map {
  border-radius: 2px;
  overflow: hidden;
  background: rgba(26, 46, 31, 0.1);
  min-height: 400px;
}

.arrival-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
  display: block;
}

/* --------------------------------------------------------------------------
   12. CTA Final Section
   -------------------------------------------------------------------------- */

.section-cta-final {
  background: var(--c-jungle);
  padding: var(--space-2xl) clamp(1.5rem, 5vw, 6rem);
  position: relative;
  overflow: hidden;
}

.cta-final-bg {
  position: absolute;
  inset: 0;
}

.cta-final-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
}

.cta-final-inner {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.cta-final-eyebrow {
  color: var(--c-gold);
}

.cta-final-headline {
  color: var(--c-bone);
  max-width: 20ch;
}

.cta-final-sub {
  color: rgba(245, 240, 232, 0.6);
  max-width: 44ch;
  line-height: 1.7;
}

.cta-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: var(--space-sm);
}

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--c-jungle-dk);
  border-top: 1px solid rgba(184, 154, 106, 0.15);
  padding: var(--space-xl) clamp(1.5rem, 5vw, 6rem) var(--space-lg);
}

.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.footer-logo img {
  width: 32px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

.footer-logo-text {
  font-family: var(--f-display);
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--c-bone);
  opacity: 0.8;
}

.footer-tagline {
  color: rgba(245, 240, 232, 0.45);
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: 28ch;
  margin-bottom: 1.5rem;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-contact-list a,
.footer-contact-list span {
  color: rgba(245, 240, 232, 0.55);
  font-size: 0.875rem;
  transition: color 0.25s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact-list a:hover {
  color: var(--c-sand);
}

.footer-col-title {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 1.25rem;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav-list a {
  color: rgba(245, 240, 232, 0.5);
  font-size: 0.9375rem;
  transition: color 0.25s;
}

.footer-nav-list a:hover {
  color: var(--c-bone);
}

.footer-bottom {
  max-width: 1440px;
  margin: var(--space-lg) auto 0;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(245, 240, 232, 0.07);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.footer-legal {
  color: rgba(245, 240, 232, 0.28);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.footer-ig {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(245, 240, 232, 0.4);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  transition: color 0.25s;
}

.footer-ig:hover {
  color: var(--c-bone);
}

/* --------------------------------------------------------------------------
   14. Scroll Reveal Utility Classes
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(2rem);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-2rem);
}

.reveal-right {
  opacity: 0;
  transform: translateX(2rem);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.96);
}

/* --------------------------------------------------------------------------
   15. Prefers Reduced Motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-media img {
    transform: scale(1) !important;
  }

  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
   16. Focus States (Accessibility)
   -------------------------------------------------------------------------- */

:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   17. Testimonials placeholder (hidden, pending real reviews)
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   18. Utility
   -------------------------------------------------------------------------- */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-gold { color: var(--c-gold); }
.text-terracotta { color: var(--c-terracotta); }
.text-bone { color: var(--c-bone); }
.text-jungle { color: var(--c-jungle); }

/* Horizontal rule decorative */
.hr-gold {
  border: none;
  border-top: 1px solid rgba(184, 154, 106, 0.25);
  margin: var(--space-lg) 0;
}

/* --------------------------------------------------------------------------
   19. Casitas Price Badge
   -------------------------------------------------------------------------- */

.price-badge {
  display: inline-block;
  background: rgba(201, 111, 74, 0.15);
  border: 1px solid rgba(201, 111, 74, 0.3);
  color: var(--c-terracotta);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 2px;
  margin-top: 0.5rem;
  display: block;
}

/* --------------------------------------------------------------------------
   20. WhatsApp icon button
   -------------------------------------------------------------------------- */

.wa-icon {
  width: 1.1em;
  height: 1.1em;
  vertical-align: -0.15em;
}

/* --------------------------------------------------------------------------
   21. Mobile menu overlay
   -------------------------------------------------------------------------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--c-jungle-dk);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 8vw, 5rem);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}

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

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mobile-menu a {
  font-family: var(--f-display);
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--c-bone);
  transition: color 0.25s;
}

.mobile-menu a:hover {
  color: var(--c-gold);
}

.mobile-close {
  position: absolute;
  top: 1.5rem;
  right: clamp(1.5rem, 5vw, 6rem);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.5);
  cursor: pointer;
  transition: color 0.25s;
}

.mobile-close:hover {
  color: var(--c-bone);
}

/* --------------------------------------------------------------------------
   22. Section separators
   -------------------------------------------------------------------------- */

.sep-wave {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.sep-wave svg {
  display: block;
  width: 100%;
}
