/* Apartamentos Nevandi — 2026 */
:root {
  --cream: #F2ECE2;
  --paper: #FAF7F1;
  --sand: #E6DDCF;
  --ink: #1D1A15;
  --ink-2: #3A342C;
  --muted: #6E6558;
  --line: rgba(29, 26, 21, .12);
  --terra: #A5482A;
  --terra-d: #873A21;
  --moss: #26302A;
  --moss-2: #34413A;
  --white: #fff;

  --f-display: "Outfit", "Geist", system-ui, sans-serif;
  --f-serif: "Cormorant Garamond", Georgia, serif;
  --f-body: "Geist", system-ui, -apple-system, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, monospace;

  --r-lg: 28px;
  --r-md: 18px;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
figure { margin: 0; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
::selection { background: var(--terra); color: #fff; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */
.eyebrow {
  font: 500 12px/1 var(--f-mono);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--terra);
  margin: 0 0 22px;
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.eyebrow--light { color: rgba(255,255,255,.85); }
.h2 {
  font: 300 clamp(36px, 5.2vw, 76px)/1.02 var(--f-display);
  letter-spacing: -.035em;
  margin: 0 0 28px;
  text-wrap: balance;
}
.h2 em { font-size: 1.08em; color: var(--terra); }
.h2--light { color: #fff; }
.h2--light em { color: #E9B99A; }
.body { font-size: 17px; line-height: 1.7; color: var(--ink-2); max-width: 56ch; margin: 0 0 18px; }
.body--light { color: rgba(255,255,255,.78); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 24px; border-radius: 999px;
  font: 500 15px/1 var(--f-body);
  transition: background .3s var(--ease), color .3s, transform .3s var(--ease), border-color .3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--terra { background: var(--terra); color: #fff; }
.btn--terra:hover { background: var(--terra-d); }
.btn--ghost { border: 1px solid var(--line); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--outline-light { border: 1px solid rgba(255,255,255,.4); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.round {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--paper);
  transition: background .3s, color .3s, border-color .3s;
}
.round:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.round--light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.3); }

/* ---------- nav ---------- */
.nav {
  position: fixed; z-index: 50; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(1360px, calc(100% - 28px));
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 8px 8px 8px 22px; border-radius: 999px;
  color: #fff;
  transition: background .4s var(--ease), color .4s, box-shadow .4s, backdrop-filter .4s;
}
.nav.is-solid {
  background: rgba(250, 247, 241, .82);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  color: var(--ink);
  box-shadow: 0 10px 40px -18px rgba(29,26,21,.35), inset 0 0 0 1px rgba(29,26,21,.06);
}
.nav__brand { position: relative; display: block; width: 92px; height: 50px; }
.nav__logo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .4s; }
.nav__logo--dark { opacity: 0; }
.nav.is-solid .nav__logo--light { opacity: 0; }
.nav.is-solid .nav__logo--dark { opacity: 1; }
.nav__links { display: flex; gap: 30px; font-size: 14.5px; }
.nav__links a { position: relative; opacity: .9; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__right { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; gap: 2px; font: 500 12px/1 var(--f-mono); }
.lang button { padding: 8px 7px; opacity: .55; border-radius: 6px; }
.lang button.is-active { opacity: 1; }
.nav__cta { height: 44px; padding: 0 22px; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; position: relative; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s; }
.nav__burger span:first-child { top: 18px; }
.nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }
.drawer {
  position: fixed; z-index: 49; inset: 0; background: var(--cream);
  display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 100px 28px 40px;
}
.drawer[hidden] { display: none; }
.drawer a { font: 300 40px/1.25 var(--f-display); letter-spacing: -.03em; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; color: #fff;
  display: flex; align-items: flex-end; overflow: hidden; isolation: isolate;
  background: #2b2a24;
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.04); }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(15,14,11,.45) 0%, rgba(15,14,11,0) 28%),
    linear-gradient(0deg, rgba(15,14,11,.78) 0%, rgba(15,14,11,.25) 48%, rgba(15,14,11,0) 70%);
}
.hero__inner { padding-top: 140px; padding-bottom: 46px; }
.hero__title {
  font: 300 clamp(44px, 7.4vw, 118px)/.98 var(--f-display);
  letter-spacing: -.045em; margin: 0 0 26px; max-width: 13ch;
  text-wrap: balance;
}
.hero__title em { color: #F2D3BC; font-size: 1.06em; }
.hero__lead { font-size: clamp(16px, 1.4vw, 19px); max-width: 46ch; color: rgba(255,255,255,.85); margin: 0 0 38px; }

.booking {
  display: grid; grid-template-columns: 1fr 1fr 1fr auto; align-items: stretch;
  background: rgba(250,247,241,.96); color: var(--ink);
  border-radius: 22px; padding: 8px; max-width: 900px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.5);
}
.booking__field { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 10px 20px; border-right: 1px solid var(--line); min-width: 0; }
.booking__label { font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.booking input[type="date"] {
  border: 0; background: transparent; font: 500 16px/1.3 var(--f-body); color: var(--ink); padding: 0; width: 100%;
  min-height: 24px; -webkit-appearance: none; appearance: none;
}
.booking input[type="date"]::-webkit-calendar-picker-indicator { opacity: .45; cursor: pointer; }
.booking__field--guests { border-right: 0; }
.stepper { display: flex; align-items: center; gap: 14px; }
.stepper button { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); line-height: 1; }
.stepper button:hover { border-color: var(--ink); }
.stepper output { font-weight: 500; min-width: 10px; text-align: center; }
.booking__go { height: auto; min-height: 58px; border-radius: 16px; padding: 0 26px; }

.hero__film {
  position: absolute; right: var(--gutter); bottom: 54px;
  display: flex; align-items: center; gap: 14px; text-align: left; color: #fff;
}
.hero__film small { display: block; font: 400 12px/1.4 var(--f-mono); opacity: .7; letter-spacing: .08em; }
.hero__film strong { font-weight: 500; font-size: 15px; }
.hero__filmring {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.5); background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform .4s var(--ease), background .3s;
}
.hero__film:hover .hero__filmring { transform: scale(1.08); background: rgba(255,255,255,.22); }
.hero__filmring svg { margin-left: 3px; }
.hero__scroll { position: absolute; left: 50%; bottom: 14px; width: 1px; height: 26px; background: rgba(255,255,255,.25); overflow: hidden; }
.hero__scroll span { position: absolute; inset: 0; background: #fff; animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-bottom: 1px solid var(--line); background: var(--paper); }
.marquee__track { display: flex; width: max-content; align-items: center; gap: 34px; padding: 22px 0; animation: marq 46s linear infinite; }
.marquee span { font: 300 30px/1 var(--f-display); letter-spacing: -.02em; }
.marquee i { font-style: normal; color: var(--terra); font-size: 14px; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- casa ---------- */
.casa { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 110px); padding-top: clamp(90px, 12vw, 170px); padding-bottom: clamp(90px, 12vw, 170px); align-items: center; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 46px 0 0; border-top: 1px solid var(--line); }
.stats div { padding: 22px 16px 0 0; }
.stats dt { font: 300 clamp(38px, 4vw, 56px)/1 var(--f-display); letter-spacing: -.04em; }
.stats dt small { font-size: .42em; margin-left: 3px; color: var(--terra); letter-spacing: 0; }
.stats dd { margin: 8px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.casa__media { position: relative; height: clamp(520px, 62vw, 760px); }
.casa__img { position: absolute; overflow: hidden; border-radius: var(--r-lg); box-shadow: 0 40px 80px -40px rgba(29,26,21,.45); }
.casa__img img { width: 100%; height: 100%; object-fit: cover; }
.casa__img--a { top: 0; right: 0; width: 82%; height: 72%; }
.casa__img--b { left: 0; bottom: 0; width: 52%; height: 46%; border: 8px solid var(--cream); border-radius: calc(var(--r-lg) + 8px); }
.casa__caption { position: absolute; right: 0; bottom: 6%; margin: 0; font: 400 12px/1.4 var(--f-mono); color: var(--muted); letter-spacing: .1em; text-transform: uppercase; max-width: 40%; text-align: right; }

/* ---------- apartments ---------- */
.apts { background: var(--paper); padding: clamp(90px, 11vw, 160px) 0; border-top: 1px solid var(--line); }
.apts__head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 40px; }
.apts__intro { justify-self: end; margin: 0 0 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.chip { height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; transition: all .3s var(--ease); }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.apts__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 4vw, 64px); align-items: start; }
.apts__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.apt {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 18px; align-items: center;
  padding: 24px 6px; border-bottom: 1px solid var(--line); cursor: pointer;
  transition: background .35s var(--ease), padding .35s var(--ease), opacity .35s;
  border-radius: 4px;
}
.apt[hidden] { display: none; }
.apt:hover, .apt.is-hover { background: var(--cream); padding-left: 16px; padding-right: 16px; }
.apt__num { font: 400 12.5px/1 var(--f-mono); color: var(--muted); letter-spacing: .06em; }
.apt__name { font: 300 clamp(26px, 2.6vw, 36px)/1.05 var(--f-display); letter-spacing: -.03em; margin: 0 0 8px; }
.apt__name em { color: var(--terra); }
.apt__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; color: var(--muted); }
.apt__meta span { display: inline-flex; align-items: center; gap: 6px; }
.apt__meta svg { opacity: .7; }
.apt__thumb { display: none; }
.apt__go { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; transition: background .3s; }
.apt:hover .apt__go { background: var(--terra); }
.apts__preview { position: sticky; top: 100px; }
.apts__frame { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--sand); }
.apts__frame img { width: 100%; height: 100%; object-fit: cover; transition: opacity .45s var(--ease), transform 1.2s var(--ease); }
.apts__frame img.is-swapping { opacity: 0; transform: scale(1.03); }
.apts__tag { position: absolute; left: 18px; bottom: 18px; padding: 10px 16px; border-radius: 999px; background: rgba(250,247,241,.92); font-size: 14px; font-weight: 500; }

