:root {
  --ink: #173b37;
  --ink-deep: #0c2b28;
  --cream: #faf8f2;
  --sand: #efebe1;
  --coral: #537166;
  --coral-dark: #3c584e;
  --turquoise: #6b8b7d;
  --aqua: #e0ebe3;
  --sun: #e3d7b9;
  --white: #ffffff;
  --muted: #5f716d;
  --line: rgba(23, 59, 55, 0.14);
  --shadow: 0 24px 70px rgba(20, 69, 61, 0.14);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
button, input, select { font: inherit; }

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1240px;
  margin: 14px auto 0;
  padding: 11px 14px 11px 20px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.88);
  box-shadow: 0 10px 36px rgba(17, 58, 52, 0.1);
  backdrop-filter: blur(18px);
}

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; }
.brand-mascot { display: block; width: 40px; height: 40px; flex: 0 0 auto; border: 2px solid rgba(255,255,255,.8); border-radius: 12px; object-fit: cover; object-position: center; box-shadow: 0 4px 12px rgba(20,69,61,.16); }
.top-cta {
  padding: 11px 18px;
  border-radius: 999px;
  color: white;
  background: var(--coral);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.hero {
  position: relative;
  min-height: 820px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: clamp(30px, 5vw, 84px);
  padding: 130px max(6vw, 24px) 80px;
  background:
    radial-gradient(circle at 14% 16%, rgba(194, 201, 182, 0.18), transparent 25%),
    linear-gradient(135deg, #fffaf0 0%, #f2eee4 60%, #e8f3e9 100%);
}
.hero-copy { z-index: 2; max-width: 650px; margin-left: auto; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
h1, h2 { margin: 0; color: var(--ink-deep); font-family: "Playfair Display", Georgia, serif; font-weight: 600; line-height: 1.03; }
h1 { max-width: 690px; font-size: clamp(54px, 6.5vw, 92px); letter-spacing: -0.045em; }
h1 em { color: var(--coral); font-weight: 500; }
.hero-lead { max-width: 600px; margin: 27px 0 0; color: var(--muted); font-size: clamp(18px, 2vw, 22px); line-height: 1.62; }
.hero-actions { display: flex; align-items: center; gap: 20px; margin-top: 36px; }
.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 15px 24px;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--coral); box-shadow: 0 12px 24px rgba(60, 88, 78, .15); }
.button-primary:hover { background: var(--coral-dark); box-shadow: 0 15px 30px rgba(60, 88, 78, .22); }
.button-secondary { width: 100%; color: var(--ink); background: var(--aqua); }
.button:disabled { cursor: not-allowed; opacity: .55; transform: none; box-shadow: none; }
.direct-note { color: var(--muted); font-size: 14px; }

.hero-visual { position: relative; z-index: 1; width: min(100%, 460px); height: 460px; margin-right: auto; isolation: isolate; }
.hero-visual::before { position: absolute; z-index: -1; inset: 14px -10px -10px 14px; border: 1px solid rgba(54,169,155,.3); border-radius: 38px; background: linear-gradient(145deg, rgba(54,169,155,.13), rgba(245,201,95,.18)); content: ""; }
.hero-photo { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; background: #e7e1d8; border: 9px solid rgba(255,255,255,.88); border-radius: 34px; box-shadow: var(--shadow); }
.visual-card { position: absolute; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 12px; padding: 14px 17px; border: 1px solid rgba(255,255,255,.78); border-radius: 18px; background: rgba(255,250,240,.94); box-shadow: 0 18px 40px rgba(20,69,61,.18); backdrop-filter: blur(16px); }
.visual-card > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; color: var(--coral-dark); background: #e5eadd; font-size: 25px; }
.visual-card strong, .visual-card small { display: block; }
.visual-card small { margin-top: 3px; color: var(--muted); }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(2px); }
.hero-glow-one { right: 42%; bottom: -90px; width: 240px; height: 240px; background: rgba(54,169,155,.14); }
.hero-glow-two { left: -80px; top: 27%; width: 220px; height: 220px; background: rgba(173,188,171,.11); }

.experience { padding: 110px max(6vw, 24px); background: #fffdf8; }
.section-heading { max-width: 720px; margin: 0 auto 54px; text-align: center; }
.section-heading h2, .booking-intro h2 { font-size: clamp(42px, 5vw, 67px); letter-spacing: -.035em; }
.section-heading > p:last-child, .booking-intro > p { color: var(--muted); font-size: 18px; line-height: 1.65; }
.amenity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1240px; margin: auto; }
.amenity { min-height: 260px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: white; }
.amenity-featured { color: white; border-color: transparent; background: var(--ink); }
.amenity-icon { display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 38px; border-radius: 14px; color: var(--coral-dark); background: #edf0e5; font-size: 26px; }
.amenity h3 { margin: 0 0 10px; font-size: 19px; }
.amenity p { margin: 0; color: var(--muted); line-height: 1.55; }
.amenity-featured p { color: rgba(255,255,255,.72); }
.rules-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 1100px; margin: 40px auto 0; }
.rules-strip span { padding: 12px 16px; border-radius: 999px; color: var(--muted); background: var(--sand); font-size: 14px; }
.rules-strip b { color: var(--ink); }

.gallery-section { padding: 110px max(6vw, 24px); background: #eef5ef; }
.gallery-heading { margin-bottom: 42px; }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 290px; gap: 16px; max-width: 1240px; margin: auto; }
.photo-grid figure { position: relative; overflow: hidden; margin: 0; border-radius: 22px; background: #d8e5dc; box-shadow: 0 16px 40px rgba(20,69,61,.1); }
.photo-grid figure:first-child { grid-column: span 2; }
.photo-grid .photo-tall { grid-row: span 2; }
.photo-grid img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.photo-grid figure:hover img { transform: scale(1.025); }
.photo-grid figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 10px 13px; border: 1px solid rgba(255,255,255,.6); border-radius: 12px; color: white; background: rgba(12,43,40,.72); font-size: 13px; font-weight: 700; backdrop-filter: blur(10px); }

.booking-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(45px, 7vw, 100px); padding: 110px max(6vw, 24px); color: white; background: var(--ink-deep); }
.booking-intro { max-width: 560px; margin-left: auto; }
.booking-intro h2 { color: white; }
.booking-intro > p { color: rgba(255,255,255,.65); }
.season-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px; }
.season-cards > div { padding: 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; background: rgba(255,255,255,.055); }
.season-cards span, .season-cards small, .season-cards strong { display: block; }
.season-cards span { color: rgba(255,255,255,.66); font-size: 13px; }
.season-cards strong { margin: 6px 0 2px; color: var(--sun); font-size: 30px; }
.season-cards small { color: rgba(255,255,255,.48); }
.fine-print { font-size: 13px !important; }
.single-night-note { margin-top: 14px; padding: 16px 18px; border: 1px solid rgba(245,201,95,.24); border-radius: 16px; background: rgba(245,201,95,.09); text-align: left; }
.single-night-note strong, .single-night-note span { display: block; }
.single-night-note strong { color: var(--sun); }
.single-night-note span { margin-top: 5px; color: rgba(255,255,255,.7); font-size: 13px; line-height: 1.5; }
.booking-card { width: min(100%, 640px); padding: clamp(24px, 4vw, 42px); border-radius: var(--radius); color: var(--ink); background: var(--cream); box-shadow: 0 34px 80px rgba(0,0,0,.22); }
.date-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label > span { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 800; }
input, select { width: 100%; min-height: 54px; padding: 0 15px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: white; outline: none; }
input:focus, select:focus { border-color: var(--turquoise); box-shadow: 0 0 0 4px rgba(54,169,155,.12); }
.guest-field { display: block; margin-top: 16px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.phone-field { display: block; margin-top: 16px; }
.phone-field small { display: block; margin-top: 7px; color: var(--muted); font-size: 12px; font-weight: 500; line-height: 1.45; }
.marketing-consent { display: flex; align-items: flex-start; gap: 11px; margin-top: 18px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.marketing-consent input { width: 19px; min-width: 19px; height: 19px; min-height: 19px; margin: 2px 0 0; accent-color: var(--turquoise); }
.marketing-consent span { margin: 0; color: var(--muted); font-size: 14px; font-weight: 500; line-height: 1.45; }
.sync-status { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 11px 13px; border-radius: 11px; color: #765428; background: #fff0c7; font-size: 13px; }
.sync-status::before { content: ""; width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: #d6972d; }
.sync-status.ready { color: #226c62; background: #dff2ed; }
.sync-status.ready::before { background: #2c9b88; }
.sync-status.error { color: #8c3224; background: #ffe8e0; }
.sync-status.error::before { background: #d9563b; }
.booking-message { margin-top: 18px; padding: 14px 16px; border-radius: 12px; color: var(--muted); background: #f1eadb; font-size: 14px; line-height: 1.5; }
.booking-message.error { color: #8c3224; background: #ffe8e0; }
.booking-message.success { color: #226c62; background: #dff2ed; }
.quote { margin-top: 20px; }
.quote-row, .quote-total { display: flex; justify-content: space-between; gap: 16px; }
.quote-row { padding-bottom: 12px; color: var(--muted); font-size: 14px; }
.quote-breakdown { display: grid; gap: 7px; padding: 13px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.quote-breakdown div { display: flex; justify-content: space-between; }
.quote-total { align-items: center; padding: 18px 0 8px; font-weight: 800; }
.quote-total strong { font-size: 30px; }
.booking-button { width: 100%; margin-top: 20px; }
.secure-note { margin: 13px 0 0; color: var(--muted); font-size: 12px; text-align: center; }

footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 30px max(6vw, 24px); border-top: 1px solid var(--line); color: var(--muted); background: #fffdf8; font-size: 13px; }
.footer-links { display: flex; justify-self: end; flex-wrap: wrap; gap: 16px; }
.footer-links a { text-decoration: none; font-weight: 700; }
.footer-brand { color: var(--ink); }

dialog { max-width: 500px; padding: 0; border: 0; border-radius: 24px; box-shadow: 0 30px 90px rgba(0,0,0,.28); }
dialog::backdrop { background: rgba(9, 34, 31, .75); backdrop-filter: blur(6px); }
.dialog-card { position: relative; padding: 36px; }
.dialog-card h2 { font-size: 37px; }
.dialog-card > p:not(.eyebrow) { color: var(--muted); line-height: 1.6; }
.dialog-close { position: absolute; top: 14px; right: 15px; width: 38px; height: 38px; border: 0; border-radius: 50%; cursor: pointer; color: var(--ink); background: var(--sand); font-size: 23px; }
.dialog-notice { margin: 20px 0; padding: 14px; border-radius: 12px; color: #765428; background: #fff0c7; font-size: 13px; line-height: 1.5; }
.dialog-notice strong, .dialog-notice span { display: block; }
.dialog-notice strong { margin-bottom: 7px; color: var(--ink); font-family: ui-monospace, monospace; font-size: 15px; }
.dialog-payment { width: 100%; margin-bottom: 10px; }

@media (max-width: 980px) {
  .topbar { left: 18px; right: 18px; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 130px; text-align: center; }
  .hero-copy { margin: auto; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { width: min(76vw, 460px); height: min(76vw, 460px); margin: 10px auto 0; }
  .amenity-grid { grid-template-columns: 1fr 1fr; }
  .photo-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 270px; }
  .photo-grid figure:first-child { grid-column: span 2; }
  .booking-section { grid-template-columns: 1fr; }
  .booking-intro { max-width: 720px; margin: auto; text-align: center; }
  .booking-card { margin: auto; }
  footer { grid-template-columns: 1fr; text-align: center; }
  .footer-links { justify-self: center; justify-content: center; }
  .footer-brand { justify-self: center; }
}

@media (max-width: 600px) {
  .topbar { top: 8px; left: 10px; right: 10px; margin-top: 0; padding-left: 14px; }
  .top-cta { padding: 10px 13px; font-size: 12px; }
  .brand { font-size: 14px; }
  .hero { padding: 110px 18px 64px; }
  h1 { font-size: 51px; }
  .hero-actions { flex-direction: column; }
  .hero-visual { width: min(88vw, 380px); height: min(88vw, 380px); }
  .visual-card { right: -7px; bottom: 19px; text-align: left; }
  .experience, .booking-section { padding: 76px 18px; }
  .amenity-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr; grid-auto-rows: 280px; }
  .photo-grid figure:first-child { grid-column: auto; }
  .photo-grid .photo-tall { grid-row: auto; }
  .amenity { min-height: 220px; }
  .amenity-icon { margin-bottom: 24px; }
  .season-cards { grid-template-columns: 1fr; }
  .date-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .booking-card { padding: 23px 18px; border-radius: 22px; }
  .section-heading h2, .booking-intro h2 { font-size: 43px; }
  .dialog-card { padding: 34px 22px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

[hidden] { display: none !important; }
section[id] { scroll-margin-top: 100px; }
.gallery-section { padding: 70px 0 0; background: transparent; }
.booking-steps { margin-top: 22px; padding: 18px; border: 1px solid rgba(255,255,255,.17); border-radius: 16px; }
.booking-steps p { color: rgba(255,255,255,.8); font-size: 14px; line-height: 1.6; margin-bottom: 0; }
.privacy-short { color: var(--muted); font-size: 13px; line-height: 1.6; }
.text-link { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
:focus-visible { outline: 3px solid var(--turquoise); outline-offset: 4px; }
dialog { width: min(500px, calc(100vw - 28px)); max-height: calc(100dvh - 28px); overflow-y: auto; }
.legal-dialog { width: min(720px, calc(100vw - 28px)); max-width: 720px; }
.legal-dialog h3 { margin: 26px 0 8px; font-size: 17px; }
.legal-dialog p { line-height: 1.65; color: var(--muted); }
.legal-date { font-size: 12px; }
.secure-note { line-height: 1.6; }
.hero-visual { max-width: 100%; aspect-ratio: 1; }
.footer-links { align-items: center; }
@media (max-width: 600px) {
  h1 { font-size: clamp(38px, 11vw, 51px); }
  .visual-card { right: 9px; left: 9px; padding: 11px; }
  .visual-card strong { font-size: 13px; }
  .visual-card small { font-size: 11px; }
  input, select { font-size: 16px; min-width: 0; }
  .dialog-card h2 { font-size: 31px; }
  .rules-strip span { max-width: 100%; border-radius: 16px; line-height: 1.5; }
  .top-cta { min-height: 44px; display: inline-flex; align-items: center; }
  .dialog-close { min-width: 44px; min-height: 44px; top: 8px; right: 8px; }
}

.date-picker { margin-top: 16px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.calendar-tabs { display: flex; gap: 8px; }
.calendar-tabs button { flex: 1; min-height: 44px; border: 1px solid var(--line); border-radius: 9px; background: var(--cream); color: var(--ink); font-size: 13px; font-weight: 700; cursor: pointer; }
.calendar-tabs button[aria-pressed="true"] { background: var(--ink); color: white; }
.calendar-heading { display: flex; align-items: center; justify-content: space-between; margin: 10px 0; }
.calendar-heading button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--cream); color: var(--ink); font-size: 27px; cursor: pointer; }
.calendar-heading strong { font-size: 15px; text-transform: capitalize; }
.calendar-weekdays, .calendar-days { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 3px; }
.calendar-weekdays span { padding: 8px 0; text-align: center; color: var(--muted); font-size: 12px; }
.calendar-days button { min-height: 44px; border: 0; border-radius: 8px; background: #eef3ee; color: var(--ink); cursor: pointer; font-size: 14px; font-weight: 600; }
.calendar-days button:disabled { background: #eee; color: #a1a1a1; cursor: not-allowed; text-decoration: line-through; }
.calendar-days button.selected { background: var(--ink); color: white; }
.calendar-days button.in-range { background: #dce8de; }
.calendar-help { margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.date-grid input[readonly] { cursor: pointer; font-size: 14px; }
@media (max-width: 360px) { .date-picker { padding: 8px; } .calendar-days { gap: 2px; } }

.contact-prompt { margin: 24px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.contact-prompt a { color: var(--ink); text-underline-offset: 3px; }
textarea { width: 100%; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: white; color: var(--ink); font: inherit; font-size: 16px; resize: vertical; }
.contact-help { font-size: 12px; line-height: 1.6; }
