/* ============================================================
   HERMISTON INN & SUITES — Main Stylesheet
   style.css
   ============================================================
   TABLE OF CONTENTS
   1.  CSS Custom Properties (Theme Variables)
   2.  Reset & Base
   3.  Typography
   4.  Utility Classes
   5.  Navigation
   6.  Hero
   7.  Section Layouts
   8.  Specials & Promotions
   9.  Direct Booking Benefits
   10. Room Cards
   11. Photo Gallery & Lightbox
   11A. Guest Reviews Carousel
   12. Amenities Grid
   13. Contact Page
   14. Rooms Page
   15. Special / VIP Page
   16. Terms & Privacy Pages
   17. Footer
   18. Responsive — Tablet (≤900px)
   19. Responsive — Mobile (≤600px)
   ============================================================ */

/* ============================================================
   0. WEB FONTS (self-hosted)
   ============================================================ */
/* Playfair Display — variable font, covers weights 400-900. Self-hosted
   to eliminate the Google Fonts handshake on every page load. */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../assets/fonts/playfair-display-variable.woff2') format('woff2-variations');
}

/* ============================================================
   1. CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Brand Colors */
  --color-primary:     #1a2e4a;   /* Deep navy */
  --color-accent:      #c8922a;   /* Warm gold — decorative / large text / on dark only */
  --color-accent-dark: #a97520;   /* Gold hover */
  --color-accent-text: #8a6914;   /* Dark gold — small text on light bg (AA: ~5:1 on white) */
  --color-cream:       #f9f5ef;   /* Warm off-white background */
  --color-light:       #ffffff;
  --color-dark:        #1a1a1a;
  --color-gray:        #6b7280;
  --color-gray-light:  #e5e7eb;
  --color-border:      #d1c9bc;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;

  /* Spacing Scale */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   1.5rem;
  --space-lg:   2.5rem;
  --space-xl:   4rem;
  --space-2xl:  6rem;

  /* Layout */
  --max-width:  1200px;
  --nav-height: 72px;

  /* Effects */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.18);
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --transition: 0.25s ease;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--color-dark);
  background-color: var(--color-light);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--color-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: var(--space-sm); }
p:last-child { margin-bottom: 0; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-text);
  margin-bottom: var(--space-xs);
}

.section-title {
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  color: var(--color-gray);
  font-size: 1.05rem;
  max-width: 600px;
}

/* ============================================================
   4. UTILITY CLASSES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.section {
  padding-block: var(--space-2xl);
}

.section--cream {
  background-color: var(--color-cream);
  background-image: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.45) 100%
  );
}

.section--dark {
  background-color: var(--color-primary);
  color: var(--color-light);
}

.section--dark h2,
.section--dark h3 {
  color: var(--color-light);
}

.text-center { text-align: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: background-color var(--transition), color var(--transition),
              border-color var(--transition), box-shadow var(--transition),
              transform var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background-color: var(--color-accent);
  color: var(--color-primary);            /* navy text on gold = 4.92:1 (AA) */
  border: 2px solid var(--color-accent);
}

.btn--primary:hover {
  background-color: var(--color-primary); /* invert to navy bg + gold text = 4.92:1 (AA) */
  color: var(--color-accent);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-light);
  border: 2px solid var(--color-light);
}

.btn--outline:hover {
  background-color: var(--color-light);
  color: var(--color-primary);
}

.btn--outline-dark {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn--outline-dark:hover {
  background-color: var(--color-primary);
  color: var(--color-light);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   5. NAVIGATION
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background-color: var(--color-light);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.site-nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo__img {
  height: 44px;
  width: auto;
}

.nav-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav-logo__name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.01em;
}

.nav-logo__sub {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-text);
  font-weight: 600;
}

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-dark);
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background-color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0.6rem;
  right: 0.6rem;
  height: 2px;
  background-color: var(--color-accent-text);   /* darker gold reads on the white nav bar */
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav-links a:hover { color: var(--color-accent-text); }   /* gold-on-white was 2.76:1 → now ~5:1 */
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--color-accent-text); }

/* CTA */
.nav-cta {
  flex-shrink: 0;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background-color: var(--color-light);
  border-bottom: 2px solid var(--color-border);
  box-shadow: var(--shadow-md);
  z-index: 999;
  padding: var(--space-sm) var(--space-md) var(--space-md);
  flex-direction: column;
  gap: var(--space-xs);
  transform: translateY(-10px);
  opacity: 0;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-mobile.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

.nav-mobile a {
  padding: 0.65rem 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-dark);
  border-radius: var(--radius-sm);
  transition: background-color var(--transition);
}

.nav-mobile a:hover {
  background-color: var(--color-cream);
  color: var(--color-accent);
}

.nav-mobile .btn {
  margin-top: var(--space-xs);
  width: 100%;
}

/* Spacer so content isn't hidden under fixed nav */
.nav-spacer {
  height: var(--nav-height);
}

