/* ==========================================================================
   1onSteenbok – The Residence & Luxury Suites
   Silver Lakes Golf & Wildlife Estate, Pretoria East
   Theme v3: Warm Creamy Ivory Luxury (Royal Navy & Crimson Accents)
   Palette: Warm Creamy White (#F9F6F0 / #FAF8F5) · Soft Linen Ivory (#EFEBE2)
            Deep Royal Navy (#0B1529 / #0E1C3A) · Rich Crimson Red (#C0182B / #D94050)
            Warm Charcoal Navy Text (#2B3340 / #525B6A)
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties — Warm Creamy Ivory, Royal Navy & Crimson
   -------------------------------------------------------------------------- */
:root {
  /* Warm Creamy Ivory Canvas & Surfaces (Gentle on the eyes, zero glare) */
  --canvas:         #F9F6F0;   /* Warm Creamy Alabaster Canvas */
  --canvas-alt:     #EFEBE2;   /* Soft Linen Cream for alternate sections */
  --canvas-subtle:  #E8E3D7;   /* Warm Muted Biscuit Cream */
  --surface:        #FAF8F5;   /* Refined Creamy Card Surface */
  --surface-hover:  #F2EDE2;   /* Card Hover State */
  --surface-light:  #EFEBE2;   /* Controls & Inner Boxes */
  --surface-border: rgba(11, 21, 41, 0.10); /* Soft Architectural Border */

  /* Secondary: Deep Royal & Midnight Navy (Headings, Structural Contrast) */
  --navy:           #0B1529;   /* Midnight Navy */
  --navy-royal:     #0E1C3A;   /* Deep Royal Navy */
  --navy-accent:    #1E3A8A;   /* Royal Blue Accent */
  --navy-border:    rgba(11, 21, 41, 0.14);

  /* Secondary / Action: Rich Crimson & Burgundy Red (CTAs, Badges, Highlights) */
  --crimson:        #C0182B;   /* Primary Crimson CTA */
  --crimson-light:  #D94050;   /* Bright Crimson Hover */
  --crimson-dark:   #8C0F1E;   /* Deep Burgundy */
  --crimson-border: rgba(192, 24, 43, 0.30);
  --crimson-glow:   0 0 25px rgba(192, 24, 43, 0.25);

  /* Typography Colors */
  --text-primary:   #0B1529;   /* Deepest Navy for maximum contrast */
  --text-heading:   #0E1C3A;   /* Royal Navy Headings */
  --text-body:      #1F2937;   /* High-contrast charcoal */   /* Warm Charcoal Navy (Smooth, zero fatigue) */
  --text-muted:     #475569;   /* High-contrast slate */   /* Muted Slate Charcoal */
  --text-white:     #FFFFFF;   /* Crisp White on crimson/navy buttons */

  /* Typography Families */
  --font-editorial: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-serif:     'Playfair Display', Georgia, serif;
  --font-body:      'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Liquid Glass (Warm Frosted Creamy Glass) */
  --glass-bg:       rgba(249, 246, 240, 0.92);
  --glass-bg-heavy: rgba(250, 248, 245, 0.97);
  --glass-border:   rgba(11, 21, 41, 0.10);
  --glass-blur:     blur(20px) saturate(180%);
  --glass-shadow:   0 10px 30px rgba(11, 21, 41, 0.06), 0 1px 3px rgba(11, 21, 41, 0.04);

  --radius:         6px;
}

/* --------------------------------------------------------------------------
   Reset & Base Canvas
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--canvas);
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.68;
  background-color: var(--canvas);
  color: var(--text-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --------------------------------------------------------------------------
   Liquid Glass Utility Classes (Creamy Frosted Glass)
   -------------------------------------------------------------------------- */
.liquid-glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.liquid-glass-heavy {
  background: var(--glass-bg-heavy);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid rgba(11, 21, 41, 0.14);
  box-shadow: 0 20px 45px rgba(11, 21, 41, 0.10), 0 4px 12px rgba(11, 21, 41, 0.05);
}

/* --------------------------------------------------------------------------
   Typography (Cinzel + Plus Jakarta Sans)
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6,
.font-cinzel,
.font-heading {
  font-family: var(--font-editorial);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-heading);
  line-height: 1.25;
}

.font-serif {
  font-family: var(--font-serif);
}

p, li, span, label, td, th {
  font-family: var(--font-body);
}

.eyebrow-gold {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--crimson);
  display: inline-block;
}

/* --------------------------------------------------------------------------
   Top Utility Bar (Deep Midnight Navy Anchor)
   -------------------------------------------------------------------------- */
.palms-top-bar {
  background: #0B1529;
  border-bottom: 1px solid rgba(192, 24, 43, 0.35);
  min-height: 42px;
  display: flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #C8D2E6;
  padding: 6px 24px;
  position: relative;
  z-index: 50;
}

@media (max-width: 991px) {
  .palms-top-bar {
    padding: 8px 16px;
    font-size: 11.5px;
  }
}

.utility-assurance {
  color: #F9F6F0;
  line-height: 1.45;
}

.utility-address {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #F1EDE6;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.45;
  text-decoration: none;
}

.utility-address:hover,
.utility-address:focus-visible {
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.utility-address:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 3px;
}

@media (max-width: 639px) {
  .top-utility-details {
    width: 100%;
  }

  .utility-address {
    padding-left: 1.25rem;
  }
}

/* --------------------------------------------------------------------------
   Site Header (Creamy Frosted Liquid Glass)
   -------------------------------------------------------------------------- */
.site-header {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(249, 246, 240, 0.72));
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.78);
  position: sticky;
  top: 0;
  z-index: 100;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  box-shadow: 0 8px 28px rgba(11, 21, 41, 0.075), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transition: all 0.3s ease;
}

.site-nav-glass {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.3rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 999px;
  background: linear-gradient(155deg, rgba(255,255,255,0.20), rgba(255,255,255,0.045) 48%, rgba(3,10,24,0.16)), rgba(11,21,41,0.82);
  box-shadow: 0 10px 30px rgba(11,21,41,0.22), inset 0 1px 0 rgba(255,255,255,0.56), inset 0 -1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(30px) saturate(190%);
  -webkit-backdrop-filter: blur(30px) saturate(190%);
}

@media (max-width: 991px) {
  .site-header {
    height: 74px;
    padding: 0 16px;
  }
}

.site-header > div {
  min-width: 0;
  max-width: 100%;
}

.brand-lockup {
  gap: 0.14rem;
  min-width: 0;
  line-height: 1.3;
  font-variant-numeric: lining-nums;
}

.brand-lockup-name {
  color: #0B1529;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-lockup-estate {
  color: #A41426;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
}

.brand-lockup-location {
  color: #3E4A5A;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

@media (min-width: 768px) and (max-width: 1100px) {
  .brand-lockup-name { font-size: 13px; }
  .brand-lockup-estate { font-size: 10px; }
  .brand-lockup-location { font-size: 12px; }
}

.nav-link {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #F9F6F0;
  text-decoration: none;
  white-space: nowrap;
  padding: 0.45rem 0.55rem;
  position: relative;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .site-header {
    padding: 0 12px;
  }

  .site-header button[aria-label="Open Guest Concierge"] {
    display: none !important;
  }

  nav.site-nav-glass {
    gap: 0.12rem !important;
    padding: 0.2rem 0.35rem !important;
    flex-shrink: 1;
  }

  nav.site-nav-glass .nav-link {
    padding: 0.32rem 0.32rem !important;
    font-size: 8.5px !important;
    letter-spacing: 0.01em !important;
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .site-header {
    padding: 0 16px;
  }

  .site-header button[aria-label="Open Guest Concierge"] {
    display: none !important;
  }

  nav.site-nav-glass {
    gap: 0.18rem !important;
    padding: 0.25rem 0.45rem !important;
    flex-shrink: 1;
  }

  nav.site-nav-glass .nav-link {
    padding: 0.38rem 0.42rem !important;
    font-size: 9.5px !important;
    letter-spacing: 0.02em !important;
  }
}

@media (min-width: 1400px) and (max-width: 1599px) {
  .site-header {
    padding: 0 20px;
  }

  .site-header button[aria-label="Open Guest Concierge"] {
    display: none !important;
  }

  nav.site-nav-glass {
    gap: 0.25rem !important;
    padding: 0.3rem 0.55rem !important;
  }

  nav.site-nav-glass .nav-link {
    padding: 0.44rem 0.52rem !important;
    font-size: 10.5px !important;
    letter-spacing: 0.025em !important;
  }
}

@media (min-width: 1600px) {
  .site-header {
    padding: 0 24px;
  }

  nav.site-nav-glass {
    gap: 0.35rem !important;
    padding: 0.32rem 0.65rem !important;
  }

  nav.site-nav-glass .nav-link {
    padding: 0.52rem 0.65rem !important;
    font-size: 11.5px !important;
    letter-spacing: 0.035em !important;
  }
}

.nav-link::after {
  content: none;
}

.nav-link:hover {
  color: var(--navy);
  border-color: rgba(255,255,255,0.98);
  background: linear-gradient(145deg, rgba(255,255,255,0.98), rgba(230,236,246,0.78));
  box-shadow: 0 4px 14px rgba(0,0,0,0.20), inset 0 1px 0 #FFFFFF, inset 0 -1px 0 rgba(11,21,41,0.08);
  transform: translateY(-1px);
}

.nav-link:active {
  transform: translateY(0) scale(0.97);
}

.nav-link:focus-visible {
  outline: 2px solid var(--crimson);
  outline-offset: 4px;
}

/* --------------------------------------------------------------------------
   Buttons — Crimson Primary & Navy Outlines
   -------------------------------------------------------------------------- */
.btn-gold,
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.75rem;
  background-color: var(--crimson);
  color: #FFFFFF !important;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  border: 1px solid var(--crimson);
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(192, 24, 43, 0.28);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  white-space: nowrap;
  background-image: linear-gradient(135deg, rgba(255,255,255,0.16), transparent 55%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-gold:hover,
.btn-primary:hover {
  background-color: var(--crimson-light);
  color: #FFFFFF !important;
  border-color: var(--crimson-light);
  box-shadow: 0 6px 20px rgba(192, 24, 43, 0.40);
  transform: translateY(-1px);
}

.btn-gold:focus-visible,
.btn-primary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(192, 24, 43, 0.35);
}

.btn-secondary,
.btn-outline,
.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.65rem;
  background-color: var(--surface);
  color: var(--navy) !important;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  border: 1.5px solid var(--navy);
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  background-image: linear-gradient(145deg, rgba(255,255,255,0.85), rgba(250,248,245,0.62));
  backdrop-filter: blur(14px) saturate(135%);
  -webkit-backdrop-filter: blur(14px) saturate(135%);
  box-shadow: 0 2px 8px rgba(11, 21, 41, 0.06);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  white-space: nowrap;
}

.btn-secondary:hover,
.btn-outline:hover,
.btn-dark:hover {
  background-color: var(--navy);
  color: #FFFFFF !important;
  border-color: var(--navy);
  box-shadow: 0 6px 18px rgba(11, 21, 41, 0.22);
  transform: translateY(-1px);
}

.btn-white-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.65rem;
  background-color: rgba(249, 246, 240, 0.25);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #FFFFFF !important;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  border: 1.5px solid rgba(255, 255, 255, 0.80);
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-white-glass:hover {
  background-color: #FFFFFF;
  color: var(--navy) !important;
  border-color: #FFFFFF;
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   Badges / Gold-Divider
   -------------------------------------------------------------------------- */
.gold-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background-color: var(--canvas-alt);
  color: var(--navy);
  border: 1px solid rgba(11, 21, 41, 0.14);
  border-left: 3px solid var(--crimson);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  box-shadow: 0 2px 6px rgba(11, 21, 41, 0.04);
}

.gold-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--crimson), transparent);
  margin: 1.25rem auto;
}

.gold-divider-left {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--crimson), transparent);
  margin: 1.25rem 0;
}

/* --------------------------------------------------------------------------
   HERO PHOTO GALLERY SLIDESHOW — GPU Accelerated Ken Burns
   -------------------------------------------------------------------------- */
.hero-media-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  background-color: #0B1529;
  transform: translateZ(0);
  will-change: transform;
}

.hero-media-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.6s;
  will-change: opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.hero-media-layer.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-panorama-layer {
  position: absolute;
  z-index: 2;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 1.2s cubic-bezier(.4,0,.2,1), visibility 1.2s;
  background: #0B1529;
}
.hero-panorama-layer.active { opacity: 1; visibility: visible; }
#heroPanoramaStill { position:absolute; inset:0; background-position:center; background-size:cover; }
#heroPanoramaStill::after { content:""; position:absolute; inset:0; background:rgba(11,21,41,.12); }
#heroPanoramaViewer {
  pointer-events:auto;
  position:absolute;
  z-index:1;
  top:clamp(5rem,12vh,7rem);
  left:clamp(1rem,3vw,2.5rem);
  width:min(38vw,var(--hero-pano-native-width,688px));
  aspect-ratio:16 / 9;
  overflow:hidden;
  border:1px solid rgba(241,215,166,.8);
  border-radius:14px;
  background:rgba(11,21,41,.68);
  box-shadow:0 18px 52px rgba(0,0,0,.34),0 0 0 5px rgba(255,255,255,.12),inset 0 1px rgba(255,255,255,.3);
  -webkit-backdrop-filter:blur(12px) saturate(140%);
  backdrop-filter:blur(12px) saturate(140%);
}
#heroPanoramaViewer::after {
  position:absolute;
  z-index:20;
  right:8px;
  bottom:8px;
  padding:5px 8px;
  border:1px solid rgba(255,255,255,.3);
  border-radius:999px;
  background:rgba(11,21,41,.72);
  color:#fff;
  content:"360° · AUTO PAN";
  font:800 8px/1 var(--font-body);
  letter-spacing:.1em;
  pointer-events:none;
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
}
#heroPanoramaViewer .pnlm-container { background: #0B1529; cursor: default; }
#heroPanoramaViewer .pnlm-about-msg,
#heroPanoramaViewer .pnlm-controls-container { display: none !important; }

