/* =============================================================
   ENTRE PALMERAS — styles.css
   Editorial cream archetype, adapted to a palm / ocean palette.
   Single file, sectioned. Mobile-first. No preprocessor.
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  /* Palette */
  --sand:        #f3ead9;
  --sand-2:      #ece0c8;
  --cream:       #fffbf4;
  --paper:       #ffffff;
  --ink:         #1c231f;
  --ink-soft:    #33413a;
  --ink-mute:    #6b7368;
  --green-palm:  #6f8f5c;
  --green-deep:  #223c2d;
  --green-deep-2:#16281e;
  --ocean:       #1d4152;
  --ocean-deep:  #12303e;
  --wood:        #8a6a45;
  --wood-dark:   #5c4530;
  --line:        rgba(28, 35, 31, 0.13);
  --line-soft:   rgba(28, 35, 31, 0.07);
  --gold-soft:   #c7a765;

  /* Semantic */
  --bg:          var(--sand);
  --bg-alt:      var(--cream);
  --text:        var(--ink);
  --text-mute:   var(--ink-mute);
  --accent:      var(--green-deep);
  --accent-2:    var(--ocean);

  /* Type */
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Easing */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --container: 1240px;
  --nav-h: 78px;

  color-scheme: light;
}

@property --mesh-x { syntax: "<percentage>"; inherits: false; initial-value: 30%; }
@property --mesh-y { syntax: "<percentage>"; inherits: false; initial-value: 40%; }

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; letter-spacing: -0.01em; font-family: var(--serif); font-weight: 500; }
::selection { background: var(--green-deep); color: var(--cream); }

:focus-visible {
  outline: 2px solid var(--ocean);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .7rem 1.1rem; background: var(--ink); color: var(--cream);
  border-radius: 8px; font-weight: 500; transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.4rem; }
@media (min-width: 720px) { .container { padding-inline: 2.2rem; } }
@media (min-width: 1280px) { .container { padding-inline: 3rem; } }

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

.kicker {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--sans); font-size: .74rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2);
}
.kicker::before {
  content: ""; width: 22px; height: 1px; background: currentColor; opacity: .6;
}

.section-head { max-width: 640px; margin-bottom: 2.6rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-top: .7rem; }
.section-head p { margin-top: 1rem; color: var(--text-mute); font-size: 1.05rem; max-width: 52ch; }
.section-head.center p { margin-inline: auto; }

.eyebrow-italic { font-style: italic; color: var(--green-palm); }

section { position: relative; }
.section-pad { padding-block: clamp(4rem, 9vw, 7.5rem); }

.divider-wave { height: 1px; background: var(--line); }

/* =============================================================
   4. Typography
   ============================================================= */
.display-italic { font-style: italic; }
.eyebrow-serif { font-family: var(--serif); font-style: italic; }

/* =============================================================
   5. Components
   ============================================================= */

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1rem 1.9rem; border-radius: 999px;
  font-size: .84rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(23, 30, 26, 0.08), 0 1px 3px rgba(23, 30, 26, 0.06);
  transition: transform .5s var(--ease-soft), box-shadow .5s var(--ease-soft), background-color .3s, color .3s;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); transition-duration: .12s; }

.btn-primary { background: var(--green-deep); color: var(--cream); }
.btn-primary:hover { box-shadow: 0 22px 46px rgba(22,40,30,.32), 0 8px 18px rgba(22,40,30,.2); }

.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid rgba(28,35,31,.28);
  box-shadow: none;
}
.btn-ghost:hover { border-color: var(--ink); box-shadow: 0 14px 30px rgba(23,30,26,.1); }

.btn-light { background: var(--cream); color: var(--ink); }
.btn-light:hover { box-shadow: 0 22px 46px rgba(0,0,0,.18); }

.btn-sm { padding: .78rem 1.4rem; font-size: .74rem; }

/* --- Cards general --- */
.card {
  background: var(--paper);
  border-radius: 22px;
  overflow: hidden;
  transition: transform .5s var(--ease-soft), box-shadow .5s var(--ease-soft);
}
.has-tilt { --rx: 0deg; --ry: 0deg; transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; }
.has-tilt:hover { transition-duration: .15s; }