/* ============================================================
   6. HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--color-primary);
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.55;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 46, 74, 0.5) 0%,
    rgba(26, 46, 74, 0.8) 55%,
    rgba(26, 46, 74, 0.85) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  max-width: 820px;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
  background-color: rgba(200, 146, 42, 0.15);
  padding: 0.35rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(200, 146, 42, 0.4);
}

.hero__title {
  color: var(--color-light);
  margin-bottom: var(--space-sm);
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.hero__subtitle {
  color: #fff;   /* opaque for AA contrast over the hero photo */
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: var(--space-lg);
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

.hero__actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* Phone-booking + accessibility note under the hero CTAs (white over the photo) */
.hero__phone-note {
  color: #fff;   /* opaque for AA contrast over the hero photo, matches .hero__subtitle */
  font-size: clamp(0.88rem, 1.6vw, 1rem);
  margin-top: var(--space-md);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}
.hero__phone-note a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.hero__phone-note a:hover {
  text-decoration-thickness: 2px;
}

/* ============================================================
   7. SECTION LAYOUTS
   ============================================================ */
.section-header {
  margin-bottom: var(--space-lg);
}

.section-header.text-center .section-subtitle {
  margin-inline: auto;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
}

.card-grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* ============================================================
   8. SPECIALS & PROMOTIONS
   ============================================================ */
#specials-section {
  background-color: var(--color-primary);
  padding-block: var(--space-xl);
}

#specials-section.hidden {
  display: none;
}

.specials-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.specials-header h2 {
  color: var(--color-light);
}

.specials-header p {
  color: rgba(255,255,255,0.75);
}

.specials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}

.special-card {
  background-color: rgba(255,255,255,0.06);
  border: 1px solid rgba(200, 146, 42, 0.3);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), background-color var(--transition);
}

.special-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-dark));
}

.special-card:hover {
  border-color: var(--color-accent);
  background-color: rgba(255,255,255,0.09);
}

.special-badge {
  display: inline-block;
  background-color: var(--color-accent);
  color: var(--color-primary);   /* navy on gold = 4.92:1 (AA) */
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: var(--space-sm);
}

.special-card h3 {
  color: var(--color-light);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.special-card p {
  color: rgba(255,255,255,0.78);
  font-size: 0.95rem;
  margin-bottom: var(--space-sm);
}

.special-code-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--space-md);
}

.special-code-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.special-code {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(200, 146, 42, 0.18);
  border: 1px dashed var(--color-accent);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.85rem;
  font-family: 'Courier New', monospace;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-light);   /* white on the dark navy-tinted chip = ~10:1; gold dashed border keeps brand cue */
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background-color var(--transition);
  user-select: none;
}

.special-code:hover {
  background-color: rgba(200, 146, 42, 0.3);
}

.copy-icon {
  font-size: 0.8rem;
  opacity: 0.7;
}

.copy-toast {
  font-size: 0.75rem;
  color: #4ade80;
  opacity: 0;
  transition: opacity 0.3s;
}

.copy-toast.show { opacity: 1; }

.special-expires {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin-top: 0.4rem;
  margin-bottom: var(--space-sm);
}

/* --- Card glow animation ------------------------------------ */
@keyframes card-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200, 146, 42, 0); }
  50%       { box-shadow: 0 0 18px 2px rgba(200, 146, 42, 0.18); }
}
.special-card {
  animation: card-glow 3.5s ease-in-out infinite;
}
.special-card:hover {
  animation: none;
  box-shadow: 0 0 22px 4px rgba(200, 146, 42, 0.28);
}

/* ============================================================
   HERO DEALS CHIP
============================================================ */
@keyframes chip-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200, 146, 42, 0.5); }
  60%       { box-shadow: 0 0 0 7px rgba(200, 146, 42, 0); }
}
.hero__deals-chip {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.45rem 1.25rem;
  background: rgba(200, 146, 42, 0.18);
  border: 1.5px solid var(--color-accent);
  border-radius: 30px;
  color: var(--color-accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  animation: chip-pulse 2.4s ease-in-out infinite;
  transition: background 0.2s, color 0.2s;
}
.hero__deals-chip:hover {
  background: var(--color-accent);
  color: #fff;
  animation: none;
}

/* ============================================================
   9. DIRECT BOOKING BENEFITS
   ============================================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
}

.benefit-card {
  text-align: center;
  padding: var(--space-md);
  background-color: var(--color-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-gray-light);
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}

.benefit-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
  transform: translateY(-3px);
}

.benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  background: rgba(200, 146, 42, 0.12);
  border-radius: 50%;
  color: var(--color-accent);
}

.benefit-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
  font-family: var(--font-body);
}

.benefit-card p {
  font-size: 0.85rem;
  color: var(--color-gray);
}

/* ============================================================
   10. ROOM CARDS
   ============================================================ */
.room-card {
  background-color: var(--color-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-gray-light);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}

.room-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.room-card__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background-color: var(--color-gray-light);
}

