/* ==========================================================================
   AJ Nova Investment — hoja de estilos principal
   Paleta: dorado (código Rolex #A37E2C) y blanco · Tipografía: Playfair Display
   ========================================================================== */

/* ---------- Fuentes alojadas en el propio servidor (sin llamadas a Google) */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/jost-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/jost-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/playfair-display-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/playfair-display-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/playfair-display-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/playfair-display-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens */
:root {
  --gold: #A37E2C;           /* dorado corporativo */
  --gold-ink: #85661F;       /* dorado para texto pequeño sobre blanco (AA) */
  --gold-light: #C9A55A;     /* dorado sobre fondos oscuros */
  --gold-pale: #E9DCBC;
  --gold-grad: linear-gradient(110deg, #8C6A22 0%, #C9A55A 38%, #A37E2C 62%, #E2C98C 100%);
  --ink: #15130F;
  --ink-soft: #4A453C;
  --ink-mute: #6F685D;
  --white: #FFFFFF;
  --ivory: #FAF7F1;
  --sand: #F1EADD;
  --line: rgba(21, 19, 15, .12);
  --line-strong: rgba(21, 19, 15, .26);
  --night: #0E0D0B;
  --night-2: #16140F;
  --line-dark: rgba(255, 255, 255, .14);
  --error: #A3372C;

  --serif: 'Playfair Display', 'Times New Roman', Georgia, serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;

  --fs-display: clamp(2.75rem, 1.35rem + 5.6vw, 7.25rem);
  --fs-h2: clamp(2.2rem, 1.45rem + 3.3vw, 5rem);
  --fs-h3: clamp(1.75rem, 1.25rem + 2vw, 3.4rem);
  --fs-h4: clamp(1.35rem, 1.2rem + .55vw, 1.75rem);
  --fs-lead: clamp(1.125rem, 1.04rem + .4vw, 1.375rem);
  --fs-body: clamp(1rem, .97rem + .12vw, 1.0625rem);
  --fs-micro: .75rem;

  --gutter: clamp(1.25rem, .55rem + 3.3vw, 5rem);
  --section: clamp(6rem, 3.5rem + 9vw, 12.5rem);
  --header-h: 92px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --logo-accent: var(--gold);

  --z-header: 50;
  --z-menu: 45;
  --z-cookie: 80;
  --z-lightbox: 90;
  --z-loader: 100;
  --z-cursor: 120;
}
@media (max-width: 767px) { :root { --header-h: 74px; } }

/* ---------- Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong { font-weight: 500; }
::selection { background: var(--gold); color: var(--white); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
[hidden] { display: none !important; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 1rem; top: 1rem; z-index: 200; padding: .8rem 1.2rem;
  background: var(--gold); color: var(--white); font-size: .8rem; letter-spacing: .14em;
  text-transform: uppercase; transform: translateY(-200%); transition: transform .3s;
}
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: 1560px; margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--section); }

.icon { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Tipografía */
.display, .h2, .h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.018em; line-height: 1.04; }
.display { font-size: var(--fs-display); line-height: .98; letter-spacing: -.022em; }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); line-height: 1.08; }
.display em, .h2 em, .h3 em { font-style: italic; color: var(--gold); }
.on-dark .display em, .on-dark .h2 em, .on-dark .h3 em { color: var(--gold-light); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 1rem;
  font-family: var(--sans); font-size: var(--fs-micro); font-weight: 500;
  letter-spacing: .32em; text-transform: uppercase; color: var(--gold-ink); line-height: 1.4;
}
.eyebrow::before { content: ""; width: 2.75rem; height: 1px; background: currentColor; transform-origin: left; flex: none; }
.on-dark .eyebrow { color: var(--gold-light); }

.lead { font-family: var(--serif); font-size: var(--fs-lead); line-height: 1.65; color: var(--ink-soft); }
.on-dark .lead { color: rgba(255, 255, 255, .78); }

/* Líneas enmascaradas para las animaciones de texto */
.split-line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.split-line > span { display: block; }

/* ---------- Botones y enlaces */
.btn {
  --btn-bg: transparent; --btn-fg: var(--ink); --btn-border: var(--line-strong);
  --btn-fill: var(--ink); --btn-fg-hover: var(--white);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .9rem;
  min-height: 58px; padding: 0 2.1rem;
  border: 1px solid var(--btn-border); background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--sans); font-size: .76rem; font-weight: 500; letter-spacing: .22em;
  text-transform: uppercase; white-space: nowrap; line-height: 1;
  transition: color .6s var(--ease-out), border-color .6s var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; background: var(--btn-fill);
  transform: translateY(101%); border-radius: 50% 50% 0 0 / 40% 40% 0 0;
  transition: transform .75s var(--ease-out), border-radius .75s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); border-radius: 0; }
.btn:hover, .btn:focus-visible { color: var(--btn-fg-hover); border-color: var(--btn-fill); }
.btn .icon { width: 1.15rem; height: 1.15rem; transition: transform .6s var(--ease-out); }
.btn:hover .icon { transform: translateX(4px); }
.btn--gold { --btn-bg: var(--gold); --btn-fg: var(--white); --btn-border: var(--gold); --btn-fill: var(--night); }
.btn--ghost { --btn-fg: var(--white); --btn-border: rgba(255, 255, 255, .5); --btn-fill: var(--white); --btn-fg-hover: var(--ink); backdrop-filter: blur(4px); }
.btn--dark { --btn-bg: var(--ink); --btn-fg: var(--white); --btn-border: var(--ink); --btn-fill: var(--gold); }
.btn--line-light { --btn-fg: var(--white); --btn-border: rgba(255, 255, 255, .3); --btn-fill: var(--gold); }
.btn--sm { min-height: 46px; padding: 0 1.2rem; font-size: .68rem; letter-spacing: .18em; }
.btn__spinner {
  position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px;
  border: 1px solid currentColor; border-right-color: transparent; border-radius: 50%; opacity: 0;
}
.btn.is-loading { pointer-events: none; }
.btn.is-loading .btn__label, .btn.is-loading .icon { opacity: 0; }
.btn.is-loading .btn__spinner { opacity: 1; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.link-arrow {
  display: inline-flex; align-items: center; gap: .8rem;
  font-size: .74rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  padding-block: .4rem;
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px;
  transition: background-size .6s var(--ease-out);
}
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow .icon { width: 1.1rem; height: 1.1rem; transition: transform .6s var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* Efecto de rodillo para enlaces del menú */
.roll { position: relative; display: inline-block; overflow: hidden; vertical-align: top; }
.roll > span { display: block; transition: transform .7s var(--ease-out); }
.roll > span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; }
a:hover > .roll > span, a:focus-visible > .roll > span { transform: translateY(-100%); }

/* ---------- Preloader */
.loader {
  position: fixed; inset: 0; z-index: var(--z-loader);
  display: none; place-items: center; background: var(--night); color: var(--white);
}
html.js .loader { display: grid; }
.loader__inner { display: grid; justify-items: center; }
.loader__logo { width: clamp(190px, 20vw, 250px); }
.loader__logo .logo-svg { width: 100%; height: auto; overflow: visible; }
.loader__progress { width: 150px; height: 1px; margin-top: 2.6rem; background: rgba(255, 255, 255, .12); overflow: hidden; }
.loader__progress span { display: block; height: 100%; background: var(--gold-light); transform: scaleX(0); transform-origin: left; }
.loader.is-done { pointer-events: none; }

/* ---------- Cursor personalizado (solo escritorio) */
.cursor { position: fixed; left: 0; top: 0; z-index: var(--z-cursor); pointer-events: none; display: none; }
html.has-cursor .cursor { display: block; }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--gold); transition: opacity .3s, transform .3s; }
.cursor__ring {
  width: 42px; height: 42px; margin: -21px 0 0 -21px;
  border: 1px solid rgba(163, 126, 44, .6); display: grid; place-items: center;
  transition: width .55s var(--ease-out), height .55s var(--ease-out), margin .55s var(--ease-out), background-color .4s, border-color .4s, opacity .3s;
}
.cursor__label { font-family: var(--sans); font-size: .6rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .3s; white-space: nowrap; }
.cursor.is-hover .cursor__ring { width: 66px; height: 66px; margin: -33px 0 0 -33px; background: rgba(163, 126, 44, .08); }
.cursor.is-view .cursor__ring { width: 106px; height: 106px; margin: -53px 0 0 -53px; background: rgba(250, 247, 241, .94); border-color: transparent; }
.cursor.is-view .cursor__label { opacity: 1; }
.cursor.is-view .cursor__dot { opacity: 0; }
.cursor.is-hidden .cursor__dot, .cursor.is-hidden .cursor__ring { opacity: 0; }
html.has-cursor body, html.has-cursor a, html.has-cursor button, html.has-cursor label, html.has-cursor [data-cursor] { cursor: none; }
html.has-cursor input, html.has-cursor textarea, html.has-cursor select { cursor: auto; }

