/* Hotel Luz -- Wes Anderson v3 stylesheet
   Kimpton dark luxury + Grand Budapest pastel symmetry.
   Film grain, layered shadows, ornamental separators, cinematic depth.
   Every section breathes. Every hover rewards. Every pixel earns its place. */


/* ========================================================================
   FILM GRAIN OVERLAY
   ======================================================================== */

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  mix-blend-mode: multiply;
}


/* ========================================================================
   LOADER — cinematic dark entrance
   ======================================================================== */

.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s var(--ease-out);
}

.loader.done {
  opacity: 0;
  pointer-events: none;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.loader-logo {
  width: 100px;
  height: auto;
  margin-bottom: var(--space-sm);
  filter: brightness(10);
  animation: loaderBreath 2s var(--ease-in-out) infinite;
}

@keyframes loaderBreath {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.02); }
}

.loader-bar {
  width: 160px;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
  border-radius: 1px;
}

.loader-progress {
  width: 0;
  height: 100%;
  background: var(--coral);
  transition: width 0.3s var(--ease-smooth);
}

@keyframes loaderFill {
  0% { width: 0; }
  100% { width: 100%; }
}


/* ========================================================================
   NAVIGATION
   ======================================================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem calc(var(--gutter) + 12px);
  background: transparent;
  transition:
    background var(--duration-normal) var(--ease-out),
    padding var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-out);
}

.nav--scrolled {
  background: var(--cream);
  border-bottom: var(--border-thin);
  box-shadow: var(--shadow-sm);
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 40px;
  width: auto;
  transition: opacity var(--duration-fast) var(--ease-smooth);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: var(--text-small);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--burgundy);
  transition: color var(--duration-fast) var(--ease-smooth);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--coral);
  transition: width 0.3s var(--ease-out);
}

.nav-links a:hover {
  color: var(--coral);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links .mobile-book-btn {
  display: none;
}

.nav-cta {
  font-family: var(--font-heading);
  font-size: var(--text-small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  background: var(--coral);
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  transition:
    background var(--duration-fast) var(--ease-smooth),
    color var(--duration-fast) var(--ease-smooth),
    transform var(--duration-fast) var(--ease-smooth);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.nav-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-100%);
  transition: transform 0.4s var(--ease-out);
}

.nav-cta:hover {
  background: var(--burgundy);
  color: var(--white);
}

.nav-cta:hover::after {
  transform: translateX(0);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  z-index: 110;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--burgundy);
  transition:
    transform var(--duration-fast) var(--ease-smooth),
    opacity var(--duration-fast) var(--ease-smooth);
}

.nav--open .nav-hamburger span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.nav--open .nav-hamburger span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}


/* ========================================================================
   HERO — immersive, cinematic
   ======================================================================== */

.hero {
  height: 100vh;
  height: 100svh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: var(--photo-filter);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(91, 36, 57, 0.35);
}

.hero-frame {
  position: absolute;
  inset: 40px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  pointer-events: none;
  z-index: 2;
  box-shadow: inset 0 0 80px rgba(91, 36, 57, 0.15);
}

.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 60px;
  color: var(--white);
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--white);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-sm);
  text-shadow: 0 2px 40px rgba(91, 36, 57, 0.3);
}

.hero-sub {
  font-family: var(--font-heading);
  font-size: var(--text-small);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--white);
  opacity: 0.9;
  margin-bottom: var(--space-md);
  text-shadow: 0 1px 20px rgba(91, 36, 57, 0.2);
}

.hero-divider {
  width: 40px;
  height: 1px;
  background: var(--white);
  margin: 0 auto var(--space-md);
  border: none;
}

.hero-cta {
  font-family: var(--font-heading);
  font-size: var(--text-small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--burgundy);
  background: var(--white);
  padding: 14px 40px;
  border-radius: var(--radius-sm);
  transition:
    background var(--duration-fast) var(--ease-smooth),
    color var(--duration-fast) var(--ease-smooth),
    transform var(--duration-fast) var(--ease-smooth);
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.hero-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-100%);
  transition: transform 0.4s var(--ease-out);
}