.room-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.room-card:hover .room-card__img-wrap img {
  transform: scale(1.05);
}

.room-card__body {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.room-card__name {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.room-card__desc {
  font-size: 0.9rem;
  color: var(--color-gray);
  flex: 1;
  margin-bottom: var(--space-sm);
}

.room-card__link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap var(--transition);
}

.room-card__link:hover { gap: 0.6rem; }

/* Full room listing (rooms.html) */
.room-listing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
  padding-block: var(--space-xl);
  border-bottom: 1px solid var(--color-gray-light);
}

.room-listing:last-child { border-bottom: none; }

.room-listing:nth-child(even) { direction: rtl; }
.room-listing:nth-child(even) > * { direction: ltr; }

.room-listing__img-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  background-color: var(--color-gray-light);
}

.room-listing__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.room-listing__badge {
  display: inline-block;
  background-color: var(--color-accent);
  color: var(--color-light);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: var(--space-sm);
}

.room-listing__title {
  margin-bottom: var(--space-sm);
}

.room-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--space-sm);
}

.room-feature-tag {
  background-color: var(--color-cream);
  border: 1px solid var(--color-border);
  font-size: 0.8rem;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  color: var(--color-primary);
  font-weight: 500;
}

.room-amenities-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: var(--space-md);
}

.room-amenity {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--color-gray);
}

.room-amenity::before {
  content: '✓';
  color: var(--color-accent);
  font-weight: 700;
}

/* ============================================================
   11. PHOTO GALLERY & LIGHTBOX
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  grid-auto-flow: dense;
  gap: 0.5rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
  position: relative;
  background-color: var(--color-gray-light);
}

.gallery-item:nth-child(4n+1) {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(26, 46, 74, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition);
}

.gallery-item__overlay span {
  color: var(--color-light);
  font-size: 1.5rem;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity var(--transition), transform var(--transition);
}

.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover .gallery-item__overlay { background-color: rgba(26, 46, 74, 0.45); }
.gallery-item:hover .gallery-item__overlay span { opacity: 1; transform: scale(1); }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

.lightbox.open { display: flex; }

.lightbox__inner {
  position: relative;
  max-width: 1000px;
  max-height: 85vh;
  width: 100%;
}

.lightbox__img {
  width: 100%;
  height: auto;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.lightbox__close {
  position: absolute;
  top: -44px;
  right: 0;
  background: none;
  border: none;
  color: var(--color-light);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
  transition: opacity var(--transition);
}

.lightbox__close:hover { opacity: 1; }

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255,255,255,0.1);
  color: var(--color-light);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: background-color var(--transition);
}

.lightbox__prev { left: -64px; }
.lightbox__next { right: -64px; }

.lightbox__prev:hover,
.lightbox__next:hover {
  background-color: rgba(255,255,255,0.2);
}

.lightbox__counter {
  text-align: center;
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  margin-top: 0.75rem;
}

/* ============================================================
   11A. GUEST REVIEWS CAROUSEL
   ============================================================ */
.reviews-section {
  background-color: var(--color-cream);
}

.reviews-section.hidden { display: none; }

.reviews-section:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: -4px;
}

.reviews-viewport {
  position: relative;
  margin-top: var(--space-md);
}

.reviews-track-wrap {
  overflow: hidden;
}

.reviews-track {
  /* --rv-per-view is set by JS on initial paint + resize (1, 2, or 3) */
  --rv-per-view: 3;
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  transition: transform var(--transition);
  will-change: transform;
}

/* Each <li> is a "slot" that occupies 1/perView of the track width.
   Internal padding on the slot creates the inter-card gap without breaking
   the translateX(-N*100%) math. The visible card surface is the inner
   .rv-card element. */
.review-card {
  flex: 0 0 calc(100% / var(--rv-per-view));
  padding-inline: 12px;
  box-sizing: border-box;
  list-style: none;
}

.rv-card {
  position: relative;
  background-color: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  transition: box-shadow var(--transition), transform var(--transition);
}

.rv-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.rv-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 32px; /* clear space for top-right platform badge */
}

.rv-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-accent);
  color: var(--color-light);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  line-height: 1;
}

.rv-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--color-primary);
  margin: 0;
  line-height: 1.3;
}

.rv-platform {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 22px;
  height: 22px;
  opacity: 0.95;
}

.rv-stars {
  display: inline-flex;
  gap: 2px;
  line-height: 1;
}

.rv-star {
  width: 16px;
  height: 16px;
  display: inline-block;
}

.rv-star--on  { fill: var(--color-accent); stroke: var(--color-accent); stroke-width: 0; }
.rv-star--off { fill: none; stroke: var(--color-border); stroke-width: 1.75; }

.rv-text {
  color: var(--color-primary);
  line-height: 1.6;
  font-size: 0.98rem;
  margin: 0;
}

