/* ==========================================================
   Sun Apart — Aegean afternoon
   ========================================================== */

:root {
  --cream: #f7f0e3;
  --paper: #fffaf2;
  --sand: #efe2c9;
  --sand-deep: #e4d2b0;
  --ink: #221b13;
  --ink-soft: rgba(34, 27, 19, 0.68);
  --ink-faint: rgba(34, 27, 19, 0.45);
  --line: rgba(34, 27, 19, 0.14);
  --sea: #15223a;
  --sea-2: #1f3152;
  --sun: #ec8a1c;
  --sun-deep: #c9660a;
  --gold: #f7b84b;
  --olive: #7c8a3e;
  --light: #fbf5ea;

  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Instrument Sans', 'Helvetica Neue', sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); overflow-x: clip; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
  overflow-x: hidden;
}

/* film grain */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%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)'/%3E%3C/svg%3E");
}

[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--light); padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 16px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 920px; }
.center { text-align: center; }

/* ---------- type ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 16px;
  font: 600 12px/1 var(--sans);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sun-deep);
}
.kicker::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.center .kicker::after { content: ''; width: 28px; height: 1px; background: currentColor; }
.kicker--light { color: var(--gold); }
.hero__kicker::before { display: none; }

.h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-variation-settings: 'opsz' 144, 'SOFT' 50;
}
.h2 em, .hero__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--sun-deep);
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
}
.h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 450;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.lede { margin: 0; font-size: 17px; line-height: 1.65; color: var(--ink-soft); max-width: 46ch; }
.center .lede { margin: 20px auto 0; }
.lede--light { color: rgba(251, 245, 234, .72); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 999px;
  padding: 13px 24px;
  font: 600 15px/1 var(--sans);
  white-space: nowrap;
  transition: background .25s var(--ease), color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn svg { width: 18px; height: 18px; stroke-width: 2; }
.btn--sun { background: var(--sun); color: #fff; box-shadow: 0 8px 24px -10px rgba(236, 138, 28, .8); }
.btn--sun:hover { background: var(--sun-deep); transform: translateY(-1px); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; padding: 0;
  font: 600 14px/1 var(--sans);
  color: var(--ink);
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  transition: color .2s, gap .25s var(--ease);
}
.link-arrow svg { width: 15px; height: 15px; stroke-width: 2; transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--sun-deep); }
.link-arrow:hover svg { transform: translate(2px, -2px); }

/* ==========================================================
   NAV
   ========================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  transition: background .35s var(--ease), box-shadow .35s, color .35s;
  color: var(--light);
}
.nav.is-solid {
  background: rgba(247, 240, 227, .9);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line);
  color: var(--ink);
}
.nav__inner {
  height: 100%;
  max-width: calc(var(--wrap) + 120px); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 28px;
}
.nav__logo img {
  height: 46px; width: auto;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.25));
  transition: filter .3s, height .3s;
}
.nav.is-solid .nav__logo img { filter: none; height: 42px; }
.nav__links { display: flex; gap: clamp(14px, 2vw, 30px); margin-left: auto; }
.nav__links a {
  position: relative;
  font-size: 15px; font-weight: 500;
  padding: 6px 0;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__actions { display: flex; align-items: center; gap: 14px; }

.lang {
  display: inline-flex; padding: 3px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px currentColor;
  opacity: .9;
}
.lang button {
  border: 0; background: transparent; border-radius: 999px;
  padding: 6px 10px;
  font: 600 12px/1 var(--sans); letter-spacing: .08em;
  transition: background .25s, color .25s;
}
.lang button[aria-pressed="true"] { background: var(--light); color: var(--ink); }
.nav.is-solid .lang button[aria-pressed="true"] { background: var(--ink); color: var(--light); }

.nav__deposit {
  background: transparent; color: inherit;
  box-shadow: inset 0 0 0 1px currentColor;
}
.nav__deposit:hover { color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.nav.is-solid .nav__deposit:hover { color: var(--sun-deep); box-shadow: inset 0 0 0 1px var(--sun-deep); }
.nav__links-deposit { display: none; }

.nav__burger { display: none; }

/* ==========================================================
   PHOTOS (image with illustrated fallback)
   ========================================================== */
