/* ============================================================
   Stay @ Swakop — Coastal Desert Editorial Redesign
   Built around real guesthouse photography, accessibility,
   restrained motion, and a sea / salt / dune colour system.
   ============================================================ */

:root {
  --ink: #102d31;
  --ink-soft: #29464a;
  --ocean: #176b73;
  --ocean-deep: #0d4f56;
  --ocean-light: #83bdba;
  --sea-glass: #cde4df;
  --foam: #f5f8f5;
  --salt: #fffef9;
  --sand: #e9d4b2;
  --sand-light: #f3e9d8;
  --dune: #c69055;
  --sun: #edaa5a;
  --white: #ffffff;
  --whatsapp: #128c5e;
  --text: #19373b;
  --text-light: #5d7476;
  --border: rgba(16, 45, 49, .14);
  --border-light: rgba(255, 255, 255, .28);

  --font-heading: "DM Serif Display", Georgia, serif;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-hand: "Caveat", cursive;

  --fs-xs: .78rem;
  --fs-sm: .9rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.22rem;
  --fs-xl: 1.55rem;
  --fs-2xl: 2rem;
  --fs-3xl: clamp(2.6rem, 5vw, 4.7rem);
  --fs-4xl: clamp(3.4rem, 8vw, 7.4rem);
  --fs-5xl: clamp(4rem, 10vw, 9rem);

  --space-xs: .5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: clamp(5rem, 9vw, 9rem);
  --space-2xl: clamp(7rem, 13vw, 13rem);

  --max-width: 1240px;
  --max-width-narrow: 760px;
  --max-width-wide: 1480px;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 30px;
  --radius-xl: 44px;
  --radius-full: 999px;

  --shadow-sm: 0 2px 10px rgba(16, 45, 49, .06);
  --shadow-md: 0 18px 50px rgba(16, 45, 49, .11);
  --shadow-lg: 0 34px 90px rgba(16, 45, 49, .19);
  --ease-premium: cubic-bezier(.16, 1, .3, 1);
  --ease-standard: cubic-bezier(.2, .8, .2, 1);
  --transition: 260ms var(--ease-premium);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  font-size: 16px;
  overflow-x: clip;
  background: var(--ink);
  -webkit-text-size-adjust: 100%;
}
body {
  min-width: 320px;
  overflow-x: clip;
  color: var(--text);
  background:
    radial-gradient(circle at 85% 12%, rgba(205, 228, 223, .45), transparent 28rem),
    var(--foam);
  font: 400 var(--fs-base)/1.68 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select { font: inherit; }
button, summary, [role="button"], a { -webkit-tap-highlight-color: transparent; }
button, summary, .gallery-item, a { cursor: pointer; }
::selection { color: var(--white); background: var(--ocean); }

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 5000;
  transform: translateY(-160%);
  padding: .85rem 1.2rem;
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius-full);
  font-weight: 700;
  transition: transform 180ms var(--ease-premium);
}
.skip-link:focus { transform: translateY(0); }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
:focus-visible { outline: 3px solid var(--sun); outline-offset: 4px; }
#main-content:focus { outline: 0; }

h1, h2, h3, h4 {
  color: var(--ink);
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.035em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: clamp(1.9rem, 3vw, 2.8rem); }
h4 { font-size: 1.25rem; line-height: 1.18; letter-spacing: -.015em; }
p { margin-bottom: var(--space-sm); }
.handwritten {
  color: var(--ocean);
  font-family: var(--font-hand);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  line-height: 1.2;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: 1rem;
  color: var(--ocean);
  font-size: .76rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.section-label::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: currentColor;
  opacity: .8;
}
.text-center { text-align: center; }
.text-center .section-label { justify-content: center; }

.container,
.container-narrow,
.container-wide {
  width: min(100% - 3rem, var(--max-width));
  margin-inline: auto;
}
.container-narrow { max-width: var(--max-width-narrow); }
.container-wide { max-width: var(--max-width-wide); }
.section { position: relative; padding: var(--space-xl) 0; }
.section-sm { position: relative; padding: clamp(4rem, 7vw, 7rem) 0; }
.bg-cream { background: var(--salt); }
.bg-sand {
  background:
    radial-gradient(circle at 8% 20%, rgba(255, 255, 255, .7), transparent 23rem),
    var(--sand-light);
}

/* Navigation */
.navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1200;
  height: 80px;
  color: var(--white);
  transition: height var(--transition), background-color var(--transition), box-shadow var(--transition), color var(--transition);
}
.navbar::after {
  content: "";
  position: absolute;
  inset: auto 1.5rem 0;
  height: 1px;
  background: rgba(255, 255, 255, .28);
  transition: opacity var(--transition);
}
.navbar.scrolled {
  height: 70px;
  color: var(--ink);
  background: rgba(255, 254, 249, .88);
  box-shadow: 0 10px 36px rgba(16, 45, 49, .08);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
}
.navbar.scrolled::after { opacity: 0; }
.nav-inner {
  width: min(100% - 3rem, var(--max-width-wide));
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-logo { position: relative; z-index: 3; display: block; flex: 0 0 auto; }
.nav-logo img {
  width: 168px;
  max-height: 54px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter var(--transition), width var(--transition);
}
.navbar.scrolled .nav-logo img { width: 150px; filter: none; }
.nav-links { display: flex; align-items: center; gap: clamp(.9rem, 1.8vw, 2rem); }
.nav-links > li > a:not(.btn) {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .9rem;
  font-weight: 600;
}
.nav-links > li > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 7px;
  height: 2px;
  background: var(--sun);
  transition: right var(--transition);
}
.nav-links > li > a:hover::after,
.nav-links > li > a.active::after { right: 0; }
.nav-lang {
  display: flex;
  align-items: center;
  gap: .36rem;
  padding: .28rem .55rem;
  border: 1px solid currentColor;
  border-radius: var(--radius-full);
  opacity: .9;
}
.nav-lang a { min-width: 30px; min-height: 34px !important; justify-content: center; font-size: .72rem !important; }
.nav-lang span { opacity: .3; }
.nav-lang a::after { display: none; }
.nav-toggle {
  position: relative;
  z-index: 3;
  display: none;
  width: 50px;
  height: 50px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
}
.nav-toggle span {
  position: absolute;
  left: 14px;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform var(--transition), top var(--transition), opacity 180ms;
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 24px; }
.nav-toggle span:nth-child(3) { top: 31px; }
.nav-toggle.open span:nth-child(1) { top: 24px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 24px; transform: rotate(-45deg); }

