:root {
  --bg: #f7f4ee;
  --surface: #fffdf8;
  --ink: #172026;
  --muted: #59636d;
  --gold: #b48b4f;
  --gold-deep: #876630;
  --line: #e6ddcf;
  --shadow: 0 20px 40px rgba(23, 32, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 20% 0%, #fff8eb, var(--bg) 35%);
  line-height: 1.6;
}

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

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 5.5rem 0;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
  margin: 0 0 0.6rem;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 5rem);
}

h2 {
  font-size: clamp(2rem, 4.3vw, 3.2rem);
}

h3 {
  font-size: 1.8rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold-deep);
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.site-header {
  position: relative;
  color: #fff;
}

.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  color: #fff;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.nav-bar.scrolled {
  background: rgba(10, 18, 26, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.25);
}

.nav-top {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 1.1rem 2.5rem;
}

.nav-left {
  position: absolute;
  left: 2.5rem;
  display: flex;
  align-items: center;
}

.nav-right {
  position: absolute;
  right: 2.5rem;
  display: flex;
  align-items: center;
}

.nav-hamburger {
  background: none;
  border: none;
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: #fff;
  transition: transform 0.35s ease, opacity 0.35s ease;
  transform-origin: center;
}

.nav-hamburger.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.logo {
  color: #fff;
  text-decoration: none;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.nav-cta {
  color: #fff;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.5rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.nav-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.nav-links li {
  position: relative;
}

.nav-links li + li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.2);
}

.nav-links a {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.65rem 1.5rem;
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: #fff;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 18, 26, 0.97);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.nav-overlay ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.nav-overlay a {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  letter-spacing: 0.06em;
  padding: 0.7rem 2rem;
  transition: color 0.25s ease;
}

.nav-overlay a:hover {
  color: #fff;
}

body.nav-open {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slides img,
.hero-slides video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slides img.active,
.hero-slides video.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 18, 26, 0.56), rgba(10, 18, 26, 0.32));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  text-align: center;
}

.hero-content p {
  margin-inline: auto;
  max-width: 55ch;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-block;
  text-decoration: none;
  background: var(--gold);
  color: #111;
  font-weight: 700;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: #c79a57;
}

.btn-ghost,
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.btn-outline {
  white-space: nowrap;
}

.intro {
  margin-top: 5.5rem;
  text-align: center;
  max-width: 800px;
}

/* Quick-facts chips under the intro text */
.intro-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 0.7rem;
  margin-top: 1.6rem;
}

.ih-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  border: 1px solid rgba(180, 139, 79, 0.35);
  background: rgba(180, 139, 79, 0.07);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
  white-space: nowrap;
}

.ih-chip svg {
  flex-shrink: 0;
  color: var(--gold-deep);
}

@media (max-width: 520px) {
  .ih-chip { font-size: 0.8rem; padding: 0.4rem 0.75rem; }
}

