/* =========================================================
   Villa Gioia — concept redesign
   Calm, editorial, light. Motion is slow and quiet.
   ========================================================= */

:root {
  --bg: #F6F2EB;
  --bg-2: #EDE5D8;
  --paper: #FBF9F5;
  --ink: #1E2930;
  --ink-2: #4F5D65;
  --ink-3: #8C969B;
  --line: rgba(30, 41, 48, .14);
  --line-2: rgba(30, 41, 48, .26);
  --sea: #2C5866;
  --sand: #B39A78;
  --gioia: #21C4D3;      /* the light blue of the original site */
  --gioia-d: #1795A1;    /* same hue, deep enough for small type */
  --gioia-t: rgba(33, 196, 211, .14);
  --night: #172127;
  --on-dark: #EFE9DF;
  --on-dark-2: rgba(239, 233, 223, .62);

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --gut: clamp(20px, 5vw, 64px);
  --sec: clamp(96px, 13vw, 196px);
  --hdr: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; }
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; }
p { margin: 0 0 1.2em; }
h1, h2, h3 { margin: 0; font-weight: 300; color: var(--ink); }
em { font-style: italic; }
svg { display: block; }
::selection { background: var(--gioia-t); color: var(--ink); }

:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

.skip {
  position: fixed; left: 16px; top: 16px; z-index: 200;
  padding: 10px 16px; background: var(--ink); color: var(--paper);
  transform: translateY(-200%); transition: transform .3s var(--ease);
}
.skip:focus { transform: none; }

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

/* ---------- Type ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 28px;
  font-family: var(--sans); font-size: .72rem; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase; color: var(--gioia-d);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .8; }
.eyebrow--c { justify-content: center; }
.eyebrow--c::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .8; }

.h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.3rem, 4.6vw, 4.1rem);
  line-height: 1.04; letter-spacing: -.01em;
  margin-bottom: 32px; color: var(--ink);
  text-wrap: balance;
}
.h2 em { color: var(--sea); }

/* ---------- Buttons & links ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  padding: 19px 30px;
  background: var(--ink); color: var(--paper);
  border: 1px solid var(--ink);
  font-family: var(--sans); font-size: .74rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; line-height: 1;
  white-space: nowrap;
  transition: background-color .6s var(--ease), color .6s var(--ease), border-color .6s var(--ease);
}
.btn:hover { background: var(--sea); border-color: var(--sea); }
.btn--sm { padding: 13px 20px; font-size: .68rem; }
.btn--light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn[disabled] { opacity: .45; pointer-events: none; }

.arw { width: 22px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1; transition: transform .6s var(--ease); flex: none; }
.btn:hover .arw, .link:hover .arw { transform: translateX(5px); }

.link {
  display: inline-flex; align-items: center; gap: 14px;
  padding-bottom: 6px;
  font-size: .74rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink);
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .7s var(--ease);
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; }
.link--sm { margin-top: 10px; font-size: .66rem; }
.link-btn { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); padding: 8px 0; border-bottom: 1px solid var(--line-2); }
.link-btn:hover { color: var(--ink); border-color: var(--ink); }

.icon-btn {
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line-2); color: var(--ink);
  transition: background-color .5s var(--ease), border-color .5s var(--ease), color .5s var(--ease);
}
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.1; }
.icon-btn:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* ---------- Header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 60;
  color: #fff;
  transition: transform .7s var(--ease), background-color .6s var(--ease), color .6s var(--ease), box-shadow .6s var(--ease);
}
.hdr::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(246, 242, 235, .9);
  -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  opacity: 0; transition: opacity .6s var(--ease);
  border-bottom: 1px solid var(--line);
}
.hdr.is-solid { color: var(--ink); }
.hdr.is-solid .logo-sub, .menu-open .hdr .logo-sub, .logo--ftr .logo-sub { color: var(--gioia-d); opacity: 1; }
.logo--ftr .logo-sub { color: var(--gioia); }
.hdr.is-solid::after { opacity: 1; }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr-in {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: var(--hdr); padding-inline: var(--gut);
  transition: height .6s var(--ease);
}
.hdr.is-solid .hdr-in { height: 70px; }
.hdr-nav { display: flex; gap: clamp(20px, 2.4vw, 40px); }
.hdr-nav a {
  position: relative; white-space: nowrap; font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  padding: 6px 0;
}
.hdr-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease);
}
.hdr-nav a:hover::after, .hdr-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.hdr-r { display: flex; align-items: center; justify-content: flex-end; gap: clamp(18px, 2vw, 32px); }

.logo { display: flex; flex-direction: column; align-items: center; line-height: 1; text-align: center; }
.logo-name { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; letter-spacing: .14em; text-transform: uppercase; }
.logo-sub { margin-top: 7px; font-size: .58rem; font-weight: 500; letter-spacing: .42em; text-transform: uppercase; opacity: .8; padding-left: .42em; }

.hdr-book { color: inherit; background: transparent; border-color: currentColor; }
.hdr-book:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hdr.is-solid .hdr-book { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.hdr.is-solid .hdr-book:hover { background: var(--sea); border-color: var(--sea); }

.hdr-burger { display: none; align-items: center; gap: 12px; justify-self: start; font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.burger-lines { display: grid; gap: 6px; width: 24px; }
.burger-lines i { display: block; height: 1px; background: currentColor; transition: transform .6s var(--ease); }
.burger-lines i:last-child { width: 16px; }
.menu-open .burger-lines i:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .burger-lines i:last-child { width: 24px; transform: translateY(-3.5px) rotate(-45deg); }

/* Language */
.lang { position: relative; }
.lang-btn { display: flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 500; letter-spacing: .2em; padding: 8px 0; }
.lang-btn svg { width: 9px; height: 6px; fill: none; stroke: currentColor; stroke-width: 1.2; transition: transform .4s var(--ease); }
.lang.is-open .lang-btn svg { transform: rotate(180deg); }
.lang-list {
  position: absolute; right: -16px; top: calc(100% + 10px); min-width: 160px;
  margin: 0; padding: 10px 0; list-style: none;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 24px 60px -20px rgba(20, 30, 35, .35);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
}
.lang.is-open .lang-list { opacity: 1; visibility: visible; transform: none; }
.lang-list button { width: 100%; text-align: left; padding: 9px 20px; font-size: .9rem; transition: color .3s, background-color .3s; }
.lang-list button:hover { background: var(--bg); }
.lang-list button[aria-current="true"] { color: var(--sea); }

/* Mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 55;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--hdr) + 40px) var(--gut) calc(32px + env(safe-area-inset-bottom));
  background: var(--bg); color: var(--ink);
  opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s;
  overflow-y: auto;
}
.menu-open .menu { opacity: 1; visibility: visible; }
.menu-nav { display: flex; flex-direction: column; gap: 4px; }
.menu-nav a {
  font-family: var(--serif); font-size: clamp(2.2rem, 9vw, 3.2rem); font-weight: 300; line-height: 1.25;
  opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.menu-open .menu-nav a { opacity: 1; transform: none; }
.menu-nav a:nth-child(2) { transition-delay: .05s; } .menu-nav a:nth-child(3) { transition-delay: .1s; }
.menu-nav a:nth-child(4) { transition-delay: .15s; } .menu-nav a:nth-child(5) { transition-delay: .2s; }
.menu-nav a:nth-child(6) { transition-delay: .25s; }
.menu-foot { display: flex; flex-direction: column; gap: 8px; padding-top: 32px; border-top: 1px solid var(--line); font-size: .95rem; }
.menu-langs { display: flex; gap: 22px; margin-bottom: 12px; font-size: .74rem; font-weight: 500; letter-spacing: .2em; }
.menu-langs button { color: var(--ink-3); }
.menu-langs button[aria-current="true"] { color: var(--ink); }
.menu-open .hdr { color: var(--ink); }
.menu-open .hdr::after { opacity: 0; }
.menu-open .hdr-book { visibility: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 640px;
  display: grid; place-items: center;
  color: #fff; overflow: clip; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; background: #2a3a40; }
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.1);
  transition: opacity 2.4s var(--ease-io), transform 16s cubic-bezier(.25, .1, .25, 1);
}
.hero-img.is-on { opacity: 1; transform: scale(1); }
html:not(.js) .hero-img:first-child { opacity: 1; transform: none; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(12, 22, 28, .42) 0%, rgba(12, 22, 28, 0) 26%),
    linear-gradient(0deg, rgba(12, 22, 28, .55) 0%, rgba(12, 22, 28, .12) 45%, rgba(12, 22, 28, 0) 70%),
    radial-gradient(ellipse 60% 48% at 50% 50%, rgba(12, 22, 28, .38), rgba(12, 22, 28, 0) 100%),
    rgba(12, 22, 28, .16);
}
.hero-copy { text-align: center; padding: 0 var(--gut); margin-top: -6vh; max-width: 1100px; }
.hero .eyebrow { color: rgba(255,255,255,.9); justify-content: center; margin-bottom: 26px; }
.hero .eyebrow::before { display: none; }
.hero-title {
  font-family: var(--serif); font-weight: 300; color: #fff;
  font-size: clamp(3.2rem, 9.4vw, 8.6rem); line-height: .94; letter-spacing: -.015em;
  margin-bottom: 30px;
}
.hero-title em { font-weight: 300; }
.hero-sub { max-width: 540px; margin: 0 auto; font-size: 1.1rem; line-height: 1.65; color: #fff; text-shadow: 0 1px 18px rgba(8, 16, 20, .45); }
.hero-title, .hero .eyebrow { text-shadow: 0 2px 30px rgba(8, 16, 20, .28); }
.hero-line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-line > * { display: inline-block; transform: translateY(105%); transition: transform 1.6s var(--ease); }
.hero.is-in .hero-line > * { transform: none; }
.hero.is-in .hero-title .hero-line:nth-child(1) > * { transition-delay: .15s; }
.hero.is-in .hero-title .hero-line:nth-child(2) > * { transition-delay: .3s; }
.hero.is-in .hero-sub > * { transition-delay: .5s; }
.hero-mbook { display: none; margin-top: 34px; }

.hero-scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: none; flex-direction: column; align-items: center; gap: 12px;
  font-size: .62rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.85);
}
.hero-scroll i { width: 1px; height: 44px; background: rgba(255,255,255,.35); position: relative; overflow: hidden; }
.hero-scroll i::after { content: ""; position: absolute; inset: 0; background: #fff; animation: drip 2.6s var(--ease-io) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 55% { transform: translateY(0); } 100% { transform: translateY(100%); } }

/* ---------- Booking widget ---------- */
.bk {
  position: absolute; left: 50%; bottom: clamp(24px, 5vh, 48px); z-index: 5;
  width: min(1120px, calc(100% - 2 * var(--gut)));
  transform: translateX(-50%);
  color: var(--ink);
  opacity: 0; translate: 0 16px;
  transition: opacity 1.4s var(--ease) .7s, translate 1.4s var(--ease) .7s;
}
.hero.is-in .bk { opacity: 1; translate: 0 0; }
.bk-head { display: none; }
.bk-fields {
  display: grid; grid-template-columns: 2.1fr 1fr 1.25fr auto; align-items: stretch;
  background: rgba(251, 249, 245, .96);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px -30px rgba(10, 20, 25, .5);
}
.bk-cell { position: relative; display: flex; border-right: 1px solid var(--line); }
.bk-cell--dates { display: grid; grid-template-columns: 1fr auto 1fr; }
.bk-sep { width: 1px; background: var(--line); margin: 18px 0; }
.bk-field {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px;
  width: 100%; padding: 20px 28px; text-align: left;
  transition: background-color .4s var(--ease);
}
.bk-field:hover { background: rgba(30, 41, 48, .035); }
.bk-field.is-active { background: rgba(30, 41, 48, .06); }
.bk-label { font-size: .62rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-3); }
.bk-value { font-family: var(--serif); font-size: 1.32rem; line-height: 1.2; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.bk-value.is-empty { color: var(--ink-3); }
.bk-submit { border: 0; padding-inline: 36px; }

.pop {
  position: absolute; left: 0; bottom: calc(100% + 14px); z-index: 10;
  padding: 26px 28px;
  background: var(--paper);
  box-shadow: 0 40px 100px -30px rgba(10, 20, 25, .55);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s;
}
.pop.is-open { opacity: 1; visibility: visible; transform: none; }
.pop--dates { width: 680px; }
.pop--guests { width: 340px; }
.pop--res { width: 360px; padding: 12px 0; }
.pop-note { margin: 16px 0 0; font-size: .82rem; color: var(--ink-3); }

/* Calendar */
.cal { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; position: relative; }
.cal-month h4 { margin: 0 0 16px; text-align: center; font-family: var(--serif); font-weight: 400; font-size: 1.35rem; color: var(--ink); text-transform: capitalize; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 2px; }
.cal-dow { padding-bottom: 8px; text-align: center; font-size: .62rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.cal-day {
  position: relative; height: 42px; display: grid; place-items: center;
  font-size: .9rem; color: var(--ink); z-index: 0;
}
.cal-day::before {
  content: ""; position: absolute; left: 50%; top: 50%; height: calc(100% - 6px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; z-index: -1;
  border: 1px solid transparent; transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.cal-day:not([disabled]):hover::before { border-color: var(--ink); }
.cal-day[disabled] { color: var(--ink-3); opacity: .45; cursor: default; }
.cal-day.is-booked { color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--ink-3); opacity: .6; }
.cal-day.is-range { background: var(--gioia-t); }
.cal-day.is-start, .cal-day.is-end { color: var(--paper); }
.cal-day.is-start::before, .cal-day.is-end::before { background: var(--ink); border-color: var(--ink); }
.cal-day.is-start.has-end { background: linear-gradient(90deg, transparent 50%, var(--gioia-t) 50%); }
.cal-day.is-end { background: linear-gradient(90deg, var(--gioia-t) 50%, transparent 50%); }
.cal-day.is-today { font-weight: 500; }
.cal-day.is-today::after { content: ""; position: absolute; bottom: 7px; width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.cal-nav {
  position: absolute; top: -4px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink); transition: background-color .3s;
}
.cal-nav:hover { background: var(--bg-2); }
.cal-nav[disabled] { opacity: .25; pointer-events: none; }
.cal-nav svg { width: 16px; height: 8px; fill: none; stroke: currentColor; stroke-width: 1.1; }
.cal-nav--prev { left: -6px; } .cal-nav--next { right: -6px; }
.cal-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.cal-note { margin: 0; font-size: .82rem; line-height: 1.5; color: var(--ink-3); transition: color .3s; }
.cal-note.is-warn { color: #9a5b3c; }
.cal-actions { display: flex; align-items: center; gap: 22px; flex: none; }

/* Steppers */
.step { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); }
.step:first-child { padding-top: 0; }
.step-t { display: block; font-family: var(--serif); font-size: 1.25rem; color: var(--ink); line-height: 1.2; }
.step-h { display: block; font-size: .8rem; color: var(--ink-3); }
.step-c { display: flex; align-items: center; gap: 16px; }
.step-c output { min-width: 18px; text-align: center; font-size: 1rem; color: var(--ink); }
.step-b {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2);
  display: grid; place-items: center; font-size: 1.1rem; line-height: 1; color: var(--ink);
  transition: border-color .3s, background-color .3s, opacity .3s;
}
.step-b:hover { border-color: var(--ink); }
.step-b[disabled] { opacity: .3; pointer-events: none; }

/* Residence options */
.opt {
  display: flex; align-items: center; gap: 16px; width: 100%;
  padding: 10px 24px; text-align: left; transition: background-color .3s;
}
.opt:hover { background: var(--bg); }
.opt img { width: 54px; height: 54px; object-fit: cover; flex: none; }
.opt-any { width: 54px; height: 54px; flex: none; display: grid; place-items: center; background: var(--bg-2); font-family: var(--serif); font-size: 1.3rem; color: var(--ink); }
.opt-n { display: block; font-family: var(--serif); font-size: 1.2rem; color: var(--ink); line-height: 1.2; }
.opt-s { display: block; font-size: .78rem; color: var(--ink-3); }
.opt-tick { margin-left: auto; width: 16px; height: 16px; fill: none; stroke: var(--ink); stroke-width: 1.4; opacity: 0; transition: opacity .3s; }
.opt[aria-selected="true"] .opt-tick { opacity: 1; }

/* ---------- Reveal ---------- */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
.rv-img { overflow: hidden; }
.rv-img img { width: 100%; height: 100%; object-fit: cover; scale: 1.14; translate: 0 var(--py, 0px); }
.js .rv-img { clip-path: inset(8% 8% 8% 8%); opacity: 0; transition: clip-path 1.8s var(--ease), opacity 1.2s var(--ease); }
.js .rv-img img { scale: 1.26; transition: scale 2.2s var(--ease); }
.js .rv-img.in { clip-path: inset(0 0 0 0); opacity: 1; }
.js .rv-img.in img { scale: 1.14; }

/* ---------- Intro ---------- */
.intro { padding: var(--sec) 0 calc(var(--sec) * .7); text-align: center; }
.intro .wrap { max-width: 1080px; }
.intro .eyebrow { justify-content: center; }
.intro .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .8; }
.intro-text {
  font-family: var(--serif); font-weight: 300; color: var(--ink);
  font-size: clamp(1.65rem, 3.1vw, 2.75rem); line-height: 1.32; letter-spacing: -.005em;
  margin: 0 auto clamp(64px, 9vw, 120px); max-width: 30ch;
  text-wrap: balance;
}
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); margin: 0; text-align: left; }
.fact { padding-top: 26px; border-top: 1px solid var(--line-2); }
.fact dt { font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 4vw, 3.5rem); line-height: 1; color: var(--ink); margin-bottom: 14px; }
.fact dd { margin: 0; font-size: .95rem; line-height: 1.6; max-width: 26ch; }

