/* ═══════════════════════════════════════════════════════
   DESIGN TOKENS — La Gobernanta v2
═══════════════════════════════════════════════════════ */
:root {
  --cream:       #f8f4ee;
  --cream-2:     #f0e9df;
  --cream-3:     #e5d9c8;
  --white:       #ffffff;
  --ink:         #1a1510;
  --ink-2:       #2e2620;
  --ink-3:       #4a3f33;
  --gold:        #9a7a3a;
  --gold-light:  #c4a26a;
  --gold-pale:   rgba(154,122,58,.12);
  --gold-line:   rgba(154,122,58,.25);
  --serif:       'Cormorant Garamond', Georgia, serif;
  --sans:        'Montserrat', system-ui, sans-serif;
  --ease:        cubic-bezier(0.16,1,0.3,1);
  --ease-back:   cubic-bezier(0.34,1.56,0.64,1);
  --nav-h:       88px;
  --gold-gradient: linear-gradient(135deg, #9a7a3a 0%, #c4a26a 50%, #9a7a3a 100%);
  --bg:           var(--cream);
  --muted:        var(--ink-3);
  --gold-dim:     var(--gold-line);
}

/* ═══════════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html.lenis { scroll-behavior: auto; }
html { background: var(--cream); overflow-x: hidden; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (hover: hover) { body { cursor: url('../images/cursor-key.png') 10 5, auto; } }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: none; background: none; }
@media (hover: hover) { button { cursor: url('../images/cursor-key.png') 10 5, pointer; } }

/* Focus visible for keyboard navigation */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Skip to content */
.skip-link {
  position: fixed; top: -100%; left: 16px; z-index: 100001;
  background: var(--gold); color: var(--white);
  padding: 12px 24px; font-size: 13px; font-weight: 500;
  letter-spacing: .06em; text-decoration: none;
  border-radius: 0 0 4px 4px;
  transition: top .3s var(--ease);
}
.skip-link:focus { top: 0; }

/* Screen reader only */
.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;
}

/* Scrollbar */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ═══════════════════════════════════════════════════════
   PRELOADER
═══════════════════════════════════════════════════════ */
#preloader {
  position: fixed; inset: 0; z-index: 100000;
  background: linear-gradient(135deg, #f8f4ee 0%, #f5f0e8 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px;
  transition: opacity .8s ease, visibility .8s;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
.pre-logo-wrap { display: flex; flex-direction: column; align-items: center; }
.pre-logo {
  height: 140px; width: auto;
  opacity: 0;
}
.pre-bar-wrap { width: 160px; height: 1px; background: rgba(154,122,58,.2); position: relative; overflow: hidden; }
.pre-bar { height: 100%; width: 0%; background: var(--gold); transition: width .1s linear; }
.pre-count {
  font-family: var(--serif); font-size: 64px; font-weight: 300;
  color: rgba(154,122,58,.3); letter-spacing: -.02em;
  position: absolute; bottom: 28px; right: clamp(24px,5vw,72px);
}

/* ═══════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(12px,3vw,48px);
  transition: background .6s, border-color .6s, box-shadow .6s;
  background: rgba(248,244,238,.96);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--gold-line);
  box-shadow: 0 4px 40px rgba(26,21,16,.06);
}
.nav.scrolled {
  background: rgba(248,244,238,.96);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--gold-line);
  box-shadow: 0 4px 40px rgba(26,21,16,.06);
}
.nav-logo { height: 72px; width: auto; transition: filter .4s; }
.nav.scrolled .nav-logo { filter: none; }
.nav-logo-svg { display: flex; align-items: center; gap: 12px; }
.nav-logo-txt {
  font-family: var(--serif); font-size: 18px; font-weight: 400;
  letter-spacing: .06em; color: var(--ink);
  transition: color .4s;
}
.nav-links { display: flex; gap: 36px; list-style: none; }
@media (max-width: 960px) { .nav-links { display: none; } }
.nav-links a {
  font-size: 9.5px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--ink-3);
  transition: color .25s;
  position: relative;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.is-active { color: var(--gold); }
.nav-links a.is-active::after { transform: scaleX(1); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 9px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
  background: var(--gold); color: var(--white);
  padding: 12px 28px; border-radius: 1px;
  transition: background .25s, transform .2s, box-shadow .25s;
}
.nav-cta:hover { background: var(--ink); transform: translateY(-1px); box-shadow: 0 10px 32px rgba(26,21,16,.2); }

/* Hamburger Toggle */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  width: 44px; height: 44px; justify-content: center; align-items: center;
  background: none; border: none; cursor: pointer; z-index: 1002;
  padding: 0;
}
.nav-toggle-bar {
  display: block; width: 22px; height: 1.5px; background: var(--white);
  transition: transform .3s var(--ease), opacity .2s, background .3s;
  transform-origin: center;
}
.nav.scrolled .nav-toggle-bar { background: var(--ink); }
.nav-toggle.active .nav-toggle-bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.active .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.active .nav-toggle-bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
}

/* Mobile Nav Overlay */
.nav-overlay {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(26,21,16,.6);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}
.nav-overlay.active { opacity: 1; visibility: visible; }

/* Mobile Nav Links */
@media (max-width: 960px) {
  .nav-links {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(320px, 85vw); z-index: 1001;
    flex-direction: column; gap: 0;
    background: var(--ink);
    padding: 100px 40px 40px;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    display: flex !important;
    box-shadow: -20px 0 60px rgba(0,0,0,.3);
  }
  .nav-links.active { transform: translateX(0); }
  .nav-links li { border-bottom: 1px solid rgba(154,122,58,.1); }
  .nav-links a {
    display: block; padding: 18px 0;
    font-size: 13px; letter-spacing: .18em;
    color: rgba(248,244,238,.8);
  }
  .nav-links a:hover { color: var(--gold); }
  .nav-links a::after { display: none; }
}