/* Friendly placeholder when a review has a star rating but no written comment */
.rv-text--no-comment {
  color: var(--color-gray);
  font-style: italic;
  font-size: 0.92rem;
}

.rv-date {
  color: var(--color-gray);
  font-size: 0.85rem;
  margin: 0;
  padding-top: 4px;
  border-top: 1px solid var(--color-gray-light);
}

/* Arrows */
.reviews-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-light);
  color: var(--color-primary);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}

.reviews-arrow--prev { left: -22px; }
.reviews-arrow--next { right: -22px; }

.reviews-arrow:hover {
  background-color: var(--color-accent);
  color: var(--color-primary);   /* navy glyph on gold = 4.92:1 (AA) */
  border-color: var(--color-accent);
}

.reviews-arrow:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Dots */
.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 0;            /* spacing now comes from each dot's transparent padding */
  margin-top: var(--space-sm);
}

.reviews-dot {
  width: 10px;
  height: 10px;
  box-sizing: content-box;
  padding: 7px;                       /* → 24px tap target; visual dot stays 10px */
  background-clip: content-box;
  border-radius: 50%;
  background-color: var(--color-border);
  border: none;
  cursor: pointer;
  transition: background-color var(--transition), transform var(--transition);
}

.reviews-dot:hover { background-color: var(--color-accent-dark); }

.reviews-dot[aria-current="true"] {
  background-color: var(--color-accent);
  transform: scale(1.2);
}

.reviews-dot:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reviews-track  { transition: none !important; }
  .rv-card        { transition: none !important; }
  .rv-card:hover  { transform: none; }
  .reviews-dot[aria-current="true"] { transform: none; }
}

/* ============================================================
   12. AMENITIES GRID
   ============================================================ */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
}

.amenity-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-md);
  background-color: var(--color-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-gray-light);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.amenity-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}

.amenity-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: rgba(200, 146, 42, 0.12);
  border-radius: 50%;
  color: var(--color-accent);
  flex-shrink: 0;
}

.amenity-info h4 {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.amenity-info p {
  font-size: 0.875rem;
  color: var(--color-gray);
}

/* ============================================================
   13. CONTACT PAGE
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-info-block {
  background-color: var(--color-cream);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.contact-detail:last-child { margin-bottom: 0; }

.contact-detail__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  color: var(--color-accent);
  margin-top: 1px;
}

.contact-detail__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent-text);
  margin-bottom: 0.2rem;
}

.contact-detail__value {
  font-size: 1rem;
  color: var(--color-dark);
  font-weight: 500;
}

.contact-detail__value a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-color: rgba(26,46,74,0.35);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color var(--transition), text-decoration-color var(--transition);
}

.contact-detail__value a:hover,
.contact-detail__value a:focus-visible {
  color: var(--color-accent);
  text-decoration-color: var(--color-accent);
}

/* Contact form */
.contact-form {
  background-color: var(--color-light);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  border: 1px solid var(--color-gray-light);
  box-shadow: var(--shadow-sm);
}

.contact-form h3 {
  margin-bottom: var(--space-md);
}

.form-group {
  margin-bottom: var(--space-sm);
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--color-dark);
  background-color: var(--color-light);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(200, 146, 42, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

/* Inline validation errors (WCAG 3.3.1) */
.form-group input[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
  border-color: #b91c1c;
}

.form-error {
  display: none;
  color: #b91c1c;            /* ~5.9:1 on white */
  font-size: 0.8rem;
  font-weight: 500;
  margin-top: 0.3rem;
}

.form-note {
  font-size: 0.8rem;
  color: var(--color-gray);
  margin-top: 0.5rem;
  font-style: italic;
}

/* Map */
.map-container {
  margin-top: var(--space-xl);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: none;
}

/* ============================================================
   14. ROOMS PAGE — hero + intro
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, #2a4a6e 100%);
  padding: var(--space-2xl) var(--space-md);
  text-align: center;
}

.page-hero h1 { color: var(--color-light); }

.page-hero p {
  color: rgba(255,255,255,0.78);
  font-size: 1.1rem;
  max-width: 600px;
  margin-inline: auto;
  margin-top: var(--space-sm);
}

/* Location strip */
.location-strip {
  background-color: var(--color-primary);
  color: var(--color-light);
  padding: var(--space-lg) var(--space-md);
}

.location-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.location-detail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.location-detail a { color: rgba(255,255,255,0.85); }
.location-detail a:hover { color: var(--color-accent); }

/* ============================================================
   15. SPECIAL / VIP PAGE
   ============================================================ */
.vip-hero {
  min-height: 60vh;
  background: linear-gradient(135deg, #0d1b2e 0%, #1a2e4a 50%, #0d1b2e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-2xl) var(--space-md);
  position: relative;
  overflow: hidden;
}

.vip-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(200,146,42,0.08) 0%, transparent 60%),
                    radial-gradient(circle at 80% 20%, rgba(200,146,42,0.05) 0%, transparent 50%);
}

.vip-hero__content {
  position: relative;
  max-width: 680px;
}

.vip-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: var(--color-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.4rem 1.25rem;
  border-radius: 20px;
  margin-bottom: var(--space-md);
  box-shadow: 0 2px 12px rgba(200,146,42,0.4);
}

.vip-hero h1 {
  color: var(--color-light);
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: var(--space-sm);
}

.vip-hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.vip-code-section {
  background-color: var(--color-cream);
  padding: var(--space-2xl) var(--space-md);
  text-align: center;
}

.vip-code-box {
  display: inline-block;
  background-color: var(--color-light);
  border: 2px dashed var(--color-accent);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-xl);
  margin: var(--space-md) 0 var(--space-lg);
  box-shadow: var(--shadow-md);
}