@media (max-width: 640px) {
  #heroPanoramaViewer { top:calc(4.75rem + env(safe-area-inset-top)); right:max(.75rem,env(safe-area-inset-right)); left:auto; width:min(46vw,190px); border-radius:10px; box-shadow:0 12px 32px rgba(0,0,0,.36),0 0 0 3px rgba(255,255,255,.12),inset 0 1px rgba(255,255,255,.25); }
  #heroPanoramaViewer::after { right:5px; bottom:5px; padding:4px 6px; font-size:7px; }
}
@media (max-height:500px) and (orientation:landscape) {
  #heroPanoramaViewer { top:4rem; width:min(38vw,260px); }
}

.hero-photo-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1) translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
  transition: transform 9s cubic-bezier(0.2, 0.8, 0.2, 1);
  image-rendering: -webkit-optimize-contrast;
}

.hero-media-layer.active .hero-photo-bg {
  transform: scale(1.06) translateZ(0);
}

.hero-photo-bg.hero-panorama-slide {
  background-color: #0B1529;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 120% auto;
  animation: hero-panorama-drift 9s ease-in-out infinite alternate;
}
.hero-media-layer.active .hero-photo-bg.hero-panorama-slide {
  transform: scale(1) translateZ(0);
}
@keyframes hero-panorama-drift {
  from { background-position: 43% center; }
  to { background-position: 57% center; }
}

/* --------------------------------------------------------------------------
   HERO BANNER — Dissolves into Warm Creamy Ivory Canvas
   -------------------------------------------------------------------------- */
.hero-video-container {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #0B1529;
  background-image: url('assets/images/guesthouse/room-4-bathtub-and-vanity-001.jpeg');
  background-size: cover;
  background-position: center;
  padding: 5rem 1.5rem 6.5rem 1.5rem;
  isolation: isolate;
}

.hero-video-container::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 85% 70% at 50% 50%,
      transparent 0%,
      transparent 40%,
      rgba(11, 21, 41, 0.25) 70%,
      rgba(11, 21, 41, 0.55) 100%
    );
}

.hero-video-container::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to top,
    var(--canvas)           0%,
    rgba(249, 246, 240, 0.94) 10%,
    rgba(249, 246, 240, 0.65) 20%,
    rgba(11, 21, 41, 0.35)   38%,
    rgba(11, 21, 41, 0.15)   58%,
    transparent             75%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1060px;
  background: transparent !important;
  padding: 0;
  margin: 0 auto;
}

.hero-content h1 {
  font-family: var(--font-editorial);
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  color: #FFFFFF !important;
  letter-spacing: 0.11em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.9), 0 2px 6px rgba(0, 0, 0, 0.8);
}

.hero-subtext-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255,255,255,0.24), rgba(255,255,255,0.06) 48%, rgba(3,10,24,0.20)), rgba(11,21,41,0.68);
  border: 1px solid rgba(255,255,255,0.58);
  border-left: 4px solid var(--crimson);
  backdrop-filter: blur(30px) saturate(185%);
  -webkit-backdrop-filter: blur(30px) saturate(185%);
  border-radius: 16px;
  box-shadow: 0 22px 55px rgba(0,0,0,0.42), inset 0 1px 0 rgba(255,255,255,0.68), inset 0 -1px 0 rgba(255,255,255,0.08);
}

.hero-subtext-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 55%;
  background: linear-gradient(180deg, rgba(255,255,255,0.13), transparent);
  pointer-events: none;
}

.hero-subtext-card p {
  position: relative;
  z-index: 1;
  color: #FFFFFF !important;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: 0.01em;
}

@media (max-width: 640px) {
  .hero-subtext-card p {
    font-size: 15px;
    line-height: 1.65;
  }
}

.hero-feature-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.05rem;
  background: rgba(250, 248, 245, 0.96);
  border: 1.5px solid rgba(192, 24, 43, 0.35);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px rgba(11, 21, 41, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.25s ease;
}

.hero-feature-pill:hover {
  border-color: var(--crimson);
  background: #FFFFFF;
  box-shadow: 0 12px 30px rgba(192, 24, 43, 0.22);
  transform: translateY(-2px);
}

.video-control-pill {
  position: absolute;
  top: 2rem;
  right: 2rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(11, 21, 41, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.20);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  border-radius: 100px;
  padding: 0.45rem 1.1rem;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.video-control-pill button {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  transition: color 0.2s;
  padding: 0;
}

.video-control-pill button:hover {
  color: var(--crimson-light);
}

/* --------------------------------------------------------------------------
   BOOKING BAR — Creamy Liquid Glass Luxury
   -------------------------------------------------------------------------- */
.palms-booking-bar {
  background: rgba(250, 248, 245, 0.96);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid rgba(11, 21, 41, 0.12);
  box-shadow: 0 20px 50px rgba(11, 21, 41, 0.10), 0 2px 8px rgba(11, 21, 41, 0.05);
  border-radius: 8px;
  padding: 1.75rem 2rem;
  position: relative;
  z-index: 30;
}

.booking-input-wrap {
  display: flex;
  flex-direction: column;
}

.booking-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.booking-input {
  width: 100%;
  background-color: var(--surface);
  border: 1.5px solid rgba(11, 21, 41, 0.15);
  border-radius: var(--radius);
  color: var(--navy);
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.2s ease;
  outline: none;
}

.booking-input:focus {
  border-color: var(--crimson);
  box-shadow: 0 0 0 3px rgba(192, 24, 43, 0.18);
}

.booking-input option {
  background-color: var(--surface);
  color: var(--navy);
}

/* --------------------------------------------------------------------------
   Suite Cards — Creamy Surface with Navy & Crimson Accents
   -------------------------------------------------------------------------- */
.cinematic-suite-card {
  background-color: var(--surface);
  border: 1px solid rgba(11, 21, 41, 0.10);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(11, 21, 41, 0.06);
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.cinematic-suite-card:hover {
  border-color: var(--crimson);
  box-shadow: 0 18px 45px rgba(11, 21, 41, 0.12), 0 0 25px rgba(192, 24, 43, 0.10);
  transform: translateY(-3px);
}

.suite-photo-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.suite-photo-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cinematic-suite-card:hover .suite-photo-container img {
  transform: scale(1.05);
}

.suite-badge-corner {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(11, 21, 41, 0.90);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 0.4rem 0.9rem;
  text-transform: uppercase;
  border-radius: var(--radius);
}

.suite-rate-corner {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: var(--surface);
  border: 1.5px solid var(--crimson);
  padding: 0.55rem 1.1rem;
  text-align: right;
  box-shadow: 0 4px 15px rgba(11, 21, 41, 0.15);
  border-radius: var(--radius);
}

/* --------------------------------------------------------------------------
   Amenity Pills
   -------------------------------------------------------------------------- */
.amenity-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 13.5px;
  color: var(--text-body);
}

.amenity-pill i {
  color: var(--crimson);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Wildlife & Activity Cards
   -------------------------------------------------------------------------- */
.wildlife-card {
  background-color: var(--surface);
  border: 1px solid rgba(11, 21, 41, 0.10);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(11, 21, 41, 0.06);
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.wildlife-card:hover {
  border-color: var(--navy);
  box-shadow: 0 14px 35px rgba(11, 21, 41, 0.12);
  transform: translateY(-3px);
}

.wildlife-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.wildlife-card:hover img {
  transform: scale(1.05);
}

.activity-card {
  background-color: var(--surface);
  border: 1px solid rgba(11, 21, 41, 0.10);
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: 0 8px 25px rgba(11, 21, 41, 0.06);
  transition: all 0.3s ease;
}

.activity-card:hover {
  border-color: var(--crimson);
  box-shadow: 0 14px 40px rgba(11, 21, 41, 0.10);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Chef Section
   -------------------------------------------------------------------------- */
.chef-quote-box {
  background: var(--canvas-alt);
  border: 1px solid rgba(11, 21, 41, 0.12);
  border-left: 4px solid var(--crimson);
  padding: 1.75rem 2.25rem;
  font-family: var(--font-serif);
  font-size: 19px;
  font-style: italic;
  color: var(--navy);
  box-shadow: 0 4px 15px rgba(11, 21, 41, 0.04);
}

/* --------------------------------------------------------------------------
   Gallery — Creamy Surface Tabs
   -------------------------------------------------------------------------- */
.gallery-filters {
  width: fit-content;
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,0.20), rgba(255,255,255,0.04) 48%, rgba(3,10,24,0.17)), rgba(11,21,41,0.82);
  box-shadow: 0 12px 32px rgba(11,21,41,0.24), inset 0 1px 0 rgba(255,255,255,0.56), inset 0 -1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(30px) saturate(190%);
  -webkit-backdrop-filter: blur(30px) saturate(190%);
}

.chapter-tabs {
  max-width: 100%;
  padding: 0.45rem;
  border: 1px solid rgba(255,255,255,0.54);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255,255,255,0.20), rgba(255,255,255,0.04) 48%, rgba(3,10,24,0.17)), rgba(11,21,41,0.82);
  box-shadow: 0 10px 28px rgba(11,21,41,0.20), inset 0 1px 0 rgba(255,255,255,0.56), inset 0 -1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(28px) saturate(185%);
  -webkit-backdrop-filter: blur(28px) saturate(185%);
}

.chapter-tabs .chapter-tabs-label {
  color: #FFFFFF;
  padding: 0.5rem 0.55rem;
}

.gallery-filter-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.065em;
  text-transform: uppercase;
  min-height: 42px;
  padding: 0.65rem 1.05rem;
  border: 1px solid rgba(255,255,255,0.34);
  background: linear-gradient(145deg, rgba(255,255,255,0.20), rgba(255,255,255,0.055));
  color: #FFFFFF;
  cursor: pointer;
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.45), inset 0 -1px 0 rgba(0,0,0,0.1);
  backdrop-filter: blur(20px) saturate(175%);
  -webkit-backdrop-filter: blur(20px) saturate(175%);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.gallery-filter-btn:hover {
  color: var(--navy);
  background: linear-gradient(145deg, rgba(255,255,255,0.96), rgba(226,234,246,0.76));
  border-color: rgba(255,255,255,0.98);
  box-shadow: 0 5px 14px rgba(0,0,0,0.20), inset 0 1px 0 #FFFFFF;
  transform: translateY(-1px);
}

.gallery-filter-btn.active {
  background: linear-gradient(150deg, rgba(255,255,255,0.98), rgba(250,248,245,0.84));
  color: var(--navy) !important;
  border-color: rgba(255,255,255,0.98);
  box-shadow: 0 3px 10px rgba(11,21,41,0.11), inset 0 1px 0 #FFFFFF, inset 0 -1px 0 rgba(11,21,41,0.05);
}

.seg-btn {
  min-height: 42px;
  border: 1px solid rgba(255,255,255,0.34);
  background: linear-gradient(145deg, rgba(255,255,255,0.20), rgba(255,255,255,0.055));
  color: #FFFFFF;
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.45), inset 0 -1px 0 rgba(0,0,0,0.1);
  backdrop-filter: blur(20px) saturate(175%);
  -webkit-backdrop-filter: blur(20px) saturate(175%);
}

.seg-btn.active {
  background: linear-gradient(150deg, rgba(255,255,255,0.98), rgba(250,248,245,0.84));
  color: var(--navy) !important;
  border-color: rgba(255,255,255,0.98);
  box-shadow: 0 4px 14px rgba(0,0,0,0.18), inset 0 1px 0 #FFFFFF;
}

.seg-btn:not(.active) {
  background-color: transparent;
  color: #FFFFFF;
  border-color: rgba(255,255,255,0.34);
}

.seg-btn:not(.active):hover {
  color: var(--navy);
  background: linear-gradient(145deg, rgba(255,255,255,0.96), rgba(226,234,246,0.76));
  border-color: rgba(255,255,255,0.98);
}

.gallery-filter-btn.active::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--crimson);
  transform: translateX(-50%);
}

.gallery-filter-btn:active {
  transform: scale(0.97);
}

.glass-control,
.gallery-filter-btn:not(.active),
.ai-quick-action {
  border: 1px solid rgba(255,255,255,0.48);
  background: linear-gradient(145deg, rgba(255,255,255,0.20), rgba(255,255,255,0.055));
  box-shadow: 0 5px 16px rgba(11,21,41,0.18), inset 0 1px 0 rgba(255,255,255,0.56), inset 0 -1px 0 rgba(255,255,255,0.07);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
}

.glass-control:hover,
.ai-quick-action:hover {
  background: linear-gradient(145deg, rgba(255,255,255,0.96), rgba(226,234,246,0.78));
  border-color: rgba(255,255,255,0.98);
  box-shadow: 0 6px 18px rgba(11,21,41,0.2), inset 0 1px 0 #FFFFFF;
}

.mobile-glass-menu {
  width: auto;
  max-width: 100vw;
  overflow-x: hidden;
  background: linear-gradient(150deg, rgba(255,255,255,0.20), rgba(255,255,255,0.045) 42%, rgba(3,10,24,0.18)), rgba(11,21,41,0.90);
  border: 1px solid rgba(255,255,255,0.50);
  border-top-color: rgba(255,255,255,0.38);
  border-radius: 0 0 24px 24px;
  box-shadow: 0 24px 54px rgba(0,0,0,0.30), inset 0 1px 0 rgba(255,255,255,0.60), inset 0 -1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(34px) saturate(190%);
  -webkit-backdrop-filter: blur(34px) saturate(190%);
}

.mobile-glass-menu nav > a {
  max-width: 100%;
  color: #F9F6F0 !important;
  margin: 0.08rem 0;
  border: 1px solid transparent !important;
  border-radius: 13px;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.mobile-menu-header {
  position: sticky;
  top: -0.5rem;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 -1.5rem 0.5rem;
  padding: 0.7rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.20);
  background: linear-gradient(150deg, rgba(30,58,98,0.96), rgba(11,21,41,0.98));
  box-shadow: 0 6px 16px rgba(4,10,22,0.20), inset 0 1px 0 rgba(255,255,255,0.18);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
}