/* =============================================================
   6. Navigation
   ============================================================= */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 500;
  padding-block: 1.3rem;
  transition: padding .4s var(--ease-out), background-color .4s var(--ease-out), backdrop-filter .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand {
  display: flex; align-items: center; gap: .55rem;
  font-family: var(--serif); font-style: italic; letter-spacing: .01em;
  font-size: clamp(1.02rem, 4vw, 1.28rem);
  white-space: nowrap;
  color: var(--cream);
  text-shadow: 0 2px 14px rgba(10,16,12,.4);
  transition: color .4s var(--ease-out), text-shadow .4s var(--ease-out);
}
.brand-mark { width: 32px; height: 32px; flex-shrink: 0; }
.brand-mark img { width: 100%; height: 100%; display: block; object-fit: contain; border-radius: 50%; }
.footer-brand .brand, .nav-mobile .brand { text-shadow: none; }

.nav-links { display: none; align-items: center; gap: 2rem; }
@media (min-width: 960px) { .nav-links { display: flex; } }
.nav-link {
  position: relative; padding-block: .3rem;
  font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--cream);
  text-shadow: 0 2px 10px rgba(10,16,12,.4);
  transition: color .4s var(--ease-out), text-shadow .4s var(--ease-out);
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav-link:hover { color: var(--cream); opacity: .8; }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-burger { color: var(--cream); }

.nav.is-scrolled .brand,
.nav.is-scrolled .nav-link,
.nav.is-scrolled .nav-burger {
  color: var(--ink-soft);
  text-shadow: none;
}
.nav.is-scrolled .brand { color: var(--ink); }
.nav.is-scrolled .nav-link:hover { color: var(--ink); opacity: 1; }

.nav-cta { display: none; }
@media (min-width: 960px) { .nav-cta { display: inline-flex; } }

.nav.is-scrolled {
  background: rgba(255, 251, 244, 0.9);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 1px 0 rgba(28,35,31,.08);
  padding-block: .85rem;
}

.nav-burger {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.5);
}
@media (min-width: 960px) { .nav-burger { display: none; } }
.nav-burger span {
  position: relative; width: 18px; height: 1.5px; background: currentColor;
  display: block;
}
.nav-burger span::before, .nav-burger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: currentColor;
  transition: transform .3s var(--ease-out), top .3s var(--ease-out);
}
.nav-burger span::before { top: -6px; }
.nav-burger span::after { top: 6px; }
.nav.is-menu-open .nav-burger span { background: transparent; }
.nav.is-menu-open .nav-burger span::before { top: 0; transform: rotate(45deg); }
.nav.is-menu-open .nav-burger span::after { top: 0; transform: rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: 0; z-index: 400;
  background: var(--green-deep-2); color: var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.6rem;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .65s var(--ease-soft);
}
.nav-mobile.is-open { clip-path: inset(0); }
.nav-mobile a { font-family: var(--serif); font-style: italic; font-size: 1.7rem; }
.nav-mobile .btn {
  margin-top: 1rem; font-family: var(--sans); font-style: normal;
  font-size: .78rem; white-space: nowrap;
}

/* =============================================================
   7. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: clip;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08);
  animation: heroAmbientZoom 26s ease-in-out infinite alternate;
}
@keyframes heroAmbientZoom {
  from { transform: scale(1.08) translate3d(0,0,0); }
  to   { transform: scale(1.16) translate3d(-1%,-1%,0); }
}
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(18,24,20,.35) 0%, rgba(18,24,20,.15) 32%, rgba(18,24,20,.1) 55%, rgba(15,22,18,.72) 100%);
}
.hero-content {
  position: relative; z-index: 1; width: 100%;
  padding-block: 7.5rem 3.6rem;
  color: var(--cream);
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,251,244,.86);
}
.hero-kicker::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.hero-title {
  margin-top: 1.1rem;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 9vw, 6.4rem);
  line-height: .96;
  color: var(--cream);
  text-shadow: 0 6px 40px rgba(0,0,0,.28);
}
.hero-title em { font-style: italic; color: var(--sand); }
.hero-tagline {
  margin-top: .9rem;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  color: rgba(255,251,244,.92);
}
.hero-sub {
  margin-top: 1.3rem; max-width: 46ch;
  font-size: 1.05rem; color: rgba(255,251,244,.86);
}
.hero-actions { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-scrolldown {
  position: absolute; bottom: 1.6rem; right: 1.6rem; z-index: 1;
  display: none; align-items: center; gap: .6rem;
  color: rgba(255,251,244,.75); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
}
@media (min-width: 720px) { .hero-scrolldown { display: flex; } }
.hero-scrolldown .line { width: 1px; height: 34px; background: currentColor; position: relative; overflow: hidden; }
.hero-scrolldown .line::after {
  content: ""; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: var(--cream); animation: scrollLine 2.4s var(--ease-soft) infinite;
}
@keyframes scrollLine { to { top: 100%; } }

/* =============================================================
   8. Marquee ticker
   ============================================================= */