.vip-code-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gray);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* VIP PROMO CODE — change the code below to update the displayed promo code */
.vip-code-value {
  font-family: 'Courier New', monospace;
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 900;
  color: var(--color-accent);
  letter-spacing: 0.1em;
  line-height: 1;
}

.vip-code-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: var(--space-sm);
  background-color: rgba(200,146,42,0.1);
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color var(--transition);
}

.vip-code-copy:hover {
  background-color: rgba(200,146,42,0.2);
}

.vip-disclaimer {
  font-size: 0.82rem;
  color: var(--color-gray);
  font-style: italic;
  max-width: 500px;
  margin-inline: auto;
  margin-top: var(--space-md);
}

/* ============================================================
   16. TERMS & PRIVACY PAGES
   ============================================================ */
.legal-content {
  max-width: 820px;
  margin-inline: auto;
  padding-block: var(--space-2xl);
  padding-inline: var(--space-md);
}

.legal-content h2 {
  font-size: 1.3rem;
  margin-top: var(--space-lg);
  margin-bottom: 0.6rem;
}

.legal-content p,
.legal-content li {
  color: var(--color-gray);
  font-size: 0.95rem;
  line-height: 1.75;
}

.legal-content ul,
.legal-content ol {
  list-style: disc;
  padding-left: var(--space-md);
  margin-bottom: var(--space-sm);
}

.legal-content ul li,
.legal-content ol li {
  margin-bottom: 0.4rem;
}

.legal-date {
  font-size: 0.85rem;
  color: var(--color-gray);
  margin-bottom: var(--space-lg);
}

/* ============================================================
   17. FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--color-primary);
  color: rgba(255,255,255,0.75);
  padding-top: var(--space-2xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand__name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-light);
  margin-bottom: 0.25rem;
}

.footer-brand__tagline {
  font-size: 0.82rem;
  color: var(--color-accent);
  letter-spacing: 0.06em;
  margin-bottom: var(--space-sm);
}

.footer-brand__desc {
  font-size: 0.875rem;
  line-height: 1.65;
  margin-bottom: 0;
}

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-light);
  margin-bottom: var(--space-sm);
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
  text-decoration: underline;                 /* non-color cue (WCAG 1.4.1) */
  text-decoration-color: rgba(255,255,255,0.3);
  text-underline-offset: 3px;
}

.footer-col ul li a:hover { color: var(--color-accent); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  font-size: 0.875rem;
}

.footer-contact-icon { flex-shrink: 0; opacity: 0.75; margin-top: 1px; }

.footer-contact-item a {
  color: rgba(255,255,255,0.85);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.4);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color var(--transition), text-decoration-color var(--transition);
}

.footer-contact-item a:hover,
.footer-contact-item a:focus-visible {
  color: var(--color-accent);
  text-decoration-color: var(--color-accent);
}

.footer-bottom {
  padding-block: var(--space-sm) var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom p,
.footer-bottom a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);   /* was 0.45 (~4:1) → ~5.9:1 on navy (AA) */
}

.footer-bottom a:hover { color: rgba(255,255,255,0.7); }

.footer-legal-links {
  display: flex;
  gap: var(--space-sm);
}

/* ============================================================
   18. RESPONSIVE — TABLET (≤ 900px)
   ============================================================ */
@media (max-width: 900px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .room-listing {
    grid-template-columns: 1fr;
  }

  .room-listing:nth-child(even) { direction: ltr; }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

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

  .gallery-item:nth-child(4n+1) {
    grid-column: span 1;
  }

  .lightbox__prev { left: -50px; }
  .lightbox__next { right: -50px; }

  /* Reviews carousel — tablet */
  .reviews-arrow--prev { left: 6px; }
  .reviews-arrow--next { right: 6px; }
}

/* ============================================================
   19. RESPONSIVE — MOBILE (≤ 600px)
   ============================================================ */