.mobile-menu-title {
  color: #F9F6F0;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.mobile-menu-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(255,137,149,0.85);
  border-radius: 999px;
  background: linear-gradient(145deg, #D94050, #A41426 75%, #7D1020);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.07em;
  box-shadow: 0 0 14px rgba(192,24,43,0.36), inset 0 1px 0 rgba(255,255,255,0.32);
  cursor: pointer;
}

.mobile-menu-close:hover,
.mobile-menu-close:focus-visible {
  background: linear-gradient(145deg, #EB5665, #B9182C);
  outline: 2px solid #FFFFFF;
  outline-offset: 2px;
}

.mobile-glass-menu nav > a:hover,
.mobile-glass-menu nav > a:focus-visible {
  color: var(--navy);
  background: linear-gradient(145deg, rgba(255,255,255,0.96), rgba(226,234,246,0.78));
  border-color: rgba(255,255,255,0.96) !important;
  box-shadow: 0 3px 12px rgba(11,21,41,0.07), inset 0 1px 0 #FFFFFF;
}

.mobile-glass-menu nav > a:active {
  background: rgba(192, 24, 43, 0.09);
}

#mobileMenu nav > a > span,
#mobileMenu nav > a > div {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 639px) {
  .gallery-filters {
    border-radius: 20px;
    padding: 0.4rem;
    gap: 0.4rem;
  }

  .gallery-filter-btn {
    font-size: 12px;
    padding: 0.6rem 0.8rem;
  }
}

@supports not ((backdrop-filter: blur(1px))) {
  .site-header,
  .site-nav-glass,
  .mobile-glass-menu,
  .gallery-filters,
  .gallery-filter-btn,
  .glass-control {
    background-color: rgba(250, 248, 245, 0.97);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .nav-link,
  .mobile-glass-menu nav > a,
  .gallery-filter-btn,
  .hero-media-layer,
  .hero-photo-bg {
    transition: none;
  }

  .hero-media-layer.active .hero-photo-bg { transform: none; }

  .nav-link:hover,
  .gallery-filter-btn:hover,
  .gallery-filter-btn:active {
    transform: none;
  }
}

.whatsapp-cta {
  background-color: #075E54 !important;
  background-image: linear-gradient(135deg, rgba(255,255,255,0.2), transparent 58%) !important;
  border: 1px solid #075E54 !important;
  color: #FFFFFF !important;
  box-shadow: 0 5px 16px rgba(7, 94, 84, 0.32), inset 0 1px 0 rgba(255,255,255,0.2) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.whatsapp-cta:hover,
.whatsapp-cta:focus-visible {
  background-color: #064C44 !important;
  border-color: #064C44 !important;
  box-shadow: 0 7px 20px rgba(7, 94, 84, 0.4), 0 0 0 3px rgba(37, 211, 102, 0.22) !important;
  transform: translateY(-1px);
}

.whatsapp-cta:focus-visible {
  outline: 2px solid #25D366;
  outline-offset: 3px;
}

.whatsapp-cta:disabled,
.btn-gold:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  transform: none;
}

#aiModal,
#apiSettingsModal {
  font-family: var(--font-body);
}

#aiModal h1,
#aiModal h2,
#aiModal h3,
#aiModal h4,
#apiSettingsModal h1,
#apiSettingsModal h2,
#apiSettingsModal h3,
#apiSettingsModal h4,
.concierge-title {
  font-family: var(--font-body) !important;
  font-weight: 650;
  letter-spacing: 0.015em;
  text-transform: none;
}

#aiModal .font-cinzel,
#aiModal .font-editorial {
  font-family: var(--font-body) !important;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
}

#aiModal .chat-bubble-concierge {
  font-family: var(--font-body);
  box-shadow: 0 2px 8px rgba(11, 21, 41, 0.045);
}

#aiModal .whatsapp-cta {
  width: 100%;
  min-height: 3.15rem;
  justify-content: flex-start;
  white-space: normal;
  text-align: left;
  line-height: 1.35;
}

#aiModal .ai-response-list {
  list-style: disc;
  margin: 0.3rem 0 0.65rem 1.2rem;
  padding: 0;
}

#aiModal .ai-response-list li + li {
  margin-top: 0.28rem;
}

#aiModal .ai-response-heading {
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

#aiModal .chat-bubble-concierge > div > p + p {
  margin-top: 0.55rem;
}

#quoteBookButton {
  white-space: normal;
  min-height: 3.25rem;
}

.gallery-item {
  overflow: hidden;
  border: 1px solid rgba(11, 21, 41, 0.10);
  cursor: pointer;
  position: relative;
  background-color: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 4px 15px rgba(11, 21, 41, 0.04);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(11, 21, 41, 0.88) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Gallery cards keep a stable box even when Tailwind's CDN is unavailable. */
.gallery-card {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  text-align: left;
  border-radius: var(--radius);
}

.gallery-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-card > div {
  text-align: left;
}

.gallery-card > div p {
  color: #FFFFFF !important;
}

.gallery-empty-state {
  grid-column: 1 / -1;
  padding: 2rem 1rem;
  color: var(--text-muted);
  text-align: center;
}

@media (hover: none), (max-width: 640px) {
  .gallery-card > div {
    opacity: 1 !important;
    padding: 0.65rem;
    background: linear-gradient(0deg, rgba(11, 21, 41, 0.92), rgba(11, 21, 41, 0.08));
  }

  .gallery-card > div p {
    display: none;
  }
}

.gallery-filter-btn:focus-visible,
.gallery-card:focus-visible {
  outline: 3px solid var(--crimson);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Modals — Creamy Panels with Navy Headers & Crimson Accents
   -------------------------------------------------------------------------- */
#galleryLightbox,
#lightboxModal,
#guestPortalModal,
#digitalCheckinModal,
#aiModal {
  background-color: rgba(11, 21, 41, 0.70);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ai-modal-panel,
.glass-modal-panel {
  background: var(--surface);
  border: 1px solid rgba(11, 21, 41, 0.14);
  box-shadow: 0 25px 60px rgba(11, 21, 41, 0.25);
  border-radius: 8px;
}

/* --------------------------------------------------------------------------
   Footer — Deepest Midnight Navy (Anchor & Contrast)
   -------------------------------------------------------------------------- */
.site-footer {
  background: linear-gradient(145deg, #111E35, #0B1529 60%, #070E1C);
  border-top: 3px solid var(--crimson);
  color: #DCE4F0;
  font-family: var(--font-body);
}

.site-footer h3,
.site-footer h4 {
  color: #FFFFFF !important;
}

.footer-grid {
  border-color: rgba(226, 232, 240, 0.20);
}

.footer-heading {
  margin: 0;
  color: #FFB8C0;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.09em;
  line-height: 1.5;
  text-transform: uppercase;
}

.footer-copy {
  color: #D8E0EB;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
}

.footer-links {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  color: #D8E0EB;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  list-style: none;
}

.footer-links a,
.footer-meta-links a {
  color: #D8E0EB;
  text-decoration: none;
  text-underline-offset: 3px;
}

.footer-links a:hover,
.footer-meta-links a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.footer-contact-details {
  color: #D8E0EB;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
}

.footer-address {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: #F5F7FB;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
  text-decoration: none;
}

.footer-address:hover {
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-address svg {
  margin-top: 0.2rem;
  color: #FFB8C0;
}

.footer-contact-list {
  margin: 0.55rem 0 0;
  color: #C9D3E1;
  font-size: 13.5px;
  line-height: 1.9;
}

.footer-contact-list a {
  color: #FFFFFF;
  font-weight: 650;
  text-decoration: none;
}

.footer-contact-list a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-contact-actions {
  max-width: 100%;
}

.footer-call-link {
  min-height: 42px;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(255,255,255,0.30);
  border-radius: 999px;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.footer-call-link:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.65);
}

.footer-call-link svg {
  color: #FFB8C0;
}

.footer-meta {
  color: #C9D3E1;
  font-family: var(--font-body);
  font-size: 12.5px;
  line-height: 1.6;
}

.footer-meta-links {
  color: #D8E0EB;
}

.footer-solar-note {
  color: #FFB8C0;
  font-weight: 700;
}

.site-footer a {
  color: #D8E0EB;
  transition: color 0.2s;
}

.site-footer a:hover {
  color: #FFFFFF;
}

@media (max-width: 767px) {
  .site-footer {
    padding-top: 3rem;
    padding-bottom: 2.5rem;
  }

  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* --------------------------------------------------------------------------
   Custom Scrollbar
   -------------------------------------------------------------------------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--canvas-alt); }
::-webkit-scrollbar-thumb { background: #C8BFB2; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--crimson); }

/* --------------------------------------------------------------------------
   VIDEO TOUR WIDGET & FLOATING PIP PLAYER
   -------------------------------------------------------------------------- */
.video-widget-card {
  background: var(--surface);
  border: 1px solid rgba(11, 21, 41, 0.12);
  border-radius: 8px;
  box-shadow: 0 15px 40px rgba(11, 21, 41, 0.08);
  overflow: hidden;
}

.seg-btn {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.seg-btn.active {
  background-color: var(--crimson);
  color: #FFFFFF !important;
  border-color: var(--crimson);
  box-shadow: 0 4px 12px rgba(192, 24, 43, 0.3);
}

.seg-btn:not(.active) {
  background-color: var(--surface);
  color: var(--navy);
  border: 1px solid rgba(11, 21, 41, 0.18);
}

.seg-btn:not(.active):hover {
  border-color: var(--crimson);
  color: var(--crimson);
  background-color: var(--canvas-alt);
}

/* Video chapter selection and visitor-local clock */
#virtualTourWidget .chapter-tabs .seg-btn {
  position: relative;
  border-radius: 999px;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

#virtualTourWidget .chapter-tabs .seg-btn.active {
  color: #0B1529 !important;
  border: 1px solid #FF6878 !important;
  background: linear-gradient(145deg, #FFFFFF, #F9E9EA) !important;
  box-shadow: 0 0 0 2px rgba(192, 24, 43, 0.24), 0 0 13px rgba(192, 24, 43, 0.72), 0 0 28px rgba(192, 24, 43, 0.36), inset 0 1px 0 #FFFFFF !important;
  transform: translateY(-1px);
}

#virtualTourWidget .chapter-tabs .seg-btn:focus-visible {
  outline: 3px solid #FF6878;
  outline-offset: 3px;
}

.local-clock {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: start;
  gap: 0.12rem 0.85rem;
  width: fit-content;
  max-width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255, 104, 120, 0.64);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255,255,255,0.96), rgba(249,246,240,0.88));
  box-shadow: 0 0 0 1px rgba(192,24,43,0.10), 0 0 20px rgba(192,24,43,0.16), inset 0 1px 0 #FFFFFF;
}

.local-clock-label {
  grid-column: 1 / -1;
  color: #8C0F1E;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.4;
}

.local-clock-time {
  color: #0B1529;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 25px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.055em;
  line-height: 1.2;
  text-shadow: 0 0 12px rgba(192,24,43,0.20);
}

.local-clock-date,
.local-clock-zone {
  grid-column: 1 / -1;
  color: #465365;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.45;
}

@media (max-width: 640px) {
  .local-clock { padding: 0.6rem 0.85rem; }
  .local-clock-time { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  #virtualTourWidget .chapter-tabs .seg-btn { transition: none; }
}

#floatingVideoWidget {
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pip-player-box {
  width: 320px;
  background: var(--surface);
  border: 1.5px solid rgba(11, 21, 41, 0.15);
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(11, 21, 41, 0.25), 0 0 0 1px rgba(192, 24, 43, 0.2);
  overflow: hidden;
}

@media (max-width: 640px) {
  .pip-player-box {
    width: 280px;
  }
}

/* --------------------------------------------------------------------------
   Mobile Floating Contact Bar (Bottom Fixed Bar)
   -------------------------------------------------------------------------- */
.floating-contact-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 45;
  background: rgba(250, 248, 245, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1.5px solid rgba(192, 24, 43, 0.30);
  padding: 0.65rem 1rem;
  box-shadow: 0 -4px 20px rgba(11, 21, 41, 0.12);
}

/* Smooth Anchor Navigation (Guarantees Sticky Header Never Covers Section Titles) */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

section[id], div[id], [id] {
  scroll-margin-top: 96px;
}

/* Gallery filters use a neutral silver palette for a clear, restrained finish. */
.gallery-filters .gallery-filter-btn:not(.active) {
  color: #F8FAFC !important;
  border: 1px solid rgba(203, 213, 225, 0.58) !important;
  background: linear-gradient(145deg, rgba(100, 116, 139, 0.78), rgba(51, 65, 85, 0.94)) !important;
  box-shadow: 0 4px 14px rgba(4, 10, 22, 0.24), inset 0 1px 0 rgba(255,255,255,0.24), inset 0 -1px 0 rgba(0,0,0,0.16) !important;
}

.gallery-filters .gallery-filter-btn:not(.active):hover {
  color: #FFFFFF !important;
  border-color: #E2E8F0 !important;
  background: linear-gradient(145deg, #64748B, #475569) !important;
  box-shadow: 0 0 0 1px rgba(226, 232, 240, 0.18), 0 0 16px rgba(148, 163, 184, 0.26), inset 0 1px 0 rgba(255,255,255,0.28) !important;
}

.gallery-filters .gallery-filter-btn.active {
  color: #0B1529 !important;
  border: 1px solid #F1F5F9 !important;
  background: linear-gradient(145deg, #F8FAFC, #CBD5E1 72%, #94A3B8) !important;
  box-shadow: 0 0 0 1px rgba(203, 213, 225, 0.18), 0 0 18px rgba(148, 163, 184, 0.28), inset 0 1px 0 rgba(255,255,255,0.62) !important;
}

.gallery-filters .gallery-filter-btn.active::after {
  background: #64748B;
}

.gallery-filters .gallery-filter-btn:focus-visible {
  outline: 3px solid #CBD5E1;
  outline-offset: 3px;
}

/* Guest services cards: straightforward, larger text with strong contrast. */
#portal .activity-card h3 {
  color: #0B1529;
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
}

#portal .activity-card p {
  color: #334155;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
}

#portal .activity-card ul {
  color: #334155;
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.6;
}

