:root {
  font: 16px/1.6 system-ui, sans-serif;
  color: #25352b;
  background: #f7f1e7;
  --forest: #25392e;
  --cream: #f7f1e7;
  --line: #d9cbb8;
  --gold: #e6bf83;
}
* { box-sizing: border-box }
body { margin: 0 }
main {
  background:
    radial-gradient(ellipse at 75% 43%, #fcf3e3 0%, transparent 66%),
    repeating-linear-gradient(0deg, #78502b07 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, #78502b06 0 1px, transparent 1px 4px),
    linear-gradient(145deg, #faf2e5, #f5e9d8 72%, #f7edde);
}
a { color: inherit; text-underline-offset: .25em }
a:focus-visible { outline: 3px solid #a07640; outline-offset: 4px }
h1,h2,h3 { font-family: Georgia,serif; font-weight: 400; line-height: 1.08 }
h2 { margin: 0; font-size: clamp(30px,4vw,50px); letter-spacing: -.035em }
.top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 0 clamp(16px,5vw,76px);
}
.top a,footer a { text-decoration: none }
.top a:hover,footer a:hover { text-decoration: underline }
.brand { justify-self: start; font: 1.35rem/1.2 Georgia,serif }
.top { min-height: 64px; border-bottom: 1px solid var(--line) }
.top nav { display: flex; gap: clamp(12px,3vw,36px); font-size: .92rem }
.top nav [aria-current] { text-decoration: underline }
.back { justify-self: end; font-size: .875rem }
.hero {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,2.25fr);
  align-items: center;
  gap: clamp(12px,2vw,34px);
  padding-block: clamp(28px,4vw,70px);
}
.hero-logo { display: block; width: min(82%,260px); height: auto; mix-blend-mode: multiply; margin-bottom: clamp(10px,2vw,28px) }
.pool-banner {
  display: block;
  width: 100%;
  height: auto;
  mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent),
              linear-gradient(0deg, transparent, #000 2%, #000 98%, transparent);
  mask-composite: intersect;
}
.intro { color: #132e1e }
.intro h1 { margin: 0; font-size: clamp(36px,6.25vw,105px); letter-spacing: -.055em; line-height: .99 }
.place { margin: 17px 0 22px; font: italic clamp(17px,2vw,28px)/1.2 Georgia,serif }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 10px; padding: 9px 17px; border: 1px solid #183b24; border-radius: 7px; background: #183b24; color: var(--cream); font-size: .9rem; font-weight: 650; text-decoration: none }
.button:hover { background: #2a5035 }
.wrap { width: min(1440px, calc(100% - clamp(36px,8vw,132px))); margin-inline: auto }
.location { padding-block: 26px clamp(34px,5vw,60px); border-top: 1px solid var(--line) }
.location h2 { margin-bottom: 20px; font-size: clamp(29px,3.5vw,46px) }
.villa-location-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.8fr); gap: clamp(12px,2vw,24px) }
.villa-location-details {
  display: grid;
  justify-items: center;
  align-content: center;
  padding: clamp(18px,3vw,38px);
  border: 1px solid #ceb695;
  border-radius: 24px;
  background: #fcf5e8;
  text-align: center;
}
.villa-contact-logo { width: min(100%,220px); height: auto; mix-blend-mode: multiply }
.villa-contact-rule { width: 44%; height: 1px; background: #b58a53; margin: 0 auto 16px }
.villa-location-details address { margin: 0 0 20px; font: clamp(1rem,1.6vw,1.2rem)/1.45 Georgia,serif }
.villa-location-contact { display: flex; justify-content: center; gap: 10px; width: 100%; margin-bottom: 20px }
.villa-location-contact a { display: flex; flex: 1 1 0; min-width: 0; flex-direction: column; align-items: center; gap: 5px; font-size: .84rem; text-decoration: none }
.villa-contact-value { max-width: 100%; overflow-wrap: anywhere; font-size: .77rem; line-height: 1.3 }
.villa-location-contact a:hover { text-decoration: underline }
.villa-contact-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #eae4d1 }
.villa-whatsapp .villa-contact-icon { background: #dcead9; color: #205d3b }
.villa-contact-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round }
.villa-location-details .button { width: min(100%,260px); border-radius: 12px }
.villa-map { width: 100%; height: 100%; min-height: 320px; border: 1px solid #dbc6a7; border-radius: 18px; background: #ece3d5 }
@media(max-width: 680px) {
  .villa-location-grid { grid-template-columns: 1fr }
  .villa-map { min-height: 280px }
}
footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 18px clamp(16px,5vw,76px); background: var(--forest); color: var(--cream); font-size: .88rem }
@media(max-width: 760px) {
  .hero { grid-template-columns: 1fr; text-align: center }
  .hero-logo { margin-inline: auto; width: min(56%,180px) }
  .intro h1 br { display: none }
}
@media(max-width: 490px) {
  .top { grid-template-columns: auto 1fr; gap: 8px 12px; padding-block: 12px }
  .top nav { justify-self: end }
  .back { grid-column: 1 / -1 }
}

.availability { margin-bottom: clamp(28px,5vw,64px) }
.availability-panel { padding: clamp(18px,4vw,44px); border: 1px solid #684633; border-radius: 12px; background: linear-gradient(120deg, #593b2b, #694736); color: #fff4e6; box-shadow: 0 8px 24px #46331d1c }
.availability h2 { font-size: clamp(28px,3.4vw,44px) }
.availability p { margin: 8px 0 20px; color: #f0dbc4 }
.availability form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)) auto; align-items: end; gap: 12px }
.availability label { display: grid; min-width: 0; gap: 5px; font-size: .9rem; font-weight: 650 }
.availability input { width: 100%; min-width: 0; min-height: 44px; padding: 7px 10px; border: 1px solid #a79783; border-radius: 6px; background: #fff8ed; color: #342418; font: inherit }
.availability button { border-color: #eed2a3; background: #eed2a3; color: #342418; font-family: inherit; cursor: pointer }
.availability button:hover { background: #f6e1bf }
.availability :is(input,button):focus-visible { outline: 3px solid #f8dfb5; outline-offset: 3px }
@media(max-width: 680px) { .availability form { grid-template-columns: repeat(2,minmax(0,1fr)) } .availability button { grid-column: 1 / -1 } }
@media(max-width: 490px) { .top nav { flex-wrap: wrap; justify-content: end } }

/* Keep the picker icon visible while hiding empty date segments in Chromium and Safari. */
.availability input[type="date"]:not([data-has-date]):not(:focus)::-webkit-datetime-edit { opacity: 0 }

.villa-rates { margin-bottom: clamp(28px,5vw,64px) }
.villa-rates-heading { margin-bottom: clamp(18px,3vw,30px); text-align: center }
.villa-rates h2 { font-size: clamp(28px,3.4vw,44px) }
.villa-rates-heading::after { display: block; width: 62px; height: 2px; margin: 12px auto 0; background: #a78342; content: "" }
.villa-rate-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(12px,2vw,24px) }
.villa-rate-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(18px,2.8vw,34px) clamp(12px,2vw,26px);
  border: 1px solid #d7c5a3;
  border-radius: 24px;
  background: radial-gradient(ellipse at top right,#e3e9d0,transparent 66%), #faf3e1;
  text-align: center;
}
.villa-rate-card--weekend { background: linear-gradient(150deg,#314e3f,#19372a); border-color: #314e3f; color: #fff5e0 }
.villa-rate-card--facilities { background: radial-gradient(ellipse at top right,#f7e6d6,transparent 70%), #edd2be; border-color: #d1ad95; color: #603929 }
.villa-rate-icon { display: inline-grid; flex: 0 0 auto; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #ecdfbe; color: #754811 }
.villa-rate-icon svg { width: 29px; height: 29px }
.villa-rate-card--facilities .villa-rate-icon { background: #f5e5d3 }
.villa-rate-card--weekend .villa-rate-icon { background: #f1deb2 }
.villa-rate-card h3 { margin: 12px 0 0; font-size: clamp(20px,2.2vw,30px) }
.villa-rate-card dl { display: grid; gap: 8px; margin: 14px 0 0; width: 100% }
.villa-room-rate { padding: 8px 5px; border-radius: 12px; border: 1px solid #e0ceac; background: #fffaf0; color: #344431 }
.villa-room-rate dt { font-size: .875rem; font-weight: 650 }
.villa-room-rate dd,.villa-kitchen-price { margin: 3px 0 0; color: #682e20; font: bold clamp(19px,2.35vw,32px)/1.13 Georgia,serif; font-variant-numeric: tabular-nums; overflow-wrap: anywhere }
.villa-nightly { margin: 8px 0 0; font-size: .8rem }
.villa-kitchen-price { margin-top: 9px }
.villa-checkin { width: 100%; margin-top: auto; padding-top: 14px }
.villa-checkin .villa-rate-icon { width: 38px; height: 38px }
.villa-checkin .villa-rate-icon svg { width: 23px; height: 23px }
.villa-checkin h4 { width: fit-content; margin: 7px auto; padding: 6px 12px; border-radius: 20px; background: #774731; color: #fff9ed; font-size: .85rem; line-height: 1.3 }
.villa-checkin p { max-width: 38ch; margin: 0 auto; font-size: .85rem; overflow-wrap: anywhere }
.villa-rates-signoff { padding-top: 18px; text-align: center; overflow-wrap: anywhere }
.villa-rates-signoff::before { display: block; width: 94px; height: 9px; margin: 0 auto 7px; border-top: 2px solid #81945e; border-radius: 50%; content: "" }
.villa-rates-signoff p { margin: 3px 0 }
.villa-rates-signoff strong { color: #304b32; font: italic 1.25rem/1.2 Georgia,serif }
@media(max-width: 760px) {
  .villa-rate-grid { grid-template-columns: repeat(2,minmax(0,1fr)) }
  .villa-rate-card--facilities { grid-column: 1 / -1 }
}
@media(max-width: 410px) { .villa-rate-grid { grid-template-columns: 1fr } }

.villa-gallery { padding-bottom: clamp(32px,5vw,68px) }
.villa-gallery-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: clamp(18px,3vw,32px);
}
.villa-gallery-heading h1,.villa-gallery-heading h2 { margin: 0; color: var(--forest); font-size: clamp(31px,4vw,54px) }
.villa-gallery-heading h1::after,.villa-gallery-heading h2::after {
  display: block;
  width: 62px;
  height: 2px;
  margin-top: 12px;
  background: #a78342;
  content: "";
}
.villa-gallery-preview,.villa-gallery-full { display: grid; gap: clamp(9px,1.4vw,20px) }
.villa-gallery-preview { grid-template-columns: 1.7fr 1fr; grid-template-rows: repeat(2,minmax(0,1fr)); min-height: 300px; height: min(43vw,550px) }
.villa-photo { position: relative; overflow: hidden; isolation: isolate; margin: 0; background: #dfcbb2; border-radius: 15px }
.villa-gallery-preview .villa-photo:first-child { grid-row: span 2; border-radius: clamp(32px,8vw,105px) 15px 15px 15px }
.villa-gallery-preview .villa-photo:last-child { border-radius: 15px 15px clamp(32px,6vw,75px) 15px }
.villa-photo a,.villa-photo img { display: block; width: 100%; height: 100% }
.villa-photo img { object-fit: cover }
.villa-photo a:focus-visible { outline-offset: -5px; position: relative; z-index: 1 }
.villa-photo figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 32px 16px 12px;
  background: linear-gradient(transparent,#101c17e8);
  color: #fff6e5;
  font: clamp(.95rem,1.7vw,1.3rem)/1.2 Georgia,serif;
  pointer-events: none;
}
.villa-gallery-nav { min-height: 64px; display: flex; justify-content: space-between; align-items: center; gap: 12px }
.villa-gallery-page { padding-top: clamp(26px,4vw,58px) }
.villa-gallery-full { grid-template-columns: repeat(2,minmax(0,1fr)) }
.villa-gallery-full .villa-photo a { aspect-ratio: 16 / 10 }
.villa-gallery-full .villa-photo:first-child { grid-column: 1 / -1 }
.villa-gallery-full .villa-photo:first-child a { aspect-ratio: 2 / 1 }
@media(max-width: 620px) {
  .villa-gallery-preview { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: auto; height: auto; min-height: 0 }
  .villa-gallery-preview .villa-photo { aspect-ratio: 4 / 3 }
  .villa-gallery-preview .villa-photo:first-child { grid-area: auto / 1 / auto / -1; aspect-ratio: 16 / 10 }
  .villa-gallery-full { grid-template-columns: 1fr }
}

.villa-gallery-preview--0 { display: none }
.villa-gallery-preview--1,.villa-gallery-preview--2 {
  grid-template-rows: minmax(0,1fr);
  min-height: 0;
  height: auto;
}
.villa-gallery-preview--1 { grid-template-columns: minmax(0,1fr) }
.villa-gallery-preview--2 { grid-template-columns: repeat(2,minmax(0,1fr)) }
.villa-gallery-preview--1 .villa-photo:first-child,.villa-gallery-preview--2 .villa-photo:first-child { grid-area: auto }
.villa-gallery-preview--1 .villa-photo { aspect-ratio: 2 / 1 }
.villa-gallery-preview--2 .villa-photo { aspect-ratio: 4 / 3 }

.booking-calendar-status:not(:empty) { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; font-size: .87rem }
.booking-calendar-status span { padding: 5px 10px; border-radius: 12px; background: #fff3dd; color: #493324 }
.booking-calendar-status [data-status="blocked"] { background: #f6d0bd; color: #6d281b }

.villa-header-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 14px }
.villa-header-actions .button { white-space: nowrap }
.whatsapp-enquiry svg { flex: none }
@media(max-width: 760px) {
  .top { grid-template-columns: 1fr auto; padding-block: 8px }
  .top nav { grid-area: 2 / 1 / auto / -1; flex-wrap: wrap; justify-content: center }
}
@media(max-width: 400px) {
  .villa-header-actions .back { display: none }
}

.top {
  background: linear-gradient(105deg,#38251c,#563b2c);
  color: #fff5e5;
  border-bottom: 2px solid #bd9459;
}
.top .brand { color: #fff5e5; font-size: clamp(1.2rem,2vw,1.55rem) }
.top nav a { padding-block: 7px }
.top nav [aria-current] { color: #f4d9a6; text-decoration-color: #d1a96c }
.top .back { color: #f0e4cf }
.top .whatsapp-enquiry { background: #edcd95; border-color: #edcd95; color: #203428 }
.top .whatsapp-enquiry:hover { background: #f6dfb6; border-color: #f6dfb6; text-decoration: none }
.top a:focus-visible { outline-color: #f6dfb6 }
