/* =============================================================
   Salcete Beach Resort — bespoke theme styles
   Palette: bleached linen / deep Arabian teal / burnished brass /
   terracotta sunset. Type: Cormorant Garamond + Jost.
   ============================================================= */

:root {
  --bg:      #F8F4EC;
  --surface: #FFFDF7;
  --ink:     #1A2E2B;
  --deep:    #0E3B39;
  --deep-2:  #0A2C2A;
  --muted:   #66756E;
  --brass:   #B4813C;
  --terra:   #D96941;
  --line:    rgba(14, 59, 57, 0.16);

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);

  --size-hero: clamp(3.4rem, 8.5vw, 7.25rem);
  --size-h2: clamp(2.1rem, 4.6vw, 3.75rem);
  --size-h3: clamp(1.35rem, 2.4vw, 1.7rem);

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

/* ---------------------------------------------- reset-ish */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  margin: 0 0 0.5em;
  letter-spacing: -0.015em;
}
p { margin: 0 0 1.1em; }
address { font-style: normal; }
button { font-family: inherit; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 820px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--deep); color: #fff; padding: 0.6rem 1rem; z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------------------------------------------- buttons & links */
.btn {
  --btn-bg: var(--terra);
  display: inline-block;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 0.95rem 2.1rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: color 0.35s var(--ease-out-expo), border-color 0.35s, background 0.35s;
}
.btn::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  transform: translateX(-101%);
  transition: transform 0.4s var(--ease-out-expo);
}
.btn-solid { background: var(--terra); color: #fff; }
.btn-solid::before { background: var(--deep); }
.btn-solid:hover::before, .btn-solid:focus-visible::before { transform: translateX(0); }
.btn-outline { background: transparent; color: var(--deep); border-color: var(--deep); }
.btn-outline::before { background: var(--deep); }
.btn-outline:hover, .btn-outline:focus-visible { color: #fff; }
.btn-outline:hover::before, .btn-outline:focus-visible::before { transform: translateX(0); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
.btn-sm { padding: 0.55rem 1.15rem; font-size: 0.7rem; }

.text-link {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--brass);
  position: relative;
  padding-bottom: 3px;
}
.text-link::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out-expo);
}
.text-link:hover::after { transform: scaleX(1); }
.text-link span { transition: transform 0.3s var(--ease-out-expo); display: inline-block; }
.text-link:hover span { transform: translateX(5px); }

