/* =============================================================
   CARIBBEAN SUITES — Juan Dolio · styles.css
   Dirección: editorial de resort. Océano + terracota + arena.
   Tipografía: Futura (display, geométrica) + Inter (cuerpo).
   Futura es nativa en macOS/iOS; Jost (su gemela libre) cubre el resto de plataformas.
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #FAF6EF;
  --bg-2:      #F2EAD9;
  --card:      #FFFFFF;
  --ink:       #14242C;
  --ink-soft:  rgba(20, 36, 44, .74);
  --ink-mute:  rgba(20, 36, 44, .52);
  --ocean:     #2E6C8E;
  --ocean-2:   #1F4E68;
  --ocean-light: #BFE0EC;
  --terracotta: #B4623C;
  --terracotta-2: #954E30;
  --sand:      #E9DFC8;
  --line:      rgba(20, 36, 44, .14);
  --line-soft: rgba(20, 36, 44, .08);
  --veil:      rgba(255, 255, 255, .82);
  --shadow-lg: 0 34px 80px -30px rgba(20, 50, 65, .34);
  --shadow-sm: 0 14px 40px -18px rgba(20, 50, 65, .26);
  --grad-cta:  linear-gradient(135deg, #2E6C8E 0%, #1F4E68 100%);
  --grad-warm: linear-gradient(135deg, #B4623C 0%, #954E30 100%);

  --display: 'Futura', 'Jost', 'Century Gothic', 'Avenir Next', sans-serif;
  --sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --gutter: clamp(1.1rem, 4vw, 3rem);
  --sect: clamp(4rem, 8.5vw, 7rem);
  --radius: 20px;
  --maxw: 1320px;
}

.theme-dark {
  --bg:        #0E2028;
  --bg-2:      #132A34;
  --card:      #17323D;
  --ink:       #F6F1E7;
  --ink-soft:  rgba(246, 241, 231, .78);
  --ink-mute:  rgba(246, 241, 231, .54);
  --ocean-light: #4C93B4;
  --line:      rgba(191, 224, 236, .16);
  --line-soft: rgba(191, 224, 236, .08);
  --veil:      rgba(14, 32, 40, .72);
  --shadow-lg: 0 40px 90px -30px rgba(0, 0, 0, .6);
  --shadow-sm: 0 16px 44px -18px rgba(0, 0, 0, .45);
  background: var(--bg);
  color: var(--ink);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -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; }
h1, h2, h3, h4 { font-family: var(--display); text-wrap: balance; line-height: 1.05; letter-spacing: -0.01em; font-weight: 500; }
ul { list-style: none; padding: 0; }
address { font-style: normal; }
::selection { background: var(--ocean); color: #fff; }
:focus-visible { outline: 2px solid var(--ocean); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 999;
  padding: .6rem 1rem; background: var(--ink); color: var(--bg);
  border-radius: 8px; transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--sect); position: relative; }
.section-head { max-width: 640px; margin-bottom: clamp(2.2rem, 5vw, 3.6rem); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--terracotta-2); margin-bottom: .9rem;
}
.eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--terracotta); }
.eyebrow-lg { font-size: clamp(1.3rem, 2.6vw, 1.9rem); letter-spacing: .1em; margin-bottom: 0; color: var(--ink); }
.eyebrow-lg::before { width: 34px; }
h2.h-lg { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.lede { font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--ink-soft); margin-top: 1rem; max-width: 56ch; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.7rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .3s;
  white-space: nowrap;
}
.btn-primary { background: var(--grad-cta); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: var(--veil); color: var(--ink); border: 1px solid var(--line); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--ocean); color: var(--ocean); }
.btn-wa { background: #25D366; color: #fff; }
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -14px rgba(37,211,102,.6); }
.btn-sm { padding: .65rem 1.2rem; font-size: .85rem; }

/* =============================================================
   3. Header
   ============================================================= */