@media (max-width: 600px) {
  :root {
    --space-xl:  3rem;
    --space-2xl: 4rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .hero__actions .btn {
    width: 100%;
    max-width: 280px;
  }

  /* Darker overlay on phones — the white hero text sits over the brightest
     part of the sky on small viewports and loses contrast otherwise. */
  .hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(26, 46, 74, 0.62) 0%,
      rgba(26, 46, 74, 0.72) 60%,
      rgba(26, 46, 74, 0.82) 100%
    );
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }

  .site-footer {
    padding-top: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding-bottom: 1.75rem;
  }

  .footer-brand__desc {
    line-height: 1.55;
  }

  .footer-col h5 {
    margin-bottom: 0.6rem;
  }

  .footer-col ul li {
    margin-bottom: 0.35rem;
  }

  .footer-col:nth-of-type(2) ul {
    columns: 2;
    column-gap: 1.25rem;
  }

  .footer-col:nth-of-type(2) ul li {
    break-inside: avoid;
  }

  .footer-col:nth-of-type(3) {
    display: none;
  }

  .footer-contact-item {
    margin-bottom: 0.45rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding-block: 0.75rem 1rem;
  }

  .lightbox__prev { left: 0; bottom: -60px; top: auto; transform: none; }
  .lightbox__next { right: 0; bottom: -60px; top: auto; transform: none; }

  .vip-code-box {
    padding: var(--space-md);
  }

  .location-strip {
    padding: 1.5rem 1rem;
  }

  .location-strip-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 0.75rem;
    text-align: left;
    padding-inline: 0;
  }

  .location-strip-inner > .btn {
    grid-column: 1 / -1;
    justify-self: stretch;
    text-align: center;
  }

  .location-detail {
    align-items: flex-start;
    font-size: 0.78rem;
    gap: 0.4rem;
    min-width: 0;
  }

  .location-detail > div {
    min-width: 0;
    overflow-wrap: break-word;
  }

  .card-grid--4 {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }

  /* Reviews carousel — mobile: swipe + dots only, arrows hidden to avoid overlap */
  .review-card    { padding-inline: 6px; }
  .rv-card        { padding: 20px; }
  .reviews-arrow  { display: none; }
}

/* ============================================================
   20. ROOM PHOTO GALLERIES — SLIDESHOW
   ============================================================ */

/* Thumbnail strip hidden — used only as data source by JS */
.room-thumbs { display: none; }

.room-gallery-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.room-gallery__main {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--color-dark);
  user-select: none;
  /* Reserve layout space before the slide loads so swapping/loading
     images doesn't shift the page (CLS). */
  aspect-ratio: 4 / 3;
}

.room-gallery__main img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s ease;
}

/* Prev / Next arrows */
.room-slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.3rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  backdrop-filter: blur(4px);
}

.room-slide-arrow:hover {
  background: rgba(0, 0, 0, 0.72);
  transform: translateY(-50%) scale(1.08);
}

.room-slide-arrow--prev { left: 0.6rem; }
.room-slide-arrow--next { right: 0.6rem; }

/* Counter badge */
.room-photo-count {
  position: absolute;
  bottom: 0.65rem;
  right: 0.7rem;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  letter-spacing: 0.04em;
  pointer-events: none;
  backdrop-filter: blur(4px);
  z-index: 10;
}

/* Dot indicators */
.room-slide-dots {
  display: flex;
  gap: 2px;
  justify-content: center;
  align-items: center;
  padding: 0.15rem 0;
  flex-wrap: wrap;
}

.room-slide-dot {
  width: 7px;
  height: 7px;
  box-sizing: content-box;
  padding: 5px;                /* → 17px tap target; visual dot stays 7px (kept modest: rooms have up to 16 dots) */
  background-clip: content-box;
  border-radius: 50%;
  background: var(--color-gray-light);
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
  flex-shrink: 0;
}

.room-slide-dot.active {
  background: var(--color-accent);
  transform: scale(1.4);
}

/* Auto-play progress bar at bottom of image */
.room-slide-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--color-accent);
  width: 0%;
  transition: none;
  z-index: 10;
}

.room-slide-progress.animating {
  transition: width linear;
}

/* ============================================================
   20b. STICKY MOBILE CTA BAR
   ============================================================ */
/* Hidden by default; main.js injects the element and toggles
   visibility via the `is-visible` class on phones. */
.mobile-cta-bar {
  display: none;
}

@media (max-width: 700px) {
  .mobile-cta-bar.is-visible {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 8500;
    padding: 0.7rem 1rem;
    padding-bottom: calc(0.7rem + env(safe-area-inset-bottom, 0px));
    background: rgba(26, 46, 74, 0.96);
    color: #fff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(200, 146, 42, 0.35);
  }

  .mobile-cta-bar__hint {
    font-size: 0.78rem;
    line-height: 1.25;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.92);
    display: flex;
    flex-direction: column;
  }

  .mobile-cta-bar__hint strong {
    color: var(--color-accent);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .mobile-cta-bar__btn {
    flex-shrink: 0;
    background: var(--color-accent);
    color: var(--color-primary);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.82rem;
    padding: 0.7rem 1.15rem;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
  }

  .mobile-cta-bar__btn:hover,
  .mobile-cta-bar__btn:focus-visible {
    background: #d8a23a;
    transform: translateY(-1px);
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
  }

  /* When the CTA bar is showing, reserve body space so the footer's
     last line is reachable, and push the a11y toggle up so it clears. */
  body.has-mobile-cta {
    padding-bottom: 68px;
  }

  body.has-mobile-cta .a11y-toggle {
    bottom: calc(68px + env(safe-area-inset-bottom, 0px) + 0.75rem);
  }
}