/* ---------------------------------------------- header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  padding: 0.4rem 0;
  color: #fff;
  transition: background 0.4s, color 0.4s, box-shadow 0.4s, padding 0.4s;
}
.site-header.is-solid {
  background: rgba(248, 244, 236, 0.94);
  backdrop-filter: blur(10px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  max-width: 1360px; margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 2rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand-mark svg { width: 44px; height: 28px; color: var(--brass); }
.brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  line-height: 1;
}
.brand-sub {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-top: 0.28rem;
}
.site-nav { margin-left: auto; }
.nav-list { display: flex; gap: 1.9rem; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  font-size: 0.8rem; font-weight: 400;
  letter-spacing: 0.13em; text-transform: uppercase;
  text-decoration: none;
  position: relative; padding: 0.4rem 0;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1.5px; background: var(--brass);
  transition: width 0.3s var(--ease-out-expo);
}
.nav-list a:hover::after,
.nav-list .current-menu-item a::after,
.nav-list .current_page_item a::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.site-header:not(.is-solid) .header-book { color: #fff; border-color: rgba(255,255,255,0.6); }
.site-header:not(.is-solid) .header-book::before { background: #fff; }
.site-header:not(.is-solid) .header-book:hover { color: var(--deep); }

.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 40px; height: 34px; position: relative; padding: 6px 8px;
}
.nav-toggle span {
  display: block; height: 2px; background: currentColor; margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--deep-2); color: #fff;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 2rem; text-align: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s var(--ease-out-expo);
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-nav-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.mobile-nav-list a {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 6vw, 2.4rem);
  text-decoration: none;
}
.mobile-menu-meta { display: grid; gap: 0.4rem; font-size: 0.9rem; opacity: 0.8; }
.mobile-menu-meta a { text-decoration: none; }

/* ---------------------------------------------- hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-slides, .room-hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.6s ease, transform 7s linear;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-scrim, .page-hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,44,42,0.55) 0%, rgba(10,44,42,0.25) 45%, rgba(10,44,42,0.72) 100%);
}
.hero-content {
  position: relative;
  max-width: 1360px; width: 100%;
  margin-inline: auto;
  padding: 8rem var(--gutter) 9rem;
}
.hero-kicker, .s-kicker {
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1.2rem;
}
.hero-title {
  font-size: var(--size-hero);
  font-weight: 500;
  margin: 0 0 1.4rem;
  max-width: 12ch;
}
.hero-rotator { display: inline-block; min-height: 1.1em; }
.rotating-word {
  display: inline-block;
  font-style: italic;
  color: #F3D9A4;
  border-bottom: 2px solid rgba(243, 217, 164, 0.45);
  padding-bottom: 0.04em;
}
@keyframes wordIn {
  from { opacity: 0; transform: translateY(0.45em) rotate(1.5deg); }
  to   { opacity: 1; transform: translateY(0) rotate(0); }
}
.hero-sub { max-width: 34rem; font-size: 1.1rem; font-weight: 300; opacity: 0.92; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero-scroll {
  position: absolute; bottom: 7.5rem; left: 50%;
  width: 1px; height: 64px;
  background: rgba(255,255,255,0.25);
  overflow: hidden;
}
.hero-scroll span {
  position: absolute; top: -40%; left: 0;
  width: 100%; height: 40%;
  background: #fff;
  animation: scrollHint 2.2s var(--ease-in-out) infinite;
}
@keyframes scrollHint {
  0% { top: -40%; } 60%, 100% { top: 110%; }
}

/* ---------------------------------------------- booking bar */
.booking-section { position: relative; z-index: 5; }
.booking-section .container { max-width: 1280px; }
.booking-section:not(.is-inner) { margin-top: -5.2rem; }
.booking-section.is-inner { margin-top: -3.6rem; margin-bottom: 1rem; }

