/* NURI Residence — Watamu */

/* Overlays set their own display, which would otherwise beat the hidden
   attribute and leave an invisible layer catching every click. */
[hidden] { display: none !important; }

:root {
  --ink: #463939;
  --brown: #5b4f47;
  --sand: #c7af95;
  --sand-soft: #e8dccd;
  --cream: #f6ead9;
  --paper: #fbf7f1;
  --white: #fff;
  --text: #4a403b;
  --muted: #857870;
  --line: rgba(70, 57, 57, .12);
  --ok: #4f7a5a;

  --f-display: "Cinzel", Georgia, serif;
  --f-serif: "Playfair Display", Georgia, serif;
  --f-sans: "Poppins", system-ui, -apple-system, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(70, 57, 57, .05), 0 12px 32px -12px rgba(70, 57, 57, .18);
  --shadow-lg: 0 30px 60px -20px rgba(70, 57, 57, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 300 16px/1.75 var(--f-sans);
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 400; line-height: 1.15; }
h2 { font-family: var(--f-display); font-size: clamp(2rem, 4.2vw, 3.2rem); letter-spacing: .01em; }
h3 { font-family: var(--f-serif); font-size: 1.45rem; }
p { margin: 0 0 1rem; }
figure { margin: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; border-radius: 4px; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.center { text-align: center; margin-top: 56px; }

.icon { width: 1.15em; height: 1.15em; flex: none; }
.icon-inline { width: 1em; height: 1em; vertical-align: -2px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  margin: 0 0 14px;
  font: italic 400 1.1rem/1.4 var(--f-serif);
  color: var(--brown);
}
.eyebrow.light { color: rgba(255, 255, 255, .9); }
.lead { font-size: 1.06rem; color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--white);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  height: 52px; padding: 0 28px;
  border: 1px solid transparent; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: 500 .82rem/1 var(--f-sans); letter-spacing: .14em; text-transform: uppercase;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(70, 57, 57, .55); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn-primary { --bg: var(--sand); --fg: var(--ink); }
.btn-primary:hover { --bg: #d2bca4; }
.btn-dark { --bg: var(--ink); }
.btn-dark:hover { --bg: var(--brown); }
.btn-glass {
  --bg: rgba(255, 255, 255, .12); --fg: #fff;
  border-color: rgba(255, 255, 255, .45);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn-glass:hover { --bg: #fff; --fg: var(--ink); }
.btn-ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); box-shadow: none; }
.btn-sm { height: 42px; padding: 0 20px; font-size: .74rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: background-color .4s, box-shadow .4s, height .4s var(--ease);
}
.header-inner {
  height: 100%;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px;
}
.nav { display: flex; gap: 30px; align-items: center; }
.nav-left { justify-content: flex-end; }
.nav-right { justify-content: flex-start; }
.nav a {
  position: relative;
  font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: #fff; padding: 6px 0;
  transition: color .3s;
}
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 9px 18px !important; border: 1px solid rgba(255, 255, 255, .5); border-radius: 999px; transition: background-color .3s, color .3s, border-color .3s !important; }
.nav-cta:hover { background: #fff; color: var(--ink) !important; }

.brand img { height: 58px; width: auto; filter: brightness(0) invert(1); transition: height .4s var(--ease), filter .4s; }

.site-header.scrolled {
  height: 68px;
  background: rgba(251, 247, 241, .86);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.scrolled .nav a { color: var(--ink); }
.site-header.scrolled .nav-cta { border-color: var(--ink); }
.site-header.scrolled .nav-cta:hover { background: var(--ink); color: #fff !important; }
.site-header.scrolled .brand img { height: 46px; filter: none; }

.menu-toggle {
  display: none; justify-self: end;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .1); color: #fff;
  align-items: center; justify-content: center;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.menu-toggle .icon { width: 22px; height: 22px; }
.site-header.scrolled .menu-toggle { color: var(--ink); border-color: var(--line); background: #fff; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--ink); color: var(--cream);
  display: flex; flex-direction: column; justify-content: center;
  padding: 100px 28px 40px;
  opacity: 0; transition: opacity .35s;
}
.mobile-menu.open { opacity: 1; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu nav a {
  font: 400 clamp(1.7rem, 7vw, 2.2rem)/1.3 var(--f-display); color: var(--cream);
  opacity: 0; transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), color .2s;
}
.mobile-menu.open nav a { opacity: 1; transform: none; }
.mobile-menu nav a:nth-child(2) { transition-delay: .04s; }
.mobile-menu nav a:nth-child(3) { transition-delay: .08s; }
.mobile-menu nav a:nth-child(4) { transition-delay: .12s; }
.mobile-menu nav a:nth-child(5) { transition-delay: .16s; }
.mobile-menu nav a:nth-child(6) { transition-delay: .2s; }
.mobile-menu nav a:hover { color: var(--sand); }
.mobile-menu-foot { margin-top: auto; display: grid; gap: 4px; font-size: .9rem; color: var(--sand); }
body.menu-open { overflow: hidden; }
body.menu-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; }
body.menu-open .site-header .brand img { filter: brightness(0) invert(1); }
body.menu-open .menu-toggle { color: #fff; border-color: rgba(255, 255, 255, .4); background: transparent; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: grid; place-items: center; text-align: center; overflow: hidden;
  color: #fff; isolation: isolate;
}
.hero-media {
  position: absolute; inset: 0; z-index: -2;
  background: center/cover no-repeat;
  animation: kenburns 22s ease-out forwards;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(30, 22, 20, .55) 0%, rgba(30, 22, 20, .15) 35%, rgba(30, 22, 20, .25) 60%, rgba(30, 22, 20, .7) 100%);
}
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-content { padding: 120px 0 90px; }
.hero h1 {
  font: 400 clamp(2.6rem, 8vw, 6rem)/1.02 var(--f-display);
  color: #fff; letter-spacing: .01em; margin-bottom: 26px;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .25);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px; margin-bottom: 34px;
  border-radius: 999px; background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: .76rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
}
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--sand); }
.pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--sand);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(3); opacity: 0; } }
.hero-content > * { animation: rise 1s var(--ease) both; }
.hero-content > :nth-child(2) { animation-delay: .12s; }
.hero-content > :nth-child(3) { animation-delay: .24s; }
.hero-content > :nth-child(4) { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; translate: -50% 0;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .4); color: #fff;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(6px); } }

