/* ============================================================
   OCTA COLLECTION ON FRONT BEACH — Shared Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

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

:root {
  --cream:       #F8F6F1;
  --sand:        #EDE5D8;
  --linen:       #F2EDE5;
  --gold:        #C09040;
  --gold-light:  #D4AD68;
  --gold-dark:   #8B6828;
  --charcoal:    #1A1918;
  --slate:       #2E2C2A;
  --mid:         #6B6560;
  --pale:        #9E9890;
  --white:       #FFFFFF;
  --border:      #E2D9CC;
  --border-gold: rgba(192,144,64,0.3);

  --font-display: 'Cormorant Garamond', 'Palatino Linotype', Georgia, serif;
  --font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --nav-h: 80px;
  --max-w: 1300px;
  --ease:  cubic-bezier(0.4, 0, 0.2, 1);
  --t:     0.35s;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block; max-width: 100%; height: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  image-rendering: -webkit-optimize-contrast; /* iOS Safari — prevents subpixel blur */
}
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }

/* ---- Typography Scale ---- */
.display   { font-family: var(--font-display); font-weight: 300; line-height: 1.1; letter-spacing: -0.01em; }
.headline  { font-family: var(--font-display); font-weight: 400; line-height: 1.2; }
.label     { font-family: var(--font-body); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; }

h1 { font-family: var(--font-display); font-weight: 300; }
h2 { font-family: var(--font-display); font-weight: 400; }
h3 { font-family: var(--font-display); font-weight: 400; }

/* ---- Layout Utilities ---- */
.container { width: 100%; max-width: var(--max-w); margin-inline: auto; padding-inline: 40px; }
.section   { padding-block: 96px; }
.section--sm { padding-block: 64px; }
.section--lg { padding-block: 128px; }

/* ---- Gold Rule ---- */
.gold-rule {
  display: flex; align-items: center; gap: 16px;
  margin-block-end: 48px;
}
.gold-rule::before, .gold-rule::after {
  content: ''; flex: 1; height: 1px; background: var(--border-gold);
}
.gold-rule span { color: var(--gold); font-size: 1.1rem; flex-shrink: 0; }