.header {
  position: fixed; top: 1.1rem; left: 50%; z-index: 90;
  width: min(1240px, 93%);
  border-radius: 20px;
  background: rgba(20, 36, 44, .55); backdrop-filter: blur(14px);
  box-shadow: 0 20px 44px -22px rgba(0,0,0,.4), inset 0 0 0 1px rgba(255,255,255,.08);
  transform: translateX(-50%);
  transition: transform .45s var(--ease-out), background .35s, box-shadow .35s;
}
.header-in {
  margin-inline: auto; padding: .85rem 1.4rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.header.is-scrolled { background: rgba(20, 36, 44, .88); }
.header.is-hidden { transform: translateX(-50%) translateY(-140%); }
.brand { display: flex; align-items: center; }
.brand-logo { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.nav a { font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.82); position: relative; padding-block: .3rem; }
.nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px; background: var(--terracotta); transition: right .3s var(--ease-out); }
.nav a:hover::after, .nav a:focus-visible::after { right: 0; }
.nav a:hover, .nav a:focus-visible { color: #fff; }
.nav a.is-active { color: #fff; font-weight: 600; }
.nav a.is-active::after { right: 0; }
.header-cta { display: flex; align-items: center; gap: .8rem; }
.header-cta .btn-primary { background: #fff; color: var(--ink); box-shadow: none; }
.header-cta .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -12px rgba(0,0,0,.35); }
.progress { position: absolute; left: 3px; right: 3px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--grad-warm); transform-origin: left; transform: scaleX(0); }
.burger { display: none; width: 40px; height: 40px; border-radius: 50%; align-items: center; justify-content: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); }
.burger span, .burger span::before, .burger span::after { content: ''; display: block; width: 18px; height: 1.6px; background: #fff; transition: transform .3s, opacity .3s; position: relative; }
.burger span::before { position: absolute; top: -6px; }
.burger span::after { position: absolute; top: 6px; }
body.nav-open .burger span { background: transparent; }
body.nav-open .burger span::before { transform: translateY(6px) rotate(45deg); background: #fff; }
body.nav-open .burger span::after { transform: translateY(-6px) rotate(-45deg); background: #fff; }

@media (max-width: 900px) {
  .nav { position: fixed; inset: 0; background: var(--bg); flex-direction: column; justify-content: center; align-items: center; gap: 1.8rem;
    transform: translateY(-100%); opacity: 0; pointer-events: none; transition: transform .45s var(--ease-out), opacity .3s; }
  .nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a { font-size: 1.3rem; color: var(--ink); }
  .nav a.is-active { color: var(--ink); }
  .burger { display: inline-flex; }
  .header-cta .btn-primary { display: none; }
}

/* =============================================================
   4. Hero
   ============================================================= */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: clip; color: #fff; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide { opacity: 0; z-index: 0; transition: opacity 1.2s var(--ease-out); }
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-media::after { content: ''; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(14,32,40,.35) 0%, rgba(14,32,40,.35) 45%, rgba(14,32,40,.88) 100%); }
.hero-in { position: relative; z-index: 1; padding: clamp(7rem, 16vw, 11rem) var(--gutter) 0; max-width: var(--maxw); margin-inline: auto; width: 100%; }
.hero-kicker { font-family: var(--mono); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ocean-light); margin-bottom: 1.1rem; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); max-width: 15ch; }
.hero h1 em { font-style: italic; color: var(--ocean-light); }
.hero-sub { margin-top: 1.3rem; font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 46ch; color: rgba(255,255,255,.86); }
.hero-cta { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1.5rem; margin-top: clamp(2.6rem, 6vw, 4rem); padding-block: 1.8rem 2.2rem; border-top: 1px solid rgba(255,255,255,.22); }
.stat b { display: block; font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.4rem); }
.stat span { font-size: .8rem; color: rgba(255,255,255,.72); }

/* Marquee */
.marquee { position: relative; z-index: 1; overflow: hidden; border-top: 1px solid rgba(255,255,255,.18); background: rgba(14,32,40,.35); backdrop-filter: blur(4px); }
.marquee-track { display: flex; width: max-content; gap: 3rem; padding-block: .95rem; animation: marquee 32s linear infinite; }
.marquee-track span { font-family: var(--display); font-style: italic; font-size: 1.05rem; white-space: nowrap; color: rgba(255,255,255,.92); display: flex; align-items: center; gap: 1rem; }
.marquee-track span::after { content: '◆'; font-size: .55rem; color: var(--terracotta); }
@keyframes marquee { to { transform: translateX(-50%); } }
[data-reduced] .marquee-track { animation: none; }

/* =============================================================
   5. Reveals & utilities
   ============================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-stagger.is-visible > * { transition-delay: calc(var(--i, 0) * 80ms); }
.is-fallback .reveal { opacity: 1; transform: none; }

/* =============================================================
   6. Propuesta de inversión
   ============================================================= */
