/* =====================================================
   DESIGN TOKENS
   ===================================================== */
:root {
  --sand:       #faf6ee;
  --cream:      #fffdf6;
  --card:       rgba(255, 255, 255, 0.93);
  --teal:       #0d766f;
  --teal-dark:  #085e58;
  --teal-soft:  rgba(13, 118, 111, 0.1);
  --gold:       #c4851a;
  --gold-soft:  rgba(196, 133, 26, 0.12);
  --ink:        #1c2b36;
  --muted:      #587080;
  --border:     rgba(28, 43, 54, 0.1);
  --shadow-sm:  0 2px 10px rgba(28, 43, 54, 0.07);
  --shadow-md:  0 8px 28px rgba(28, 43, 54, 0.11);
  --shadow-lg:  0 20px 60px rgba(28, 43, 54, 0.15);
  --success:    #0f7a50;
  --danger:     #cc4537;
  --free-bg:    #eaf7f1;
  --booked-bg:  #feefed;
  --radius-xl:  28px;
  --radius-lg:  20px;
  --radius-md:  14px;
  --radius-sm:  10px;
}

/* =====================================================
   RESET & BASE
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  color: var(--ink);
  background: var(--sand);
  font-family: "Noto Sans Thai", "Segoe UI", system-ui, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

h1, h2, h3 {
  font-family: "Noto Serif Thai", Georgia, serif;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 5vw, 5.5rem); line-height: 0.94; }
h2 { font-size: clamp(1.3rem, 2.2vw, 2rem); line-height: 1.1; }

/* =====================================================
   BUTTONS
   ===================================================== */
.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: none;
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), #0a5080);
  box-shadow: 0 8px 24px rgba(13, 118, 111, 0.3);
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s;
  white-space: nowrap;
}
.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(13, 118, 111, 0.38);
}
.primary-btn--hero    { min-height: 56px; padding: 0 32px; font-size: 1.06rem; }
.primary-btn--large   { min-height: 56px; padding: 0 36px; font-size: 1.06rem; }
.primary-btn--white {
  background: #fff;
  color: var(--teal);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
.primary-btn--white:hover { box-shadow: 0 14px 36px rgba(0,0,0,0.24); }

.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: transform 0.18s, background 0.18s;
  white-space: nowrap;
}
.ghost-btn:hover { transform: translateY(-2px); background: rgba(255,255,255,0.2); }

.ghost-btn--outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.9);
}

.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(13, 118, 111, 0.16);
  background: rgba(13, 118, 111, 0.08);
  color: var(--teal-dark);
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.18s, background 0.18s, border-color 0.18s;
}

.secondary-btn:hover {
  transform: translateY(-1px);
  background: rgba(13, 118, 111, 0.12);
  border-color: rgba(13, 118, 111, 0.24);
}

/* =====================================================
   TYPOGRAPHY HELPERS
   ===================================================== */
.section-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--teal);
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 900;
}
.section-kicker--light { color: rgba(255, 255, 255, 0.6); }

/* =====================================================
   NAVBAR
   ===================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(250, 246, 238, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.navbar.scrolled {
  background: rgba(250, 246, 238, 0.97);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-md);
}
.navbar__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.navbar__brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--teal);
  white-space: nowrap;
  flex-shrink: 0;
}
.navbar__icon { width: 20px; height: 20px; flex-shrink: 0; }
.navbar__links {
  display: flex;
  gap: 2px;
  margin-left: auto;
}
.navbar__links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--muted);
  transition: color 0.18s, background 0.18s;
}
.navbar__links a:hover { color: var(--teal); background: var(--teal-soft); }
.navbar__cta-btn {
  margin-left: 14px;
  min-height: 40px;
  padding: 0 18px;
  font-size: 0.88rem;
}

/* =====================================================
   HERO BANNER
   ===================================================== */
