:root {
  --ink: #26312d;
  --muted: #64706a;
  --paper: #fbfaf6;
  --surface: #ffffff;
  --line: #dedbd1;
  --sage: #6f8b74;
  --sage-dark: #415e47;
  --clay: #b46f50;
  --cream: #f1eadc;
  --shadow: 0 18px 50px rgba(38, 49, 45, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 142px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  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;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 52px);
  border-bottom: 1px solid rgba(222, 219, 209, 0.85);
  background: rgba(251, 250, 246, 0.92);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--sage-dark);
  color: #fff;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

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

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 28px);
  color: var(--muted);
  font-size: 15px;
}

.site-header nav a {
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: end;
  padding: clamp(24px, 5vw, 70px);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(21, 30, 26, 0.72), rgba(21, 30, 26, 0.32) 48%, rgba(21, 30, 26, 0.08));
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 880px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--clay);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0c6a6;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.98;
  font-weight: 700;
}

h2 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}

h3 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.18;
}

.hero-content > p:not(.eyebrow) {
  max-width: 620px;
  margin: 0 0 28px;
  font-size: 19px;
}

.search-panel {
  display: grid;
  grid-template-columns: minmax(170px, 1.4fr) minmax(130px, 0.8fr) minmax(120px, 0.7fr) minmax(140px, 0.9fr) minmax(140px, 0.9fr) auto;
  gap: 10px;
  max-width: 1000px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  color: var(--ink);
}

.search-panel label,
.enquiry-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.search-panel select,
.search-panel input,
.enquiry-form input,
.enquiry-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 10px 12px;
}

.search-panel button,
.button-primary,
.enquiry-form button {
  min-height: 48px;
  border: 0;
  border-radius: 6px;
  background: var(--sage-dark);
  color: #fff;
  padding: 12px 18px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button-secondary {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--sage);
  border-radius: 6px;
  color: var(--sage-dark);
  padding: 10px 16px;
  font-weight: 800;
  text-decoration: none;
}

.location-band,
.trust-section,
.split-section,
.page-shell,
.property-page {
  padding: clamp(48px, 7vw, 92px) clamp(18px, 4vw, 52px);
}

.section-heading,
.page-intro {
  max-width: 760px;
  margin-bottom: 28px;
}

.location-rotator {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.location-rotator button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  padding: 10px 15px;
  cursor: pointer;
}

.location-rotator button.active {
  border-color: var(--sage-dark);
  background: var(--sage-dark);
  color: #fff;
}

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

.property-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(38, 49, 45, 0.08);
}

.property-card[hidden] {
  display: none;
}

.card-image-link img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
}

.card-body h3 a {
  text-decoration: none;
}

.card-body p {
  margin: 0;
  color: var(--muted);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.meta-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream);
  padding: 6px 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.meta-row.large span {
  font-size: 14px;
}

.card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.card-actions strong,
.card-actions small {
  display: block;
}

.card-actions small {
  max-width: 220px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.text-link {
  color: var(--sage-dark);
  font-weight: 800;
}

.trust-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  background: var(--sage-dark);
  color: #fff;
}

.trust-section .eyebrow {
  color: #f0c6a6;
}

.trust-section p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
}

.split-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.split-section > div,
.enquiry-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: clamp(22px, 4vw, 36px);
}

.page-shell.narrow {
  max-width: 900px;
  margin: 0 auto;
}

.page-intro h1 {
  color: var(--ink);
  font-size: clamp(38px, 6vw, 68px);
}

.page-intro p {
  color: var(--muted);
  font-size: 18px;
}

.page-intro .search-panel {
  margin-top: 24px;
}

.results-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
}

.property-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
}

.property-hero h1 {
  color: var(--ink);
  font-size: clamp(38px, 6vw, 72px);
}

.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
  padding-top: 0;
}

.gallery img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  max-height: 620px;
  border-radius: 8px;
  object-fit: cover;
}