/* ---- Section Intro ---- */
.section-intro { text-align: center; margin-block-end: 64px; }
.section-intro .eyebrow {
  display: inline-block; color: var(--gold);
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  margin-block-end: 16px;
}
.section-intro h2 { font-size: clamp(2rem, 4vw, 3.2rem); color: var(--charcoal); margin-block-end: 20px; }
.section-intro p  { font-size: 1.05rem; color: var(--mid); max-width: 600px; margin-inline: auto; line-height: 1.75; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  padding-inline: 40px;
  transition: background var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.site-nav.scrolled {
  background: rgba(248,246,241,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  width: 100%; max-width: var(--max-w); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.nav-logo img {
  height: 52px; width: auto;
  filter: brightness(0) invert(1);
  transition: filter var(--t) var(--ease);
}
.site-nav.scrolled .nav-logo img { filter: none; }
.nav-links {
  display: flex; align-items: center; gap: 36px;
}
.nav-links a {
  font-size: 0.82rem; font-weight: 400; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.9);
  transition: color var(--t);
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a:hover, .nav-links a.active { color: rgba(255,255,255,1); }

.site-nav.scrolled .nav-links a { color: var(--slate); }
.site-nav.scrolled .nav-links a:hover,
.site-nav.scrolled .nav-links a.active { color: var(--gold-dark); }

/* Inner pages: always render nav with solid background (no full-bleed dark hero behind it) */
body:has(.page-hero) .site-nav {
  background: rgba(248,246,241,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
body:has(.page-hero) .nav-links a { color: var(--slate); }
body:has(.page-hero) .nav-links a:hover,
body:has(.page-hero) .nav-links a.active { color: var(--gold-dark); }
body:has(.page-hero) .nav-logo img { filter: none; }
body:has(.page-hero) .nav-hamburger span { background: var(--charcoal); }

.nav-cta {
  padding: 11px 28px;
  background: var(--gold);
  color: var(--white) !important;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background var(--t) var(--ease), transform 0.2s;
}
.nav-cta:hover { background: var(--gold-dark); transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 28px; padding: 4px;
}
.nav-hamburger span {
  display: block; height: 1.5px; background: var(--white);
  transition: transform var(--t), opacity var(--t), background var(--t);
}
.site-nav.scrolled .nav-hamburger span { background: var(--charcoal); }
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Nav Drawer */
.nav-drawer {
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--cream); z-index: 999;
  padding: 32px 40px 48px;
  border-top: 1px solid var(--border);
  transform: translateY(-110%);
  transition: transform 0.4s var(--ease);
  box-shadow: 0 24px 40px rgba(0,0,0,0.12);
}
.nav-drawer.open { transform: translateY(0); }
.nav-drawer a {
  display: block; padding: 14px 0;
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 300;
  color: var(--charcoal); border-bottom: 1px solid var(--border);
}
.nav-drawer a:hover { color: var(--gold); }
.nav-drawer .drawer-cta {
  display: inline-block; margin-top: 28px;
  padding: 14px 40px;
  background: var(--gold); color: var(--white);
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; border-radius: 2px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 36px;
  font-family: var(--font-body); font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.25s var(--ease);
  cursor: pointer;
}
.btn-primary {
  background: var(--gold); color: var(--white);
  border: 1px solid var(--gold);
}
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(192,144,64,0.25); }

.btn-outline {
  background: transparent; color: var(--white);
  border: 1px solid rgba(255,255,255,0.6);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

.btn-outline-dark {
  background: transparent; color: var(--charcoal);
  border: 1px solid var(--border);
}
.btn-outline-dark:hover { border-color: var(--gold); color: var(--gold); }

.btn-gold-outline {
  background: transparent; color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-gold-outline:hover { background: var(--gold); color: var(--white); transform: translateY(-1px); }

/* Arrow icon */
.btn-arrow { font-size: 1.1rem; transition: transform 0.2s; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ============================================================
   HERO — HOMEPAGE
   ============================================================ */
.hero {
  position: relative; height: 100vh; min-height: 640px;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 30%;
  transform: scale(1.04);
  animation: heroZoom 12s ease-out forwards;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
@keyframes heroZoom { to { transform: scale(1); } }

.hero-overlay {
  position: absolute; inset: 0;
  /* Bottom-to-top dark vignette */
  background:
    linear-gradient(to bottom,  rgba(6,5,4,0.35) 0%,  rgba(6,5,4,0.05) 35%, rgba(6,5,4,0.70) 75%, rgba(6,5,4,0.92) 100%),
    linear-gradient(to right,   rgba(6,5,4,0.72) 0%,  rgba(6,5,4,0.30) 45%, rgba(6,5,4,0.00) 75%);
}
.hero-content {
  position: relative; z-index: 2;
  width: 100%; padding: 0 40px 88px;
  max-width: var(--max-w); margin-inline: auto;
  animation: fadeUp 1.2s 0.3s both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 14px;
  margin-block-end: 22px;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-light);
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}
.hero-eyebrow::before {
  content: ''; display: block; width: 40px; height: 1px;
  background: var(--gold-light); flex-shrink: 0; opacity: 0.8;
}
.hero-title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(3rem, 7vw, 6rem);
  color: var(--white); line-height: 1.05;
  margin-block-end: 24px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.55), 0 1px 4px rgba(0,0,0,0.4);
}
.hero-title em { font-style: italic; color: var(--gold-light); }
.hero-sub {
  font-size: 1.05rem; font-weight: 300;
  color: rgba(255,255,255,0.92); max-width: 520px;
  margin-block-end: 40px; line-height: 1.75;
  text-shadow: 0 1px 12px rgba(0,0,0,0.7), 0 1px 3px rgba(0,0,0,0.5);
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero scroll hint */
.hero-scroll {
  position: absolute; bottom: 32px; right: 48px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.6); font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  animation: fadeUp 1.4s 0.8s both;
}
.hero-scroll-line {
  width: 1px; height: 48px; background: rgba(255,255,255,0.3);
  animation: lineGrow 1.5s 1.2s both;
  transform-origin: top;
}
@keyframes lineGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* ============================================================
   BOOKING WIDGET SECTION
   ============================================================ */
.widget-section {
  background: var(--charcoal);
  padding-block: 40px;
  position: relative;
}
.widget-section::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.widget-label {
  text-align: center; margin-block-end: 28px;
}
.widget-label .eyebrow { color: var(--gold-light); }
.widget-label h2 {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 300;
  color: var(--white); margin-block-end: 4px;
}
.widget-label p { font-size: 0.9rem; color: rgba(255,255,255,0.5); }
.widget-wrap {
  max-width: 900px; margin-inline: auto;
  padding: 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
}

/* ============================================================
   WELCOME SECTION
   ============================================================ */
.welcome {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.welcome-text .eyebrow {
  display: inline-block; color: var(--gold);
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  margin-block-end: 20px;
}
.welcome-text h2 {
  font-size: clamp(2rem, 3.5vw, 3rem); margin-block-end: 24px;
}
.welcome-text p { color: var(--mid); line-height: 1.8; margin-block-end: 20px; font-size: 1.02rem; }

.welcome-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
  margin-top: 48px;
}
.stat-item {
  background: var(--cream); padding: 24px 20px; text-align: center;
}
.stat-num {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 300;
  color: var(--gold); line-height: 1; display: block; margin-block-end: 4px;
}
.stat-label { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mid); }

.welcome-image {
  position: relative;
}
.welcome-image-main {
  width: 100%; height: 560px;
  object-fit: cover; border-radius: 2px;
}
.welcome-image-accent {
  position: absolute; bottom: -32px; left: -32px;
  width: 200px; height: 200px;
  object-fit: cover; border-radius: 2px;
  border: 6px solid var(--cream);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.welcome-image-tag {
  position: absolute; top: 24px; right: -20px;
  background: var(--charcoal); color: var(--gold-light);
  padding: 12px 20px; font-family: var(--font-display);
  font-size: 0.9rem; font-style: italic;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* ============================================================
   FEATURED ROOMS
   ============================================================ */
.rooms-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.room-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
  display: flex; flex-direction: column;
}
.room-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(0,0,0,0.12); }

.room-card-img {
  position: relative; overflow: hidden; height: 260px;
}
.room-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
  will-change: transform;
}
.room-card:hover .room-card-img img { transform: scale(1.06); }
.room-card-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--gold); color: var(--white);
  font-size: 0.65rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 1px;
}
.room-card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.room-card-title {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 400;
  margin-block-end: 10px;
}
.room-card-meta {
  display: flex; gap: 16px; margin-block-end: 16px;
  flex-wrap: wrap;
}
.room-meta-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.8rem; color: var(--mid);
}
.room-meta-icon { color: var(--gold); font-size: 0.9rem; }
.room-card-desc { font-size: 0.9rem; color: var(--mid); line-height: 1.7; margin-block-end: 24px; flex: 1; }
.room-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 20px; border-top: 1px solid var(--border);
}
.room-price { font-family: var(--font-display); font-size: 1.1rem; }
.room-price strong { font-size: 1.8rem; font-weight: 400; color: var(--charcoal); }
.room-price span { font-size: 0.8rem; color: var(--mid); font-family: var(--font-body); }