.hero-cta:hover {
  background: var(--coral);
  color: var(--white);
}

.hero-cta:hover::after {
  transform: translateX(0);
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 3;
}

.hero-scroll span {
  font-family: var(--font-heading);
  font-size: var(--text-micro);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--white);
  opacity: 0.7;
}

.hero-scroll-bar,
.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.5);
  animation: scrollPulse 2s var(--ease-in-out) infinite;
}

/* Only show the pseudo-element if there is no .hero-scroll-bar child */
.hero-scroll-bar ~ .hero-scroll::after {
  display: none;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 0.8; transform: scaleY(1); }
}


/* ========================================================================
   SECTION TITLES (shared pattern) — dramatic hierarchy
   ======================================================================== */

.chapter-label {
  font-family: var(--font-heading);
  font-size: var(--text-chapter);
  font-weight: 400;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.chapter-label::before,
.chapter-label::after {
  content: '';
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--text-display);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--burgundy);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-lg);
}

.divider {
  width: 40px;
  height: 1px;
  background: var(--border);
  margin: var(--space-md) auto;
}


/* ========================================================================
   ORNAMENTAL SECTION SEPARATORS — diamond motif
   ======================================================================== */

.rooms::before,
.neighborhood::before,
.booking::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border: 1px solid var(--border);
  transform: rotate(45deg);
  margin: 0 auto;
  position: relative;
  top: calc(var(--section-pad) * -0.5);
  margin-bottom: calc(var(--section-pad) * -0.5 + 4px);
}

.experience::before,
.amenities::before,
.testimonials::before {
  content: '';
  display: block;
  width: 80px;
  height: 1px;
  background: var(--border);
  margin: 0 auto;
  position: relative;
  top: calc(var(--section-pad) * -0.5);
  margin-bottom: calc(var(--section-pad) * -0.5);
}


/* ========================================================================
   INTRO — the breathing section, most generous spacing
   ======================================================================== */

.intro {
  background: var(--cream);
  padding: var(--space-2xl) var(--gutter);
}

.intro-text {
  max-width: var(--content-width);
  margin: 0 auto;
}

.intro-heading {
  font-family: var(--font-heading);
  font-size: var(--text-display);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--burgundy);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-sm);
}

.intro-sub {
  font-family: var(--font-body);
  font-size: var(--text-sub);
  font-weight: 400;
  color: var(--text-light);
  max-width: var(--narrow-width);
  margin: 0 auto;
  line-height: var(--leading-loose);
}

.intro-image {
  max-width: 700px;
  margin: var(--space-lg) auto 0;
  position: relative;
}

.intro-image::after {
  content: '';
  position: absolute;
  inset: 11px;
  border: 1px solid rgba(212, 181, 160, 0.3);
  pointer-events: none;
}

.intro-image img {
  width: 100%;
  border: var(--border-frame);
  padding: 8px;
  filter: var(--photo-filter);
}


/* ========================================================================
   ROOMS — standard section rhythm
   ======================================================================== */

.rooms {
  background: var(--rose);
  padding: var(--section-pad) var(--gutter);
}

.rooms-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.room-card {
  background: var(--white);
  border: var(--border-thin);
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

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

.room-card-frame {
  padding: 8px;
  position: relative;
}

.room-card-frame::after {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(212, 181, 160, 0.3);
  pointer-events: none;
  z-index: 1;
}

.room-card-img {
  overflow: hidden;
}

.room-card-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: var(--photo-filter) grayscale(0.1);
  transition: filter 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.room-card:hover .room-card-img img {
  filter: var(--photo-filter) grayscale(0);
  transform: scale(1.04);
}

.room-card-body {
  padding: var(--space-md) var(--space-sm);
}

.room-card-tag {
  font-family: var(--font-heading);
  font-size: var(--text-micro);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--coral);
  display: inline-block;
  margin-bottom: var(--space-xs);
}

.room-card-name {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--burgundy);
  margin-bottom: var(--space-xs);
  line-height: var(--leading-snug);
}