/* ---------- Villa ---------- */
.villa { padding: calc(var(--sec) * .5) 0 var(--sec); }
.villa-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.villa-media { position: relative; padding-bottom: 14%; }
.villa-fig { margin: 0; }
.villa-fig--a { width: 84%; aspect-ratio: 4 / 5; }
.villa-fig--b { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 4 / 5; outline: 12px solid var(--bg); }
.villa-copy p { max-width: 46ch; }
.villa-copy .link { margin-top: 18px; }

/* ---------- Residences ---------- */
.res { padding: var(--sec) 0; background: var(--paper); }
.sec-head { max-width: 760px; margin-bottom: clamp(56px, 8vw, 110px); }
.sec-intro { max-width: 52ch; }
.res-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 5vw, 96px); row-gap: clamp(64px, 8vw, 120px); }
.res-grid > :nth-child(even) { margin-top: clamp(0px, 12vw, 180px); }
.card { display: block; text-align: left; width: 100%; color: inherit; }
.card-fig { position: relative; aspect-ratio: 4 / 5; margin: 0 0 28px; overflow: hidden; background: var(--bg-2); }
.card-fig img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.8s var(--ease), opacity 1s; }
.card:hover .card-fig img { transform: scale(1.045); }
.card-num { position: absolute; top: 22px; left: 24px; font-size: .68rem; font-weight: 500; letter-spacing: .24em; color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.25); }
.card-row { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.card-name { font-family: var(--serif); font-weight: 300; font-size: clamp(2.1rem, 3.2vw, 2.9rem); line-height: 1; color: var(--ink); }
.card-tag { margin: 10px 0 18px; font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--ink-2); line-height: 1.35; }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--line); font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); list-style: none; }
.card-more { flex: none; display: inline-flex; align-items: center; gap: 12px; font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.card:hover .card-more .arw { transform: translateX(5px); }

/* ---------- Band ---------- */
.band { position: relative; height: 92vh; height: 92svh; min-height: 520px; display: grid; place-items: center; overflow: clip; isolation: isolate; color: #fff; }
.band-media { position: absolute; inset: -12% 0; z-index: -2; translate: 0 var(--py, 0px); }
.band-media img { width: 100%; height: 100%; object-fit: cover; }
.band-shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(12, 22, 28, .42), rgba(12, 22, 28, .18)); }
.band-quote p { text-shadow: 0 2px 30px rgba(8, 16, 20, .3); }
.band-quote { margin: 0; text-align: center; }
.band-quote p {
  max-width: 24ch; margin: 0 auto;
  font-family: var(--serif); font-style: italic; font-weight: 300; color: #fff;
  font-size: clamp(1.9rem, 4vw, 3.6rem); line-height: 1.18; text-wrap: balance;
}