/* ---------- bici ---------- */
.bici { background: var(--moss); color: #fff; padding: clamp(90px, 11vw, 160px) 0; }
.bici__head { max-width: 760px; margin-bottom: 56px; }
.bici__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 18px; }
.bici__card { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 3 / 4; }
.bici__card--big { aspect-ratio: auto; }
.bici__card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.bici__card:hover img { transform: scale(1.04); }
.bici__card figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 22px 20px; background: linear-gradient(0deg, rgba(20,24,21,.85), transparent); }
.bici__card strong { display: block; font: 400 22px/1.2 var(--f-display); letter-spacing: -.02em; }
.bici__card span { font-size: 14px; opacity: .78; }

/* ---------- gallery ---------- */
.gallery { padding-top: clamp(90px, 11vw, 160px); padding-bottom: clamp(90px, 11vw, 160px); }
.gallery__grid { display: grid; grid-auto-flow: dense; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(160px, 17vw, 250px); gap: 14px; }
.g { overflow: hidden; border-radius: var(--r-md); background: var(--sand); cursor: zoom-in; }
.g img { transition: transform 1.2s var(--ease); }
.g:hover img { transform: scale(1.04); }
.g img { width: 100%; height: 100%; object-fit: cover; }
.g--tall { grid-row: span 2; }
.g--wide { grid-column: span 2; }