.room-card-desc {
  font-family: var(--font-body);
  font-size: var(--text-small);
  color: var(--text-light);
  margin-bottom: var(--space-sm);
  max-width: 280px;
  margin-inline: auto;
  line-height: var(--leading-normal);
}

.room-card-price {
  font-family: var(--font-heading);
  font-size: var(--text-sub);
  font-weight: 500;
  color: var(--burgundy);
  margin-bottom: var(--space-sm);
}

.room-card-price span {
  font-size: var(--text-small);
  font-weight: 400;
  color: var(--text-light);
}

.room-card-btn,
.room-book-btn {
  font-family: var(--font-heading);
  font-size: var(--text-small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--white);
  background: var(--coral);
  padding: 10px 28px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition:
    background var(--duration-fast) var(--ease-smooth),
    color var(--duration-fast) var(--ease-smooth),
    transform var(--duration-fast) var(--ease-smooth);
  display: inline-block;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.room-card-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-100%);
  transition: transform 0.4s var(--ease-out);
}

.room-card-btn:hover::after {
  transform: translateX(0);
}

.room-card-btn:hover,
.room-book-btn:hover {
  background: var(--burgundy);
  color: var(--white);
}


/* ========================================================================
   EXPERIENCE — dollhouse panels, more vertical space
   ======================================================================== */

.experience {
  background: var(--cream);
  padding: calc(var(--section-pad) * 1.2) var(--gutter);
}

.experience-inner {
  max-width: var(--content-width);
  margin: 0 auto;
}

.exp-panel {
  padding: var(--space-lg) var(--space-md);
  max-width: var(--content-width);
  margin: 0 auto;
  position: relative;
}

.exp-panel + .exp-panel {
  border-top: var(--border-thin);
}

.exp-panel:nth-child(even) {
  background: var(--white);
}

/* Decorative top accent on each panel */
.exp-panel::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--coral);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}

.exp-panel:first-of-type::before {
  opacity: 0;
}

.exp-panel + .exp-panel::before {
  opacity: 1;
}

.exp-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-sm);
  color: var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  padding: 8px;
}

.exp-icon svg {
  width: 32px;
  height: 32px;
}

.exp-panel-title {
  font-family: var(--font-heading);
  font-size: var(--text-heading);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--burgundy);
  margin-bottom: var(--space-sm);
  line-height: var(--leading-tight);
}

.exp-panel-text {
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--text-light);
  max-width: var(--narrow-width);
  margin: 0 auto;
  line-height: var(--leading-normal);
}

.coming-soon-badge {
  font-family: var(--font-heading);
  font-size: var(--text-micro);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--burgundy);
  background: var(--yellow);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-top: var(--space-sm);
}


/* ========================================================================
   NEIGHBORHOOD — standard rhythm
   ======================================================================== */

.neighborhood {
  background: var(--peach);
  padding: var(--section-pad) var(--gutter);
}

.neighborhood-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.hood-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.hood-card {
  background: var(--white);
  border: var(--border-thin);
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

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

.hood-card-frame {
  padding: 6px;
  position: relative;
}

.hood-card-frame::after {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(212, 181, 160, 0.3);
  pointer-events: none;
  z-index: 1;
}

.hood-card-img {
  overflow: hidden;
}

.hood-card-img img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: var(--photo-filter) grayscale(0.1);
  transition: filter 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.hood-card:hover .hood-card-img img {
  filter: var(--photo-filter) grayscale(0);
  transform: scale(1.04);
}

.hood-card-body {
  padding: var(--space-sm);
}

.hood-card-dist {
  font-family: var(--font-heading);
  font-size: var(--text-micro);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--sage);
  display: inline-block;
  margin-bottom: var(--space-2xs);
  border: 1px solid var(--sage);
  padding: 2px 10px;
  border-radius: var(--radius-sm);
}

.hood-card-name {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--burgundy);
  margin-bottom: var(--space-2xs);
  line-height: var(--leading-snug);
}