/* ═══════════════════════════════════════════════════════
   01. HERO FULLSCREEN — VIDEO + THREE.JS PARTICLES
═══════════════════════════════════════════════════════ */
#hero {
  position: relative; width: 100%; height: 100vh; overflow: hidden;
  background: linear-gradient(135deg, #f8f4ee 0%, #f5f0e8 100%);
}
#hero img {
  position: absolute; top: 0; left: 0; width: 100%; height: auto;
}
#hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 200px; z-index: 2;
  background: linear-gradient(to top, var(--cream) 0%, transparent 100%);
  pointer-events: none;
}
#hero-canvas {
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
}
#hero-video {
  position: absolute; top: -10%; left: 0; width: 100%; height: 120%;
  object-fit: cover; z-index: 0;
}
#hero-img-fallback {
  position: absolute; top: -10%; left: 0; width: 100%; height: 120%;
  object-fit: cover; z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to top,
    rgba(26,21,16,.98) 0%,
    rgba(26,21,16,.75) 40%,
    rgba(26,21,16,.45) 100%
  ),
  linear-gradient(
    to right,
    rgba(26,21,16,.55) 0%,
    transparent 60%
  );
}
.hero-grain {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: .12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 300px; mix-blend-mode: overlay;
}
/* Líneas verticales arquitectónicas */
.hero-vlines {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  display: flex; justify-content: space-between;
  padding: 0 clamp(60px,10vw,160px);
}
.hero-vline {
  width: 1px; height: 100%;
  background: linear-gradient(to bottom, transparent 0%, rgba(154,122,58,.2) 20%, rgba(154,122,58,.2) 80%, transparent 100%);
}

.hero-inner {
  position: relative; z-index: 5;
  padding: 0 clamp(28px,7vw,120px);
  padding-bottom: clamp(40px,8vh,100px);
  max-width: 920px;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
  opacity: 0; transform: translateY(20px);
}
.hero-kicker-line { width: 32px; height: 1px; background: var(--gold); }
.hero-kicker-txt { font-size: 9px; letter-spacing: .36em; text-transform: uppercase; color: var(--gold); }
.hero-h1 {
  font-family: var(--serif);
  font-size: clamp(40px,5.5vw,80px);
  font-weight: 300; line-height: .95;
  color: #fdf9f3;
  margin-bottom: 14px;
  text-shadow: 0 2px 40px rgba(0,0,0,.5), 0 0 80px rgba(0,0,0,.3);
  opacity: 0; transform: translateY(40px);
}
.hero-h1 em { font-style: italic; color: var(--gold-light); }
.hero-rule {
  width: 0; height: 2px;
  background: var(--gold-gradient);
  margin-bottom: 20px;
}
.hero-logo {
  height: clamp(100px,15vw,220px); width: auto;
  opacity: 0; transform: translateY(30px);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: clamp(13px,1.2vw,16px); font-weight: 300;
  color: rgba(253,249,243,.85); line-height: 1.8;
  max-width: 420px; margin-bottom: 28px;
  text-shadow: 0 1px 12px rgba(0,0,0,.3);
  opacity: 0; transform: translateY(20px);
}
.hero-btns {
  display: flex; gap: 16px; flex-wrap: wrap;
  opacity: 0; transform: translateY(20px);
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500;
  background: var(--gold); color: var(--white);
  padding: 16px 40px; border-radius: 1px;
  transition: background .3s, transform .25s, box-shadow .3s;
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: var(--white); opacity: 0;
  transition: opacity .3s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 48px rgba(154,122,58,.35); background: var(--ink); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; font-weight: 400;
  border: 1px solid rgba(253,249,243,.3); color: rgba(253,249,243,.85);
  padding: 15px 40px; border-radius: 1px;
  transition: border-color .3s, color .3s, transform .25s;
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

/* Hero stats (derecha) */
.hero-stats {
  position: absolute; right: clamp(28px,7vw,120px); bottom: clamp(72px,12vh,140px);
  z-index: 5; display: flex; flex-direction: column; gap: 32px;
  opacity: 0;
}
@media (max-width: 1024px) {
  .hero-stats {
    position: absolute; right: auto; left: 50%; bottom: 24px;
    transform: translateX(-50%);
    flex-direction: row; gap: 24px;
  }
  .hero-stat-n { font-size: 32px; }
  .hero-stat-l { font-size: 7px; }
}
@media (max-width: 480px) {
  .hero-stats { gap: 16px; bottom: 16px; }
  .hero-stat-n { font-size: 24px; }
}
.hero-stat-n {
  font-family: var(--serif); font-size: 52px; font-weight: 300;
  line-height: 1; color: var(--gold);
  display: block;
}
.hero-stat-l { font-size: 8.5px; letter-spacing: .26em; text-transform: uppercase; color: rgba(253,249,243,.6); margin-top: 4px; }
.hero-stat-bar { width: 24px; height: 1px; background: rgba(154,122,58,.4); margin-bottom: 6px; }

/* Scroll indicator */
.hero-scroll-hint {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 10px;
  opacity: 0;
}
.scroll-needle { width: 1px; height: 56px; background: linear-gradient(to bottom, var(--gold), transparent); animation: needlePulse 2.6s ease-in-out infinite; }
@keyframes needlePulse {
  0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}
.scroll-lbl { font-size: 7.5px; letter-spacing: .36em; text-transform: uppercase; color: rgba(253,249,243,.55); }

/* Progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 10001;
  background: transparent;
}
.scroll-progress-fill { height: 100%; width: 0%; background: var(--gold-gradient); }

/* ═══════════════════════════════════════════════════════
   SECCIÓN BASE — TOKENS COMPARTIDOS
═══════════════════════════════════════════════════════ */
.wrap { max-width: 1380px; margin: 0 auto; padding: 0 clamp(24px,5vw,80px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 16px;
  font-size: 9.5px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 20px;
}
.eyebrow::before, .eyebrow::after { content: ''; display: block; width: 28px; height: 1px; background: var(--gold); }
.sec-pad { padding: clamp(80px,13vh,180px) 0; }

/* ═══════════════════════════════════════════════════════
   PAGE HERO — imagen cabecera en páginas internas
═══════════════════════════════════════════════════════ */
.page-hero {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: var(--ink);
}
.page-hero img {
  width: 100%;
  height: auto;
  display: block;
}

/* ═══════════════════════════════════════════════════════
   02. PRESENTACIÓN DEL PROYECTO
═══════════════════════════════════════════════════════ */
#presentacion { background: var(--white); }
.pres-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(56px,8vw,140px); align-items: center;
}
@media (max-width: 860px) { .pres-grid { grid-template-columns: 1fr; } }
.pres-overnum {
  font-family: var(--serif); font-size: clamp(120px,18vw,260px);
  font-weight: 700; line-height: 1; color: var(--cream-3);
  user-select: none; display: block; margin-bottom: -48px;
}
.pres-headline {
  font-family: var(--serif); font-size: clamp(40px,5vw,68px);
  font-weight: 400; line-height: 1.08; color: var(--ink); margin-bottom: 28px;
}
.pres-headline em { font-style: italic; color: var(--gold); }
.pres-body { font-size: 15px; color: var(--ink-3); line-height: 2; margin-bottom: 20px; }
.pres-pillars { margin-top: 52px; border-top: 1px solid rgba(26,21,16,.08); }
.pillar {
  display: flex; gap: 22px; align-items: flex-start;
  padding: 26px 0; border-bottom: 1px solid rgba(26,21,16,.08);
}
.pillar-num {
  font-family: var(--serif); font-size: 12px; color: var(--gold);
  flex-shrink: 0; padding-top: 3px; min-width: 24px;
}
.pillar-title { font-family: var(--serif); font-size: 20px; font-weight: 500; color: var(--ink); margin-bottom: 5px; }
.pillar-text { font-size: 13px; color: var(--ink-3); line-height: 1.8; }

/* Imagen columna derecha */
.pres-img-col { position: relative; }
.pres-img-frame {
  aspect-ratio: 3/4; overflow: hidden; border-radius: 2px;
  background: var(--cream-2); position: relative;
}
.pres-img-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 6s ease; }
.pres-img-frame:hover img { transform: scale(1.04); }
/* Escena CSS si no hay imagen */
.pres-img-scene {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #2a2018 0%, #1a1510 60%, #0e0c0a 100%);
  display: flex; align-items: center; justify-content: center;
}
.pres-img-scene::before {
  content: ''; position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 60%, rgba(154,122,58,.18) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 30%, rgba(154,122,58,.10) 0%, transparent 50%);
}
.pres-quote {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
  background: rgba(248,244,238,.92); backdrop-filter: blur(16px);
  border: 1px solid rgba(26,21,16,.08); padding: 20px 24px; border-radius: 2px;
}
.pres-quote p { font-family: var(--serif); font-size: 16px; font-style: italic; color: var(--ink); line-height: 1.55; }
.pres-quote span { display: block; font-size: 8.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-top: 8px; }
.pres-gold-bar { position: absolute; top: 36px; right: -4px; width: 3px; height: 50%; background: linear-gradient(to bottom, var(--gold), transparent); }
@media (max-width: 860px) { .pres-gold-bar { display: none; } }