/* Grano de película muy sutil */
.grain {
  position: fixed; inset: -100px; z-index: 115; pointer-events: none; opacity: .045;
  background: url('../img/brand/noise.png') repeat; background-size: 180px;
}
@media (prefers-reduced-motion: no-preference) { .grain { animation: grain 1.1s steps(5) infinite; } }
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-40px, 30px); } 40% { transform: translate(30px, -50px); }
  60% { transform: translate(-25px, -20px); } 80% { transform: translate(45px, 25px); } 100% { transform: translate(0, 0); }
}

/* ---------- Cabecera */
.header {
  position: fixed; inset: 0 0 auto; z-index: var(--z-header); height: var(--header-h);
  color: var(--white); transition: transform .8s var(--ease-out), color .5s;
}
.header::before {
  content: ""; position: absolute; inset: 0; opacity: 0;
  background: rgba(255, 255, 255, .84); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  transition: opacity .5s, background-color .5s, border-color .5s;
}
.header.is-scrolled::before { opacity: 1; }
.header.is-scrolled { color: var(--ink); }
.header.is-scrolled.is-dark::before { background: rgba(14, 13, 11, .74); border-color: var(--line-dark); }
.header.is-scrolled.is-dark { color: var(--white); }
.header.is-hidden { transform: translateY(-101%); }
.header.menu-open { color: var(--white); transform: none; }
.header.menu-open::before { opacity: 0; }
.header__inner { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.header__logo { display: block; width: clamp(148px, 11.5vw, 180px); flex: none; }
.header__logo .logo-svg { width: 100%; height: auto; overflow: visible; }
.nav { position: relative; display: none; }
.nav__list { display: flex; gap: clamp(1.5rem, 2.4vw, 3rem); }
.nav__link {
  position: relative; display: block; padding: .7rem 0;
  font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  opacity: .78; transition: opacity .4s;
}
.nav__link:hover, .nav__link.is-active { opacity: 1; }
.nav__indicator { position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--gold-light); opacity: 0; pointer-events: none; }
.header.is-scrolled:not(.is-dark) .nav__indicator { background: var(--gold); }
.header__actions { display: flex; align-items: center; gap: 1.25rem; }
.lang { display: flex; align-items: center; gap: .5rem; font-size: .7rem; font-weight: 500; letter-spacing: .18em; }
.lang a { opacity: .5; padding: .5rem .1rem; transition: opacity .3s; }
.lang a:hover, .lang a[aria-current="page"] { opacity: 1; }
.lang span { opacity: .35; }
.header__cta { display: none; }
.burger { position: relative; width: 46px; height: 46px; display: grid; place-content: center; gap: 8px; }
.burger span { display: block; width: 28px; height: 1px; background: currentColor; margin-left: auto; transition: transform .7s var(--ease-out), width .7s var(--ease-out); }
.burger span:nth-child(2) { width: 18px; }
.burger:hover span:nth-child(2) { width: 28px; }
.burger.is-active span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.burger.is-active span:nth-child(2) { width: 28px; transform: translateY(-4.5px) rotate(-45deg); }
@media (min-width: 1120px) {
  .nav { display: block; }
  .burger { display: none; }
}
@media (min-width: 1360px) { .header__cta { display: inline-flex; } }

/* ---------- Menú móvil */
.menu {
  position: fixed; inset: 0; z-index: var(--z-menu); display: flex; flex-direction: column;
  background: var(--night); color: var(--white);
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2rem;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path 1s var(--ease-in-out), visibility 0s 1s;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 1s var(--ease-in-out); }
.menu__list { border-top: 1px solid var(--line-dark); }
.menu__list li { overflow: hidden; border-bottom: 1px solid var(--line-dark); }
.menu__link {
  display: flex; align-items: baseline; gap: 1.25rem; padding: 1.15rem 0;
  font-family: var(--serif); font-size: clamp(2rem, 1.2rem + 4.5vw, 3.6rem); line-height: 1.1;
  transform: translateY(105%); transition: transform 1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms + 250ms);
}
.menu.is-open .menu__link { transform: none; }
.menu__link small { font-family: var(--sans); font-size: .7rem; letter-spacing: .2em; color: var(--gold-light); }
.menu__foot {
  margin-top: auto; padding-top: 2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  font-size: .85rem; color: rgba(255, 255, 255, .65); opacity: 0; transition: opacity .6s .6s;
}
.menu.is-open .menu__foot { opacity: 1; }
.menu__foot a { color: var(--white); }

/* ---------- Hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--night); color: var(--white);
}
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media img, .hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { opacity: 0; transition: opacity 1.4s var(--ease-in-out); }
.hero__video.is-active { opacity: 1; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 13, 11, .58) 0%, rgba(14, 13, 11, .06) 30%, rgba(14, 13, 11, .1) 52%, rgba(14, 13, 11, .82) 100%),
    linear-gradient(90deg, rgba(14, 13, 11, .66) 0%, rgba(14, 13, 11, .34) 42%, rgba(14, 13, 11, 0) 72%);
}
.hero__content { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(6.5rem, 5rem + 4vw, 9rem); }
.hero__eyebrow { margin-bottom: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); color: var(--gold-light); }
.hero__title {
  font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 1rem + 4.6vw, 6.5rem);
  line-height: 1.02; letter-spacing: -.022em; max-width: 15ch;
}
.hero__title em { font-style: italic; color: var(--gold-light); }
.hero__lead { max-width: 36rem; margin-top: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); font-family: var(--serif); font-size: var(--fs-lead); line-height: 1.6; color: rgba(255, 255, 255, .84); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: clamp(2rem, 1.5rem + 1.5vw, 3rem); }
.hero__bottom { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; }
.hero__bottom .container { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; padding-bottom: 1.6rem; }
.hero__scroll { display: flex; align-items: center; gap: 1rem; font-size: .66rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; }
.hero__scroll i { position: relative; width: 1px; height: 54px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 45%; background: var(--gold-light); animation: scrollLine 2.4s var(--ease-in-out) infinite; }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 100% { transform: translateY(240%); } }
.hero__note { font-size: .68rem; letter-spacing: .04em; color: rgba(255, 255, 255, .62); text-align: right; max-width: 22rem; }
.hero__places { position: absolute; z-index: 2; right: var(--gutter); top: 50%; transform: translateY(-50%); display: none; }
.hero__places li { display: flex; align-items: center; justify-content: flex-end; gap: .9rem; padding: .7rem 0; font-size: .68rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.hero__places li span { font-family: var(--serif); font-style: italic; letter-spacing: 0; text-transform: none; font-size: .95rem; color: var(--gold-light); }
.hero__places li::after { content: ""; width: 2rem; height: 1px; background: rgba(255, 255, 255, .35); }
@media (min-width: 1200px) { .hero__places { display: block; } }
@media (max-width: 599px) { .hero__note { display: none; } .hero__ctas .btn { flex: 1 1 100%; } }

/* ---------- Cabeceras de sección */
.section-head { display: grid; gap: 2rem; margin-bottom: clamp(3.5rem, 2rem + 5vw, 7.5rem); }
.section-head .eyebrow { margin-bottom: clamp(1.25rem, 1rem + 1vw, 2rem); }
@media (min-width: 1024px) {
  .section-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 5rem; }
  .section-head .lead { padding-bottom: .5rem; }
}