/* ---------- Gallery ---------- */
.gal { padding: var(--sec) 0; }
.gal-grid { columns: 3; column-gap: 18px; }
.gal-item { display: block; width: 100%; margin: 0 0 18px; break-inside: avoid; overflow: hidden; background: var(--bg-2); cursor: zoom-in; }
.gal-item img { width: 100%; height: auto; transition: transform 1.8s var(--ease), opacity .6s; }
.gal-item:hover img { transform: scale(1.04); }

/* ---------- Island ---------- */
.isl { padding: calc(var(--sec) * .4) 0 var(--sec); }
.isl-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.isl-copy p { max-width: 46ch; }
.isl-media { position: relative; padding-bottom: 16%; }
.isl-fig { margin: 0; }
.isl-fig--a { width: 62%; margin-left: auto; aspect-ratio: 3 / 4; }
.isl-fig--b { position: absolute; left: 0; bottom: 0; width: 54%; aspect-ratio: 16 / 10; outline: 12px solid var(--bg); }
.dist { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--line-2); }
.dist li { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: .95rem; color: var(--ink); }
.dist-v { font-family: var(--serif); font-size: 1.2rem; color: var(--ink-2); text-align: right; }

/* ---------- Getting here ---------- */
.arr { padding: var(--sec) 0; background: var(--paper); }
.arr-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.arr-side { position: sticky; top: 120px; }
.arr-side > p { max-width: 42ch; }
.arr-fig { margin: 40px 0 0; aspect-ratio: 16 / 10; }
.acc { border-top: 1px solid var(--line-2); }
.acc-item { border-bottom: 1px solid var(--line-2); }
.acc-btn { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; width: 100%; padding: 30px 0; text-align: left; }
.acc-num { font-size: .7rem; font-weight: 500; letter-spacing: .2em; color: var(--gioia-d); }
.acc-t { font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 2.4vw, 2.1rem); color: var(--ink); line-height: 1.1; }
.acc-ic { position: relative; width: 16px; height: 16px; }
.acc-ic::before, .acc-ic::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--ink); transition: transform .6s var(--ease); }
.acc-ic::after { transform: rotate(90deg); }
.acc-item.is-open .acc-ic::after { transform: rotate(0); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .8s var(--ease); }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-inner { overflow: hidden; }
.acc-inner > div { padding: 0 0 34px 56px; max-width: 62ch; opacity: 0; transform: translateY(-6px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.acc-item.is-open .acc-inner > div { opacity: 1; transform: none; transition-delay: .15s; }
.acc-inner p { margin: 0; }
.acc-links { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 20px; }
.acc-links .lbl { width: 100%; font-size: .66rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- Direct ---------- */
.direct { padding: clamp(80px, 10vw, 140px) 0; background: var(--bg-2); }
.direct-list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 5vw, 80px); text-align: center; }
.direct-list svg { width: 40px; height: 40px; margin: 0 auto 22px; fill: none; stroke: var(--gioia-d); stroke-width: 1; }
.direct-list h3 { font-family: var(--serif); font-size: 1.7rem; margin-bottom: 8px; }
.direct-list p { margin: 0; font-size: .95rem; }

/* ---------- Contact ---------- */
.con { padding: var(--sec) 0; }
.con-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.con-side > p { max-width: 42ch; }
.con-list { margin: 44px 0 0; display: grid; gap: 26px; }
.con-list dt { margin-bottom: 4px; font-size: .64rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-3); }
.con-list dd { margin: 0; color: var(--ink); line-height: 1.65; }
.con-list dd a:not(.link) { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease); }
.con-list dd a:not(.link):hover { background-size: 100% 1px; }
.socials { display: flex; gap: 12px; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease); }
.socials a:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.socials svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.socials svg .fill, .mbar-call svg .fill { fill: currentColor; stroke: none; }