.marquee-band { background: var(--green-deep); color: rgba(255,251,244,.82); overflow: hidden; padding-block: 1rem; position: relative; }
.marquee-track { display: inline-flex; gap: 2.6rem; white-space: nowrap; will-change: transform; }
.marquee-track span { font-family: var(--serif); font-style: italic; font-size: 1.05rem; letter-spacing: .02em; }
.marquee-track .dot { font-style: normal; color: var(--gold-soft); }

/* =============================================================
   9. Reveal / scroll effects
   ============================================================= */
.js [data-reveal] {
  opacity: 0; transform: translateY(38px);
  transition: opacity .9s var(--ease-soft), transform .9s var(--ease-soft);
}
.js [data-reveal].is-revealed, .js.reveal-all [data-reveal] { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .09s; }
[data-reveal][data-delay="2"] { transition-delay: .18s; }
[data-reveal][data-delay="3"] { transition-delay: .27s; }
[data-reveal][data-delay="4"] { transition-delay: .36s; }

/* =============================================================
   10. Historia section
   ============================================================= */
.historia { background: var(--bg-alt); }
.historia-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .historia-grid { grid-template-columns: .95fr 1.05fr; gap: 5rem; } }

.historia-figure {
  position: relative; border-radius: 26px; overflow: hidden;
  aspect-ratio: 4 / 5;
}
.historia-figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-soft); }
.historia-figure:hover img { transform: scale(1.06); }

.historia-copy .lede {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.4; color: var(--ink);
  margin-top: 1.2rem;
}
.historia-copy p.body-text { margin-top: 1.3rem; color: var(--ink-soft); font-size: 1.02rem; max-width: 58ch; }
.historia-marks { margin-top: 2.2rem; display: flex; gap: 2.4rem; flex-wrap: wrap; }
.historia-mark strong { display: block; font-family: var(--serif); font-size: 2.1rem; color: var(--green-deep); }
.historia-mark span { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-mute); }

/* =============================================================
   11. El Paraíso
   ============================================================= */
.paraiso { background: var(--bg); }
.paraiso-bento {
  display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 2.6rem;
}
@media (min-width: 640px) { .paraiso-bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .paraiso-bento {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 220px;
  }
  .paraiso-bento .p-card:nth-child(1) { grid-column: span 7; grid-row: span 2; }
  .paraiso-bento .p-card:nth-child(2) { grid-column: span 5; grid-row: span 2; }
  .paraiso-bento .p-card:nth-child(3) { grid-column: span 5; grid-row: span 1; }
  .paraiso-bento .p-card:nth-child(4) { grid-column: span 7; grid-row: span 1; }
}
.p-card { position: relative; border-radius: 20px; overflow: hidden; isolation: isolate; aspect-ratio: 4 / 3; }
.p-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-soft), filter .6s; }
.p-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,24,20,0) 40%, rgba(18,24,20,.55) 100%);
  opacity: 0; transition: opacity .5s;
}
.p-card:hover img { transform: scale(1.1); filter: saturate(1.14) brightness(1.03); }
.p-card:hover::after { opacity: 1; }
.p-card-label {
  position: absolute; left: 1.2rem; bottom: 1.1rem; z-index: 1;
  color: var(--cream); font-family: var(--serif); font-style: italic; font-size: 1.1rem;
  opacity: 0; transform: translateY(8px);
  transition: opacity .4s, transform .4s;
}
.p-card:hover .p-card-label { opacity: 1; transform: none; }

.paraiso-line {
  margin-top: 2.8rem; text-align: center;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem); color: var(--green-deep);
}

