:root {
  --resort-forest: #19382d;
  --resort-deep: #10291f;
  --resort-text: #263c31;
  --resort-muted: #526357;
  --resort-ivory: #faf8f1;
  --resort-sand: #e9d7ab;
  --resort-border: #dcded3;
  --resort-serif: "Playfair Display", Georgia, serif;
}

#header, #header.scrolled {
  min-height: 68px;
  background: var(--resort-deep);
  border-bottom: 1px solid #ffffff2b;
}
#header .logo { gap: 5px; }
#header .logo .sitename { white-space: nowrap; }
#header .btn-getstarted {
  min-height: 44px;
  border-radius: 5px;
  padding-inline: 1rem;
  background: var(--resort-sand);
  border-color: var(--resort-sand);
  color: var(--resort-deep);
}
#header .btn-getstarted:hover, #header .btn-getstarted:focus-visible {
  background: #f6e8c9;
}

#resort-main .cl-feature,
#resort-main .estate-story,
#resort-main .estate-location {
  padding-block: clamp(3.25rem, 7vw, 7rem);
}
#resort-main :is(.cl-feature, .estate-story, .estate-location) h2,
#resort-main :is(.estate-story, .estate-location) h3,
#resort-main .cl-feature h1 {
  font-family: var(--resort-serif);
  color: var(--resort-forest);
  font-weight: 400;
}
#resort-main .cl-feature { background: var(--resort-ivory); }
#resort-main .cl-white { background: #fff; }
#resort-main > .cl-feature:first-of-type { padding-top: clamp(7rem, 11vw, 10rem); }
#resort-main .cl-card {
  border: 1px solid var(--resort-border);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 32px #19382d0c;
}
#resort-main .cl-roomhero img { border-radius: 8px; }
#resort-main :is(.cl-button, .estate-primary, .btn-gallery, .booking-form .btn-primary) {
  border-radius: 5px;
  min-height: 46px;
}
#resort-main :is(.cl-button, .estate-primary, .booking-form .btn-primary) {
  background: var(--resort-forest);
  border-color: var(--resort-forest);
}
#resort-main :is(.cl-button, .estate-primary, .booking-form .btn-primary):hover {
  background: var(--resort-deep);
  border-color: var(--resort-deep);
}
#resort-main .cl-more {
  text-decoration-color: #7a897a;
  text-underline-offset: .32em;
}
#resort-main .cl-more:hover { text-decoration-color: currentColor; }
#resort-main .booking-widget { border-radius: 12px; }
#resort-main .booking-form :is(input, select, textarea) { border-radius: 5px; }