.hero-banner {
  position: relative;
  width: 100%;
  height: 88vh;
  min-height: 580px;
  max-height: 920px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Background media fills the banner */
.hero-banner__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-banner__bg .hero-frame {
  height: 100%;
  width: 100%;
  border-radius: 0;
  border: none;
  box-shadow: none;
  aspect-ratio: unset;
}
.hero-banner__bg .hero-frame img,
.hero-banner__bg .hero-frame video,
.hero-banner__bg .hero-frame iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.hero-banner__bg .hero-frame__overlay { display: none; }

/* Gradient overlay */
.hero-banner__gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(8, 18, 26, 0.18) 0%,
    rgba(8, 18, 26, 0.05) 28%,
    rgba(8, 18, 26, 0.4)  65%,
    rgba(8, 18, 26, 0.82) 100%
  );
}

/* Text content */
.hero-banner__content {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 0 32px 100px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.hero-banner__content h1 {
  color: #fff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  max-width: 14ch;
  margin-bottom: 16px;
}
.hero-desc {
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(0.98rem, 1.5vw, 1.15rem);
  line-height: 1.75;
  max-width: 52ch;
  margin-bottom: 28px;
}

.hero-note {
  max-width: 48ch;
  margin: -10px 0 28px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.98rem;
  line-height: 1.75;
  font-weight: 700;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Feature chips bar at bottom of hero */
.hero-chips-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  background: rgba(8, 18, 26, 0.72);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-chips-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.chip {
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
}

/* =====================================================
   STATS STRIP
   ===================================================== */
.stats-strip {
  background: var(--teal);
}
.stats-strip__inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stats-strip .stat {
  padding: 22px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  background: none;
  border-radius: 0;
  border-top: none;
  border-bottom: none;
  border-left: none;
  text-align: center;
}
.stats-strip .stat:last-child { border-right: none; }
.stats-strip .stat__label { color: rgba(255, 255, 255, 0.68); font-size: 0.8rem; }
.stats-strip .stat__value { color: #fff; font-size: 1.45rem; font-weight: 900; margin-top: 4px; }

/* =====================================================
   PAGE SHELL
   ===================================================== */
.page-shell {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 40px 0 24px;
  display: grid;
  gap: 24px;
}

/* =====================================================
   CARD
   ===================================================== */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-xl);
}

/* =====================================================
   OVERVIEW GRID
   ===================================================== */
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.info-panel,
.detail-card,
.gallery-section,
.availability-card,
.video-section { padding: 28px; }

.accent-panel {
  background: linear-gradient(
    150deg,
    rgba(255, 255, 255, 0.97),
    rgba(255, 250, 242, 0.92)
  );
  border-color: rgba(13, 118, 111, 0.13);
}

.info-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.info-tile {
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(250, 246, 238, 0.85);
  border: 1px solid var(--border);
}
.info-tile__label { color: var(--muted); font-size: 0.8rem; }
.info-tile__value { margin-top: 6px; font-size: 1.08rem; font-weight: 900; }

.benefit-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}
.benefit-list li {
  padding: 13px 16px 13px 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  position: relative;
  line-height: 1.65;
  font-size: 0.94rem;
}
.benefit-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 19px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), #0a5080);
  box-shadow: 0 0 0 5px rgba(13, 118, 111, 0.1);
}

/* =====================================================
   SECTION HEAD
   ===================================================== */
.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.section-head__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-left: auto;
}
.section-meta { color: var(--muted); font-size: 0.9rem; }

/* =====================================================
   GALLERY
   ===================================================== */