/* ---------- entorno ---------- */
.entorno { background: var(--paper); padding: clamp(90px, 11vw, 160px) 0; border-top: 1px solid var(--line); }
.entorno__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.entorno__head .h2 { margin: 0; }
.entorno__nav { display: flex; gap: 10px; }
.entorno__rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(270px, 28vw, 400px); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0 var(--gutter) 10px; scroll-padding-left: var(--gutter);
}
@media (min-width: 1360px) { .entorno__rail { padding-left: calc((100vw - 1360px) / 2 + var(--gutter)); scroll-padding-left: calc((100vw - 1360px) / 2 + var(--gutter)); } }
.entorno__rail::-webkit-scrollbar { display: none; }
.place { scroll-snap-align: start; }
.place__img { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-md); overflow: hidden; margin-bottom: 18px; background: var(--sand); }
.place__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.place:hover .place__img img { transform: scale(1.05); }
.place__km { position: absolute; top: 14px; left: 14px; padding: 8px 12px; border-radius: 999px; background: rgba(250,247,241,.92); font: 500 12px/1 var(--f-mono); letter-spacing: .06em; }
.place h3 { font: 400 24px/1.15 var(--f-display); letter-spacing: -.02em; margin: 0 0 6px; }
.place p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- llegar ---------- */
.llegar { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 100px); padding-top: clamp(90px, 11vw, 160px); padding-bottom: clamp(90px, 11vw, 160px); align-items: center; }
.dist { list-style: none; padding: 0; margin: 30px 0; border-top: 1px solid var(--line); }
.dist li { display: flex; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid var(--line); }
.dist b { font: 500 14px/1.6 var(--f-mono); color: var(--terra); }
.addr { font-style: normal; color: var(--muted); margin-bottom: 26px; }
.llegar__map { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 4; background: var(--sand); }
.llegar__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) sepia(.15) contrast(1.02); }