.booking-bar {
  background: rgba(255, 253, 247, 0.96);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 24px 60px -24px rgba(14, 59, 57, 0.45);
  padding: 1.15rem 1.4rem;
}
.booking-form {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1.1rem 1.6rem;
}
.bf-field { display: grid; gap: 0.3rem; }
.bf-field > label {
  font-size: 0.66rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
}
.bf-field input {
  border: 0; border-bottom: 1.5px solid var(--line);
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.98rem; font-weight: 400;
  color: var(--ink);
  padding: 0.35rem 0.1rem;
  min-width: 8.6rem;
  transition: border-color 0.3s;
}
.bf-field input:focus { outline: none; border-color: var(--brass); }
.bf-arrow { color: var(--brass); padding-bottom: 0.5rem; }
.bf-stepper {
  display: flex; align-items: center; gap: 0.15rem;
  border-bottom: 1.5px solid var(--line);
  padding-bottom: 0.2rem;
}
.bf-stepper button {
  width: 28px; height: 28px;
  border: 1px solid var(--line); border-radius: 50%;
  background: transparent; color: var(--deep);
  font-size: 1rem; line-height: 1;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.bf-stepper button:hover { background: var(--deep); color: #fff; border-color: var(--deep); }
.bf-stepper output {
  min-width: 2.2rem; text-align: center;
  font-size: 1rem; font-weight: 400;
}
.bf-submit { margin-left: auto; }

.booking-form.is-stacked { flex-direction: column; align-items: stretch; }
.booking-form.is-stacked .bf-field input { width: 100%; }
.booking-form.is-stacked .bf-submit { margin-left: 0; width: 100%; text-align: center; }
.bf-row { display: flex; gap: 1.4rem; }

/* booking overlay */
.booking-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(10, 44, 42, 0.92);
  display: flex; flex-direction: column;
  padding: clamp(0.5rem, 2vw, 2rem);
}
.booking-overlay[hidden] { display: none; }
.booking-overlay-chrome {
  display: flex; align-items: center; justify-content: space-between;
  color: #fff;
  font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 0.4rem 0.5rem 0.9rem;
}
.booking-overlay-close {
  background: none; border: 1px solid rgba(255,255,255,0.4); border-radius: 50%;
  width: 42px; height: 42px;
  color: #fff; font-size: 1.5rem; line-height: 1;
  cursor: pointer;
  transition: background 0.25s;
}
.booking-overlay-close:hover { background: rgba(255,255,255,0.15); }
.booking-overlay iframe {
  flex: 1; width: 100%; border: 0; border-radius: 6px; background: #fff;
}

/* ---------------------------------------------- section scaffolding */
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section.is-alt { background: #EFE9DD; }
.s-heading { margin-bottom: clamp(2.2rem, 5vw, 3.6rem); }
.s-heading.is-center { text-align: center; }
.s-title { font-size: var(--size-h2); margin: 0 0 0.35em; }
.s-title em { font-style: italic; color: var(--brass); }
.s-rule {
  display: inline-block; width: 64px; height: 2px;
  background: var(--brass);
}
.s-heading.is-center .s-rule { margin-inline: auto; display: block; }
.lead {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-family: var(--font-display);
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* ---------------------------------------------- welcome */
.welcome-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.welcome-media { position: relative; }
.welcome-photo img { border-radius: 4px; }
.welcome-photo-small {
  position: absolute; right: -8%; bottom: -14%;
  width: 46%;
  border: 6px solid var(--bg);
  border-radius: 4px;
  box-shadow: 0 20px 50px -20px rgba(14,59,57,0.5);
  margin: 0;
}
.welcome-photo-small img { border-radius: 2px; }
.welcome-photo { margin: 0; }
.welcome-stats {
  display: flex; gap: clamp(1.5rem, 4vw, 3rem);
  margin: 2.2rem 0;
  flex-wrap: wrap;
}
.welcome-stats.is-center { justify-content: center; text-align: center; }
.stat { display: grid; gap: 0.2rem; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 500;
  color: var(--deep);
  line-height: 1;
}
.stat-label {
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); max-width: 9rem;
}

/* reveal-img: editorial clip reveal */
.reveal-img { overflow: hidden; }
.reveal-img img {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1s var(--ease-out-expo);
}
.visible .reveal-img img, .reveal-img.visible img { clip-path: inset(0 0 0 0); }

/* ---------------------------------------------- rooms grid */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 3vw, 2.4rem);
}
.room-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.45s var(--ease-out-expo), box-shadow 0.45s var(--ease-out-expo);
}
.room-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -30px rgba(14,59,57,0.4);
}
.room-card-media {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 720 / 520;
}
.room-card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}
.room-card:hover .room-card-media img { transform: scale(1.06); }
.room-card-index {
  position: absolute; top: 0.9rem; left: 0.9rem;
  font-family: var(--font-display);
  font-size: 1rem; font-style: italic;
  color: #fff;
  background: rgba(10,44,42,0.55);
  backdrop-filter: blur(4px);
  border-radius: 2px;
  padding: 0.2rem 0.55rem;
  letter-spacing: 0.1em;
}
.room-card-body { padding: 1.5rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.room-card-title { font-size: var(--size-h3); margin-bottom: 0.4rem; }
.room-card-title a { text-decoration: none; transition: color 0.3s; }
.room-card-title a:hover { color: var(--brass); }
.room-card-meta {
  display: flex; flex-wrap: wrap; gap: 0.35rem 1rem;
  list-style: none; margin: 0 0 0.9rem; padding: 0;
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}
.room-card-meta li { position: relative; }
.room-card-meta li + li::before {
  content: "·"; position: absolute; left: -0.65rem; color: var(--brass);
}
.room-card-excerpt { font-size: 0.95rem; color: var(--muted); flex: 1; }
.room-card-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 1.1rem; margin-top: 1.1rem;
}
.room-card-price { font-size: 0.82rem; color: var(--muted); letter-spacing: 0.04em; }
.room-card-price strong { color: var(--deep); font-weight: 600; font-size: 1rem; }
.room-card-actions { display: inline-flex; align-items: center; gap: 1rem; }