/* ---------- Beneficios para compradores */
.benefits { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.benefit {
  position: relative; isolation: isolate;
  padding: clamp(2.25rem, 1.75rem + 2vw, 3.5rem) clamp(1.25rem, .8rem + 1.6vw, 2.75rem) clamp(2.5rem, 2rem + 2vw, 3.75rem);
  border-bottom: 1px solid var(--line);
}
.benefit::before {
  content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease-out);
}
.benefit::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ivory); opacity: 0; transition: opacity .6s; }
.benefit:hover::before { transform: scaleX(1); }
.benefit:hover::after { opacity: 1; }
.benefit__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.benefit__num { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--gold-ink); }
.benefit__icon { width: 46px; height: 46px; color: var(--gold); stroke-width: 1.1; transition: transform 1s var(--ease-out); }
.benefit:hover .benefit__icon { transform: translateY(-4px) rotate(-4deg); }
.benefit__title { font-family: var(--serif); font-weight: 400; font-size: var(--fs-h4); line-height: 1.2; margin-bottom: 1rem; }
.benefit__text { color: var(--ink-soft); max-width: 36ch; }
@media (min-width: 700px) {
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .benefit { border-right: 1px solid var(--line); }
  .benefit:nth-child(2n) { border-right: 0; }
}
@media (min-width: 1100px) {
  .benefits { grid-template-columns: repeat(3, 1fr); }
  .benefit:nth-child(2n) { border-right: 1px solid var(--line); }
  .benefit:nth-child(3n) { border-right: 0; }
}

/* ---------- Banda: cita + cifras */
.band { position: relative; overflow: hidden; background: var(--night); color: var(--white); }
.band__media { position: absolute; inset: -14% 0; }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band__shade { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 45%, rgba(14, 13, 11, .52) 0%, rgba(14, 13, 11, .86) 100%); }
.band__quote { text-shadow: 0 2px 30px rgba(14, 13, 11, .45); }
.band__inner { position: relative; z-index: 1; padding-block: clamp(7rem, 5rem + 9vw, 14rem) clamp(4rem, 3rem + 4vw, 7rem); text-align: center; }
.band__quote { font-family: var(--serif); font-weight: 400; font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -.015em; max-width: 17ch; margin-inline: auto; }
.band__quote em { color: var(--gold-light); }
.band__emblem { width: 34px; margin: 0 auto 2.25rem; color: var(--gold-light); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem 1rem; margin-top: clamp(4.5rem, 3rem + 5vw, 8rem); padding-top: 3rem; border-top: 1px solid var(--line-dark); }
.stat__value { font-family: var(--serif); font-size: clamp(2.75rem, 2rem + 3vw, 4.75rem); line-height: 1; color: var(--gold-light); font-variant-numeric: lining-nums; }
.stat__label { margin-top: 1rem; font-size: .7rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Villas / proyectos */
.villas-intro { display: grid; gap: 3.5rem; margin-bottom: clamp(4rem, 3rem + 4vw, 8rem); }
.villas-intro .h2 { margin-top: 1.75rem; }
.villas-intro .lead { margin-top: 2rem; max-width: 34rem; }
.villas-intro__links { display: grid; margin-top: 2.75rem; border-top: 1px solid var(--line); max-width: 34rem; }
.villas-intro__links a { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); transition: color .3s, padding .6s var(--ease-out); }
.villas-intro__links a:hover { color: var(--gold-ink); padding-left: .5rem; }
.villas-intro__links strong { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; }
.villas-intro__links span { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); }
@media (min-width: 1024px) { .villas-intro { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; gap: 6rem; } }

