:root {
  --ink: #14201f;
  --muted: #64706f;
  --paper: #f7f8f4;
  --surface: #ffffff;
  --soft: #edf3ee;
  --line: rgba(20, 32, 31, 0.14);
  --forest: #123f3b;
  --ocean: #116b7d;
  --blue: #0d4fa3;
  --coral: #c6664a;
  --gold: #d8a23a;
  --shadow: 0 18px 54px rgba(20, 32, 31, 0.12);
}

[data-theme="dark"] {
  --ink: #f2f5ef;
  --muted: #bac4c0;
  --paper: #111c1b;
  --surface: #182725;
  --soft: #223330;
  --line: rgba(242, 245, 239, 0.16);
  --forest: #a9ded0;
  --ocean: #88d2de;
  --blue: #9cc4ff;
  --coral: #e99a82;
  --gold: #efc55f;
  --shadow: 0 18px 54px rgba(0, 0, 0, 0.34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: inherit; }
button, input, select, textarea { font: inherit; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px clamp(16px, 4vw, 48px);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 245px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: #fff;
  background: var(--forest);
  font-weight: 900;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 26px);
}

.nav a, .site-footer a {
  color: var(--forest);
  text-decoration: none;
  font-weight: 800;
}

.nav a:hover, .site-footer a:hover { color: var(--coral); }

.header-actions, .hero-actions, .form-actions, .contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.header-actions {
  flex: 0 0 auto;
  margin-left: auto;
}

.icon-btn {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--surface);
  cursor: pointer;
}

.menu-btn { display: none; }
.menu-btn span {
  width: 18px;
  height: 2px;
  display: block;
  margin: 2px 0;
  background: currentColor;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.btn.primary {
  color: #fff;
  background: var(--forest);
  border-color: var(--forest);
}

.btn.secondary {
  color: var(--forest);
  background: var(--surface);
}

.header-cta { min-height: 40px; padding: 8px 14px; }

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(26px, 5vw, 72px) clamp(16px, 5vw, 72px);
}

.hero > *, .split > *, .booking-form > *, .photo-grid > *, .contact-band > * {
  min-width: 0;
}

.hero-gallery {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  grid-template-rows: repeat(3, minmax(120px, 1fr));
  gap: 10px;
  min-height: min(68vh, 650px);
}

.hero-photo, .photo-grid button {
  padding: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--soft);
  cursor: pointer;
}

.hero-photo img, .photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .2s ease;
}

.hero-photo:hover img, .photo-grid button:hover img { transform: scale(1.03); }
.hero-main { grid-row: 1 / 4; }

.rating-card {
  position: absolute;
  left: 18px;
  bottom: 18px;
  max-width: 230px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 8px;
  color: #fff;
  background: rgba(18, 63, 59, .9);
  box-shadow: var(--shadow);
}

.rating-card strong {
  display: grid;
  place-items: center;
  width: 52px;
  height: 44px;
  border-radius: 8px;
  background: var(--blue);
  font-size: 22px;
}

.rating-card span { font-weight: 800; }

.hero-content { max-width: 650px; }

.eyebrow {
  margin: 0 0 10px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1, h2, h3, p { overflow-wrap: anywhere; }
h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6.5vw, 82px);
  line-height: .94;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.15;
}

.hero-copy, .lead {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-copy { margin: 22px 0; }

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 30px 0 0;
}

.hero-facts div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.hero-facts dt {
  color: var(--forest);
  font-size: 28px;
  font-weight: 950;
}

.hero-facts dd {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  color: #fff;
  background: var(--forest);
}

.trust-strip div {
  padding: 22px clamp(16px, 4vw, 44px);
  border-right: 1px solid rgba(255,255,255,.18);
}

.trust-strip strong, .trust-strip span { display: block; }
.trust-strip span { margin-top: 4px; color: rgba(255,255,255,.76); }

.quick-search, .section, .contact-band {
  padding: clamp(48px, 8vw, 92px) clamp(16px, 5vw, 72px);
}

.section-head {
  max-width: 820px;
  margin-bottom: 28px;
}