.hood-card-desc {
  font-family: var(--font-body);
  font-size: var(--text-small);
  color: var(--text-light);
  line-height: var(--leading-normal);
}


/* ========================================================================
   AMENITIES — compact, efficient
   ======================================================================== */

.amenities {
  background: var(--cream);
  padding: calc(var(--section-pad) * 0.7) var(--gutter);
}

.amenities-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.amenity-grid {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
  max-width: var(--max-width);
  margin: 0 auto;
}

.amenity-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  min-width: 100px;
  transition: transform 0.3s var(--ease-out);
}

.amenity-tile:hover {
  transform: translateY(-2px);
}

.amenity-icon {
  width: 40px;
  height: 40px;
  color: var(--burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.amenity-icon svg {
  width: 40px;
  height: 40px;
}

.amenity-label {
  font-family: var(--font-heading);
  font-size: var(--text-micro);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--text-light);
}


/* ========================================================================
   TESTIMONIALS — generous, reflective
   ======================================================================== */

.testimonials {
  background: var(--white);
  padding: calc(var(--section-pad) * 1.3) var(--gutter);
  border-top: var(--border-thin);
  border-bottom: var(--border-thin);
}

.testimonials-inner {
  max-width: var(--content-width);
  margin: 0 auto;
}

.test-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  position: relative;
  min-height: 200px;
}

.test-quote-mark {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 8rem);
  color: var(--rose);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: var(--space-sm);
  user-select: none;
}

.test-quotes {
  position: relative;
}

.test-quote {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s var(--ease-smooth);
}

.test-quote.is-active {
  position: relative;
  opacity: 1;
}

.test-text {
  font-family: var(--font-body);
  font-size: var(--text-sub);
  font-style: italic;
  color: var(--burgundy);
  line-height: var(--leading-loose);
  max-width: var(--narrow-width);
  margin: 0 auto var(--space-sm);
}

.test-cite {
  font-family: var(--font-heading);
  font-size: var(--text-small);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--text-light);
  font-style: normal;
  display: block;
}

.test-nav {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
  margin-top: var(--space-md);
}

.test-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition:
    background var(--duration-fast) var(--ease-smooth),
    border-color var(--duration-fast) var(--ease-smooth),
    transform var(--duration-fast) var(--ease-smooth);
}

.test-dot.is-active {
  background: var(--coral);
  border-color: var(--coral);
  transform: scale(1.2);
}

.test-dot:hover {
  border-color: var(--coral);
}


/* ========================================================================
   BOOKING CTA
   ======================================================================== */

.booking {
  background: var(--coral);
  padding: var(--section-pad) var(--gutter);
  color: var(--white);
}

.booking-inner {
  max-width: var(--content-width);
  margin: 0 auto;
}

.booking-heading {
  font-family: var(--font-heading);
  font-size: var(--text-display);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--white);
  margin-bottom: var(--space-sm);
  line-height: var(--leading-tight);
}

.booking-sub {
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--white);
  opacity: 0.9;
  margin-bottom: var(--space-md);
  line-height: var(--leading-normal);
}

.booking-btn {
  font-family: var(--font-heading);
  font-size: var(--text-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--burgundy);
  background: var(--white);
  padding: 16px 48px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition:
    background var(--duration-fast) var(--ease-smooth),
    color var(--duration-fast) var(--ease-smooth),
    transform var(--duration-fast) var(--ease-smooth);
  display: inline-block;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.booking-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-100%);
  transition: transform 0.4s var(--ease-out);
}

.booking-btn:hover {
  background: var(--burgundy);
  color: var(--white);
}

.booking-btn:hover::after {
  transform: translateX(0);
}

.booking-phone {
  margin-top: var(--space-sm);
}

.booking-phone a {
  font-family: var(--font-heading);
  font-size: var(--text-small);
  color: var(--white);
  opacity: 0.8;
  text-decoration: underline;
  transition: opacity var(--duration-fast) var(--ease-smooth);
}

.booking-phone a:hover {
  opacity: 1;
}