/* Mapa de la costa */
.map { position: relative; max-width: 560px; justify-self: center; width: 100%; }
.map svg { width: 100%; height: auto; overflow: visible; }
.map__sea { fill: url(#seaGradient); }
.map__land { fill: var(--sand); }
.map__coast { fill: none; stroke: var(--gold); stroke-width: 1.1; stroke-linejoin: round; }
.map__island { fill: var(--sand); stroke: var(--gold); stroke-width: .8; }
.map__grid line { stroke: rgba(163, 126, 44, .16); stroke-width: .6; stroke-dasharray: 2 5; }
.map__sea-label { font-family: var(--serif); font-style: italic; font-size: 15px; fill: var(--gold-ink); letter-spacing: .04em; }
.map__compass { color: var(--gold); }
.map__pin { cursor: pointer; }
.map__pin .dot { fill: var(--gold); }
.map__pin .halo { fill: none; stroke: var(--gold); stroke-width: 1; transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) { .map.is-live .map__pin .halo { animation: halo 2.6s var(--ease-out) infinite; } }
.map__pin:nth-of-type(2) .halo { animation-delay: .5s !important; }
.map__pin:nth-of-type(3) .halo { animation-delay: 1s !important; }
.map__pin:nth-of-type(4) .halo { animation-delay: 1.5s !important; }
@keyframes halo { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
.map__pin text { font-family: var(--sans); font-size: 10.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; fill: var(--ink); }
.map__pin text tspan.sub { font-family: var(--serif); font-style: italic; font-size: 13px; letter-spacing: 0; text-transform: none; fill: var(--gold-ink); }
.map__pin:hover .dot, .map__pin:focus-visible .dot { fill: var(--ink); }
.map__pin:focus { outline: none; }
.map__pin:focus-visible text { text-decoration: underline; }
.map__office .dot { fill: var(--white); stroke: var(--ink); stroke-width: 1.2; }
.map__office text { font-family: var(--sans); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; fill: var(--ink-mute); }

/* Marquesina */
.marquee { overflow: hidden; white-space: nowrap; border-block: 1px solid var(--line); padding-block: clamp(1.75rem, 1.25rem + 2vw, 3.25rem); margin-bottom: clamp(5rem, 3rem + 6vw, 10rem); user-select: none; }
.marquee__track { display: inline-flex; will-change: transform; }
.marquee__item {
  display: inline-flex; align-items: center; gap: .45em; padding-right: .45em;
  font-family: var(--serif); font-style: italic; font-weight: 400; line-height: 1.05;
  font-size: clamp(3.25rem, 1.8rem + 6.5vw, 9rem); letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1px var(--gold);
}
.marquee__item.is-solid { color: var(--ink); -webkit-text-stroke: 0; font-style: normal; }
.marquee__item svg { width: .32em; height: .32em; fill: var(--gold); flex: none; }

.villa { display: grid; gap: clamp(2.25rem, 1.75rem + 2vw, 4rem); padding-block: clamp(4rem, 3rem + 5vw, 9rem); border-top: 1px solid var(--line); }
.villa:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 1024px) {
  .villa { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(3rem, 1.5rem + 4.5vw, 7.5rem); align-items: center; }
  .villa--flip .villa__media { order: 2; }
}
.villa__stage { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.villa__stage-inner { position: absolute; inset: 0; }
.villa__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.villa__stage img + img { opacity: 0; }
.villa__stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 13, 11, 0) 60%, rgba(14, 13, 11, .45) 100%); pointer-events: none; }
.villa__badge, .villa__count {
  position: absolute; z-index: 2; font-size: .64rem; letter-spacing: .08em; color: rgba(255, 255, 255, .92);
}
.villa__badge { left: 1.1rem; bottom: 1rem; right: 6rem; line-height: 1.4; }
.villa__count { right: 1.1rem; bottom: 1rem; font-family: var(--serif); font-style: italic; font-size: .95rem; letter-spacing: 0; }
.villa__expand {
  position: absolute; z-index: 2; right: 1.1rem; top: 1.1rem; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; color: var(--white); background: rgba(14, 13, 11, .35);
  border: 1px solid rgba(255, 255, 255, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background-color .4s, transform .6s var(--ease-out);
}
.villa__stage:hover .villa__expand { background: var(--gold); border-color: var(--gold); transform: scale(1.06); }
.villa__thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(.4rem, .3rem + .5vw, .8rem); margin-top: clamp(.4rem, .3rem + .5vw, .8rem); }
.villa__thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); opacity: .5; transition: opacity .5s; }
.villa__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.villa__thumb::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--gold); opacity: 0; transition: opacity .4s; }
.villa__thumb:hover { opacity: .85; }
.villa__thumb:hover img { transform: scale(1.08); }
.villa__thumb.is-active { opacity: 1; }
.villa__thumb.is-active::after { opacity: 1; }
.villa__index { display: flex; align-items: center; gap: 1rem; font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--gold-ink); margin-bottom: 1.5rem; }
.villa__index::after { content: ""; width: 3rem; height: 1px; background: var(--line-strong); }
.villa__name { font-family: var(--serif); font-weight: 400; font-size: clamp(2.75rem, 1.7rem + 3.6vw, 5.5rem); line-height: .98; letter-spacing: -.022em; margin: 1.1rem 0 1.25rem; }
.villa__tagline { font-family: var(--serif); font-style: italic; font-size: var(--fs-lead); line-height: 1.45; color: var(--gold-ink); margin-bottom: 1.5rem; }
.villa__desc { color: var(--ink-soft); max-width: 48ch; }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 2.25rem; border-top: 1px solid var(--line); }
.spec { display: flex; align-items: center; gap: .85rem; padding: .95rem 0; border-bottom: 1px solid var(--line); min-width: 0; }
.spec:nth-child(odd) { padding-right: .9rem; }
.spec:nth-child(even) { padding-left: .9rem; border-left: 1px solid var(--line); }
.spec .icon { width: 26px; height: 26px; color: var(--gold); stroke-width: 1.15; }
.spec__value { display: block; font-family: var(--serif); font-size: 1.12rem; line-height: 1.25; }
.spec__label { display: block; font-size: .64rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); line-height: 1.4; }
.villa__price { margin-top: 2.25rem; display: grid; gap: .3rem; }
.villa__price small { font-size: .66rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); }
.villa__price strong { font-family: var(--serif); font-weight: 400; font-size: clamp(1.75rem, 1.4rem + 1.1vw, 2.5rem); line-height: 1.1; }
.villa__price strong span { font-size: .5em; font-style: italic; color: var(--gold-ink); margin-right: .4rem; }
.villa__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; margin-top: 2.25rem; }
.villas__disclaimer { margin-top: clamp(2rem, 1.5rem + 2vw, 4rem); padding-top: 2rem; border-top: 1px solid var(--line); font-size: .78rem; line-height: 1.6; color: var(--ink-mute); max-width: 80ch; }