/* --- Disfruta el lugar a tu manera (reemplaza la antigua carta de comidas) --- */
.lugar-note {
  margin-top: 4rem; padding-top: 3.6rem; border-top: 1px solid var(--line);
  display: grid; gap: 2.2rem; align-items: center;
}
@media (min-width: 860px) { .lugar-note { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.lugar-note-figure { border-radius: 22px; overflow: hidden; aspect-ratio: 4/3; }
.lugar-note-figure img { width: 100%; height: 100%; object-fit: cover; }
.lugar-note h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.lugar-note p { margin-top: 1rem; color: var(--ink-soft); max-width: 46ch; }

/* =============================================================
   11.5 Accesos: Hospedaje / Eventos
   ============================================================= */
.intro-lede { max-width: 720px; margin: 0 auto 3.2rem; text-align: center; }
.intro-lede h2 { font-size: clamp(2rem, 4.4vw, 3rem); }
.intro-lede p { margin-top: 1.2rem; color: var(--ink-soft); font-size: 1.05rem; }

.access-grid { display: grid; gap: 1.4rem; }
@media (min-width: 780px) { .access-grid { grid-template-columns: 1fr 1fr; } }
.access-card {
  position: relative; border-radius: 26px; overflow: hidden; isolation: isolate;
  min-height: 380px; display: flex; align-items: flex-end;
  transition: transform .5s var(--ease-soft);
}
.access-card:hover { transform: translateY(-6px); }
.access-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transition: transform 1s var(--ease-soft);
}
.access-card:hover img { transform: scale(1.06); }
.access-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(18,24,20,.05) 30%, rgba(13,19,16,.86) 100%);
}
.access-card-copy { padding: 2.2rem; color: var(--cream); }
@media (min-width: 720px) { .access-card-copy { padding: 2.8rem; } }
.access-card-copy .kicker { color: var(--gold-soft); }
.access-card-copy h3 { margin-top: .6rem; font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--cream); }
.access-card-copy p { margin-top: .7rem; color: rgba(255,251,244,.86); max-width: 36ch; }
.access-card-copy .btn { margin-top: 1.4rem; }

/* =============================================================
   12. Habitaciones
   ============================================================= */
.rooms { background: var(--bg-alt); }
.room-list { display: grid; gap: 2.4rem; margin-top: 2.6rem; }
.room-card {
  display: grid; gap: 0; background: var(--paper); border-radius: 26px; overflow: hidden;
  box-shadow: 0 30px 70px -40px rgba(20,28,24,.28);
}
@media (min-width: 860px) { .room-card { grid-template-columns: 1.1fr 1fr; } }
.room-card:nth-child(even) .room-media { order: 2; }
@media (min-width: 860px) {
  .room-card:nth-child(even) { grid-template-columns: 1fr 1.1fr; }
  .room-card:nth-child(even) .room-media { order: 2; }
  .room-card:nth-child(even) .room-copy { order: 1; }
}
.room-media { position: relative; min-height: 260px; overflow: hidden; }
@media (min-width: 860px) { .room-media { min-height: 100%; } }
.room-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: opacity .8s var(--ease-soft), transform 1s var(--ease-soft);
}
.room-media img.img-2 { opacity: 0; }
.room-card:hover .room-media img.img-1 { opacity: 0; }
.room-card:hover .room-media img.img-2 { opacity: 1; transform: scale(1.05); }
.room-media-tag {
  position: absolute; top: 1.1rem; left: 1.1rem; z-index: 2;
  background: rgba(255,251,244,.9); color: var(--ink);
  padding: .45rem .9rem; border-radius: 999px;
  font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700;
}
.room-copy { padding: 2.4rem; display: flex; flex-direction: column; }
@media (min-width: 720px) { .room-copy { padding: 3.2rem; } }
.room-copy .kicker { margin-bottom: .3rem; }
.room-copy h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.room-copy .room-tagline { margin-top: .3rem; color: var(--green-palm); font-style: italic; font-family: var(--serif); }
.room-copy p.room-desc { margin-top: 1.2rem; color: var(--ink-soft); }
.room-amenities { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .6rem; }
.room-amenities li { display: flex; align-items: flex-start; gap: .6rem; font-size: .92rem; color: var(--ink-soft); }
.room-amenities li::before { content: "—"; color: var(--green-palm); flex-shrink: 0; }
.room-copy .btn { margin-top: 1.8rem; align-self: flex-start; }

.room-common { margin-top: 2.4rem; text-align: center; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--green-palm); }
.room-types { display: grid; gap: 1.6rem; margin-top: 1.8rem; }
@media (min-width: 720px) { .room-types { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }
.room-type {
  background: var(--paper); border-radius: 26px; overflow: hidden;
  box-shadow: 0 30px 70px -40px rgba(20,28,24,.28);
  display: flex; flex-direction: column;
}
.room-type .room-media { aspect-ratio: 4/3; min-height: 0; }
.room-type .room-media img { transition: transform 1s var(--ease-soft); }
.room-type:hover .room-media img { transform: scale(1.04); }
.room-type-copy { padding: 1.4rem 1.6rem 1.7rem; }
.room-type-copy p { color: var(--ink-soft); font-size: .98rem; }
.room-type-copy .room-extra { margin-top: .5rem; font-size: .88rem; color: var(--ink-mute); }

.stay-emphasis {
  margin-top: 2.6rem; text-align: center;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.3rem, 2.8vw, 2rem); color: var(--green-deep);
}

