@font-face {
  font-family: "TT Ramillas";
  src: url("assets/fonts/TT%20Ramillas%20Trial%20Light.ttf") format("truetype");
  font-weight: 300;
}

@font-face {
  font-family: "TT Ramillas";
  src: url("assets/fonts/TT%20Ramillas%20Trial%20Light%20Italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 300;
}

@font-face {
  font-family: "TT Ramillas";
  src: url("assets/fonts/TT%20Ramillas%20Trial%20Regular.ttf") format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: "TT Ramillas";
  src: url("assets/fonts/TT%20Ramillas%20Trial%20Italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
}

:root {
  --pine: #23302b;
  --pine-2: #17231f;
  --sage: #d9d7cf;
  --linen: #f7f2e9;
  --paper: #fffaf2;
  --taupe: #AB967D;
  --taupe-2: #c7b8a5;
  --taupe-3: #e6ded4;
  --clay: #8e745e;
  --ink: #1f2824;
  --muted: #68726d;
  --line: rgba(171, 150, 125, 0.28);
  --shadow: 0 26px 70px rgba(25, 35, 31, 0.14);
  --type--1: 0.8rem;
  --type-0: 1rem;
  --type-1: 1.25rem;
  --type-2: 1.563rem;
  --type-3: 1.953rem;
  --type-4: 2.441rem;
  --type-5: 3.052rem;
  --type-6: 3.815rem;
  --type-7: 4.768rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: "Tenor Sans", Arial, sans-serif;
  font-size: var(--type-0);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(247, 242, 233, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(35, 48, 43, 0.08);
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: none;
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy span {
  font-family: "TT Ramillas", Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: var(--type-1);
}

.brand-copy small,
.eyebrow {
  color: var(--clay);
  font-size: var(--type--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--pine);
  font-size: var(--type--1);
}

.page-nav {
  display: flex;
}

.nav-cta {
  padding: 10px 16px;
  color: var(--pine);
  background: #AB967C;
  border: 1px solid #AB967C;
  border-radius: 0;
}

.language-switch {
  padding: 6px 9px;
  border: 1px solid rgba(171, 150, 125, 0.44);
  background: rgba(255, 250, 242, 0.5);
  color: var(--pine);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: var(--pine);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding: 72px clamp(18px, 5vw, 72px) 70px;
  overflow: hidden;
  background: var(--linen);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero h1,
.section h2,
.booking-section h2 {
  margin: 0;
  font-family: "TT Ramillas", Georgia, serif;
  font-style: italic;
  font-weight: 300;
  line-height: 0.98;
}

.hero h1 {
  font-size: var(--type-7);
  letter-spacing: -3px;
}

.hero-text {
  max-width: 660px;
  margin: 28px 0;
  color: #3f4a45;
  font-size: var(--type-1);
}

.hero-actions,
.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid var(--pine);
  border-radius: 0;
  cursor: pointer;
}

.button.primary {
  color: var(--pine);
  background: #AB967C;
  border-color: #AB967C;
}

.button.secondary {
  color: var(--pine);
  background: rgba(255, 250, 242, 0.44);
}

.button.full {
  width: 100%;
}

.hero-panel {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50vw;
  min-height: 100vh;
  padding: 0;
  background: transparent;
  box-shadow: none;
  color: var(--paper);
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, var(--linen) 0%, rgba(247, 242, 233, 0.88) 12%, rgba(247, 242, 233, 0.28) 42%, rgba(247, 242, 233, 0) 70%),
    linear-gradient(0deg, rgba(247, 242, 233, 0.18), rgba(247, 242, 233, 0) 24%, rgba(247, 242, 233, 0) 76%, rgba(247, 242, 233, 0.26));
  pointer-events: none;
}

.rating-card {
  position: absolute;
  z-index: 2;
  top: 132px;
  left: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 280px;
  padding: 14px 16px;
  background: #AB967C;
  border: 1px solid rgba(35, 48, 43, 0.14);
  color: var(--pine);
  box-shadow: 0 18px 50px rgba(25, 35, 31, 0.18);
}

.rating-score {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  background: var(--paper);
  color: var(--pine);
  border-radius: 50%;
  font-family: "TT Ramillas", Georgia, serif;
  font-size: var(--type-2);
}

.rating-card small {
  display: block;
  color: rgba(35, 48, 43, 0.68);
}

.hero-image {
  height: 100%;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--linen);
}

.hero-image img {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(0.96);
}

.intro-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-strip article {
  padding: clamp(26px, 4vw, 52px);
  border-right: 1px solid var(--line);
}

.brand-illustration {
  width: 58px;
  height: 58px;
  margin-bottom: 28px;
  color: var(--pine);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-illustration.small {
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  stroke-width: 2.2;
}

.brand-illustration.on-dark {
  color: var(--taupe-3);
}

.intro-strip article:last-child {
  border-right: 0;
}

.intro-strip span {
  color: var(--taupe);
}

.intro-strip h2 {
  margin: 14px 0 8px;
  font-size: var(--type-1);
}

.intro-strip p,
.stay-copy p,
.booking-section p {
  color: var(--muted);
}

.section,
.booking-section {
  padding: clamp(70px, 9vw, 130px) clamp(18px, 5vw, 72px);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
  margin-bottom: 44px;
}

.section-heading.wide {
  grid-template-columns: 1fr;
  max-width: 900px;
}

.section h2,
.booking-section h2 {
  font-size: var(--type-6);
  letter-spacing: -2px;
}

.stay-grid,
.location-layout,
.booking-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.74fr);
  gap: clamp(28px, 5vw, 70px);
}

.stay-copy {
  max-width: 760px;
  font-size: var(--type-1);
}

.stat-board {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
  background: var(--paper);
}

.stat-board div {
  min-height: 150px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-board div:nth-child(even) {
  border-right: 0;
}

.stat-board div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.stat-board strong {
  font-family: "TT Ramillas", Georgia, serif;
  font-size: var(--type-4);
  font-weight: 300;
}

.stat-board span {
  color: var(--muted);
  font-size: var(--type--1);
}

.gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(320px, 0.78fr);
  gap: 16px;
  align-items: stretch;
}

.gallery-feature {
  position: sticky;
  top: 96px;
  align-self: start;
  min-height: 690px;
  margin: 0;
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.gallery-feature img {
  width: 100%;
  height: 640px;
  object-fit: cover;
}

.gallery-feature figcaption {
  min-height: 50px;
  padding: 14px 18px;
  color: var(--pine);
  border-top: 1px solid var(--line);
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.gallery-card {
  min-height: 258px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 10px;
  border: 1px solid transparent;
  background: var(--paper);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.gallery-card.active,
.gallery-card:hover {
  border-color: var(--taupe);
  background: var(--taupe-3);
  transform: translateY(-4px);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 1.34;
  object-fit: cover;
}

.gallery-card strong {
  margin: 6px 6px 0;
  font-size: var(--type-0);
}

.gallery-card small {
  margin: 0 6px 6px;
  color: var(--muted);
}

.amenity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.amenity-grid article {
  min-height: 230px;
  padding: 28px;
  background: var(--paper);
}

.amenity-grid span {
  color: var(--taupe);
  font-size: var(--type--1);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.amenity-grid strong {
  display: block;
  margin: 28px 0 10px;
  font-size: var(--type-1);
}

.amenity-grid p {
  margin: 0;
  color: var(--muted);
}

.map-card {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: var(--sage);
  box-shadow: var(--shadow);
}

.location-map {
  position: absolute;
  inset: 0;
}

.map-mode-toggle {
  position: absolute;
  z-index: 3;
  top: 16px;
  left: 16px;
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(84px, 1fr));
  gap: 0;
  padding: 4px;
  background: rgba(255, 250, 242, 0.9);
  border: 1px solid rgba(171, 150, 124, 0.38);
  box-shadow: 0 12px 32px rgba(25, 35, 31, 0.14);
  backdrop-filter: blur(14px);
}

.map-mode-toggle button {
  min-height: 38px;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: var(--pine);
  cursor: pointer;
  font-size: var(--type--1);
}

.map-mode-toggle button.active {
  background: #AB967C;
  color: var(--pine);
}

.map-mode-toggle button:focus-visible {
  outline: 0;
  box-shadow: inset 0 0 0 2px var(--pine);
}

.map-status {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 12px 14px;
  background: rgba(255, 250, 242, 0.9);
  border: 1px solid rgba(171, 150, 124, 0.38);
  color: var(--pine);
  font-size: var(--type--1);
  backdrop-filter: blur(14px);
}

.map-marker {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  background: rgba(255, 250, 242, 0.94);
  border: 1px solid rgba(171, 150, 124, 0.72);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(23, 35, 31, 0.16);
  cursor: pointer;
}

.map-marker::after {
  content: "";
  width: 7px;
  height: 7px;
  background: #AB967C;
  border-radius: 50%;
}

.map-marker.home,
.map-marker.active {
  width: 30px;
  height: 30px;
  background: #AB967C;
  border-color: rgba(255, 250, 242, 0.92);
  box-shadow: 0 10px 24px rgba(23, 35, 31, 0.18);
}

.map-marker.home::after,
.map-marker.active::after {
  background: var(--pine);
}

.maplibregl-ctrl-group {
  overflow: hidden;
  border: 1px solid rgba(171, 150, 124, 0.38);
  background: rgba(255, 250, 242, 0.9);
  box-shadow: 0 12px 32px rgba(25, 35, 31, 0.18);
}

.maplibregl-ctrl-group button {
  background-color: transparent;
}

.maplibregl-ctrl-group button + button {
  border-top-color: rgba(171, 150, 124, 0.28);
}

.maplibregl-ctrl button .maplibregl-ctrl-icon {
  filter: sepia(0.35) saturate(0.9) hue-rotate(92deg);
}

.maplibregl-popup-content {
  padding: 14px;
  background: rgba(255, 250, 242, 0.96);
  color: var(--pine);
  border: 1px solid rgba(171, 150, 124, 0.4);
  box-shadow: var(--shadow);
  font-family: "Tenor Sans", Arial, sans-serif;
}

.maplibregl-popup-content strong {
  display: block;
  margin-bottom: 6px;
}

.maplibregl-popup-content p {
  margin: 0;
  color: var(--muted);
  font-size: var(--type--1);
}

.maplibregl-ctrl-attrib {
  font-family: "Tenor Sans", Arial, sans-serif;
  font-size: 11px;
}

.distance-list {
  display: grid;
  gap: 12px;
  align-content: start;
}

.poi-card {
  width: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.poi-card:hover {
  border-color: var(--taupe);
  transform: translateY(-2px);
}

.poi-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--taupe);
  font-size: var(--type--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.poi-card strong {
  display: block;
  font-weight: 400;
  font-size: var(--type-1);
  line-height: 1.45;
}

.poi-card small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.5;
}

.poi-card.active {
  background: var(--pine);
  color: var(--paper);
}

.poi-card.active span {
  color: var(--taupe);
}

.poi-card.active small {
  color: rgba(255, 250, 242, 0.72);
}

.poi-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.poi-actions a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border: 1px solid var(--taupe);
  background: var(--taupe-3);
  color: var(--pine);
  text-align: center;
  font-size: var(--type--1);
}

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

.reviews article {
  min-height: 280px;
  padding: 28px;
  background: var(--pine);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.reviews p {
  margin: 0;
  font-family: "TT Ramillas", Georgia, serif;
  font-size: var(--type-3);
  font-weight: 300;
  letter-spacing: -1px;
  line-height: 1.1;
}

.reviews span {
  color: rgba(255, 250, 242, 0.64);
  font-size: var(--type--1);
}

.rules {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rules span {
  padding: 12px 16px;
  border: 1px solid var(--line);
  background: var(--taupe-3);
}

.faq-grid,
.local-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.faq-grid article,
.local-guide-grid article {
  min-height: 220px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--paper);
}

.faq-grid h3,
.local-guide-grid h3 {
  margin: 0 0 14px;
  color: var(--pine);
  font-size: var(--type-1);
  font-weight: 400;
  line-height: 1.25;
}

.faq-grid p,
.local-guide-grid p {
  margin: 0;
  color: var(--muted);
}

.seo-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.seo-link-row a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.72);
  color: var(--pine);
  font-size: var(--type--1);
}

.guide-booking-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.74fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.guide-booking-section .section-heading {
  margin-bottom: 0;
}

.booking-section {
  align-items: start;
  background: var(--pine);
  color: var(--paper);
}

.booking-section .eyebrow,
.booking-section p {
  color: rgba(255, 250, 242, 0.7);
}

.booking-card {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 24px;
  background: var(--paper);
  color: var(--ink);
}

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

.booking-card label {
  display: grid;
  gap: 8px;
}

.booking-card label > span {
  color: var(--muted);
  font-size: var(--type--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.booking-card input,
.booking-card select,
.booking-card textarea,
.date-display,
.guest-select-trigger {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 0;
  outline: 0;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.booking-card input::placeholder,
.booking-card textarea::placeholder {
  color: rgba(104, 114, 109, 0.62);
}

.booking-card input:focus,
.booking-card select:focus,
.booking-card textarea:focus,
.date-display:focus-visible,
.guest-select-trigger:focus-visible,
.date-nav:focus-visible,
.date-day:focus-visible {
  border-color: var(--taupe);
  box-shadow: 0 0 0 3px rgba(171, 150, 124, 0.2);
}

.booking-card input.is-invalid {
  border-color: #9f3f32;
  box-shadow: 0 0 0 3px rgba(159, 63, 50, 0.14);
}

.iti {
  width: 100%;
  color: var(--ink);
}

.iti input[type="tel"] {
  padding-left: 94px;
}

.iti--separate-dial-code .iti__selected-flag {
  background: var(--taupe-3);
  border-right: 1px solid var(--line);
}

.iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag,
.iti--separate-dial-code .iti__selected-flag:hover {
  background: #ded3c7;
}

.iti__country-list {
  z-index: 30;
  width: min(360px, calc(100vw - 48px));
  max-height: 260px;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid var(--taupe);
  background: var(--paper);
  box-shadow: 0 18px 50px rgba(25, 35, 31, 0.18);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.iti__country-list::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.phone-country-search {
  position: sticky;
  z-index: 2;
  top: 0;
  display: block;
  padding: 8px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.phone-country-search input {
  width: 100%;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  outline: 0;
  font: inherit;
  font-size: var(--type--1);
  appearance: none;
}

.phone-country-search input::placeholder {
  color: rgba(104, 114, 109, 0.62);
}

.phone-country-search input:focus {
  border-color: var(--taupe);
  box-shadow: 0 0 0 3px rgba(171, 150, 124, 0.18);
}

.phone-country-search input::-webkit-search-decoration,
.phone-country-search input::-webkit-search-cancel-button {
  display: none;
}

.phone-country-empty {
  padding: 14px 16px;
  color: var(--muted);
  font-size: var(--type--1);
}

.iti__country {
  color: var(--ink);
}

.iti__country.iti__highlight {
  background: var(--taupe-3);
}

.iti__dial-code {
  color: var(--clay);
}

.booking-card textarea {
  min-height: 108px;
  resize: vertical;
}

.guest-select {
  position: relative;
}

.guest-select-trigger {
  position: relative;
  display: flex;
  align-items: center;
  text-align: left;
  cursor: pointer;
}

.guest-select-trigger::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 1px solid var(--pine);
  border-bottom: 1px solid var(--pine);
  transform: translateY(-65%) rotate(45deg);
}

.guest-select-trigger[aria-expanded="true"] {
  border-color: var(--taupe);
  background: var(--taupe-3);
}

.guest-select-menu {
  position: absolute;
  z-index: 14;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  padding: 6px;
  border: 1px solid var(--taupe);
  background: var(--paper);
  box-shadow: 0 18px 50px rgba(25, 35, 31, 0.16);
}

.guest-select-menu button {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.guest-select-menu button:hover,
.guest-select-menu button[aria-selected="true"] {
  background: var(--taupe-3);
  color: var(--pine);
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.date-range-field {
  position: relative;
}

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

.date-range-control {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.date-range-control > span {
  color: var(--muted);
  font-size: var(--type--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.date-display {
  display: flex;
  align-items: center;
  text-align: left;
  cursor: pointer;
}

.date-display strong {
  color: var(--ink);
  font-weight: 400;
}

.date-display.active {
  border-color: var(--taupe);
  background: var(--taupe-3);
}

.date-picker-popover {
  position: absolute;
  z-index: 12;
  top: calc(100% + 10px);
  right: 0;
  width: min(424px, calc(100vw - 36px));
  max-width: none;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--taupe);
  box-shadow: 0 22px 60px rgba(25, 35, 31, 0.18);
}

.date-picker-header {
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.date-picker-header strong {
  color: var(--pine);
  font-family: "TT Ramillas", Georgia, serif;
  font-size: var(--type-1);
  font-style: italic;
  font-weight: 300;
  letter-spacing: -1px;
  text-align: center;
}

.date-nav {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--pine);
  cursor: pointer;
  font-size: var(--type-2);
  line-height: 1;
}

.date-grid {
  display: grid;
  gap: 0;
}

.date-month-panel {
  display: grid;
  gap: 0;
  min-width: 0;
}

.date-month-title {
  color: var(--pine);
  font-family: "TT Ramillas", Georgia, serif;
  font-size: var(--type-1);
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.5px;
  text-align: center;
}

.date-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 47px);
  justify-content: center;
  gap: 0;
  color: var(--clay);
  font-size: var(--type--1);
  text-align: center;
}

.date-weekdays span {
  display: grid;
  min-height: 34px;
  place-items: center;
}

.date-month-days {
  display: grid;
  grid-template-columns: repeat(7, 47px);
  grid-auto-rows: 47px;
  justify-content: center;
  gap: 0;
}

.date-day {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--taupe-3);
  margin: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  outline: 0;
  font-size: var(--type-0);
  font-weight: 400;
}

.date-day:hover {
  border-color: var(--taupe-2);
}

.date-day.muted {
  color: rgba(104, 114, 109, 0.45);
  background: rgba(255, 250, 242, 0.46);
}

.date-day.disabled {
  color: rgba(104, 114, 109, 0.3);
  cursor: not-allowed;
}

.date-day.in-range {
  background: rgba(171, 150, 124, 0.18);
  border-color: rgba(171, 150, 124, 0.28);
}

.date-day.preview-end {
  background: rgba(171, 150, 124, 0.18);
  border-color: var(--taupe);
}

.date-day.selected {
  background: #AB967C;
  border-color: #AB967C;
  color: var(--pine);
}

.booking-card.is-success {
  min-height: 420px;
  align-content: center;
}

.booking-success {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 34px 12px;
  text-align: center;
}

.booking-success-illustration {
  width: 132px;
  height: 132px;
  color: var(--pine);
  fill: none;
  stroke: currentColor;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.booking-success h3 {
  margin: 0;
  color: var(--pine);
  font-family: "TT Ramillas", Georgia, serif;
  font-size: var(--type-4);
  font-style: italic;
  font-weight: 300;
  letter-spacing: -1.5px;
  line-height: 1;
}

.booking-success p {
  max-width: 420px;
  margin: 0;
  color: var(--muted) !important;
}

.booking-message {
  min-height: 24px;
  margin: 0;
  color: var(--muted) !important;
  font-size: var(--type--1);
}

.booking-message[data-state="success"] {
  color: #3d6a4c !important;
}

.booking-message[data-state="error"] {
  color: #9b3d32 !important;
}

.booking-card button[disabled] {
  cursor: progress;
  opacity: 0.72;
}

.site-footer {
  justify-content: space-between;
  padding: 34px clamp(18px, 5vw, 72px);
  background: var(--pine-2);
  color: var(--paper);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand .brand-copy span,
.footer-brand .brand-copy small {
  color: var(--paper);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  color: rgba(255, 250, 242, 0.78);
  font-size: var(--type--1);
}

.footer-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex: 0 0 42px;
  filter: none;
}

.room-visual {
  position: relative;
  display: block;
  width: min(74%, 540px);
  aspect-ratio: 1.15;
  background: linear-gradient(150deg, #e8ded0, #fff8ec);
  box-shadow: inset 0 0 0 1px rgba(35, 48, 43, 0.16), 0 30px 70px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.room-visual.small {
  width: 100%;
  max-width: none;
  aspect-ratio: 1.2;
  box-shadow: inset 0 0 0 1px rgba(35, 48, 43, 0.1);
}

.room-visual.bedroom::before,
.room-visual.living::before,
.room-visual.kitchen::before,
.room-visual.bathroom::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 38%;
  background: #d8dfd2;
}

.bed {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 16%;
  height: 34%;
  background: var(--taupe);
}

.pillow {
  position: absolute;
  z-index: 1;
  top: 42%;
  width: 22%;
  height: 14%;
  background: var(--paper);
}

.pillow.one {
  left: 26%;
}

.pillow.two {
  right: 26%;
}

.lamp,
.plant {
  position: absolute;
  bottom: 16%;
  width: 7%;
  height: 36%;
  background: var(--clay);
}

.lamp {
  left: 6%;
}

.plant {
  right: 6%;
  background: var(--pine);
}

.room-visual.living::after {
  content: "";
  position: absolute;
  left: 13%;
  right: 13%;
  bottom: 20%;
  height: 30%;
  background: var(--pine);
  box-shadow: 20px -46px 0 -22px var(--taupe);
}

.room-visual.kitchen::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 18%;
  height: 28%;
  background: var(--paper);
  border-top: 14px solid var(--clay);
  box-shadow: 0 -74px 0 -48px var(--pine);
}

.room-visual.bathroom::after {
  content: "";
  position: absolute;
  left: 18%;
  top: 22%;
  width: 32%;
  height: 48%;
  border: 10px solid var(--pine);
  border-bottom: 0;
  box-shadow: 120px 80px 0 -44px var(--paper);
}

@media (max-width: 980px) {
  .site-nav {
    position: fixed;
    inset: 81px 12px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav.page-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-nav a {
    padding: 14px;
  }

  .site-nav.page-nav a {
    padding: 8px;
  }

  .nav-toggle {
    display: block;
  }

  .hero,
  .stay-grid,
  .location-layout,
  .guide-booking-section,
  .booking-section,
  .section-heading,
  .booking-field-grid,
  .date-range-inputs {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    align-items: start;
  }

  .date-picker-popover {
    left: 50%;
    right: auto;
    width: calc(100vw - 24px);
    padding: 10px;
    transform: translateX(-50%);
  }

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

  .hero-panel {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 540px;
    margin-top: 34px;
  }

  .hero-panel::before {
    background:
      linear-gradient(180deg, var(--linen) 0%, rgba(247, 242, 233, 0.38) 24%, rgba(247, 242, 233, 0) 58%),
      linear-gradient(90deg, rgba(247, 242, 233, 0.16), rgba(247, 242, 233, 0));
  }

  .hero-image,
  .hero-image img {
    min-height: 540px;
  }

  .intro-strip,
  .amenity-grid,
  .reviews,
  .faq-grid,
  .local-guide-grid {
    grid-template-columns: 1fr;
  }

  .intro-strip article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .gallery-feature {
    position: static;
    min-height: 0;
  }

  .gallery-feature img {
    height: auto;
    aspect-ratio: 1.2;
  }

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

  .gallery-card {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  :root {
    --type-4: 2.074rem;
    --type-5: 2.488rem;
    --type-6: 2.986rem;
    --type-7: 3.583rem;
  }

  .brand-copy small {
    display: none;
  }

  .footer-brand .brand-copy small {
    display: block;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-panel {
    min-height: 500px;
    padding: 0;
  }

  .rating-card {
    max-width: calc(100% - 28px);
    top: 14px;
    left: 14px;
  }

  .gallery,
  .gallery-thumbs,
  .poi-actions,
  .stat-board {
    grid-template-columns: 1fr;
  }

  .stat-board div,
  .stat-board div:nth-child(even),
  .stat-board div:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat-board div:last-child {
    border-bottom: 0;
  }

  .map-card {
    min-height: 420px;
  }

  .site-footer {
    align-items: flex-start;
  }
}