.gallery-section { overflow: hidden; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px;
}
.gallery-item {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(28, 43, 54, 0.07);
  background: #cddee3;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
}
.gallery-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.gallery-item img, .gallery-item video { width: 100%; height: 100%; object-fit: cover; }
.gallery-item .gallery-video-thumb {
  position: relative;
  width: 100%;
  height: 100%;
}
.gallery-item .gallery-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-video-thumb__play {
  position: absolute;
  left: 14px;
  bottom: 14px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(6, 18, 28, 0.76);
  color: #fff;
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
}
.gallery-item--wide { grid-column: span 6; }
.gallery-item--half { grid-column: span 3; }
.gallery-item--tall { grid-row: span 2; min-height: 450px; }
.gallery-item__meta {
  position: absolute;
  inset: auto 12px 12px;
  padding: 9px 12px;
  border-radius: 14px;
  background: rgba(6, 18, 28, 0.72);
  color: #fff;
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.gallery-item__meta small { opacity: 0.78; font-size: 0.78rem; }
.gallery-item__badge {
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.76rem;
  white-space: nowrap;
}

/* =====================================================
   CONTENT GRID (availability + sidebar)
   ===================================================== */
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.85fr);
  gap: 24px;
  align-items: start;
}

/* =====================================================
   AVAILABILITY / CALENDAR
   ===================================================== */
.search-field {
  display: grid;
  gap: 6px;
  min-width: 220px;
}
.search-field span { color: var(--muted); font-size: 0.84rem; font-weight: 700; }
.search-field input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(28, 43, 54, 0.14);
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  transition: border-color 0.18s, box-shadow 0.18s;
}
.search-field input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13, 118, 111, 0.12);
}

.search-result {
  margin-bottom: 20px;
  padding: 15px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border);
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.93rem;
  min-height: 52px;
}

.search-result__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.search-result__title {
  color: var(--ink);
  font-size: 1rem;
}

.search-result__price {
  margin-top: 10px;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 900;
}

.search-result__deposit,
.search-result__meta {
  margin-top: 6px;
}

.search-section {
  padding: 24px;
  display: grid;
  gap: 16px;
  scroll-margin-top: 88px;
}

.search-section--featured {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(250, 246, 238, 0.92));
  border-color: rgba(13, 118, 111, 0.12);
  box-shadow: 0 18px 40px rgba(28, 43, 54, 0.1);
}

.search-section__desc {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.95rem;
}

.search-field--inline {
  min-width: 240px;
}

.search-inline {
  display: flex;
  gap: 12px;
  align-items: end;
  flex-wrap: wrap;
}

.search-btn {
  min-height: 46px;
  padding-inline: 18px;
}

.gallery-cta {
  min-height: 42px;
}

.monthly-calendar-section {
  padding: 24px;
  display: grid;
  gap: 16px;
}

.monthly-calendar-detail {
  display: grid;
  gap: 16px;
}

.monthly-calendar-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
}

.calendar-day {
  min-height: 72px;
  padding: 12px 10px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.85);
  display: grid;
  gap: 6px;
  align-content: start;
}

.calendar-day--label {
  min-height: auto;
  padding: 10px 8px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.calendar-day--empty {
  min-height: 72px;
  border: none;
  background: transparent;
  box-shadow: none;
}

.calendar-day--free {
  background: var(--free-bg);
  border-color: rgba(15, 122, 80, 0.18);
}

.calendar-day--booked {
  background: var(--booked-bg);
  border-color: rgba(204, 69, 55, 0.18);
}

.calendar-day__num {
  font-weight: 900;
  font-size: 1rem;
}

.calendar-day__status {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--muted);
}

.calendar-day--free .calendar-day__status {
  color: var(--success);
}

.calendar-day--booked .calendar-day__status {
  color: var(--danger);
}

.calendar-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 16px;
}
.year-panel {
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
}
.year-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.86rem;
}
.year-panel__head strong { color: var(--ink); }
.year-list { display: grid; gap: 8px; }
.year-btn {
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.18s, background 0.18s, border-color 0.18s;
}
.year-btn:hover { transform: translateY(-1px); }
.year-btn strong { display: block; font-size: 1rem; font-weight: 900; }
.year-btn span { display: block; margin-top: 5px; color: var(--muted); font-size: 0.82rem; line-height: 1.5; }
.year-btn.active {
  background: linear-gradient(135deg, rgba(13, 118, 111, 0.1), rgba(10, 80, 128, 0.07));
  border-color: rgba(13, 118, 111, 0.24);
}