/* ═══════════════════════════════════════════════════════
   03. GALERÍA INMERSIVA CON PARALLAX
═══════════════════════════════════════════════════════ */
#galeria {
  background: var(--ink);
  overflow: hidden;
  position: relative;
}
.galeria-header { padding: clamp(80px,13vh,180px) 0 60px; }
.galeria-headline {
  font-family: var(--serif); font-size: clamp(40px,5.5vw,80px);
  font-weight: 300; line-height: 1.05; color: rgba(248,244,238,.9);
}
.galeria-headline em { font-style: italic; color: var(--gold-light); }

/* Grid galería */
.galeria-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 6px;
  padding-bottom: clamp(80px,13vh,180px);
}
@media (max-width: 860px) {
  .galeria-grid { grid-template-columns: 1fr 1fr; }
  .galeria-main { grid-column: 1 / -1; }
}
@media (max-width: 540px) { .galeria-grid { grid-template-columns: 1fr; } }

.gal-item { position: relative; overflow: hidden; border-radius: 2px; }
.galeria-main { grid-row: 1 / 3; }
.galeria-main .gal-inner { height: 100%; min-height: 560px; }
.gal-inner {
  position: relative; overflow: hidden;
  background: var(--cream-2);
}
.gal-inner::after {
  content: ''; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to top, rgba(26,21,16,.7) 0%, transparent 50%);
  opacity: 0; transition: opacity .5s var(--ease);
}
.gal-item:hover .gal-inner::after { opacity: 1; }
.gal-scene { /* Escena CSS generativa como placeholder premium */
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.gal-img { width: 100%; height: 100%; object-fit: cover; transition: transform 8s ease; display: block; }
.gal-item:hover .gal-img { transform: scale(1.06); }

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 25px hsla(40,46%,42%,.25), 0 0 60px hsla(40,46%,42%,.12), 0 0 100px hsla(40,46%,42%,.06); }
  50%      { box-shadow: 0 0 40px hsla(40,46%,42%,.40), 0 0 90px hsla(40,46%,42%,.18), 0 0 150px hsla(40,46%,42%,.10); }
}
.gal-item {
  transition: box-shadow .4s var(--ease);
}
.gal-item:hover {
  animation: glow-pulse 2.5s ease-in-out infinite;
}

/* Colores de escena premium para cada galería slot */
.gal-scene-1 {
  background: linear-gradient(135deg, #1a2535 0%, #0e1720 50%, #1a3045 100%);
}
.gal-scene-1::before {
  content: ''; position: absolute; inset: 0;
  background: url('assets/images/Residencias_de_Lujo_Costa_Blanca· Altea_1.png') center/cover no-repeat;
  opacity: .85;
 }
.gal-scene-2 {
  background: url('assets/images/Tarjeta_02_Yates_y_Embarcaciones.png') center/cover no-repeat;
}
.gal-scene-2::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(26,21,16,.25);
}
.gal-scene-3 {
  background: url('assets/images/luxury_interior.png') center/cover no-repeat;
}
.gal-scene-3::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(26,21,16,.2);
}
.gal-scene-4 {
  background: url('assets/images/Piscinas_Jardines_Exteriores_premium.png') center/cover no-repeat;
}
.gal-scene-4::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(26,21,16,.2);
}
.gal-scene-5 {
  background: url('assets/images/Espacios_Corporativos.png') center/cover no-repeat;
}
.gal-scene-5::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(26,21,16,.2);
}