/* =============================================================
   13. Eventos
   ============================================================= */
.events { background: var(--green-deep-2); color: var(--cream); position: relative; overflow: clip; isolation: isolate; }
.events::before {
  content: ""; position: absolute; inset: -20% -10% -30% -10%; z-index: -1;
  background: radial-gradient(45% 40% at var(--mesh-x) var(--mesh-y), rgba(111,143,92,.35), transparent 65%);
  filter: blur(90px);
  animation: foodMesh 24s ease-in-out infinite alternate;
}
@keyframes foodMesh {
  from { --mesh-x: 20%; --mesh-y: 30%; }
  to   { --mesh-x: 75%; --mesh-y: 65%; }
}
.events .section-head p { color: rgba(255,251,244,.72); }
.events .kicker { color: var(--gold-soft); }

.event-hero { display: grid; gap: 2.6rem; align-items: center; margin-bottom: 3rem; }
@media (min-width: 900px) { .event-hero { grid-template-columns: 1fr 1fr; } }
.event-hero-figure { border-radius: 24px; overflow: hidden; aspect-ratio: 4/3; }
.event-hero-figure img { width: 100%; height: 100%; object-fit: cover; }
.event-hero-copy .lede { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.4; }
.event-hero-copy p.body-text { margin-top: 1.1rem; color: rgba(255,251,244,.78); max-width: 52ch; }

.event-tags { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: .55rem; }
.event-tags span {
  font-size: .78rem; padding: .45rem .9rem; border-radius: 999px;
  background: rgba(255,251,244,.08); border: 1px solid rgba(255,251,244,.2); color: rgba(255,251,244,.86);
}

.event-statement {
  text-align: center; max-width: 46ch; margin: 3.4rem auto; font-family: var(--serif); font-style: italic;
  font-size: clamp(1.2rem, 2.6vw, 1.7rem); color: rgba(255,251,244,.92); line-height: 1.5;
}

/* --- Video showcase (reel) --- */
.video-feature {
  position: relative; border-radius: 26px; overflow: hidden; margin-bottom: 3.6rem;
  aspect-ratio: 16/9; background: var(--green-deep-2);
}
.video-feature video, .video-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-feature video { opacity: 0; transition: opacity .8s var(--ease-soft); }
.video-feature.is-loaded video { opacity: 1; }
.video-feature.is-loaded .video-poster { opacity: 0; }
.video-feature.is-ended { background: #000; }
.video-feature.is-ended video, .video-feature.is-ended .video-poster { opacity: 0; }
.video-feature .video-poster { transition: opacity .8s var(--ease-soft); }
.video-feature .video-badge {
  position: absolute; top: 1.1rem; left: 1.1rem; z-index: 2;
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(13,19,16,.55); backdrop-filter: blur(6px);
  color: var(--cream); padding: .5rem .9rem; border-radius: 999px;
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700;
}
.video-feature .video-badge .rec-dot { width: 7px; height: 7px; border-radius: 50%; background: #e0503a; animation: recPulse 1.6s ease-in-out infinite; }
@keyframes recPulse { 50% { opacity: .35; } }

/* Tap-to-play affordance — shown when autoplay is blocked (data saver, low
   power mode, slow connection) so the block never just looks like a black box. */
.video-feature { cursor: default; }
.video-feature.needs-tap { cursor: pointer; }
.video-feature .video-play {
  position: absolute; inset: 0; z-index: 3;
  display: none; align-items: center; justify-content: center;
  background: rgba(13,19,16,.28);
}
.video-feature.needs-tap .video-play { display: flex; }
.video-feature .video-play-btn {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,251,244,.94); color: var(--green-deep);
  box-shadow: 0 12px 30px rgba(13,19,16,.4);
  transition: transform .35s var(--ease-soft);
}
.video-feature.needs-tap:hover .video-play-btn { transform: scale(1.08); }
.video-feature .video-play-btn svg { width: 22px; height: 22px; margin-left: 3px; }

.stat-grid { display: grid; gap: 1.4rem; }
@media (min-width: 780px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-card {
  border-radius: 20px; overflow: hidden;
  background: rgba(255,251,244,.06); border: 1px solid rgba(255,251,244,.14);
  transition: transform .5s var(--ease-soft), background-color .4s, border-color .4s;
}
.stat-card:hover { transform: translateY(-6px); background: rgba(255,251,244,.1); border-color: rgba(255,251,244,.28); }
.stat-card-figure { aspect-ratio: 4/3; overflow: hidden; }
.stat-card-figure img { width: 100%; height: 100%; object-fit: cover; }
.stat-card-copy { padding: 1.4rem 1.5rem 1.7rem; }
.stat-card-copy h3 { font-size: 1.25rem; color: var(--cream); }
.stat-card-copy p { margin-top: .5rem; color: rgba(255,251,244,.72); font-size: .88rem; }

.events-foot { margin-top: 3.2rem; text-align: center; }
.events-foot .panel-note { margin-top: .8rem; color: rgba(255,251,244,.65); font-size: .88rem; }

/* =============================================================
   14. Experiencia
   ============================================================= */
.experience { background: var(--bg); }
.exp-lines { display: grid; gap: .1rem; margin: 2.6rem 0 3.4rem; }
.exp-line {
  padding-block: .85rem; border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.2rem, 3vw, 1.9rem);
  color: var(--ink-soft);
  transition: color .4s, padding-left .4s var(--ease-out);
}
.exp-line:first-child { border-top: 1px solid var(--line); }
.exp-line:hover { color: var(--green-deep); padding-left: .6rem; }
.exp-thesis {
  text-align: center; max-width: 46ch; margin: 0 auto 3.6rem;
  font-size: 1.05rem; color: var(--ink-mute);
}
.exp-thesis strong { color: var(--ink); }

.exp-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 720px) { .exp-gallery { grid-template-columns: repeat(4, 1fr); } }
.exp-shot { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 3/4; }
.exp-shot:nth-child(2n) { aspect-ratio: 3/4.6; }
@media (min-width: 720px) {
  .exp-shot:nth-child(1) { grid-row: span 2; aspect-ratio: 3/5.4; }
  .exp-shot:nth-child(4) { grid-row: span 2; aspect-ratio: 3/5.4; }
}
.exp-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-soft); }
.exp-shot:hover img { transform: scale(1.09); }