/* ---------- Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: var(--z-lightbox); display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  background: var(--night); color: var(--white);
  opacity: 0; visibility: hidden; transition: opacity .6s var(--ease-out), visibility 0s .6s;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .6s var(--ease-out); }
.lightbox__top, .lightbox__bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem var(--gutter); }
.lightbox__title { font-family: var(--serif); font-size: clamp(1.1rem, 1rem + .5vw, 1.5rem); }
.lightbox__title span { display: block; font-family: var(--sans); font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-light); }
.lightbox__counter { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: rgba(255, 255, 255, .8); }
.lightbox__close, .lightbox__nav {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; flex: none;
  border: 1px solid var(--line-dark); background: rgba(14, 13, 11, .4);
  transition: border-color .4s, background-color .4s, transform .7s var(--ease-out);
}
.lightbox__close:hover { border-color: var(--gold-light); transform: rotate(90deg); }
.lightbox__nav:hover { border-color: var(--gold-light); background: var(--gold); }
.lightbox__stage { position: relative; overflow: hidden; touch-action: pan-y; }
.lightbox__img { position: absolute; inset: 0; margin: auto; width: calc(100% - 2 * var(--gutter)); height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.lightbox__nav { position: absolute; z-index: 2; top: 50%; margin-top: -27px; }
.lightbox__nav--prev { left: var(--gutter); }
.lightbox__nav--next { right: var(--gutter); }
.lightbox__caption { font-size: .85rem; color: rgba(255, 255, 255, .82); }
.lightbox__note { font-size: .7rem; color: rgba(255, 255, 255, .5); text-align: right; }
@media (max-width: 767px) { .lightbox__nav { top: auto; bottom: -76px; } .lightbox__note { display: none; } }

/* ---------- Formularios */
.form-section { background: var(--ivory); overflow: hidden; }
.form-section__mark { position: absolute; right: -6%; top: 50%; width: min(46vw, 640px); transform: translateY(-50%); opacity: .06; color: var(--gold); pointer-events: none; }
.form-grid { position: relative; display: grid; gap: clamp(3rem, 2rem + 4vw, 6rem); }
@media (min-width: 1024px) { .form-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; } .form-intro { position: sticky; top: calc(var(--header-h) + 3rem); } }
.form-intro .h2 { margin-top: 1.75rem; }
.form-intro .lead { margin-top: 1.75rem; max-width: 32rem; }
.assurances { display: grid; gap: 1.1rem; margin-top: 2.75rem; }
.assurance { display: flex; align-items: center; gap: 1rem; font-size: .95rem; }
.assurance .icon { width: 1.35rem; height: 1.35rem; color: var(--gold); }
.form-card { position: relative; background: var(--white); padding: clamp(1.75rem, 1.2rem + 3vw, 4rem); box-shadow: 0 50px 90px -50px rgba(21, 19, 15, .28); }
.form-card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: var(--gold-grad); }
.form-card__title { font-family: var(--serif); font-size: clamp(1.4rem, 1.2rem + .6vw, 1.8rem); line-height: 1.2; margin-bottom: .5rem; }
.form-card__sub { font-size: .9rem; color: var(--ink-mute); margin-bottom: 2.25rem; }
.fields { display: grid; gap: 1.6rem 2rem; }
@media (min-width: 640px) { .fields { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { position: relative; }
.field__input {
  display: block; width: 100%; appearance: none; -webkit-appearance: none; border: 0; border-radius: 0; outline: none;
  border-bottom: 1px solid var(--line-strong); background: transparent;
  padding: 1.65rem 0 .65rem; font-size: 1.03rem; font-weight: 400; color: var(--ink); line-height: 1.4;
  transition: border-color .3s;
}
.field__input::placeholder { color: transparent; }
textarea.field__input { min-height: 7.5rem; resize: vertical; }
select.field__input {
  padding-right: 2rem; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23A37E2C' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat right .2rem bottom 1.1rem;
}
select.field__input:invalid { color: var(--ink-mute); }
.field__label {
  position: absolute; left: 0; top: 1.6rem; font-size: 1rem; color: var(--ink-mute); pointer-events: none;
  transform-origin: left top; transition: transform .5s var(--ease-out), color .3s, letter-spacing .3s;
}
.field__input:focus ~ .field__label,
.field__input:not(:placeholder-shown) ~ .field__label,
.field--select .field__label {
  transform: translateY(-1.3rem) scale(.76); color: var(--gold-ink); letter-spacing: .06em;
}
.field__line { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out); }
.field__input:focus ~ .field__line { transform: scaleX(1); }
.field__error { display: block; margin-top: .45rem; font-size: .76rem; color: var(--error); line-height: 1.4; }
.field__error:empty { display: none; }
.field.is-invalid .field__input { border-bottom-color: var(--error); }
.field__hint { display: block; margin-top: .4rem; font-size: .74rem; color: var(--ink-mute); }
.checks { display: grid; gap: 1rem; margin-top: 2rem; }
.check { position: relative; display: flex; gap: .9rem; align-items: flex-start; font-size: .85rem; line-height: 1.6; color: var(--ink-soft); cursor: pointer; }
.check input { position: absolute; left: 0; top: .1rem; width: 20px; height: 20px; margin: 0; opacity: 0; }
.check__box { flex: none; width: 20px; height: 20px; margin-top: .12rem; display: grid; place-items: center; border: 1px solid var(--line-strong); transition: background-color .3s, border-color .3s; }
.check__box svg { width: 12px; height: 12px; fill: none; stroke: var(--white); stroke-width: 2; stroke-dasharray: 18; stroke-dashoffset: 18; transition: stroke-dashoffset .45s var(--ease-out) .05s; }
.check input:checked + .check__box { background: var(--gold); border-color: var(--gold); }
.check input:checked + .check__box svg { stroke-dashoffset: 0; }
.check input:focus-visible + .check__box { outline: 2px solid var(--gold); outline-offset: 3px; }
.check a { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; }
.check.is-invalid .check__box { border-color: var(--error); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; margin-top: 2.25rem; }
.form-status { font-size: .88rem; color: var(--error); }
.form-status:empty { display: none; }
.form-legal { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .72rem; line-height: 1.65; color: var(--ink-mute); }
.form-legal strong { font-weight: 500; color: var(--ink-soft); }
.form-legal a { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 2px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-success { display: grid; justify-items: start; gap: 1.25rem; padding-block: 1rem; }
.form-success svg { width: 64px; height: 64px; color: var(--gold); }
.form-success svg circle, .form-success svg path { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.form-success svg circle { stroke-dasharray: 190; stroke-dashoffset: 190; }
.form-success svg path { stroke-dasharray: 40; stroke-dashoffset: 40; }
.form-success.is-shown svg circle { animation: draw 1.2s var(--ease-out) forwards; }
.form-success.is-shown svg path { animation: draw .8s var(--ease-out) .7s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form-success h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); line-height: 1.15; }
.form-success p { color: var(--ink-soft); max-width: 40ch; }

/* Variante oscura (formulario de propietarios) */
.form-section--dark { background: var(--night); color: var(--white); }
.form-section--dark .form-section__mark { opacity: .07; color: var(--gold-light); }
.form-section--dark .form-card { background: var(--night-2); border: 1px solid var(--line-dark); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .6); }
.form-section--dark .form-card__sub, .form-section--dark .form-legal { color: rgba(255, 255, 255, .55); }
.form-section--dark .form-legal { border-top-color: var(--line-dark); }
.form-section--dark .form-legal strong { color: rgba(255, 255, 255, .78); }
.form-section--dark .form-legal a, .form-section--dark .check a { color: var(--gold-light); }
.form-section--dark .field__input { color: var(--white); border-bottom-color: rgba(255, 255, 255, .26); }
.form-section--dark .field__label { color: rgba(255, 255, 255, .58); }
.form-section--dark .field__input:focus ~ .field__label,
.form-section--dark .field__input:not(:placeholder-shown) ~ .field__label,
.form-section--dark .field--select .field__label { color: var(--gold-light); }
.form-section--dark .field__line { background: var(--gold-light); }
.form-section--dark select.field__input option { color: var(--ink); background: var(--white); }
.form-section--dark select.field__input:invalid { color: rgba(255, 255, 255, .58); }
.form-section--dark .check { color: rgba(255, 255, 255, .74); }
.form-section--dark .check__box { border-color: rgba(255, 255, 255, .36); }
.form-section--dark .field__error, .form-section--dark .form-status { color: #E39A8F; }
.form-section--dark .field.is-invalid .field__input { border-bottom-color: #E39A8F; }
.form-section--dark .form-success p { color: rgba(255, 255, 255, .72); }
.form-section--dark .assurance { color: rgba(255, 255, 255, .86); }
.form-section--dark .assurance .icon { color: var(--gold-light); }
.form-section--dark .field__hint { color: rgba(255, 255, 255, .5); }

/* ---------- Gancho para propietarios */
.hook { position: relative; background: var(--night); color: var(--white); overflow: hidden; }
.hook__pin { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.hook__media { position: absolute; inset: 0; opacity: .42; }
.hook__media img { width: 100%; height: 100%; object-fit: cover; }
.hook__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--night) 0%, rgba(14, 13, 11, .35) 28%, rgba(14, 13, 11, .35) 72%, var(--night) 100%); }
.hook__inner { position: relative; z-index: 1; width: 100%; padding-block: clamp(7rem, 5rem + 8vw, 12rem); }
.hook__text { margin-top: 2.25rem; font-family: var(--serif); font-weight: 400; font-size: clamp(2.5rem, 1.25rem + 5.2vw, 7rem); line-height: 1.04; letter-spacing: -.022em; max-width: 15.5ch; }
.hook__text em { font-style: italic; color: var(--gold-light); }
.hook__text .word { display: inline-block; }
.hook__sub { margin-top: clamp(2rem, 1.5rem + 1.5vw, 3rem); max-width: 38rem; font-family: var(--serif); font-size: var(--fs-lead); line-height: 1.6; color: rgba(255, 255, 255, .8); }
.hook__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.75rem; }