/* ---------- cta ---------- */
.cta { position: relative; color: #fff; padding: clamp(120px, 15vw, 220px) 0; overflow: hidden; isolation: isolate; }
.cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18,17,13,.78), rgba(18,17,13,.35)); }
.cta__title { font: 300 clamp(48px, 8vw, 128px)/.95 var(--f-display); letter-spacing: -.05em; margin: 0 0 46px; }
.cta__title em { color: #F2D3BC; }
.cta__row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- footer ---------- */
.foot { background: var(--cream); padding: 48px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.foot__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 36px; }
.foot__inner p { margin: 0; }
.foot__social { display: flex; gap: 22px; }
.foot__social a:hover { color: var(--terra); }

/* ---------- dialogs ---------- */
dialog { padding: 0; border: 0; }
dialog::backdrop { background: rgba(18,17,13,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal {
  width: min(1120px, calc(100% - 32px)); max-height: calc(100svh - 40px);
  border-radius: var(--r-lg); background: var(--paper); color: var(--ink);
  display: none; grid-template-columns: 1.15fr .85fr; overflow: hidden;
}
.modal[open] { display: grid; animation: pop .45s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.985); } }
.modal__close { position: absolute; top: 16px; right: 16px; z-index: 3; }
.modal__gallery { position: relative; min-height: 420px; background: var(--sand); overflow: hidden; }
.modal__track { display: flex; height: 100%; transition: transform .6s var(--ease); }
.modal__track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; }
.modal__arrow { position: absolute; top: 50%; translate: 0 -50%; background: rgba(250,247,241,.9); }
.modal__arrow--l { left: 14px; }
.modal__arrow--r { right: 14px; }
.modal__dots { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 6px; z-index: 2; }
.modal__dots button { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.5); transition: width .3s, background .3s; }
.modal__dots button.is-active { width: 22px; border-radius: 4px; background: #fff; }
.modal__count { position: absolute; top: 16px; left: 16px; z-index: 2; padding: 7px 12px; border-radius: 999px; background: rgba(29,26,21,.6); color: #fff; font: 500 12px/1 var(--f-mono); letter-spacing: .06em; }
.modal__dots { flex-wrap: wrap; padding: 0 60px; }
.lb { width: 100vw; height: 100svh; max-width: none; max-height: none; margin: 0; background: rgba(14,13,11,.96); display: none; place-items: center; }
.lb[open] { display: grid; animation: pop .35s var(--ease); }
.lb img { max-width: calc(100vw - 140px); max-height: calc(100svh - 120px); object-fit: contain; border-radius: 10px; }
.lb .modal__close { top: 18px; right: 18px; }
.lb__arrow { position: absolute; top: 50%; translate: 0 -50%; }
.lb__arrow--l { left: 20px; }
.lb__arrow--r { right: 20px; }
.lb__count { position: absolute; left: 0; right: 0; bottom: 18px; margin: 0; text-align: center; color: rgba(255,255,255,.7); font: 400 13px/1.4 var(--f-mono); padding: 0 20px; }
@media (max-width: 760px) { .lb img { max-width: 100vw; border-radius: 0; } .lb__arrow { top: auto; bottom: 56px; translate: none; } }
.modal__body { padding: clamp(28px, 4vw, 52px); overflow-y: auto; }
.modal__title { font: 300 clamp(34px, 3.6vw, 50px)/1 var(--f-display); letter-spacing: -.04em; margin: 0 0 12px; }
.modal__title em { color: var(--terra); }
.modal__meta { font: 400 13px/1.5 var(--f-mono); color: var(--muted); letter-spacing: .04em; margin: 0 0 22px; }
.amen { list-style: none; padding: 0; margin: 22px 0 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.amen li { padding: 8px 14px; border-radius: 999px; background: var(--cream); font-size: 13.5px; }
.modal__cta { display: flex; flex-wrap: wrap; gap: 10px; }

.film { width: min(1200px, calc(100% - 32px)); background: #000; border-radius: var(--r-md); overflow: visible; }
.film[open] { animation: pop .45s var(--ease); }
.film video { width: 100%; border-radius: var(--r-md); aspect-ratio: 16 / 9; background: #000; }
.film .modal__close { top: -58px; right: 0; }

.whats-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: #fff; box-shadow: 0 14px 30px -10px rgba(0,0,0,.4);
  transition: transform .3s var(--ease);
}
.whats-float:hover { transform: scale(1.07); }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.parallax img { will-change: transform; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track, .hero__scroll span { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .casa, .llegar { grid-template-columns: 1fr; }
  .apts__head { grid-template-columns: 1fr; gap: 0; }
  .apts__intro { justify-self: start; margin-bottom: 0; }
  .apts__grid { grid-template-columns: 1fr; }
  .apts__preview { display: none; }
  .apt { grid-template-columns: 96px 1fr; grid-template-rows: auto auto; }
  .apt__thumb { display: block; grid-row: span 2; width: 96px; height: 96px; border-radius: 14px; object-fit: cover; }
  .apt__num { display: none; }
  .apt__go { justify-self: start; height: 36px; padding: 0 14px; font-size: 13px; }
  .modal { grid-template-columns: 1fr; overflow-y: auto; }
  .modal__gallery { min-height: 0; aspect-ratio: 4 / 3; }
  .modal__body { overflow: visible; }
  .hero__film { position: static; margin-top: 22px; }
}
@media (max-width: 760px) {
  .nav { padding-left: 16px; }
  .nav__cta { display: none; }
  .booking { grid-template-columns: 1fr 1fr; border-radius: 20px; }
  .booking__field { padding: 10px 14px; }
  .booking__field:nth-child(2) { border-right: 0; }
  .booking__field--guests { grid-column: 1 / -1; border-top: 1px solid var(--line); flex-direction: row; align-items: center; justify-content: space-between; }
  .booking__go { grid-column: 1 / -1; margin-top: 6px; }
  .hero__inner { padding-bottom: 36px; }
  .hero__scroll { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .casa__media { height: 460px; }
  .bici__grid { grid-template-columns: 1fr 1fr; }
  .bici__card--big { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .entorno__nav { display: none; }
  .entorno__rail { grid-auto-columns: 78%; }
  .marquee span { font-size: 22px; }
  .cta__row .btn { width: 100%; }
  .whats-float { width: 50px; height: 50px; }
}