/* ---------- Split layout ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center;
}
.split h2 { margin-bottom: 24px; }
.split-text .btn { margin-top: 12px; }
.split-media {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.4;
}
.split-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.split-media:hover img { transform: scale(1.04); }

.stats {
  list-style: none; padding: 28px 0 0; margin: 28px 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  border-top: 1px solid var(--line);
}
.stats strong { display: block; font: 400 1.9rem/1.1 var(--f-display); color: var(--ink); }
.stats span { font-size: .8rem; color: var(--muted); letter-spacing: .04em; }

/* ---------- Section heads ---------- */
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head h2 { margin-bottom: 18px; }
.section-head p:last-child { margin-bottom: 0; color: var(--muted); }
.section-head .eyebrow { margin-bottom: 12px; }

/* ---------- Units ---------- */
.units { background: var(--white); }
.unit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.unit-card {
  display: flex; flex-direction: column;
  background: var(--paper); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.unit-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.unit-media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--sand-soft); }
.unit-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.unit-card:hover .unit-media img { transform: scale(1.06); }
.unit-floor, .unit-status {
  position: absolute; top: 16px;
  padding: 6px 12px; border-radius: 999px;
  font-size: .68rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
}
.unit-floor { left: 16px; background: rgba(255, 255, 255, .92); color: var(--ink); }
.unit-status { right: 16px; color: #fff; }
.unit-status.open { background: var(--ok); }
.unit-status.sold { background: var(--ink); }
.unit-card.is-sold .unit-media img { filter: grayscale(.35); }

.unit-body { padding: 26px 26px 24px; display: flex; flex-direction: column; flex: 1; }
.unit-body h3 { margin-bottom: 16px; }
.specs {
  list-style: none; padding: 0; margin: 0 0 20px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px;
  font-size: .86rem; color: var(--text);
}
.specs li { display: flex; align-items: center; gap: 8px; }
.specs .icon { color: var(--sand); width: 18px; height: 18px; }

.availability { margin-bottom: 18px; }
.availability .bar { height: 5px; border-radius: 99px; background: var(--sand-soft); overflow: hidden; margin-bottom: 6px; }
.availability .bar span { display: block; height: 100%; background: var(--sand); border-radius: inherit; }
.availability small { font-size: .76rem; color: var(--muted); }

.features { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.features summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0; font-weight: 500; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
}
.features summary::-webkit-details-marker { display: none; }
.features summary .icon { color: var(--sand); transition: transform .3s var(--ease); }
.features[open] summary .icon { transform: rotate(180deg); }
.features p { font-size: .9rem; color: var(--text); padding-bottom: 6px; }

.unit-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.price { font: 400 1.7rem/1 var(--f-display); color: var(--ink); }
.price small { display: block; font: 400 .72rem/1.6 var(--f-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
}
.gallery-grid .g-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-grid .g-item:nth-child(3) { grid-row: span 2; }
.gallery-grid .g-item:nth-child(6) { grid-column: span 2; }
.g-item {
  position: relative; overflow: hidden; border-radius: var(--radius-sm);
  background: var(--sand-soft); display: block;
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.g-item::after { content: ""; position: absolute; inset: 0; background: rgba(70, 57, 57, 0); transition: background .4s; }
.g-item:hover img { transform: scale(1.06); }
.g-item:hover::after { background: rgba(70, 57, 57, .25); }
.g-zoom {
  position: absolute; z-index: 1; right: 14px; bottom: 14px;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--ink);
  opacity: 0; transform: translateY(8px) scale(.9); transition: .35s var(--ease);
}
.g-item:hover .g-zoom, .g-item:focus-visible .g-zoom { opacity: 1; transform: none; }

/* ---------- Work in progress ---------- */
.progress { background: var(--cream); }
.date-pill {
  display: inline-block; padding: 6px 16px; border-radius: 999px;
  background: var(--ink); color: var(--cream) !important;
  font-size: .76rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
}
.wip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.wip-grid .g-item { aspect-ratio: 3 / 4; }
.sub-title { text-align: center; margin: 64px 0 26px; }
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 980px; margin-inline: auto; }
.video { border-radius: var(--radius); overflow: hidden; background: #1d1716; box-shadow: var(--shadow-lg); }
.video video { width: 100%; aspect-ratio: 9 / 12; object-fit: cover; background: #1d1716; }

/* ---------- Amenities ---------- */
.amenity-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.amenity {
  display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
  padding: 28px 24px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line);
  font: 400 1.12rem/1.3 var(--f-serif); color: var(--ink);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.amenity:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.amenity-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--cream); color: var(--brown);
  transition: background .4s, color .4s;
}
.amenity-icon .icon { width: 24px; height: 24px; }
.amenity:hover .amenity-icon { background: var(--ink); color: var(--cream); }

/* ---------- Why / Location ---------- */
.why { background: var(--white); }
.location { margin-top: clamp(72px, 10vw, 128px); }
.split-reverse .split-text { order: 0; }
.map { aspect-ratio: 1; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(96px, 14vw, 170px) 0; text-align: center; color: #fff;
}
.cta-media { position: absolute; inset: -10% 0; z-index: -2; background: center/cover no-repeat; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(46, 36, 34, .62); }
.cta-content { max-width: 760px; }
.cta-band h2 { color: #fff; margin-bottom: 20px; }
.cta-band p { font-size: 1.08rem; color: rgba(255, 255, 255, .88); margin-bottom: 34px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact-info h2 { margin-bottom: 18px; }
.contact-links { display: grid; gap: 12px; margin: 28px 0; }
.contact-link {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 18px; border-radius: 14px;
  background: var(--white); border: 1px solid var(--line);
  font-weight: 400; color: var(--ink);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.contact-link:hover { transform: translateX(4px); box-shadow: var(--shadow); border-color: transparent; }
.contact-link small { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); line-height: 1.4; }
.cl-icon {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: var(--ink); color: var(--cream);
}
.price-box {
  padding: 24px; border-radius: var(--radius);
  background: var(--cream); margin-bottom: 20px;
}
.price-box h3 { font-size: 1.2rem; margin-bottom: 12px; }
.price-box dl { margin: 0; display: grid; gap: 6px; }
.price-box dl div { display: flex; justify-content: space-between; border-bottom: 1px dashed rgba(70, 57, 57, .2); padding-bottom: 6px; }
.price-box dl div:last-child { border: 0; padding: 0; }
.price-box dt { color: var(--text); }
.price-box dd { margin: 0; font: 400 1.15rem var(--f-display); color: var(--ink); }
.hashtags { font: italic 400 1.15rem var(--f-serif); color: var(--sand); }

.form-card {
  background: var(--white); border-radius: 24px; padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.contact-form { display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; display: block; }
.field input, .field textarea {
  width: 100%; padding: 24px 16px 10px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--paper);
  font: 400 .95rem var(--f-sans); color: var(--ink);
  transition: border-color .25s, box-shadow .25s, background-color .25s;
  resize: vertical;
}
.field textarea { min-height: 140px; }
.field span {
  position: absolute; left: 17px; top: 17px;
  font-size: .9rem; color: var(--muted); pointer-events: none;
  transition: transform .2s var(--ease), font-size .2s, color .2s;
  transform-origin: left top;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--sand); background: #fff;
  box-shadow: 0 0 0 4px rgba(199, 175, 149, .22);
}
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span {
  transform: translateY(-10px); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brown);
}
.field.invalid input, .field.invalid textarea { border-color: #b4573f; }

.segmented { border: 0; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.segmented legend { font-size: .82rem; color: var(--muted); margin-bottom: 10px; padding: 0; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; }
.segmented span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line);
  font-size: .86rem; cursor: pointer; transition: .25s;
}
.segmented input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.segmented input:focus-visible + span { outline: 2px solid var(--sand); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }

.alert { display: flex; gap: 10px; align-items: flex-start; padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-size: .92rem; }
.alert-ok { background: #e7efe8; color: #2f5537; }
.alert-err { background: #f6e3dd; color: #8a3a26; }
.btn.loading { pointer-events: none; opacity: .75; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(246, 234, 217, .75); padding: 64px 0 28px; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; padding-bottom: 36px; border-bottom: 1px solid rgba(246, 234, 217, .14); }
.footer-logo { height: 60px; width: auto; filter: brightness(0) invert(.92) sepia(.2); }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-nav a:hover, .footer-bottom .link-btn:hover { color: var(--sand); }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid rgba(246, 234, 217, .25);
  transition: .3s;
}
.socials a:hover { background: var(--sand); color: var(--ink); border-color: var(--sand); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }
.link-btn { background: none; border: 0; color: inherit; padding: 0; letter-spacing: inherit; text-transform: inherit; font-size: inherit; }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--sand); color: var(--ink); box-shadow: 0 12px 28px -8px rgba(70, 57, 57, .5);
  transform: translateY(90px); transition: transform .5s var(--ease), background-color .3s;
}
.wa-float .icon { width: 26px; height: 26px; }
.wa-float.show { transform: none; }
.wa-float:hover { background: var(--ink); color: var(--cream); }

