:root {
  --accent: #2F6F87;
  --accent-dark: #1F5268;
  --ink: #23323A;
  --muted: #57636A;
  --soft: #8A8578;
  --line: #EDE6DA;
  --line-2: #E6DFD4;
  --cream: #FBF8F3;
  --sand: #F3EDE3;
  --pending: #B4884F;
  --blocked: #6B7280;
  --white: #fff;
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Work Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
img { max-width: 100%; }
a { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(47,111,135,0.3); }
a:hover { color: var(--accent-dark); border-bottom-color: var(--accent-dark); }
a.btn-link, a.no-underline, nav a, header a, footer a { border-bottom: none; }
input, textarea, select, button { font-family: inherit; }
button { cursor: pointer; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.app { min-height: 100vh; display: flex; flex-direction: column; background: var(--cream); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,248,243,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1180px; margin: 0 auto;
  padding: 12px clamp(16px,4vw,32px);
  display: flex; align-items: center; gap: clamp(14px,2vw,28px);
}
.logo img { display: block; height: clamp(62px,7vw,88px); width: auto; }
.header-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.brand-title {
  font-family: Jost, sans-serif; font-size: 19px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink);
}
.brand-sub {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--soft);
}
.nav {
  display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center;
}
.nav-btn {
  padding: 8px 13px; border-radius: 999px; border: none;
  font-size: 13.5px; letter-spacing: 0.02em; background: transparent; color: #5C666B;
}
.nav-btn.active { background: #EDE6DA; color: var(--ink); font-weight: 500; }
.cta-header {
  align-self: flex-start; padding: 12px 22px; border-radius: 999px; border: none;
  background: var(--accent); color: #fff; font-size: 13px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.cta-header:hover, .btn-primary:hover { filter: brightness(0.95); }

main { flex: 1; }
.page { display: none; }
.page.active { display: block; }

.wrap { max-width: 1180px; margin: 0 auto; padding: clamp(36px,5vw,64px) clamp(16px,4vw,32px); }
.wrap-narrow { max-width: 760px; }
.eyebrow {
  margin: 0 0 10px; font-size: 12px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent);
}
h1, h2, h3 { font-family: Jost, sans-serif; font-weight: 400; }
.page-title {
  margin: 0 0 14px; font-size: clamp(32px,4.6vw,54px); line-height: 1.08;
}
.section-title {
  margin: 0 0 18px; font-size: clamp(28px,3.6vw,42px); line-height: 1.12;
}
.lead { margin: 0 0 28px; max-width: 56ch; font-size: 16px; line-height: 1.65; color: var(--muted); }
.lead-lg { font-size: 17px; line-height: 1.7; color: #3D4A51; }

.btn-primary {
  padding: 14px 28px; border-radius: 999px; border: none;
  background: var(--accent); color: #fff; font-size: 14px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.btn-primary.full { width: 100%; }
.btn-outline {
  padding: 14px 28px; border-radius: 999px; border: 1px solid var(--ink);
  background: transparent; color: var(--ink); font-size: 13px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.pill {
  padding: 9px 14px; border-radius: 999px; border: 1px solid #E1D8C8;
  background: transparent; color: var(--muted); font-size: 13px; font-weight: 500;
  letter-spacing: 0.04em; transition: all .15s;
}
.pill.active {
  border-color: transparent; background: var(--accent); color: #fff;
}
.pill.lg { padding: 10px 18px; font-size: 14px; }

/* Hero */
.hero-section {
  max-width: 1400px; margin: 0 auto;
  padding: clamp(20px,4vw,40px) clamp(16px,4vw,32px) 0;
}
.hero {
  position: relative; border-radius: 24px; overflow: hidden;
  min-height: clamp(380px,62vh,620px); display: flex; align-items: flex-end;
  background: repeating-linear-gradient(135deg,#E7E0D4 0 12px,#F1EBE1 12px 24px);
}
.hero-slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; transition: opacity 1.1s ease; opacity: 0;
}
.hero-slide.active { opacity: 1; }
.hero-dots {
  position: absolute; right: clamp(16px,3vw,28px); bottom: clamp(16px,3vw,28px);
  z-index: 2; display: flex; gap: 9px;
}
.hero-dot {
  width: 10px; height: 10px; border-radius: 999px; border: none; padding: 0;
  background: rgba(255,255,255,0.5); transition: width .3s, background .3s;
}
.hero-dot.active { width: 26px; background: #fff; }
.hero-copy {
  position: relative; width: 100%;
  padding: clamp(40px,7vw,72px) clamp(24px,5vw,56px) clamp(24px,5vw,56px);
  background: linear-gradient(to top,rgba(18,28,33,0.92) 0%,rgba(18,28,33,0.82) 55%,rgba(18,28,33,0.45) 85%,rgba(18,28,33,0) 100%);
}
.hero-copy .eyebrow { color: rgba(255,255,255,0.85); }
.hero-copy h1 {
  margin: 0; max-width: 16ch; font-size: clamp(34px,5.4vw,64px);
  line-height: 1.04; color: #fff; text-wrap: pretty;
}
.hero-copy p {
  margin: 18px 0 0; max-width: 52ch; font-size: clamp(15px,1.4vw,18px);
  line-height: 1.6; color: rgba(255,255,255,0.92);
}

.stats {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(150px,1fr));
  gap: 1px; margin-top: 28px; background: var(--line); border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden;
}
.stat { background: var(--cream); padding: 20px 22px; }
.stat strong {
  display: block; font-family: Jost, sans-serif; font-size: 26px; font-weight: 400;
}
.stat span {
  display: block; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--soft); margin-top: 4px;
}

/* Cards / grids */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px;
}
.card-title { font-family: Jost, sans-serif; font-size: 17px; font-weight: 500; line-height: 1.35; }
.offer-grid {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(210px,1fr)); gap: 14px;
}
.amenity-grid {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 20px;
}
.amenity-grid .thumb {
  aspect-ratio: 4/3; border-radius: 16px; overflow: hidden; background: #EFE9DE;
}
.amenity-grid .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.amenity-grid p { margin: 12px 0 0; font-size: 16px; line-height: 1.55; }

.two-col {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: clamp(28px,4vw,60px); align-items: center;
}
.band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-inner {
  max-width: 1180px; margin: 0 auto;
  padding: clamp(44px,6vw,80px) clamp(16px,4vw,32px);
}
.sand-band { background: var(--sand); }
.photo-pair {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.photo-pair > div {
  aspect-ratio: 3/4; border-radius: 16px; overflow: hidden; background: #EFE9DE;
}
.photo-pair > div:last-child { margin-top: 28px; }
.photo-pair img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Rooms */
.room-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.room-panel { display: none; }
.room-panel.active { display: block; }
.room-layout {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: clamp(20px,3vw,44px); align-items: center;
}
.room-photo {
  aspect-ratio: 4/3; border-radius: 20px; overflow: hidden; background: #EFE9DE;
}
.room-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.room-meta {
  margin: 0 0 14px; font-size: 13px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--soft);
}

/* Calendar */
.cal-section {
  max-width: 1180px; margin: 0 auto;
  padding: clamp(44px,6vw,80px) clamp(16px,4vw,32px);
}
.cal-layout {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
  gap: clamp(20px,3vw,40px); align-items: start;
}
.cal-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(18px,2.4vw,28px);
}
.cal-nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 18px;
}
.cal-nav-btn {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2);
  background: var(--cream); color: var(--ink); font-size: 16px;
}
.cal-month-label {
  font-family: Jost, sans-serif; font-size: 19px; letter-spacing: 0.06em;
}
.cal-dows, .cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px;
}
.cal-dows { margin-bottom: 6px; }
.cal-dow {
  text-align: center; font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: #9C9587; padding-bottom: 4px;
}
.cal-day {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  border-radius: 10px; font-size: 14px; font-weight: 500;
  border: 1px solid transparent; position: relative; user-select: none;
  background: transparent; color: transparent;
}
.cal-day.has-date { cursor: pointer; color: var(--ink); }
.cal-day.available { background: #fff; border-color: var(--line-2); }
.cal-day.booked { background: var(--accent); color: #fff; border-color: transparent; }
.cal-day.pending { background: var(--pending); color: #fff; border-color: transparent; }
.cal-day.blocked { background: var(--blocked); color: #fff; border-color: transparent; }
.cal-day.split {
  background: linear-gradient(135deg, var(--split-am, #fff) 0 50%, var(--split-pm, #fff) 50% 100%);
  color: var(--ink); border-color: var(--line-2);
  text-shadow: 0 0 4px rgba(255,255,255,0.95);
}
.cal-day.disabled { opacity: 0.55; cursor: not-allowed; }
.cal-day.in-range {
  box-shadow: inset 0 0 0 2px rgba(47,111,135,0.35);
  background-color: rgba(47,111,135,0.12) !important;
}
.cal-day.range-start, .cal-day.range-end {
  outline: 2px solid var(--accent); outline-offset: 1px;
  font-weight: 600;
}
.cal-day.is-sat.has-date::after {
  content: ""; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: 0.35;
}
.cal-legend {
  display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 20px;
  padding-top: 18px; border-top: 1px solid #F0EAE0;
}
.cal-legend span {
  display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted);
}
.swatch {
  width: 15px; height: 15px; border-radius: 4px; border: 1px solid var(--line-2); background: #fff;
}
.swatch.booked { background: var(--accent); border-color: transparent; }
.swatch.pending { background: var(--pending); border-color: transparent; }
.swatch.blocked { background: var(--blocked); border-color: transparent; }
.swatch.partial {
  background: linear-gradient(135deg, var(--accent) 0 50%, #fff 50% 100%);
}
.cal-status {
  margin-top: 12px; font-size: 13px; line-height: 1.5; color: var(--muted); min-height: 1.5em;
}
.cal-status.warn { color: #9A3412; }
.cal-status.ok { color: #166534; }
.cal-loading { font-size: 14px; color: var(--muted); padding: 24px 0; text-align: center; }

.request-card {
  background: var(--sand); border-radius: 20px; padding: clamp(18px,2.4vw,28px);
}
.request-card h3 {
  margin: 0 0 6px; font-family: Jost, sans-serif; font-weight: 500; font-size: 20px;
}
.form-grid {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(140px,1fr)); gap: 12px;
}
.field {
  padding: 12px 14px; border-radius: 10px; border: 1px solid #E1D8C8;
  background: #fff; font-size: 15px; color: var(--ink); width: 100%;
}
.field:focus { outline: 2px solid rgba(47,111,135,0.35); border-color: var(--accent); }
.field[readonly] { background: #F8F5F0; }
textarea.field { resize: vertical; margin-top: 12px; }
.form-note { margin: 12px 0 0; font-size: 12px; line-height: 1.5; color: var(--soft); }
.form-msg { margin-top: 12px; font-size: 14px; line-height: 1.5; }
.form-msg.ok { color: #166534; }
.form-msg.err { color: #9A3412; }
.date-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px;
}
@media (max-width: 480px) { .date-row { grid-template-columns: 1fr; } }

/* Gallery */
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill,minmax(240px,1fr)); gap: 14px;
}
.gallery-grid .thumb {
  aspect-ratio: 4/3; border-radius: 14px; overflow: hidden; background: #EFE9DE;
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Bookings dual calendar */
.bookings-cal {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(18px,2.6vw,32px);
}
.bookings-months {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
  gap: clamp(18px,3vw,36px);
}
.bookings-months .cal-month-label {
  text-align: center; font-size: 17px; margin-bottom: 14px; display: block;
}

/* Explore */
.explore-grid {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
  gap: clamp(18px,2.4vw,28px);
}
.explore-num {
  font-family: Jost, sans-serif; font-size: 13px; letter-spacing: 0.14em;
  color: var(--accent); margin-bottom: 10px;
}
.explore-grid h2 {
  margin: 0 0 10px; font-weight: 500; font-size: 21px;
}

/* Best / lists */
.feature-box {
  background: var(--sand); border-radius: 20px; padding: clamp(22px,3vw,36px);
  margin-bottom: clamp(28px,4vw,44px);
}
.best-hero {
  aspect-ratio: 3/2; border-radius: 20px; overflow: hidden; background: #E7E0D4;
  margin-bottom: clamp(28px,4vw,48px);
}
.best-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.best-copy {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
  gap: clamp(20px,3vw,40px); max-width: 1000px;
}
.best-copy p { margin: 0; font-size: 17px; line-height: 1.75; color: #3D4A51; }
.list-cards {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 20px;
  margin-top: clamp(36px,5vw,64px);
}
.list-cards h2 {
  margin: 0 0 16px; font-weight: 500; font-size: 19px;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.list-cards ul {
  margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 9px;
  font-size: 16px; line-height: 1.55; color: #3D4A51;
}

/* Contact / survey */
.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
  gap: clamp(20px,3vw,36px); align-items: start;
}
.rules-download {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
}
.rules-download a.btn-primary { border-bottom: none; display: inline-block; text-align: center; }

/* Footer */
.site-footer { background: var(--ink); color: #DDE4E7; margin-top: auto; }
.footer-inner {
  max-width: 1180px; margin: 0 auto;
  padding: clamp(32px,4vw,56px) clamp(16px,4vw,32px);
  display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 28px;
}
.footer-brand {
  font-family: Jost, sans-serif; font-size: 18px; letter-spacing: 0.14em;
  text-transform: uppercase; color: #fff;
}
.footer-label {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: #8FA0A7; margin-bottom: 12px;
}
.footer-bar {
  border-top: 1px solid #33454E;
}
.footer-bar div {
  max-width: 1180px; margin: 0 auto;
  padding: 18px clamp(16px,4vw,32px); font-size: 13px; color: #8FA0A7;
}

/* Sticky CTA */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(251,248,243,0.95); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.sticky-cta .btn-primary { width: 100%; padding: 16px; font-size: 15px; }
body.has-sticky { padding-bottom: 84px; }
@media (min-width: 760px) {
  .sticky-cta { display: none; }
  body.has-sticky { padding-bottom: 0; }
}

.flip-x { transform: scaleX(-1); }
.section-pad {
  max-width: 1180px; margin: 0 auto;
  padding: clamp(44px,6vw,80px) clamp(16px,4vw,32px);
}