.calendar-panel { display: grid; gap: 14px; }
.month-rail {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 10px;
}
.month-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.82);
  padding: 16px;
  cursor: pointer;
  text-align: left;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
}
.month-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.month-card.active {
  background: linear-gradient(135deg, rgba(13, 118, 111, 0.1), rgba(10, 80, 128, 0.07));
  border-color: rgba(13, 118, 111, 0.24);
}
.month-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.month-card__name { font-weight: 900; font-size: 0.96rem; }
.month-card__meta { margin-top: 6px; color: var(--muted); font-size: 0.82rem; }

.pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--teal);
  background: var(--teal-soft);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}
.bar {
  margin-top: 12px;
  height: 7px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(28, 43, 54, 0.08);
}
.bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #1a9470, #5dc98a);
  border-radius: inherit;
  transition: width 0.5s ease;
}

/* Month detail */
.month-detail { display: grid; gap: 14px; padding-top: 4px; }
.detail-head {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.detail-head p { margin: 6px 0 0; color: var(--muted); line-height: 1.65; font-size: 0.9rem; }
.detail-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.detail-stat {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border);
}
.detail-stat span { color: var(--muted); font-size: 0.82rem; }
.detail-stat strong { display: block; margin-top: 5px; font-size: 1.22rem; font-weight: 900; }

.table-wrap {
  overflow: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.78);
}
table { width: 100%; min-width: 800px; border-collapse: collapse; }
th, td {
  padding: 13px 16px;
  border-bottom: 1px solid rgba(28, 43, 54, 0.07);
  text-align: left;
  vertical-align: top;
}
th {
  position: sticky;
  top: 0;
  background: rgba(247, 244, 238, 0.98);
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 900;
}
tbody tr:hover { background: rgba(13, 118, 111, 0.035); }
.row-free    { background: rgba(234, 247, 241, 0.65); }
.row-booked  { background: rgba(254, 239, 237, 0.7); }
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.79rem;
  font-weight: 800;
}
.status-badge.free   { color: var(--success); background: var(--free-bg); }
.status-badge.booked { color: var(--danger);  background: var(--booked-bg); }

/* =====================================================
   SIDEBAR
   ===================================================== */
.sidebar-stack { display: grid; gap: 20px; }
.detail-list { margin-top: 16px; display: grid; gap: 9px; }
.detail-row {
  padding: 13px 15px;
  border-radius: var(--radius-md);
  background: rgba(250, 246, 238, 0.85);
  border: 1px solid var(--border);
}
.detail-row__label { color: var(--muted); font-size: 0.8rem; }
.detail-row__value { margin-top: 5px; font-weight: 800; line-height: 1.5; font-size: 0.93rem; }

.amenity-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.amenity-pill {
  padding: 12px 10px;
  border-radius: var(--radius-md);
  background: rgba(250, 246, 238, 0.85);
  border: 1px solid var(--border);
  text-align: center;
  font-weight: 700;
  font-size: 0.86rem;
  line-height: 1.5;
}

.policy-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.policy-list li {
  padding: 13px 15px 13px 42px;
  border-radius: var(--radius-md);
  background: rgba(250, 246, 238, 0.85);
  border: 1px solid var(--border);
  position: relative;
  line-height: 1.65;
  font-size: 0.91rem;
}
.policy-list li::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), #0a5080);
  box-shadow: 0 0 0 4px rgba(13, 118, 111, 0.1);
}

/* =====================================================
   VIDEO
   ===================================================== */