/* ========================================================================
   FOOTER — generous, anchoring
   ======================================================================== */

.site-footer {
  background: var(--burgundy);
  padding: var(--space-xl) var(--space-md) var(--space-lg);
  color: var(--cream);
}

.footer-inner {
  max-width: var(--content-width);
  margin: 0 auto;
}

.footer-logo {
  height: 50px;
  width: auto;
  margin: 0 auto var(--space-md);
  display: block;
  filter: brightness(10);
}

.footer-info {
  font-family: var(--font-body);
  font-size: var(--text-small);
  line-height: var(--leading-loose);
  opacity: 0.8;
  margin-bottom: var(--space-md);
}

.footer-info a {
  text-decoration: underline;
  transition: opacity var(--duration-fast) var(--ease-smooth);
}

.footer-info a:hover {
  opacity: 1;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}

.footer-links a {
  font-family: var(--font-heading);
  font-size: var(--text-small);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  opacity: 0.7;
  transition: opacity var(--duration-fast) var(--ease-smooth);
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--coral);
  transition: width 0.3s var(--ease-out);
}

.footer-links a:hover {
  opacity: 1;
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-divider {
  width: 40px;
  height: 1px;
  background: rgba(255, 245, 238, 0.3);
  margin: var(--space-md) auto;
}

.footer-credit {
  font-family: var(--font-heading);
  font-size: var(--text-micro);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  opacity: 0.5;
}

.footer-credit a {
  text-decoration: underline;
  transition: opacity var(--duration-fast) var(--ease-smooth);
}

.footer-credit a:hover {
  opacity: 0.8;
}


/* ========================================================================
   WELCOME MODAL — fullscreen booking overlay
   ======================================================================== */

.welcome-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(91, 36, 57, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s var(--ease-out);
}

.welcome-modal.is-active {
  opacity: 1;
  visibility: visible;
}

.welcome-modal-card {
  background: var(--cream);
  max-width: 520px;
  width: 90%;
  border: var(--border-frame);
  text-align: center;
  padding: var(--space-lg);
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.6s var(--ease-out);
}

.welcome-modal.is-active .welcome-modal-card {
  transform: translateY(0) scale(1);
}

.welcome-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: color 0.2s, border-color 0.2s;
}

.welcome-modal-close:hover {
  color: var(--coral);
  border-color: var(--coral);
}

.welcome-modal-title {
  font-family: var(--font-display);
  font-size: var(--text-heading);
  color: var(--burgundy);
  margin-bottom: var(--space-xs);
}

.welcome-modal-sub {
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--text-light);
  margin-bottom: var(--space-md);
  line-height: var(--leading-normal);
}

.welcome-modal-cta {
  font-family: var(--font-heading);
  font-size: var(--text-small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  background: var(--coral);
  padding: 14px 40px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  transition: background 0.3s var(--ease-smooth);
}

.welcome-modal-cta:hover {
  background: var(--burgundy);
}

.welcome-modal-dismiss {
  display: block;
  margin-top: var(--space-sm);
  font-family: var(--font-heading);
  font-size: var(--text-micro);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--text-light);
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
  margin-inline: auto;
}

.welcome-modal-dismiss:hover {
  opacity: 1;
}


/* ========================================================================
   CHAT WIDGET
   ======================================================================== */

.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
}

.chat-window {
  width: 380px;
  max-height: 520px;
  background: var(--white);
  border: var(--border-frame);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.chat-widget.is-open .chat-window {
  display: flex;
}

.chat-header {
  background: var(--burgundy);
  color: var(--cream);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.chat-avatar {
  width: 36px;
  height: 36px;
  background: var(--coral);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--white);
  font-size: 14px;
  flex-shrink: 0;
}

.chat-header-info {
  flex: 1;
  min-width: 0;
}

.chat-header-info h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: left;
  margin: 0;
  line-height: 1.3;
}

.chat-header-info p {
  font-family: var(--font-body);
  font-size: 12px;
  opacity: 0.7;
  text-align: left;
  margin: 0;
  line-height: 1.4;
}

