:root {
  --ink: #172321;
  --muted: #66736c;
  --line: #dbe4dc;
  --paper: #fbfbf5;
  --panel: #ffffff;
  --ocean: #10665f;
  --ocean-dark: #073f3a;
  --leaf: #6d8f49;
  --coral: #d45b43;
  --mango: #e3ad39;
  --sand: #f5edda;
  --sky: #e7f3f0;
  --rose: #fff0e9;
  --shadow: 0 18px 52px rgba(23, 35, 33, 0.12);
  --body-font: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  --display-font: "Fraunces", Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 58px);
  background: rgba(251, 251, 245, 0.92);
  border-bottom: 1px solid rgba(219, 228, 220, 0.78);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ocean-dark);
  font-weight: 900;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #fff;
  background: var(--ocean);
  border-radius: 6px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.nav-links,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 800;
}

.nav-form,
.language-form {
  display: inline-flex;
  align-items: center;
}

.nav-form button,
.language-form select {
  border: 1px solid transparent;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 800;
  cursor: pointer;
}

.language-form select {
  border-color: var(--line);
  border-radius: 7px;
  padding: 7px 9px;
  background: #fff;
}

.nav-links a,
.site-footer a,
.text-link,
.back-link {
  text-decoration: none;
}

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

.hero,
.stay-hero,
.about-hero,
.ops-hero {
  padding: clamp(34px, 6vw, 84px) clamp(18px, 4vw, 58px);
}

.travel-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  min-height: min(760px, calc(100vh - 69px));
  align-items: center;
  background:
    linear-gradient(125deg, rgba(251, 251, 245, 0.98) 0%, rgba(245, 237, 218, 0.88) 48%, rgba(231, 243, 240, 0.86) 100%);
}

.hero h1,
.stay-hero h1,
.about-hero h1,
.ops-hero h1 {
  max-width: 880px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.75rem, 6vw, 6.4rem);
  line-height: 0.96;
  font-weight: 700;
  letter-spacing: 0;
}

.hero p,
.stay-hero p,
.about-hero p,
.ops-hero p,
.section-heading p,
.booking-copy p,
.deposit-band p,
.agent-band p,
.listing-body p,
.story-band p,
.mission-copy p,
.review-card p,
.ops-card p {
  color: var(--muted);
}

.hero p,
.stay-hero p,
.about-hero p,
.ops-hero p {
  max-width: 660px;
  margin: 24px 0 0;
  font-size: 1.16rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 0 18px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--coral);
}

.button.primary:hover {
  background: #b94734;
}

.button.secondary,
.button.compact {
  color: var(--ocean-dark);
  background: #eff8f2;
  border-color: #c9decf;
}

.button.compact {
  min-height: 40px;
}

.button.full {
  width: 100%;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 680px;
  margin: 44px 0 0;
}

.hero-stats div {
  padding-top: 14px;
  border-top: 2px solid rgba(212, 91, 67, 0.28);
}

.hero-stats dt {
  color: var(--ocean);
  font-size: 1.38rem;
  font-weight: 950;
}