/* ============================================================
   EXPERIENCE / PHOTO STRIP
   ============================================================ */
.experience-strip {
  display: grid; grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
  height: 440px; gap: 4px;
}
.exp-panel {
  position: relative; overflow: hidden; cursor: pointer;
}
.exp-panel img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease);
  will-change: transform;
}
.exp-panel:hover img { transform: scale(1.08); }
.exp-panel-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,8,6,0.65) 0%, transparent 50%);
  opacity: 0; transition: opacity 0.4s;
}
.exp-panel:hover .exp-panel-overlay { opacity: 1; }
.exp-panel-label {
  position: absolute; bottom: 20px; left: 20px;
  color: var(--white); font-family: var(--font-display);
  font-size: 1.1rem; font-style: italic;
  opacity: 0; transform: translateY(8px);
  transition: all 0.4s var(--ease);
}
.exp-panel:hover .exp-panel-label { opacity: 1; transform: translateY(0); }

/* ============================================================
   AMENITIES HIGHLIGHTS
   ============================================================ */
.amenities-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px; background: var(--border);
  border: 1px solid var(--border);
}
.amenity-item {
  background: var(--linen); padding: 36px 28px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  transition: background var(--t);
}
.amenity-item:hover { background: var(--white); }
.amenity-icon { font-size: 1.6rem; color: var(--gold); }
.amenity-name {
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 400;
  color: var(--charcoal);
}
.amenity-desc { font-size: 0.85rem; color: var(--mid); line-height: 1.6; }

/* ============================================================
   TRUST / REVIEW SECTION
   ============================================================ */
.trust-section { background: var(--charcoal); color: var(--white); }
.trust-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.trust-card { text-align: center; }
.trust-stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 4px; margin-block-end: 20px; }
.trust-quote {
  font-family: var(--font-display); font-size: 1.15rem; font-style: italic; font-weight: 300;
  line-height: 1.7; color: rgba(255,255,255,0.85); margin-block-end: 20px;
}
.trust-attribution { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-light); }
.trust-platform { color: rgba(255,255,255,0.4); font-size: 0.72rem; margin-top: 4px; }

.trust-badges {
  display: flex; justify-content: center; gap: 48px; flex-wrap: wrap;
  margin-top: 64px; padding-top: 48px; border-top: 1px solid rgba(255,255,255,0.1);
}
.trust-badge { text-align: center; color: rgba(255,255,255,0.7); }
.trust-badge-num {
  display: block; font-family: var(--font-display); font-size: 3rem; font-weight: 300;
  color: var(--gold-light); line-height: 1;
}
.trust-badge-text { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 6px; }

/* ============================================================
   LOCATION / MAP SECTION
   ============================================================ */
.location-section {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 480px;
}
.location-content {
  padding: 80px;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--linen);
}
.location-content .eyebrow {
  color: var(--gold); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  display: block; margin-block-end: 16px;
}
.location-content h2 { font-size: clamp(1.8rem, 2.8vw, 2.6rem); margin-block-end: 20px; }
.location-content p { color: var(--mid); line-height: 1.8; margin-block-end: 32px; font-size: 0.98rem; }
.location-details { display: flex; flex-direction: column; gap: 14px; margin-block-end: 36px; }
.location-detail {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.92rem; color: var(--slate);
}
.location-detail-icon { color: var(--gold); font-size: 1rem; flex-shrink: 0; margin-top: 2px; }