/* Etiqueta hover */
.gal-label {
  position: absolute; bottom: 20px; left: 20px; z-index: 4;
  opacity: 0; transform: translateY(10px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.gal-item:hover .gal-label { opacity: 1; transform: translateY(0); }
.gal-label-txt { font-family: var(--serif); font-size: 18px; font-weight: 400; color: #fdf9f3; display: block; }
.gal-label-sub { font-size: 8.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); margin-top: 3px; display: block; }

/* ═══════════════════════════════════════════════════════
   04. BENEFICIOS EXCLUSIVOS
═══════════════════════════════════════════════════════ */
#beneficios { background: var(--cream); }
.beneficios-intro {
  text-align: center; max-width: 680px; margin: 0 auto clamp(72px,10vh,120px);
}
.beneficios-headline {
  font-family: var(--serif); font-size: clamp(40px,5vw,70px);
  font-weight: 400; line-height: 1.05; color: var(--ink);
}
.beneficios-headline em { font-style: italic; color: var(--gold); }
.beneficios-sub { font-size: 15px; color: var(--ink-3); line-height: 1.9; margin-top: 20px; }

.beneficios-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
@media (max-width: 860px) { .beneficios-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .beneficios-grid { grid-template-columns: 1fr; } }

.ben-card {
  padding: clamp(36px,5vw,60px) clamp(28px,4vw,48px);
  background: var(--white);
  position: relative; overflow: hidden;
  transition: background .4s, transform .3s var(--ease), box-shadow .3s;
}
.ben-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gold-gradient); transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.ben-card:hover::before { transform: scaleX(1); }
.ben-card:hover { background: #fdfbf8; transform: translateY(-4px); box-shadow: 0 12px 40px rgba(26,21,16,.08); }
.ben-num {
  font-family: var(--serif); font-size: 72px; font-weight: 700;
  color: var(--cream-3); line-height: 1; display: block;
  margin-bottom: 20px; user-select: none;
  transition: color .4s;
}
.ben-card:hover .ben-num { color: var(--cream-2); }
.ben-icon {
  width: 36px; height: 36px; margin-bottom: 20px;
  stroke: var(--gold); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.ben-title { font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--ink); margin-bottom: 12px; }
.ben-text { font-size: 13.5px; color: var(--ink-3); line-height: 1.85; }
.ben-tag {
  display: inline-block; margin-top: 20px;
  font-size: 8.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--gold-line);
  padding: 5px 12px; border-radius: 1px;
}

/* ═══════════════════════════════════════════════════════
   05. UBICACIÓN — MAPA INTERACTIVO
═══════════════════════════════════════════════════════ */
#ubicacion { background: var(--white); }
.ubicacion-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(48px,7vw,120px); align-items: center;
}
@media (max-width: 860px) { .ubicacion-grid { grid-template-columns: 1fr; } }

.ubicacion-headline {
  font-family: var(--serif); font-size: clamp(40px,5vw,68px);
  font-weight: 400; line-height: 1.1; color: var(--ink); margin-bottom: 24px;
}
.ubicacion-headline em { font-style: italic; color: var(--gold); }
.ubicacion-body { font-size: 15px; color: var(--ink-3); line-height: 1.95; margin-bottom: 40px; }
.ubicacion-items { display: flex; flex-direction: column; gap: 0; }
.ubicacion-item {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 24px 0; border-bottom: 1px solid rgba(26,21,16,.08);
}
.ubicacion-item:last-child { border-bottom: none; }
.ubic-icon { width: 18px; height: 18px; flex-shrink: 0; stroke: var(--gold); fill: none; stroke-width: 1.5; stroke-linecap: round; margin-top: 2px; }
.ubic-label { font-size: 9px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 3px; }
.ubic-val { font-family: var(--serif); font-size: 18px; color: var(--ink); }

/* Mapa CSS — estilo cinematográfico */
.mapa-wrap {
  position: relative; border-radius: 2px; overflow: hidden;
  aspect-ratio: 1;
  background: #1a2535;
  box-shadow: 0 40px 120px rgba(26,21,16,.2);
}
.mapa-iframe {
  width: 100%; height: 100%; border: none;
  filter: saturate(.6) contrast(1.1) brightness(.85) sepia(.15);
  transition: filter .5s;
}
.mapa-wrap:hover .mapa-iframe { filter: saturate(.8) contrast(1.05) brightness(.9) sepia(.08); }
.mapa-overlay-pin {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  z-index: 2; pointer-events: none;
}
.mapa-pin-outer {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(154,122,58,.15);
  display: flex; align-items: center; justify-content: center;
  animation: pinPulse 2.4s ease-in-out infinite;
}
@keyframes pinPulse {
  0%, 100% { transform: scale(1); opacity: .8; }
  50% { transform: scale(1.2); opacity: 1; }
}
.mapa-pin-inner {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(154,122,58,.3);
}
.mapa-badge {
  position: absolute; top: 20px; left: 20px;
  background: rgba(248,244,238,.95); backdrop-filter: blur(16px);
  padding: 14px 20px; border-radius: 2px;
  border: 1px solid rgba(154,122,58,.2);
}
.mapa-badge-title { font-family: var(--serif); font-size: 15px; color: var(--ink); }
.mapa-badge-sub { font-size: 8.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-top: 3px; }

/* ═══════════════════════════════════════════════════════
   06. AMENIDADES PREMIUM — STATS BAND
═══════════════════════════════════════════════════════ */
#amenidades {
  background: var(--ink);
  position: relative; overflow: hidden;
}
.amenidades-grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px;
}
.amenidades-header {
  text-align: center; max-width: 660px; margin: 0 auto clamp(60px,9vh,100px);
}
.amenidades-headline {
  font-family: var(--serif); font-size: clamp(40px,5vw,70px);
  font-weight: 300; color: rgba(248,244,238,.9); line-height: 1.05;
}
.amenidades-headline em { font-style: italic; color: var(--gold-light); }
.amenidades-sub { font-size: 14px; color: rgba(248,244,238,.4); line-height: 1.9; margin-top: 16px; }

.amenidades-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 0;
  border: 1px solid rgba(154,122,58,.12);
}
@media (max-width: 860px) { .amenidades-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .amenidades-grid { grid-template-columns: 1fr; } }

