@import url("fonts.css");

:root {
  --green: #314D3D;
  --green-deep: #22362B;
  --green-wash: #EDF1EE;
  --yellow: #E6B05E;
  --yellow-deep: #C8913F;
  --brown: #947464;
  --brown-deep: #6F5648;
  --taupe: #A8948D;
  --grey: #797979;
  --grey-light: #CBC3C0;
  --grey-text: #6E6E6E;
  --ink: #1E2621;
  --paper: #F7F5F3;
  --white: #FFFFFF;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gap: clamp(1rem, 3vw, 2rem);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  font-variation-settings: "SOFT" 30, "WONK" 0;
  color: var(--green);
  line-height: 1.15;
  margin: 0 0 .6em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; }
a { color: var(--green); }
a:hover { color: var(--green-deep); }

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

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, 820px); margin-inline: auto; }

section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-wash { background: var(--green-wash); }
.section-paper { background: var(--paper); }

.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brown-deep);
  margin: 0 0 .9rem;
}

.lede { font-size: 1.12rem; color: var(--grey-text); max-width: 62ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .01em;
  padding: .85rem 1.6rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--yellow); color: var(--green); }
.btn-primary:hover { background: var(--yellow-deep); color: var(--green-deep); }
.btn-outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn-outline:hover { background: var(--green); color: var(--white); }
.btn-light { border-color: var(--white); color: var(--white); background: transparent; }
.btn-light:hover { background: var(--white); color: var(--green); }
.btn-block { display: block; width: 100%; text-align: center; }

/* ---------- header ---------- */
.site-header {
  background: var(--green);
  position: sticky;
  top: 0;
  z-index: 60;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  min-height: 72px;
}
.logo {
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  line-height: 1.1;
  white-space: nowrap;
}
.logo span { display: block; font-family: var(--sans); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--yellow); font-weight: 600; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 1.5rem; }
.nav a {
  color: var(--white);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 500;
  padding: .3rem 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--yellow); color: var(--white); }
.nav .btn { margin-left: .4rem; }
.nav a.btn-primary, .nav a.btn-primary:hover { color: var(--green); border-bottom-color: transparent; }

.nav-toggle {
  margin-left: auto;
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,.5);
  color: var(--white);
  border-radius: var(--radius);
  padding: .5rem .75rem;
  font-family: var(--sans);
  font-size: .85rem;
  cursor: pointer;
}

@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--green-deep);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem 1.25rem 1.25rem;
  }
  .nav.open { display: flex; }
  .nav a { padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .nav .btn { margin: .9rem 0 0; text-align: center; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--green-deep);
  color: var(--white);
  padding: clamp(3.5rem, 9vw, 7rem) 0 0;
  overflow: hidden;
  background-size: cover;
  background-position: center 58%;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(34,54,43,.95) 0%, rgba(34,54,43,.90) 45%, rgba(34,54,43,.74) 100%);
}
@media (max-width: 780px) {
  .hero::after { background: linear-gradient(180deg, rgba(34,54,43,.88) 0%, rgba(34,54,43,.90) 100%); }
}
.hero > * { position: relative; z-index: 2; }
.hero h1 { color: var(--white); max-width: 15ch; margin-bottom: .35em; }
.hero p.hero-sub { font-size: clamp(1.05rem, 2vw, 1.3rem); color: rgba(255,255,255,.9); max-width: 46ch; margin-bottom: 1.9rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; padding-bottom: clamp(2.5rem, 6vw, 4rem); }

.trust-band {
  border-top: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.18);
  padding: 1.1rem 0;
}
.trust-band ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .6rem clamp(1.5rem, 5vw, 3.5rem);
  font-size: .93rem; color: rgba(255,255,255,.92);
}
.trust-band li { display: flex; align-items: center; gap: .5rem; }
.trust-band strong { color: var(--yellow); font-weight: 600; }

/* page banner (interior pages) */
.page-banner { background: var(--green); color: var(--white); padding: clamp(2.5rem, 6vw, 4rem) 0; }
.page-banner h1 { color: var(--white); margin-bottom: .3em; }
.page-banner p { color: rgba(255,255,255,.88); max-width: 60ch; margin: 0; }