.location-map {
  background: var(--sand);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.location-map img {
  width: 100%; height: 100%; object-fit: cover;
}
.map-placeholder {
  text-align: center; padding: 40px; color: var(--mid);
}
.map-embed {
  width: 100%; height: 100%; min-height: 480px;
  border: none;
}

/* ============================================================
   FINAL CTA SECTION
   ============================================================ */
.cta-section {
  position: relative; overflow: hidden;
  padding-block: 128px;
  text-align: center;
}
.cta-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.35);
}
.cta-content {
  position: relative; z-index: 1;
  color: var(--white);
}
.cta-content .eyebrow {
  display: inline-block; color: var(--gold-light);
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.25em; text-transform: uppercase;
  margin-block-end: 20px;
}
.cta-content h2 {
  font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 300; margin-block-end: 16px;
  color: var(--white);
}
.cta-content p {
  font-size: 1.05rem; color: rgba(255,255,255,0.75);
  max-width: 500px; margin-inline: auto; margin-block-end: 40px; line-height: 1.75;
}
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--charcoal); color: rgba(255,255,255,0.6);
  padding-top: 72px;
}
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px; padding-block-end: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img {
  height: 52px; margin-block-end: 20px;
  filter: brightness(0) invert(1) sepia(1) saturate(0.5) brightness(0.8);
  opacity: 0.9;
}
.footer-brand p {
  font-size: 0.88rem; line-height: 1.75; max-width: 260px; margin-block-end: 24px;
}
.footer-socials { display: flex; gap: 12px; }
.footer-social-link {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); font-size: 0.85rem;
  transition: all 0.25s;
}
.footer-social-link:hover { border-color: var(--gold); color: var(--gold); }

.footer-col h4 {
  font-family: var(--font-body); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--white);
  margin-block-end: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 0.88rem; color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--gold-light); }

.footer-contact-item {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.88rem; color: rgba(255,255,255,0.55); margin-block-end: 12px;
}
.footer-contact-icon { color: var(--gold); font-size: 0.9rem; flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 24px; flex-wrap: wrap; gap: 12px;
}
.footer-copyright { font-size: 0.8rem; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 0.8rem; color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-legal a:hover { color: var(--gold-light); }

/* ============================================================
   INNER PAGE HERO (non-homepage)
   ============================================================ */
.page-hero {
  position: relative; height: 480px;
  display: flex; align-items: flex-end;
  overflow: hidden;
  margin-top: var(--nav-h);
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,8,6,0.2) 0%, rgba(10,8,6,0.65) 100%);
}
.page-hero-content {
  position: relative; z-index: 1; padding: 0 40px 56px;
  width: 100%; max-width: var(--max-w); margin-inline: auto;
}
.page-hero-content .eyebrow {
  display: block; color: var(--gold-light);
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  margin-block-end: 12px;
}
.page-hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 300;
  color: var(--white); line-height: 1.1;
}
.page-hero-content p {
  font-size: 1rem; color: rgba(255,255,255,0.75);
  margin-top: 12px; max-width: 500px; line-height: 1.7;
}

/* ============================================================
   ROOMS PAGE
   ============================================================ */
.room-detail-card {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; border: 1px solid var(--border); border-radius: 2px;
  overflow: hidden; background: var(--white);
  margin-block-end: 48px;
  transition: box-shadow var(--t);
}
.room-detail-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.room-detail-card.reverse { direction: rtl; }
.room-detail-card.reverse > * { direction: ltr; }

.room-detail-gallery {
  position: relative; overflow: hidden; min-height: 480px;
}
.room-detail-gallery img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease);
  will-change: transform;
}
.room-detail-card:hover .room-detail-gallery img { transform: scale(1.04); }

.room-gallery-thumbs {
  position: absolute; bottom: 12px; left: 12px;
  display: flex; gap: 8px;
}
.room-gallery-thumbs img {
  width: 56px; height: 42px; object-fit: cover;
  border: 2px solid var(--white); cursor: pointer; opacity: 0.75;
  transition: opacity 0.2s;
}
.room-gallery-thumbs img:hover { opacity: 1; }

.room-detail-body {
  padding: 56px 52px;
  display: flex; flex-direction: column; justify-content: center;
}
.room-detail-eyebrow {
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-block-end: 12px;
}
.room-detail-title {
  font-family: var(--font-display); font-size: 2.2rem; font-weight: 400;
  margin-block-end: 8px;
}
.room-detail-sub { color: var(--mid); font-size: 0.92rem; margin-block-end: 28px; }
.room-detail-desc { color: var(--mid); line-height: 1.8; margin-block-end: 32px; font-size: 0.95rem; }

.room-features {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px 20px; margin-block-end: 36px;
}
.room-feature {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: var(--slate);
}
.room-feature-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
}
.room-detail-pricing {
  display: flex; align-items: baseline; gap: 8px;
  margin-block-end: 28px; padding-top: 28px;
  border-top: 1px solid var(--border);
}
.price-from { font-size: 0.78rem; color: var(--mid); text-transform: uppercase; letter-spacing: 0.1em; }
.price-amount {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 300;
  color: var(--charcoal);
}
.price-per { font-size: 0.82rem; color: var(--mid); }

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.gallery-filter {
  display: flex; gap: 4px; justify-content: center;
  margin-block-end: 48px; flex-wrap: wrap;
}
.filter-btn {
  padding: 9px 24px;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--border); border-radius: 2px; background: var(--white);
  color: var(--mid); transition: all 0.2s;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--charcoal); color: var(--white); border-color: var(--charcoal);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 4px;
}
.gallery-item {
  position: relative; overflow: hidden; cursor: pointer;
}
.gallery-item.span-2 { grid-column: span 2; }
.gallery-item.span-row { grid-row: span 2; }