#portal .activity-card .btn-gold,
#portal .activity-card .btn-outline {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.025em;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.7rem 1rem;
  border-radius: 0.5rem;
  transform: translateY(-160%);
  background: #0B1529;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.skip-link:focus {
  transform: translateY(0);
  outline: 3px solid #FF6878;
  outline-offset: 2px;
}

@media (max-width: 640px) {
  #portal .activity-card p { font-size: 14px; }
  #portal .activity-card ul { font-size: 13.5px; }
}

.booking-label {
  color: #334155;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

#calculator label,
#contact label,
#digitalCheckinModal label {
  color: #334155;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.035em;
  line-height: 1.45;
}

#calculator input,
#calculator select,
#contact input,
#contact select,
#contact textarea,
#digitalCheckinModal input,
#digitalCheckinModal select {
  color: #0B1529;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.45;
}

#calculator input:focus-visible,
#calculator select:focus-visible,
#contact input:focus-visible,
#contact select:focus-visible,
#contact textarea:focus-visible,
#digitalCheckinModal input:focus-visible,
#digitalCheckinModal select:focus-visible {
  outline: 3px solid rgba(192,24,43,0.72);
  outline-offset: 2px;
}

#contact > div > p.text-xs {
  color: #334155;
  font-size: 14px;
  line-height: 1.65;
}

#toastNotification {
  color: #0B1529;
  font-size: 14px;
  line-height: 1.5;
}

#lightboxDesc {
  color: #F1EDE6;
  font-size: 13px;
  line-height: 1.55;
}

select {
  min-height: 44px;
  max-width: 100%;
  touch-action: manipulation;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease;
  -webkit-tap-highlight-color: rgba(192,24,43,0.16);
}

select:hover {
  border-color: rgba(192,24,43,0.72);
}

select:focus-visible {
  outline: 3px solid rgba(192,24,43,0.72);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(192,24,43,0.10);
}

select option {
  background: #FAF8F5;
  color: #0B1529;
}

#videoScreenContainer {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 478px, 45vh);
  aspect-ratio: 478 / 850;
  margin-inline: auto;
  background: #0B1529;
}

#mainWidgetVideo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0B1529;
}

@media (max-width: 640px) {
  #videoScreenContainer {
    width: min(100%, 42.2svh);
  }
}

@media (prefers-reduced-motion: reduce) {
  select { transition: none; }
}

/* Neutral grey accents for the guest service and stay planning feature tabs. */
#portal .activity-card:hover {
  border-color: #94A3B8;
}

#portal .activity-card [class~="border-[#C0182B]"] {
  border-color: #94A3B8 !important;
}

/* --------------------------------------------------------------------------
   Device-adaptive layout: fluid sizing, safe areas, and touch-friendly controls
   -------------------------------------------------------------------------- */
html {
  overflow-x: clip;
  scroll-padding-top: clamp(76px, 10vh, 104px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-width: 0;
  overflow-x: clip;
}

img, video, canvas, svg {
  max-width: 100%;
}

iframe, video {
  display: block;
}

button, a, input, select, textarea {
  touch-action: manipulation;
}

button, input, select, textarea {
  max-width: 100%;
}

.hero-video-container {
  min-height: 92vh;
  min-height: 92svh;
  min-height: min(92svh, 900px);
  padding-top: clamp(3.5rem, 9vh, 6rem);
  padding-bottom: clamp(5rem, 12vh, 7rem);
}

.hero-content h1 {
  font-size: clamp(2rem, 5.2vw, 4.4rem);
  overflow-wrap: anywhere;
}

.pip-player-box {
  width: min(320px, calc(100vw - 2rem));
  max-width: calc(100vw - 2rem);
  max-height: calc(100vh - 7rem);
  overflow: auto;
}

#aiModal > .relative {
  width: min(100%, 32rem);
  height: min(85vh, 46rem);
  max-height: calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  min-height: 0;
}

#aiChatMessages {
  min-height: 0;
  overflow-wrap: anywhere;
  -webkit-overflow-scrolling: touch;
}

#toastNotification {
  top: max(1rem, env(safe-area-inset-top));
  right: max(1rem, env(safe-area-inset-right));
  max-width: min(24rem, calc(100vw - 2rem));
}

.floating-contact-bar {
  padding-bottom: calc(0.65rem + env(safe-area-inset-bottom));
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
}

#floatingVideoWidgetContainer {
  left: max(0.75rem, env(safe-area-inset-left));
  bottom: calc(5rem + env(safe-area-inset-bottom));
  max-width: calc(100vw - 1.5rem);
}

#floatingVideoPill {
  max-width: 100%;
  min-height: 44px;
}

@media (max-width: 767px) {
  .site-header {
    height: auto;
    min-height: 68px;
    padding-left: max(0.75rem, env(safe-area-inset-left));
    padding-right: max(0.75rem, env(safe-area-inset-right));
  }

  .site-header > div {
    gap: clamp(0.35rem, 2vw, 0.75rem);
  }

  .site-header button,
  .site-header .btn-gold,
  .floating-contact-bar a,
  .mobile-menu-close {
    min-height: 44px;
  }

  .site-header .btn-gold {
    padding-inline: clamp(0.65rem, 3vw, 1rem) !important;
    font-size: clamp(0.62rem, 2.5vw, 0.72rem) !important;
    white-space: nowrap;
  }

  .palms-top-bar {
    padding-left: max(0.75rem, env(safe-area-inset-left));
    padding-right: max(0.75rem, env(safe-area-inset-right));
  }

  .hero-video-container {
    min-height: 88vh;
    min-height: 88svh;
    padding: 3.5rem 1rem 6rem;
  }

  .hero-content h1 {
    font-size: clamp(1.8rem, 9vw, 3rem);
    letter-spacing: 0.06em;
    line-height: 1.12;
  }

  .hero-feature-pill {
    max-width: 100%;
    padding: 0.6rem 0.75rem;
  }

  #aiModal {
    padding-top: env(safe-area-inset-top);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }

  #aiModal > .relative {
    width: 100%;
    height: min(88vh, 52rem);
    height: min(88svh, 52rem);
    max-height: calc(100dvh - env(safe-area-inset-top));
    border-radius: 1rem 1rem 0 0;
    padding-bottom: env(safe-area-inset-bottom);
  }

  #aiChatMessages {
    padding: 1rem;
    font-size: 14px;
    line-height: 1.55;
  }

  #aiModal input,
  #apiSettingsModal input,
  #calculator input,
  #calculator select,
  #contact input,
  #contact select,
  #contact textarea {
    font-size: 16px;
  }

  #toastNotification {
    top: max(0.75rem, env(safe-area-inset-top));
    left: max(0.75rem, env(safe-area-inset-left));
    right: max(0.75rem, env(safe-area-inset-right));
    width: auto;
  }
}