.breadcrumb { font-size: .82rem; color: rgba(255,255,255,.72); margin-bottom: 1rem; }
.breadcrumb a { color: rgba(255,255,255,.9); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); }
.breadcrumb a:hover { color: var(--yellow); }

/* ---------- booking widget ---------- */
.booking-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 3vw, 2rem);
  box-shadow: 0 2px 18px rgba(30,38,33,.06);
}
.booking-card h2 { margin-bottom: .3em; }

/* ---------- property cards ---------- */
.house-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(1.5rem, 3.5vw, 2.4rem);
}
.house-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  overflow: hidden;
}
.house-card__illo { background: var(--white); border-bottom: 1px solid var(--grey-light); }
.house-card__illo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.house-card__body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.house-card__body h3 { margin-bottom: .15em; }
.house-card__loc { font-size: .86rem; color: var(--grey-text); margin-bottom: .9rem; }

.facts { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0 0 1rem; }
.facts li {
  font-size: .8rem;
  background: var(--green-wash);
  color: var(--green);
  border-radius: 100px;
  padding: .3rem .75rem;
  font-weight: 500;
}
.highlight {
  border-left: 3px solid var(--yellow);
  padding: .35rem 0 .35rem .85rem;
  font-size: .93rem;
  color: var(--ink);
  margin: 0 0 1rem;
}
.rating { font-size: .88rem; color: var(--grey-text); margin: 0 0 1.2rem; display: flex; align-items: center; gap: .45rem; }
.rating .stars { color: var(--yellow-deep); letter-spacing: .06em; }
.house-card .btn { margin-top: auto; }

/* ---------- tabs (what brings you here) ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; padding: 0; list-style: none; }
.tab-btn {
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 500;
  padding: .65rem 1.15rem;
  border: 1px solid var(--grey-light);
  background: var(--white);
  color: var(--ink);
  border-radius: 100px;
  cursor: pointer;
}
.tab-btn:hover { border-color: var(--green); }
.tab-btn[aria-selected="true"] { background: var(--green); border-color: var(--green); color: var(--white); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }
.panel-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3.5vw, 2.4rem);
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1.35fr 1fr;
  align-items: start;
}
@media (max-width: 800px) { .panel-card { grid-template-columns: 1fr; } }
.panel-card h3 { margin-bottom: .35em; }
.panel-actions { display: flex; flex-wrap: wrap; gap: .6rem; }

/* ---------- services band ---------- */
.band-brown { background: var(--brown); color: var(--white); }
.band-brown h2 { color: var(--white); }
.band-brown .eyebrow { color: rgba(255,255,255,.82); }
.band-brown p { color: rgba(255,255,255,.94); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 1.3rem;
  margin: 2rem 0;
}
.service-grid div {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius);
  padding: 1.2rem;
}
.service-grid h4 { color: var(--white); margin-bottom: .4em; }
.service-grid p { font-size: .93rem; margin: 0; color: rgba(255,255,255,.9); }

/* ---------- generic cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: clamp(1.2rem, 3vw, 2rem);
}
.card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }

/* ---------- split close panel ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
.split > div { padding: clamp(2.2rem, 6vw, 4rem) clamp(1.5rem, 5vw, 3.5rem); }
.split .left { background: var(--green); color: var(--white); }
.split .right { background: var(--green-deep); color: var(--white); }
.split h2 { color: var(--white); }
.split p { color: rgba(255,255,255,.9); max-width: 40ch; }

/* ---------- property page ---------- */
.prop-hero { background: var(--white); border-bottom: 1px solid var(--grey-light); }
.prop-hero img { width: 100%; aspect-ratio: 3 / 1.25; object-fit: cover; object-position: center 55%; }
@media (max-width: 700px) { .prop-hero img { aspect-ratio: 3 / 2; } }