.invest {
  position: relative; overflow: clip;
  background:
    radial-gradient(120% 90% at 8% 0%, #FFFDF8 0%, transparent 55%),
    linear-gradient(155deg, #FBF3E6 0%, #F6E9D8 48%, #FAF0E2 100%);
}
/* Sombra de palmera decorativa: dos siluetas SVG en multiply, muy sutiles */
.invest::before, .invest::after {
  content: ''; position: absolute; pointer-events: none; z-index: 0;
  background-repeat: no-repeat; background-size: contain; mix-blend-mode: multiply; opacity: .1;
}
.invest::before {
  top: -6%; left: -8%; width: 46%; aspect-ratio: 1/1; transform: rotate(-12deg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='%23142430'%3E%3Cpath d='M100 190C95 140 90 90 60 40C90 55 105 90 108 130C112 90 130 55 160 35C135 85 128 140 118 190Z'/%3E%3Cpath d='M100 190C80 150 55 120 10 100C55 105 85 125 100 160C100 130 115 95 150 75C120 105 108 150 105 190Z'/%3E%3C/g%3E%3C/svg%3E");
}
.invest::after {
  bottom: -10%; right: -6%; width: 38%; aspect-ratio: 1/1; transform: rotate(150deg) scaleX(-1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='%23142430'%3E%3Cpath d='M100 190C95 140 90 90 60 40C90 55 105 90 108 130C112 90 130 55 160 35C135 85 128 140 118 190Z'/%3E%3Cpath d='M100 190C80 150 55 120 10 100C55 105 85 125 100 160C100 130 115 95 150 75C120 105 108 150 105 190Z'/%3E%3C/g%3E%3C/svg%3E");
}
.invest .wrap { position: relative; z-index: 1; }
.invest-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.invest-copy p { color: var(--ink-soft); margin-top: 1.1rem; }
.invest-copy strong { color: var(--ocean-2); font-weight: 600; }

.invest-pillars { display: grid; gap: .9rem; margin-top: 1.8rem; }
.pillar {
  position: relative; display: flex; gap: 1rem; align-items: center; padding: 1rem 1.1rem;
  border-radius: 18px; background: rgba(255,253,248,.72); border: 1px solid rgba(20,36,44,.08);
  box-shadow: 0 14px 30px -20px rgba(20,36,44,.18); overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.pillar:hover { transform: translateY(-3px); box-shadow: 0 20px 38px -18px rgba(20,36,44,.24); }
.pillar-ic {
  width: 44px; height: 44px; flex: none; border-radius: 13px; background: var(--grad-warm);
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.2rem; z-index: 1;
}
.pillar-body { flex: 1; min-width: 0; z-index: 1; }
.pillar-body h4 { font-family: var(--display); font-weight: 500; font-size: 1.05rem; color: var(--ink); }
.pillar-body p { font-size: .86rem; color: var(--ink-mute); margin-top: .15rem; }
.pillar-more {
  max-height: 0; opacity: 0; margin-top: 0 !important; overflow: hidden;
  transition: max-height .4s var(--ease-out), opacity .3s, margin-top .4s var(--ease-out);
}
.pillar.is-open .pillar-more { max-height: 140px; opacity: 1; margin-top: .5rem !important; }
.pillar-photo {
  width: 46px; height: 46px; flex: none; border-radius: 12px; object-fit: cover; z-index: 1;
  border: 2px solid rgba(255,255,255,.8); box-shadow: 0 6px 14px -6px rgba(20,36,44,.35);
}
.pillar-arrow {
  flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid rgba(20,36,44,.18);
  display: flex; align-items: center; justify-content: center; color: var(--terracotta-2); font-size: 1rem;
  transition: background .3s, color .3s, transform .3s var(--ease-out); z-index: 1;
}
.pillar:hover .pillar-arrow { background: var(--terracotta); color: #fff; transform: rotate(45deg); }
.pillar.is-open .pillar-arrow { background: var(--terracotta); color: #fff; transform: rotate(90deg); }

.invest-visual { position: relative; }
.invest-visual::before {
  content: ''; position: absolute; top: -12%; right: -14%; width: 62%; aspect-ratio: 1/1; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--terracotta) 0%, var(--terracotta-2) 100%);
  opacity: .9; z-index: 0;
}
.invest-frame {
  position: relative; z-index: 1; border-radius: 2.2rem; overflow: hidden; aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg); border: 6px solid rgba(255,253,248,.9);
}
.invest-frame img { width: 100%; height: 100%; object-fit: cover; }
.invest-labels {
  position: absolute; top: 1.6rem; left: 1.6rem; z-index: 2; display: grid; gap: .35rem;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,.45);
}
.invest-tagline {
  position: relative; z-index: 1; display: flex; align-items: center; gap: .8rem; justify-content: flex-end;
  margin-top: clamp(2rem, 5vw, 3.2rem); padding-inline: var(--gutter); max-width: var(--maxw); margin-inline: auto;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute);
}
.invest-tagline .line { width: 46px; height: 1px; background: var(--terracotta); flex: none; }

@media (max-width: 900px) {
  .invest-grid { grid-template-columns: 1fr; }
  .invest-visual { order: -1; }
  .invest-frame { aspect-ratio: 16/11; }
  .invest-tagline { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .pillar-photo { display: none; }
}

/* =============================================================
   7. Galería (tabs + slider)
   ============================================================= */
.gallery-tabs { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.6rem; }
.tab-btn { padding: .6rem 1.15rem; border-radius: 999px; border: 1px solid var(--line); font-size: .88rem; font-weight: 600; color: var(--ink-mute); transition: all .3s; }
.tab-btn.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.slider { position: relative; }
.slider-track { display: flex; gap: 1.1rem; overflow-x: auto; overscroll-behavior-x: contain; padding-bottom: .6rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; touch-action: pan-x; }
.slider-track::-webkit-scrollbar { display: none; }
/* El drag con mouse (clase .has-fine-pointer, ver main.js) solo se activa en dispositivos con puntero fino;
   en touch el navegador maneja el scroll nativo al 100%, sin ningún JS nuestro de por medio. */
.has-fine-pointer .slider-track { cursor: grab; scroll-snap-type: x proximity; }
.has-fine-pointer .slider-track.is-dragging { scroll-snap-type: none; cursor: grabbing; scroll-behavior: auto; }
.has-fine-pointer .slider-track.is-dragging .slide { pointer-events: none; }
.slide img { -webkit-user-drag: none; user-select: none; }
.slide { flex: 0 0 auto; width: min(78vw, 560px); aspect-ratio: 4/3; border-radius: 16px; overflow: hidden; scroll-snap-align: start; position: relative; box-shadow: var(--shadow-sm); cursor: zoom-in; }
.slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.slide:hover img { transform: scale(1.05); }
.slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem 1.1rem; font-size: .82rem; font-weight: 600; color: #fff; background: linear-gradient(0deg, rgba(0,0,0,.55), transparent); }
.slider-nav { display: flex; gap: .6rem; margin-top: 1rem; justify-content: flex-end; }
.slider-nav button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; transition: all .25s; }
.slider-nav button:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* =============================================================
   8. Amenidades
   ============================================================= */
.amenities {
  position: relative; overflow: clip;
  background:
    radial-gradient(120% 90% at 92% 0%, #FFFDF8 0%, transparent 55%),
    linear-gradient(155deg, #FAF0E2 0%, #F6E9D8 48%, #FBF3E6 100%);
}
.amenities::before {
  content: ''; position: absolute; top: -10%; left: -8%; width: 42%; aspect-ratio: 1/1; z-index: 0;
  transform: rotate(8deg); mix-blend-mode: multiply; opacity: .09; pointer-events: none;
  background-repeat: no-repeat; background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='%23142430'%3E%3Cpath d='M100 190C95 140 90 90 60 40C90 55 105 90 108 130C112 90 130 55 160 35C135 85 128 140 118 190Z'/%3E%3Cpath d='M100 190C80 150 55 120 10 100C55 105 85 125 100 160C100 130 115 95 150 75C120 105 108 150 105 190Z'/%3E%3C/g%3E%3C/svg%3E");
}
.amenities-circle-decor {
  position: absolute; bottom: -20%; right: -8%; width: 30%; aspect-ratio: 1/1; z-index: 0;
  border-radius: 50%; border: 1.5px solid rgba(180, 98, 60, .35); pointer-events: none;
}
.amenities .wrap { position: relative; z-index: 1; }
.amenities-signature {
  position: absolute; top: 2.4rem; right: var(--gutter); z-index: 1; text-align: right;
  font-family: var(--mono); text-transform: uppercase; letter-spacing: .14em; pointer-events: none;
}
.amenities-signature b { display: block; font-size: .82rem; font-weight: 700; color: var(--ink); letter-spacing: .12em; }
.amenities-signature .rule { display: block; width: 26px; height: 1px; background: var(--terracotta); margin: .6rem 0 .6rem auto; }
.amenities-signature span { display: block; font-size: .64rem; color: var(--ink-mute); line-height: 1.6; }

.amenities-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.1rem; }
.amenity { background: rgba(255, 253, 248, .8); border-radius: 16px; padding: 1.6rem 1.4rem; border: 1px solid rgba(20,36,44,.08); box-shadow: 0 12px 26px -20px rgba(20,36,44,.16); transition: transform .35s var(--ease-out), box-shadow .35s; }
.amenity:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); }
.amenity-ic { width: 46px; height: 46px; border-radius: 50%; background: #F3DCC9; color: var(--terracotta-2); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.amenity h3 { font-family: var(--sans); font-size: 1rem; font-weight: 600; color: var(--ink); }

/* =============================================================
   8b. Planos técnicos
   ============================================================= */
.plans { position: relative; overflow: clip; background: var(--bg-2); }
.plans::before {
  content: ''; position: absolute; top: -8%; right: -10%; width: 36%; aspect-ratio: 1/1; z-index: 0;
  transform: rotate(150deg) scaleX(-1); mix-blend-mode: multiply; opacity: .07; pointer-events: none;
  background-repeat: no-repeat; background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='%23142430'%3E%3Cpath d='M100 190C95 140 90 90 60 40C90 55 105 90 108 130C112 90 130 55 160 35C135 85 128 140 118 190Z'/%3E%3Cpath d='M100 190C80 150 55 120 10 100C55 105 85 125 100 160C100 130 115 95 150 75C120 105 108 150 105 190Z'/%3E%3C/g%3E%3C/svg%3E");
}
.plans .wrap { position: relative; z-index: 1; }
.plans-signature {
  position: absolute; top: 2.4rem; right: var(--gutter); z-index: 1; text-align: right;
  font-family: var(--mono); text-transform: uppercase; letter-spacing: .14em; pointer-events: none;
}
.plans-signature b { display: block; font-size: .82rem; font-weight: 700; color: var(--ink); letter-spacing: .12em; }
.plans-signature .rule { display: block; width: 26px; height: 1px; background: var(--terracotta); margin: .6rem 0 .6rem auto; }
.plans-signature span { display: block; font-size: .64rem; color: var(--ink-mute); line-height: 1.6; }

.plans-group-title { font-family: var(--display); font-weight: 500; font-size: 1.2rem; color: var(--ink); margin: 0 0 1.2rem; }
.plans-group-title:not(:first-of-type) { margin-top: clamp(2.2rem, 5vw, 3rem); }

.plans-grid { position: relative; z-index: 1; display: flex; gap: 1.3rem; padding-bottom: .6rem; }
.plan-card {
  flex: 0 0 auto; width: min(80vw, 300px); scroll-snap-align: start;
  background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm); transition: transform .4s var(--ease-out), box-shadow .4s; display: flex; flex-direction: column;
}
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan-card-thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-2); }
.plan-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.plan-card:hover .plan-card-thumb img { transform: scale(1.05); }
.plan-card-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.plan-card--unit .plan-card-body { padding-top: 1.5rem; }
.plan-card-tag {
  display: inline-block; align-self: flex-start; font-family: var(--mono); font-size: .68rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--terracotta-2); background: #F3DCC9; padding: .28rem .7rem; border-radius: 999px; margin-bottom: .7rem;
}
.plan-card-tag--m2 { background: var(--ocean-light); color: var(--ocean-2); }
.plan-card-body h4 { font-family: var(--display); font-weight: 500; font-size: 1.15rem; color: var(--ink); }
.plan-card-body ul { margin-top: .7rem; display: grid; gap: .4rem; flex: 1; }
.plan-card-body li { font-size: .86rem; color: var(--ink-mute); padding-left: 1rem; position: relative; line-height: 1.4; }
.plan-card-body li::before { content: ''; position: absolute; left: 0; top: .5em; width: 5px; height: 5px; border-radius: 50%; background: var(--terracotta); }
.plan-link {
  margin-top: 1.1rem; display: inline-flex; align-items: center; gap: .4rem; font-family: var(--mono); font-size: .78rem;
  font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ocean-2);
}
.plan-link span { transition: transform .3s var(--ease-out); }
.plan-link:hover span { transform: translateX(4px); }