.amen-item {
  padding: clamp(36px,5vw,64px) clamp(24px,4vw,44px);
  border-right: 1px solid rgba(154,122,58,.12);
  text-align: center;
  transition: background .4s;
  position: relative; overflow: hidden;
}
.amen-item:last-child { border-right: none; }
@media (max-width: 860px) {
  .amen-item:nth-child(2n) { border-right: none; }
  .amen-item:nth-child(1), .amen-item:nth-child(2) { border-bottom: 1px solid rgba(154,122,58,.12); }
}
.amen-item::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(154,122,58,.08) 0%, transparent 60%);
  opacity: 0; transition: opacity .5s;
}
.amen-item:hover::before { opacity: 1; }
.amen-n {
  font-family: var(--serif); font-size: clamp(52px,6vw,80px); font-weight: 300;
  line-height: 1; color: var(--gold); display: block; margin-bottom: 10px;
}
.amen-label { font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: rgba(248,244,238,.55); }
.amen-icon {
  width: 28px; height: 28px; margin: 0 auto 16px;
  stroke: rgba(154,122,58,.5); fill: none; stroke-width: 1.5; stroke-linecap: round;
}

/* Servicios detalle */
.servicios-strip {
  margin-top: 2px;
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 2px;
}
@media (max-width: 860px) { .servicios-strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .servicios-strip { grid-template-columns: 1fr; } }
.svc-strip-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(154,122,58,.08);
  padding: clamp(28px,4vw,44px);
  position: relative;
  transition: background .4s, border-color .4s, transform .3s var(--ease), box-shadow .3s;
}
.svc-strip-card:hover { background: rgba(154,122,58,.06); border-color: rgba(154,122,58,.2); transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,0,0,.15); }
.svc-strip-num { font-size: 9px; letter-spacing: .22em; color: var(--gold); display: block; margin-bottom: 14px; }
.svc-strip-title { font-family: var(--serif); font-size: 20px; font-weight: 400; color: rgba(248,244,238,.88); margin-bottom: 10px; }
.svc-strip-desc { font-size: 12.5px; color: rgba(248,244,238,.55); line-height: 1.8; }
.svc-strip-arrow {
  position: absolute; bottom: 24px; right: 24px;
  width: 28px; height: 28px;
  border: 1px solid rgba(154,122,58,.2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 14px;
  transition: background .3s, border-color .3s, transform .3s;
}
.svc-strip-card:hover .svc-strip-arrow { background: var(--gold); border-color: var(--gold); color: var(--white); transform: rotate(45deg); }

/* ═══════════════════════════════════════════════════════
   07. RESIDENCIAS DESTACADAS
═══════════════════════════════════════════════════════ */
#residencias { background: var(--cream); }
.residencias-headline {
  font-family: var(--serif); font-size: clamp(40px,5.5vw,80px);
  font-weight: 300; line-height: 1.05; color: var(--ink); margin-bottom: 8px;
}
.residencias-headline em { font-style: italic; color: var(--gold); }
.residencias-sub { font-size: 14px; color: var(--ink-3); margin-bottom: clamp(52px,8vh,100px); max-width: 440px; line-height: 1.9; }

.residencias-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: clamp(16px,2vw,28px);
}
@media (max-width: 860px) { .residencias-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .residencias-grid { grid-template-columns: 1fr; } }

.res-card {
  position: relative; border-radius: 2px; overflow: hidden;
  background: var(--cream-2);
  transition: transform .5s var(--ease), box-shadow .5s;
}
.res-card:hover { transform: translateY(-10px); box-shadow: 0 32px 80px rgba(26,21,16,.12); }
.res-card-photo { aspect-ratio: 3/4; position: relative; overflow: hidden; }
.res-card-scene {
  position: absolute; inset: 0; width: 100%; height: 100%;
  background-size: cover; background-position: center;
  transition: transform 6s ease;
}
.res-card:hover .res-card-scene { transform: scale(1.05); }
.res-scene-a { background: linear-gradient(155deg, #1a2535 0%, #0e1520 40%, #0a3a5a 100%); }
.res-scene-a::before {
  content: ''; position: absolute; inset: 0;
  background: url('assets/images/hero_luxury_villa.png') center/cover no-repeat;
  opacity: .6;
}
.res-scene-b {
  background: url('assets/images/Tarjeta_02_Yates_y_Embarcaciones.png') center/cover no-repeat;
}
.res-scene-b::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(26,21,16,.35);
}
.res-scene-c {
  background: url('assets/images/luxury_salon_staircase.png') center/cover no-repeat;
}
.res-scene-c::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(26,21,16,.3);
}
.res-card-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to top, rgba(26,21,16,.9) 0%, rgba(26,21,16,.3) 50%, transparent 100%);
}
.res-card-body {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
  padding: 28px;
}
.res-card-tag { font-size: 8.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-light); display: block; margin-bottom: 8px; }
.res-card-title { font-family: var(--serif); font-size: 22px; font-weight: 400; color: #fdf9f3; line-height: 1.2; }
.res-card-detail { font-size: 12.5px; color: rgba(253,249,243,.55); margin-top: 6px; line-height: 1.5; }
.res-card-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 8.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-light); margin-top: 16px;
  opacity: 0; transform: translateY(8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.res-card:hover .res-card-cta { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════════════
   08. TESTIMONIOS / RECONOCIMIENTOS
═══════════════════════════════════════════════════════ */
#testimonios {
  background: transparent;
  position: relative; overflow: hidden;
}
.testimonios-video {
  position: absolute; top: -10%; left: 0; width: 100%; height: 120%;
  object-fit: cover; z-index: 0; pointer-events: none;
}
.testimonios-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(26,21,16,.92) 0%, rgba(26,21,16,.6) 50%, rgba(26,21,16,.8) 100%);
}
.testimonios-bg-text {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  font-family: var(--serif); font-size: clamp(100px,20vw,340px); font-weight: 700;
  color: rgba(248,244,238,.04); line-height: 1; white-space: nowrap;
  pointer-events: none; user-select: none;
}
.testimonios-header { text-align: center; margin-bottom: clamp(60px,9vh,100px); position: relative; z-index: 2; }
.testimonios-headline {
  font-family: var(--serif); font-size: clamp(40px,5vw,70px);
  font-weight: 400; color: #fdf9f3;
}
.testimonios-headline em { font-style: italic; color: var(--gold-light); }