.prop-layout { display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
@media (max-width: 900px) { .prop-layout { grid-template-columns: 1fr; } }

.sidebar-card {
  background: var(--green-wash);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: sticky;
  top: 92px;
}
.sidebar-card h3 { margin-bottom: .5em; }
.sidebar-card dl { margin: 0 0 1.2rem; font-size: .92rem; }
.sidebar-card dt { font-weight: 600; color: var(--green); margin-top: .7rem; }
.sidebar-card dd { margin: 0; color: var(--grey-text); }

.room-list { list-style: none; padding: 0; margin: 0; }
.room-list li { padding: 1rem 0; border-bottom: 1px solid var(--grey-light); }
.room-list li:last-child { border-bottom: 0; }
.room-list strong { display: block; color: var(--green); font-family: var(--serif); font-size: 1.05rem; margin-bottom: .15rem; }

.quote {
  border-left: 3px solid var(--yellow);
  padding-left: 1.2rem;
  margin: 2rem 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--green);
}
.quote cite { display: block; font-family: var(--sans); font-size: .82rem; font-style: normal; color: var(--grey-text); margin-top: .6rem; }

/* ---------- gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: .7rem;
}
.gallery button {
  padding: 0; border: 0; background: none; cursor: pointer; border-radius: var(--radius); overflow: hidden; display: block;
}
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: opacity .15s ease; }
.gallery button:hover img { opacity: .86; }
.gallery button:focus-visible { outline: 3px solid var(--yellow-deep); outline-offset: 2px; }

.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(30,38,33,.94);
  display: none;
  align-items: center; justify-content: center;
  padding: 1.5rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1200px, 94vw); max-height: 86vh; width: auto; object-fit: contain; border-radius: var(--radius); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.35);
  color: #fff; cursor: pointer;
  width: 48px; height: 48px; border-radius: 50%;
  font-size: 1.3rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close { top: 1.2rem; right: 1.2rem; }
.lightbox-prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.2rem; top: 50%; transform: translateY(-50%); }
.lightbox-count { position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.8); font-size: .85rem; }

/* ---------- FAQ ---------- */
.faq details {
  border-bottom: 1px solid var(--grey-light);
  padding: .3rem 0;
}
.faq summary {
  cursor: pointer;
  padding: 1rem 2rem 1rem 0;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--green);
  font-weight: 600;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: .3rem; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-size: 1.4rem; color: var(--yellow-deep); font-weight: 400;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details > *:not(summary) { margin-bottom: 1rem; }
.faq ul { margin: 0 0 1rem; padding-left: 1.2rem; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: .92rem; }
th, td { text-align: left; padding: .8rem .9rem; border-bottom: 1px solid var(--grey-light); }
th { background: var(--green-wash); color: var(--green); font-weight: 600; }
td.num { font-variant-numeric: tabular-nums; }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
label { font-size: .88rem; font-weight: 600; color: var(--green); margin-bottom: .35rem; }
input, select, textarea {
  font-family: var(--sans);
  font-size: 1rem;
  padding: .7rem .85rem;
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--green); outline-offset: 0; border-color: var(--green); }
textarea { min-height: 130px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--grey-text); }

.alert { padding: 1rem 1.2rem; border-radius: var(--radius); margin-bottom: 1.5rem; font-size: .95rem; }
.alert-ok { background: var(--green-wash); border: 1px solid var(--green); color: var(--green); }
.alert-err { background: #FBEEE8; border: 1px solid var(--brown-deep); color: var(--brown-deep); }

/* ---------- footer ---------- */
.site-footer { background: var(--green-deep); color: rgba(255,255,255,.82); padding: clamp(2.5rem, 6vw, 4rem) 0 2rem; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
@media (max-width: 850px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--white); font-family: var(--sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.footer-logo { font-family: var(--serif); font-size: 1.25rem; color: var(--white); margin-bottom: .6rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  margin-top: 2.5rem; padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: .8rem 2rem; justify-content: space-between;
  font-size: .84rem; color: rgba(255,255,255,.6);
}

.skip-link {
  position: absolute; left: -9999px;
  background: var(--yellow); color: var(--green);
  padding: .7rem 1.2rem; z-index: 200; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; top: 0; }

:focus-visible { outline: 3px solid var(--yellow-deep); outline-offset: 2px; }

.smoobu-wrap { min-height: 200px; }
.smoobu-wrap iframe { width: 100%; border: 0; }