.section-head p:not(.eyebrow), .split p:not(.eyebrow), .faq-list p {
  color: var(--muted);
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: clamp(16px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

label span, legend {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

input, select, textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
}

textarea { resize: vertical; }
.wide, .options, .form-actions { grid-column: 1 / -1; }

.options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin: 0;
  padding: 0;
  border: 0;
}

.options label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.options input {
  width: 18px;
  min-height: 18px;
}

.options label span { margin: 0; }

.split {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.feature-panel, .info-list, .faq-list {
  display: grid;
  gap: 10px;
}

.feature-panel div, .info-list div, .faq-list details, .amenity-columns article, .location-grid article, .review-cards article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.feature-panel strong, .feature-panel span, .info-list strong, .info-list span {
  display: block;
}

.feature-panel span, .info-list span {
  margin-top: 4px;
  color: var(--muted);
}

.muted-band { background: var(--soft); }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.photo-grid button {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
}

.amenity-columns, .location-grid, .review-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.amenity-columns ul {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.amenity-columns li + li { margin-top: 8px; }

.score-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 30px;
  margin-bottom: 28px;
}

.score-grid div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
}

.score-grid span, .score-grid strong {
  font-weight: 900;
}

.score-grid i {
  grid-column: 1 / -1;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: color-mix(in srgb, var(--line) 60%, transparent);
}

.score-grid i::before {
  content: "";
  display: block;
  width: var(--score);
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
}

.review-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.review-head span {
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.review-cards p { color: var(--muted); }

.location-grid dl {
  margin: 16px 0 0;
  display: grid;
  gap: 10px;
}

.location-grid dl div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.location-grid dt { color: var(--muted); }
.location-grid dd { margin: 0; font-weight: 900; }

.faq-list {
  max-width: 940px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(18,63,59,.96), rgba(17,107,125,.92)),
    var(--forest);
}

.contact-band .eyebrow { color: #ffc49a; }
.contact-band p { color: rgba(255,255,255,.8); }
.contact-band .btn.primary {
  color: #123f3b;
  background: #fff;
  border-color: #fff;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(16px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.site-footer p {
  margin: 6px 0 0;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 12px 18px;
}

.lightbox {
  width: min(1100px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  padding: 14px;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.lightbox::backdrop { background: rgba(0,0,0,.72); }

.lightbox-bar {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.lightbox-bar p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.lightbox img {
  width: 100%;
  max-height: calc(100vh - 110px);
  object-fit: contain;
  border-radius: 8px;
  background: #000;
}

.legal-page {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(34px, 7vw, 82px) clamp(16px, 4vw, 32px);
}

.legal-page h1 { font-size: clamp(38px, 6vw, 64px); }
.legal-page h2 { margin-top: 34px; font-size: clamp(24px, 3vw, 34px); }
.legal-page p, .legal-page li { color: var(--muted); }

@media (max-width: 1020px) {
  .hero, .split, .contact-band {
    grid-template-columns: 1fr;
  }
  .hero { min-height: auto; }
  .hero-gallery { min-height: 520px; }
  .booking-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .amenity-columns, .location-grid, .review-cards, .photo-grid {
    grid-template-columns: 1fr 1fr;
  }
  .score-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 64px;
    gap: 8px;
  }
  .brand {
    min-width: 0;
    gap: 8px;
  }
  .brand small { display: none; }
  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 13px;
  }
  .brand strong {
    display: block;
    max-width: 145px;
    font-size: 13px;
    line-height: 1.1;
  }
  .header-cta { display: none; }
  [data-theme-toggle] { display: none; }
  .menu-btn {
    position: fixed;
    top: 13px;
    right: 12px;
    z-index: 31;
    display: inline-grid;
  }
  .nav {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 70px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 10px; }
  .hero { padding-top: 22px; }
  .hero-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px 140px 140px;
    min-height: 0;
  }
  .hero-main { grid-column: 1 / -1; grid-row: auto; }
  .rating-card {
    left: 12px;
    bottom: 12px;
    padding: 10px;
  }
  h1 { font-size: clamp(36px, 11vw, 48px); }
  .hero-facts, .trust-strip, .booking-form, .amenity-columns, .location-grid, .review-cards, .photo-grid, .score-grid {
    grid-template-columns: 1fr;
  }
  .trust-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.18);
  }
  .site-footer { flex-direction: column; }
  .lightbox-bar {
    grid-template-columns: auto 1fr auto auto;
  }
}

@media (max-width: 430px) {
  .site-header { padding-inline: 12px; }
  .quick-search, .section, .contact-band { padding-inline: 14px; }
  .btn { width: 100%; }
  .hero-gallery { grid-template-rows: 240px 120px 120px; }
  .hero-actions .btn, .form-actions .btn, .contact-actions .btn { width: 100%; }
  .review-head {
    display: block;
  }
  .review-head span {
    display: block;
    margin-top: 4px;
    text-align: left;
  }
}
