:root {
  color-scheme: light;
  --ink: #1f2421;
  --muted: #6f716c;
  --paper: #f7f2ea;
  --paper-2: #fffaf2;
  --line: rgba(70, 55, 35, 0.16);
  --glass: rgba(255, 255, 255, 0.58);
  --glass-strong: rgba(255, 255, 255, 0.78);
  --gold: #b58b43;
  --moss: #3f5e4a;
  --clay: #b96543;
  --shadow: 0 28px 90px rgba(57, 43, 25, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 10%, rgba(181, 139, 67, 0.26), transparent 28rem),
    radial-gradient(circle at 82% 0%, rgba(63, 94, 74, 0.24), transparent 32rem),
    linear-gradient(135deg, #f5efe4 0%, #fffaf5 48%, #eef4ec 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.ambient {
  position: fixed;
  width: 22rem;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.34;
  pointer-events: none;
  z-index: -1;
}
.ambient-one { left: -8rem; top: 18rem; background: #b58b43; }
.ambient-two { right: -9rem; top: 30rem; background: #5b7a68; }

a { color: inherit; text-decoration: none; }
button, input, select, textarea {
  font: inherit;
  letter-spacing: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: 0 10px 40px rgba(52, 43, 35, 0.09);
  backdrop-filter: blur(22px) saturate(1.28);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
}
.brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(181, 139, 67, 0.22);
}
nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #4f534e;
  font-size: 0.94rem;
}

.ghost, .primary, .secondary, .primary-link, .secondary-link, .pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  min-height: 44px;
  padding: 0 18px;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.ghost, .secondary, .secondary-link, .pill {
  background: rgba(255, 255, 255, 0.5);
  color: #2d312d;
}
.primary, .primary-link {
  border-color: rgba(63, 94, 74, 0.24);
  background: linear-gradient(135deg, #294939, #5d704f);
  color: #fff;
  box-shadow: 0 14px 32px rgba(63, 94, 74, 0.22);
}
.primary-link, .secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
button:hover, .primary-link:hover, .secondary-link:hover {
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 2rem;
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100vh - 120px);
  margin: 0 auto;
  padding: 96px 0 40px;
  align-items: center;
}
.hero-copy {
  max-width: 720px;
}
.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  font-size: 0.77rem;
  font-weight: 800;
  color: var(--gold);
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 18px;
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 10vw, 8.5rem);
  line-height: 0.88;
  letter-spacing: 0;
}
h2 {
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}
.lede {
  max-width: 650px;
  color: #50554f;
  font-size: 1.18rem;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.glass {
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.42)),
    rgba(255, 255, 255, 0.46);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(1.35);
}
.booking-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 26px;
}
label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 720;
}
input, select, textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(62, 54, 42, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  padding: 0 13px;
  outline: none;
}
textarea {
  padding-top: 12px;
  resize: vertical;
}
input:focus, select:focus, textarea:focus {
  border-color: rgba(181, 139, 67, 0.62);
  box-shadow: 0 0 0 4px rgba(181, 139, 67, 0.12);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  width: min(1180px, calc(100% - 32px));
  margin: -18px auto 64px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.44);
  backdrop-filter: blur(18px);
}
.trust-row div {
  display: grid;
  gap: 4px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.42);
}
.trust-row strong {
  font-size: 1.12rem;
}
.trust-row span {
  color: var(--muted);
  font-size: 0.9rem;
}

.section, .booking-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0;
}
.section-heading {
  max-width: 780px;
  margin-bottom: 24px;
}
.section-heading p:not(.eyebrow), .request-panel > div > p, .rule-grid p, .muted {
  color: var(--muted);
  line-height: 1.58;
}
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: fit-content;
  padding: 8px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.pill {
  min-height: 38px;
}
.pill.active {
  background: #2f4e3e;
  color: white;
}
.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.listing-card {
  overflow: hidden;
  border-radius: 24px;
}
.listing-media {
  min-height: 190px;
  padding: 16px;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(150deg, rgba(47, 78, 62, 0.1), rgba(181, 139, 67, 0.18)),
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.8), transparent 16rem);
}
.listing-media span {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  padding: 8px 12px;
  color: #3b423c;
  font-size: 0.85rem;
  font-weight: 800;
  backdrop-filter: blur(14px);
}
.listing-body {
  padding: 18px;
}
.listing-body p {
  color: var(--muted);
  line-height: 1.5;
}
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 16px;
}
.meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
  color: #535951;
}
.rate {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-weight: 800;
}
.rate small {
  color: var(--muted);
  font-weight: 650;
}

.request-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  border-radius: 32px;
  padding: 28px;
}
.request-form {
  display: grid;
  gap: 13px;
}
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
output {
  display: none;
  border-radius: 16px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.52);
  color: #3d463e;
  line-height: 1.5;
}
output.active { display: block; }
output.error { color: #8a2d20; }

.compact { padding-bottom: 88px; }
.rule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.rule-grid article {
  border-radius: 22px;
  padding: 20px;
}

dialog {
  width: min(460px, calc(100% - 28px));
  border: 0;
  background: transparent;
  padding: 0;
}
dialog::backdrop {
  background: rgba(28, 30, 27, 0.38);
  backdrop-filter: blur(8px);
}
.account-card {
  position: relative;
  border-radius: 28px;
  padding: 24px;
}
.close {
  position: absolute;
  right: 14px;
  top: 12px;
  border: 0;
  background: transparent;
  font-size: 1.7rem;
  cursor: pointer;
}
.tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 18px 0;
}
.tab {
  min-height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.48);
  cursor: pointer;
}
.tab.active {
  background: #2f4e3e;
  color: #fff;
}
#accountFields {
  display: grid;
  gap: 12px;
}
.full { width: 100%; margin-top: 14px; }
.status-line { min-height: 22px; color: var(--muted); }

@media (max-width: 900px) {
  nav { display: none; }
  .hero, .request-panel {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: auto;
    padding-top: 72px;
  }
  .trust-row, .listing-grid, .rule-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .topbar {
    width: calc(100% - 20px);
    margin-top: 10px;
  }
  .brand span { display: none; }
  .hero, .section, .booking-section, .trust-row {
    width: calc(100% - 20px);
  }
  h1 { font-size: 4.2rem; }
  .trust-row, .listing-grid, .rule-grid, .split {
    grid-template-columns: 1fr;
  }
  .filter-bar {
    border-radius: 20px;
  }
  .form-actions {
    flex-direction: column;
  }
  .form-actions button {
    width: 100%;
  }
}