/* --- Piscina highlight strip --- */
.pool-strip { margin-top: 5rem; }
.pool-banner {
  position: relative; border-radius: 28px; overflow: hidden; isolation: isolate;
  min-height: 420px; display: flex; align-items: flex-end;
}
.pool-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.pool-banner::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(18,24,20,0) 30%, rgba(14,20,17,.78) 100%);
}
.pool-banner-copy { padding: 2.4rem; color: var(--cream); max-width: 620px; }
@media (min-width: 720px) { .pool-banner-copy { padding: 3.4rem; } }
.pool-banner-copy .kicker { color: var(--gold-soft); }
.pool-banner-copy h3 { margin-top: .6rem; font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.pool-banner-copy p { margin-top: .9rem; color: rgba(255,251,244,.86); max-width: 50ch; }
.pool-tags { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.pool-tags span { font-size: .76rem; padding: .4rem .85rem; border-radius: 999px; background: rgba(255,251,244,.14); border: 1px solid rgba(255,251,244,.24); }

/* =============================================================
   15. Galería
   ============================================================= */
.gallery-section { background: var(--bg-alt); }
.gallery-tabs { margin-top: 2.4rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.gallery-tab {
  padding: .6rem 1.2rem; border-radius: 999px; font-size: .78rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft);
  border: 1px solid var(--line); transition: background-color .3s, color .3s, border-color .3s;
}
.gallery-tab:hover { border-color: var(--green-deep); }
.gallery-tab.is-active { background: var(--green-deep); color: var(--cream); border-color: var(--green-deep); }
.gallery-grid {
  margin-top: 2.6rem;
  column-count: 2; column-gap: 1rem;
}
@media (min-width: 720px) { .gallery-grid { column-count: 3; } }
@media (min-width: 1100px) { .gallery-grid { column-count: 4; } }
.gallery-item {
  break-inside: avoid; margin-bottom: 1rem; border-radius: 16px; overflow: hidden;
  position: relative;
}
.gallery-item img { width: 100%; display: block; transition: transform .8s var(--ease-soft), filter .5s; }
.gallery-item:hover img { transform: scale(1.06); filter: saturate(1.15) brightness(1.03); }

/* =============================================================
   16. Ubicación
   ============================================================= */
.location { position: relative; overflow: clip; isolation: isolate; color: var(--cream); }
.location-bg { position: absolute; inset: 0; z-index: -2; }
.location-bg img { width: 100%; height: 100%; object-fit: cover; }
.location-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,32,38,.55) 0%, rgba(14,26,32,.85) 100%);
}
.location-inner { text-align: center; max-width: 640px; margin-inline: auto; padding-block: clamp(5rem, 12vw, 8rem); }
.location .kicker { color: var(--gold-soft); justify-content: center; }
.location h2 { margin-top: .8rem; font-size: clamp(2rem, 4.6vw, 3.2rem); color: var(--cream); }
.location p { margin-top: 1.1rem; color: rgba(255,251,244,.85); font-size: 1.05rem; }
.location-actions { margin-top: 2.2rem; display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; }