#hotel-hero.estate-hero {
  padding: 68px 0 0;
  background: var(--resort-ivory);
}
#hotel-hero .estate-intro {
  display: grid;
  position: relative;
  isolation: isolate;
  max-width: none;
  min-height: clamp(475px, 46vw, 675px);
  grid-template-columns: minmax(0, 1fr);
  background: var(--resort-forest);
}
#hotel-hero .estate-photo {
  position: absolute;
  inset: 0;
  min-height: 0;
  height: auto;
  z-index: 0;
  background: var(--resort-forest);
}
#hotel-hero .estate-photo img { object-position: 58% 56%; }
#hotel-hero .estate-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0a1e17f2, #0a1e17ce 26%, #0a1e1766 57%, #0a1e170d 84%);
}
#hotel-hero .estate-photo figcaption {
  z-index: 1;
  width: auto;
  left: auto;
  right: max(4vw, calc((100vw - 1280px) / 2));
  bottom: 1.75rem;
  padding: .6rem .85rem;
  border-radius: 5px;
  background: #10291fe8;
  color: #fffdf6;
}
#hotel-hero .estate-photo figcaption a {
  color: #fffdf6;
  text-decoration: underline;
  text-underline-offset: .2em;
}
#hotel-hero .estate-copy {
  padding: clamp(3.75rem, 8vw, 7.5rem) 0 clamp(4rem, 8vw, 7rem);
  width: min(90%, 1280px);
  margin-inline: auto;
}
#hotel-hero .estate-place {
  font-size: .8rem;
  letter-spacing: .14em;
  color: #f1ddb1;
  margin-bottom: 1.2rem;
}
#hotel-hero .estate-copy h1 {
  max-width: min(100%, 13ch);
  font: 400 clamp(3.5rem, 6.7vw, 7.25rem)/1.02 var(--resort-serif);
  letter-spacing: -.052em;
  color: #fffdf6;
  text-wrap: initial;
}
#hotel-hero .estate-copy h1 em {
  display: block;
  font-family: inherit;
  color: #f1ddb1;
}
#hotel-hero .estate-deck {
  max-width: 43ch;
  color: #f5f2e8;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.58;
  margin: 1.35rem 0 1.6rem;
}
#hotel-hero .estate-copy .estate-primary {
  color: var(--resort-deep);
  background: var(--resort-sand);
  border-color: var(--resort-sand);
}
#hotel-hero .estate-copy .estate-primary:hover {
  background: #f6e8c9;
  border-color: #f6e8c9;
}
#hotel-hero .estate-copy .estate-link {
  color: #fffdf6;
  border-color: #f1ddb1a0;
}
#hotel-hero .estate-reserve {
  padding: clamp(1.5rem, 3vw, 2.5rem) 5vw;
  background: #f4f0e5;
  border: 0;
  scroll-margin-top: 10px;
}
#hotel-hero .estate-reserve-inner {
  gap: clamp(1rem, 3vw, 3rem);
  border: 1px solid #dcd8ca;
  border-radius: 10px;
  background: #fff;
  padding: clamp(1.1rem, 2.2vw, 2rem);
  box-shadow: 0 7px 22px #19382d0b;
}
#hotel-hero .estate-reserve h2 {
  color: var(--resort-forest);
  font-size: clamp(1.55rem, 2.3vw, 2.15rem);
}
#hotel-hero .estate-dates label { color: var(--resort-text); font-size: .875rem; }
#hotel-hero .estate-dates :is(input, select) {
  min-height: 46px;
  background: #fff;
  border-color: #b7c1b6;
  border-radius: 5px;
  padding-inline: .65rem;
}
#hotel-hero .estate-dates button { padding-inline: 1rem; }

.estate-jumps { background: #fff; border-color: var(--resort-border); }
.estate-jumps .container { gap: clamp(1.25rem, 3vw, 3rem); }
.estate-jumps a {
  font-size: .925rem;
  min-height: 48px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.estate-jumps a:hover { text-decoration: underline; }

#about-home.estate-story { background: #fff; }
.estate-story-heading { margin-bottom: clamp(1.25rem, 3vw, 2.4rem); }
.estate-story-heading h2, .resort-gallery-heading h2 {
  font-size: clamp(2.15rem, 4.6vw, 4.15rem);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.estate-story-heading p, .resort-gallery-heading p {
  max-width: 64ch;
  color: var(--resort-muted);
  line-height: 1.65;
}
.estate-story-card {
  overflow: hidden;
  border: 1px solid var(--resort-border);
  border-radius: 9px;
  background: var(--resort-ivory);
  padding-bottom: 1.1rem;
}
.estate-story-card img { border-radius: 0; aspect-ratio: 4 / 3; }
.estate-story-card h3, .estate-story-card p { margin-inline: 1rem; }
.estate-story-card h3 { margin-top: 1rem; }

#resort-main #rooms-showcase { background: var(--resort-ivory); }
#rooms-showcase .cl-card {
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.resort-room-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.resort-room-content {
  padding: clamp(1rem, 2.5vw, 2rem);
  display: flex;
  flex: 1;
  flex-direction: column;
}
.resort-room-content .cl-buttons { margin-top: auto; padding-top: .5rem; }
.resort-room-content .cl-spec { margin-bottom: .75rem; }

#resort-main #experiences {
  background: var(--resort-forest);
  color: #f7f2e5;
}
#resort-main #experiences :is(h2, h3) { color: #fffdf6; }
#resort-main #experiences .cl-list article { border-color: #ffffff50; }
#resort-main #experiences .cl-more { color: #f1ddb1; text-decoration-color: #f1ddb1; }
#resort-main #amenities-cards { background: #f2f1e8; }
#resort-main .estate-location { background: #eef1e9; }
#resort-main .estate-location img { border-radius: 9px; }
#resort-main #stay-guide .cl-faq { max-width: 840px; }

#gallery-showcase { padding-block: clamp(3rem, 6vw, 6rem); background: #fff; }
.resort-gallery-heading { margin-bottom: 1.75rem; }
.resort-gallery-heading h2 { margin-bottom: .7rem; color: var(--resort-forest); }
#resort-main #gallery-showcase .btn-gallery {
  background: var(--resort-forest);
  border-color: var(--resort-forest);
  color: #fff;
}

#resort-main #call-to-action {
  background: var(--resort-forest);
  color: #fffdf6;
}
#resort-main #call-to-action h2 { color: #fffdf6; }
#resort-main #call-to-action .cl-button {
  color: var(--resort-deep);
  background: var(--resort-sand);
}
#resort-main #call-to-action .cl-more { color: #f1ddb1; }
#footer { background: var(--resort-deep); }
#footer .footer-top { padding-block: clamp(2.5rem, 5vw, 4rem); }
#footer .footer-top a { text-underline-offset: .25em; }
#footer .footer-top a:hover { text-decoration: underline; }