/* Buttons */
.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 48px;
  padding: .82rem 1.35rem;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  color: var(--ink);
  background: transparent;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: transform 180ms var(--ease-premium), color var(--transition), background-color var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.btn::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -40%;
  left: -80%;
  width: 42%;
  height: 180%;
  transform: skewX(-24deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  transition: left 650ms var(--ease-premium);
}
.btn:hover::after { left: 135%; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-lg { min-height: 56px; padding: 1rem 1.8rem; font-size: 1rem; }
.btn-primary {
  color: var(--white) !important;
  background: var(--ocean);
  border-color: var(--ocean);
  box-shadow: 0 12px 30px rgba(23, 107, 115, .24);
}
.btn-primary:hover { background: var(--ocean-deep); border-color: var(--ocean-deep); box-shadow: 0 16px 38px rgba(13, 79, 86, .28); }
.btn-outline { color: var(--ink); border-color: rgba(16, 45, 49, .5); background: rgba(255,255,255,.22); }
.btn-outline:hover { color: var(--white); background: var(--ink); border-color: var(--ink); }
.btn-whatsapp { color: var(--white) !important; background: var(--whatsapp); border-color: var(--whatsapp); }
.btn-whatsapp:hover { background: #0d724b; border-color: #0d724b; }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}
.hero-bg,
.hero-sun {
  position: absolute;
  inset: -4%;
  z-index: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.07);
}
.hero-sun {
  background:
    linear-gradient(120deg, rgba(16,45,49,.08), rgba(16,45,49,.46)),
    url('../images/gallery/02.webp') center / cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 32, 36, .78) 0%, rgba(7, 32, 36, .25) 58%, rgba(7, 32, 36, .12) 100%),
    linear-gradient(0deg, rgba(7, 32, 36, .66) 0%, transparent 48%),
    linear-gradient(180deg, rgba(7, 32, 36, .35) 0%, transparent 35%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 3rem, var(--max-width-wide));
  margin: 0 auto;
  padding: 10rem 0 clamp(5rem, 10vh, 8.5rem);
  text-align: left;
}
.hero-content h1 {
  max-width: 850px;
  color: var(--white);
  text-shadow: 0 8px 40px rgba(0, 0, 0, .23);
}
.hero:not([style*="min-height"]) .hero-content h1 { font-size: var(--fs-5xl); }
.hero-tagline {
  max-width: 650px;
  margin: 1.2rem 0 1.75rem;
  color: rgba(255,255,255,.9);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.45;
  text-wrap: balance;
}
.hero .section-label { color: #ffe2ae !important; }
.hero .section-label::before { width: 3.5rem; }
.scroll-indicator {
  position: absolute;
  z-index: 3;
  right: max(1.5rem, calc((100vw - var(--max-width-wide)) / 2));
  bottom: 3rem;
  display: grid;
  place-items: center;
  width: 52px;
  height: 74px;
  border: 1px solid rgba(255,255,255,.52);
  border-radius: var(--radius-full);
}
.scroll-indicator svg { width: 22px; animation: scrollCue 2s var(--ease-premium) infinite; }
@keyframes scrollCue { 0%,100% { transform: translateY(-4px); opacity: .55; } 50% { transform: translateY(6px); opacity: 1; } }

/* Living dunes hero — custom 21st.dev-inspired layered landscape */
.hero--living {
  --scene-x: 0px;
  --scene-y: 0px;
  --scene-tilt: 0deg;
  isolation: isolate;
  background: #082f37;
}
.hero-generated-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 43% 28%, rgba(255, 224, 167, .68), transparent 8%),
    linear-gradient(180deg, #345967 0%, #78919a 29%, #d7a65e 52%, #6e4a3b 100%);
}
.hero-generated-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(5,38,45,.38), transparent 37%, rgba(255,187,91,.1) 62%, rgba(8,44,50,.22)),
    radial-gradient(ellipse at 50% 50%, transparent 30%, rgba(5,32,37,.22) 100%);
}
.hero-sun-disc {
  position: absolute;
  z-index: 0;
  top: 28%;
  left: 43%;
  width: clamp(48px, 5.5vw, 86px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffe2a7;
  box-shadow: 0 0 28px 12px rgba(255,207,118,.35), 0 0 110px 40px rgba(255,172,73,.26);
  transform: translate(-50%, -50%);
}
.hero-haze {
  position: absolute;
  z-index: 0;
  top: 25%;
  left: -8%;
  width: 116%;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(237,198,135,.22) 48%, rgba(11,71,80,.14));
  filter: blur(13px);
}
.hero-dunes {
  position: absolute;
  z-index: 2;
  left: -3%;
  bottom: -4%;
  width: 106%;
  height: 68%;
  filter: drop-shadow(0 -12px 28px rgba(64,38,28,.12));
  transform: translate3d(calc(var(--scene-x) * .62), calc(var(--scene-y) * .42), 0) scale(1.035);
  transform-origin: 50% 100%;
  transition: transform 120ms linear;
  will-change: transform;
}
.dune { vector-effect: non-scaling-stroke; }
.dune-far { opacity: .78; filter: url(#duneSoft); }
.dune-middle { opacity: .96; }
.dune-front { opacity: 1; }
.dune-contours { fill: none; stroke: rgba(255,224,177,.28); stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.hero-sea {
  position: absolute;
  z-index: 1;
  top: 31%;
  left: -4%;
  width: 108%;
  height: 22%;
  overflow: hidden;
  opacity: .64;
  background:
    linear-gradient(180deg, rgba(164, 211, 211, .2), rgba(16, 93, 103, .52) 45%, rgba(7, 49, 57, .08));
  clip-path: polygon(0 16%, 100% 0, 100% 92%, 0 100%);
  mix-blend-mode: screen;
  transform: translate3d(calc(var(--scene-x) * -.35), calc(var(--scene-y) * -.2), 0);
  pointer-events: none;
}
.hero-sea::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(174deg, transparent 0 17px, rgba(227,247,243,.13) 18px, transparent 19px 33px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 88%, transparent);
}
.hero-sea svg { position: absolute; inset: 0; width: 200%; height: 100%; animation: seaDrift 24s linear infinite; }
.sea-line { fill: none; stroke: rgba(227, 247, 243, .42); stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.sea-line-two { opacity: .55; }
.sea-line-three { opacity: .32; }
@keyframes seaDrift { to { transform: translateX(-50%); } }
.hero-dune-glow {
  position: absolute;
  z-index: 2;
  inset: 38% -10% -18%;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 62% 53%, rgba(237, 170, 90, .26), transparent 31%),
    linear-gradient(4deg, rgba(198, 144, 85, .18), transparent 55%);
  mix-blend-mode: screen;
}
.hero--living .hero-overlay { z-index: 3; }
.hero-wind-canvas { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; pointer-events: none; }
.hero--living .hero-content { z-index: 5; }
.hero--living .scroll-indicator { z-index: 6; }
.hero--living .hero-content h1 {
  max-width: 920px;
  font-size: clamp(4.8rem, 10.5vw, 9.5rem);
  letter-spacing: -.055em;
}
.hero-place {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: 1.15rem;
  color: rgba(255,255,255,.74);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.hero-place span {
  width: 2.8rem;
  height: 1px;
  background: #ffd49b;
  box-shadow: 0 0 14px rgba(255,212,155,.55);
}
.hero-facts {
  display: flex;
  align-items: center;
  gap: .75rem;
  width: max-content;
  max-width: 100%;
  margin-top: 1.15rem;
  padding: .7rem 1rem;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius-full);
  color: rgba(255,255,255,.8);
  background: rgba(8, 47, 55, .28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
  backdrop-filter: blur(14px) saturate(145%);
  -webkit-backdrop-filter: blur(14px) saturate(145%);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.hero-facts i { width: 4px; height: 4px; flex: 0 0 4px; border-radius: 50%; background: #ffd49b; box-shadow: 0 0 10px #ffd49b; }
.hero-wind-card {
  position: absolute;
  z-index: 6;
  right: max(5.5rem, calc((100vw - var(--max-width-wide)) / 2));
  bottom: 7.2rem;
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: .9rem;
  width: min(310px, 28vw);
  padding: .9rem 1rem;
  color: var(--white);
  background: rgba(8, 47, 55, .32);
  border: 1px solid rgba(255,255,255,.24);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 50px rgba(4,27,31,.18), inset 0 1px 0 rgba(255,255,255,.1);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  transform: translate3d(calc(var(--scene-x) * -.45), calc(var(--scene-y) * -.35), 0);
}
.wind-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.wind-icon svg { width: 29px; fill: none; stroke: #d9f1ec; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.wind-icon path { stroke-dasharray: 80; animation: windDraw 4.5s var(--ease-premium) infinite; }
@keyframes windDraw { 0%, 100% { stroke-dashoffset: 0; opacity: .65; } 50% { stroke-dashoffset: 80; opacity: 1; } 51% { stroke-dashoffset: -80; } }
.hero-wind-card strong, .hero-wind-card span { display: block; }
.hero-wind-card strong { margin-bottom: .15rem; font-family: var(--font-heading); font-size: 1rem; font-weight: 400; }
.hero-wind-card span { color: rgba(255,255,255,.62); font-size: .7rem; line-height: 1.35; }

/* Three custom subpage hero systems */
.hero--designed {
  --page-x: 0px;
  --page-y: 0px;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
}
.hero--designed .hero-content { z-index: 5; }
.hero--designed .hero-content h1 {
  max-width: 820px;
  font-size: clamp(4.7rem, 9vw, 8.7rem);
  letter-spacing: -.055em;
}
.page-hero-label {
  color: #ffd49b !important;
  text-shadow: 0 2px 16px rgba(12,38,42,.25);
}
.page-hero-meta {
  display: flex;
  width: max-content;
  max-width: 100%;
  margin-top: 1.2rem;
  padding: .68rem 1rem;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius-full);
  color: rgba(255,255,255,.78);
  background: rgba(8,47,55,.27);
  backdrop-filter: blur(14px) saturate(145%);
  -webkit-backdrop-filter: blur(14px) saturate(145%);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
}
.page-scene-card {
  position: absolute;
  z-index: 6;
  right: max(4.5rem, calc((100vw - var(--max-width-wide)) / 2));
  bottom: 4.25rem;
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: .85rem;
  width: min(290px, 26vw);
  padding: .82rem 1rem;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius-md);
  background: rgba(9,43,48,.32);
  box-shadow: 0 20px 60px rgba(3,24,28,.2), inset 0 1px rgba(255,255,255,.1);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  transform: translate3d(calc(var(--page-x) * -.35), calc(var(--page-y) * -.28), 0);
}
.scene-card-index {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 50%;
  color: #ffd49b;
  font-size: .72rem;
  letter-spacing: .08em;
}
.page-scene-card strong, .page-scene-card small { display: block; }
.page-scene-card strong { margin-bottom: .12rem; font-family: var(--font-heading); font-size: 1rem; font-weight: 400; }
.page-scene-card small { color: rgba(255,255,255,.6); font-size: .66rem; }

/* Rooms: an original architectural scene with moving morning light */
.hero--rooms { background: #183e41; }
.hero--rooms .hero-overlay {
  z-index: 3;
  background:
    linear-gradient(90deg, rgba(6,37,42,.9) 0%, rgba(6,37,42,.52) 45%, rgba(6,37,42,.05) 78%),
    linear-gradient(0deg, rgba(5,29,34,.45), transparent 62%);
}
.rooms-hero-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 30%, rgba(255,224,170,.3), transparent 24%),
    linear-gradient(125deg, #2b5555 0 28%, #c9b589 28.2% 60%, #8ba09a 60.2% 100%);
}
.room-architecture {
  position: absolute;
  inset: 0;
  transform: translate3d(calc(var(--page-x) * .45), calc(var(--page-y) * .32), 0) scale(1.025);
  transform-origin: 70% 60%;
  transition: transform 130ms linear;
}
.room-window {
  position: absolute;
  top: 11%;
  right: 8%;
  width: 32%;
  height: 57%;
  overflow: hidden;
  border: clamp(8px, 1vw, 16px) solid rgba(240,234,211,.72);
  border-radius: 5px 5px 22px 22px;
  background: linear-gradient(180deg, #7aa8b2, #dce7dc 55%, #c6a16e 56%, #99754f);
  box-shadow: 0 24px 70px rgba(23,44,42,.25), inset 0 0 0 2px rgba(255,255,255,.3);
}
.room-window::after { content: ""; position: absolute; inset: 0 48% 0 auto; width: 5px; background: rgba(238,233,211,.72); }
.room-window span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,.6);
  box-shadow: 0 5px 8px rgba(26,51,48,.12);
}
.room-window span:nth-child(1) { top: 12%; }.room-window span:nth-child(2) { top: 24%; }.room-window span:nth-child(3) { top: 36%; }
.room-window span:nth-child(4) { top: 48%; }.room-window span:nth-child(5) { top: 60%; }.room-window span:nth-child(6) { top: 72%; }
.room-curtain { position: absolute; z-index: 2; top: 7%; height: 68%; width: 9%; background: repeating-linear-gradient(90deg, #e7e1cf 0 12px, #beb69e 13px 17px, #f3edd9 18px 29px); filter: drop-shadow(0 10px 18px rgba(29,42,39,.18)); }
.room-curtain-left { right: 39%; border-radius: 40% 8px 45% 20px; transform: skewX(-4deg); }
.room-curtain-right { right: 2%; border-radius: 8px 45% 20px 38%; transform: skewX(4deg); }
.room-bed {
  position: absolute;
  z-index: 3;
  right: 3%;
  bottom: -2%;
  width: 49%;
  height: 34%;
  border-radius: 24% 8% 0 0;
  background: linear-gradient(165deg, #fffdf2 0 55%, #d5d2c2 56% 100%);
  box-shadow: -24px -15px 60px rgba(44,49,37,.17);
  transform: perspective(900px) rotateX(5deg) rotateZ(-2deg);
}
.room-bed::before { content: ""; position: absolute; inset: 45% 0 auto; height: 22%; background: linear-gradient(90deg, #63866e, #91a65e 48%, #537d68); }
.room-bed::after { content: ""; position: absolute; right: 7%; top: -45%; width: 74%; height: 62%; border-radius: 12px 12px 3px 3px; background: linear-gradient(180deg,#e5dfcc,#c9bfa3); box-shadow: inset 0 -8px rgba(96,114,86,.12); }
.room-pillow { position: absolute; z-index: 2; top: -22%; width: 30%; height: 34%; border-radius: 10px 14px 8px 12px; background: #f7f3e7; box-shadow: 0 10px 20px rgba(42,52,44,.13); }
.pillow-one { right: 13%; transform: rotate(3deg); }.pillow-two { right: 41%; transform: rotate(-3deg); }
.room-bed b { position: absolute; z-index: 3; right: 27%; top: -12%; width: 17%; height: 29%; border-radius: 7px; background: linear-gradient(135deg,#c6d16d,#6e915d); transform: rotate(5deg); }
.room-table { position: absolute; z-index: 2; right: 51%; bottom: 5%; width: 9%; height: 20%; border-top: 8px solid #7c5036; border-left: 5px solid transparent; border-right: 5px solid transparent; }
.room-table i { position: absolute; top: -24px; left: 29%; width: 28px; height: 20px; border-radius: 2px 2px 9px 9px; background: #eee5d2; }
.room-lamp { position: absolute; z-index: 2; right: 53.5%; bottom: 26%; width: 4px; height: 19%; background: #d1b67c; }
.room-lamp::before { content:""; position:absolute; left:50%; top:-8px; width:54px; height:25px; border-radius:50% 50% 20% 20%; background:#ead499; transform:translateX(-50%); box-shadow:0 0 24px rgba(255,211,118,.42); }
.room-sunbeam { position: absolute; z-index: 4; top: 20%; right: -2%; width: 45%; height: 92%; background: linear-gradient(105deg, transparent 8%, rgba(255,230,170,.21) 35%, transparent 66%); clip-path: polygon(16% 0, 65% 0, 100% 100%, 0 100%); mix-blend-mode: screen; animation: roomLight 11s ease-in-out infinite alternate; }
@keyframes roomLight { from { transform: translateX(-4%) skewX(-2deg); opacity: .5; } to { transform: translateX(6%) skewX(3deg); opacity: .9; } }

/* Gallery: floating editorial frames, all custom CSS artwork */
.hero--gallery { background: #102d31; }
.hero--gallery .hero-overlay { z-index: 3; background: linear-gradient(90deg, rgba(5,31,36,.92) 0%, rgba(5,31,36,.58) 42%, rgba(5,31,36,.1) 70%), linear-gradient(0deg, rgba(5,31,36,.52), transparent 58%); }
.gallery-hero-scene { position:absolute; inset:0; z-index:0; overflow:hidden; background: radial-gradient(circle at 75% 45%, rgba(237,170,90,.31), transparent 25%), linear-gradient(135deg,#123e43,#49726d 55%,#c79559); }
.gallery-hero-scene::before { content:""; position:absolute; inset:0; opacity:.18; background-image:linear-gradient(rgba(255,255,255,.14) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.14) 1px,transparent 1px); background-size:64px 64px; transform:perspective(700px) rotateX(58deg) translateY(28%); transform-origin:bottom; }
.gallery-halo { position:absolute; right:10%; top:10%; width:min(48vw,650px); aspect-ratio:1; border:1px solid rgba(255,255,255,.18); border-radius:50%; box-shadow:0 0 0 70px rgba(255,255,255,.025),0 0 0 140px rgba(255,255,255,.018); transform:translate3d(calc(var(--page-x) * -.2),calc(var(--page-y) * -.2),0); }
.floating-frame { position:absolute; z-index:2; padding:10px 10px 28px; border-radius:8px; background:#f7f3e8; box-shadow:0 30px 70px rgba(4,26,29,.34); transform-origin:center; }
.floating-frame span { position:absolute; left:13px; bottom:7px; color:#35585a; font-size:.6rem; font-weight:700; letter-spacing:.13em; }
.frame-art { position:relative; width:100%; height:100%; overflow:hidden; border-radius:3px; }
.frame-one { right:29%; top:13%; width:19vw; max-width:285px; aspect-ratio:.88; transform:translate3d(calc(var(--page-x) * .52),calc(var(--page-y) * .42),0) rotate(-7deg); animation:frameFloatOne 8s ease-in-out infinite alternate; }
.frame-two { right:9%; top:25%; width:21vw; max-width:320px; aspect-ratio:1.18; transform:translate3d(calc(var(--page-x) * -.45),calc(var(--page-y) * -.35),0) rotate(6deg); animation:frameFloatTwo 9.5s ease-in-out infinite alternate; }
.frame-three { right:34%; bottom:-8%; width:18vw; max-width:270px; aspect-ratio:1.12; transform:translate3d(calc(var(--page-x) * .25),calc(var(--page-y) * -.3),0) rotate(3deg); animation:frameFloatThree 7.5s ease-in-out infinite alternate; }
@keyframes frameFloatOne { to { margin-top:-10px; rotate:2deg; } } @keyframes frameFloatTwo { to { margin-top:12px; rotate:-2deg; } } @keyframes frameFloatThree { to { margin-bottom:9px; rotate:-1deg; } }
.art-dunes { background:linear-gradient(#8eaaa5 0 44%,#ddaa61 45% 100%); }.art-dunes::before,.art-dunes::after { content:""; position:absolute; left:-10%; width:120%; height:45%; border-radius:50% 55% 0 0; background:#c98248; }.art-dunes::before{bottom:6%;transform:rotate(7deg)}.art-dunes::after{bottom:-19%;background:#e4b56c;transform:rotate(-6deg)}
.art-room { background:linear-gradient(115deg,#d8caae 0 58%,#668685 59%); }.art-room::before{content:"";position:absolute;right:8%;bottom:8%;width:63%;height:43%;border-radius:30% 5% 5%;background:#fbf7e9;box-shadow:inset 0 -12px #76946a}.art-room i{position:absolute;right:17%;bottom:44%;width:42%;height:22%;background:#d9ccb0}.art-room b{position:absolute;right:28%;bottom:42%;width:16%;height:15%;border-radius:4px;background:#a4b668}
.art-coast { background:linear-gradient(#6d9fac 0 49%,#2f7680 50% 69%,#e0c086 70%); }.art-coast::before{content:"";position:absolute;inset:56% -10% auto;height:2px;background:rgba(255,255,255,.65);box-shadow:0 9px rgba(255,255,255,.26)}.art-coast i{position:absolute;left:18%;top:18%;width:34px;aspect-ratio:1;border-radius:50%;background:#f5cb77;box-shadow:0 0 22px #f5cb77}.art-coast b{position:absolute;right:9%;bottom:6%;width:40%;height:24%;border-radius:60% 0 0;background:#c79c63}
.gallery-focus-ring { position:absolute; z-index:1; right:24%; top:42%; width:170px; aspect-ratio:1; border:1px solid rgba(255,255,255,.3); border-radius:50%; animation:focusPulse 4s ease-out infinite; }
@keyframes focusPulse { 0%{transform:scale(.72);opacity:.8} 75%,100%{transform:scale(1.35);opacity:0} }

/* Contact: animated route and pulsing local map pin */
.hero--contact { background:#103e47; }
.hero--contact .hero-overlay { z-index:3; background:linear-gradient(90deg,rgba(5,33,39,.93) 0%,rgba(5,33,39,.58) 46%,rgba(5,33,39,.08) 74%),linear-gradient(0deg,rgba(5,33,39,.38),transparent); }
.contact-hero-scene { position:absolute; inset:0; z-index:0; overflow:hidden; background:radial-gradient(circle at 77% 36%,rgba(131,189,186,.25),transparent 22%),linear-gradient(130deg,#0d343b,#25646a 53%,#cf9c61); }
.contact-map-grid { position:absolute; inset:-20%; opacity:.26; background-image:linear-gradient(rgba(226,244,239,.17) 1px,transparent 1px),linear-gradient(90deg,rgba(226,244,239,.17) 1px,transparent 1px); background-size:44px 44px; transform:translate3d(calc(var(--page-x) * -.3),calc(var(--page-y) * -.3),0) rotate(-9deg); }
.contact-route { position:absolute; z-index:2; right:2%; top:9%; width:58%; height:82%; overflow:visible; transform:translate3d(calc(var(--page-x) * .48),calc(var(--page-y) * .38),0); }
.map-contour { fill:none; stroke:rgba(205,228,223,.2); stroke-width:1.2; }.contour-two{stroke:rgba(237,170,90,.18)}
.route-shadow,.route-line { fill:none; stroke-linecap:round; stroke-linejoin:round; }.route-shadow{stroke:rgba(4,28,33,.35);stroke-width:9}.route-line{stroke:#f1c586;stroke-width:2.4;stroke-dasharray:10 13;animation:routeMove 16s linear infinite}.route-start{fill:#d7eee9;filter:drop-shadow(0 0 9px #d7eee9)}
@keyframes routeMove { to { stroke-dashoffset:-230; } }
.map-pin { position:absolute; z-index:4; right:10%; top:23%; width:62px; height:74px; border-radius:50% 50% 50% 8px; background:#edaa5a; box-shadow:0 18px 40px rgba(4,31,36,.32),inset 0 1px rgba(255,255,255,.4); transform:translate3d(calc(var(--page-x) * -.4),calc(var(--page-y) * -.34),0) rotate(-45deg); }
.map-pin span { position:absolute; inset:18px; border:5px solid #fff6e6; border-radius:50%; }
.pin-pulse { position:absolute; z-index:3; right:8.35%; top:29%; width:100px; aspect-ratio:1; border:1px solid rgba(255,213,155,.6); border-radius:50%; animation:pinPulse 3.5s ease-out infinite; }.pulse-two{animation-delay:1.7s}
@keyframes pinPulse { 0%{transform:scale(.25);opacity:.8} 85%,100%{transform:scale(1.9);opacity:0} }

/* Welcome / editorial layout */
main > .section:first-of-type:not(.hero) .container-narrow {
  position: relative;
  max-width: 930px;
}
main > .section:first-of-type:not(.hero) .container-narrow::before {
  content: "“";
  position: absolute;
  left: -4rem;
  top: -4rem;
  color: var(--sea-glass);
  font: 10rem/1 var(--font-heading);
  pointer-events: none;
}
.dune-divider { display: none; }

/* Room & location compositions */
.room-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
}
.room-detail.reverse { grid-template-columns: minmax(340px, .9fr) minmax(0, 1.1fr); }
.room-detail.reverse .room-detail-img { order: 2; }
.room-detail-img {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  border-radius: var(--radius-xl) var(--radius-md) var(--radius-xl) var(--radius-md);
  box-shadow: var(--shadow-lg);
}
.room-detail-img::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: inherit;
  pointer-events: none;
}
.room-detail-img img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; transition: transform 1.1s var(--ease-premium); }
.room-detail-img:hover img { transform: scale(1.035); }
.room-detail-content { max-width: 580px; }
.room-detail-content h2 { margin-bottom: 1.4rem; }
.room-meta {
  display: block;
  margin-bottom: .75rem;
  color: var(--ocean);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.amenity-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem 1.2rem;
  margin: 1.5rem 0 2rem;
}
.amenity-list li { position: relative; padding-left: 1.35rem; color: var(--ink-soft); font-size: .95rem; }
.amenity-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .65em;
  width: 7px;
  height: 7px;
  border: 2px solid var(--ocean);
  border-radius: 50%;
}

/* Rooms cards */
.room-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  grid-template-rows: repeat(2, minmax(230px, 1fr));
  gap: 1rem;
}
.card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: var(--white);
  background: var(--ink);
  box-shadow: var(--shadow-md);
}
.card:first-child { grid-row: 1 / span 2; }
.card-img { position: absolute; inset: 0; }
.card-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,32,36,.88), transparent 68%); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 850ms var(--ease-premium); }
.card:hover .card-img img { transform: scale(1.055); }
.card-body { position: absolute; z-index: 1; inset: auto 0 0; padding: clamp(1.4rem, 3vw, 2.5rem); }
.card-body h3 { color: var(--white); margin: .35rem 0 .45rem; }
.card-body p { max-width: 44ch; margin: 0; color: rgba(255,255,255,.82); }
.card .room-meta { color: #ffe2ae; }

/* Features — horizontal editorial list, not generic icon cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--border);
}
.feature-item {
  grid-column: span 2;
  min-height: 280px;
  padding: 2rem clamp(1rem, 2.4vw, 2.2rem);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: color var(--transition), background-color var(--transition);
}
.feature-item:nth-child(3n) { border-right: 0; }
.feature-item:nth-child(4), .feature-item:nth-child(5) { grid-column: span 3; }
.feature-item:hover { color: var(--white); background: var(--ocean); }
.feature-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 2.5rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--ocean);
}
.feature-item:hover .feature-icon, .feature-item:hover h4 { color: var(--white); }
.feature-icon svg { width: 25px; height: 25px; }
.feature-item h4 { margin-bottom: .75rem; color: var(--ink); font-size: 1.45rem; transition: color var(--transition); }
.feature-item p { margin: 0; color: var(--text-light); font-size: .95rem; transition: color var(--transition); }
.feature-item:hover p { color: rgba(255,255,255,.82); }

/* Reviews */
.reviews-section { padding: var(--space-xl) 0; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 3.5rem; }
.review-badge {
  position: relative;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.75rem, 3.2vw, 3rem);
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: var(--white);
  background: var(--ink);
}
.review-badge::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(255,255,255,.03), 0 0 0 90px rgba(255,255,255,.03);
}
.badge-booking { background: var(--ocean-deep); }
.badge-tripadvisor { background: #234b3b; }
.badge-expedia { background: #173c52; }
.badge-logo { position: relative; font: 400 clamp(2rem, 4vw, 3.5rem)/1 var(--font-heading); }
.badge-stars { margin: .9rem 0 .35rem; color: #ffd27e; letter-spacing: .15em; }
.badge-platform { margin: .9rem 0 .35rem; color: #ffd27e; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.badge-rating { font-weight: 700; }
.badge-rating span { font-weight: 400; opacity: .72; }
.badge-link { margin-top: 1rem; }
.review-badge p { color: rgba(255,255,255,.72) !important; }

/* Gallery */
.gallery-tease {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: clamp(240px, 28vw, 360px);
  gap: .75rem;
}
.gallery-tease-item {
  position: relative;
  grid-column: span 1;
  grid-row: span 1;
  overflow: hidden;
  border-radius: var(--radius-md);
}
.gallery-tease-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 750ms var(--ease-premium), filter 750ms var(--ease-premium); }
.gallery-tease-item:hover img { transform: scale(1.05); filter: saturate(1.08); }
.gallery-grid {
  columns: 3 320px;
  column-gap: 1rem;
}
.gallery-item {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0 0 1rem;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  break-inside: avoid;
}
.gallery-item::after {
  content: "View";
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--white);
  background: rgba(7,32,36,.66);
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 50%;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: .72rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition);
}
.gallery-item:hover::after { opacity: 1; transform: translateY(0); }
.gallery-item img { width: 100%; transition: transform 800ms var(--ease-premium); }
.gallery-item:hover img { transform: scale(1.035); }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 4rem 5rem;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  background: rgba(5, 24, 27, .94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition: opacity 220ms var(--ease-standard), visibility 220ms;
}
.lightbox.open { visibility: visible; opacity: 1; pointer-events: auto; }
.lightbox img { max-width: min(1180px, 88vw); max-height: 82vh; object-fit: contain; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255,255,255,.08);
  font-size: 2rem;
}
.lightbox-close { top: 1.5rem; right: 1.5rem; }
.lightbox-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.5rem; top: 50%; transform: translateY(-50%); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 1rem; align-items: stretch; }
.contact-info-card, .contact-form {
  padding: clamp(2rem, 5vw, 4.2rem);
  border-radius: var(--radius-lg);
}
.contact-info-card { color: var(--white); background: var(--ink); }
.contact-info-card h2, .contact-info-card .section-label { color: var(--white); }
.contact-info-card > p { color: rgba(255,255,255,.7) !important; }
.contact-form { background: var(--salt); box-shadow: var(--shadow-md); border: 1px solid var(--border); }
.form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}
.contact-item { display: grid; grid-template-columns: 46px 1fr; gap: 1rem; padding: 1.15rem 0; border-top: 1px solid rgba(255,255,255,.15); }
.contact-item svg { width: 24px; height: 24px; margin-top: .2rem; color: var(--sea-glass); }
.contact-item-label { margin-bottom: .15rem; color: rgba(255,255,255,.55); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.contact-item-value, .contact-item-value a { color: var(--white); }
.form-group { margin-bottom: 1.15rem; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
label { display: block; margin-bottom: .45rem; color: var(--ink); font-size: .86rem; font-weight: 700; }
input, select, textarea {
  width: 100%;
  min-height: 52px;
  padding: .85rem 1rem;
  color: var(--ink);
  background: var(--foam);
  border: 1px solid rgba(16,45,49,.22);
  border-radius: var(--radius-sm);
  outline: 0;
  transition: border-color var(--transition), box-shadow var(--transition), background-color var(--transition);
}
textarea { min-height: 135px; resize: vertical; }
input:focus, select:focus, textarea:focus { background: var(--white); border-color: var(--ocean); box-shadow: 0 0 0 4px rgba(23,107,115,.13); }
::placeholder { color: #789093; opacity: 1; }
.form-status { margin-top: .8rem; padding: .8rem 1rem; border-radius: var(--radius-sm); background: var(--sea-glass); font-weight: 600; }
.map-embed { overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.map-embed iframe { display: block; width: 100%; height: min(65vh, 620px); border: 0; filter: saturate(.75) contrast(1.05); }
.map-actions { display: flex; justify-content: center; gap: .8rem; margin-top: 1.4rem; flex-wrap: wrap; }

/* CTA and footer */
.cta-section {
  position: relative;
  overflow: hidden;
  padding: var(--space-xl) 0;
  color: var(--white);
  background:
    radial-gradient(circle at 90% 10%, rgba(237,170,90,.28), transparent 26rem),
    linear-gradient(120deg, var(--ocean-deep), var(--ink));
}
.cta-section::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  left: -250px;
  bottom: -390px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  box-shadow: 0 0 0 65px rgba(255,255,255,.025), 0 0 0 130px rgba(255,255,255,.025);
}
.cta-section h2 { color: var(--white); }
.cta-section p { max-width: 620px; margin: 1.3rem auto 0; color: rgba(255,255,255,.72); }
.cta-buttons { display: flex; justify-content: center; gap: .8rem; margin-top: 2rem; flex-wrap: wrap; }
.cta-section .btn-outline { color: var(--white); border-color: rgba(255,255,255,.6); }
.cta-section .btn-outline:hover { color: var(--ink); background: var(--white); }
.footer { position: relative; padding: 5rem 0 1.5rem; color: rgba(255,255,255,.67); background: #071d20; }
.footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--ocean), var(--sea-glass), var(--sun)); }
.footer-content { width: min(100% - 3rem, var(--max-width)); margin: auto; display: grid; grid-template-columns: 1.6fr .7fr 1fr; gap: 4rem; }
.footer-logo img { width: min(260px, 80%); margin-bottom: 1.2rem; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 410px; }
.footer h4 { margin-bottom: 1.1rem; color: var(--white); font: 700 .78rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; }
.footer li { margin-bottom: .55rem; }
.footer a { transition: color var(--transition); }
.footer a:hover { color: var(--sea-glass); }
.footer-bottom { width: min(100% - 3rem, var(--max-width)); margin: 3rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; }
.footer-bottom p { margin: 0; }

/* Floating actions */
.whatsapp-float, .location-float > summary {
  position: fixed;
  z-index: 1100;
  bottom: 1.25rem;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: var(--white);
  box-shadow: 0 14px 36px rgba(7,29,32,.22);
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float { right: 1.25rem; background: var(--whatsapp); }
.location-float { position: fixed; z-index: 1100; left: 1.25rem; bottom: 1.25rem; }
.location-float > summary { position: static; list-style: none; background: var(--ocean); }
.location-float > summary::-webkit-details-marker { display: none; }
.whatsapp-float:hover, .location-float > summary:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(7,29,32,.3); }
.whatsapp-float svg, .location-float svg { width: 27px; height: 27px; fill: currentColor; }
.location-float-menu {
  position: absolute;
  left: 0;
  bottom: 70px;
  width: 210px;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255,254,249,.94);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.location-float-title { display: block; margin-bottom: .55rem; color: var(--text-light); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.location-float-menu a { display: block; min-height: 44px; padding: .65rem .7rem; border-radius: var(--radius-sm); color: var(--ink); font-weight: 700; }
.location-float-menu a:hover { background: var(--sea-glass); }

/* Motion-safe defaults. Content is never hidden without JS. */
.js.motion-pending .fade-in { opacity: 0; transform: translateY(24px); }
.scroll-progress {
  position: fixed;
  z-index: 2000;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--ocean-light), var(--sun));
}

@media (max-width: 1020px) {
  .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .badge-expedia { grid-column: 1 / -1; }
  .hero-wind-card, .page-scene-card { display: none; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(88vw, 440px);
    height: 100svh;
    padding: 7rem 2rem 3rem;
    flex-direction: column;
    align-items: stretch;
    gap: .35rem;
    color: var(--ink);
    background: rgba(255,254,249,.97);
    box-shadow: -20px 0 60px rgba(16,45,49,.18);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transform: translateX(110%);
    transition: transform 420ms var(--ease-premium);
    overflow-y: auto;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links > li > a:not(.btn) { padding: .65rem .4rem; font-size: 1.25rem; }
  .nav-links .btn { width: 100%; margin-top: .6rem; }
  .nav-lang { justify-content: space-between; margin: 1rem 0; }
  .nav-lang a { font-size: .8rem !important; }
  .navbar:not(.scrolled) .nav-toggle.open { color: var(--ink); }
  body.nav-open { overflow: hidden; }
  body.nav-open::after { content: ""; position: fixed; inset: 0; z-index: 1150; background: rgba(7,29,32,.5); }

  .room-detail, .room-detail.reverse { grid-template-columns: 1fr; }
  .room-detail.reverse .room-detail-img { order: 0; }
  .room-detail-img { min-height: 430px; }
  .room-detail-content { max-width: 760px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1.4fr .8fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --fs-base: 1rem; --space-xl: 5rem; }
  .container, .container-narrow, .container-wide, .nav-inner, .hero-content, .footer-content, .footer-bottom { width: min(100% - 2rem, var(--max-width)); }
  .navbar, .navbar.scrolled { height: 68px; }
  .navbar::after { inset-inline: 1rem; }
  .nav-logo img, .navbar.scrolled .nav-logo img { width: 138px; }

  /* Full-width, perfectly aligned mobile navigation sheet */
  .nav-links {
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100dvh;
    padding: 6.75rem 1rem 2rem;
    gap: .25rem;
    background: rgba(255,254,249,.985);
    box-shadow: none;
  }
  .nav-links > li { width: 100%; margin: 0; }
  .nav-links > li > a:not(.btn) {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 54px;
    padding: .75rem 1rem;
    border-radius: 12px;
    font-size: 1.12rem;
    line-height: 1;
  }
  .nav-links > li > a:not(.btn)::after { display: none; }
  .nav-links > li > a:not(.btn).active {
    color: var(--ocean-deep);
    background: rgba(205,228,223,.62);
  }
  .nav-lang {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
    min-height: 54px;
    margin: .75rem 0;
    padding: .3rem;
    gap: 0;
    border-color: var(--border);
    border-radius: 14px;
    opacity: 1;
  }
  .nav-lang span { display: none; }
  .nav-lang a {
    width: 100%;
    min-width: 0;
    min-height: 44px !important;
    padding: 0 !important;
    border-radius: 10px !important;
    font-size: .72rem !important;
  }
  .nav-lang a.active {
    color: var(--white);
    background: var(--ocean);
  }
  .nav-links .btn {
    width: 100%;
    min-height: 54px;
    margin-top: 0;
    border-radius: 14px;
  }
  body.nav-open .nav-logo img { filter: none !important; }
  body.nav-open::after { display: none; }

  .hero { min-height: 88svh; }
  .hero-content { padding: 8rem 0 4rem; }
  .hero-content h1 { font-size: clamp(3.4rem, 18vw, 5.8rem); }
  .hero--living .hero-content h1 { font-size: clamp(3.35rem, 17vw, 5.15rem); }
  .hero--designed .hero-content h1 { font-size: clamp(3.35rem, 17vw, 5.2rem); }
  .hero--designed .hero-content { padding-top: 8.5rem; padding-bottom: 3.5rem; }
  .hero--designed .hero-tagline { max-width: 95%; font-size: 1.04rem; }
  .page-hero-meta { font-size: .62rem; padding: .6rem .78rem; }
  .hero--rooms .hero-overlay, .hero--gallery .hero-overlay, .hero--contact .hero-overlay { background: linear-gradient(0deg, rgba(5,31,36,.9), rgba(5,31,36,.25) 82%), linear-gradient(90deg, rgba(5,31,36,.52), transparent); }
  .room-window { right: -2%; width: 58%; opacity: .72; }
  .room-curtain-left { right: 49%; }.room-curtain-right { right: -8%; }
  .room-bed { right: -18%; width: 80%; opacity: .72; }
  .room-table, .room-lamp { display: none; }
  .floating-frame { opacity: .64; }
  .frame-one { right: 24%; top: 15%; width: 38vw; }.frame-two { right: -10%; top: 32%; width: 46vw; }.frame-three { display: none; }
  .gallery-halo { right: -25%; top: 15%; width: 80vw; opacity: .45; }
  .contact-route { right: -30%; width: 105%; opacity: .6; }
  .map-pin { right: 4%; top: 26%; width: 46px; height: 56px; opacity: .75; }
  .map-pin span { inset: 14px; border-width: 4px; }
  .pin-pulse { right: -1%; top: 28%; opacity: .5; }
  .hero--living .hero-content { padding-bottom: 3.25rem; }
  .hero-place { margin-bottom: .8rem; font-size: .64rem; letter-spacing: .13em; }
  .hero-facts { width: 100%; gap: .5rem; padding: .65rem .75rem; border-radius: var(--radius-md); font-size: .62rem; }
  .hero-facts span { flex: 1; text-align: center; }
  .hero-sea { top: 29%; height: 19%; opacity: .52; }
  .hero-overlay { background: linear-gradient(0deg, rgba(7,32,36,.82), rgba(7,32,36,.18) 80%), linear-gradient(90deg, rgba(7,32,36,.42), transparent); }
  .scroll-indicator { display: none; }
  main > .section:first-of-type:not(.hero) .container-narrow::before { left: 0; top: -5rem; font-size: 7rem; }
  .room-detail-img { min-height: 330px; border-radius: var(--radius-lg) var(--radius-sm) var(--radius-lg) var(--radius-sm); }
  .amenity-list { grid-template-columns: 1fr; }
  .room-grid { grid-template-columns: 1fr; grid-template-rows: repeat(3, 350px); }
  .card:first-child { grid-row: auto; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-item, .feature-item:nth-child(4), .feature-item:nth-child(5) { grid-column: auto; min-height: 0; border-right: 0; padding: 1.7rem .5rem; }
  .feature-icon { margin-bottom: 1.4rem; }
  .reviews-grid { grid-template-columns: 1fr; }
  .review-badge { min-height: 280px; }
  .gallery-tease { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery-tease-item, .gallery-tease-item:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .gallery-tease-item:first-child, .gallery-tease-item:nth-child(4) { grid-column: span 1; }
  .gallery-grid { columns: 2 220px; }
  .lightbox { padding: 4rem 1rem; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 1.1rem; transform: none; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-info-card, .contact-form { padding: 2rem 1.25rem; }
  .footer-content { grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .hero-tagline { font-size: 1.05rem; }
  .hero .btn { width: 100%; }
  .cta-buttons { flex-direction: column; }
  .cta-buttons .btn { width: 100%; }
  .gallery-grid { columns: 1; }
  .gallery-tease { grid-template-columns: 1fr; }
  .gallery-tease-item, .gallery-tease-item:nth-child(n) { grid-column: 1; height: 230px; }
  .footer-content { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .whatsapp-float, .location-float > summary { width: 54px; height: 54px; }
  .location-float-menu { width: min(210px, calc(100vw - 2rem)); }
}

@media (max-height: 540px) and (orientation: landscape) {
  .hero { min-height: 130svh; }
  .hero-content { padding-bottom: 2.5rem; }
  .scroll-indicator { display: none; }
}

@media (hover: none) and (pointer: coarse) {
  .gallery-item::after { opacity: 1; transform: none; }
  .btn:hover, .whatsapp-float:hover, .location-float > summary:hover { transform: none; }
  .card:hover img, .room-detail-img:hover img, .gallery-item:hover img { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js.motion-pending .fade-in { opacity: 1; transform: none; }
  .hero-bg, .hero-sun { transform: none !important; }
}

/* 21st.dev-inspired room stack. Native sticky positioning keeps the
   zero-build site private, dependency-free, and smooth on low-power phones. */
.home-index .section:has(.room-grid) { overflow: visible; }
.home-index .section:has(.room-grid) > .container > .text-center {
  max-width: 760px;
  margin-inline: auto;
  text-align: left;
}
.home-index .section:has(.room-grid) > .container > .text-center p { margin-inline: 0 !important; }
.home-index .room-grid {
  display: block;
  width: min(100%, 1120px);
  margin-inline: auto;
  padding-bottom: clamp(2rem, 5vw, 4rem);
  overflow: visible;
}
.home-index .room-grid .card {
  --stack-offset: 0px;
  position: sticky;
  top: calc(88px + var(--stack-offset));
  z-index: 10;
  width: 100%;
  min-height: min(72dvh, 680px);
  margin: 0 0 clamp(4rem, 12vh, 8rem);
  scroll-snap-align: none;
  transform-origin: center top;
  isolation: isolate;
  box-shadow: 0 28px 78px rgba(16,45,49,.2), inset 0 1px 0 rgba(255,255,255,.24);
  transition: transform 520ms var(--ease-premium), opacity 520ms var(--ease-premium), filter 520ms var(--ease-premium), box-shadow 520ms var(--ease-premium);
}
.home-index .room-grid .card:nth-of-type(1) { --stack-offset: 0px; z-index: 10; }
.home-index .room-grid .card:nth-of-type(2) { --stack-offset: 14px; z-index: 11; }
.home-index .room-grid .card:nth-of-type(3) { --stack-offset: 28px; z-index: 12; }
.home-index .room-grid .card:nth-of-type(4) { --stack-offset: 42px; z-index: 13; }
.home-index .room-grid .card:first-of-type { grid-row: auto; }
.home-index .room-grid .card:last-of-type { margin-bottom: 0; }
.home-index .room-grid .card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
}
.home-index .room-grid .card-img::after {
  background:
    linear-gradient(90deg, rgba(5,31,36,.76), rgba(5,31,36,.2) 64%, transparent),
    linear-gradient(0deg, rgba(5,31,36,.88), rgba(5,31,36,.08) 70%);
}
.home-index .room-grid .card-body { max-width: 760px; padding: clamp(1.6rem, 5vw, 4rem); }
.home-index .room-grid .card-body h3 { font-size: clamp(2.4rem, 6vw, 5.2rem); }
.home-index .room-grid .card-body p { max-width: 42ch; font-size: clamp(1rem, 1.8vw, 1.2rem); }
.home-index .room-grid .card.is-stacked-behind {
  opacity: .82;
  filter: saturate(.72) brightness(.88);
  transform: scale(.955);
  box-shadow: 0 14px 44px rgba(16,45,49,.15);
}
.room-stack-sentinel {
  display: block;
  width: 1px;
  height: 1px;
  pointer-events: none;
  transform: translateY(-102px);
}

@media (max-width: 760px) {
  .home-index .section:has(.room-grid) > .container > .text-center { width: 100%; text-align: left; }
  .home-index .room-grid { display: block; overflow: visible; padding: 0 0 2rem; scroll-snap-type: none; }
  .home-index .room-grid .room-stack-sentinel { transform: translateY(-84px); }
  .home-index .room-grid .card {
    position: sticky;
    top: calc(76px + var(--stack-offset));
    width: 100%;
    min-height: min(66dvh, 500px);
    margin-bottom: clamp(3.25rem, 10vh, 5.5rem);
    scroll-snap-align: none;
  }
  .home-index .room-grid .card:nth-of-type(2) { --stack-offset: 8px; }
  .home-index .room-grid .card:nth-of-type(3) { --stack-offset: 16px; }
  .home-index .room-grid .card:nth-of-type(4) { --stack-offset: 24px; }
  .home-index .room-grid .card-body { padding: 1.5rem; }
  .home-index .room-grid .card-body h3 { font-size: clamp(2.25rem, 12vw, 3.65rem); }
  .home-index .room-grid .card-body p { font-size: .98rem; }
}

@media (max-height: 540px) and (orientation: landscape) {
  .home-index .room-grid .card { position: relative; top: auto; min-height: 430px; margin-bottom: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  .home-index .room-grid .card {
    position: relative;
    top: auto;
    min-height: min(66dvh, 560px);
    margin-bottom: 1.25rem;
    opacity: 1;
    filter: none;
    transform: none;
  }
}

@media print {
  .navbar, .whatsapp-float, .location-float, .scroll-progress, .scroll-indicator, .cta-section { display: none !important; }
  .hero { min-height: 0 !important; padding: 3rem 0; color: var(--ink); background: white; }
  .hero-bg, .hero-sun, .hero-overlay { display: none; }
  .hero-content { padding: 0; }
  .hero-content h1, .hero-tagline { color: var(--ink); }
}
