/* Standalone landing page for Executive Boutique Hotel Rabat.
   Visual system ported 1:1 from frontend-hotel: globals.css design tokens and
   the Header, StickySearchBar, SearchBar and FeaturedRooms components. */

:root {
  --navy: #142639;
  --navy-light: #1e3a54;
  --navy-dark: #0d1c29;
  --gold: #b98b3e;
  --gold-light: #d9b876;
  --gold-dark: #7a5622;
  --paper: #f7f4ee;
  --ink: #20242c;

  --navy-08: rgba(20, 38, 57, 0.08);
  --navy-10: rgba(20, 38, 57, 0.1);
  --navy-15: rgba(20, 38, 57, 0.15);
  --navy-20: rgba(20, 38, 57, 0.2);
  --navy-45: rgba(20, 38, 57, 0.55); /* raised for AA contrast, mirrors globals.css text-navy/45..60 override */
  --navy-55: rgba(20, 38, 57, 0.6);
  --navy-65: rgba(20, 38, 57, 0.68);
  --navy-70: rgba(20, 38, 57, 0.72);

  --gold-15: rgba(185, 139, 62, 0.15);
  --gold-30: rgba(185, 139, 62, 0.3);

  --shadow-sm: 0 1px 2px rgba(20, 38, 57, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(20, 38, 57, 0.1), 0 4px 6px -4px rgba(20, 38, 57, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(20, 38, 57, 0.15), 0 8px 10px -6px rgba(20, 38, 57, 0.15);
  --shadow-2xl: 0 25px 50px -12px rgba(20, 38, 57, 0.35);
  --shadow-header: 0 1px 2px rgba(20, 38, 57, 0.06), 0 16px 32px -20px rgba(20, 38, 57, 0.25);

  --radius-sm: 0.5rem;
  --radius: 0.75rem;   /* rounded-xl */
  --radius-lg: 1rem;   /* rounded-2xl */
  --radius-xl: 1.5rem; /* rounded-3xl */

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; background-color: #e7e1d4; }

a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
  color: var(--navy);
}

h2 { font-size: clamp(1.875rem, 3vw, 2.25rem); margin-top: 0.5rem; }
h3 { font-size: 1.125rem; }

p { margin: 0 0 1rem; color: var(--navy-70); }
p:last-child { margin-bottom: 0; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin: 0 0 0.5rem;
}
.eyebrow-light { color: var(--gold-light); }

::selection { background: var(--gold-light); color: var(--navy); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

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

.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.65rem; }
.btn-lg { padding: 1rem 1.75rem; font-size: 0.72rem; }

.btn-navy {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 10px 20px -8px rgba(20, 38, 57, 0.5);
}
.btn-navy:hover { background: var(--navy-light); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); }

.btn-ghost-light {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.25);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.1); }

.btn-light {
  background: var(--gold);
  color: var(--navy-dark);
}
.btn-light:hover { background: var(--gold-light); }

.btn-outline {
  background: #fff;
  color: var(--navy);
  border-color: var(--navy-10);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-dark); }

/* Header */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(13, 28, 41, 0.55), rgba(13, 28, 41, 0.12) 72%, rgba(13, 28, 41, 0));
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(247, 244, 238, 0.9);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
  border-bottom-color: var(--navy-10);
  box-shadow: var(--shadow-header);
}

.utility-bar {
  background: transparent;
  position: relative;
  z-index: 10;
}
.site-header.is-scrolled .utility-bar { background: var(--navy-dark); }