.video-section { display: grid; gap: 16px; }
.video-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #c8dde4;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.video-wrap video,
.video-wrap iframe,
.video-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 240px;
  border: 0;
  display: block;
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */
.contact-section {
  background: linear-gradient(135deg, #0a4e48 0%, #0b3d5c 100%);
  padding: 72px 28px;
}
.contact-section__inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}
.contact-title {
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  margin-top: 10px;
  line-height: 1.1;
}
.contact-desc {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
  max-width: 44ch;
  font-size: 0.97rem;
}
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--ink);
  padding: 24px 28px;
}
.footer__inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 900;
  font-size: 1rem;
}
.footer__meta { color: rgba(255, 255, 255, 0.45); font-size: 0.86rem; }

/* =====================================================
   RESPONSIVE — 1080px
   ===================================================== */
@media (max-width: 1080px) {
  .overview-grid,
  .content-grid,
  .calendar-layout {
    grid-template-columns: 1fr;
  }
  .sidebar-stack { grid-template-columns: repeat(2, 1fr); }
  .stats-strip__inner { grid-template-columns: repeat(2, 1fr); }
  .stats-strip .stat:nth-child(2) { border-right: none; }
  .stats-strip .stat:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.14); }
}

/* =====================================================
   RESPONSIVE — 768px
   ===================================================== */
@media (max-width: 768px) {
  .navbar__inner {
    height: auto;
    padding: 12px 16px;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .navbar__links { display: none; }
  .navbar__cta-btn {
    margin-left: auto;
    min-height: 38px;
    padding: 0 14px;
    font-size: 0.82rem;
  }
  .hero-banner {
    min-height: 520px;
    height: 72svh;
  }
  .hero-banner__content { padding: 0 18px 92px; }
  .hero-banner__content h1 { max-width: 12ch; }
  .info-grid, .detail-stats, .amenity-grid, .sidebar-stack {
    grid-template-columns: 1fr;
  }
  .section-head {
    flex-direction: column;
  }
  .section-head__actions {
    margin-left: 0;
    width: 100%;
    justify-content: flex-start;
  }
  .search-inline {
    width: 100%;
  }
  .monthly-calendar-summary {
    grid-template-columns: 1fr;
  }
  .calendar-grid {
    gap: 6px;
  }
  .gallery-item--wide,
  .gallery-item--half,
  .gallery-item--tall {
    grid-column: span 12;
    grid-row: auto;
    min-height: 230px;
  }
  .gallery-grid { grid-template-columns: 1fr; }
  .contact-section__inner { flex-direction: column; text-align: center; }
  .contact-desc { max-width: 100%; }
  .contact-actions { justify-content: center; }
}

/* =====================================================
   RESPONSIVE — 640px
   ===================================================== */
@media (max-width: 640px) {
  .page-shell { width: calc(100% - 20px); padding: 20px 0 16px; gap: 16px; }
  h1 { font-size: 2.3rem; }
  .info-panel, .detail-card, .gallery-section,
  .availability-card, .video-section,
  .monthly-calendar-section { padding: 18px; }
  .search-section { padding: 18px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .primary-btn--hero, .ghost-btn { width: 100%; justify-content: center; }
  .search-inline { flex-direction: column; align-items: stretch; }
  .search-field--inline { min-width: 0; width: 100%; }
  .search-btn, .gallery-cta, .navbar__cta-btn { width: 100%; }
  .stats-strip__inner { grid-template-columns: 1fr; }
  .stats-strip .stat { border-right: none; }
  .stats-strip .stat + .stat { border-top: 1px solid rgba(255,255,255,0.14); }
  .calendar-layout { grid-template-columns: 1fr; }
  .monthly-calendar-summary { grid-template-columns: 1fr; }
  .calendar-grid { gap: 5px; }
  .hero-chips-inner { padding: 10px 20px; }
  .hero-banner__content h1 { max-width: 11ch; }
  .contact-section { padding: 48px 20px; }
  .video-wrap iframe,
  .video-embed {
    min-height: 220px;
  }
}