/* =============================================================
   17. Reservas
   ============================================================= */
.reserve { background: var(--sand-2); position: relative; overflow: clip; }
.reserve-grid { display: grid; gap: 2.6rem; }
@media (min-width: 960px) { .reserve-grid { grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: start; } }

.reserve-copy h2 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); }
.reserve-copy .lede { margin-top: 1.1rem; font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--ink-soft); max-width: 44ch; }
.reserve-copy p.body-text { margin-top: 1rem; color: var(--ink-mute); max-width: 46ch; }
.reserve-actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 1rem; }

.reserve-panel {
  background: var(--paper); border-radius: 24px; padding: 2.2rem;
  box-shadow: 0 30px 70px -36px rgba(20,28,24,.3);
}
.reserve-panel h3 { font-size: 1.3rem; }
.reserve-panel .panel-note { margin-top: .5rem; font-size: .88rem; color: var(--ink-mute); }
.bank-row {
  margin-top: 1.4rem; display: flex; align-items: center; justify-content: space-between;
  gap: .8rem; padding: .85rem 0; border-bottom: 1px solid var(--line-soft);
}
.bank-row:last-of-type { border-bottom: none; }
.bank-row .bank-label { font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-mute); }
.bank-row .bank-value { font-weight: 600; font-size: .96rem; }
.copy-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; font-weight: 700;
  padding: .45rem .8rem; border-radius: 999px; background: var(--sand); color: var(--ink);
  transition: background-color .3s, color .3s;
}
.copy-btn:hover { background: var(--green-deep); color: var(--cream); }
.copy-btn.is-copied { background: var(--green-deep); color: var(--cream); }

.reserve-social { margin-top: 1.6rem; display: flex; gap: .8rem; }
.social-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--sand); color: var(--ink);
  transition: transform .4s var(--ease-soft), background-color .3s, color .3s;
}
.social-btn svg { width: 18px; height: 18px; }
.social-btn:hover { transform: translateY(-3px); background: var(--green-deep); color: var(--cream); }

/* --- ¿Qué quieres vivir? dual choice --- */
.choice-grid { display: grid; gap: 1.4rem; margin-bottom: 2.8rem; }
@media (min-width: 780px) { .choice-grid { grid-template-columns: 1fr 1fr; } }
.choice-card {
  background: var(--paper); border-radius: 22px; padding: 2.2rem;
  box-shadow: 0 24px 60px -36px rgba(20,28,24,.28);
  transition: transform .5s var(--ease-soft), box-shadow .5s var(--ease-soft);
}
.choice-card:hover { transform: translateY(-6px); }
.choice-card h3 { font-size: 1.5rem; }
.choice-card p { margin-top: .8rem; color: var(--ink-soft); }
.choice-card .btn { margin-top: 1.5rem; }

/* =============================================================
   17.5 Cierre final
   ============================================================= */
.closing-banner {
  background: var(--green-deep-2); color: var(--cream);
  text-align: center; padding-block: clamp(4.5rem, 10vw, 7rem);
}
.closing-banner .brand-line {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--cream);
}
.closing-banner h2 {
  margin-top: 1rem; font-size: clamp(1.6rem, 3.4vw, 2.4rem); color: var(--cream);
  max-width: 26ch; margin-inline: auto;
}
.closing-banner p { margin-top: 1.3rem; color: rgba(255,251,244,.72); max-width: 44ch; margin-inline: auto; }
.closing-banner .kicker { justify-content: center; color: var(--gold-soft); margin-top: 2rem; }
.closing-banner .btn { margin-top: 1.6rem; }

/* =============================================================
   18. Footer
   ============================================================= */