/* ---------------------------------------------- experiences */
.exp-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem);
}
.exp-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 3 / 4.1;
  color: #fff;
}
.exp-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out-expo);
}
.exp-card:hover img { transform: scale(1.07); }
.exp-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,44,42,0) 30%, rgba(10,44,42,0.85) 100%);
  transition: background 0.4s;
}
.exp-body {
  position: absolute; inset: auto 0 0; z-index: 1;
  padding: 1.4rem;
}
.exp-body h3 { font-size: 1.45rem; margin-bottom: 0; transition: margin 0.4s var(--ease-out-expo); }
.exp-card:hover .exp-body h3, .exp-card:focus-within .exp-body h3 { margin-bottom: 0.5rem; }
.exp-body p {
  font-size: 0.9rem; font-weight: 300; margin: 0;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height 0.5s var(--ease-out-expo), opacity 0.4s 0.1s;
}
.exp-card:hover .exp-body p, .exp-card:focus-within .exp-body p { max-height: 9rem; opacity: 0.95; }
.exp-more { margin-top: 2.4rem; text-align: center; }

/* ---------------------------------------------- CTA band */
.cta-band {
  position: relative;
  background-size: cover; background-position: center;
  background-attachment: fixed;
  color: #fff;
  padding: clamp(5rem, 12vw, 9rem) 0;
  text-align: center;
}
.cta-scrim { position: absolute; inset: 0; background: rgba(10, 44, 42, 0.68); }
.cta-inner { position: relative; }
.cta-inner h2 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  margin: 0.4em 0 0.7em;
}
@media (max-width: 1024px) { .cta-band { background-attachment: scroll; } }

/* ---------------------------------------------- gallery teaser + gallery */
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.teaser-item {
  margin: 0; overflow: hidden; border-radius: 4px;
  aspect-ratio: 4 / 3;
}
.teaser-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}
.teaser-item:hover img { transform: scale(1.06); }
.teaser-grid .teaser-item:nth-child(1) { grid-row: span 2; aspect-ratio: auto; }

.gallery-filters {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.4rem;
}
.gallery-filter {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1.25rem;
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.3s;
}
.gallery-filter:hover { border-color: var(--deep); color: var(--deep); }
.gallery-filter.is-active { background: var(--deep); border-color: var(--deep); color: #fff; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item {
  position: relative; display: block; overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4 / 3;
  text-decoration: none;
}
.gallery-item.is-hidden { display: none; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease-out-expo);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-cap {
  position: absolute; inset: auto 0 0;
  padding: 2rem 1rem 0.9rem;
  background: linear-gradient(180deg, transparent, rgba(10,44,42,0.8));
  color: #fff;
  font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s, transform 0.35s;
}
.gallery-item:hover .gallery-cap { opacity: 1; transform: translateY(0); }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(10, 24, 23, 0.95);
  display: flex; align-items: center; justify-content: center;
  padding: 3.5rem 1rem 4.5rem;
  opacity: 0;
  transition: opacity 0.3s;
}
.lightbox.is-open { opacity: 1; }
.lightbox img {
  max-width: min(1200px, 94vw); max-height: 82vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.lightbox-cap {
  position: absolute; bottom: 1.6rem; left: 50%;
  transform: translateX(-50%);
  color: #fff; font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase;
  opacity: 0.85;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  width: 46px; height: 46px;
  color: #fff; font-size: 1.3rem; line-height: 1;
  cursor: pointer;
  transition: background 0.25s;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.22); }
.lightbox-close { top: 1.2rem; right: 1.2rem; }
.lightbox-prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.2rem; top: 50%; transform: translateY(-50%); }

/* ---------------------------------------------- page hero (inner) */
.page-hero {
  position: relative;
  min-height: 52vh;
  display: flex; align-items: flex-end;
  color: #fff;
  background-size: cover; background-position: center;
  padding-top: 7rem;
}
.page-hero.is-plain { background: var(--deep); min-height: 38vh; }
.page-hero.has-bar .page-hero-inner { padding-bottom: clamp(7rem, 12vw, 9rem); }
.page-hero-inner { position: relative; padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.page-hero h1 { font-size: clamp(2.6rem, 6.5vw, 4.8rem); margin: 0; }

/* ---------------------------------------------- room hero + detail */
.room-hero {
  position: relative;
  min-height: 68vh;
  display: flex; align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.room-hero-inner { position: relative; padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.room-hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: 0.4rem; }
.room-hero-meta {
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem;
  list-style: none; margin: 0; padding: 0;
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
}
.room-hero-meta li + li { position: relative; }
.room-hero-meta li + li::before { content: "·"; position: absolute; left: -0.85rem; color: var(--brass); }

.room-detail-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.room-sub { font-size: 1.6rem; margin: 2.4rem 0 1.1rem; }
.amenity-list {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0.7rem 1.4rem;
}
.amenity-list li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.95rem; }
.amenity-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brass);
  flex: none;
}
.room-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.room-gallery-item { display: block; overflow: hidden; border-radius: 4px; aspect-ratio: 4 / 3; }
.room-gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}
.room-gallery-item:hover img { transform: scale(1.07); }