.hero-stats dd {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-photo,
.stay-hero-image,
.listing-image,
.mini-stay {
  position: relative;
  overflow: hidden;
  background: var(--sand);
  border-radius: 8px;
}

.hero-photo {
  min-height: 540px;
  box-shadow: var(--shadow);
}

.hero-photo img,
.stay-hero-image img,
.listing-image img,
.gallery-grid img,
.mini-stay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo-caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
  color: #fff;
  background: rgba(7, 63, 58, 0.82);
  border-radius: 7px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.hero-photo-caption span {
  color: rgba(255, 255, 255, 0.84);
}

.section,
.reviews-band,
.booking-band,
.deposit-band,
.agent-band,
.about-teaser,
.story-band,
.mission-section,
.mission-strip {
  padding: clamp(44px, 6vw, 90px) clamp(18px, 4vw, 58px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.section-heading h2,
.booking-copy h2,
.deposit-band h2,
.agent-band h2,
.reviews-band h2,
.about-teaser h2,
.story-band h2,
.mission-section h2,
.mission-strip h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-heading p {
  max-width: 560px;
  margin: 0;
}

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

.listing-card {
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(23, 35, 33, 0.07);
}

.image-card {
  display: grid;
  grid-template-rows: 250px 1fr;
}

.listing-image {
  display: block;
  border-radius: 0;
}

.listing-image span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 10px;
  color: #fff;
  background: rgba(7, 63, 58, 0.82);
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 900;
}

.listing-body {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.listing-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.listing-title-row h3,
.service-list h3,
.review-card h3,
.story-points h3,
.cause-grid h3,
.ops-card h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.15;
}

.rating {
  flex: 0 0 auto;
  color: #744d05;
  background: #fff7df;
  border: 1px solid #efd889;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 0.85rem;
  font-weight: 950;
}

.listing-body p,
.review-card p,
.story-points p,
.cause-grid p,
.ops-card p {
  margin: 0;
}

.stat-row,
.theme-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stat-row li,
.theme-row span,
.deposit-facts span,
.ops-status {
  color: var(--ocean-dark);
  background: #f1f7f4;
  border: 1px solid #d5e6da;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.82rem;
  font-weight: 900;
}

.theme-row span {
  color: #7c4d1d;
  background: #fff5e7;
  border-color: #eed9ba;
}

.listing-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.text-link,
.back-link {
  color: var(--ocean);
  font-weight: 900;
}

.reviews-band {
  display: grid;
  grid-template-columns: minmax(0, 0.54fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  background: var(--ocean-dark);
  color: #fff;
}

.reviews-band p,
.reviews-band .section-heading p {
  color: rgba(255, 255, 255, 0.75);
}

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

.review-card,
.ratings-panel,
.booking-form,
.deposit-form,
.donation-form,
.agent-panel,
.ops-card {
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.reviews-band .review-card {
  color: var(--ink);
  box-shadow: none;
}

.review-score {
  color: var(--coral);
  font-size: 1.75rem;
  font-weight: 950;
}

.review-score span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.rating-bars {
  display: grid;
  gap: 8px;
  margin: 16px 0;
}

.rating-bars div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.rating-bars strong {
  color: var(--ink);
}

.about-teaser,
.about-hero,
.stay-hero,
.ops-hero,
.story-band,
.mission-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.about-gallery,
.gallery-grid {
  display: grid;
  gap: 12px;
}

.about-gallery {
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: minmax(190px, 1fr);
}

.about-gallery .demo-tile:first-child {
  grid-row: span 2;
}

.demo-tile {
  position: relative;
  min-height: 190px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--sand);
}

.demo-tile::before {
  position: absolute;
  inset: 0;
  content: "";
  background-size: cover;
  background-position: center;
}

.demo-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.demo-tile:has(img)::before {
  display: none;
}

.demo-tile.is-city::before {
  background:
    linear-gradient(145deg, rgba(7, 63, 58, 0.08), rgba(212, 91, 67, 0.22)),
    radial-gradient(circle at 25% 30%, #f4bd5a 0 14%, transparent 15%),
    linear-gradient(135deg, #245d5b, #f4d7a4 54%, #cb5a44);
}

.demo-tile.is-beach::before {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(16, 102, 95, 0.24)),
    linear-gradient(160deg, #8ed8d1 0 38%, #f4e2ad 39% 58%, #1b8174 59% 100%);
}

.demo-tile.is-hosted::before {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(227, 173, 57, 0.2)),
    linear-gradient(135deg, #d45b43, #f3c766 48%, #5f893b);
}

.demo-tile figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: grid;
  gap: 3px;
  padding: 11px 12px;
  color: #fff;
  background: rgba(7, 63, 58, 0.78);
  border-radius: 7px;
  font-weight: 900;
}

.demo-tile figcaption span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  font-weight: 700;
}

.booking-band {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 4vw, 38px);
  background: #f4f7ef;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.booking-copy {
  max-width: 1020px;
}

.booking-copy p {
  max-width: 660px;
  font-size: 1.05rem;
}

.deposit-note {
  font-weight: 900;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.service-list article,
.story-points article,
.cause-grid article {
  padding: 16px;
  background: rgba(255, 255, 255, 0.72);
  border-left: 4px solid var(--mango);
}

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

.booking-action-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.58fr) minmax(400px, 1fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
}

.booking-form .field-group:first-of-type,
.booking-form .field-group:nth-last-of-type(1),
.booking-form .form-success,
.booking-form .button {
  grid-column: 1 / -1;
}

.deposit-band,
.agent-band,
.mission-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(320px, 0.5fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: start;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.deposit-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.deposit-form,
.donation-form {
  display: grid;
  gap: 14px;
}

.field-group label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 950;
}

.form-control,
.agent-form select,
.agent-form textarea {
  width: 100%;
  border: 1px solid #cdd9d2;
  border-radius: 7px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.form-control:focus,
.agent-form select:focus,
.agent-form textarea:focus {
  border-color: var(--ocean);
  outline: 3px solid rgba(16, 102, 95, 0.14);
}

.field-error,
.field-help,
.payment-copy {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.field-error {
  color: #a43d2d;
  font-weight: 800;
}

.form-success {
  color: #0c4f36;
  background: #e5f5ec;
  border: 1px solid #b8dcc8;
  border-radius: 7px;
  padding: 10px 12px;
}

.form-success p {
  margin: 0;
}

.mission-strip {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 63, 58, 0.96), rgba(109, 143, 73, 0.9)),
    var(--ocean-dark);
}

.mission-strip p {
  color: rgba(255, 255, 255, 0.8);
}

.agent-log {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 220px;
  max-height: 360px;
  overflow: auto;
  padding: 14px;
  background: #f6faf8;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.agent-empty {
  align-self: center;
  justify-self: center;
  max-width: 340px;
  margin: 0;
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

.agent-message {
  width: fit-content;
  max-width: min(100%, 560px);
  padding: 10px 12px;
  border-radius: 8px;
}

.agent-message.visitor {
  justify-self: end;
  color: #fff;
  background: var(--ocean);
}

.agent-message.agent {
  justify-self: start;
  background: #fff;
  border: 1px solid var(--line);
  white-space: pre-wrap;
}

.agent-form {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.agent-panel-heading h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
}

.agent-panel-heading p {
  margin: 8px 0 16px;
  color: var(--muted);
}

.stay-hero {
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 0.85fr);
  background: var(--sky);
}

.stay-hero-image {
  min-height: 500px;
  box-shadow: var(--shadow);
}

.back-link {
  display: inline-flex;
  margin-bottom: 20px;
}

.gallery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 220px;
}

.gallery-grid figure {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: var(--sand);
  border-radius: 8px;
}

.gallery-grid .is-featured {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-grid figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  padding: 8px 10px;
  color: #fff;
  background: rgba(7, 63, 58, 0.74);
  border-radius: 7px;
  font-size: 0.84rem;
  font-weight: 900;
}

.stay-story {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 0.5fr);
  gap: clamp(26px, 5vw, 64px);
  padding: clamp(44px, 6vw, 90px) clamp(18px, 4vw, 58px);
}