.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
  will-change: transform;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item-overlay {
  position: absolute; inset: 0;
  background: rgba(10,8,6,0.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.35s;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-zoom-icon { color: var(--white); font-size: 1.6rem; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(5,4,3,0.95);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.lightbox.active { opacity: 1; pointer-events: all; }
.lightbox-img {
  max-width: 90vw; max-height: 88vh;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute; top: 24px; right: 32px;
  color: rgba(255,255,255,0.7); font-size: 2rem;
  background: none; border: none; cursor: pointer;
  transition: color 0.2s;
}
.lightbox-close:hover { color: var(--white); }
.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: rgba(255,255,255,0.6); font-size: 2.4rem;
  background: none; border: none; cursor: pointer;
  padding: 20px; transition: color 0.2s;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev:hover, .lightbox-next:hover { color: var(--white); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-story {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.about-story-images {
  display: grid; grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px; height: 560px;
}
.about-story-images img {
  width: 100%; height: 100%; object-fit: cover;
  will-change: transform;
}
.about-story-images img:first-child { grid-row: span 2; }

.about-values {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 2px; background: var(--border);
  border: 1px solid var(--border);
}
.value-card {
  background: var(--linen); padding: 40px 36px;
  transition: background 0.3s;
}
.value-card:hover { background: var(--white); }
.value-number {
  font-family: var(--font-display); font-size: 3.5rem; font-weight: 300;
  color: var(--border); line-height: 1;
  margin-block-end: 16px;
}
.value-title { font-family: var(--font-display); font-size: 1.5rem; margin-block-end: 12px; }
.value-text { font-size: 0.9rem; color: var(--mid); line-height: 1.75; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 80px;
}
.contact-info .eyebrow {
  color: var(--gold); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  display: block; margin-block-end: 16px;
}
.contact-info h2 { font-size: 2.6rem; margin-block-end: 20px; }
.contact-info p { color: var(--mid); line-height: 1.8; font-size: 0.98rem; margin-block-end: 40px; }

.contact-details { display: flex; flex-direction: column; gap: 20px; margin-block-end: 40px; }
.contact-detail {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px; background: var(--linen);
  border-left: 2px solid var(--gold);
}
.contact-detail-icon { color: var(--gold); font-size: 1.1rem; flex-shrink: 0; }
.contact-detail-label {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--mid); margin-block-end: 4px;
}
.contact-detail-value { font-size: 0.95rem; color: var(--slate); }

/* Contact Form */
.contact-form-wrap {
  background: var(--white); padding: 48px;
  border: 1px solid var(--border); border-radius: 2px;
}
.contact-form-title {
  font-family: var(--font-display); font-size: 1.8rem; margin-block-end: 8px;
}
.contact-form-sub { color: var(--mid); font-size: 0.9rem; margin-block-end: 36px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-block-end: 20px; }
.form-label {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--slate);
}
.form-input, .form-select, .form-textarea {
  padding: 14px 16px;
  background: var(--cream); border: 1px solid var(--border);
  border-radius: 2px; font-family: var(--font-body); font-size: 0.92rem;
  color: var(--charcoal); outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(192,144,64,0.12);
}
.form-textarea { resize: vertical; min-height: 120px; }

/* ============================================================
   AMENITIES PAGE
   ============================================================ */
.amenities-full-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; background: var(--border); border: 1px solid var(--border);
}
.amenity-full-item {
  background: var(--white); padding: 40px 32px;
  display: flex; gap: 20px; align-items: flex-start;
  transition: background 0.2s;
}
.amenity-full-item:hover { background: var(--linen); }
.amenity-full-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--sand); display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1.2rem; flex-shrink: 0;
}
.amenity-full-name { font-family: var(--font-display); font-size: 1.2rem; margin-block-end: 6px; }
.amenity-full-desc { font-size: 0.87rem; color: var(--mid); line-height: 1.65; }

/* ============================================================
   FAQ PAGE
   ============================================================ */
.faq-list { max-width: 760px; margin-inline: auto; }
.faq-item {
  border-bottom: 1px solid var(--border); padding-block: 4px;
}
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0; gap: 16px;
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 400;
  color: var(--charcoal); background: none; border: none;
  text-align: left; cursor: pointer;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--gold-dark); }
.faq-question.open { color: var(--gold-dark); }
.faq-chevron {
  font-size: 1.2rem; color: var(--gold); flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}
.faq-question.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.3s;
}
.faq-answer-inner {
  padding-bottom: 24px; font-size: 0.95rem;
  color: var(--mid); line-height: 1.8;
}
.faq-item.open .faq-answer { max-height: 400px; }

/* ============================================================
   POLICIES PAGE
   ============================================================ */