.utility-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 2.25rem;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 11px;
}
.utility-info { color: rgba(255, 255, 255, 0.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.utility-link {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.utility-link:hover { color: #fff; }

.header-main { position: relative; z-index: 5; }

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.85rem 1rem;
  min-height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  flex: 1;
}
.brand-logo {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  object-fit: contain;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.25s ease;
}
.site-header.is-scrolled .brand-name { color: var(--navy); }
.brand-sub {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--gold-light);
  white-space: nowrap;
  transition: color 0.25s ease;
}
.site-header.is-scrolled .brand-sub { color: var(--gold-dark); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.main-nav a {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.84);
  transition: color 0.2s ease;
}
.main-nav a:hover { color: #fff; }
.site-header.is-scrolled .main-nav a { color: rgba(20, 38, 57, 0.8); }
.site-header.is-scrolled .main-nav a:hover { color: var(--navy); }

.header-actions { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span {
  width: 18px; height: 2px;
  background: #fff;
  transition: background-color 0.25s ease;
}
.site-header.is-scrolled .nav-toggle { border-color: var(--navy-15); }
.site-header.is-scrolled .nav-toggle span { background: var(--navy); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.15rem;
  background: var(--paper);
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid var(--navy-10);
  border-bottom: 1px solid var(--navy-10);
}
.mobile-nav a {
  padding: 0.7rem 0.25rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  border-bottom: 1px solid var(--navy-10);
}
.mobile-nav a.btn {
  border-bottom: none;
  margin-top: 0.75rem;
  text-align: center;
}
.mobile-nav.is-open { display: flex; }

@media (max-width: 880px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 420px) {
  .header-inner { gap: 0.5rem; }
  .brand-name { font-size: 0.82rem; }
  .brand-sub { display: none; }
}

/* Hero */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: stretch;
  color: #fff;
  background: var(--navy-dark);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  background-color: var(--navy-dark);
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(13, 28, 41, 0.72) 0%,
    rgba(13, 28, 41, 0.4) 45%,
    rgba(13, 28, 41, 0.22) 100%
  );
}
.hero-top-fade {
  position: absolute;
  inset: 0 0 auto 0;
  height: 11rem;
  background: linear-gradient(to bottom, rgba(13, 28, 41, 0.6), transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  padding: 8.5rem 1rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 5.2vw, 3.75rem);
  line-height: 1.08;
  max-width: 48rem;
  margin-top: 0.9rem;
  margin-bottom: 0;
}

.hero-lede {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 44rem;
  margin-top: 1.1rem;
  margin-bottom: 0;
}

.hero-facts {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}
.hero-fact { display: inline-flex; align-items: center; gap: 0.4rem; white-space: nowrap; }
.hero-fact strong { color: #fff; font-weight: 700; }
.hero-fact svg { color: var(--gold-light); width: 16px; height: 16px; }
.hero-sep { opacity: 0.4; }

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.scroll-cue {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: #fff;
  opacity: 0.8;
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

@media (max-width: 640px) {
  .hero-content { padding: 7rem 1rem 2.5rem; }
}

/* Search widget (in-hero segmented bar) */

.hero-search {
  margin-top: 1.5rem;
  width: 100%;
  max-width: 62rem;
}

.search-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--navy-10);
  padding: 0.4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.15rem;
}

@media (min-width: 1024px) {
  .search-card { border-radius: 999px; padding: 0.35rem 0.35rem 0.35rem 0.6rem; }
}

.field {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  flex: 1;
  position: relative;
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius);
  transition: background-color 0.15s ease;
}
.field:hover { background: rgba(20, 38, 57, 0.04); }

button.field {
  border: none;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
button.field[aria-expanded="true"] { background: var(--gold-15); }

.field-dates-group {
  display: flex;
  align-items: stretch;
  flex: 2;
  min-width: 0;
  position: relative;
}
.field-dates-group .field { flex: 1; }

.field-icon {
  flex-shrink: 0;
  display: none;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(20, 38, 57, 0.06);
  color: var(--navy-65);
}
.field-icon svg { width: 16px; height: 16px; }
.field:hover .field-icon { background: var(--gold-15); color: var(--gold-dark); }

@media (min-width: 640px) {
  .field-icon { display: inline-flex; }
}

.field-body { min-width: 0; flex: 1; display: flex; flex-direction: column; }

.field label,
.field-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-45);
}
.field-value {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.field select {
  border: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  padding: 0;
  width: 100%;
  cursor: pointer;
}
.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 1.1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23142639' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 13px;
}
.field select:focus { outline: none; }