@media (max-width: 560px) { .plan-card { width: min(84vw, 300px); } }

/* =============================================================
   9. Equipo
   ============================================================= */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.6rem; }
.team-card { background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease-out); }
.team-card:hover { transform: translateY(-6px); }
.team-photo { aspect-ratio: 4/5; overflow: hidden; background: var(--ink); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-body { padding: 1.4rem 1.5rem 1.7rem; }
.team-body h3 { font-size: 1.2rem; }
.team-role { display: inline-block; margin-top: .35rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--terracotta-2); }
.team-body p.bio { margin-top: .8rem; font-size: .9rem; color: var(--ink-soft); }
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }

/* =============================================================
   10. Ubicación
   ============================================================= */
.location { background: var(--ocean-2); color: #fff; position: relative; overflow: clip; }
.location::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 60% at 80% 20%, rgba(255,255,255,.08), transparent 60%); }
.location .eyebrow { color: var(--ocean-light); }
.location .eyebrow::before { background: var(--ocean-light); }
.loc-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); }
.loc-list { display: grid; gap: .9rem; }
.loc-item { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.loc-ic { flex: none; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.12); color: var(--ocean-light); display: flex; align-items: center; justify-content: center; }
.loc-item b { flex: 1; min-width: 0; font-weight: 600; font-size: .95rem; }
.loc-time { flex: none; display: flex; align-items: center; gap: .4rem; font-family: var(--mono); font-size: .8rem; color: var(--ocean-light); white-space: nowrap; }
.loc-map { position: relative; align-self: start; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.loc-map img { width: 100%; height: 100%; object-fit: cover; }
.map-zoom-controls { position: absolute; right: .9rem; bottom: .9rem; z-index: 4; display: flex; flex-direction: column; gap: .5rem; }
.map-zoom-btn {
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.94); color: var(--ink);
  font-size: 1.15rem; font-weight: 700; line-height: 1; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px -8px rgba(0,0,0,.45); transition: transform .2s;
}
.map-zoom-btn:hover { transform: scale(1.08); }
@media (max-width: 900px) { .loc-grid { grid-template-columns: 1fr; } .loc-map { order: -1; } }