.testimonios-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: clamp(20px,3vw,36px);
  position: relative; z-index: 2;
}
@media (max-width: 860px) { .testimonios-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .testimonios-grid { grid-template-columns: 1fr; } }

.testi-card {
  background: rgba(26,21,16,.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: clamp(32px,4vw,48px);
  border-radius: 2px;
  border: 1px solid rgba(248,244,238,.08);
  position: relative;
  transition: border-color .4s, transform .4s var(--ease), box-shadow .4s;
}
.testi-card:hover { border-color: rgba(154,122,58,.35); transform: translateY(-6px); box-shadow: 0 24px 64px rgba(0,0,0,.3); }
.testi-stars {
  display: flex; gap: 4px; margin-bottom: 20px;
}
.testi-star { color: var(--gold); font-size: 14px; }
.testi-quote-mark {
  font-family: var(--serif); font-size: 72px; font-weight: 700; line-height: .5;
  color: rgba(154,122,58,.15); margin-bottom: 12px; display: block;
}
.testi-text { font-family: var(--serif); font-size: 16px; font-style: italic; color: rgba(248,244,238,.85); line-height: 1.7; margin-bottom: 24px; }
.testi-divider { width: 32px; height: 1px; background: var(--gold); margin-bottom: 16px; }
.testi-author { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(248,244,238,.6); font-weight: 500; }
.testi-location { font-size: 10px; color: var(--gold); letter-spacing: .12em; margin-top: 3px; }

/* Badge reconocimiento */
.reconocimiento-band {
  margin-top: clamp(60px,9vh,100px);
  padding: clamp(36px,5vw,56px);
  background: linear-gradient(135deg, var(--ink) 0%, #2a2018 100%);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  flex-wrap: wrap;
  position: relative; z-index: 2;
}
.recono-text { font-family: var(--serif); font-size: clamp(22px,3vw,36px); font-weight: 300; color: rgba(248,244,238,.9); line-height: 1.3; }
.recono-text strong { color: var(--gold-light); font-weight: 400; }
.recono-badges { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.recono-badge {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  width: 80px; text-align: center;
}
.recono-badge-n { font-family: var(--serif); font-size: 32px; font-weight: 300; color: var(--gold); }
.recono-badge-l { font-size: 8px; letter-spacing: .2em; text-transform: uppercase; color: rgba(248,244,238,.55); }
.recono-divider { width: 1px; height: 60px; background: rgba(154,122,58,.2); }

/* ═══════════════════════════════════════════════════════
   09. FORMULARIO DE CONTACTO
═══════════════════════════════════════════════════════ */
#contacto { background: var(--cream-2); position: relative; overflow: hidden; }
.contacto-key-wrap {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  pointer-events: none; z-index: 0;
}
.contacto-key-bg {
  height: min(500px,80vh); opacity: .04; pointer-events: none; user-select: none;
}
.contacto-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(56px,8vw,140px); align-items: start;
  position: relative; z-index: 2;
}
@media (max-width: 860px) { .contacto-grid { grid-template-columns: 1fr; } }

.contacto-intro .eyebrow { margin-bottom: 20px; }
.contacto-headline {
  font-family: var(--serif); font-size: clamp(40px,5vw,72px);
  font-weight: 400; line-height: 1.05; color: var(--ink); margin-bottom: 24px;
}
.contacto-headline em { font-style: italic; color: var(--gold); }
.contacto-body { font-size: 15px; color: var(--ink-3); line-height: 2; margin-bottom: 44px; }
.contacto-items { display: flex; flex-direction: column; gap: 0; }
.contacto-item {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 22px 0; border-bottom: 1px solid rgba(26,21,16,.08);
}
.contacto-item:last-child { border-bottom: none; }
.c-icon { width: 18px; height: 18px; flex-shrink: 0; stroke: var(--gold); fill: none; stroke-width: 1.5; stroke-linecap: round; margin-top: 2px; }
.c-label { font-size: 9px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 3px; }
.c-val { font-family: var(--serif); font-size: 17px; color: var(--ink); }
.c-val a:hover { color: var(--gold); transition: color .2s; }

/* Formulario */
.form-premium {
  background: var(--white);
  padding: clamp(36px,5vw,60px);
  border-radius: 2px;
  border: 1px solid rgba(26,21,16,.08);
  box-shadow: 0 24px 80px rgba(26,21,16,.06);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 20px; }
.form-label {
  display: block; font-size: 8.5px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 8px; font-weight: 500;
}
.form-input, .form-select, .form-textarea {
  width: 100%; font-family: var(--sans); font-size: 14px;
  color: var(--ink); background: var(--cream);
  border: 1px solid rgba(26,21,16,.12);
  border-radius: 1px; padding: 14px 18px;
  transition: border-color .3s, box-shadow .3s, background .3s;
  outline: none;
  appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(154,122,58,.08);
}
.form-input:invalid:not(:placeholder-shown), .form-select:invalid:not(:placeholder-shown), .form-textarea:invalid:not(:placeholder-shown) {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192,57,43,.1);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--ink-3); opacity: .4; }
.form-textarea { resize: none; height: 120px; line-height: 1.7; }
.form-select-wrap { position: relative; }
.form-select-wrap::after {
  content: '›'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%) rotate(90deg);
  color: var(--gold); font-size: 18px; pointer-events: none;
}
.form-submit {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--sans); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500;
  background: var(--gold); color: var(--white);
  padding: 18px 40px; border-radius: 1px;
  cursor: pointer; transition: background .3s, transform .2s, box-shadow .3s;
  margin-top: 8px;
}
.form-submit:hover { background: var(--ink); transform: translateY(-2px); box-shadow: 0 16px 48px rgba(26,21,16,.2); }
.form-submit svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.form-note { font-size: 11px; color: var(--ink-3); opacity: .55; text-align: center; margin-top: 12px; }
.form-error {
  font-size: 11px; color: #c0392b; margin-top: 6px;
  display: none; line-height: 1.4;
}
.form-error.visible { display: block; }
.form-input.error, .form-select.error, .form-textarea.error {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192,57,43,.1);
}
.form-submit.loading { pointer-events: none; opacity: .7; }
.form-spinner {
  display: none; width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff; border-radius: 50%;
  animation: formSpin .7s linear infinite;
}
.form-submit.loading .form-spinner { display: inline-block; }
.form-submit.loading .form-submit-text { display: none; }
@keyframes formSpin { to { transform: rotate(360deg); } }