/* ---------- Beneficios para propietarios */
.sellers__grid { display: grid; gap: clamp(3rem, 2rem + 4vw, 6rem); }
@media (min-width: 1024px) {
  .sellers__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: start; gap: clamp(3rem, 1.5rem + 5vw, 7.5rem); }
  .compare-wrap { position: sticky; top: calc(var(--header-h) + 2.5rem); }
}
.compare {
  --pos: 50%;
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand);
  user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: ew-resize;
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.compare__after { clip-path: inset(0 0 0 var(--pos)); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 1px; margin-left: -.5px; background: rgba(255, 255, 255, .95); box-shadow: 0 0 12px rgba(0, 0, 0, .25); }
.compare__knob {
  position: absolute; left: 50%; top: 50%; width: 66px; height: 66px; margin: -33px 0 0 -33px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; gap: .55rem;
  background: rgba(255, 255, 255, .94); color: var(--gold); box-shadow: 0 14px 34px rgba(0, 0, 0, .28);
  transition: transform .5s var(--ease-out);
}
.compare__knob .icon { width: .9rem; height: .9rem; stroke-width: 1.6; }
.compare:hover .compare__knob, .compare.is-dragging .compare__knob { transform: scale(1.08); }
.compare:focus-visible { outline-offset: 6px; }
.compare__tag { position: absolute; z-index: 2; top: 1.1rem; padding: .5rem .8rem; font-size: .64rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--white); background: rgba(14, 13, 11, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.compare__tag--before { left: 1.1rem; }
.compare__tag--after { right: 1.1rem; background: var(--gold); }
.compare__caption { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1rem; font-size: .74rem; color: var(--ink-mute); }
.sellers__head .h2 { margin-top: 1.75rem; }
.sellers__head .lead { margin-top: 1.75rem; }
.reasons { margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); border-top: 1px solid var(--line); }
.reason { position: relative; display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: .5rem 1rem; padding: clamp(1.5rem, 1.2rem + 1vw, 2.2rem) 0; border-bottom: 1px solid var(--line); }
.reason::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease-out); }
.reason:hover::after { transform: scaleX(1); }
.reason__num { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--gold-ink); padding-top: .35rem; }
.reason__title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 1.2rem + .8vw, 2rem); line-height: 1.18; transition: transform .7s var(--ease-out), color .4s; }
.reason:hover .reason__title { transform: translateX(.4rem); color: var(--gold-ink); }
.reason__text { grid-column: 2; color: var(--ink-soft); max-width: 46ch; }

/* ---------- Contacto */
.contact { background: var(--ivory); overflow: hidden; }
.contact__grid { display: grid; gap: clamp(3rem, 2rem + 3vw, 5rem); }
@media (min-width: 1024px) { .contact__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 6rem; } }
.contact .h2 { margin-top: 1.75rem; }
.contact__email {
  display: inline-block; margin-top: clamp(2.5rem, 2rem + 2vw, 4rem);
  font-family: var(--serif); font-size: clamp(1.45rem, .75rem + 2.5vw, 3.4rem); line-height: 1.15; letter-spacing: -.01em;
  overflow-wrap: normal; color: var(--ink);
  background: linear-gradient(var(--gold), var(--gold)) no-repeat 0 100% / 0 2px; padding-bottom: .3rem;
  transition: background-size .9s var(--ease-out), color .4s;
}
.contact__email:hover { background-size: 100% 2px; color: var(--gold-ink); }
.contact__cards { display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact__card { display: grid; gap: .5rem; padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.contact__card h3 { font-size: .68rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-ink); }
.contact__card p { font-family: var(--serif); font-size: clamp(1.15rem, 1.05rem + .4vw, 1.4rem); line-height: 1.45; }
.contact__card .link-arrow { justify-self: start; margin-top: .5rem; }

/* ---------- Pie de página */
.footer { position: relative; background: var(--night); color: rgba(255, 255, 255, .7); padding-top: clamp(5rem, 4rem + 4vw, 8rem); overflow: hidden; }
.footer__top { display: grid; gap: 3.25rem; padding-bottom: clamp(3.5rem, 3rem + 2vw, 5rem); }
@media (min-width: 700px) { .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .footer__top { grid-template-columns: minmax(0, 5fr) minmax(0, 2.4fr) minmax(0, 3fr) minmax(0, 2.6fr); } }
.footer__brand img { width: 210px; height: auto; }
.footer__claim { margin-top: 2rem; font-family: var(--serif); font-style: italic; font-size: 1.15rem; line-height: 1.55; color: rgba(255, 255, 255, .84); max-width: 24ch; }
.footer__col h2 { font-family: var(--sans); font-size: .68rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1.5rem; }
.footer__col li + li { margin-top: .75rem; }
.footer__col a, .footer__col button { font-size: .95rem; text-align: left; transition: color .3s; }
.footer__col a:hover, .footer__col button:hover { color: var(--white); }
.footer__col address { font-style: normal; line-height: 1.8; }
.footer__mega {
  font-family: var(--serif); font-size: clamp(4.5rem, 17vw, 17rem); line-height: .78; letter-spacing: -.035em; text-align: center; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(201, 165, 90, .38); user-select: none; padding-top: .1em; margin-bottom: -.06em;
}
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.75rem; border-top: 1px solid var(--line-dark); font-size: .74rem; color: rgba(255, 255, 255, .5); }
.to-top { display: inline-flex; align-items: center; gap: .7rem; font-size: .68rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.to-top span { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; transition: border-color .4s, transform .7s var(--ease-out); }
.to-top:hover span { border-color: var(--gold-light); transform: translateY(-4px); }

/* ---------- Cookies */
.cookie {
  position: fixed; z-index: var(--z-cookie); left: .75rem; right: .75rem; bottom: .75rem; max-width: 470px;
  padding: 1.75rem; background: var(--night); color: rgba(255, 255, 255, .8); border: 1px solid var(--line-dark);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .55);
  transform: translateY(calc(100% + 2rem)); transition: transform 1s var(--ease-out);
}
.cookie.is-visible { transform: none; }
@media (min-width: 640px) { .cookie { left: 1.5rem; bottom: 1.5rem; right: auto; } }
.cookie__title { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; color: var(--white); margin-bottom: .6rem; }
.cookie__text { font-size: .85rem; line-height: 1.6; }
.cookie__text a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.cookie__actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: 1.4rem; }
.cookie__actions .btn { width: 100%; }
.cookie__actions .btn--more { grid-column: 1 / -1; }