/* ---------- Modal ---------- */
.modal {
  max-width: 560px; width: calc(100% - 40px); border: 0; border-radius: 20px;
  padding: 40px 36px 28px; color: var(--text); background: var(--paper);
  box-shadow: var(--shadow-lg);
}
.modal::backdrop { background: rgba(30, 22, 20, .55); backdrop-filter: blur(4px); }
.modal h2 { font-size: 1.8rem; margin-bottom: 18px; }
.modal a { color: var(--brown); text-decoration: underline; }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(20, 15, 14, .94);
  display: grid; place-items: center;
  opacity: 0; transition: opacity .3s;
}
.lightbox.open { opacity: 1; }
.lightbox img { max-width: min(92vw, 1400px); max-height: 84vh; border-radius: 8px; object-fit: contain; }
.lightbox button {
  position: absolute; width: 50px; height: 50px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); color: #fff;
  display: grid; place-items: center; transition: background .25s;
}
.lightbox button:hover { background: rgba(255, 255, 255, .18); }
.lightbox .icon { width: 22px; height: 22px; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; translate: 0 -50%; }
.lb-next { right: 20px; top: 50%; translate: 0 -50%; }
.lb-count { position: absolute; bottom: 22px; left: 50%; translate: -50% 0; color: rgba(255, 255, 255, .7); font-size: .8rem; letter-spacing: .14em; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .header-inner { grid-template-columns: 1fr auto; }
  .brand { justify-self: start; }
  .menu-toggle { display: inline-flex; }
  .unit-grid { grid-template-columns: repeat(2, 1fr); }
  .amenity-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  :root { --header-h: 72px; }
  .brand img { height: 46px; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split > .split-media { order: -1; }
  .split-media { aspect-ratio: 4 / 3; }
  .map { aspect-ratio: 1; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .gallery-grid .g-item:nth-child(3) { grid-row: span 1; }
  .gallery-grid .g-item:nth-child(6) { grid-column: span 1; }
  .wip-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-bottom { flex-direction: column; align-items: center; }
}

@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .unit-grid, .video-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 100%; }
  .amenity { padding: 20px 18px; font-size: 1rem; gap: 14px; }
  .amenity-icon { width: 44px; height: 44px; border-radius: 12px; }
  .stats strong { font-size: 1.5rem; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; translate: none; }
  .lb-close { top: 14px; right: 14px; }
}