/* ============================================================
   21. ACCESSIBILITY WIDGET
============================================================ */

/* --- Floating toggle button ---------------------------------- */
.a11y-toggle {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9000;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-dark);
  color: #fff;
  border: 3px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
  transition: background 0.2s, transform 0.2s;
}
.a11y-toggle:hover,
.a11y-toggle:focus-visible {
  background: var(--color-accent);
  transform: scale(1.08);
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

/* --- Active features badge ----------------------------------- */
.a11y-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #f59e0b;
  color: #000;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 11px;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* --- Panel --------------------------------------------------- */
.a11y-panel {
  position: fixed;
  bottom: 5rem;
  right: 1.5rem;
  z-index: 8999;
  width: min(320px, calc(100vw - 2rem));
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0,0,0,0.22);
  border: 1px solid var(--color-border);
  overflow: hidden;
  font-family: system-ui, sans-serif;
  max-height: calc(100vh - 6.5rem);   /* never overflow the viewport on short screens */
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(12px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.a11y-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.a11y-panel__header {
  background: var(--color-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem 0.75rem;
  flex-shrink: 0;   /* header stays put; only the body scrolls */
}
.a11y-panel__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}
.a11y-panel__subtitle {
  font-size: 0.7rem;
  opacity: 0.75;
  margin-top: 2px;
}
.a11y-panel__close {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #fff;
  padding: 0.25rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}
.a11y-panel__close:hover,
.a11y-panel__close:focus-visible { opacity: 0.7; outline: 2px solid rgba(255,255,255,0.6); }

.a11y-panel__body {
  padding: 0.85rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1 1 auto;
  min-height: 0;        /* allow the body to shrink so it can scroll */
  overflow-y: auto;
}

.a11y-group { display: flex; flex-direction: column; gap: 0.4rem; }
.a11y-group__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-gray);
}

/* --- Text size row ------------------------------------------ */
.a11y-size-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.a11y-size-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--color-dark);
  background: #fff;
  color: var(--color-dark);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}
.a11y-size-btn:hover,
.a11y-size-btn:focus-visible {
  background: var(--color-dark);
  color: #fff;
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
.a11y-size-mid {
  flex: 1;
  text-align: center;
}
.a11y-size-val {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-dark);
  display: block;
  margin-bottom: 6px;
}
.a11y-size-track {
  height: 4px;
  background: #e5e7eb;
  border-radius: 2px;
  position: relative;
}
.a11y-size-indicator {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: var(--color-dark);
  border-radius: 50%;
  transition: left 0.15s;
}

/* --- 6-option visual grid ----------------------------------- */
.a11y-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.a11y-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px 4px;
  border-radius: 8px;
  border: 2px solid var(--color-border);
  background: #fff;
  color: var(--color-text);
  cursor: pointer;
  font-size: 0.65rem;
  font-weight: 600;
  text-align: center;
  min-height: 68px;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  font-family: system-ui, sans-serif;
}
.a11y-opt svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.a11y-opt__label {
  font-size: 0.62rem;
  line-height: 1.15;
}
.a11y-opt:hover,
.a11y-opt:focus-visible {
  border-color: var(--color-accent);
  background: #fdf4e0;
  outline: none;
}
.a11y-opt.active {
  border-color: var(--color-dark);
  background: var(--color-dark);
  color: #fff;
}