.photo {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.photo > img {
  position: absolute; inset: 0; z-index: 2;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.photo--pool {
  background:
    radial-gradient(120% 60% at 30% 110%, rgba(255,255,255,.35), transparent 60%),
    repeating-radial-gradient(ellipse at 70% 40%, rgba(255,255,255,.14) 0 2px, transparent 2px 22px),
    linear-gradient(180deg, #e9d8b8 0 18%, #5fc2c9 18%, #2a93a8 70%, #1d6f86);
}
.photo--linen {
  background:
    linear-gradient(115deg, transparent 30%, rgba(255,245,220,.75) 42%, transparent 58%),
    radial-gradient(80% 60% at 80% 20%, #fff6e3, transparent 70%),
    linear-gradient(180deg, #efe2c9, #d9c19a 70%, #b99469);
}
.photo--dusk {
  background:
    radial-gradient(circle at 50% 62%, #ffd27a 0 9%, rgba(255,166,77,.6) 14%, transparent 40%),
    linear-gradient(180deg, #2f3561 0%, #b8577a 38%, #f19a4c 60%, #25355c 61%, #15223a 100%);
}
.photo--night {
  background:
    radial-gradient(16% 22% at 22% 38%, rgba(255,196,110,.7), transparent 70%),
    radial-gradient(12% 18% at 62% 30%, rgba(255,196,110,.55), transparent 70%),
    radial-gradient(14% 20% at 84% 46%, rgba(255,196,110,.5), transparent 70%),
    linear-gradient(180deg, #1f3152, #15223a 60%, #0e1728);
}

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative;
  min-height: max(640px, 100svh);
  display: flex; align-items: flex-end;
  color: var(--light);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg > img { animation: slowzoom 24s ease-out both; }
@keyframes slowzoom { from { transform: scale(1.12); } to { transform: scale(1); } }

.photo--hero { background: linear-gradient(180deg, #1b2a4a 0%, #4a3f6b 26%, #c15f5a 50%, #f39a45 64%, #f7c16a 70%); }
.scene { position: absolute; inset: 0; }
.scene__sun {
  position: absolute; left: 62%; top: 70%;
  width: min(38vw, 440px); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, #fff1c4 0 30%, #ffc85c 55%, #f39a45 72%, transparent 73%);
  box-shadow: 0 0 120px 40px rgba(255, 190, 90, .45);
  animation: sunrise 2.4s var(--ease) both;
}
@keyframes sunrise { from { transform: translate(-50%, -30%); opacity: 0; } to { transform: translate(-50%, -50%); opacity: 1; } }
.scene__sea {
  position: absolute; left: 0; right: 0; top: 70%; bottom: 0;
  background:
    repeating-linear-gradient(180deg, rgba(255,200,120,.22) 0 2px, transparent 2px 14px),
    linear-gradient(180deg, #2c3a64, #15223a 60%);
}
.scene__hills {
  position: absolute; left: -10%; right: -10%; top: 58%; height: 16%;
  background: #1a2744;
  clip-path: ellipse(60% 100% at 30% 100%);
  opacity: .9;
}

.hero__shade {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(14,20,34,.55) 0%, rgba(14,20,34,0) 28%),
    linear-gradient(0deg, rgba(14,20,34,.85) 0%, rgba(14,20,34,.35) 40%, rgba(14,20,34,0) 70%);
}

.sunburst {
  position: absolute; z-index: 3;
  right: -14vw; top: -14vw;
  width: 62vw; max-width: 900px;
  color: var(--gold);
  opacity: .5;
  animation: spin 140s linear infinite;
  pointer-events: none;
}
.sunburst line { stroke-width: 1.3; }

/* real photo present: quieter decoration, stronger text contrast */
.hero:has(.hero__bg > img) .sunburst { opacity: .16; }
.hero:has(.hero__bg > img) .hero__shade {
  background:
    linear-gradient(90deg, rgba(14,20,34,.72) 0%, rgba(14,20,34,.35) 45%, rgba(14,20,34,0) 70%),
    linear-gradient(180deg, rgba(14,20,34,.5) 0%, rgba(14,20,34,0) 25%),
    linear-gradient(0deg, rgba(14,20,34,.8) 0%, rgba(14,20,34,.25) 40%, rgba(14,20,34,0) 65%);
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero__content {
  position: relative; z-index: 4;
  width: 100%;
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: clamp(120px, 14vh, 160px);
}
.hero__kicker { color: var(--light); opacity: .9; }
.hero__kicker .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--sun);
  box-shadow: 0 0 0 4px rgba(236,138,28,.3);
}
.hero__title {
  margin: 0;
  max-width: 13ch;
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(48px, 8.4vw, 124px);
  line-height: .95;
  letter-spacing: -0.035em;
  font-variation-settings: 'opsz' 144, 'SOFT' 30;
  text-shadow: 0 4px 40px rgba(0,0,0,.25);
}
.hero__title em { color: var(--gold); }
.hero__sub {
  margin: 28px 0 0;
  max-width: 52ch;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.6;
  color: rgba(251,245,234,.86);
}
.hero__stats {
  list-style: none; margin: 40px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0;
}
.hero__stats li {
  display: flex; align-items: baseline; gap: 8px;
  padding: 4px 26px;
  border-left: 1px solid rgba(251,245,234,.28);
}
.hero__stats li:first-child { padding-left: 0; border-left: 0; }
.hero__stats strong {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(26px, 2.4vw, 34px);
  color: var(--gold);
}
.hero__stats span { font-size: 14px; color: rgba(251,245,234,.75); }

/* load animation */
.reveal-load { opacity: 0; transform: translateY(24px); animation: rise 1s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ==========================================================
   BOOKING BAR
   ========================================================== */
.bookbar-wrap { position: relative; z-index: 10; margin-top: -64px; }
.bookbar {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr .9fr auto;
  align-items: end;
  gap: 0;
  background: var(--paper);
  border-radius: 20px;
  padding: 14px;
  box-shadow: 0 30px 60px -30px rgba(21,34,58,.45), 0 0 0 1px rgba(34,27,19,.06);
}
.field {
  display: flex; flex-direction: column; gap: 6px;
  padding: 10px 20px;
  border-right: 1px solid var(--line);
}
.field label {
  font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-faint);
}
.field select, .field input {
  width: 100%;
  border: 0; background: transparent; padding: 4px 0;
  font: 500 16px/1.3 var(--sans); color: var(--ink);
  outline: none;
  -webkit-appearance: none; appearance: none;
}
.field select {
  cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23221b13' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 0 center / 16px no-repeat;
  padding-right: 22px;
}
.field input[type="date"]::-webkit-calendar-picker-indicator { opacity: .55; cursor: pointer; }
.field:focus-within label { color: var(--sun-deep); }
.field--guests { border-right: 0; }
.stepper { display: flex; align-items: center; gap: 4px; }
.stepper input { text-align: center; width: 36px; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; }
.stepper button {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent;
  font-size: 16px; line-height: 1;
  transition: border-color .2s, background .2s;
}
.stepper button:hover { border-color: var(--ink); background: #fff; }
.bookbar__submit { align-self: stretch; border-radius: 12px; padding: 0 28px; }
.bookbar__submit svg { transition: transform .25s var(--ease); }
.bookbar__submit:hover svg { transform: translateX(3px); }
.bookbar__error {
  grid-column: 1 / -1; margin: 10px 20px 4px;
  font-size: 14px; color: #b3401a;
}

/* ==========================================================
   SECTIONS
   ========================================================== */
.section { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.section__head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 24px 60px;
  margin-bottom: clamp(44px, 6vw, 72px);
}
.section__head .h2 { max-width: 14ch; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- rooms ---------- */
.rooms { padding-top: clamp(100px, 12vw, 160px); }
.rooms__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
  align-items: start;
}
.room:nth-child(2) { margin-top: 56px; }
.room:nth-child(3) { margin-top: 112px; }
.room {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(34,27,19,.06);
  transition: box-shadow .4s var(--ease), transform .4s var(--ease), opacity 1s var(--ease);
}
.room:hover { box-shadow: 0 30px 50px -30px rgba(21,34,58,.4), 0 0 0 1px rgba(34,27,19,.06); }
.room:hover .photo > img { transform: scale(1.05); }
.room.is-picked { box-shadow: 0 0 0 2px var(--sun), 0 30px 50px -30px rgba(236,138,28,.5); }
.room__photo { aspect-ratio: 4 / 5; }
.room__tag {
  position: absolute; left: 14px; top: 14px; z-index: 3;
  background: rgba(255,250,242,.92); color: var(--ink);
  font: 600 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  padding: 8px 12px; border-radius: 999px;
  backdrop-filter: blur(6px);
}
.room__body { padding: 24px 24px 22px; display: flex; flex-direction: column; gap: 10px; }
.room__body > p { margin: 0; font-size: 15px; color: var(--ink-soft); }
.room__icons { list-style: none; display: flex; gap: 8px; margin: 6px 0 0; padding: 0; }
.room__icons li {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--cream); color: var(--olive);
}
.room__icons svg { width: 18px; height: 18px; }
.room__foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 10px; padding-top: 16px; border-top: 1px dashed var(--line);
}
.room__price { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--sun-deep); }

/* ---------- marquee ---------- */
.marquee {
  background: var(--sun);
  color: var(--paper);
  overflow: hidden;
  padding: 22px 0;
  transform: rotate(-1.4deg) scale(1.02);
  margin: 20px 0 -20px;
  position: relative; z-index: 2;
  box-shadow: 0 20px 40px -24px rgba(201,102,10,.7);
}
.marquee__track {
  display: flex; width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee__track span {
  display: inline-flex; align-items: center; gap: 36px;
  padding-right: 36px;
  font-family: var(--serif); font-style: italic; font-weight: 350;
  font-size: clamp(24px, 3vw, 40px);
  white-space: nowrap;
}
.marquee__track span::after {
  content: ''; width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 5px rgba(255,255,255,.25);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- facilities ---------- */
.facilities { background: var(--sand); }
.fac { list-style: none; margin: 0; padding: 0; }
.fac__item {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(28px, 6vw, 96px);
  align-items: center;
  padding: clamp(28px, 4vw, 48px) 0;
  border-top: 1px solid var(--line);
}
.fac__item:nth-child(even) { grid-template-columns: 1fr 1.15fr; }
.fac__item:nth-child(even) .fac__photo { order: 2; }
.fac__photo { aspect-ratio: 16 / 10; border-radius: var(--radius); }
.fac__item:hover .photo > img { transform: scale(1.04); }
.fac__text { position: relative; }
.fac__num {
  display: block;
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(64px, 8vw, 120px); line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1px var(--sun-deep);
  margin-bottom: 18px;
}
.fac__text .h3 { font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 14px; }
.fac__text p { margin: 0; font-size: 16.5px; line-height: 1.7; color: var(--ink-soft); max-width: 44ch; }

/* ---------- sustainability ---------- */
.cert { padding-bottom: clamp(40px, 6vw, 80px); }
.cert__grid {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: clamp(36px, 6vw, 96px); align-items: center;
}
.cert__text .lede { margin-top: 22px; }
.cert__facts {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start;
  gap: 20px 32px; margin: 34px 0 30px;
}
.cert__facts div { border-top: 1px solid var(--line); padding-top: 14px; }
.cert__facts dt { font-family: var(--serif); font-size: clamp(19px, 1.8vw, 24px); line-height: 1.15; color: var(--olive); white-space: nowrap; }
.cert__facts dd { margin: 6px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--ink-faint); max-width: 20ch; }
.cert__visual { position: relative; justify-self: center; width: min(100%, 380px); }
.cert__visual::before {
  content: ''; position: absolute; inset: 0;
  background: var(--sand); border-radius: 10px;
  transform: rotate(-5deg) translate(-16px, 12px);
  box-shadow: 0 0 0 1px var(--line);
}
.cert__paper {
  position: relative; display: block; width: 100%;
  padding: 10px; border: 0; border-radius: 10px;
  background: #fff;
  box-shadow: 0 40px 60px -36px rgba(21,34,58,.55), 0 0 0 1px rgba(34,27,19,.08);
  transform: rotate(2deg);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  cursor: zoom-in;
}
.cert__paper img { width: 100%; height: auto; border-radius: 4px; }
.cert__paper:hover { transform: rotate(0deg) translateY(-6px); box-shadow: 0 50px 70px -36px rgba(21,34,58,.6), 0 0 0 1px rgba(34,27,19,.08); }
.cert__seal {
  position: absolute; left: -30px; bottom: 44px; z-index: 2;
  width: 92px; height: 92px; border-radius: 50%;
  display: grid; place-items: center; align-content: center; gap: 4px;
  background: var(--olive); color: #fff;
  font: 600 10.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  box-shadow: 0 0 0 5px var(--cream), 0 16px 30px -12px rgba(124,138,62,.8);
  transform: rotate(-10deg);
  pointer-events: none;
}
.cert__seal svg { width: 26px; height: 26px; stroke-width: 1.8; }
.cert__dialog {
  padding: 0; border: 0; background: transparent; overflow: visible;
  max-width: min(92vw, 720px); max-height: 92vh;
}
.cert__dialog::backdrop { background: rgba(21,34,58,.78); backdrop-filter: blur(4px); }
.cert__dialog img {
  width: auto; height: auto; max-width: 100%; max-height: 92vh;
  border-radius: 8px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
}
.cert__dialog form { position: absolute; top: -14px; right: -14px; }
.cert__close {
  width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: var(--paper); color: var(--ink);
  font-size: 24px; line-height: 1;
  box-shadow: 0 8px 20px -8px rgba(0,0,0,.5);
}

/* ---------- location ---------- */
.location__grid {
  display: grid; grid-template-columns: 1fr 1.25fr;
  gap: clamp(36px, 6vw, 90px); align-items: center;
}
.location__text .lede { margin-top: 22px; }
.location__addr {
  display: flex; gap: 14px; align-items: flex-start;
  margin: 32px 0 26px;
  font-style: normal; font-weight: 500; font-size: 16px; line-height: 1.55;
}
.location__addr svg { width: 22px; height: 22px; color: var(--sun); flex: none; margin-top: 2px; }
.location__map {
  position: relative;
  border-radius: 200px 200px var(--radius) var(--radius);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  box-shadow: 0 40px 60px -40px rgba(21,34,58,.5), 0 0 0 1px var(--line);
}
.location__map iframe {
  width: 100%; height: 100%; border: 0; display: block;
  filter: sepia(.25) saturate(.9) contrast(1.02);
}

/* ---------- transport ---------- */
.transport { padding-top: 0; }
.transport__card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px); align-items: center;
  background: radial-gradient(120% 120% at 100% 0%, var(--sea-2), var(--sea) 60%);
  color: var(--light);
  border-radius: 28px;
  padding: clamp(32px, 5vw, 72px);
}
.transport__card .h2 { font-size: clamp(30px, 3.6vw, 48px); }
.transport__card .h2 em { color: var(--gold); }
.transport__text > p { margin: 22px 0 0; color: rgba(251,245,234,.75); font-size: 16.5px; line-height: 1.7; max-width: 48ch; }
.transport__facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin: 36px 0 0;
}
.transport__facts div { border-top: 1px solid rgba(251,245,234,.2); padding-top: 14px; }
.transport__facts dt { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 32px); color: var(--gold); }
.transport__facts dd { margin: 4px 0 0; font-size: 13.5px; color: rgba(251,245,234,.6); }

.route svg { width: 100%; height: auto; overflow: visible; }
.route__coast { stroke: rgba(251,245,234,.18); stroke-width: 1.2; stroke-dasharray: 2 6; }
.route__path { stroke: var(--gold); stroke-width: 2; stroke-dasharray: 6 8; animation: dash 30s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -600; } }
.route__pin { fill: var(--sea); stroke: var(--light); stroke-width: 2; }
.route__pin--end { fill: var(--sun); stroke: var(--light); }
.route__pulse { fill: none; stroke: var(--sun); stroke-width: 2; transform-origin: 346px 160px; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(3.4); opacity: 0; } }
.route__bus-body { fill: var(--gold); stroke: none; }
.route__bus-win { fill: var(--sea); stroke: none; }
.route__bus-wheel { fill: var(--light); stroke: var(--sea); stroke-width: 1.6; }
.route text { fill: var(--light); stroke: none; font: 600 14px var(--sans); letter-spacing: .06em; }
.route .route__small { font-size: 11px; font-weight: 400; fill: rgba(251,245,234,.55); letter-spacing: .1em; text-transform: uppercase; }

/* ---------- reservation ---------- */
.reservation {
  background: linear-gradient(180deg, #1a1510 0%, #241a10 55%, #15223a 100%);
  color: var(--light);
  overflow: hidden;
}
.reservation__glow {
  position: absolute; left: 50%; bottom: -380px; transform: translateX(-50%);
  width: 900px; height: 600px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(247,184,75,.35), rgba(236,138,28,.12) 60%, transparent);
  pointer-events: none;
}
.reservation .h2 em { color: var(--gold); }
.btn--ghost-light { background: transparent; color: var(--light); box-shadow: inset 0 0 0 1px rgba(251,245,234,.3); }
.btn--ghost-light:hover { box-shadow: inset 0 0 0 1px var(--gold); color: var(--gold); }

.res-card {
  position: relative;
  display: flex; align-items: center; gap: 18px 22px; flex-wrap: wrap;
  margin: 16px auto 0; max-width: 720px;
  padding: 20px 22px;
  background: rgba(251,245,234,.05);
  border: 1px solid rgba(251,245,234,.14);
  border-radius: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.res-card--main {
  margin-top: 40px;
  padding: clamp(24px, 3.4vw, 34px) clamp(22px, 3.4vw, 34px);
  border-color: rgba(247,184,75,.35);
  background: rgba(251,245,234,.07);
}
.res-card__icon {
  flex: none; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(247,184,75,.14); color: var(--gold);
}
.res-card__icon svg { width: 24px; height: 24px; }
.res-card--main .res-card__icon { width: 56px; height: 56px; }
.res-card--main .res-card__icon svg { width: 28px; height: 28px; }
.res-card__text { flex: 1 1 240px; }
.res-card__title { margin: 0; font-family: var(--serif); font-size: 20px; line-height: 1.2; }
.res-card--main .res-card__title { font-size: clamp(22px, 2.2vw, 28px); }
.res-card__sub { margin: 4px 0 0; font-size: 14.5px; color: rgba(251,245,234,.65); }
.resform-card {
  position: relative;
  margin: 40px auto 0; max-width: 760px;
  padding: clamp(22px, 3.6vw, 40px);
  background: rgba(251,245,234,.07);
  border: 1px solid rgba(247,184,75,.35);
  border-radius: 24px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.resform { display: grid; gap: 30px; color-scheme: dark; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.resform__group { margin: 0; padding: 0; border: 0; min-width: 0; }
.resform__legend {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 0 0 14px; margin-bottom: 18px;
  border-bottom: 1px solid rgba(251,245,234,.12);
  font-family: var(--serif); font-size: 22px; line-height: 1.2;
}
.resform__legend span:first-child {
  font: 600 11px/1 var(--sans); letter-spacing: .14em; color: var(--gold);
  padding: 6px 8px; border: 1px solid rgba(247,184,75,.4); border-radius: 999px;
}
.resform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.resform__flight { margin-top: 16px; }
.rf { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.rf--full { grid-column: 1 / -1; }
.rf > label, .rf__label {
  font: 600 11px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: rgba(251,245,234,.6);
  transition: color .2s;
}
.rf__label small { margin-left: 6px; font-weight: 500; letter-spacing: .04em; text-transform: none; color: var(--gold); font-size: 12px; }
.rf:focus-within > label { color: var(--gold); }
.rf input:not([type="radio"]), .rf select, .rf textarea {
  width: 100%;
  padding: 13px 15px;
  background: rgba(251,245,234,.06);
  border: 1px solid rgba(251,245,234,.18);
  border-radius: 12px;
  font: 500 16px/1.3 var(--sans); color: var(--light);
  outline: none;
  -webkit-appearance: none; appearance: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.rf textarea { resize: vertical; min-height: 92px; }
.rf input::placeholder, .rf textarea::placeholder { color: rgba(251,245,234,.35); }
.rf input:focus, .rf select:focus, .rf textarea:focus {
  border-color: var(--gold); background: rgba(251,245,234,.09);
  box-shadow: 0 0 0 3px rgba(247,184,75,.15);
}
.rf select {
  cursor: pointer; padding-right: 40px;
  background: rgba(251,245,234,.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f7b84b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat;
}
.rf select option { background: var(--sea); color: var(--light); }
.rf input::-webkit-calendar-picker-indicator { opacity: .6; cursor: pointer; }
.rf.is-invalid input, .rf.is-invalid select, .rf.is-invalid textarea { border-color: #ff9d7e; box-shadow: 0 0 0 3px rgba(255,157,126,.15); }
.rf.is-invalid > label { color: #ff9d7e; }

.stepper--light {
  justify-content: space-between;
  padding: 7px 8px;
  background: rgba(251,245,234,.06);
  border: 1px solid rgba(251,245,234,.18);
  border-radius: 12px;
}
.rf .stepper--light input { width: 48px; padding: 4px 0; background: none; border: 0; box-shadow: none; text-align: center; }
.stepper--light button { width: 34px; height: 34px; border-color: rgba(251,245,234,.25); color: var(--light); }
.stepper--light button:hover { border-color: var(--gold); background: rgba(247,184,75,.12); color: var(--gold); }

.seg { display: inline-flex; gap: 6px; padding: 5px; width: max-content; background: rgba(251,245,234,.06); border: 1px solid rgba(251,245,234,.18); border-radius: 999px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span {
  display: block; padding: 9px 22px; border-radius: 999px;
  font: 600 14px/1 var(--sans); color: rgba(251,245,234,.7);
  transition: background .2s, color .2s;
}
.seg label:hover span { color: var(--light); }
.seg input:checked + span { background: var(--gold); color: var(--ink); }
.seg input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.resform__foot { display: grid; justify-items: center; gap: 14px; text-align: center; }
.resform__submit { padding: 17px 34px; font-size: 16px; }
.resform__submit:disabled { opacity: .7; cursor: progress; transform: none; }
.resform__submit svg { transition: transform .25s var(--ease); }
.resform__submit:hover svg { transform: translateX(3px); }
.resform__fine { margin: 0; font-size: 13.5px; color: rgba(251,245,234,.55); }
.resform__error {
  margin: 0; padding: 10px 16px; border-radius: 10px;
  background: rgba(255,157,126,.12); color: #ffc2ae; font-size: 14px;
}
.resform__done { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 20px 0; outline: none; }
.resform__done .res-card__icon { width: 64px; height: 64px; margin-bottom: 6px; }
.resform__done .res-card__icon svg { width: 30px; height: 30px; stroke-width: 2; }
.resform__done .res-card__title { font-size: clamp(22px, 2.4vw, 30px); }
.resform__done .res-card__sub { max-width: 48ch; margin-bottom: 14px; }

.res-alt {
  position: relative;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 16px;
  margin: 28px 0 0; font-size: 14px; color: rgba(251,245,234,.6);
}
.res-alt a { color: var(--light); border-bottom: 1px solid rgba(251,245,234,.3); transition: color .2s, border-color .2s; }
.res-alt a:hover { color: var(--gold); border-color: var(--gold); }

/* ---------- footer ---------- */
.footer { background: var(--cream); padding: clamp(64px, 8vw, 100px) 0 0; }
.footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 40px;
}
.footer__brand img { width: 92px; height: auto; margin-bottom: 18px; }
.footer__brand p { margin: 0; color: var(--ink-soft); max-width: 32ch; font-size: 15px; }
.footer .kicker::before { display: none; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__list a { transition: color .2s; }
.footer__list a:hover { color: var(--sun-deep); }
.footer__addr { margin: 0; color: var(--ink-soft); line-height: 1.7; }
.footer__base {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin-top: 64px; padding-top: 22px; padding-bottom: 28px;
  border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--ink-faint);
}
.footer__base p { margin: 0; }
.footer__top:hover { color: var(--sun-deep); }

.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff;
  box-shadow: 0 14px 30px -10px rgba(0,0,0,.4);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; stroke: none; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1080px) {
  .nav__links { gap: 18px; }
  .nav__links a { font-size: 14px; }
  .bookbar { grid-template-columns: 1fr 1fr; }
  .field:nth-child(2) { border-right: 0; }
  .field { border-bottom: 1px solid var(--line); }
  .field--guests { border-right: 1px solid var(--line); border-bottom: 0; }
  .field:nth-child(3) { border-bottom: 1px solid var(--line); }
  .bookbar__submit { padding: 18px; margin: 8px 0 0 8px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  :root { --nav-h: 68px; }
  .nav__burger {
    display: grid; place-items: center; gap: 6px;
    width: 42px; height: 42px; border-radius: 50%;
    border: 0; background: transparent;
    box-shadow: inset 0 0 0 1px currentColor;
    padding: 0; align-content: center;
  }
  .nav__burger span { display: block; width: 18px; height: 1.6px; background: currentColor; transition: transform .3s var(--ease); }
  .nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.8px) rotate(45deg); }
  .nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.8px) rotate(-45deg); }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; gap: 0;
    background: var(--cream); color: var(--ink);
    padding: 12px var(--gutter) 28px;
    box-shadow: 0 30px 40px -20px rgba(21,34,58,.35);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .35s var(--ease), opacity .35s, visibility .35s;
  }
  .nav__links.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__links a { font-family: var(--serif); font-size: 26px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav__links a::after { display: none; }
  .nav__book, .nav__deposit { display: none; }
  .nav__links a.nav__links-deposit { display: block; color: var(--sun-deep); }

  .rooms__grid { grid-template-columns: 1fr 1fr; }
  .room:nth-child(2) { margin-top: 48px; }
  .room:nth-child(3) { margin-top: 0; grid-column: 1 / -1; }
  .room:nth-child(3) .room__photo { aspect-ratio: 16 / 9; }

  .fac__item, .fac__item:nth-child(even) { grid-template-columns: 1fr; }
  .fac__item:nth-child(even) .fac__photo { order: 0; }
  .location__grid, .transport__card { grid-template-columns: 1fr; }
  .location__map { border-radius: 160px 160px var(--radius) var(--radius); }
  .cert__grid { grid-template-columns: 1fr; }
  .cert__visual { width: min(78%, 360px); margin-top: 16px; }
}

@media (max-width: 600px) {
  .hero__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 0; margin-top: 32px; }
  .hero__stats li, .hero__stats li:first-child { padding: 2px 0 2px 14px; border-left: 1px solid rgba(251,245,234,.28); }
  .sunburst { width: 120vw; right: -50vw; top: -30vw; }
  .hero__bg > img { object-position: 82% center; }
  .hero:has(.hero__bg > img) .hero__shade {
    background: linear-gradient(0deg, rgba(14,20,34,.88) 0%, rgba(14,20,34,.55) 50%, rgba(14,20,34,.15) 80%, rgba(14,20,34,.45) 100%);
  }
  .bookbar { grid-template-columns: 1fr; padding: 10px; }
  .field, .field:nth-child(2), .field:nth-child(3), .field--guests { border-right: 0; border-bottom: 1px solid var(--line); }
  .field--guests { border-bottom: 0; }
  .bookbar__submit { margin: 6px 0 0; }
  .rooms__grid { grid-template-columns: 1fr; }
  .room:nth-child(n) { margin-top: 0; }
  .room__photo, .room:nth-child(3) .room__photo { aspect-ratio: 4 / 3; }
  .transport__facts { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .cert__facts { grid-template-columns: 1fr 1fr; }
  .cert__seal { width: 76px; height: 76px; left: -16px; font-size: 9.5px; }
  .cert__seal svg { width: 22px; height: 22px; }
  .cert__dialog form { top: 8px; right: 8px; }
  .res-card .btn { width: 100%; }
  .resform__grid { grid-template-columns: 1fr; }
  .resform__submit { width: 100%; }
  .seg { width: 100%; }
  .seg label { flex: 1; text-align: center; }
  .footer__grid { grid-template-columns: 1fr; }
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}

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