.policy-section { max-width: 820px; margin-inline: auto; }
.policy-block { margin-block-end: 56px; }
.policy-block h3 {
  font-family: var(--font-display); font-size: 1.6rem;
  margin-block-end: 20px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.policy-block p, .policy-block li {
  font-size: 0.95rem; color: var(--mid); line-height: 1.8; margin-block-end: 12px;
}
.policy-block ul { padding-left: 0; }
.policy-block li { display: flex; gap: 10px; align-items: flex-start; }
.policy-block li::before {
  content: '·'; color: var(--gold); font-size: 1.4rem; line-height: 1.3; flex-shrink: 0;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  will-change: transform, opacity;
}
.reveal.visible {
  opacity: 1; transform: translateY(0);
  will-change: auto; /* release GPU layer once animation is done — prevents child image blur */
}

/* Ensure images inside reveal containers get their own compositing layer at correct DPR */
.reveal img, .reveal.visible img {
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .rooms-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .experience-strip { grid-template-columns: 1fr 1fr; height: auto; }
  .exp-panel { height: 280px; }
}

@media (max-width: 900px) {
  :root { --nav-h: 68px; }
  .container { padding-inline: 28px; }
  .section { padding-block: 72px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .welcome { grid-template-columns: 1fr; gap: 48px; }
  .welcome-image-accent { display: none; }
  .welcome-image-tag { right: 16px; }

  .room-detail-card { grid-template-columns: 1fr; }
  .room-detail-card.reverse { direction: ltr; }
  .room-detail-gallery { min-height: 280px; }
  .room-detail-body { padding: 36px 28px; }

  .about-story { grid-template-columns: 1fr; gap: 48px; }
  .about-story-images { height: 360px; }

  .location-section { grid-template-columns: 1fr; }
  .location-content { padding: 56px 28px; }
  .location-map { min-height: 320px; }

  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .contact-form-wrap { padding: 32px 24px; }

  .trust-grid { grid-template-columns: 1fr; gap: 40px; }
  .trust-badges { gap: 32px; }

  .amenities-full-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .about-values { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  :root { --nav-h: 60px; }
  .container { padding-inline: 20px; }
  .section { padding-block: 56px; }
  .hero-content { padding: 0 20px 60px; }
  .hero-scroll { display: none; }

  .rooms-grid { grid-template-columns: 1fr; }
  .welcome-stats { grid-template-columns: repeat(3, 1fr); }
  .amenities-grid { grid-template-columns: 1fr; }
  .amenities-full-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .gallery-item.span-2 { grid-column: span 1; }
  .experience-strip { grid-template-columns: 1fr; }
  .exp-panel { height: 220px; }
  .footer-top { grid-template-columns: 1fr; }
  .page-hero { height: 360px; }
  .cta-section { padding-block: 80px; }
  .site-nav { padding-inline: 20px; }
  .nav-drawer { padding-inline: 20px; }
  .widget-wrap { padding: 16px; }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.bg-cream { background: var(--cream); }
.bg-linen { background: var(--linen); }
.bg-charcoal { background: var(--charcoal); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ============================================================
   PREMIUM HOME — Visual Elevation Layer
   ============================================================ */

/* --- Richer background tokens --- */
:root {
  --gold-subtle: rgba(192,144,64,0.06);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

/* --- Subtle radial tints on section backgrounds --- */
.bg-cream {
  background:
    radial-gradient(ellipse 55% 40% at 75% 15%, rgba(192,144,64,0.05), transparent),
    var(--cream);
}
.bg-linen {
  background:
    radial-gradient(ellipse 60% 50% at 20% 85%, rgba(192,144,64,0.05), transparent),
    var(--linen);
}

/* Grain texture — purely decorative */
.hero::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  opacity: 0.035; pointer-events: none;
  background-image: var(--grain); background-size: 300px;
  mix-blend-mode: overlay;
}
.hero-content,
.hero-scroll { position: relative; z-index: 3 !important; }
/* --- Marquee Belt --- */
.marquee-belt {
  background: var(--charcoal);
  overflow: hidden;
  padding-block: 13px;
  position: relative;
}
.marquee-belt::before,
.marquee-belt::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.marquee-belt::before {
  left: 0;
  background: linear-gradient(to right, var(--charcoal), transparent);
}
.marquee-belt::after {
  right: 0;
  background: linear-gradient(to left, var(--charcoal), transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marqueeScroll 36s linear infinite;
}
.marquee-track > span {
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  padding-inline: 28px;
  white-space: nowrap;
}
.marquee-track .marquee-sep {
  color: var(--gold);
  font-size: 0.42rem;
  padding-inline: 0;
  opacity: 0.7;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-belt:hover .marquee-track { animation-play-state: paused; }

/* --- Room card number labels (01, 02, 03) --- */
.room-card-number {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  background: rgba(10,8,6,0.72);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--gold-light);
  z-index: 2;
}

/* Room card image gradient overlay on hover */
.room-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(10,8,6,0.32) 100%
  );
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.room-card:hover .room-card-img::after { opacity: 1; }

/* Room card: more generous price display */
.room-price strong { font-size: 2.1rem; }

/* --- Section eyebrow: gold bar prefix --- */
.section-intro .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.section-intro .eyebrow::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
  opacity: 0.8;
}

.welcome-text .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.welcome-text .eyebrow::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.location-content .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.location-content .eyebrow::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.cta-content .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.cta-content .eyebrow::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--gold-light);
  flex-shrink: 0;
}

/* --- Trust section: decorative quote marks + radial tint --- */
.trust-section {
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(192,144,64,0.07), transparent),
    var(--charcoal);
}
.trust-card {
  position: relative;
  padding-top: 44px;
}
.trust-card::before {
  content: '\201C';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 5.5rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.2;
  pointer-events: none;
  user-select: none;
}
.trust-quote { font-size: 1.08rem; }

/* --- Amenity icon: gold-tinted pill background --- */
.amenity-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-subtle);
  border: 1px solid rgba(192,144,64,0.15);
  border-radius: 50%;
  font-size: 1.35rem;
}
.amenity-item {
  border-left: 2px solid transparent;
  transition: background var(--t), border-color var(--t), transform var(--t);
}
.amenity-item:hover {
  border-left-color: var(--gold);
  transform: translateY(-1px);
}