/* ═══════════════════════════════════════════════════════
   CTA FINAL
═══════════════════════════════════════════════════════ */
#cta-final {
  background: var(--ink);
  position: relative; overflow: hidden;
  text-align: center;
}
.cta-bg-pattern {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 30% 60%, rgba(154,122,58,.08) 0%, transparent 55%),
              radial-gradient(ellipse at 70% 30%, rgba(154,122,58,.06) 0%, transparent 50%);
}
.cta-inner { position: relative; z-index: 2; }
.cta-rule { width: 48px; height: 1px; background: var(--gold); margin: 0 auto 32px; }
.cta-headline {
  font-family: var(--serif); font-size: clamp(44px,7vw,100px);
  font-weight: 300; line-height: 1.02; color: rgba(248,244,238,.92); margin-bottom: 24px;
}
.cta-headline em { font-style: italic; color: var(--gold-light); }
.cta-sub { font-size: 16px; color: rgba(248,244,238,.45); max-width: 400px; margin: 0 auto 56px; line-height: 1.9; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-wa {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
  background: var(--gold); color: var(--white);
  padding: 18px 44px; border-radius: 1px;
  transition: background .3s, transform .2s, box-shadow .3s;
}
.btn-wa:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 16px 48px rgba(154,122,58,.35); }
.btn-wa svg { width: 20px; height: 20px; fill: var(--white); flex-shrink: 0; }
.btn-tel {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase; font-weight: 400;
  border: 1.5px solid rgba(248,244,238,.2); color: rgba(248,244,238,.8);
  padding: 17px 44px; border-radius: 1px;
  transition: border-color .3s, color .3s, transform .2s;
}
.btn-tel:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

/* ═══════════════════════════════════════════════════════
   10. FOOTER
═══════════════════════════════════════════════════════ */
footer {
  background: var(--ink);
  border-top: 1px solid rgba(154,122,58,.1);
  padding: clamp(48px,6vh,72px) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; gap: 36px; } }

.footer-brand { max-width: 280px; }
.footer-logo-wrap { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo { height: 60px; width: auto; filter: brightness(0) invert(1); opacity: .35; }
.footer-logo-txt { font-family: var(--serif); font-size: 22px; font-weight: 400; letter-spacing: .06em; color: rgba(248,244,238,.85); }
.footer-tagline { font-size: 13px; color: rgba(248,244,238,.5); line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social-link {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(154,122,58,.2);
  color: rgba(248,244,238,.6);
  transition: border-color .25s, color .25s, background .25s;
}
.footer-social-link:hover { border-color: var(--gold); color: var(--gold); background: rgba(154,122,58,.08); }

.footer-col-title {
  font-family: var(--serif); font-size: 16px; font-weight: 400;
  letter-spacing: .04em; color: rgba(248,244,238,.9);
  margin-bottom: 18px;
}
.footer-col-links { list-style: none; }
.footer-col-links li { margin-bottom: 10px; }
.footer-col-links a, .footer-col-links span {
  font-size: 13px; color: rgba(248,244,238,.5);
  transition: color .2s, padding-left .2s; line-height: 1.6;
}
.footer-col-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact li { display: flex; align-items: center; gap: 8px; }
.footer-contact svg { flex-shrink: 0; color: rgba(154,122,58,.5); }

.footer-bottom {
  border-top: 1px solid rgba(154,122,58,.1);
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 12px; color: rgba(248,244,238,.55); }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal-link {
  font-size: 11px; color: rgba(248,244,238,.55);
  letter-spacing: .04em; transition: color .2s;
}
.footer-legal-link:hover { color: var(--gold); }
@media (max-width: 540px) {
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }
}

/* ═══════════════════════════════════════════════════════
   COOKIE BANNER
═══════════════════════════════════════════════════════ */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 900;
  background: rgba(26,21,16,.96);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(154,122,58,.15);
  padding: 20px clamp(20px,5vw,80px);
  transform: translateY(100%);
  transition: transform .5s var(--ease);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cookie-text { font-size: 13px; color: rgba(248,244,238,.7); line-height: 1.6; flex: 1; min-width: 200px; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500;
  padding: 10px 24px; border-radius: 2px; cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.cookie-accept {
  background: var(--gold); color: var(--white); border: 1px solid var(--gold);
}
.cookie-accept:hover { background: var(--gold-light); border-color: var(--gold-light); }
.cookie-info {
  background: transparent; color: rgba(248,244,238,.6);
  border: 1px solid rgba(154,122,58,.25);
  text-decoration: none;
}
.cookie-info:hover { border-color: var(--gold); color: var(--gold); }
.cookie-decline {
  background: transparent; color: rgba(248,244,238,.5);
  border: 1px solid rgba(154,122,58,.2);
}
.cookie-decline:hover { border-color: rgba(248,244,238,.4); color: rgba(248,244,238,.8); }

/* ═══════════════════════════════════════════════════════
   LEGAL MODALS
═══════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(26,21,16,.7);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden;
  transition: opacity .35s, visibility .35s;
}
.modal-overlay.active { opacity: 1; visibility: visible; }

.modal {
  position: fixed; top: 50%; left: 50%; z-index: 2001;
  width: min(640px, 90vw); max-height: 80vh;
  background: var(--white); border-radius: 4px;
  padding: 40px; overflow-y: auto;
  transform: translate(-50%, -50%) scale(.95);
  opacity: 0; visibility: hidden;
  transition: transform .35s var(--ease), opacity .35s, visibility .35s;
  box-shadow: 0 24px 80px rgba(0,0,0,.3);
}
.modal.active { transform: translate(-50%, -50%) scale(1); opacity: 1; visibility: visible; }
.modal h2 {
  font-family: var(--serif); font-size: 28px; font-weight: 400;
  color: var(--ink); margin-bottom: 24px; letter-spacing: .02em;
}
.modal h3 {
  font-family: var(--sans); font-size: 14px; font-weight: 600;
  color: var(--ink); margin: 20px 0 8px; letter-spacing: .02em;
}
.modal p, .modal li {
  font-size: 13px; color: var(--ink-3); line-height: 1.8;
}
.modal ul { padding-left: 18px; margin: 8px 0; }
.modal li { margin-bottom: 6px; }
.modal-close {
  position: absolute; top: 16px; right: 20px;
  font-size: 28px; color: var(--ink-3); background: none; border: none;
  cursor: pointer; line-height: 1;
  min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center;
  padding: 8px;
  transition: color .2s;
}
.modal-close:hover { color: var(--gold); }
.sitemap-list { list-style: none; padding: 0; }
.sitemap-list li { margin-bottom: 12px; }
.sitemap-list a { font-size: 14px; color: var(--ink-3); transition: color .2s; }
.sitemap-list a:hover { color: var(--gold); }

/* Botón Volver Arriba */
.scroll-to-top {
  position: fixed; bottom: 96px; right: 28px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--gold);
  border: none;
  color: var(--white);
  cursor: pointer;
  opacity: 0; pointer-events: none;
  transition: opacity .25s var(--ease), transform .2s var(--ease-back), box-shadow .25s, background .2s;
  box-shadow: 0 8px 32px rgba(154,122,58,.4);
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
  min-width: 56px; min-height: 56px;
  padding: 0;
}
.scroll-to-top svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  flex-shrink: 0;
}
.scroll-to-top::before {
  content: '';
  display: none;
}
.scroll-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  animation: scale-in-spring .4s var(--ease-back);
}
@keyframes scale-in-spring {
  from { opacity: 0; transform: scale(0.5) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.scroll-to-top:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 40px rgba(154,122,58,.5);
  background: var(--ink);
}
.scroll-to-top:active {
  transform: translateY(-2px) scale(0.95);
  box-shadow: 0 6px 20px rgba(154,122,58,.35);
}
.scroll-to-top::after {
  content: '';
  position: absolute;
  width: 100%; height: 100%;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  opacity: 0;
  transition: opacity .2s;
  pointer-events: none;
}
.scroll-to-top:active::after {
  opacity: 1;
  animation: ripple-expand .4s ease-out;
}
@keyframes ripple-expand {
  from { transform: scale(1); opacity: 0.8; }
  to { transform: scale(1.5); opacity: 0; }
}
.scroll-to-top-tooltip {
  position: absolute; bottom: 70px; right: 0;
  background: var(--ink); color: var(--gold-light);
  padding: 8px 12px; border-radius: 4px;
  font-size: 12px; letter-spacing: .08em;
  white-space: nowrap; opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
  z-index: 1000;
}
.scroll-to-top:hover .scroll-to-top-tooltip {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .scroll-to-top {
    transition: opacity .1s linear;
  }
  .scroll-to-top:hover {
    transform: none;
  }
  .scroll-to-top:active {
    transform: none;
  }
  .scroll-to-top::after {
    display: none;
  }
}

/* WhatsApp flotante */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 500;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 32px rgba(154,122,58,.4);
  transition: transform .25s var(--ease-back), box-shadow .25s;
  cursor: none;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 14px 44px rgba(154,122,58,.5); }