.prefs { width: min(580px, calc(100% - 1.5rem)); max-height: calc(100% - 2rem); padding: 0; border: 0; background: var(--white); color: var(--ink); overflow: auto; }
.prefs::backdrop { background: rgba(14, 13, 11, .62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.prefs__inner { padding: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem); }
.prefs__title { font-family: var(--serif); font-weight: 400; font-size: 1.75rem; margin-bottom: .75rem; }
.prefs__intro { font-size: .9rem; color: var(--ink-soft); margin-bottom: 1.5rem; }
.pref { display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; border-top: 1px solid var(--line); }
.pref h3 { font-family: var(--serif); font-weight: 400; font-size: 1.15rem; }
.pref p { font-size: .82rem; color: var(--ink-mute); line-height: 1.55; margin-top: .3rem; }
.switch { position: relative; width: 48px; height: 28px; flex: none; margin-top: .2rem; }
.switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 28px; background: var(--line-strong); transition: background-color .3s; }
.switch span::after { content: ""; position: absolute; left: 4px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); transition: transform .45s var(--ease-out); }
.switch input:checked + span { background: var(--gold); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:disabled { cursor: not-allowed; }
.switch input:disabled + span { opacity: .55; }
.switch input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.prefs__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.prefs__actions .btn { flex: 1 1 auto; }

/* ---------- Páginas legales */
.page-hero { position: relative; background: var(--night); color: var(--white); padding: calc(var(--header-h) + clamp(4rem, 3rem + 5vw, 8rem)) 0 clamp(3.5rem, 2.5rem + 3vw, 5.5rem); overflow: hidden; }
.page-hero .h2 { margin-top: 1.5rem; max-width: 18ch; }
.page-hero__meta { margin-top: 1.75rem; font-size: .82rem; color: rgba(255, 255, 255, .6); }
.page-hero__mark { position: absolute; right: var(--gutter); bottom: -18%; width: clamp(160px, 22vw, 320px); color: var(--gold-light); opacity: .09; }
.legal { padding-block: clamp(4rem, 3rem + 4vw, 7.5rem); }
.legal__grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .legal__grid { grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 6rem; } .legal__toc { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; } }
.legal__toc h2 { font-size: .68rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 1.25rem; }
.legal__toc ol { border-top: 1px solid var(--line); counter-reset: toc; }
.legal__toc li { border-bottom: 1px solid var(--line); counter-increment: toc; }
.legal__toc a { display: flex; gap: .8rem; padding: .7rem 0; font-size: .88rem; line-height: 1.45; color: var(--ink-soft); transition: color .3s, padding .5s var(--ease-out); }
.legal__toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--serif); font-style: italic; color: var(--gold-ink); }
.legal__toc a:hover { color: var(--ink); padding-left: .3rem; }
.legal__body { max-width: 780px; }
.legal__body > p:first-child { font-family: var(--serif); font-size: var(--fs-lead); line-height: 1.6; color: var(--ink); }
.legal__body h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 1.3rem + .8vw, 2.1rem); line-height: 1.2; margin: 3.25rem 0 1.1rem; scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.legal__body h3 { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; margin: 2rem 0 .75rem; }
.legal__body p, .legal__body li { color: var(--ink-soft); }
.legal__body p + p { margin-top: 1rem; }
.legal__body ul { list-style: none; margin: 1rem 0; display: grid; gap: .6rem; }
.legal__body ul li { position: relative; padding-left: 1.4rem; }
.legal__body ul li::before { content: ""; position: absolute; left: 0; top: .78em; width: .55rem; height: 1px; background: var(--gold); }
.legal__body a { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
.legal__body strong { color: var(--ink); }
.legal__table { width: 100%; margin: 1.5rem 0; border-collapse: collapse; font-size: .88rem; }
.legal__table th, .legal__table td { padding: .85rem .75rem .85rem 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal__table th { font-size: .66rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); }
.legal__table-wrap { overflow-x: auto; }
.legal__box { margin: 1.5rem 0; padding: 1.5rem 1.75rem; background: var(--ivory); border-left: 2px solid var(--gold); }
.legal__box p { margin: 0; }
.legal__updated { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .82rem; color: var(--ink-mute); }

/* ---------- Ajustes de logo, cabecera y componentes */
.eyebrow::before { transform: scaleX(var(--eyebrow-scale, 1)); }
.logo-svg .em-arch, .logo-svg .em-horizon, .logo-svg .em-wave { stroke: var(--logo-accent); }
.logo-svg .em-star { fill: var(--logo-accent); }
.header { --logo-accent: var(--gold-light); }
.header.is-scrolled:not(.is-dark) { --logo-accent: var(--gold); }
.loader { --logo-accent: var(--gold-light); }
html.js .loader { animation: loader-failsafe .6s ease 9s forwards; }
@keyframes loader-failsafe { to { opacity: 0; visibility: hidden; } }
.btn--header {
  --btn-fg: currentColor; --btn-border: color-mix(in srgb, currentColor 38%, transparent);
  --btn-fill: var(--gold); --btn-fg-hover: var(--white);
  min-height: 42px; padding: 0 1.25rem; font-size: .66rem;
}
.villa__stage { padding: 0; border: 0; text-align: left; color: inherit; cursor: zoom-in; }
.villa__stage-inner { inset: -7% 0; }
.spec__text { display: flex; flex-direction: column-reverse; min-width: 0; }
.map__grid-labels text, .map__scale text { font-family: var(--sans); font-size: 9px; letter-spacing: .14em; fill: var(--ink-mute); }
.map__compass text { font-family: var(--sans); font-size: 10px; font-weight: 500; fill: var(--gold-ink); }
.map__scale { color: var(--ink-mute); }
.prefs__none { margin-top: 1rem; font-size: .8rem; color: var(--ink-mute); }
/* «clip» (y no «hidden») evita que el foco de un campo desplace la sección en horizontal */
.hero, .band, .form-section, .hook, .contact, .footer, .page-hero { overflow: clip; }

@media (max-width: 767px) {
  .hero__shade { background: linear-gradient(180deg, rgba(14, 13, 11, .55) 0%, rgba(14, 13, 11, .42) 38%, rgba(14, 13, 11, .5) 60%, rgba(14, 13, 11, .88) 100%); }
}
/* Legibilidad del héroe sobre el vídeo */
.hero__title, .hero__lead, .hero__eyebrow { text-shadow: 0 2px 28px rgba(14, 13, 11, .38); }
.hero__places li { text-shadow: 0 1px 14px rgba(14, 13, 11, .75); }
.hero__note { text-shadow: 0 1px 10px rgba(14, 13, 11, .8); }

/* ==========================================================================
   v2 · logo de letras, catálogo, ficha, ventana legal, propietarios, pie y cookies
   ========================================================================== */
.logo-svg .ls { fill: var(--logo-accent); }
.header__logo { width: clamp(132px, 10vw, 158px); }
.loader__logo { width: clamp(210px, 22vw, 290px); }
.marquee__item i { display: inline-block; width: .14em; height: .14em; margin-left: .2em; background: var(--gold); transform: rotate(45deg); flex: none; }
.stat__value small { font-size: .4em; margin-left: .12em; }
.stat__value--word { font-style: italic; }
.benefit__top { justify-content: flex-start; }
.benefit__icon { stroke-dasharray: 260; }

/* Catálogo de viviendas destacadas */
.catalog__grid { display: grid; gap: clamp(2.75rem, 2rem + 2vw, 4.5rem) clamp(1.25rem, 1rem + 1.5vw, 2.75rem); }
@media (min-width: 760px) { .catalog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.prop { position: relative; display: flex; flex-direction: column; min-width: 0; cursor: pointer; }
.prop__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.prop__frame { position: absolute; inset: 0; transition: transform 1.6s var(--ease-out); }
.prop:hover .prop__frame { transform: scale(1.045); }
.prop__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.prop__img--alt { opacity: 0; transition: opacity 1s var(--ease-out); }
.prop:hover .prop__img--alt { opacity: 1; }
.prop__badge, .prop__count {
  position: absolute; z-index: 2; top: 1rem; display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .75rem;
  font-size: .62rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--white);
  background: rgba(14, 13, 11, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.prop__badge { left: 1rem; }
.prop__count { right: 1rem; letter-spacing: .06em; font-size: .72rem; }
.prop__count .icon { width: 15px; height: 15px; }
.prop__body { display: grid; gap: .5rem; padding-top: 1.35rem; }
.prop__place { font-size: .68rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-ink); }
.prop__name { font-family: var(--serif); font-weight: 400; font-size: clamp(1.65rem, 1.3rem + 1vw, 2.3rem); line-height: 1.1; letter-spacing: -.01em; }
.prop__link { color: inherit; text-align: left; }
.prop__link::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.prop__link:focus-visible { outline: none; }
.prop:has(.prop__link:focus-visible) { outline: 2px solid var(--gold); outline-offset: 6px; }
.prop__facts { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .9rem; font-size: .92rem; color: var(--ink-soft); }
.prop__facts li { display: inline-flex; align-items: center; gap: .9rem; }
.prop__facts li + li::before { content: ""; width: 4px; height: 4px; background: var(--gold); transform: rotate(45deg); }
.prop__foot { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: .65rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.prop__price { font-family: var(--serif); font-size: clamp(1.35rem, 1.2rem + .5vw, 1.75rem); line-height: 1.1; }
.prop__price span { font-style: italic; font-size: .6em; color: var(--gold-ink); margin-right: .35rem; }
.prop__more { display: inline-flex; align-items: center; gap: .6rem; font-size: .68rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; }
.prop__more .icon { width: 1rem; height: 1rem; transition: transform .6s var(--ease-out); }
.prop:hover .prop__more .icon { transform: translateX(5px); }
.catalog__more { display: grid; gap: 1.5rem; align-items: center; margin-top: clamp(3.5rem, 2.5rem + 3vw, 6rem); padding: clamp(1.75rem, 1.3rem + 1.8vw, 3rem); background: var(--ivory); border-left: 2px solid var(--gold); }
@media (min-width: 900px) { .catalog__more { grid-template-columns: minmax(0, 1fr) auto; gap: 3rem; } }
.catalog__more-title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 1.3rem + .8vw, 2.15rem); line-height: 1.15; margin-bottom: .6rem; }
.catalog__more p { color: var(--ink-soft); max-width: 62ch; }
.catalog__disclaimer { margin-top: 2rem; font-size: .78rem; line-height: 1.6; color: var(--ink-mute); max-width: 82ch; }

/* Ficha de vivienda */
.pd { position: fixed; inset: 0; z-index: 85; display: grid; place-items: center; padding: clamp(0rem, 2.5vw, 2.5rem); }
.pd__backdrop { position: absolute; inset: 0; background: rgba(14, 13, 11, .74); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pd__panel { position: relative; width: min(1320px, 100%); height: min(880px, 100%); display: grid; grid-template-columns: minmax(0, 1fr); background: var(--white); overflow: auto; overscroll-behavior: contain; }
.pd__close {
  position: absolute; z-index: 4; right: 1rem; top: 1rem; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .94); color: var(--ink); box-shadow: 0 10px 26px rgba(0, 0, 0, .18); transition: transform .6s var(--ease-out);
}
.pd__close:hover { transform: rotate(90deg); }
.pd__gallery { display: flex; flex-direction: column; min-height: 0; background: var(--night); }
.pd__stage { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; padding: 0; border: 0; cursor: zoom-in; }
.pd__main { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pd__counter { position: absolute; left: 1.1rem; bottom: 1rem; font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--white); text-shadow: 0 1px 10px rgba(0, 0, 0, .55); }
.pd__expand { position: absolute; right: 1rem; bottom: 1rem; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--white); background: rgba(14, 13, 11, .45); border: 1px solid rgba(255, 255, 255, .35); }
.pd__thumbs { display: flex; gap: .5rem; padding: .6rem; overflow-x: auto; scrollbar-width: thin; }
.pd__thumb { position: relative; flex: 0 0 auto; width: 96px; aspect-ratio: 4 / 3; padding: 0; border: 0; opacity: .5; transition: opacity .4s; }
.pd__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd__thumb:hover { opacity: .85; }
.pd__thumb.is-active { opacity: 1; }
.pd__thumb.is-active::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--gold-light); }
.pd__info { display: grid; align-content: start; gap: 1.1rem; padding: clamp(1.75rem, 1.3rem + 2vw, 3.25rem); }
.pd__name { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); line-height: 1; letter-spacing: -.02em; }
.pd__tagline { font-family: var(--serif); font-style: italic; font-size: var(--fs-lead); line-height: 1.45; color: var(--gold-ink); }
.pd__desc { color: var(--ink-soft); }
.pd__info .specs, .pd__info .villa__price { margin-top: .4rem; }
.pd__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: .4rem; }
.pd__note { font-size: .74rem; color: var(--ink-mute); }
@media (min-width: 1000px) {
  .pd__panel { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); overflow: hidden; }
  .pd__stage { flex: 1; aspect-ratio: auto; }
  .pd__info { overflow: auto; overscroll-behavior: contain; }
}
@media (max-width: 999px) { .pd { padding: 0; } .pd__panel { height: 100%; } }