.room-book-panel { position: sticky; top: 6.5rem; }
.room-book-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brass);
  border-radius: 4px;
  padding: 1.7rem 1.6rem;
  box-shadow: 0 24px 50px -30px rgba(14,59,57,0.35);
}
.room-book-price { font-size: 0.95rem; color: var(--muted); margin-bottom: 1.4rem; }
.room-book-price strong {
  font-family: var(--font-display);
  font-size: 1.9rem; font-weight: 600;
  color: var(--deep);
}
.room-book-note { font-size: 0.85rem; color: var(--muted); margin: 1.1rem 0 0; }
.room-book-note a { color: var(--deep); }

/* ---------------------------------------------- about */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.about-pull {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-style: italic;
  line-height: 1.35;
  color: var(--deep);
  margin: 0;
  border-left: 3px solid var(--brass);
  padding-left: 1.6rem;
}
.stats-band { background: var(--deep); padding: clamp(3rem, 6vw, 4.5rem) 0; }
.stats-band .stat-num { color: #F3D9A4; }
.stats-band .stat-label { color: rgba(255,255,255,0.75); }

/* ---------------------------------------------- events */
.event-list { display: grid; gap: clamp(3rem, 7vw, 5.5rem); }
.event-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(1.6rem, 4vw, 3.5rem);
  align-items: center;
}
.event-row.is-flip .event-media { order: 2; }
.event-media { margin: 0; border-radius: 4px; overflow: hidden; }
.event-index {
  font-family: var(--font-display);
  font-size: 3rem; font-style: italic;
  color: var(--brass);
  opacity: 0.55;
  line-height: 1;
  display: block; margin-bottom: 0.4rem;
}
.event-body h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.event-body p { color: var(--muted); margin-bottom: 1.4rem; }

/* ---------------------------------------------- contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.contact-info { display: grid; gap: 1.6rem; }
.contact-block {
  border-left: 2px solid var(--brass);
  padding-left: 1.2rem;
}
.contact-block h3 { font-size: 1.25rem; margin-bottom: 0.35rem; }
.contact-block a { display: block; text-decoration: none; color: var(--deep); padding: 0.1rem 0; }
.contact-block a:hover { color: var(--brass); }
.contact-block p, .contact-block address { color: var(--muted); font-size: 0.95rem; margin: 0.2rem 0 0; }

.sales-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.sales-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.3rem 1.4rem;
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s;
}
.sales-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(14,59,57,0.35); }
.sales-card h4 {
  font-family: var(--font-body);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.5rem;
}
.sales-card a { display: block; text-decoration: none; padding: 0.12rem 0; font-size: 0.95rem; }
.sales-card a:hover { color: var(--brass); }

.map-band iframe { width: 100%; height: 420px; border: 0; display: block; filter: saturate(0.85); }

/* Contact Form 7 fields */
.wpcf7 { margin-top: 1.6rem; }
.wpcf7 label {
  display: block;
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.wpcf7 .wpcf7-form-control-wrap { display: block; margin-bottom: 1.3rem; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 1rem; font-weight: 300;
  color: var(--ink);
  padding: 0.85rem 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.wpcf7 input:focus, .wpcf7 textarea:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(180, 129, 60, 0.15);
}
.wpcf7 textarea { min-height: 150px; resize: vertical; }
.wpcf7 .wpcf7-submit {
  background: var(--terra); color: #fff;
  border: 0; border-radius: 2px;
  padding: 0.95rem 2.4rem;
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
}
.wpcf7 .wpcf7-submit:hover { background: var(--deep); }
.wpcf7-response-output { border-radius: 3px; padding: 0.8rem 1rem; }

/* ---------------------------------------------- generic content */
.entry-content h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 1.6em; }
.entry-content h3 { font-size: 1.4rem; margin-top: 1.5em; }
.entry-content a { color: var(--brass); }
.post-teaser { border-bottom: 1px solid var(--line); padding-bottom: 2rem; margin-bottom: 2rem; }
.post-teaser a { text-decoration: none; }