.rooms {
  background: linear-gradient(180deg, #fffefb 0%, #f6efe4 100%);
}

.card-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.card {
  background: var(--surface);
  border-radius: 1.1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.card img {
  height: 235px;
  object-fit: cover;
}

.card-body {
  padding: 1.1rem;
}

.split-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2rem;
  align-items: center;
}

.split img {
  border-radius: 1.2rem;
  box-shadow: var(--shadow);
}

.split ul {
  padding-left: 1.2rem;
}

.amenities {
  background: linear-gradient(135deg, #13222a, #1f3a46);
  color: #f8fafb;
}

.amenities .eyebrow {
  color: #f3d8a5;
}

.amenity-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.amenity {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1rem;
  padding: 1.1rem;
}

.mosaic {
  margin-top: 2rem;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mosaic img {
  border-radius: 0.9rem;
  height: 260px;
  width: 100%;
  object-fit: cover;
}

.reviews {
  background: #fffdf8;
}

.review-grid {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

blockquote {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.2rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

cite {
  display: block;
  margin-top: 0.7rem;
  color: var(--muted);
  font-style: normal;
}

.booking-box {
  text-align: center;
  background: linear-gradient(135deg, #f8eddc, #fff8ea);
  border: 1px solid #ecdab8;
  border-radius: 1.2rem;
  padding: 2rem;
}

.site-footer {
  background: #10191f;
  color: #dbe4eb;
  padding: 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: center;
}

.site-footer a {
  color: #f3d8a5;
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .nav-links a {
    padding: 0.6rem 1rem;
    font-size: 0.63rem;
  }

  .card-grid,
  .review-grid,
  .mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(1120px, 86vw);
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-bottom {
    display: none;
  }

  .nav-top {
    padding: 0.9rem 1.2rem;
  }

  .nav-left {
    left: 1.2rem;
  }

  .nav-right {
    right: 1.2rem;
  }

  .nav-cta {
    font-size: 0.58rem;
    padding: 0.35rem 0.6rem;
    letter-spacing: 0.06em;
  }

  .logo {
    font-size: 1rem;
    letter-spacing: 0.06em;
  }

  .card-grid,
  .review-grid,
  .amenity-grid,
  .mosaic {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 92vh;
  }

  .carousel-arrow {
    width: 30px;
    height: 30px;
    font-size: 1.1rem;
  }
}

.card[data-room] {
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card[data-room]:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(23, 32, 38, 0.18);
}

.card-carousel {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  position: relative;
  height: 235px;
}

.carousel-track img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.carousel-track img.active {
  opacity: 1;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.25s ease, background-color 0.2s ease;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-carousel:hover .carousel-arrow {
  opacity: 1;
}

.carousel-arrow:hover {
  background: rgba(0, 0, 0, 0.78);
}

.carousel-prev {
  left: 8px;
}

.carousel-next {
  right: 8px;
}

.view-all-wrap {
  text-align: center;
  margin-top: 2rem;
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background: #2a3640;
  color: #fff;
}

/* ═══════════════════════════════
   CHECK AVAILABILITY BAR
   ═══════════════════════════════ */
.avail-bar-wrap {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  z-index: 10;
  width: min(1060px, 92vw);
}

.avail-bar {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.avail-field {
  flex: 1;
  padding: 1.15rem 1.6rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: background 0.2s;
  position: relative;
}

.avail-field:hover { background: #faf8f4; }
.avail-field.active { background: #f5f0e8; }

.avail-label {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.avail-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.avail-value.has-date { color: var(--gold-deep); }

.avail-divider {
  width: 1px;
  background: var(--line);
  margin: 0.9rem 0;
  flex-shrink: 0;
}

.avail-btn {
  background: var(--gold);
  color: #111;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  border: none;
  padding: 1.2rem 2.2rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
  flex-shrink: 0;
}

.avail-btn:hover { background: #c79a57; }

/* ── Dropdowns ── */
.avail-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  z-index: 20;
}

.avail-dropdown.open { display: block; }

/* ── Calendar dropdown ── */
.ab-calendar { padding: 1.6rem 2rem 1.4rem; }

.ab-cal-nav {
  position: absolute;
  top: 1.6rem;
  left: 1.6rem;
  right: 1.6rem;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 2;
}

.ab-nav-btn {
  pointer-events: auto;
  background: none;
  border: 1px solid var(--line);
  color: var(--ink);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
  line-height: 1;
  padding: 0;
}

.ab-nav-btn:hover { border-color: var(--gold); background: rgba(180, 139, 79, 0.06); }
.ab-nav-btn:disabled { opacity: 0.3; cursor: default; }

.ab-cal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.ab-title {
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.8rem;
  line-height: 34px;
}

.ab-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 0.25rem;
}

.ab-wd {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 0.3rem 0;
}

.ab-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.ab-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.15rem;
  border-radius: 0.4rem;
  cursor: pointer;
  transition: background 0.15s;
  min-height: 56px;
  user-select: none;
}

/* hover only with a real pointer — sticky hover hides taps on phones */
@media (hover: hover) {
  .ab-day:hover:not(.past):not(.empty):not(.unavailable):not(.endpoint) { background: rgba(180, 139, 79, 0.08); }
}
.ab-day.empty { cursor: default; }
.ab-day.past { cursor: default; opacity: 0.3; }

.ab-num {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  line-height: 1;
  transition: background 0.15s, color 0.15s;
}

.ab-price {
  font-size: 0.6rem;
  color: var(--muted);
  line-height: 1;
  margin-top: 2px;
  white-space: nowrap;
  font-weight: 500;
}

.ab-day.endpoint { background: var(--gold); border-radius: 4px; }
.ab-day.endpoint .ab-num { background: none; color: #fff; }
.ab-day.endpoint .ab-price { color: #fff; font-weight: 600; }
.ab-day.in-range { background: rgba(180, 139, 79, 0.15); }
.ab-day.in-range .ab-num { color: var(--gold-deep); }
/* Best-value dates: the lowest nightly price among the visible months */
.ab-day.ab-lowprice:not(.endpoint):not(.in-range) { background: rgba(31, 138, 76, 0.1); border-radius: 4px; }
.ab-day.ab-lowprice:not(.endpoint) .ab-price { color: #1f8a4c; font-weight: 700; }
.ab-day.unavailable { cursor: default; opacity: 0.5; }
.ab-day.unavailable:hover { background: none; }
.ab-day.unavailable .ab-num { color: #c0392b; }
.ab-unavail { font-size: 0.65rem; font-weight: 700; color: #c0392b; line-height: 1; margin-top: 2px; }

/* ── Guest dropdown ── */
.ab-guests {
  padding: 1.4rem 1.6rem;
  right: 0;
  left: auto;
  min-width: 300px;
}

.ab-guest-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}

.ab-guest-row:last-of-type { border-bottom: none; }

.ab-guest-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.ab-stepper {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.ab-stepper span {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  min-width: 1.6rem;
  text-align: center;
}

.ab-step-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: none;
  color: var(--ink);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
  line-height: 1;
  padding: 0;
}

.ab-step-btn:hover { border-color: var(--gold); background: rgba(180, 139, 79, 0.06); }

.ab-guest-done {
  width: 100%;
  margin-top: 0.8rem;
  padding: 0.7rem;
  background: var(--gold);
  color: #111;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s;
}

.ab-guest-done:hover { background: #c79a57; }

#ab-child-ages { padding: 0 0.2rem; }
.ab-ages-title { font-size: 0.75rem; font-weight: 600; color: var(--gold); margin: 0.5rem 0 0.3rem; text-transform: uppercase; letter-spacing: 0.05em; }
.ab-age-row { display: flex; align-items: center; justify-content: space-between; padding: 0.25rem 0; }
.ab-age-row span { font-size: 0.82rem; color: var(--ink); }
.ab-age-row select { padding: 0.3rem 0.4rem; border: 1px solid var(--line); border-radius: 5px; font-size: 0.82rem; background: #fff; min-width: 50px; }

/* ── Responsive avail bar ── */
@media (max-width: 960px) {
  .ab-guests { min-width: 260px; }
}

@media (max-width: 700px) {
  .avail-bar-wrap {
    position: relative;
    left: auto;
    transform: translateY(-2rem);
    width: 92vw;
    margin: 0 auto;
  }

  .avail-bar {
    flex-direction: column;
    border-radius: 1rem;
  }

  .avail-field { padding: 0.9rem 1.2rem; }

  .avail-divider {
    width: auto;
    height: 1px;
    margin: 0 1rem;
  }

  .avail-btn {
    padding: 1rem;
    border-radius: 0;
    text-align: center;
  }

  .avail-dropdown { position: fixed; top: auto; bottom: 0; left: 0; right: 0; border-radius: 1rem; max-height: 80vh; overflow-y: auto; }
  .ab-calendar { padding: 1rem; }
  .ab-cal-grid { grid-template-columns: 1fr; gap: 1rem; }
  .ab-month:last-child { display: none; }
  .ab-cal-nav { top: 1rem; left: 0.8rem; right: 0.8rem; }
  .ab-guests { min-width: auto; }

  .intro { margin-top: 1.5rem; }
}

/* ── Back to top ── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--gold);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
  z-index: 90;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--gold-deep); transform: translateY(-2px); }