.chat-status {
  width: 6px;
  height: 6px;
  background: var(--sage);
  border-radius: 50%;
  display: inline-block;
  margin-right: 4px;
}

.chat-close {
  background: none;
  border: none;
  color: var(--cream);
  opacity: 0.7;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--duration-fast) var(--ease-smooth);
  flex-shrink: 0;
}

.chat-close:hover {
  opacity: 1;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  background: var(--cream);
  min-height: 280px;
  text-align: left;
}

.chat-messages .msg {
  margin-bottom: 12px;
  max-width: 85%;
}

.chat-messages .msg-bot {
  background: var(--white);
  border: var(--border-thin);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}

.chat-messages .msg-user {
  background: var(--burgundy);
  color: var(--cream);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  margin-left: auto;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
}

.chat-input-area {
  padding: 12px;
  border-top: var(--border-thin);
  display: flex;
  gap: 8px;
  background: var(--white);
  flex-shrink: 0;
}

.chat-input {
  flex: 1;
  border: var(--border-thin);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  outline: none;
  background: var(--white);
  transition: border-color var(--duration-fast) var(--ease-smooth);
}

.chat-input:focus {
  border-color: var(--coral);
}

.chat-input::placeholder {
  color: var(--text-light);
  opacity: 0.6;
}

.chat-send {
  width: 38px;
  height: 38px;
  background: var(--coral);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition:
    background var(--duration-fast) var(--ease-smooth);
}

.chat-send:hover {
  background: var(--burgundy);
}

.chat-send svg {
  width: 18px;
  height: 18px;
}

.chat-toggle {
  width: 56px;
  height: 56px;
  background: var(--coral);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow-md);
  border: none;
  cursor: pointer;
  margin-top: 12px;
  margin-left: auto;
  transition:
    background var(--duration-fast) var(--ease-smooth),
    transform var(--duration-fast) var(--ease-smooth);
}

.chat-toggle:hover {
  background: var(--burgundy);
  transform: scale(1.05);
}

.chat-toggle svg {
  width: 24px;
  height: 24px;
}

.chat-icon-open,
.chat-icon-close {
  transition:
    opacity 0.2s var(--ease-smooth),
    transform 0.2s var(--ease-smooth);
}

.chat-widget.is-open .chat-icon-open {
  display: none;
}

.chat-widget:not(.is-open) .chat-icon-close {
  display: none;
}


/* ========================================================================
   UTILITY / GLOBAL
   ======================================================================== */

/* Photo treatment applied to all imagery */
.photo {
  filter: var(--photo-filter);
}

/* Frame utility */
.frame {
  border: var(--border-thin);
  padding: 6px;
}

/* Container widths */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container--narrow {
  max-width: var(--content-width);
}

.container--tight {
  max-width: var(--narrow-width);
}

/* Scroll lock when chat is open on mobile */
body.chat-open {
  overflow: hidden;
}


/* ========================================================================
   RESPONSIVE -- TABLET (768px - 1023px)
   ======================================================================== */

@media (max-width: 1023px) {

  /* Neighborhood: 2 columns on tablet */
  .hood-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Reduce amenity gap */
  .amenity-grid {
    gap: var(--space-md);
  }

  /* Scale down ornamental separators */
  .rooms::before,
  .neighborhood::before,
  .booking::before {
    width: 6px;
    height: 6px;
  }
}


/* ========================================================================
   RESPONSIVE -- MOBILE (below 768px)
   ======================================================================== */