/* --- Accessibility profiles (one-click bundles) ------------- */
.a11y-profiles {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.a11y-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 8px 10px;
  border-radius: 8px;
  border: 2px solid var(--color-border);
  background: #fff;
  color: var(--color-text);
  cursor: pointer;
  font-family: system-ui, sans-serif;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.a11y-profile:hover,
.a11y-profile:focus-visible {
  border-color: var(--color-accent);
  background: #fdf4e0;
  outline: none;
}
.a11y-profile.active {
  border-color: var(--color-dark);
  background: var(--color-dark);
  color: #fff;
}
.a11y-profile__icon { flex-shrink: 0; display: flex; }
.a11y-profile__icon svg { width: 22px; height: 22px; }
.a11y-profile__text { display: flex; flex-direction: column; min-width: 0; }
.a11y-profile__name { font-size: 0.78rem; font-weight: 700; }
.a11y-profile__desc { font-size: 0.66rem; opacity: 0.8; margin-top: 1px; }

/* --- Reset button ------------------------------------------- */
.a11y-btn--reset {
  width: 100%;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.55rem;
  background: #f9fafb;
  color: var(--color-text);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: system-ui, sans-serif;
  transition: background 0.15s;
}
.a11y-btn--reset:hover,
.a11y-btn--reset:focus-visible { background: #fee2e2; color: #b91c1c; border-color: #fca5a5; outline: none; }

.a11y-persist-note {
  text-align: center;
  font-size: 0.68rem;
  color: #9ca3af;
  margin: 0.4rem 0 0;
}

/* --- Link to the full Accessibility Statement page ----------- */
.a11y-statement-link {
  display: block;
  text-align: center;
  margin-top: 0.5rem;
  padding: 0.4rem 0.5rem;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--color-accent-text);   /* dark gold #8a6914 — AA on white */
  text-decoration: underline;
  text-underline-offset: 3px;
  border-radius: 4px;
}
.a11y-statement-link:hover,
.a11y-statement-link:focus-visible {
  color: var(--color-primary);
  background: #fdf4e0;
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* --- Color filters (high contrast / grayscale / invert / saturation) ---
   Composed into a single inline `filter` on <html> by accessibility.js so
   multiple color modes can stack (separate CSS rules on the same element
   can't — last one wins). No standalone CSS filter rules here. ----------- */

/* --- Highlight links mode ----------------------------------- */
html.a11y-highlight-links a {
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  outline-offset: 2px;
}

/* --- Dyslexia font mode ------------------------------------- */
html.a11y-dyslexia-font body {
  font-family: Arial, sans-serif !important;
  letter-spacing: 0.12em !important;
  word-spacing: 0.16em !important;
}

/* (Grayscale / invert / low-saturation handled by the composed JS filter above) */

/* --- Letter spacing mode ------------------------------------ */
html.a11y-letter-spacing body {
  letter-spacing: 0.12em !important;
  word-spacing: 0.16em !important;
}

/* --- Line spacing mode -------------------------------------- */
html.a11y-line-spacing p,
html.a11y-line-spacing li,
html.a11y-line-spacing td,
html.a11y-line-spacing dd,
html.a11y-line-spacing dt {
  line-height: 2 !important;
}

/* --- Big cursor mode ---------------------------------------- */
html.a11y-big-cursor,
html.a11y-big-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M6 4L6 34L14 26L19 36L23 34L18 24L28 24Z' fill='%23000' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") 6 4, auto !important;
}

/* --- Hide images mode --------------------------------------- */
html.a11y-hide-images img {
  visibility: hidden !important;
}

/* --- Pause motion mode (stop CSS animations + transitions) -- */
html.a11y-pause-motion *,
html.a11y-pause-motion *::before,
html.a11y-pause-motion *::after {
  animation-duration: 0.001s !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001s !important;
  scroll-behavior: auto !important;
}

/* --- Strong focus mode (enhanced keyboard focus indicators) - */
html.a11y-strong-focus *:focus-visible {
  outline: 3px solid var(--color-primary) !important;   /* navy: visible on light */
  outline-offset: 2px !important;
  box-shadow: 0 0 0 6px rgba(200, 146, 42, 0.9) !important; /* gold halo: visible on dark */
  border-radius: 2px;
}

/* --- Reading mask + reading guide (follow the cursor) ------- */
.a11y-mask {
  position: fixed;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 8990;          /* below the panel (8999) and toggle (9000) */
  pointer-events: none;
  display: none;
}
.a11y-mask--top    { top: 0; height: 0; }
.a11y-mask--bottom { bottom: 0; top: 0; }   /* `top` is set inline as the cursor moves */
.a11y-guide {
  position: fixed;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-accent);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
  z-index: 8991;
  pointer-events: none;
  display: none;
}

/* --- Tooltip bubble (hover + focus) ------------------------- */
.a11y-tip {
  position: fixed;
  z-index: 9001;          /* above the toggle so it's never clipped */
  display: none;
  max-width: 260px;
  padding: 5px 9px;
  border-radius: 6px;
  background: var(--color-dark);
  color: #fff;
  font-family: system-ui, sans-serif;
  font-size: 0.78rem;
  line-height: 1.3;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

/* --- Skip-to-content link (screen readers) ------------------ */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--color-accent);
  color: var(--color-primary);   /* navy on gold = 4.92:1 (AA) */
  padding: 0.6rem 1.2rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-to-content:focus { top: 0; }

/* ============================================================
   SECTION 22 — FOCUS VISIBILITY (WCAG 2.4.7)
   Keyboard focus rings for controls that previously had none.
   ============================================================ */
.btn:focus-visible,
.nav-links a:focus-visible,
.nav-hamburger:focus-visible,
.room-slide-arrow:focus-visible,
.room-slide-dot:focus-visible,
.gallery-item:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Light ring for controls sitting on dark / photo backgrounds */
.lightbox__close:focus-visible,
.lightbox__prev:focus-visible,
.lightbox__next:focus-visible,
.footer-col ul li a:focus-visible,
.footer-bottom a:focus-visible,
.hero__phone-note a:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 2px;
}