/* --- Stat items: subtle hover lift --- */
.stat-item { transition: background var(--t) var(--ease), transform var(--t) var(--ease); }
.stat-item:hover { background: var(--white); transform: translateY(-2px); }

/* --- Welcome image: richer shadow --- */
.welcome-image-main {
  box-shadow: 0 32px 80px rgba(0,0,0,0.18);
}

/* --- CTA section: gold radial glow + darker overlay --- */
.cta-bg { filter: brightness(0.28) saturate(0.8); }
.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 55% at 50% 100%,
    rgba(192,144,64,0.13),
    transparent
  );
  pointer-events: none;
  z-index: 0;
}
.cta-content { position: relative; z-index: 1; }

/* --- Location map: subtle edge fade --- */
.location-map { position: relative; }
.location-map::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(242,237,229,0.12), transparent 30%);
  pointer-events: none;
}

/* Mobile: keep exp-panel labels visible */
@media (max-width: 768px) {
  .exp-panel-overlay { opacity: 1 !important; }
  .exp-panel-label   { opacity: 1 !important; transform: none !important; }
  .marquee-belt::before,
  .marquee-belt::after { width: 40px; }
}
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ============================================================
   DARK MODE TOGGLE BUTTON
   ============================================================ */
.theme-toggle {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.28);
  background: none; color: rgba(255,255,255,0.8);
  font-size: 0.88rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: border-color var(--t) var(--ease), color var(--t) var(--ease), transform 0.2s;
  cursor: pointer; flex-shrink: 0; margin-left: auto;
}
/* On desktop, reset margin since hamburger is hidden */
@media (min-width: 901px) {
  .theme-toggle { margin-left: 0; }
}
.theme-toggle:hover { border-color: var(--gold); color: var(--gold-light); transform: rotate(18deg); }
.site-nav.scrolled .theme-toggle,
body:has(.page-hero) .theme-toggle {
  border-color: var(--border); color: var(--slate);
}
.site-nav.scrolled .theme-toggle:hover,
body:has(.page-hero) .theme-toggle:hover { border-color: var(--gold); color: var(--gold-dark); }

/* ============================================================
   DARK MODE — VARIABLE OVERRIDES
   ============================================================ */
[data-theme="dark"] {
  --cream:       #0F0E0C;
  --sand:        #161412;
  --linen:       #1B1917;
  --slate:       #C5BFB9;
  --mid:         #8A8480;
  --pale:        #5C5855;
  --border:      rgba(255,255,255,0.09);
  --border-gold: rgba(192,144,64,0.20);
  --gold-subtle: rgba(192,144,64,0.09);
}