@media (max-width: 768px) {

  /* -- Nav Mobile --------------------------------------------------------- */

  .nav-hamburger {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transform: none;
    flex-direction: column;
    background: var(--cream);
    padding: 80px var(--gutter) var(--space-lg);
    gap: 0;
    border-bottom: var(--border-thin);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity var(--duration-normal) var(--ease-out),
      visibility var(--duration-normal) var(--ease-out);
  }

  .nav-links a {
    display: block;
    padding: var(--space-sm) 0;
    font-size: var(--text-body);
    border-bottom: var(--border-thin);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-links .mobile-book-btn {
    display: block;
    color: var(--coral);
    font-weight: 600;
    margin-top: var(--space-xs);
  }

  .nav--open .nav-links {
    opacity: 1;
    visibility: visible;
  }

  /* -- Hero Mobile -------------------------------------------------------- */

  .hero-frame {
    inset: 12px;
  }

  .hero-scroll {
    bottom: 20px;
  }

  .hero-content {
    padding: 0 var(--gutter);
  }

  /* -- Intro Mobile ------------------------------------------------------- */

  .intro {
    padding: var(--space-xl) var(--gutter);
  }

  /* -- Rooms Mobile ------------------------------------------------------- */

  .rooms-grid {
    grid-template-columns: 1fr;
    padding: 0;
  }

  /* Reduce card hover lift on mobile */
  .room-card:hover {
    transform: translateY(-2px);
  }

  /* -- Neighborhood Mobile ------------------------------------------------ */

  .hood-grid {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .hood-card:hover {
    transform: translateY(-2px);
  }

  /* -- Amenities Mobile --------------------------------------------------- */

  .amenity-grid {
    gap: var(--space-md) var(--space-sm);
    justify-content: center;
  }

  .amenity-tile {
    min-width: 80px;
    flex: 0 0 calc(33.333% - var(--space-sm));
  }

  /* -- Experience Mobile -------------------------------------------------- */

  .exp-panel {
    padding: var(--space-md) var(--space-sm);
  }

  /* -- Testimonials Mobile ------------------------------------------------ */

  .test-inner {
    min-height: 160px;
  }

  /* -- Footer Mobile ------------------------------------------------------ */

  .footer-links {
    flex-direction: column;
    gap: var(--space-xs);
  }

  .footer-links a::after {
    display: none;
  }

  /* -- Section separators: hide on mobile --------------------------------- */

  .rooms::before,
  .neighborhood::before,
  .booking::before,
  .experience::before,
  .amenities::before,
  .testimonials::before {
    display: none;
  }

  /* -- Welcome modal mobile ----------------------------------------------- */

  .welcome-modal-card {
    width: 94%;
    padding: var(--space-md);
  }

  /* -- Chat Widget Mobile (fullscreen takeover) --------------------------- */

  .chat-widget {
    bottom: 16px;
    right: 16px;
  }

  .chat-widget.is-open {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: rgba(91, 36, 57, 0.5);
    bottom: 0;
    right: 0;
  }

  .chat-widget.is-open .chat-window {
    width: 100%;
    max-height: 100%;
    height: 100%;
    border-radius: 0;
    border: none;
  }

  .chat-widget.is-open .chat-toggle {
    display: none;
  }

  .chat-messages {
    min-height: 0;
    flex: 1;
  }

  /* Safe area insets for notched devices */
  .chat-header {
    padding-top: calc(16px + env(safe-area-inset-top, 0px));
  }

  .chat-input-area {
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }
}


/* ========================================================================
   RESPONSIVE -- SMALL MOBILE (below 480px)
   ======================================================================== */

@media (max-width: 480px) {

  .hero-frame {
    inset: 8px;
    border-width: 1px;
  }

  .room-card-body {
    padding: var(--space-sm) var(--space-xs);
  }

  .hood-card-body {
    padding: var(--space-xs);
  }

  .amenity-tile {
    min-width: 70px;
  }

  .booking-btn {
    padding: 14px 32px;
    font-size: var(--text-small);
  }

  /* Tighten chapter label dashes on small screens */
  .chapter-label::before,
  .chapter-label::after {
    width: 16px;
  }
}


/* ========================================================================
   PRINT
   ======================================================================== */

@media print {
  .nav,
  .loader,
  .chat-widget,
  .hero-scroll,
  .booking,
  .welcome-modal {
    display: none !important;
  }

  body::after {
    display: none;
  }

  .hero {
    height: auto;
    min-height: 0;
  }

  body {
    background: white;
    color: black;
  }

  .site-footer {
    background: white;
    color: black;
  }
}