.form { position: relative; padding: clamp(32px, 4.5vw, 64px); background: var(--paper); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 32px; margin-bottom: 30px; }
.fl { display: flex; flex-direction: column; gap: 6px; }
.fl--full { grid-column: 1 / -1; }
.fl > span { font-size: .64rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); }
.fl input, .fl select, .fl textarea {
  width: 100%; padding: 10px 0 12px; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0;
  background: transparent; color: var(--ink); font-size: 1.02rem; outline: none;
  transition: border-color .4s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.fl ::placeholder { color: var(--ink-3); opacity: .7; }
.fl textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.fl select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%231E2930' stroke-width='1.2'/%3E%3C/svg%3E") right 2px center / 10px 6px no-repeat; padding-right: 24px; cursor: pointer; }
.fl input:focus, .fl select:focus, .fl textarea:focus { border-color: var(--ink); }
.fl.is-err input, .fl.is-err select { border-color: #9a5b3c; }
.fl.is-err > span { color: #9a5b3c; }
.check { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 34px; font-size: .88rem; line-height: 1.55; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-box { flex: none; width: 18px; height: 18px; margin-top: 2px; border: 1px solid var(--line-2); position: relative; transition: border-color .3s, background-color .3s; }
.check-box::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid var(--paper); border-width: 0 1.4px 1.4px 0; transform: rotate(45deg) scale(0); transition: transform .3s var(--ease); }
.check input:checked + .check-box { background: var(--ink); border-color: var(--ink); }
.check input:checked + .check-box::after { transform: rotate(45deg) scale(1); }
.check input:focus-visible + .check-box { outline: 1px solid var(--ink); outline-offset: 3px; }
.check.is-err .check-box { border-color: #9a5b3c; }
.form > *:not(.form-ok) { transition: opacity .6s var(--ease); }
.form.is-sent > *:not(.form-ok) { opacity: 0; pointer-events: none; }
.form-ok {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 40px; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .8s var(--ease) .3s, transform .8s var(--ease) .3s, visibility .8s;
}
.form.is-sent .form-ok { opacity: 1; visibility: visible; transform: none; }
.form-ok svg { width: 48px; height: 48px; fill: none; stroke: var(--gioia-d); stroke-width: 1; margin-bottom: 22px; }
.form-ok p { font-family: var(--serif); font-size: 1.6rem; line-height: 1.3; color: var(--ink); max-width: 26ch; margin-bottom: 14px; }
.form-ok small, .demo-note { font-size: .78rem; color: var(--ink-3); }

/* ---------- Footer ---------- */
.ftr { background: var(--night); color: var(--on-dark-2); padding: clamp(72px, 9vw, 120px) 0 40px; font-size: .9rem; }
.ftr a { transition: color .4s; }
.ftr a:hover { color: var(--on-dark); }
.ftr-top { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 48px; border-bottom: 1px solid rgba(239,233,223,.12); }
.logo--ftr { color: var(--on-dark); align-items: flex-start; text-align: left; }
.logo--ftr .logo-name { font-size: 2.1rem; }
.logo--ftr .logo-sub { padding-left: 0; }
.ftr-nav { display: flex; flex-wrap: wrap; gap: 12px 34px; font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark); }
.ftr .socials a { border-color: rgba(239,233,223,.22); color: var(--on-dark); }
.ftr .socials a:hover { background: var(--on-dark); color: var(--night); border-color: var(--on-dark); }
.ftr-mid { padding: 34px 0; border-bottom: 1px solid rgba(239,233,223,.12); }
.ftr-mid p { margin: 0 0 6px; }
.ftr-bot { padding-top: 28px; display: grid; gap: 10px; font-size: .78rem; }
.ftr-bot p { margin: 0; }
.ftr-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.ftr-credit { color: rgba(239,233,223,.38); }

/* ---------- Mobile booking bar ---------- */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(246, 242, 235, .92);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .7s var(--ease);
}
.mbar.is-on { transform: none; }
.mbar-book { flex: 1; }
.mbar-call { flex: none; width: 54px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--ink); }
.mbar-call svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.2; }