.stay-story article h2,
.ratings-panel h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3.8vw, 3.2rem);
  line-height: 1;
}

.stay-story article p {
  color: var(--muted);
  font-size: 1.06rem;
}

.detail-booking {
  border-top: 1px solid var(--line);
}

.review-highlight-grid,
.ops-metric-grid,
.ops-columns,
.account-grid {
  display: grid;
  gap: 16px;
}

.review-highlight-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-highlight-card,
.reservation-row,
.invoice-sheet,
.auth-panel {
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(23, 35, 33, 0.07);
}

.review-highlight-card h3,
.reservation-row h3 {
  margin: 0 0 8px;
}

.review-highlight-card p,
.reservation-row p {
  color: var(--muted);
}

.review-highlight-card span,
.status-chip {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--ocean-dark);
  background: #e8f5ec;
  font-size: 0.78rem;
  font-weight: 950;
}

.status-chip.muted {
  color: var(--muted);
  background: #f2f3ed;
}

.rules-band,
.about-agent-band,
.account-grid,
.reservation-detail,
.invoice-page,
.auth-page,
.ops-metric-grid,
.ops-columns {
  padding: clamp(44px, 6vw, 90px) clamp(18px, 4vw, 58px);
}

.rules-band {
  display: grid;
  grid-template-columns: minmax(0, 0.48fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  background: #fff8ed;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.rules-book {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr);
  min-height: 460px;
  padding: 12px;
  background: linear-gradient(90deg, #b9874d, #8e5c32);
  border: 1px solid #c28e54;
  border-radius: 8px;
  box-shadow: 0 26px 70px rgba(70, 44, 21, 0.2);
}

.rules-page {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: clamp(18px, 3vw, 32px);
  background:
    linear-gradient(90deg, rgba(83, 49, 20, 0.06), transparent 14%),
    #fffdf4;
  border: 1px solid #ead9b5;
  border-radius: 6px 2px 2px 6px;
}

.rules-page.is-right {
  background:
    linear-gradient(270deg, rgba(83, 49, 20, 0.06), transparent 14%),
    #fffdf4;
  border-radius: 2px 6px 6px 2px;
}

.rules-spine {
  background: linear-gradient(90deg, rgba(45, 28, 13, 0.18), rgba(255, 255, 255, 0.24), rgba(45, 28, 13, 0.18));
}

.rules-page article {
  padding-bottom: 14px;
  border-bottom: 1px solid #eadfc8;
}

.rules-page article:last-child {
  border-bottom: 0;
}

.rules-page h3 {
  margin: 0 0 6px;
  color: var(--ocean-dark);
  font-size: 1rem;
}

.rules-page p {
  margin: 0;
  color: #675d4f;
}

.book-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 4px;
  color: #9a5a24;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0;
}

.about-agent-band {
  display: grid;
  grid-template-columns: minmax(320px, 0.62fr) minmax(0, 0.8fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  background: #fff;
}

.about-agent-gallery {
  display: grid;
  gap: 12px;
}

.about-agent-gallery figure {
  position: relative;
  min-height: 260px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
}

.about-agent-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-agent-gallery figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 10px 12px;
  color: #fff;
  background: rgba(7, 63, 58, 0.78);
  border-radius: 7px;
  font-weight: 900;
}

.auth-page {
  display: grid;
  min-height: calc(100vh - 220px);
  place-items: start center;
  background: linear-gradient(135deg, #fff8ed, #e8f5f2);
}

.auth-panel {
  width: min(560px, 100%);
}

.auth-panel.wide {
  width: min(760px, 100%);
}

.auth-panel h1,
.reservation-detail h1,
.invoice-sheet h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 1;
}

.social-auth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0;
}