@media (max-width: 1199px) {
  #header .navmenu { order: 3; }
  #header .btn-getstarted { margin-left: auto; }
}
@media (max-width: 900px) {
  #hotel-hero .estate-photo figcaption { bottom: .75rem; }
  #hotel-hero .estate-dates { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  #hotel-hero .estate-dates button { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  #hotel-hero .estate-copy h1 { font-size: clamp(2.95rem, 10.5vw, 4.75rem); }
  #hotel-hero .estate-photo figcaption { right: auto; left: 5vw; bottom: .75rem; padding-left: 0; background: transparent; }
  #hotel-hero .estate-photo figcaption span { display: none; }
  #hotel-hero .estate-dates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #hotel-hero .estate-reserve { padding-inline: 4vw; }
  .estate-story-card img { aspect-ratio: 16 / 10; }
}
@media (max-width: 420px) {
  #header .logo { gap: 0; }
  #header .logo .sitename { font-size: clamp(15px, 4.5vw, 20px) !important; }
  #header .btn-getstarted { padding-inline: .65rem; }
}

#hotel-hero .estate-copy { position: relative; z-index: 1; pointer-events: none; }
#hotel-hero .estate-copy > * { pointer-events: auto; }
#hotel-hero .estate-copy .estate-link { min-height: 44px; display: inline-flex; align-items: center; }

.resort-gallery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.resort-gallery-photo {
  position: relative;
  display: grid;
  min-height: clamp(235px, 28vw, 390px);
  overflow: hidden;
  align-items: end;
  isolation: isolate;
  border-radius: 9px;
  color: #fff;
  background: var(--resort-forest);
}
.resort-gallery-photo img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.resort-gallery-photo span {
  padding: 2rem 1rem 1rem;
  background: linear-gradient(transparent, #10291fee);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}
.resort-gallery-photo:hover span { text-decoration: underline; }
.resort-gallery-actions { margin-top: 1.35rem; }
.resort-gallery-actions .btn { display: inline-flex; align-items: center; padding-inline: 1rem; }

@media (max-width: 700px) {
  #hotel-hero .estate-intro { min-height: auto; align-items: stretch; }
  #hotel-hero .estate-photo {
    position: relative;
    grid-row: 1;
    height: clamp(205px, 53vw, 350px);
  }
  #hotel-hero .estate-photo img { object-position: 59% 70%; }
  #hotel-hero .estate-photo::after { background: linear-gradient(0deg, #0a1e17ae, #0a1e1700 30%); }
  #hotel-hero .estate-copy { padding: 1.85rem 0 2.35rem; }
  #hotel-hero .estate-copy h1 { max-width: 100%; }
  #hotel-hero .estate-deck { margin: 1rem 0 1.25rem; }
  .resort-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .resort-gallery-photo { min-height: clamp(155px, 35vw, 230px); }
  .resort-gallery-photo:first-child { grid-column: 1 / -1; min-height: clamp(200px, 49vw, 295px); }
}

body .sticky-whatsapp {
  right: 1rem;
  left: auto;
  bottom: 4.25rem;
  width: 46px;
  height: 46px;
  color: #fff;
  background: #1d6242;
  border: 1px solid #ffffffb8;
  font-size: 24px;
  box-shadow: 0 3px 12px #10291f35;
}
body .sticky-whatsapp:hover { color: #fff; background: #124731; }

@media (max-width: 700px) {
  body:has(#hotel-hero, #booking) .sticky-whatsapp {
    position: absolute;
    top: calc(68px + .75rem);
    right: .75rem;
    bottom: auto;
  }
}