/* Body text */
[data-theme="dark"] body { color: #EAE4DB; }

/* Headings that inherit charcoal explicitly */
[data-theme="dark"] .section-intro h2,
[data-theme="dark"] .faq-question,
[data-theme="dark"] .room-price strong,
[data-theme="dark"] .price-amount,
[data-theme="dark"] .nav-drawer a,
[data-theme="dark"] .room-detail-title,
[data-theme="dark"] .amenity-name,
[data-theme="dark"] .amenity-full-name,
[data-theme="dark"] .value-title,
[data-theme="dark"] .contact-form-title { color: #EAE4DB; }

/* Nav — scrolled state (hardcoded bg color override) */
[data-theme="dark"] .site-nav.scrolled {
  background: rgba(15,14,12,0.97);
}
[data-theme="dark"] .site-nav.scrolled .nav-links a { color: rgba(234,228,219,0.8); }
[data-theme="dark"] .site-nav.scrolled .nav-links a:hover,
[data-theme="dark"] .site-nav.scrolled .nav-links a.active { color: var(--gold-light); }
[data-theme="dark"] .site-nav.scrolled .nav-logo img { filter: brightness(0) invert(1); }
[data-theme="dark"] .site-nav.scrolled .nav-hamburger span { background: rgba(234,228,219,0.85); }
[data-theme="dark"] .site-nav.scrolled .theme-toggle { border-color: rgba(255,255,255,0.18); color: rgba(234,228,219,0.7); }
[data-theme="dark"] .site-nav.scrolled .theme-toggle:hover { border-color: var(--gold); color: var(--gold-light); }

/* Nav — page-hero pages (hardcoded bg color override) */
[data-theme="dark"] body:has(.page-hero) .site-nav { background: rgba(15,14,12,0.97); }
[data-theme="dark"] body:has(.page-hero) .nav-links a { color: rgba(234,228,219,0.8); }
[data-theme="dark"] body:has(.page-hero) .nav-links a:hover,
[data-theme="dark"] body:has(.page-hero) .nav-links a.active { color: var(--gold-light); }
[data-theme="dark"] body:has(.page-hero) .nav-logo img { filter: brightness(0) invert(1); }
[data-theme="dark"] body:has(.page-hero) .nav-hamburger span { background: rgba(234,228,219,0.85); }
[data-theme="dark"] body:has(.page-hero) .theme-toggle { border-color: rgba(255,255,255,0.18); color: rgba(234,228,219,0.7); }

/* Nav drawer */
[data-theme="dark"] .nav-drawer a { border-bottom-color: var(--border); }

/* Cards & surfaces (use --white directly — must override explicitly) */
[data-theme="dark"] .room-card,
[data-theme="dark"] .room-detail-card { background: var(--linen); }
[data-theme="dark"] .room-card:hover { box-shadow: 0 20px 48px rgba(0,0,0,0.35); }
[data-theme="dark"] .contact-form-wrap { background: var(--linen); }
[data-theme="dark"] .filter-btn { background: var(--linen); }
[data-theme="dark"] .filter-btn.active,
[data-theme="dark"] .filter-btn:hover { background: #EAE4DB; color: #0F0E0C; border-color: #EAE4DB; }
[data-theme="dark"] .amenity-item { background: var(--linen); }
[data-theme="dark"] .amenity-item:hover { background: var(--sand); }
[data-theme="dark"] .amenity-full-item { background: var(--linen); }
[data-theme="dark"] .amenity-full-item:hover { background: var(--sand); }
[data-theme="dark"] .amenity-full-icon { background: var(--sand); }
[data-theme="dark"] .value-card { background: var(--linen); }
[data-theme="dark"] .value-card:hover { background: var(--sand); }
[data-theme="dark"] .stat-item { background: var(--linen); }
[data-theme="dark"] .stat-item:hover { background: var(--sand); }
[data-theme="dark"] .welcome-image-accent { border-color: var(--linen); }

/* Form fields */
[data-theme="dark"] .form-input,
[data-theme="dark"] .form-select,
[data-theme="dark"] .form-textarea { color: #EAE4DB; }

/* Trust section — keep dark bg, subtle tweak */
[data-theme="dark"] .trust-section {
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(192,144,64,0.09), transparent),
    #0A0908;
}

/* Marquee belt — keep dark */
[data-theme="dark"] .marquee-belt { background: #0A0908; }
[data-theme="dark"] .marquee-belt::before { background: linear-gradient(to right, #0A0908, transparent); }
[data-theme="dark"] .marquee-belt::after  { background: linear-gradient(to left,  #0A0908, transparent); }

/* Widget section — keep dark */
[data-theme="dark"] .widget-section { background: #0A0908; }

/* Location map fade overlay (hardcoded linen rgba) */
[data-theme="dark"] .location-map::after {
  background: linear-gradient(to right, rgba(27,25,23,0.12), transparent 30%);
}

/* bg-cream utility radial gradient */
[data-theme="dark"] .bg-cream {
  background:
    radial-gradient(ellipse 55% 40% at 75% 15%, rgba(192,144,64,0.06), transparent),
    var(--cream);
}
[data-theme="dark"] .bg-linen {
  background:
    radial-gradient(ellipse 60% 50% at 20% 85%, rgba(192,144,64,0.06), transparent),
    var(--linen);
}

/* Reservations page — rate cards */
[data-theme="dark"] .rate-card {
  background: var(--linen);
  border-color: rgba(255,255,255,0.09);
}
[data-theme="dark"] .rate-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(192,144,64,0.15);
}
[data-theme="dark"] .rate-card-name { color: #EAE4DB; }
[data-theme="dark"] .rate-card-price { color: var(--gold-light); }

/* Reservations page — booking note */
[data-theme="dark"] .booking-note {
  background: rgba(192,144,64,0.07);
  border-left-color: var(--gold);
  color: rgba(234,228,219,0.7);
}
[data-theme="dark"] .booking-note strong { color: #EAE4DB; }

/* Reservations page — sidebar card */
[data-theme="dark"] .booking-sidebar-card {
  background: var(--linen);
  border-color: rgba(255,255,255,0.09);
}
[data-theme="dark"] .sidebar-title { color: #EAE4DB; }

/* Reservations page — btn-outline-dark used in sidebar */
[data-theme="dark"] .btn-outline-dark {
  color: rgba(234,228,219,0.85);
  border-color: rgba(255,255,255,0.18);
}
[data-theme="dark"] .btn-outline-dark:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

/* Reservations page — Why Book Direct cards */
[data-theme="dark"] .why-book-direct-card {
  background: var(--linen) !important;
}
[data-theme="dark"] .why-book-direct-card h3 { color: #EAE4DB; }

/* Amenities page — Property-Wide Features cards */
[data-theme="dark"] .property-amenity-card {
  background: var(--linen) !important;
  border-color: rgba(255,255,255,0.09) !important;
}
[data-theme="dark"] .property-amenity-card h3 { color: #EAE4DB; }

/* Smooth theme transition */
html { transition: background-color 0.3s var(--ease), color 0.3s var(--ease); }
body, .room-card, .room-detail-card, .contact-form-wrap, .amenity-item,
.amenity-full-item, .value-card, .stat-item, .filter-btn, .nav-drawer,
.site-nav, .form-input, .form-select, .form-textarea,
.rate-card, .booking-sidebar-card, .booking-note, .property-amenity-card, .why-book-direct-card {
  transition-property: background-color, color, border-color;
  transition-duration: 0.3s;
  transition-timing-function: var(--ease);
}