/* Mapa interactivo con pines — la imagen se muestra completa, sin recortar */
.map-interactive {
  position: relative; width: 100%; line-height: 0; cursor: zoom-in;
  transform-origin: center center; touch-action: none;
  transition: transform .25s var(--ease-out);
}
.map-interactive.is-zoomed { cursor: grab; }
.map-interactive.is-dragging { cursor: grabbing; transition: none; }
.map-interactive img { width: 100%; height: auto; display: block; pointer-events: none; }
.map-pin {
  position: absolute; transform: translate(-50%, -50%); width: 30px; height: 30px; z-index: 2;
  display: flex; align-items: center; justify-content: center;
}
.map-pin span {
  width: 16px; height: 16px; border-radius: 50%; background: var(--terracotta);
  border: 2.5px solid #fff; box-shadow: 0 4px 12px -2px rgba(0,0,0,.45);
  position: relative; transition: transform .25s var(--ease-bounce);
}
.map-pin span::before {
  content: ''; position: absolute; inset: -10px; border-radius: 50%; background: rgba(180,98,60,.45);
  animation: pin-pulse 2.2s ease-out infinite;
}
.map-pin:hover span, .map-pin.is-active span { transform: scale(1.25); }
@keyframes pin-pulse { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }

.map-popup {
  position: absolute; left: 50%; bottom: 12%; transform: translateX(-50%); z-index: 3;
  width: min(240px, 70%); background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 24px 48px -16px rgba(0,0,0,.5); animation: popup-in .25s var(--ease-out);
}
@keyframes popup-in { from { opacity: 0; transform: translateX(-50%) translateY(8px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
.map-popup img { width: 100%; height: 110px; object-fit: cover; }
.map-popup-body { padding: .8rem .9rem .9rem; }
.map-popup-body b { display: block; font-size: .9rem; color: var(--ink); }
.map-popup-body p { margin-top: .3rem; font-size: .76rem; color: var(--ink-mute); line-height: 1.4; }
.map-popup-close {
  position: absolute; top: .4rem; right: .4rem; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(0,0,0,.5); color: #fff; font-size: .7rem; display: flex; align-items: center; justify-content: center; z-index: 1;
}

/* Ruta Santo Domingo -> Caribbean Suites */
.route-strip {
  margin-top: clamp(2.5rem, 6vw, 4rem); display: flex; align-items: center; gap: 1rem;
  position: relative; z-index: 1;
}
.route-point { flex: none; text-align: center; }
.route-point b { display: block; font-size: 1rem; color: #fff; }
.route-point span { display: block; font-size: .74rem; color: var(--ocean-light); margin-top: .2rem; text-transform: uppercase; letter-spacing: .08em; }
.route-line { flex: 1; position: relative; display: flex; align-items: center; justify-content: center; min-width: 80px; }
.route-line svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.route-line svg path { stroke: rgba(255,255,255,.4); stroke-width: 2; fill: none; }
.route-icon { position: relative; background: var(--ocean-2); border: 2px solid rgba(255,255,255,.5); border-radius: 50%; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.route-time { position: absolute; bottom: -1.6rem; left: 50%; transform: translateX(-50%); white-space: nowrap; font-family: var(--mono); font-size: .72rem; color: var(--ocean-light); }
@media (max-width: 640px) { .route-point b { font-size: .82rem; } .route-strip { gap: .6rem; } }

/* =============================================================
   11. Videos — sección oscura, dos columnas, carrusel que desliza
   ============================================================= */
.videos-dark { position: relative; overflow: clip; background: var(--ink); color: #fff; padding-block: clamp(4rem, 9vw, 7rem); }
.videos-bg { position: absolute; inset: 0; z-index: 0; }
.videos-bg::before {
  content: ''; position: absolute; inset: 0;
  background: url("assets/img/thumbs/sociales/rooftop-bar-01.webp") center 30% / cover;
  opacity: .32; filter: saturate(1.05);
}
.videos-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20,36,44,.97) 20%, rgba(20,36,44,.86) 46%, rgba(20,36,44,.55) 75%);
}
.videos-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.videos-carousel { min-width: 0; }
.videos-carousel .slider { min-width: 0; }
.videos-copy .eyebrow { color: var(--terracotta); }
.videos-copy .eyebrow::before { background: var(--terracotta); }
.h-xl { font-size: clamp(1.9rem, 3.6vw, 2.7rem); text-transform: uppercase; letter-spacing: -.01em; line-height: 1.12; margin-top: .6rem; }
.h-xl em { font-style: italic; color: var(--ocean-light); text-transform: none; }
.videos-sub { margin-top: 1.1rem; font-size: .96rem; color: rgba(255,255,255,.68); max-width: 40ch; }
.videos-tabs { margin-top: 1.8rem; }
.videos-tabs .tab-btn { border-color: rgba(255,255,255,.24); color: rgba(255,255,255,.72); }
.videos-tabs .tab-btn.is-active { background: #fff; color: var(--ink); border-color: #fff; }
.btn-outline-light {
  display: inline-flex; margin-top: 1.8rem; padding: .9rem 1.6rem; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.55); color: #fff; font-weight: 600; font-size: .92rem;
  transition: background .3s, color .3s, border-color .3s;
}
.btn-outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.videos-carousel .slider-track { gap: 1.3rem; padding-bottom: .3rem; }
.video-card {
  position: relative; flex: 0 0 auto; cursor: pointer; scroll-snap-align: start;
  width: 200px; aspect-ratio: 3 / 5; margin: 0;
}
.video-thumb { position: relative; display: block; width: 100%; height: 100%; border-radius: 20px; overflow: hidden; background: #000; box-shadow: 0 24px 48px -20px rgba(0,0,0,.55); }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .88; transition: transform .6s var(--ease-out), opacity .3s; }
.video-card:hover .video-thumb img { transform: scale(1.055); opacity: 1; }
.video-thumb .play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 2; }
.video-thumb .play span {
  width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,.92); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; color: var(--ink); transition: transform .3s var(--ease-bounce);
}
.video-card:hover .video-thumb .play span { transform: scale(1.12); }
.video-card figcaption {
  margin-top: .9rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em;
  font-size: .95rem; color: #fff;
}

.slide-progress { position: relative; height: 2px; background: rgba(255,255,255,.16); border-radius: 2px; margin-top: 1.6rem; max-width: 420px; }
.slide-progress i { position: absolute; inset: 0; width: 100%; background: #fff; border-radius: 2px; transform-origin: left; transform: scaleX(.12); transition: transform .15s linear; }

@media (max-width: 900px) {
  .videos-grid { grid-template-columns: 1fr; }
  .videos-bg::before { opacity: .22; }
}

.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; background: rgba(10,18,22,.92); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .35s; padding: 2rem; }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox video { max-width: min(92vw, 520px); max-height: 88vh; border-radius: 14px; box-shadow: var(--shadow-lg); background: #000; }
.lightbox video.is-landscape { max-width: min(92vw, 900px); }
.lightbox-close { position: absolute; top: 1.5rem; right: 1.5rem; width: 46px; height: 46px; border-radius: 50%; background: var(--veil); display: flex; align-items: center; justify-content: center; color: var(--ink); }

/* =============================================================
   13. Contacto
   ============================================================= */
.contact-split { display: grid; grid-template-columns: 1fr 1fr; background: var(--card); min-height: 680px; }

.contact-photo { position: relative; overflow: hidden; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.contact-photo-overlay {
  position: absolute; inset: 0; z-index: 1; padding: clamp(2rem, 5vw, 3.6rem);
  display: flex; flex-direction: column; justify-content: center; color: #fff;
  background: linear-gradient(180deg, rgba(20,36,44,.25) 0%, rgba(20,36,44,.15) 35%, rgba(20,36,44,.75) 100%);
}
.contact-brand { display: flex; align-items: center; gap: .7rem; font-family: var(--mono); letter-spacing: .14em; text-transform: uppercase; font-size: .82rem; }
.contact-brand .rule { width: 20px; height: 1px; background: #fff; opacity: .7; }
.contact-brand span:last-child { font-size: .72rem; opacity: .8; }
.contact-headline { margin-top: 1.4rem; font-size: clamp(2rem, 4vw, 3rem); text-transform: uppercase; line-height: 1.08; }
.contact-tagline { margin-top: 1rem; font-family: var(--mono); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.contact-features {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex;
  background: rgba(14,32,40,.6); backdrop-filter: blur(8px); padding: 1.3rem 1rem;
}
.contact-features > div { flex: 1; text-align: center; color: #fff; }
.contact-features svg { margin-inline: auto; }
.contact-features span { display: block; margin-top: .5rem; font-family: var(--mono); font-size: .66rem; letter-spacing: .05em; text-transform: uppercase; line-height: 1.4; }

.contact-form-side { display: flex; align-items: center; padding: clamp(2.2rem, 5vw, 4rem) var(--gutter); }
.contact-form-inner { width: 100%; max-width: 540px; margin-inline: auto; }
.contact-lede { margin-top: .9rem; color: var(--ink-soft); }
.contact-form-inner .form { margin-top: 1.8rem; display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-mute); }
.field input, .field textarea {
  padding: .85rem 1rem; border-radius: 10px; border: 1px solid var(--line); background: var(--bg);
  font: inherit; color: var(--ink); transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field textarea:focus { border-color: var(--ocean); box-shadow: 0 0 0 3px rgba(46,108,142,.15); outline: none; }
.field textarea { resize: vertical; min-height: 110px; }
.btn-block { width: 100%; background: var(--ink); box-shadow: none; }
.btn-block:hover { background: var(--ocean-2); }

.contact-also { margin-top: 2.2rem; text-align: center; }
.contact-also-label {
  display: block; padding-top: 1.3rem; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: .68rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-mute); margin-bottom: 1.3rem;
}
.contact-channels-row { display: flex; justify-content: center; gap: 1.4rem; flex-wrap: wrap; }
.channel-mini { display: flex; align-items: center; gap: .6rem; text-align: left; }
.channel-mini .channel-ic {
  width: 38px; height: 38px; border-radius: 50%; background: var(--bg-2); color: var(--terracotta-2);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.channel-mini > span:last-child b { display: block; font-size: .82rem; color: var(--ink); font-weight: 600; }
.channel-mini > span:last-child span { display: block; font-size: .68rem; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .05em; margin-top: .1rem; }

@media (max-width: 900px) {
  .contact-split { grid-template-columns: 1fr; }
  .contact-photo { min-height: 420px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-channels-row { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* =============================================================
   14. Footer
   ============================================================= */
.footer { background: var(--ink); color: rgba(246,241,231,.7); padding-block: 3rem 2rem; }
.footer-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.6rem 2.4rem; }
.footer-brand { display: flex; align-items: center; }
.footer-logo { height: 24px; width: auto; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-size: .84rem; }
.footer-nav a { color: rgba(246,241,231,.7); transition: color .2s; }
.footer-nav a:hover { color: #fff; }
.footer-social { display: flex; gap: .7rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(246,241,231,.2); display: flex; align-items: center; justify-content: center; transition: all .25s; }
.footer-social a:hover { background: #fff; color: var(--ink); }
.footer-legal { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(246,241,231,.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; font-size: .78rem; }
.footer-legal a { color: rgba(246,241,231,.85); text-decoration: underline; text-underline-offset: 2px; transition: color .2s; }
.footer-legal a:hover { color: #fff; }

/* =============================================================
   15. WhatsApp float
   ============================================================= */
.wa-float {
  position: fixed; right: 1.3rem; bottom: 1.3rem; z-index: 80;
  width: 58px; height: 58px; border-radius: 50%; background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 34px -12px rgba(20,36,44,.55);
  animation: pulse-wa 2.6s ease-in-out infinite; transition: transform .3s var(--ease-out), background .3s;
}
.wa-float:hover { background: var(--terracotta-2); }
@keyframes pulse-wa { 0%,100% { transform: scale(1); } 50% { transform: scale(1.07); } }

.to-top { position: fixed; right: 1.3rem; bottom: 5.6rem; z-index: 79; width: 44px; height: 44px; border-radius: 50%;
  background: var(--veil); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; }
.to-top.is-visible { opacity: 1; pointer-events: auto; }

@media (max-width: 640px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================================
   16. Páginas legales (Política de privacidad)
   ============================================================= */
.legal-body { margin-top: 1rem; padding-bottom: clamp(3rem, 8vw, 5rem); }
.legal-body h2 { font-size: 1.2rem; margin-top: 2.4rem; margin-bottom: .7rem; color: var(--ink); }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { color: var(--ink-soft); line-height: 1.7; }
.legal-body a { color: var(--ocean-2); text-decoration: underline; text-underline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