/* ---------------------------------------------- footer */
.site-footer {
  background: var(--deep-2);
  color: rgba(255,255,255,0.85);
  position: relative;
  margin-top: clamp(3rem, 8vw, 5rem);
}
.footer-wave {
  position: absolute; top: 1px; left: 0; right: 0;
  transform: translateY(-100%);
  color: var(--deep-2);
  line-height: 0;
}
.footer-wave svg { width: 100%; height: 42px; display: block; }
.footer-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: clamp(3rem, 7vw, 5rem) var(--gutter) 2.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.8fr;
  gap: clamp(2rem, 5vw, 3.5rem);
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 2.2rem; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: #fff;
  display: block; margin-bottom: 0.8rem;
}
.footer-tag { font-size: 0.95rem; opacity: 0.75; max-width: 22rem; }
.footer-social { display: flex; gap: 0.8rem; margin-top: 1.4rem; }
.footer-social a {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  color: #fff;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.footer-social a:hover { background: var(--brass); border-color: var(--brass); transform: translateY(-3px); }
.footer-social svg { width: 17px; height: 17px; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1rem;
}
.footer-col a { display: block; text-decoration: none; color: rgba(255,255,255,0.85); padding: 0.18rem 0; font-size: 0.95rem; }
.footer-col a:hover { color: #F3D9A4; }
.footer-col address, .footer-col p { font-size: 0.92rem; opacity: 0.75; margin: 0 0 0.6rem; }
.footer-nav-list { list-style: none; margin: 0; padding: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  max-width: var(--container);
  margin-inline: auto;
  padding: 1.4rem var(--gutter) 1.8rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem;
  font-size: 0.8rem; opacity: 0.65;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: inherit; }

/* ---------------------------------------------- entrance animations */
[data-animate] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}
[data-animate].visible { opacity: 1; transform: translateY(0); }
[data-animate-stagger] > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}
[data-animate-stagger].visible > * { opacity: 1; transform: translateY(0); }
[data-animate-stagger].visible > *:nth-child(1) { transition-delay: 0ms; }
[data-animate-stagger].visible > *:nth-child(2) { transition-delay: 70ms; }
[data-animate-stagger].visible > *:nth-child(3) { transition-delay: 140ms; }
[data-animate-stagger].visible > *:nth-child(4) { transition-delay: 210ms; }
[data-animate-stagger].visible > *:nth-child(5) { transition-delay: 280ms; }
[data-animate-stagger].visible > *:nth-child(6) { transition-delay: 350ms; }

/* ---------------------------------------------- responsive */
@media (max-width: 1080px) {
  .rooms-grid { grid-template-columns: repeat(2, 1fr); }
  .exp-track { grid-template-columns: repeat(2, 1fr); }
  .sales-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .site-nav { display: none; }
  .nav-toggle { display: block; }
  .header-book { display: none; }
  .welcome-grid, .about-grid, .contact-grid, .room-detail-grid { grid-template-columns: 1fr; }
  .welcome-photo-small { right: 4%; bottom: -10%; }
  .welcome-copy { margin-top: 2.5rem; }
  .event-row, .event-row.is-flip { grid-template-columns: 1fr; }
  .event-row.is-flip .event-media { order: 0; }
  .room-book-panel { position: static; }
  .booking-section:not(.is-inner) { margin-top: -3rem; }
  .hero-scroll { display: none; }
  .teaser-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .rooms-grid, .exp-track, .sales-grid { grid-template-columns: 1fr; }
  .teaser-grid, .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item, .teaser-item { aspect-ratio: 3 / 2; }
  .room-gallery { grid-template-columns: repeat(2, 1fr); }
  .bf-arrow { display: none; }
  .booking-form { gap: 1rem; }
  .bf-submit { width: 100%; text-align: center; }
  .bf-field { flex: 1 1 40%; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
  .brand-name { font-size: 1.35rem; }
  .hero-content { padding-top: 7rem; padding-bottom: 8rem; }
}

/* ---------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-animate], [data-animate-stagger] > * { opacity: 1; transform: none; }
  .reveal-img img { clip-path: none; }
}