.field-divider {
  width: 1px;
  align-self: center;
  height: 2rem;
  background: var(--navy-10);
  flex-shrink: 0;
}

.guests-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  text-align: left;
  width: 100%;
}
.guests-button svg { color: var(--navy-45); flex-shrink: 0; }

.guests-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 300px;
  max-width: calc(100vw - 2rem);
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl);
  border: 1px solid var(--navy-10);
  padding: 1.25rem;
  z-index: 20;
  animation: pop 0.18s ease both;
}
.guests-panel[hidden] { display: none; }

/* `left` is computed and set inline by positionPanel() in script.js each time
   the panel opens, clamped to the viewport so it never overflows off-screen
   regardless of where its field sits in the layout at the current breakpoint. */
@keyframes pop {
  from { opacity: 0; transform: translateY(6px) scale(0.99); }
  to { opacity: 1; transform: none; }
}

.stepper-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
}
.stepper-row + .stepper-row { border-top: 1px solid var(--navy-10); }
.stepper-label { display: flex; flex-direction: column; }
.stepper-label span { font-weight: 600; font-size: 0.9rem; color: var(--navy); }
.stepper-label small { color: var(--navy-45); font-size: 0.75rem; }

.stepper { display: flex; align-items: center; gap: 0.9rem; }
.stepper-btn {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--navy-15);
  background: #fff;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--navy);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}
.stepper-btn:hover:not(:disabled) { border-color: var(--gold); background: var(--gold-15); color: var(--gold-dark); }
.stepper-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.stepper-value { min-width: 1.2rem; text-align: center; font-weight: 600; color: var(--navy); }

.guests-done { width: 100%; margin-top: 1rem; justify-content: center; }

/* Date range calendar */

.date-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 640px;
  max-width: calc(100vw - 2rem);
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl);
  border: 1px solid var(--navy-10);
  padding: 1.25rem;
  z-index: 20;
  animation: pop 0.18s ease both;
}
.date-panel[hidden] { display: none; }

.cal-status {
  background: var(--paper);
  border: 1px solid var(--navy-10);
  border-radius: var(--radius-lg);
  padding: 0.6rem 1rem;
  margin: 0 0 1rem;
  font-size: 0.8rem;
  color: var(--navy-70);
}
.cal-status strong { color: var(--navy); font-weight: 700; }

.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.cal-title { font-weight: 600; font-size: 0.9rem; color: var(--navy); }
.cal-nav-group { display: flex; gap: 0.5rem; }
.cal-nav {
  width: 2rem; height: 2rem;
  border-radius: 999px;
  border: 1px solid var(--navy-15);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.cal-nav:hover:not(:disabled) { background: var(--paper); border-color: var(--navy-20); }
.cal-nav:disabled { opacity: 0.3; cursor: not-allowed; }

.cal-months {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.cal-month-title {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 0.6rem;
}
.cal-weekdays,
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
}
.cal-weekdays span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-45);
  padding: 0.25rem 0;
}
.cal-grid { row-gap: 0.15rem; }

.day-cell {
  position: relative;
  height: 2.25rem;
  border: none;
  background: transparent;
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--navy);
  cursor: pointer;
  transition: background-color 0.12s ease, color 0.12s ease;
}
.day-cell:hover:not(:disabled):not(.is-start):not(.is-end) { background: rgba(20, 38, 57, 0.1); }
.day-cell:disabled { color: var(--navy-20); cursor: not-allowed; }
.day-cell.is-empty { visibility: hidden; }
.day-cell.is-in-range { background: rgba(217, 184, 118, 0.3); font-weight: 600; }
.day-cell.is-middle { background: rgba(20, 38, 57, 0.08); font-weight: 600; }
.day-cell.is-start, .day-cell.is-end {
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 10px -3px rgba(20, 38, 57, 0.4);
}
.day-cell.is-today:not(.is-start):not(.is-end) { font-weight: 700; }
.day-cell .today-dot {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 4px;
  border-radius: 999px;
  background: var(--gold-dark);
}