@media (max-width: 380px) {
  .site-header > div {
    padding-left: 0;
    padding-right: 0;
  }

  .site-header .btn-gold span {
    max-width: 7.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-glass-menu {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Responsive navigation and thumb-friendly contact actions */
.mobile-glass-menu {
  opacity: 0;
  transform: translate3d(0, -8px, 0);
  transition: opacity 180ms ease, transform 180ms ease;
  will-change: opacity, transform;
  max-height: min(80vh, calc(100dvh - 5.5rem));
  overscroll-behavior: contain;
}

.mobile-glass-menu.is-open {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.mobile-menu-close { min-height: 48px; }

@media (max-width: 767px) {
  #navMenuToggle,
  .whatsapp-cta,
  .floating-contact-bar a,
  a[href^="tel:"],
  a[href^="https://wa.me/"] {
    min-height: 48px;
    display: inline-flex;
  }

  #navMenuToggle { min-width: 48px; justify-content: center; }
  #mobileMenu nav > a { min-height: 48px; }

  .whatsapp-cta,
  .floating-contact-bar a,
  a[href^="tel:"],
  a[href^="https://wa.me/"] {
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-glass-menu { transition: none; transform: none; }
}

@media (max-height: 500px) and (orientation: landscape) {
  .hero-video-container {
    min-height: auto;
    padding-top: 2rem;
    padding-bottom: 3rem;
  }

  #aiModal > .relative {
    height: calc(100dvh - 1rem);
    max-height: calc(100dvh - 1rem);
    border-radius: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

#portal .activity-card [class~="text-[#C0182B]"] {
  color: #64748B !important;
}

/* Grey, clearly interactive actions for guest service and stay planning. */
#portal .activity-card .btn-gold,
#portal .activity-card .btn-outline {
  color: #0B1529 !important;
  border: 1px solid #94A3B8 !important;
  background: linear-gradient(145deg, #F8FAFC, #CBD5E1) !important;
  box-shadow: 0 5px 14px rgba(51, 65, 85, 0.16), inset 0 1px 0 rgba(255,255,255,0.82) !important;
}

#portal .activity-card .btn-gold:hover,
#portal .activity-card .btn-outline:hover {
  color: #0B1529 !important;
  border-color: #64748B !important;
  background: linear-gradient(145deg, #E2E8F0, #94A3B8) !important;
  box-shadow: 0 7px 18px rgba(51, 65, 85, 0.24), inset 0 1px 0 rgba(255,255,255,0.72) !important;
}

#portal .activity-card .btn-gold:focus-visible,
#portal .activity-card .btn-outline:focus-visible {
  outline: 3px solid #64748B;
  outline-offset: 3px;
}

/* Stay Studio: practical planning tools with responsive, touch-friendly cards. */
.stay-studio-section { scroll-margin-top: 90px; }
.stay-studio-shell {
  padding: clamp(1rem, 3vw, 2.25rem);
  border: 1px solid rgba(11, 21, 41, 0.12);
  border-radius: 1.25rem;
  background: linear-gradient(145deg, #fff, #F5F1E9 70%, #EEF1F5);
  box-shadow: 0 18px 50px rgba(11, 21, 41, 0.08);
}
.stay-studio-heading { max-width: 46rem; margin: 0 auto 1.5rem; text-align: center; }
.stay-studio-heading h2 { margin: 0 0 0.5rem; letter-spacing: 0.045em; }
.stay-studio-heading p, .stay-studio-footnote { color: #526070; font-size: 0.95rem; line-height: 1.6; }
.stay-weather {
  display: flex; align-items: center; gap: 1rem;
  min-height: 76px; margin: 0 auto 1.5rem; padding: 1rem 1.2rem;
  max-width: 58rem; border: 1px solid rgba(30, 58, 138, 0.18); border-radius: 1rem;
  background: linear-gradient(110deg, #F4F8FB, #FFFFFF); color: #0B1529;
}
.stay-weather-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; background: #E8EEF4; color: #1E3A8A; font-size: 1.4rem; }
.stay-weather strong, .stay-weather span:not(.stay-weather-icon) { display: block; }
.stay-weather strong { font-size: 0.9rem; }
.stay-weather #stayWeatherText { margin-top: 0.15rem; color: #526070; font-size: 0.88rem; line-height: 1.45; }
.stay-studio-grid { display: grid; grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr); gap: 1.25rem; align-items: start; }
.stay-planner-form, .stay-plan-result-panel { min-width: 0; padding: clamp(1rem, 2.4vw, 1.5rem); border: 1px solid rgba(11, 21, 41, 0.11); border-radius: 1rem; background: #FFFFFF; }
.stay-planner-form h3, .stay-plan-result-panel h3 { margin: 0; color: #0B1529; font: 700 1.1rem/1.35 var(--font-body); letter-spacing: 0; text-transform: none; }
.stay-date-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin: 1rem 0; }
.stay-date-grid label { display: grid; gap: 0.4rem; color: #526070; font-size: 0.8rem; font-weight: 700; }
.stay-date-grid input { width: 100%; min-width: 0; min-height: 44px; padding: 0.55rem; border: 1px solid #CBD3DD; border-radius: 0.55rem; background: #F8FAFC; color: #0B1529; font: 500 0.9rem var(--font-body); }
.stay-interest-fieldset { display: grid; gap: 0.6rem; margin: 1rem 0; padding: 0; border: 0; }
.stay-interest-fieldset legend { margin-bottom: 0.55rem; color: #0B1529; font-size: 0.9rem; font-weight: 700; }
.stay-interest-fieldset label, .stay-packing-item { display: flex; align-items: flex-start; gap: 0.65rem; color: #334155; font-size: 0.88rem; line-height: 1.45; cursor: pointer; }
.stay-interest-fieldset input, .stay-packing-item input { width: 1.1rem; height: 1.1rem; flex: 0 0 1.1rem; margin: 0.1rem 0 0; accent-color: #C0182B; }
.stay-plan-button { width: 100%; min-height: 48px; justify-content: center; }
.stay-privacy-note { margin: 0.75rem 0 0; color: #667487; font-size: 0.76rem; line-height: 1.5; }
.stay-plan-results { display: grid; gap: 1rem; min-width: 0; }
.stay-result-title { display: flex; justify-content: space-between; align-items: baseline; gap: 0.8rem; margin-bottom: 0.65rem; }
.stay-result-title > span { color: #667487; font-size: 0.76rem; text-align: right; }
.stay-plan-output { display: grid; gap: 0.75rem; color: #526070; font-size: 0.88rem; line-height: 1.55; }
.stay-itinerary-day { padding: 0.8rem 0.9rem; border-left: 3px solid #C0182B; border-radius: 0.4rem; background: #F8F6F2; }
.stay-itinerary-day h4 { margin: 0 0 0.4rem; color: #0B1529; font: 700 0.9rem/1.4 var(--font-body); letter-spacing: 0; text-transform: none; }
.stay-itinerary-day p { margin: 0.22rem 0; color: #526070; font-size: 0.83rem; line-height: 1.5; }
.stay-packing-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem 1rem; }
.stay-packing-item { padding: 0.45rem 0; }
.stay-plan-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.stay-plan-actions button { min-height: 44px; flex: 1 1 12rem; justify-content: center; font-size: 0.73rem; }
.stay-plan-actions button:disabled { opacity: 0.5; cursor: not-allowed; }
.stay-studio-footnote { margin: 1rem 0 0; font-size: 0.78rem; text-align: center; }

@media (max-width: 800px) {
  .stay-studio-grid { grid-template-columns: minmax(0, 1fr); }
  .stay-planner-form { display: grid; grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 540px) {
  .stay-studio-section { padding-left: max(0.75rem, env(safe-area-inset-left)); padding-right: max(0.75rem, env(safe-area-inset-right)); }
  .stay-studio-shell { border-radius: 0.9rem; }
  .stay-weather { align-items: flex-start; padding: 0.85rem; }
  .stay-weather-icon { width: 38px; height: 38px; flex-basis: 38px; }
  .stay-date-grid { grid-template-columns: minmax(0, 1fr); }
  .stay-packing-list { grid-template-columns: minmax(0, 1fr); }
  .stay-result-title { align-items: flex-start; flex-direction: column; gap: 0.2rem; }
  .stay-result-title > span { text-align: left; }
  .stay-plan-actions { flex-direction: column; }
  .stay-plan-actions button { width: 100%; }
}

/* Refined liquid-glass surfaces and stateful tabs */
.site-header {
  background: linear-gradient(115deg, rgba(255,255,255,0.86), rgba(249,246,240,0.72) 55%, rgba(255,255,255,0.80));
  box-shadow: 0 10px 36px rgba(11,21,41,0.10), inset 0 1px 0 rgba(255,255,255,0.98);
}

.site-nav-glass,
.mobile-glass-menu,
.gallery-filters,
.chapter-tabs {
  background-image: linear-gradient(135deg, rgba(255,255,255,0.24), transparent 34%, rgba(255,255,255,0.04) 68%, rgba(3,10,24,0.20));
  border-color: rgba(255,255,255,0.64);
  box-shadow: 0 14px 38px rgba(5,12,27,0.24), inset 0 1px 0 rgba(255,255,255,0.68), inset 0 -1px 0 rgba(255,255,255,0.10);
}

.liquid-glass-heavy,
.liquid-glass-banner,
.glass-control {
  border-color: rgba(255,255,255,0.62);
  box-shadow: 0 14px 34px rgba(11,21,41,0.14), inset 0 1px 0 rgba(255,255,255,0.78), inset 0 -1px 0 rgba(255,255,255,0.24);
}

.gallery-filters .gallery-filter-btn,
#virtualTourWidget .chapter-tabs .seg-btn {
  min-height: 46px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.58), 0 3px 10px rgba(4,10,22,0.14);
}

.gallery-filters .gallery-filter-btn.active,
#virtualTourWidget .chapter-tabs .seg-btn.active {
  border-color: rgba(255,255,255,0.98) !important;
  background: linear-gradient(145deg, #FFFFFF, #E9EEF4 82%) !important;
  box-shadow: 0 5px 16px rgba(4,10,22,0.18), inset 0 1px 0 #FFFFFF, inset 0 -1px 0 rgba(11,21,41,0.08) !important;
  transform: translateY(-1px);
}

.gallery-filters .gallery-filter-btn:focus-visible,
#virtualTourWidget .chapter-tabs .seg-btn:focus-visible {
  outline: 3px solid #FFFFFF;
  outline-offset: 3px;
}

.stay-weather-content { min-width: 0; }
.stay-weather-updated,
.stay-weather-credit { display: block; margin-top: 0.3rem; color: #667487; font-size: 0.72rem; line-height: 1.4; }
.stay-weather-credit a { color: #334155; font-weight: 700; text-underline-offset: 2px; }

.suite-compare-panel,
.dining-brief-card,
.experience-request-card,
.guestbook-card {
  min-width: 0;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid rgba(255,255,255,0.78);
  border-radius: 1.15rem;
  background: linear-gradient(145deg, rgba(255,255,255,0.96), rgba(246,244,239,0.90) 70%, rgba(236,241,247,0.92));
  box-shadow: 0 18px 50px rgba(11,21,41,0.10), inset 0 1px 0 #FFFFFF;
}

.suite-compare-heading,
.experience-request-card > div:first-child,
.dining-brief-card > div:first-child,
.guestbook-card > div:first-child { max-width: 44rem; margin: 0 auto 1.2rem; text-align: center; }
.suite-compare-heading h3,
.experience-request-card h3,
.dining-brief-card h3,
.guestbook-card h3 { margin: 0 0 0.45rem; color: #0B1529; font: 700 clamp(1.25rem, 2.5vw, 1.7rem)/1.25 var(--font-body); letter-spacing: -0.02em; }
.suite-compare-heading p,
.experience-request-card > div:first-child p,
.dining-brief-card > div:first-child p,
.guestbook-card > div:first-child p { margin: 0; color: #526070; font-size: 0.9rem; line-height: 1.55; }

.suite-compare-stage { position: relative; width: 100%; max-width: 62rem; aspect-ratio: 16 / 9; margin: 0 auto; overflow: hidden; border-radius: 0.8rem; background: #0B1529; isolation: isolate; }
.suite-compare-stage > img,
.suite-compare-overlay img { display: block; width: 100%; height: 100%; object-fit: cover; }
.suite-compare-overlay { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--suite-split)) 0 0); }
.suite-compare-stage { cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.suite-compare-stage.is-dragging { cursor: grabbing; }
.suite-compare-divider { position: absolute; z-index: 2; top: 0; bottom: 0; left: var(--suite-split); width: 2px; background: #FFFFFF; box-shadow: 0 0 0 1px rgba(11,21,41,0.34), 0 0 16px rgba(255,255,255,0.72); transform: translateX(-1px); pointer-events: none; }
.suite-compare-divider::after { content: none; }
.suite-compare-knob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.95); background: rgba(11,21,41,0.82); color: #FFFFFF;
  box-shadow: 0 10px 26px -10px rgba(0,0,0,0.75), 0 0 0 6px rgba(255,255,255,0.14);
  backdrop-filter: blur(12px); transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.suite-compare-stage:hover .suite-compare-knob,
.suite-compare-stage:focus-visible .suite-compare-knob {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 12px 30px -8px rgba(0,0,0,0.8), 0 0 0 9px rgba(255,255,255,0.2);
}
.suite-compare-stage:focus-visible { outline: 3px solid #C0182B; outline-offset: 4px; }
.suite-compare-hint { margin: 0.7rem auto 0; max-width: 34rem; color: #64748B; font-size: 0.78rem; text-align: center; }
.suite-compare-label { position: absolute; z-index: 3; top: 1rem; padding: 0.5rem 0.75rem; border: 1px solid rgba(255,255,255,0.58); border-radius: 999px; background: rgba(11,21,41,0.66); color: #FFFFFF; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; backdrop-filter: blur(12px); }
/* On narrow screens the two labels would meet in the middle and collide,
   so each one stays inside its own half of the comparison. */
.suite-compare-label-left { left: 1rem; max-width: calc(50% - 1.5rem); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suite-compare-label-right { right: 1rem; max-width: calc(50% - 1.5rem); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suite-compare-range-label { display: grid; gap: 0.6rem; max-width: 32rem; margin: 1.2rem auto 0; color: #334155; font-size: 0.82rem; font-weight: 750; }
.suite-compare-range-label input { width: 100%; accent-color: #C0182B; cursor: ew-resize; }
.suite-compare-caption { min-height: 1.3em; margin: 0.5rem 0 0; color: #64748B; font-size: 0.75rem; text-align: center; }

.dining-brief-fields,
.experience-request-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
.dining-brief-fields label,
.experience-request-fields label,
.guestbook-card > label { display: grid; gap: 0.4rem; min-width: 0; color: #334155; font-size: 0.75rem; font-weight: 750; }
.dining-brief-fields input,
.dining-brief-fields select,
.experience-request-fields input,
.experience-request-fields select,
.guestbook-card textarea { width: 100%; min-width: 0; min-height: 48px; padding: 0.7rem 0.8rem; border: 1px solid #C7D0DB; border-radius: 0.65rem; background: rgba(255,255,255,0.88); color: #0B1529; font: 500 0.88rem var(--font-body); }
.dining-brief-fields input:focus-visible,
.dining-brief-fields select:focus-visible,
.experience-request-fields input:focus-visible,
.experience-request-fields select:focus-visible,
.guestbook-card textarea:focus-visible { outline: 3px solid rgba(192,24,43,0.26); border-color: #C0182B; }
.experience-notes-field { grid-column: span 2; }
.dining-brief-card > button { width: 100%; min-height: 48px; justify-content: center; margin-top: 0.5rem; }
.form-privacy-note { margin: 0.75rem 0; color: #667487; font-size: 0.74rem; line-height: 1.5; }
.experience-request-actions,
.guestbook-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.65rem; margin-top: 1rem; }
.experience-request-actions > *,
.guestbook-actions > * { min-height: 48px; align-items: center; justify-content: center; }
.guestbook-card > label { margin-bottom: 0.5rem; }
.guestbook-card textarea { min-height: 8rem; resize: vertical; line-height: 1.5; }
.saved-quote-status { display: block; color: #667487; font-size: 0.75rem; line-height: 1.45; }

@media (max-width: 600px) {
  .dining-brief-fields,
  .experience-request-fields { grid-template-columns: minmax(0, 1fr); }
  .experience-notes-field { grid-column: auto; }
  .suite-compare-stage { aspect-ratio: 4 / 3; }
  .suite-compare-label { top: 0.6rem; padding: 0.42rem 0.58rem; font-size: 0.58rem; }
  .suite-compare-label-left { left: 0.55rem; }
  .suite-compare-label-right { right: 0.55rem; }
  .experience-request-actions,
  .guestbook-actions { flex-direction: column; }
  .experience-request-actions > *,
  .guestbook-actions > * { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-filters .gallery-filter-btn,
  #virtualTourWidget .chapter-tabs .seg-btn { transition: none; transform: none; }
}

/* Pannellum 360 residence tour */
.pannellum-tour-card {
  padding: clamp(1rem, 3vw, 2rem); border: 1px solid rgba(255,255,255,.82); border-radius: 1.25rem;
  background: linear-gradient(145deg, #fff, #f1efe9 75%, #e9edf3); box-shadow: 0 22px 56px rgba(11,21,41,.14), inset 0 1px #fff;
}
.pannellum-tour-heading { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom:1.25rem; }
.pannellum-tour-heading h3 { margin:.1rem 0 .4rem; color:#0B1529; font:700 clamp(1.25rem,2.5vw,1.8rem)/1.25 var(--font-body); }
.pannellum-tour-heading p { max-width:48rem; margin:0; color:#526070; font-size:.9rem; line-height:1.6; }
.tour-360-badge { display:grid; place-items:center; flex:0 0 4rem; width:4rem; height:4rem; border:1px solid rgba(192,24,43,.38); border-radius:50%; color:#C0182B; font:700 1rem var(--font-body); box-shadow:inset 0 0 0 5px rgba(192,24,43,.06); }
.tour-scene-gallery-heading { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:.25rem .8rem; margin-top:1.25rem; color:#0B1529; }
.tour-scene-gallery-heading strong { font:800 .78rem var(--font-body); letter-spacing:.04em; }
.tour-scene-gallery-heading span { color:#637083; font-size:.72rem; }
.tour-room-selector { display:grid; grid-template-columns:repeat(auto-fill,minmax(145px,1fr)); gap:.65rem; margin:.7rem 0 1rem; padding:.25rem .4rem .6rem .25rem; }
.tour-scene-card { position:relative; display:grid; grid-template-rows:auto 1fr; min-width:0; min-height:125px; overflow:hidden; padding:0; border:1px solid #c9d1da; border-radius:.8rem; background:#fff; text-align:left; box-shadow:0 3px 10px rgba(11,21,41,.06); transition:border-color .2s,transform .2s,box-shadow .2s; }
.tour-scene-card:hover { transform:translateY(-2px); border-color:#C0182B; box-shadow:0 8px 20px rgba(11,21,41,.14); }
.tour-scene-card[aria-pressed="true"] { border:2px solid #C0182B; box-shadow:0 0 0 3px rgba(192,24,43,.12),0 8px 20px rgba(11,21,41,.12); }
.tour-scene-card img { display:block; width:100%; aspect-ratio:16/8.5; object-fit:cover; background:#0B1529; }
.tour-scene-card-copy { display:grid; align-content:start; gap:.16rem; min-height:48px; padding:.45rem .55rem .55rem; }
.tour-scene-card-copy small { color:#A31325; font-size:.57rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.tour-scene-card-copy strong { color:#0B1529; font-size:.68rem; line-height:1.25; }
.tour-scene-card-icon { position:absolute; top:.4rem; right:.4rem; display:grid; width:28px; height:28px; place-items:center; border:1px solid rgba(255,255,255,.85); border-radius:50%; background:rgba(11,21,41,.78); color:#fff; font-size:.9rem; }
.tour-scene-card:focus-visible,.tour-motion-row button:focus-visible,.chef-slideshow button:focus-visible { outline:3px solid #C0182B; outline-offset:3px; }
.tour-motion-row { display:flex; flex-wrap:wrap; align-items:center; gap:.45rem .8rem; margin-bottom:.85rem; }
.tour-motion-row[hidden] { display:none; }
.tour-motion-row button { min-height:48px; padding:.55rem .9rem; border:1px solid #26364c; border-radius:999px; background:#0B1529; color:#fff; font:800 .67rem var(--font-body); letter-spacing:.05em; touch-action:manipulation; }
.tour-motion-row button[aria-pressed="true"] { border-color:#C0182B; background:#C0182B; }
.tour-motion-row span { color:#637083; font-size:.71rem; }
.pannellum-viewer-shell { position:relative; width:100%; max-width:1920px; aspect-ratio:16 / 9; margin-inline:auto; overflow:hidden; border:1px solid rgba(255,255,255,.35); border-radius:.9rem; background:#07101e; box-shadow:0 14px 36px rgba(11,21,41,.22); }
#residence360Viewer { position:absolute; inset:0; width:100%; height:100%; min-height:0; background:#07101e; }
#residence360Viewer .pnlm-controls button { min-width:44px; min-height:44px; background-color:rgba(11,21,41,.88); color:#fff; }
#residence360Viewer .pnlm-hotspot-base { min-width:34px; min-height:34px; border:2px solid #fff; border-radius:50%; background-color:#C0182B; box-shadow:0 0 0 4px rgba(192,24,43,.35); }
#residence360Viewer .pnlm-hotspot-base.pnlm-scene { background-color:#0B1529; box-shadow:0 0 0 4px rgba(192,24,43,.48),0 3px 14px rgba(0,0,0,.35); }
#residence360Viewer .pnlm-hotspot-base:focus-visible { outline:3px solid #fff; outline-offset:4px; }
#residence360Viewer .pnlm-tooltip span { border:1px solid rgba(255,255,255,.24); border-radius:.45rem; background:#0B1529; color:#fff; font:600 .78rem/1.4 var(--font-body); }
.pannellum-fallback:not([hidden]) { position:absolute; inset:0; display:grid; min-height:0; place-items:center; gap:.85rem; padding:1rem; color:#fff; text-align:center; }
.pannellum-fallback img { display:block; width:100%; height:100%; min-height:0; border-radius:.55rem; object-fit:contain; background:#07101e; }
.pannellum-fallback p { margin:0; color:#fff; font-size:.84rem; line-height:1.5; }
#residence360Viewer[hidden] { display:none !important; }
.pannellum-tour-footer { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.3rem 1rem; padding-top:.85rem; }
.pannellum-tour-footer p { margin:0; color:#26364c; font-size:.8rem; font-weight:700; }
.pannellum-tour-footer > span { color:#637083; font-size:.72rem; }

/* Private chef & dining slideshow */
.chef-slideshow { overflow:hidden; border:1px solid rgba(255,255,255,.84); border-radius:1.15rem; background:#0B1529; box-shadow:0 22px 54px rgba(11,21,41,.2); }
.chef-slideshow-stage { position:relative; height:clamp(340px, 44vw, 560px); overflow:hidden; background:#0B1529; isolation:isolate; }
.chef-slide { position:absolute; inset:0; margin:0; opacity:0; visibility:hidden; transition:opacity .55s ease,visibility .55s ease; }
.chef-slide.is-active { z-index:1; opacity:1; visibility:visible; }
.chef-slide img { display:block; width:100%; height:100%; object-fit:contain; background:#0B1529; }
.chef-slide figcaption { position:absolute; right:0; bottom:0; left:0; display:grid; gap:.3rem; padding:3rem 1.25rem 1.1rem; background:linear-gradient(transparent,rgba(5,10,20,.88)); color:#fff; }
.chef-slide figcaption span { color:#f1d7a6; font-size:.66rem; font-weight:800; letter-spacing:.14em; }
.chef-slide figcaption strong { font:600 clamp(1.1rem,2vw,1.5rem) var(--font-display,var(--font-body)); }
.chef-slideshow-controls { display:flex; align-items:center; justify-content:center; gap:.6rem; padding:.8rem 1rem .35rem; }
.chef-slideshow-controls button { display:flex; min-width:48px; min-height:48px; align-items:center; justify-content:center; gap:.4rem; padding:.55rem .75rem; border:1px solid rgba(255,255,255,.28); border-radius:999px; background:rgba(255,255,255,.08); color:#fff; font:800 .65rem var(--font-body); letter-spacing:.08em; }
.chef-slideshow-controls button:hover { border-color:#f1d7a6; background:rgba(255,255,255,.16); }
.chef-slideshow-controls button svg { width:1.1rem; height:1.1rem; }
.chef-slideshow-controls > span { margin-left:.3rem; color:#d9e0eb; font-size:.7rem; font-variant-numeric:tabular-nums; }
.chef-slide-indicators { display:flex; justify-content:center; gap:.15rem; padding:0 1rem .9rem; }
.chef-slide-indicators button { display:grid; width:44px; height:44px; place-items:center; border:0; border-radius:50%; background:transparent; }
.chef-slide-indicators button::before { width:8px; height:8px; border-radius:50%; background:#8994a4; content:""; transition:width .2s,background-color .2s; }
.chef-slide-indicators button.is-active::before { width:22px; border-radius:999px; background:#f1d7a6; }
@media (max-width:600px) {
  .pannellum-tour-heading { align-items:flex-start; }
  .tour-360-badge { flex-basis:3.2rem; width:3.2rem; height:3.2rem; }
  .tour-room-selector { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.5rem; }
  .tour-scene-card { min-height:112px; }
  .pannellum-fallback:not([hidden]) { padding:.6rem; }
  .pannellum-tour-footer { align-items:flex-start; flex-direction:column; }
  .chef-slideshow-stage { height:clamp(340px, 105vw, 470px); }
  .chef-slideshow-controls { gap:.35rem; }
  .chef-slideshow-controls button { padding:.5rem .6rem; }
}
@media (prefers-reduced-motion:reduce) {
  .hero-photo-bg.hero-panorama-slide { animation:none; }
  .tour-room-selector button,.chef-slide,.chef-slide-indicators button::before { transition:none; }
}

/* Compact gallery, touch-safe panorama viewers, and hero picture-in-picture. */
.gallery-expand-wrap { display:flex; justify-content:center; padding-top:1.5rem; }
.gallery-expand-button { min-height:48px; padding:.75rem 1.25rem; border:1px solid #0B1529; border-radius:999px; background:#0B1529; color:#fff; font:800 .68rem var(--font-body); letter-spacing:.12em; transition:background-color .2s,border-color .2s,transform .2s; }
.gallery-expand-button:hover { transform:translateY(-1px); border-color:#C0182B; background:#C0182B; }
.gallery-expand-button:focus-visible { outline:3px solid #C0182B; outline-offset:3px; }
.gallery-expand-button[hidden] { display:none; }
.gallery-stack-preview { position:relative; width:min(100%,620px); height:clamp(190px,30vw,265px); margin:0 auto 1rem; isolation:isolate; }
.gallery-stack-sheet { position:absolute; inset:.25rem 1.3rem .1rem; border:1px solid rgba(11,21,41,.18); border-radius:1rem; background:#fff; box-shadow:0 12px 28px rgba(11,21,41,.12); }
.gallery-stack-sheet-back { transform:rotate(2.2deg) translateY(-3px); }
.gallery-stack-sheet-front { transform:rotate(-1.2deg) translateY(-1px); }
.gallery-stack-button { position:absolute; inset:0; display:block; width:calc(100% - 3rem); margin-inline:auto; overflow:hidden; padding:0; border:1px solid rgba(255,255,255,.86); border-radius:1rem; background:#0B1529; box-shadow:0 18px 38px rgba(11,21,41,.2); text-align:left; transition:transform .25s,box-shadow .25s; }
.gallery-stack-button:hover { transform:translateY(-3px); box-shadow:0 22px 44px rgba(11,21,41,.25); }
.gallery-stack-button:focus-visible { outline:3px solid #C0182B; outline-offset:5px; }
.gallery-stack-button img { display:block; width:100%; height:100%; object-fit:cover; object-position:center 54%; transition:transform .5s; }
.gallery-stack-button:hover img { transform:scale(1.025); }
.gallery-stack-overlay { position:absolute; inset:0; display:flex; flex-direction:column; justify-content:flex-end; gap:.3rem; padding:1.25rem 1.35rem; background:linear-gradient(90deg,rgba(7,15,29,.74),rgba(7,15,29,.16) 78%),linear-gradient(0deg,rgba(7,15,29,.76),transparent 70%); color:#fff; }
.gallery-stack-overlay small { color:#f1d7a6; font-size:.58rem; font-weight:800; letter-spacing:.16em; }
.gallery-stack-overlay strong { font:600 clamp(1rem,2vw,1.35rem) var(--font-editorial); }
.gallery-stack-overlay > span { margin-top:.2rem; font-size:.59rem; font-weight:800; letter-spacing:.12em; }
.gallery-filters[hidden],#galleryGrid[hidden],#galleryStackPreview[hidden],#galleryCollapseWrap[hidden] { display:none !important; }
#virtualTourWidget { scroll-margin-top:6rem; }
.hero-panorama-layer { background:transparent; }
.hero-panorama-card { position:absolute; z-index:2; top:clamp(5.5rem,12vh,7.5rem); right:clamp(1rem,4vw,3.5rem); width:min(32vw,440px); aspect-ratio:2/1; overflow:hidden; border:1px solid rgba(241,215,166,.82); border-radius:15px; background:#0B1529; box-shadow:0 20px 54px rgba(0,0,0,.4),0 0 0 4px rgba(255,255,255,.12); pointer-events:auto; }
.hero-panorama-guard,.hero-panorama-exit { pointer-events:auto; }
#heroPanoramaViewer { position:absolute; inset:0; width:100%; height:100%; aspect-ratio:auto; border:0; border-radius:0; box-shadow:none; -webkit-backdrop-filter:none; backdrop-filter:none; }
#heroPanoramaViewer::after { right:9px; bottom:8px; }
.hero-video-container { background-image:url('assets/images/guesthouse/pool-and-grounds-view-021.jpeg_b0796a7e.jpg'); }
.hero-video-container::before { background:linear-gradient(90deg,rgba(6,14,29,.74),rgba(6,14,29,.38) 60%,rgba(6,14,29,.35)),linear-gradient(0deg,rgba(6,14,29,.48),transparent 48%); }
.hero-video-container::after { background:linear-gradient(to top,var(--canvas) 0%,rgba(249,246,240,.9) 7%,rgba(249,246,240,.34) 14%,rgba(11,21,41,.22) 35%,rgba(11,21,41,.16) 62%,transparent 78%); }
.tour-touch-guard,.tour-touch-exit { display:none; }
.tour-details-panel { display:flex; align-items:flex-start; justify-content:space-between; gap:1rem; margin-top:1rem; padding:1rem 1.15rem; border:1px solid #d8c69f; border-left:4px solid #C0182B; border-radius:.75rem; background:#fff; box-shadow:0 8px 22px rgba(11,21,41,.08); }
.tour-details-panel[hidden] { display:none; }
.tour-details-panel small { display:block; margin-bottom:.2rem; color:#9d1425; font-size:.62rem; font-weight:800; letter-spacing:.14em; }
.tour-details-panel strong { display:block; color:#0B1529; font-size:1rem; }
.tour-details-panel p { margin:.35rem 0 0; color:#465368; font-size:.85rem; line-height:1.55; }
.tour-details-panel button { flex:0 0 auto; width:40px; height:40px; border:1px solid #d6dbe2; border-radius:50%; background:#fff; color:#0B1529; font-size:1.5rem; }
.tour-details-panel button:focus-visible { outline:3px solid #C0182B; outline-offset:2px; }
@media (hover:none) and (pointer:coarse) {
  .tour-touch-guard:not([hidden]) { position:absolute; z-index:30; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.35rem; padding:1rem; border:0; background:rgba(7,16,30,.34); color:#fff; font:800 .72rem var(--font-body); letter-spacing:.14em; text-align:center; touch-action:pan-y; }
  .tour-touch-guard span { color:#f1d7a6; font-size:.68rem; font-weight:600; letter-spacing:.02em; }
  .tour-touch-exit:not([hidden]) { position:absolute; z-index:35; right:.7rem; bottom:.7rem; display:block; min-height:40px; padding:.55rem .8rem; border:1px solid rgba(255,255,255,.7); border-radius:999px; background:rgba(11,21,41,.9); color:#fff; font:800 .58rem var(--font-body); letter-spacing:.06em; touch-action:manipulation; }
  .hero-panorama-guard:not([hidden]) { border-radius:14px; }
}
@media (max-width:640px) {
  .hero-panorama-card { top:calc(4.65rem + env(safe-area-inset-top)); right:max(.8rem,env(safe-area-inset-right)); width:min(46vw,205px); border-radius:10px; }
  .hero-panorama-card #heroPanoramaViewer::after { right:5px; bottom:5px; padding:4px 6px; font-size:7px; }
  .pannellum-viewer-shell { aspect-ratio:4/3; }
}
.hero-panorama-card { border:1px solid rgba(255,255,255,.35); border-radius:1rem; box-shadow:0 24px 60px rgba(0,0,0,.32),0 0 0 1px rgba(241,215,166,.18); }
#heroPanoramaViewer::after { display:none; }
.hero-panorama-caption { position:absolute; z-index:12; right:0; bottom:0; left:0; display:grid; gap:.24rem; padding:2.6rem .9rem .8rem; background:linear-gradient(transparent,rgba(5,12,24,.82)); color:#fff; pointer-events:none; }
.hero-panorama-caption span { color:#f1d7a6; font-size:.56rem; font-weight:800; letter-spacing:.16em; }
.hero-panorama-caption strong { overflow:hidden; font:600 clamp(.78rem,1.1vw,1rem) var(--font-editorial); text-overflow:ellipsis; white-space:nowrap; }
.hero-panorama-layer.is-docked { position:fixed; z-index:45; inset:auto max(1rem,env(safe-area-inset-right)) max(1rem,env(safe-area-inset-bottom)) auto; width:min(320px,calc(100vw - 2rem)); height:auto; aspect-ratio:2/1; overflow:visible; opacity:1; visibility:visible; pointer-events:auto; filter:drop-shadow(0 12px 30px rgba(0,0,0,.28)); }
.hero-panorama-layer.is-docked #heroPanoramaStill { display:none; }
.hero-panorama-layer.is-docked .hero-panorama-card { inset:0; width:100%; height:100%; aspect-ratio:auto; border-radius:.9rem; }
.hero-panorama-layer.is-docked .hero-panorama-caption { border-radius:0 0 .9rem .9rem; }
.hero-panorama-layer.is-docked #heroPanoramaViewer .pnlm-container { cursor:grab; }
.hero-panorama-layer.is-docked #heroPanoramaViewer .pnlm-container:active { cursor:grabbing; }
@media (max-width:640px) {
  .hero-panorama-card { width:min(43vw,195px); border-radius:.72rem; }
  .hero-panorama-caption { gap:.12rem; padding:1.6rem .5rem .45rem; }
  .hero-panorama-caption span { font-size:.43rem; }
  .hero-panorama-caption strong { font-size:.65rem; }
  .hero-panorama-layer.is-docked { width:min(58vw,230px); }
  .hero-panorama-layer.is-docked .hero-panorama-card { border-radius:.7rem; }
  .hero-panorama-layer.is-docked .hero-panorama-caption { border-radius:0 0 .7rem .7rem; }
}
@media (hover:none) and (pointer:coarse) {
  .hero-panorama-guard:not([hidden]) { inset:0; display:block; padding:0; border:0; border-radius:inherit; background:transparent; color:transparent; font-size:0; touch-action:pan-y; }
  .hero-panorama-guard span { display:none; }
  .hero-panorama-guard:not([hidden])::after { position:absolute; top:.55rem; left:.55rem; padding:.42rem .62rem; border:1px solid rgba(255,255,255,.52); border-radius:999px; background:rgba(11,21,41,.68); color:#fff; content:"TAP TO INTERACT"; font:800 .48rem/1 var(--font-body); letter-spacing:.1em; box-shadow:0 3px 12px rgba(0,0,0,.18); }
}

/* Small-screen spacing and controls. */
@media (max-width:640px) {
  .hero-video-container {
    min-height: max(46rem, 92svh);
    padding: 10.5rem 1rem 4rem;
  }
  .hero-content { max-width: 34rem; }
  .hero-content > span:first-child { max-width: 100%; padding-inline:.7rem; font-size:.55rem; line-height:1.5; }
  .hero-content h1 { max-width: 100%; margin-bottom:.8rem; font-size:clamp(1.75rem,8vw,2.7rem); letter-spacing:.045em; line-height:1.12; }
  .hero-subtext-card { margin-bottom:1rem; padding:1rem; }
  .hero-subtext-card p { font-size:.88rem; line-height:1.55; }
  .hero-content .grid.grid-cols-2 { gap:.5rem; margin-bottom:1.1rem; }
  .hero-feature-pill { min-width:0; gap:.5rem; padding:.55rem; }
  .hero-feature-pill > div:last-child { min-width:0; }
  .hero-feature-pill span { overflow-wrap:anywhere; font-size:.65rem !important; line-height:1.3; }
  .hero-content .flex.flex-wrap.items-center.justify-center.gap-3\.5 { width:100%; gap:.55rem; }
  .hero-content .flex.flex-wrap.items-center.justify-center.gap-3\.5 > a { min-height:46px; justify-content:center; width:100%; padding-inline:.75rem !important; font-size:.64rem; }

  .hero-panorama-card { top:calc(4.55rem + env(safe-area-inset-top)); right:max(.7rem,env(safe-area-inset-right)); width:min(38vw,158px); min-width:126px; aspect-ratio:1.8/1; }
  .hero-panorama-caption { padding:1.35rem .42rem .38rem; }
  .hero-panorama-caption span { font-size:.38rem; }
  .hero-panorama-caption strong { font-size:.58rem; }
  .hero-panorama-layer.is-docked { right:max(.7rem,env(safe-area-inset-right)); bottom:max(5.4rem,calc(4.6rem + env(safe-area-inset-bottom))); width:min(50vw,190px); }

  #virtualTourWidget { padding-block:3.25rem; scroll-margin-top:5rem; }
  #virtualTourWidget > div { padding-inline:1rem; }
  #virtualTourWidget .flex.flex-col.md\:flex-row { margin-bottom:1.5rem; }
  #virtualTourWidget h2 { font-size:clamp(1.65rem,8vw,2.35rem); line-height:1.15; }
  .pannellum-tour-card { padding:.85rem; border-radius:.9rem; }
  .pannellum-tour-heading { gap:.5rem; margin-bottom:.9rem; }
  .pannellum-tour-heading p { font-size:.82rem; }
  .tour-360-badge { flex-basis:2.7rem; width:2.7rem; height:2.7rem; font-size:.82rem; }
  .tour-scene-gallery-heading { align-items:flex-start; flex-direction:column; }
  .tour-scene-gallery-heading span { font-size:.68rem; line-height:1.45; }
  .tour-room-selector { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.45rem; padding:.2rem 0 .5rem; }
  .tour-scene-card { min-height:0; border-radius:.65rem; }
  .tour-scene-card-copy { min-height:44px; padding:.4rem; }
  .tour-scene-card-copy small { font-size:.5rem; }
  .tour-scene-card-copy strong { font-size:.62rem; }
  .tour-motion-row { gap:.4rem; }
  .tour-motion-row button { flex:1 1 calc(50% - .4rem); min-height:44px; padding:.5rem .55rem; font-size:.6rem; }
  .tour-motion-row span { flex-basis:100%; line-height:1.45; }
  .pannellum-viewer-shell { aspect-ratio:4/3; min-height:250px; max-height:70svh; border-radius:.7rem; }
  .pannellum-tour-footer { gap:.3rem; }
  .pannellum-tour-footer p,.pannellum-tour-footer > span { font-size:.68rem; line-height:1.45; }
  .tour-details-panel { gap:.55rem; padding:.75rem; }

  .gallery-stack-preview { height:clamp(170px,52vw,220px); }
  .gallery-stack-sheet { inset:.2rem .85rem .1rem; }
  .gallery-stack-button { width:calc(100% - 1.75rem); border-radius:.75rem; }
  .gallery-stack-overlay { padding:.85rem; }
  .gallery-stack-overlay small { font-size:.5rem; }
  .gallery-stack-overlay > span { font-size:.52rem; }
  .gallery-expand-button { width:min(100%,20rem); }
}

@media (max-width:380px) {
  .hero-panorama-card { width:132px; min-width:0; }
  .hero-video-container { padding-top:10rem; }
  .hero-feature-pill { padding:.45rem; }
  .tour-scene-card-icon { width:24px; height:24px; }
  .gallery-stack-button { width:calc(100% - 1.25rem); }
}

/* Concierge readability: comfortable body copy, predictable paragraph rhythm, and no iOS input zoom. */
#aiChatMessages { font-size:.9rem; line-height:1.65; }
#aiChatMessages .chat-bubble-concierge { max-width: min(100%, 42rem); font-size:.92rem !important; line-height:1.7 !important; }
#aiChatMessages .chat-bubble-concierge p { margin:0; line-height:1.72; }
#aiChatMessages .chat-bubble-concierge p + p { margin-top:.8rem; }
#aiChatMessages .chat-bubble-concierge li { padding-left:.1rem; line-height:1.6; }
#aiChatMessages .chat-bubble-concierge strong { color:#0B1529; font-weight:750; }
#aiChatInput { min-width:0; min-height:46px; font-size:16px; line-height:1.4; }
#aiModal .ai-quick-action { min-height:40px; }

/* Liquid-glass neon hover for primary navigation; keyboard focus gets the same cue. */
nav.site-nav-glass .nav-link:hover,
nav.site-nav-glass .nav-link:focus-visible {
  color:#0B1529;
  border-color:rgba(0,205,255,.78);
  background:linear-gradient(135deg,rgba(255,255,255,.88),rgba(219,249,255,.62) 58%,rgba(244,233,255,.64));
  -webkit-backdrop-filter:blur(18px) saturate(190%);
  backdrop-filter:blur(18px) saturate(190%);
  box-shadow:0 0 0 1px rgba(0,205,255,.24),0 0 15px rgba(0,205,255,.34),0 0 24px rgba(138,92,255,.16),inset 0 1px 0 rgba(255,255,255,.96);
}
nav.site-nav-glass .nav-link:focus-visible { outline:2px solid #13bde7; outline-offset:2px; }
.mobile-glass-menu a:focus-visible,
.mobile-glass-menu a:hover {
  border-radius:.65rem;
  background:linear-gradient(120deg,rgba(219,249,255,.62),rgba(244,233,255,.55));
  box-shadow:0 0 12px rgba(0,205,255,.22),inset 0 0 0 1px rgba(0,205,255,.34);
  outline-color:#13bde7;
}

/* Use viewport, orientation, and touch capability so each device gets the right layout automatically. */
@media (orientation:landscape) and (max-height:600px) {
  .hero-video-container {
    min-height:100svh;
    padding:5.5rem 1.25rem 2rem;
  }
  .hero-content { max-width: min(100%, 68rem); }
  .hero-content h1 { font-size:clamp(1.8rem,5vw,3.2rem); }
  .hero-panorama-card { top:calc(4.4rem + env(safe-area-inset-top)); width:min(27vw,260px); }
  .hero-panorama-layer.is-docked { width:min(32vw,250px); bottom:max(.65rem,env(safe-area-inset-bottom)); }
  #virtualTourWidget { padding-block:2.75rem; }
  .pannellum-viewer-shell { aspect-ratio:16/9; max-height:76svh; }
  #aiModal > .relative { height:calc(100dvh - 1rem); max-height:calc(100dvh - 1rem); }
}

@media (orientation:landscape) and (max-height:600px) and (pointer:coarse) {
  .hero-video-container { padding-top:7.5rem; }
  .hero-content .grid.grid-cols-2 { max-width:42rem; }
  .hero-panorama-card { width:min(24vw,220px); }
  .pannellum-viewer-shell { min-height:0; height:min(72svh,620px); }
}

@media (max-width:767px) {
  #aiModal { padding-inline:env(safe-area-inset-left) env(safe-area-inset-right); }
  #aiModal > .relative { width:100%; }
  #aiChatMessages { padding:1rem; }
  #aiChatMessages .chat-bubble-concierge { padding:1rem; }
}

/* A quiet neon edge and live-status pilot LED make the local forecast easy to spot. */
.stay-weather {
  position:relative;
  border:1px solid transparent;
  background:linear-gradient(110deg,#f4f8fb,#fff) padding-box,
    linear-gradient(115deg,#00d9ff 0%,#5478ff 48%,#be5cff 100%) border-box;
  box-shadow:0 0 0 1px rgba(0,217,255,.12),0 0 16px rgba(0,217,255,.16),0 0 28px rgba(84,120,255,.1);
}
.stay-weather::after {
  position:absolute; top:.85rem; right:.9rem; width:.58rem; height:.58rem;
  border:2px solid #fff; border-radius:50%; background:#43e68b;
  box-shadow:0 0 0 2px rgba(67,230,139,.22),0 0 10px 3px rgba(67,230,139,.72);
  content:""; animation:weather-pilot-pulse 2.4s ease-in-out infinite;
}
#stayWeather[data-weather-state="loading"]::after { background:#45caff; box-shadow:0 0 0 2px rgba(69,202,255,.2),0 0 10px 3px rgba(69,202,255,.7); }
#stayWeather[data-weather-state="unavailable"]::after { background:#f0aa48; box-shadow:0 0 0 2px rgba(240,170,72,.18),0 0 8px 2px rgba(240,170,72,.5); animation:none; }
.stay-weather strong { color:#0B1529; text-shadow:none; }
.stay-weather #stayWeatherText {
  color:#075b7a;
  font-weight:700;
  text-shadow:0 0 1px rgba(0,217,255,.62),0 0 9px rgba(0,217,255,.3);
}
.stay-weather .stay-weather-updated { color:#667487; text-shadow:none; }
.stay-weather .stay-weather-credit,
.stay-weather .stay-weather-credit a { color:inherit; }
.stay-weather-icon {
  border:0;
  background:#E8EEF4;
  color:#1E3A8A;
  box-shadow:none;
  text-shadow:none;
}
@keyframes weather-pilot-pulse {
  0%,100% { box-shadow:0 0 0 2px rgba(67,230,139,.2),0 0 8px 2px rgba(67,230,139,.58); }
  50% { box-shadow:0 0 0 5px rgba(67,230,139,.08),0 0 14px 5px rgba(67,230,139,.78); }
}
@media (prefers-reduced-motion:reduce) {
  .stay-weather::after { animation:none; }
}


/* Estate attractions: editorial photo feature with a responsive local-experience gallery. */
.estate-explore-section { background:linear-gradient(180deg,#f7f4ee 0%,#efebe2 100%); color:#334155; }
.estate-explore-heading { max-width:48rem; margin:0 auto 3rem; text-align:center; }
.estate-explore-heading h2 { margin:.8rem 0 1rem; }
.estate-explore-heading p { max-width:42rem; margin:0 auto; color:#5e6776; font-size:.95rem; line-height:1.75; }
.estate-feature-grid { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(18rem,.85fr); gap:clamp(1.5rem,4vw,4rem); align-items:center; }
.estate-feature-image { position:relative; min-height:22rem; aspect-ratio:1.38; overflow:hidden; border-radius:1rem; background:#dce2d8; box-shadow:0 22px 50px rgba(11,21,41,.15); }
.estate-feature-image::after { position:absolute; inset:35% 0 0; content:""; background:linear-gradient(transparent,rgba(5,14,25,.76)); pointer-events:none; }
.estate-feature-image img,.estate-photo-card img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .55s ease; }
.estate-feature-image:hover img,.estate-photo-card:hover img { transform:scale(1.035); }
.estate-feature-image figcaption { position:absolute; z-index:1; right:1.5rem; bottom:1.35rem; left:1.5rem; display:grid; gap:.35rem; color:white; }
.estate-feature-image figcaption span,.estate-kicker { color:#e7c98e; font-size:.65rem; font-weight:800; letter-spacing:.16em; text-transform:uppercase; }
.estate-feature-image figcaption strong { font:600 clamp(1.2rem,2.4vw,1.8rem) var(--font-editorial); }
.estate-feature-copy { max-width:34rem; }
.estate-feature-copy h3 { margin:.7rem 0 1rem; color:#0b1529; font-size:clamp(1.65rem,3vw,2.35rem); line-height:1.2; }
.estate-feature-copy p { margin:.8rem 0; color:#556172; font-size:.91rem; line-height:1.75; }
.estate-enquire-link { display:inline-flex; align-items:center; gap:.7rem; margin-top:1rem; padding:.8rem 1rem; border:1px solid #c0182b; border-radius:999px; color:#0b1529; font-size:.75rem; font-weight:800; letter-spacing:.06em; text-decoration:none; transition:background .2s,color .2s; }
.estate-enquire-link:hover,.estate-enquire-link:focus-visible { background:#c0182b; color:#fff; }
.estate-enquire-link:focus-visible { outline:3px solid rgba(192,24,43,.25); outline-offset:3px; }
.estate-photo-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; margin-top:2rem; }
.estate-photo-card { min-width:0; margin:0; overflow:hidden; border:1px solid rgba(11,21,41,.1); border-radius:.8rem; background:#fff; box-shadow:0 10px 25px rgba(11,21,41,.07); }
.estate-photo-card img { aspect-ratio:1.8; }
.estate-photo-card figcaption { padding:.85rem 1rem; color:#253248; font-size:.76rem; font-weight:750; letter-spacing:.025em; }
@media (max-width:800px) {
  .estate-explore-section { padding-block:4rem; }
  .estate-explore-heading { margin-bottom:2rem; }
  .estate-feature-grid { grid-template-columns:1fr; gap:1.4rem; }
  .estate-feature-image { min-height:16rem; aspect-ratio:1.35; }
  .estate-feature-copy { max-width:none; }
  .estate-photo-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.75rem; margin-top:1.4rem; }
  .estate-photo-card:last-child { display:none; }
}
@media (max-width:480px) {
  .estate-explore-heading { text-align:left; }
  .estate-explore-heading p { font-size:.88rem; }
  .estate-feature-image { min-height:14rem; border-radius:.75rem; }
  .estate-feature-image figcaption { right:1rem; bottom:1rem; left:1rem; }
  .estate-photo-grid { gap:.55rem; }
  .estate-photo-card { border-radius:.65rem; }
  .estate-photo-card figcaption { padding:.65rem .7rem; font-size:.67rem; }
  .estate-enquire-link { min-height:46px; }
}
@media (prefers-reduced-motion:reduce) {
  .estate-feature-image img,.estate-photo-card img { transition:none; }
}

/* ---------------------------------------------------------------------------
   Three-day weather strip
   Shown under the current conditions, so a guest can see the next two days
   without reading a sentence. Collapses to a comfortable tap size on phones.
   --------------------------------------------------------------------------- */
.stay-weather-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}
@media (max-width: 1024px) {
  .stay-weather-days {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .stay-weather-days {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem;
  }
}
.stay-weather-day {
  display: grid;
  justify-items: center;
  gap: 0.2rem;
  padding: 0.75rem 0.5rem;
  border: 1px solid rgba(11,21,41,0.1);
  border-radius: 0.8rem;
  background: rgba(255,255,255,0.72);
  text-align: center;
  min-width: 0;
}
.stay-weather-day.is-today {
  border-color: rgba(192,24,43,0.38);
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(250,248,245,0.94));
  box-shadow: 0 8px 20px -16px rgba(11,21,41,0.55);
}
.stay-weather-day-name {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #334155;
}
.stay-weather-day.is-today .stay-weather-day-name { color: #C0182B; }
.stay-weather-day-icon { font-size: 1.35rem; line-height: 1.1; }
.stay-weather-day-temps { display: flex; align-items: baseline; gap: 0.25rem; }
.stay-weather-day-temps strong { font-size: 0.95rem; color: #0B1529; }
.stay-weather-day-temps small { font-size: 0.72rem; color: #667487; }
.stay-weather-day-rain { font-size: 0.7rem; color: #075b7a; font-weight: 700; min-height: 1em; }
.stay-weather-day-mm { font-size: 0.66rem; color: #526070; min-height: 0.9em; line-height: 1.1; }
.stay-weather-day-cond {
  font-size: 0.66rem;
  line-height: 1.25;
  color: #526070;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
@media (max-width: 420px) {
  .stay-weather-days { gap: 0.4rem; }
  .stay-weather-day { padding: 0.6rem 0.3rem; }
  .stay-weather-day-cond { font-size: 0.62rem; }
}

/* ---------------------------------------------------------------------------
   Fallback when the Tailwind CDN cannot be reached.
   The page is built on Tailwind utility classes, so without them it would lose
   its layout entirely. These rules restore the structure a visitor needs:
   readable type, stacked sections, full-width images, visible buttons.
   They only apply when the script reported failure.
   --------------------------------------------------------------------------- */
.tw-unavailable body { font-family: var(--font-body); color: #1E293B; background: #F9F6F0; }
.tw-unavailable img, .tw-unavailable video { max-width: 100%; height: auto; }
.tw-unavailable section, .tw-unavailable header, .tw-unavailable footer,
.tw-unavailable main, .tw-unavailable article, .tw-unavailable div { max-width: 100%; }
.tw-unavailable section { padding: 2.5rem 1.25rem; }
.tw-unavailable h1 { font-size: 2rem; line-height: 1.15; margin: 0 0 0.75rem; }
.tw-unavailable h2 { font-size: 1.5rem; line-height: 1.2; margin: 0 0 0.6rem; }
.tw-unavailable h3 { font-size: 1.15rem; margin: 0 0 0.5rem; }
.tw-unavailable p, .tw-unavailable li { font-size: 1rem; line-height: 1.6; }
.tw-unavailable a { color: #C0182B; text-decoration: underline; }
.tw-unavailable a[class*="btn"], .tw-unavailable button {
  display: inline-block; padding: 0.7rem 1.1rem; margin: 0.25rem 0.25rem 0.25rem 0;
  border: 1px solid #C0182B; border-radius: 0.55rem; background: #fff; color: #0B1529;
  font-weight: 700; text-decoration: none; cursor: pointer;
}
.tw-unavailable input, .tw-unavailable select, .tw-unavailable textarea {
  display: block; width: 100%; max-width: 32rem; padding: 0.6rem 0.7rem; margin: 0.3rem 0 0.8rem;
  border: 1px solid #C7D0DB; border-radius: 0.5rem; background: #fff; font: inherit;
}
.tw-unavailable ul, .tw-unavailable ol { padding-left: 1.25rem; }
/* Anything positioned as an overlay becomes a normal block so nothing covers content */
.tw-unavailable #tourInteractionGuard, .tw-unavailable .tour-touch-exit { position: static; }

/* ==========================================================================
   GUIDED PHOTO WALK
   Replaces the old panorama tour. Real photographs only, no distortion.
   ========================================================================== */
.residence-walk-card {
  background: #FAF8F5;
  border: 1px solid rgba(120, 113, 108, 0.35);
  border-radius: 0.5rem;
  box-shadow: 0 20px 45px -25px rgba(11, 21, 41, 0.45);
  padding: 1.75rem;
}
.walk-counter {
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
  font-family: Georgia, 'Times New Roman', serif;
  color: #8a6d3b;
  white-space: nowrap;
}
.walk-counter strong { font-size: 2rem; line-height: 1; font-weight: 400; }
.walk-counter span { font-size: 0.8rem; letter-spacing: 0.12em; opacity: 0.7; }
.walk-counter span::before { content: '/'; margin-right: 0.15rem; }

.walk-progress { margin: 1.1rem 0 1.25rem; }
.walk-progress-bar {
  height: 3px;
  background: rgba(11, 21, 41, 0.12);
  border-radius: 999px;
  overflow: hidden;
}
.walk-progress-bar span {
  display: block;
  height: 100%;
  width: 2%;
  background: linear-gradient(90deg, #b08d4f, #e0c48a);
  transition: width 420ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.walk-progress-labels {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #57534e;
}
.walk-progress-labels strong { color: #0B1529; letter-spacing: 0.2em; }

.walk-stage {
  position: relative;
  overflow: hidden;
  border-radius: 0.375rem;
  background: #0B1529;
  aspect-ratio: 16 / 9;
}
.walk-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1;
  transform: scale(1.02);
  transition: opacity 320ms ease, transform 5200ms ease-out;
  will-change: opacity, transform;
}
/* The slow drift is what makes it feel filmed rather than clicked. */
.walk-stage img.walk-drift { transform: scale(1.08); }
.walk-stage img.walk-fading { opacity: 0; }
.walk-stage-shade {
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(to top, rgba(6, 12, 24, 0.82), transparent);
  pointer-events: none;
}
.walk-caption {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  pointer-events: none;
}
.walk-caption strong {
  color: #fff;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.walk-caption span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.walk-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(11, 21, 41, 0.45);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 200ms ease, transform 200ms ease;
}
.walk-nav:hover { background: rgba(11, 21, 41, 0.78); }
.walk-nav:focus-visible { outline: 2px solid #e0c48a; outline-offset: 2px; }
.walk-nav-prev { left: 0.7rem; }
.walk-nav-next { right: 0.7rem; }

.walk-stops {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.1rem;
}
.walk-stop {
  border: 1px solid rgba(120, 113, 108, 0.4);
  background: transparent;
  color: #44403c;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 180ms ease;
}
.walk-stop:hover { border-color: #b08d4f; color: #0B1529; }
.walk-stop[aria-current='true'] {
  background: #0B1529;
  border-color: #0B1529;
  color: #fff;
}
.walk-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  font-size: 0.72rem;
  color: #78716c;
}
.walk-footer #walkStatus { color: #0B1529; letter-spacing: 0.04em; }

@media (max-width: 640px) {
  .residence-walk-card { padding: 1.1rem; }
  .walk-nav { width: 2.2rem; height: 2.2rem; font-size: 1.2rem; }
  .walk-caption strong { font-size: 0.95rem; }
  .walk-counter strong { font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .walk-stage img { transition: opacity 200ms ease; transform: none !important; }
  .walk-progress-bar span { transition: none; }
}

/* ==========================================================================
   RESIDENCE ATMOSPHERE REEL
   Passive slideshow. Plays itself; nothing to drag or explore.
   ========================================================================== */
.residence-reel-card {
  margin-top: 1.75rem;
  background: #FAF8F5;
  border: 1px solid rgba(120, 113, 108, 0.35);
  border-radius: 0.5rem;
  box-shadow: 0 20px 45px -25px rgba(11, 21, 41, 0.45);
  padding: 1.75rem;
}
.reel-heading h3 { margin: 0 0 0.35rem; }
.reel-heading p { margin: 0 0 1rem; color: #57534e; font-size: 0.9rem; }

.reel-stage {
  position: relative;
  overflow: hidden;
  border-radius: 0.375rem;
  background: #0B1529;
  aspect-ratio: 16 / 9;
  cursor: pointer;
}
.reel-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1100ms ease-in-out, transform 9000ms linear;
  will-change: opacity, transform;
}
.reel-frame.is-visible {
  opacity: 1;
  transform: scale(1.12);
}
.reel-shade {
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(to top, rgba(6, 12, 24, 0.78), transparent);
  pointer-events: none;
}
.reel-caption {
  position: absolute;
  left: 1.1rem;
  bottom: 2.4rem;
  pointer-events: none;
}
.reel-caption span {
  color: #fff;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.reel-dots {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  gap: 0.35rem;
  pointer-events: none;
}
.reel-dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  transition: background 400ms ease, width 400ms ease;
}
.reel-dot.is-active { background: #e0c48a; width: 16px; }

@media (max-width: 640px) {
  .residence-reel-card { padding: 1.1rem; }
  .reel-caption span { font-size: 0.78rem; }
}
@media (prefers-reduced-motion: reduce) {
  .reel-frame { transition: opacity 300ms ease; transform: none !important; }
  .reel-frame.is-visible { transform: none !important; }
}

/* =============================================================================
   ESTATE WEATHER FORECAST WIDGET & TYPOGRAPHY LEGIBILITY ENHANCEMENTS
   ============================================================================= */
.estate-weather-widget-shell {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.94));
  border: 1px solid rgba(14, 28, 58, 0.14);
  border-radius: 1.1rem;
  padding: 1.6rem;
  box-shadow: 0 16px 36px rgba(11, 21, 41, 0.07), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  margin-bottom: 2rem;
}

.weather-live-indicator {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25), 0 0 10px #10B981;
  animation: weather-pilot-pulse 2.2s infinite ease-in-out;
}

.estate-weather-widget-shell .stay-weather {
  margin: 0;
  max-width: 100%;
  border-radius: 0.9rem;
  background: linear-gradient(110deg, #F0F6FA, #FFFFFF);
  border: 1px solid rgba(192, 24, 43, 0.22);
  box-shadow: 0 6px 18px rgba(11, 21, 41, 0.05);
}

.estate-weather-widget-shell .stay-weather #stayWeatherText {
  color: #0E1C3A;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.55;
  text-shadow: none;
}

/* Global Font Legibility Enhancements */
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.72;
  color: #1F2937;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p {
  color: #1F2937;
  line-height: 1.72;
}

/* Ensure secondary and small text remains distinct, crisp and easily readable */
.text-xs {
  font-size: 0.85rem !important;
  line-height: 1.6;
}

.text-\[10px\], .text-\[11px\], .text-\[11\.5px\] {
  font-size: 0.78rem !important;
  letter-spacing: 0.04em;
}

.text-\[\#334155\], .text-\[\#5E6776\], .text-\[\#526070\], .text-\[\#556172\] {
  color: #2D3748 !important;
}

.booking-label, label {
  color: #0B1529 !important;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.booking-input, select, input[type="date"], input[type="text"], input[type="email"], input[type="tel"] {
  color: #0B1529 !important;
  font-size: 0.88rem !important;
  font-weight: 600;
}