.site-footer { background: var(--green-deep-2); color: rgba(255,251,244,.78); }
.footer-top { padding-block: 3.6rem; display: grid; gap: 2.6rem; }
@media (min-width: 860px) { .footer-top { grid-template-columns: 1.3fr repeat(3, 1fr); gap: 2rem; } }
.footer-brand .brand { color: var(--cream); }
.footer-brand p { margin-top: 1rem; max-width: 34ch; color: rgba(255,251,244,.62); font-size: .92rem; }
.footer-col h4 { font-family: var(--sans); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,251,244,.5); margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .7rem; }
.footer-col a { font-size: .92rem; color: rgba(255,251,244,.82); transition: color .3s; }
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  border-top: 1px solid rgba(255,251,244,.12); padding-block: 1.6rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  font-size: .78rem; color: rgba(255,251,244,.5);
}
.footer-socials { display: flex; gap: .8rem; }
.footer-socials a {
  width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,251,244,.08); transition: background-color .3s, transform .3s var(--ease-soft);
}
.footer-socials a:hover { background: rgba(255,251,244,.18); transform: translateY(-2px); }
.footer-socials svg { width: 15px; height: 15px; }

/* =============================================================
   19. WhatsApp floating button
   ============================================================= */
.wa-float {
  position: fixed; right: 1.3rem; bottom: 1.3rem; z-index: 600;
  display: inline-flex; align-items: center; gap: .7rem;
  background: #1f3a2c; color: var(--cream);
  padding: .85rem 1.05rem; border-radius: 999px;
  box-shadow: 0 16px 40px rgba(15,25,20,.4);
  transition: transform .5s var(--ease-soft), box-shadow .5s var(--ease-soft), padding .4s var(--ease-out);
}
.wa-float svg { width: 22px; height: 22px; flex-shrink: 0; }
.wa-float span { font-size: .82rem; font-weight: 600; max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width .4s var(--ease-out), opacity .3s; }
.wa-float:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(15,25,20,.5); }
@media (min-width: 720px) { .wa-float:hover span { max-width: 160px; opacity: 1; margin-left: .1rem; } }

/* =============================================================
   19b. WhatsApp dual-number choice dialog
   ============================================================= */
.wa-dialog {
  margin: auto; border: none; border-radius: 20px; padding: 2rem 1.8rem 1.8rem;
  max-width: 360px; width: calc(100% - 2.4rem);
  background: var(--cream); color: var(--ink);
  box-shadow: 0 30px 70px rgba(15,25,20,.35);
}
.wa-dialog::backdrop { background: rgba(15,25,20,.55); backdrop-filter: blur(2px); }
.wa-dialog-close {
  position: absolute; top: .7rem; right: .9rem; border: none; background: none;
  font-size: 1.6rem; line-height: 1; color: var(--ink-mute); cursor: pointer; padding: .3rem;
}
.wa-dialog-close:hover { color: var(--ink); }
.wa-dialog-title { font-family: var(--serif); font-size: 1.15rem; margin-bottom: 1.2rem; padding-right: 1.5rem; }
.wa-dialog-options { display: flex; flex-direction: column; gap: .7rem; }
.wa-dialog-options .btn { width: 100%; justify-content: center; text-align: center; }

/* =============================================================
   20. Custom cursor (desktop, fine pointer only)
   ============================================================= */
.cursor {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998;
  display: none; mix-blend-mode: difference; opacity: 0;
  transition: opacity .25s var(--ease-out);
}
.cursor.is-ready { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; will-change: transform; }
.cursor-dot { width: 6px; height: 6px; margin: -3px; background: var(--cream); border-radius: 50%; }
.cursor-ring {
  width: 34px; height: 34px; margin: -17px; border: 1px solid var(--cream); border-radius: 50%;
  transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), opacity .35s;
}
.cursor.is-interactive .cursor-ring { width: 54px; height: 54px; margin: -27px; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }

/* =============================================================
   21. Scroll progress
   ============================================================= */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 700; background: rgba(28,35,31,.08); pointer-events: none; }
.scroll-progress span {
  display: block; height: 100%; transform-origin: 0 0; transform: scaleX(0);
  background: linear-gradient(90deg, var(--green-deep), var(--ocean));
  transition: transform .08s linear;
}

/* =============================================================
   22. Grain
   ============================================================= */
.grain-overlay {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
}

/* =============================================================
   23. Responsive helpers
   ============================================================= */
@media (max-width: 719px) {
  .hero-actions .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
}

/* =============================================================
   24. Reduced motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-bg img { animation: none; }
  .events::before { animation: none; }
  .hero-scrolldown .line::after { animation: none; }
  .video-badge .rec-dot { animation: none; }
}