/* ---------- Residence detail ---------- */
.rd {
  position: fixed; inset: 0; z-index: 90; background: var(--bg);
  opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility .7s;
}
.rd.is-open { opacity: 1; visibility: visible; }
.rd-scroll { height: 100%; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.rd-close { position: fixed; top: 22px; right: var(--gut); z-index: 3; background: rgba(251,249,245,.9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.rd-body { display: grid; grid-template-columns: 7fr 5fr; min-height: 100%; }
.rd-gal { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; align-content: start; }
.rd-gal button { display: block; overflow: hidden; background: var(--bg-2); aspect-ratio: 4 / 3; cursor: zoom-in; }
.rd-gal button:first-child { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.rd-gal img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.rd-gal button:hover img { transform: scale(1.04); }
.rd-info { position: sticky; top: 0; align-self: start; max-height: 100vh; max-height: 100svh; overflow-y: auto; padding: clamp(80px, 9vh, 120px) clamp(28px, 4vw, 72px) 56px; scrollbar-width: none; }
.rd-info::-webkit-scrollbar { display: none; }
.rd-name { font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 5.4vw, 5rem); line-height: .95; color: var(--ink); margin-bottom: 14px; }
.rd-tag { font-family: var(--serif); font-style: italic; font-size: 1.45rem; color: var(--ink-2); margin-bottom: 34px; line-height: 1.3; }
.rd-facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 18px; margin: 0 0 34px; padding: 22px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line); }
.rd-facts dt { font-size: .6rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.rd-facts dd { margin: 0; font-family: var(--serif); font-size: 1.25rem; color: var(--ink); line-height: 1.2; }
.rd-h { margin: 36px 0 16px; font-size: .66rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gioia-d); }
.rd-am { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; font-size: .92rem; line-height: 1.5; }
.rd-am li { position: relative; padding-left: 18px; }
.rd-am li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 1px; background: var(--gioia); }
.rd-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.rd-pn { display: flex; justify-content: space-between; gap: 20px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.rd-pn button { display: flex; flex-direction: column; gap: 2px; text-align: left; }
.rd-pn button:last-child { text-align: right; align-items: flex-end; }
.rd-pn small { font-size: .62rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); }
.rd-pn span { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); transition: color .4s; }
.rd-pn button:hover span { color: var(--sea); }
.rd .rd-anim { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rd.is-open .rd-anim { opacity: 1; transform: none; }
.rd.is-open .rd-anim:nth-child(2) { transition-delay: .06s; } .rd.is-open .rd-anim:nth-child(3) { transition-delay: .12s; }
.rd.is-open .rd-anim:nth-child(4) { transition-delay: .18s; } .rd.is-open .rd-anim:nth-child(5) { transition-delay: .24s; }
.rd.is-open .rd-anim:nth-child(n+6) { transition-delay: .3s; }
.rd-gal button { opacity: 0; transition: opacity 1.2s var(--ease); }
.rd.is-open .rd-gal button { opacity: 1; }
.rd.is-open .rd-gal button:nth-child(2) { transition-delay: .1s; } .rd.is-open .rd-gal button:nth-child(3) { transition-delay: .18s; }
.rd.is-open .rd-gal button:nth-child(n+4) { transition-delay: .26s; }
.rd-body.is-swap { opacity: 0; transition: opacity .35s var(--ease); }
.rd-body { transition: opacity .5s var(--ease); }

/* ---------- Availability modal ---------- */
.modal { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 24px; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal-shade { position: absolute; inset: 0; background: rgba(18, 27, 32, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .6s var(--ease); }
.modal.is-open .modal-shade { opacity: 1; }
.modal-box {
  position: relative; width: min(860px, 100%); max-height: calc(100svh - 48px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--paper); color: var(--ink-2);
  opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .8s var(--ease);
}
.modal.is-open .modal-box { opacity: 1; transform: none; }
.modal-close { position: absolute; top: 18px; right: 18px; z-index: 2; }
.modal-in { padding: clamp(28px, 4vw, 52px); }
.modal-in > * { animation: fadeUp .7s var(--ease) both; }
.modal-in > :nth-child(2) { animation-delay: .05s; } .modal-in > :nth-child(3) { animation-delay: .1s; } .modal-in > :nth-child(n+4) { animation-delay: .15s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.av-head { padding-right: 60px; margin-bottom: 28px; }
.av-title { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 3.4vw, 2.8rem); color: var(--ink); line-height: 1.05; margin-bottom: 10px; }
.av-sum { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-size: .95rem; color: var(--ink-2); }
.av-sum .link-btn { font-size: .66rem; }
.av-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.av-row { display: grid; grid-template-columns: 132px 1fr auto; gap: 24px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.av-row img { width: 132px; height: 100px; object-fit: cover; }
.av-n { font-family: var(--serif); font-size: 1.65rem; color: var(--ink); line-height: 1.1; }
.av-t { font-size: .88rem; color: var(--ink-3); margin: 2px 0 8px; }
.av-st { display: inline-flex; align-items: center; gap: 8px; font-size: .66rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.av-st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.av-st--ok { color: #3f7a5e; }
.av-st--no { color: var(--ink-3); }
.av-price { text-align: right; }
.av-price strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.6rem; color: var(--ink); line-height: 1.1; }
.av-price small { display: block; font-size: .78rem; color: var(--ink-3); margin-bottom: 12px; }
.av-row.is-no img { filter: grayscale(.6); opacity: .65; }
.av-alt { display: block; margin-top: 8px; font-size: .84rem; color: var(--sea); text-align: left; border-bottom: 1px solid currentColor; padding-bottom: 1px; width: fit-content; }
.av-note { margin: 22px 0 0; font-size: .82rem; color: var(--ink-3); }
.av-empty { padding: 20px 0; font-family: var(--serif); font-size: 1.35rem; line-height: 1.4; color: var(--ink); max-width: 44ch; }
.av-req { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; margin: 6px 0 28px; }
.av-recap { display: grid; grid-template-columns: 120px 1fr auto; gap: 20px; align-items: center; padding: 18px 0; margin-bottom: 28px; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line); }
.av-recap img { width: 120px; height: 86px; object-fit: cover; }
.av-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.av-done { text-align: center; padding: 30px 0 10px; }
.av-done svg { width: 54px; height: 54px; margin: 0 auto 24px; fill: none; stroke: var(--gioia-d); stroke-width: 1; }
.av-done p { max-width: 42ch; margin-inline: auto; }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(14, 20, 24, .96); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s; }
.lb.is-open { opacity: 1; visibility: visible; }
.lb-stage { width: 100%; height: 100%; display: grid; place-items: center; padding: 72px clamp(16px, 8vw, 120px); touch-action: pan-y; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; transition: opacity .5s var(--ease), transform .8s var(--ease); }
.lb-stage img.is-out { opacity: 0; transform: scale(.985); }
.lb .icon-btn { color: var(--on-dark); border-color: rgba(239,233,223,.25); }
.lb .icon-btn:hover { background: var(--on-dark); color: var(--night); }
.lb-close { position: absolute; top: 20px; right: 20px; z-index: 2; }
.lb-nav { position: absolute; top: 50%; z-index: 2; width: 64px; height: 64px; display: grid; place-items: center; color: var(--on-dark); transform: translateY(-50%); opacity: .7; transition: opacity .3s; }
.lb-nav:hover { opacity: 1; }
.lb-nav svg { width: 28px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1; }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); margin: 0; font-size: .72rem; letter-spacing: .24em; color: var(--on-dark-2); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1280px) {
  .hdr-nav--l a:nth-child(3), .hdr-r .hdr-nav a:first-child { display: none; }
}
@media (max-width: 1180px) {
  .bk-field { padding: 18px 20px; }
}

@media (max-width: 959px) {
  :root { --hdr: 68px; }
  .hdr-in { grid-template-columns: 1fr auto 1fr; }
  .hdr-nav { display: none; }
  .hdr-burger { display: inline-flex; }
  .lang { display: none; }
  .logo-name { font-size: 1.35rem; }
  .logo-sub { font-size: .5rem; margin-top: 5px; }
  .hdr-book { padding: 11px 14px; }

  .hero-copy { margin-top: 0; }
  .hero-mbook { display: inline-flex; }
  .hero-scroll { display: flex; }

  /* Booking becomes a full-screen sheet */
  .bk {
    position: fixed; inset: 0; left: 0; bottom: 0; z-index: 85; width: 100%;
    transform: none; translate: 0 0;
    display: flex; flex-direction: column;
    background: var(--paper);
    opacity: 0; visibility: hidden; translate: 0 24px;
    transition: opacity .5s var(--ease), translate .6s var(--ease), visibility .6s;
    overflow-y: auto; overscroll-behavior: contain;
  }
  .hero.is-in .bk { opacity: 0; translate: 0 24px; }
  .hero.has-sheet { z-index: 86; }
  .bk.is-sheet, .hero.is-in .bk.is-sheet { opacity: 1; visibility: visible; translate: 0 0; }
  .bk-head { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--gut); border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--paper); z-index: 3; }
  .bk-head-title { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); }
  .bk-fields { display: flex; flex-direction: column; flex: 1; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 8px var(--gut) 0; }
  .bk-cell { flex-direction: column; border-right: 0; border-bottom: 1px solid var(--line); }
  .bk-cell--dates { grid-template-columns: 1fr auto 1fr; }
  .bk-cell--dates .pop { grid-column: 1 / -1; }
  .bk-field { padding: 18px 0; }
  .bk-cell--dates .bk-field[data-part="out"] { padding-left: 20px; }
  .bk-field:hover, .bk-field.is-active { background: none; }
  .bk-field.is-active .bk-label { color: var(--ink); }
  .bk-value { font-size: 1.4rem; }
  .pop {
    position: static; width: 100%; padding: 0; box-shadow: none; background: none;
    display: none; opacity: 1; visibility: visible; transform: none;
  }
  .pop.is-open { display: block; padding-bottom: 22px; animation: fadeUp .5s var(--ease); }
  .pop--res { padding: 0; }
  .opt { padding: 10px 0; }
  .cal { grid-template-columns: 1fr; gap: 28px; }
  .cal-day { height: 46px; }
  .cal-foot { flex-direction: column; align-items: stretch; }
  .cal-actions { justify-content: space-between; }
  .bk-submit { position: sticky; bottom: 0; margin: auto calc(-1 * var(--gut)) 0; padding: 22px; padding-bottom: calc(22px + env(safe-area-inset-bottom)); }

  .mbar { display: flex; }

  .facts { grid-template-columns: 1fr; gap: 28px; }
  .villa-grid, .isl-grid, .arr-grid, .con-grid { grid-template-columns: 1fr; }
  .villa-media, .isl-media { margin-bottom: 10px; }
  .isl-media { order: -1; }
  .arr-side { position: static; }
  .res-grid { grid-template-columns: 1fr; }
  .res-grid > :nth-child(even) { margin-top: 0; }
  .gal-grid { columns: 2; column-gap: 10px; }
  .gal-item { margin-bottom: 10px; }
  .direct-list { grid-template-columns: 1fr; gap: 44px; }
  .form-grid { grid-template-columns: 1fr; }
  .ftr { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  .ftr-top { flex-direction: column; align-items: flex-start; }

  .rd-body { display: block; }
  .rd-gal { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 6px; padding: 0; scrollbar-width: none; }
  .rd-gal::-webkit-scrollbar { display: none; }
  .rd-gal button, .rd-gal button:first-child { flex: 0 0 88%; aspect-ratio: 4 / 3; scroll-snap-align: start; }
  .rd-info { position: static; max-height: none; overflow: visible; padding: 36px var(--gut) calc(60px + env(safe-area-inset-bottom)); }
  .rd-facts { grid-template-columns: 1fr 1fr; }
  .rd-am { grid-template-columns: 1fr; }
  .rd-close { top: 14px; }

  .modal { padding: 0; place-items: end center; }
  .modal-box { max-height: 92svh; transform: translateY(40px); }
  .av-row { grid-template-columns: 88px 1fr; gap: 16px; }
  .av-row img { width: 88px; height: 72px; }
  .av-price { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; text-align: left; gap: 12px; }
  .av-price small { margin: 0; }
  .av-req { grid-template-columns: 1fr; }
  .av-recap { grid-template-columns: 80px 1fr; }
  .av-recap img { width: 80px; height: 64px; }
  .av-recap > :last-child { grid-column: 1 / -1; }

  .lb-nav { display: none; }
}

@media (max-width: 520px) {
  .hdr-book { display: none; }
  .burger-txt { display: none; }
  .logo-name { font-size: 1.25rem; letter-spacing: .12em; }
  .hero-img:first-child { object-position: 30% 50%; }
  .hero-title { font-size: clamp(3rem, 15vw, 4.4rem); }
  .villa-fig--b, .isl-fig--b { outline-width: 8px; }
  .rd-facts dd { font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .hero-img { transform: none !important; }
}