.button.social {
  color: var(--ocean-dark);
  background: #fff;
  border-color: var(--line);
}

.button.social:hover {
  border-color: var(--ocean);
  background: #f5fbf8;
}

.button.social.is-disabled {
  color: #7d8881;
  background: #f4f6f1;
  border-style: dashed;
  cursor: not-allowed;
  opacity: 0.88;
}

.button.social span {
  margin-left: 6px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.auth-note {
  margin: -8px 0 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin: 16px 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  height: 1px;
  background: var(--line);
  content: "";
}

.account-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.48fr);
  align-items: start;
}

.account-list {
  display: grid;
  gap: 12px;
}

.reservation-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.detail-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.reservation-facts,
.invoice-meta,
.invoice-totals {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.reservation-facts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.reservation-facts div,
.invoice-meta div,
.invoice-totals div {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.reservation-facts dt,
.invoice-totals dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.reservation-facts dd,
.invoice-totals dd {
  margin: 4px 0 0;
  font-weight: 900;
}

.message-panel {
  max-width: 760px;
  margin: 24px 0;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.invoice-page {
  background: #f3f5ee;
}

.invoice-sheet {
  width: min(920px, 100%);
  margin: 0 auto;
}

.invoice-header,
.invoice-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.invoice-logo {
  max-width: 96px;
  max-height: 96px;
  object-fit: contain;
}

.invoice-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
}

.invoice-table th,
.invoice-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.invoice-totals {
  margin-left: auto;
  width: min(420px, 100%);
}

.invoice-totals .total {
  color: var(--ocean-dark);
  font-size: 1.2rem;
}

.ops-metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ops-metric-grid article {
  padding: 20px;
  color: #fff;
  background: var(--ocean);
  border-radius: 8px;
}

.ops-metric-grid span {
  font-size: 2rem;
  font-weight: 950;
}

.ops-metric-grid p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.ops-columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 0;
}

.reservation-intel {
  margin: 0 auto 60px;
  width: min(1180px, calc(100% - 32px));
}

.reservation-intel__header {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(320px, 1.2fr);
  gap: 20px;
  align-items: start;
  margin-bottom: 20px;
}

.reservation-intel__header h2 {
  margin: 0 0 8px;
}

.reservation-intel__header p {
  margin: 0;
  color: var(--muted);
}

.reservation-segments {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.reservation-segment {
  display: grid;
  gap: 4px;
  padding: 12px;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid rgba(21, 96, 90, 0.18);
  border-radius: 8px;
  background: #f9fcfb;
}

.reservation-segment.is-active {
  color: #fff;
  background: var(--ocean);
}

.reservation-segment span {
  font-size: 0.82rem;
  font-weight: 800;
}

.reservation-segment strong {
  font-size: 1.5rem;
}

.reservation-table-wrap {
  overflow-x: auto;
}

.reservation-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
}

.reservation-table th,
.reservation-table td {
  padding: 14px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

.reservation-table th {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.reservation-table td {
  font-size: 0.92rem;
}

.reservation-table td span,
.reservation-table td a {
  display: block;
  margin-top: 4px;
}

.reservation-badge {
  display: inline-flex !important;
  margin-top: 0 !important;
  padding: 5px 9px;
  color: var(--ocean-dark);
  background: #eaf6f4;
  border-radius: 999px;
  font-weight: 900;
}

.reservation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.reservation-actions a {
  margin-top: 0 !important;
  padding: 7px 10px;
  color: var(--ocean-dark);
  text-decoration: none;
  border: 1px solid rgba(21, 96, 90, 0.2);
  border-radius: 8px;
  background: #fff;
  font-weight: 850;
}

.compact-band {
  background: #fff8ed;
}

.mini-stay-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.mini-stay {
  display: grid;
  min-height: 210px;
  color: #fff;
  text-decoration: none;
}

.mini-stay span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 10px 12px;
  background: rgba(7, 63, 58, 0.78);
  border-radius: 7px;
  font-weight: 900;
}

.about-hero {
  min-height: min(760px, calc(100vh - 69px));
  background: linear-gradient(135deg, #fff8ed, #e8f5f2);
}

.story-band {
  align-items: start;
  background: #fff;
}

.story-points,
.cause-grid,
.ops-grid {
  display: grid;
  gap: 14px;
}

.mission-section {
  align-items: start;
  background: var(--rose);
  border-top: 1px solid var(--line);
}

.policy-page {
  align-items: start;
  background: #fff;
}

.policy-copy {
  display: grid;
  gap: 16px;
}

.policy-kicker {
  margin: 0;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.policy-page h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.4vw, 4rem);
  line-height: 1;
}

.policy-lead {
  max-width: 60ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.policy-grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.policy-card {
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(23, 35, 33, 0.06);
}

.policy-card h2 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.policy-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.policy-card li + li {
  margin-top: 10px;
}

.cause-grid {
  margin-top: 24px;
}

.ops-hero {
  background: var(--sky);
}

.ops-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ops-status {
  display: inline-flex;
  margin: 8px 0;
}

.ops-status.is-ready {
  color: #0c4f36;
  background: #e5f5ec;
  border-color: #b8dcc8;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 34px clamp(18px, 4vw, 58px);
  color: rgba(255, 255, 255, 0.76);
  background: var(--ocean-dark);
}

.site-footer p {
  max-width: 520px;
  margin: 12px 0 0;
}

.site-footer .brand {
  color: #fff;
}

@media (max-width: 1080px) {
  .travel-hero,
  .stay-hero,
  .about-hero,
  .ops-hero,
  .about-teaser,
  .story-band,
  .mission-section,
  .reviews-band,
  .booking-band,
  .deposit-band,
  .agent-band,
  .mission-strip,
  .stay-story,
  .booking-action-grid,
  .rules-band,
  .about-agent-band,
  .account-grid,
  .invoice-header,
  .invoice-meta,
  .ops-columns {
    grid-template-columns: 1fr;
  }

  .reservation-intel__header {
    grid-template-columns: 1fr;
  }

  .hero-photo,
  .stay-hero-image {
    min-height: 420px;
  }

  .listing-grid,
  .review-grid,
  .ops-grid,
  .policy-grid,
  .review-highlight-grid,
  .service-list,
  .ops-metric-grid,
  .reservation-facts {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reservation-segments {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links,
  .site-footer nav {
    width: 100%;
    flex-wrap: wrap;
  }

  .policy-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-top: 12px;
  }

  .hero h1,
  .stay-hero h1,
  .about-hero h1,
  .ops-hero h1 {
    font-size: clamp(2.45rem, 13vw, 4rem);
  }

  .hero-stats,
  .listing-grid,
  .review-grid,
  .booking-form,
  .social-auth-grid,
  .service-list,
  .ops-grid,
  .review-highlight-grid,
  .ops-metric-grid,
  .reservation-facts,
  .mini-stay-row,
  .about-gallery,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-photo,
  .stay-hero-image {
    min-height: 340px;
  }

  .gallery-grid {
    grid-auto-rows: 230px;
  }

  .gallery-grid .is-featured,
  .about-gallery .demo-tile:first-child {
    grid-column: auto;
    grid-row: auto;
  }

  .rules-book {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .rules-spine {
    height: 12px;
  }


.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding: 0.5rem 0.9rem;
  color: #7b4428;
  background: rgba(255, 245, 231, 0.84);
  border: 1px solid rgba(227, 173, 57, 0.34);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-eyebrow::before {
  width: 0.55rem;
  height: 0.55rem;
  flex: 0 0 auto;
  border-radius: 999px;
  content: "";
  background: linear-gradient(135deg, var(--coral), var(--mango));
  box-shadow: 0 0 0 0.3rem rgba(227, 173, 57, 0.18);
}

.home-page {
  font-family: var(--body-font);
  background:
    radial-gradient(circle at top left, rgba(227, 173, 57, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(16, 102, 95, 0.12), transparent 32%),
    linear-gradient(180deg, #f7f1e3 0%, #fbfbf5 18%, #f6f7f1 100%);
}

.home-page .site-header,
.home-page .travel-hero,
.home-page .section,
.home-page .reviews-band,
.home-page .about-teaser,
.home-page .booking-band,
.home-page .deposit-band,
.home-page .mission-strip,
.home-page .agent-band,
.home-page .site-footer {
  width: min(1240px, calc(100% - 28px));
  margin-right: auto;
  margin-left: auto;
}

.home-page .site-header {
  top: 14px;
  margin-top: 14px;
  padding: 16px clamp(18px, 3vw, 34px);
  border: 1px solid rgba(219, 228, 220, 0.9);
  border-radius: 28px;
  box-shadow: 0 20px 48px rgba(23, 35, 33, 0.08);
  background: rgba(251, 251, 245, 0.82);
}

.home-page .brand {
  gap: 14px;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.home-page .brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.home-page .nav-links,
.home-page .site-footer nav {
  gap: 16px;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
}

.home-page .travel-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(560px, 70vw, 720px);
  margin-top: 20px;
  padding: clamp(34px, 5vw, 70px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 36px;
  box-shadow: 0 36px 92px rgba(23, 35, 33, 0.12);
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.8), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(16, 102, 95, 0.16), transparent 20%),
    linear-gradient(126deg, rgba(255, 249, 240, 0.98) 0%, rgba(242, 229, 199, 0.88) 42%, rgba(224, 242, 238, 0.94) 100%);
}

.home-page .travel-hero::before,
.home-page .travel-hero::after {
  position: absolute;
  border-radius: 999px;
  content: "";
  pointer-events: none;
}

.home-page .travel-hero::before {
  inset: auto auto -72px -72px;
  width: 220px;
  height: 220px;
  background: rgba(212, 91, 67, 0.12);
}

.home-page .travel-hero::after {
  inset: 36px -44px auto auto;
  width: 168px;
  height: 168px;
  background: rgba(16, 102, 95, 0.12);
}

.home-page .hero-content,
.home-page .hero-photo {
  position: relative;
  z-index: 1;
}

.home-page .hero h1,
.home-page .section-heading h2,
.home-page .booking-copy h2,
.home-page .deposit-band h2,
.home-page .agent-band h2,
.home-page .reviews-band h2,
.home-page .about-teaser h2,
.home-page .mission-strip h2,
.home-page .agent-panel-heading h3 {
  font-family: var(--display-font);
  letter-spacing: -0.03em;
}

.home-page .hero h1 {
  max-width: 11ch;
  font-size: clamp(3.4rem, 7vw, 6.6rem);
  line-height: 0.9;
}

.home-page .hero p {
  max-width: 38rem;
  font-size: 1.08rem;
}

.home-page .button {
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.home-page .button.primary {
  box-shadow: 0 16px 34px rgba(212, 91, 67, 0.22);
}

.home-page .button.secondary,
.home-page .button.compact {
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.home-page .hero-stats {
  gap: 12px;
  max-width: 640px;
}

.home-page .hero-stats div {
  padding: 16px 16px 0;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.home-page .hero-photo {
  min-height: 580px;
  border: 10px solid rgba(255, 255, 255, 0.5);
  border-radius: 34px;
  transform: rotate(-2deg);
  box-shadow: 0 30px 80px rgba(23, 35, 33, 0.18);
}

.home-page .hero-photo-caption {
  right: 20px;
  bottom: 20px;
  left: 20px;
  padding: 16px 18px;
  border-radius: 20px;
}

.home-page .section,
.home-page .about-teaser,
.home-page .booking-band,
.home-page .deposit-band,
.home-page .mission-strip,
.home-page .agent-band,
.home-page .reviews-band {
  margin-top: 24px;
  padding: clamp(32px, 4vw, 54px);
  border-radius: 32px;
  border: 1px solid rgba(219, 228, 220, 0.86);
  box-shadow: 0 28px 70px rgba(23, 35, 33, 0.08);
}

.home-page .section,
.home-page .about-teaser,
.home-page .booking-band,
.home-page .deposit-band,
.home-page .agent-band {
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.home-page .listing-grid,
.home-page .review-grid,
.home-page .service-list {
  gap: 18px;
}

.home-page .listing-card,
.home-page .review-card,
.home-page .agent-panel,
.home-page .booking-form,
.home-page .deposit-form,
.home-page .service-list article {
  border-radius: 26px;
  border-color: rgba(219, 228, 220, 0.92);
  box-shadow: 0 22px 52px rgba(23, 35, 33, 0.08);
}

.home-page .listing-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(251, 249, 243, 0.94));
}

.home-page .review-card {
  background: rgba(255, 255, 255, 0.94);
}

.home-page .reviews-band {
  position: relative;
  overflow: hidden;
  border-color: rgba(7, 63, 58, 0.28);
  background:
    radial-gradient(circle at 100% 0%, rgba(227, 173, 57, 0.22), transparent 18%),
    linear-gradient(135deg, #083e39 0%, #0d645d 48%, #3d6e4b 100%);
}

.home-page .reviews-band::after {
  position: absolute;
  inset: auto -48px -48px auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  content: "";
  background: rgba(255, 255, 255, 0.08);
}

.home-page .reviews-band .review-card {
  background: rgba(255, 255, 255, 0.92);
}

.home-page .about-teaser {
  background: linear-gradient(135deg, rgba(255, 247, 233, 0.96), rgba(245, 237, 218, 0.82));
}

.home-page .demo-tile,
.home-page .gallery-grid figure {
  border-radius: 26px;
}

.home-page .booking-band {
  background: linear-gradient(180deg, rgba(248, 251, 246, 0.98), rgba(237, 245, 239, 0.94));
}

.home-page .booking-action-grid {
  align-items: stretch;
}

.home-page .booking-form,
.home-page .agent-panel,
.home-page .deposit-form {
  background: rgba(255, 255, 255, 0.88);
}

.home-page .mission-strip {
  border-color: rgba(7, 63, 58, 0.32);
  box-shadow: 0 36px 86px rgba(7, 63, 58, 0.16);
}

.home-page .site-footer {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 28px;
  margin-top: 28px;
  margin-bottom: 36px;
  padding: 22px clamp(20px, 3vw, 34px) 28px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(219, 228, 220, 0.82);
  border-radius: 28px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.home-page .site-footer p {
  max-width: 28rem;
  margin: 0.7rem 0 0;
}

.home-page .site-footer .brand {
  color: var(--ocean-dark);
}

@media (max-width: 960px) {
  .home-page .site-header,
  .home-page .travel-hero,
  .home-page .section,
  .home-page .reviews-band,
  .home-page .about-teaser,
  .home-page .booking-band,
  .home-page .deposit-band,
  .home-page .mission-strip,
  .home-page .agent-band,
  .home-page .site-footer {
    width: min(100% - 18px, 1240px);
  }

  .home-page .site-header {
    top: 8px;
    margin-top: 8px;
    border-radius: 22px;
  }

  .home-page .travel-hero {
    padding: 24px;
    border-radius: 26px;
  }

  .home-page .hero h1 {
    max-width: 100%;
    font-size: clamp(2.7rem, 12vw, 4.4rem);
  }

  .home-page .hero-photo {
    min-height: 380px;
    transform: none;
  }

  .home-page .section,
  .home-page .reviews-band,
  .home-page .about-teaser,
  .home-page .booking-band,
  .home-page .deposit-band,
  .home-page .mission-strip,
  .home-page .agent-band {
    padding: 24px;
    border-radius: 24px;
  }

  .home-page .site-footer {
    display: grid;
  }
}
  .rules-page,
  .rules-page.is-right {
    border-radius: 6px;
  }

  .booking-form .field-group:first-of-type,
  .booking-form .field-group:nth-last-of-type(1),
  .booking-form .form-success,
  .booking-form .button {
    grid-column: auto;
  }

  .hero-photo-caption,
  .listing-actions,
  .reservation-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .reservation-segments {
    grid-template-columns: 1fr 1fr;
  }

  .reservation-intel {
    width: min(100% - 24px, 1180px);
  }
}