.cal-confirm {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--navy-10);
}
.cal-confirm[hidden] { display: none; }
.cal-confirm span { font-size: 0.85rem; color: var(--navy-70); }

@media (max-width: 700px) {
  .cal-months { grid-template-columns: 1fr; gap: 1.25rem; }
}

.btn-search {
  /* No explicit height: `align-items: stretch` on .search-card (the flex
     parent) sizes this to match the field rows automatically. A percentage
     height here can't resolve (.search-card has no definite height of its
     own) and silently falls back to the button's own tiny content height. */
  flex-shrink: 0;
  margin: 0.15rem;
  padding: 0 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: #fff;
  box-shadow: 0 10px 20px -8px rgba(20, 38, 57, 0.5);
}
.btn-search:hover { background: var(--navy-light); }

@media (min-width: 1024px) {
  .btn-search { border-radius: 999px; }
}

.search-error {
  color: #7d3a1f;
  background: #fdecec;
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.9rem;
  font-size: 0.85rem;
  margin: 0.6rem 0 0;
  flex: 1 1 100%;
  order: 99;
}
.search-error[hidden] { display: none; }

.search-note {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0.85rem 0 0;
}

@media (max-width: 980px) {
  .search-card { flex-wrap: wrap; border-radius: var(--radius-lg) !important; padding: 0.6rem !important; }
  .field-divider { display: none; }
  .field-dates-group { flex: 1 1 100%; gap: 0.5rem; }
  .field-checkin, .field-checkout { flex: 1 1 45%; min-width: 130px; }
  .field-guests { flex: 1 1 100%; min-width: 130px; }
  .btn-search {
    flex: 1 1 100%;
    align-self: stretch;
    margin: 0.5rem 0 0;
    height: 2.9rem;
    border-radius: var(--radius-lg) !important;
  }
}

/* Sections */

.section { padding: 4rem 0; }
.section-alt { background: #fff; border-top: 1px solid var(--navy-10); border-bottom: 1px solid var(--navy-10); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.section-note { color: var(--navy-45); font-size: 0.85rem; max-width: 280px; }

@media (min-width: 1024px) {
  .section { padding: 6rem 0; }
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 4rem;
  align-items: start;
}

.about-copy h2 { margin-bottom: 1.5rem; }
.about-copy p { max-width: 640px; }

.rating-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 0.5rem 1.1rem 0.5rem 0.5rem;
  border: 1px solid var(--navy-10);
  border-radius: 999px;
  background: var(--paper);
}
.rating-score {
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-sm);
}
.rating-text { font-size: 0.85rem; color: var(--navy-70); }

.about-facts {
  background: #fff;
  border: 1px solid var(--navy-10);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.about-facts h3 {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 1.25rem;
}
.about-facts dl { margin: 0; }
.fact-row {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--navy-10);
}
.fact-row:last-child { border-bottom: none; padding-bottom: 0; }
.fact-row dt {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-45);
}
.fact-row dd { margin: 0; font-weight: 600; color: var(--navy); font-size: 0.92rem; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-facts { order: -1; }
}

/* Amenities */

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.amenity {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--navy);
}

.amenity-icon {
  flex-shrink: 0;
  width: 2.5rem; height: 2.5rem;
  border-radius: 999px;
  background: var(--gold-15);
  border: 1px solid var(--gold-30);
  color: var(--gold-dark);
  display: flex; align-items: center; justify-content: center;
}
.amenity-icon svg { width: 18px; height: 18px; }

.amenity-icon-lg { width: 3.25rem; height: 3.25rem; margin-bottom: 1rem; }
.amenity-icon-lg svg { width: 22px; height: 22px; }