/* Ventana de textos legales */
.lp { position: fixed; inset: 0; z-index: 95; display: flex; justify-content: flex-end; }
.lp__backdrop { position: absolute; inset: 0; background: rgba(14, 13, 11, .62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lp__panel { position: relative; width: min(860px, 100%); height: 100%; overflow: auto; overscroll-behavior: contain; background: var(--white); padding: 0 clamp(1.25rem, .9rem + 2.5vw, 3.5rem) 4rem; }
.lp__head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem; margin-bottom: 1.5rem; padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem) 0 1.25rem; background: var(--white); border-bottom: 1px solid var(--line); }
.lp__title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.6rem); line-height: 1.1; margin-top: .6rem; }
.lp__close { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); transition: transform .6s var(--ease-out), border-color .3s; }
.lp__close:hover { transform: rotate(90deg); border-color: var(--gold); }
.lp__body { max-width: none; }
.link-inline { padding: 0; font: inherit; color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; }

/* Gancho para propietarios */
.hook__media { opacity: .3; }
.hook__question { margin-top: 2rem; font-family: var(--serif); font-weight: 400; font-size: clamp(2.8rem, 1.1rem + 6.2vw, 7.8rem); line-height: 1; letter-spacing: -.025em; max-width: 12.5ch; }
.hook__question em { font-style: italic; color: var(--gold-light); }
.hook__question .word { display: inline-block; }
.hook__offer { margin-top: clamp(1.5rem, 1rem + 1.5vw, 2.5rem); font-family: var(--serif); font-style: italic; font-size: clamp(1.45rem, 1.05rem + 1.6vw, 2.8rem); line-height: 1.2; color: var(--white); }
.u-draw { position: relative; display: inline-block; color: var(--gold-light); white-space: nowrap; }
.u-draw svg { position: absolute; left: 0; bottom: -.22em; width: 100%; height: .32em; overflow: visible; }
.u-draw path { fill: none; stroke: var(--gold-light); stroke-width: 2.2; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.u-draw.is-drawn path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.5s var(--ease-out) .15s; }
html:not(.js) .u-draw path { stroke-dashoffset: 0; }
.hook__quote { margin-top: clamp(1.75rem, 1.4rem + 1vw, 2.5rem); max-width: 34rem; font-family: var(--serif); font-size: clamp(1.1rem, 1rem + .45vw, 1.4rem); line-height: 1.55; color: rgba(255, 255, 255, .72); }

/* Argumentos para propietarios (sin numeración) */
.reason { display: block; padding-left: 1.75rem; }
.reason::before { content: ""; position: absolute; left: .1rem; top: calc(clamp(1.5rem, 1.2rem + 1vw, 2.2rem) + .62em); width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.reason__text { margin-top: .5rem; }
.sellers__cta { margin-top: 2.5rem; }

/* Pie compacto */
.footer { padding-top: clamp(3.5rem, 3rem + 2.5vw, 5.5rem); }
.footer__top { gap: 2.5rem; padding-bottom: clamp(2.5rem, 2rem + 1.5vw, 3.5rem); border-bottom: 1px solid var(--line-dark); }
.footer__brand img { width: 190px; height: auto; }
.footer__claim { margin-top: 1.25rem; font-size: 1.02rem; }
.footer__bottom { border-top: 0; padding-block: 1.5rem calc(1.5rem + env(safe-area-inset-bottom, 0px)); }

/* Aviso de cookies: barra inferior con Aceptar / Rechazar */
.cookie, .cookie.is-visible { left: 0; right: 0; bottom: 0; max-width: none; border: 0; }
.cookie { padding: 1.1rem 0 calc(1.1rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line-dark); box-shadow: 0 -24px 60px -24px rgba(0, 0, 0, .45); }
.cookie__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.cookie__text { flex: 1 1 30rem; margin: 0; font-size: .86rem; }
.cookie__actions { display: flex; gap: .6rem; margin-top: 0; }
.cookie__actions .btn { width: auto; min-width: 128px; }

/* ---------- Movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