.wa-float svg { width: 28px; height: 28px; fill: var(--white); }
.wa-tooltip {
  position: absolute; right: 68px; white-space: nowrap;
  background: var(--ink); color: rgba(248,244,238,.9);
  font-size: 11px; letter-spacing: .08em; padding: 8px 14px;
  border-radius: 2px; opacity: 0;
  transform: translateX(10px);
  transition: opacity .3s, transform .3s;
  pointer-events: none;
}
.wa-float:hover .wa-tooltip { opacity: 1; transform: translateX(0); }

/* ═══════════════════════════════════════════════════════
   UTILIDADES DE ANIMACIÓN GSAP
═══════════════════════════════════════════════════════ */
.fade-up { opacity: 0; transform: translateY(40px); }
.fade-in { opacity: 0; }
.slide-left { opacity: 0; transform: translateX(-40px); }
.slide-right { opacity: 0; transform: translateX(40px); }
.scale-in { opacity: 0; transform: scale(.96); }
.clip-reveal { clip-path: inset(0 100% 0 0); }

/* ── Parallax depth layers ── */
.parallax-layer { will-change: transform; }
.parallax-slow { will-change: transform; }
.parallax-fast { will-change: transform; }
.parallax-bg {
  position: absolute; inset: 0; z-index: 0;
  will-change: transform; pointer-events: none;
}
.parallax-fg {
  position: relative; z-index: 2;
  will-change: transform;
}
.parallax-section { position: relative; overflow: hidden; }

/* ── Spring-like reveal ── */
.reveal-mask {
  overflow: hidden; display: inline-block;
  vertical-align: top;
}
.reveal-text { display: inline-block; will-change: transform; }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE GENERAL
═══════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .hero-stats { display: none; }
  .presentacion-grid { grid-template-columns: 1fr; }
  .ubicacion-grid { grid-template-columns: 1fr; }
  .contacto-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero-h1 { font-size: clamp(32px,6vw,52px); }
  .hero-sub { font-size: 14px; max-width: 100%; }
  .hero-btns { flex-direction: column; }
  .hero-btns a { width: 100%; justify-content: center; }
  .beneficios-grid { grid-template-columns: 1fr; }
  .amenidades-grid { grid-template-columns: 1fr 1fr; }
  .servicios-strip { grid-template-columns: 1fr; }
  .residencias-grid { grid-template-columns: 1fr; }
  .testimonios-grid { grid-template-columns: 1fr; }
  .recono-badges { justify-content: center; }
  .sec-pad { padding: clamp(56px,10vh,100px) 0; }
  .form-row { grid-template-columns: 1fr; }
  .modal { padding: 28px; width: 95vw; }
  .modal h2 { font-size: 22px; }
}
@media (max-width: 540px) {
  .hero-h1 { font-size: clamp(28px,8vw,42px); }
  .amenidades-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cookie-inner { flex-direction: column; text-align: center; }
  .cookie-actions { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