@media (max-width: 900px) {
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Rooms */

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.room-card {
  background: #fff;
  border: 1px solid var(--navy-10);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
}
.room-card:hover { box-shadow: var(--shadow-2xl); }

.room-media { aspect-ratio: 4 / 3; overflow: hidden; }
.room-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.room-card:hover .room-media img { transform: scale(1.05); }

.room-body { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.room-body h3 { font-size: 1.1rem; font-weight: 600; }
.room-meta { font-size: 0.75rem; color: var(--navy-55); font-weight: 500; margin-bottom: 0; }
.room-body p:not(.room-meta) { font-size: 0.88rem; flex: 1; color: var(--navy-70); }

.room-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-top: 0.75rem;
  transition: color 0.15s ease;
}
.room-cta:hover { color: var(--gold-dark); }

@media (max-width: 900px) {
  .rooms-grid { grid-template-columns: 1fr; }
}

/* Gallery */

.gallery-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 0.75rem;
}

.gallery-item {
  border: none;
  padding: 0;
  cursor: zoom-in;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--navy);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.2s ease;
}
.gallery-item:hover img { transform: scale(1.05); opacity: 0.94; }

.gallery-item-lg {
  grid-column: span 2;
  grid-row: span 2;
}

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery-item-lg { grid-column: span 2; grid-row: span 1; aspect-ratio: 16/10; height: auto; }
}

/* Location */

.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 3.5rem;
  align-items: start;
}

.distance-list {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  border-top: 1px solid var(--navy-10);
}
.distance-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--navy-10);
  font-size: 0.9rem;
}
.distance-list li strong { color: var(--navy); font-weight: 600; white-space: nowrap; }
.distance-list li span { color: var(--navy-70); }

.location-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.address-card {
  background: var(--navy-dark);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-2xl);
}
.address-card .amenity-icon { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.15); color: var(--gold-light); }
.address-line { color: rgba(255, 255, 255, 0.8); margin: 0; font-size: 0.95rem; }

@media (max-width: 900px) {
  .location-grid { grid-template-columns: 1fr; }
}

/* Final CTA */

.final-cta {
  background: var(--navy-dark);
  color: #fff;
  padding: 4rem 0;
}
.final-cta-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}
.final-cta h2 { color: #fff; }
.final-cta p { color: rgba(255, 255, 255, 0.7); margin-top: 0.5rem; }
/* One button per row, stacked; the single track keeps both the same width. */
.final-cta-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  width: 100%;
}
.final-cta-actions .btn { width: 100%; }

@media (min-width: 560px) {
  .final-cta-actions { max-width: 20rem; }
}

@media (min-width: 1024px) {
  .final-cta { padding: 5rem 0; }
  .final-cta-inner { flex-direction: row; align-items: center; justify-content: space-between; }
  /* Shrink to the wider label instead of filling the row. */
  .final-cta-actions { flex-shrink: 0; width: auto; }
}

/* Footer */

.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 3.5rem 0 0;
}

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

.footer-brand { display: flex; flex-direction: column; gap: 0.15rem; align-items: flex-start; }
.brand-logo-footer {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  object-fit: contain;
  margin-bottom: 0.85rem;
}
.brand-mark-footer {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: #fff;
}
.footer-brand .brand-sub { color: var(--gold-light); margin-top: 0.15rem; }
.footer-brand p { margin-top: 1rem; color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; max-width: 20rem; }

.footer-col { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}
.footer-col a { color: rgba(255, 255, 255, 0.75); font-size: 0.9rem; transition: color 0.15s ease; }
.footer-col a:hover { color: #fff; }
.footer-note { color: rgba(255, 255, 255, 0.55); font-size: 0.8rem; margin-top: 0.35rem; }

.footer-bottom {
  padding: 1.5rem 1rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-copyright { font-weight: 500; color: rgba(255, 255, 255, 0.75); }

@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(13, 28, 41, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox[hidden] { display: none; }

.lightbox-figure {
  margin: 0;
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}
.lightbox-figure img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: var(--radius);
  object-fit: contain;
  box-shadow: var(--shadow-2xl);
}
.lightbox-figure figcaption {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.2); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 52px; height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-nav:hover { background: rgba(255, 255, 255, 0.2); }
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

@media (max-width: 640px) {
  .lightbox { padding: 1rem; }
  .lightbox-nav { width: 42px; height: 42px; }
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
  .lightbox-close { top: 0.75rem; right: 0.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