.property-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 28px;
  padding-top: 34px;
}

.property-main {
  display: grid;
  gap: 30px;
}

.property-main section {
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
  scroll-margin-top: 142px;
}

.property-main h2,
.enquiry-panel h2 {
  font-size: 32px;
}

.property-main p,
.property-main li,
.enquiry-panel p {
  color: var(--muted);
  font-size: 17px;
}

.tabs {
  position: sticky;
  top: 76px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 0;
  background: var(--paper);
}

.tabs a {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  padding: 8px 12px;
  color: var(--sage-dark);
  font-weight: 800;
  text-decoration: none;
}

.date-list {
  display: grid;
  gap: 8px;
  padding-left: 20px;
}

.availability-tools {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 18px;
  margin: 22px 0;
}

.date-estimator,
.calendar-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px;
}

.date-estimator {
  display: grid;
  gap: 14px;
}

.date-estimator label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.date-estimator input {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
}

.price-summary {
  display: grid;
  gap: 6px;
  border-radius: 6px;
  background: var(--cream);
  padding: 14px;
  color: var(--muted);
}

.price-summary strong {
  color: var(--ink);
  font-size: 20px;
}

.price-summary em {
  color: var(--sage-dark);
  font-style: normal;
  font-weight: 800;
}

.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.calendar-head button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--sage-dark);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.calendar-weekdays {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.calendar-day,
.calendar-empty {
  display: grid;
  min-height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font-weight: 800;
}

.calendar-empty {
  border-color: transparent;
  background: transparent;
}

.calendar-day.is-blocked {
  background: #efe5df;
  color: #8f4f3d;
  text-decoration: line-through;
}

.calendar-day.is-selected {
  border-color: var(--sage-dark);
  background: var(--sage-dark);
  color: #fff;
  text-decoration: none;
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.calendar-legend i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.available-dot {
  background: #fff;
  border: 1px solid var(--line);
}

.blocked-dot {
  background: #efe5df;
}

.selected-dot {
  background: var(--sage-dark);
}

.fee-list {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  padding: 0;
  list-style: none;
}

.fee-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
  color: var(--muted);
}

.pricing-note {
  font-size: 14px;
}

.enquiry-panel {
  position: sticky;
  top: 96px;
  align-self: start;
  scroll-margin-top: 142px;
}

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

.enquiry-form .full,
.enquiry-form button {
  grid-column: 1 / -1;
}

.checkbox-label {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.checkbox-label input {
  width: auto;
  min-height: auto;
  margin-top: 3px;
}

.checkbox-label a {
  color: var(--sage-dark);
  font-weight: 800;
}

.legal-page {
  max-width: 980px;
  margin: 0 auto;
}

.legal-document {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: clamp(24px, 5vw, 54px);
}

.legal-document h1 {
  color: var(--ink);
  font-size: clamp(38px, 6vw, 64px);
}

.legal-document h2 {
  margin-top: 34px;
  font-size: clamp(24px, 3vw, 34px);
}

.legal-document p,
.legal-document li {
  color: var(--muted);
  font-size: 17px;
}

.legal-review-note {
  margin-top: 34px;
  border-left: 4px solid var(--clay);
  background: var(--cream);
  padding: 16px;
  color: var(--ink);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 38px clamp(18px, 4vw, 52px);
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: var(--sage-dark);
  font-weight: 800;
}

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

  .search-panel,
  .property-grid,
  .trust-section,
  .split-section,
  .property-layout,
  .gallery,
  .availability-tools {
    grid-template-columns: 1fr;
  }

  .property-hero,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .enquiry-panel {
    position: static;
  }
}

@media (max-width: 560px) {
  .site-header nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
  }

  .hero {
    min-height: 760px;
  }

  h1 {
    font-size: 40px;
  }

  .enquiry-form {
    grid-template-columns: 1fr;
  }

  .card-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}
