/*
Theme Name: Luna Marina
Theme URI: https://lunamarina.com
Author: Luna Marina
Description: Custom boutique hotel theme for Luna Marina · Costinești.
Version: 1.1.1
Requires at least: 6.0
Requires PHP: 8.0
License: GPLv2 or later
Text Domain: luna-marina
*/

/* ===================================================================
   LUNA MARINA — PRODUCTION STYLESHEET
   Palette matches investor brochure exactly.
   =================================================================== */

/* -------------------------------------------------------------------
   @font-face — Self-hosted
   ------------------------------------------------------------------- */
@font-face {
  font-family: 'Instrument Serif';
  src: url('assets/fonts/InstrumentSerif-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('assets/fonts/InstrumentSerif-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('assets/fonts/DMSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('assets/fonts/DMSans-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('assets/fonts/DMSans-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* -------------------------------------------------------------------
   CSS Custom Properties
   ------------------------------------------------------------------- */
:root {
  --cream:       #F4EFE6;
  --cream-soft:  #ECE4D4;
  --ink:         #1F1B14;
  --ink-soft:    #4A4338;
  --ink-mute:    #7A715F;
  --terra:       #A8593A;
  --terra-dark:  #8C4830;
  --gold:        #B8895A;
  --wood:        #7C5A3A;
  --line:        #C9BFA8;
  --line-soft:   #DDD3BD;

  --serif: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --sans:  "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap:    1240px;
  --pad:     clamp(20px, 4vw, 56px);
  --radius:  4px;
  --shadow:  0 8px 30px rgba(31,27,20,0.08);
  --shadow-lg: 0 24px 60px rgba(31,27,20,0.14);
  --ease:    cubic-bezier(.2,.7,.2,1);
}

/* -------------------------------------------------------------------
   Reset & Base
   ------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--cream);
  overflow-x: hidden;
}
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--terra);
  text-decoration: none;
  transition: color .2s var(--ease);
}
a:hover { color: var(--terra-dark); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: var(--sans); }
h1,h2,h3,h4,h5,h6 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--ink);
}

/* -------------------------------------------------------------------
   Layout Utilities
   ------------------------------------------------------------------- */
.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.section-pad {
  padding: clamp(56px, 9vw, 110px) 0;
}
.section-pad-lg {
  padding: clamp(72px, 10vw, 140px) 0;
}

/* -------------------------------------------------------------------
   Typography Helpers
   ------------------------------------------------------------------- */
.italic-emph {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
}
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: block;
  margin-bottom: 16px;
}
.eyebrow--gold { color: var(--gold); }
.section-label {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 20px;
  display: block;
}
.section-label--light { color: rgba(244,239,230,0.55); }

.h1 {
  font-family: var(--serif);
  font-size: clamp(44px, 8vw, 104px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.05;
}
.h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.h2-sub {
  font-family: var(--serif);
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 400;
}
.h2-sm {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 400;
}
.body-lg {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.body-md {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* Drop cap */
.drop-cap::first-letter {
  float: left;
  font-family: var(--serif);
  font-size: 5em;
  line-height: 0.9;
  padding-right: 8px;
  color: var(--terra);
}

/* -------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background .22s var(--ease), color .22s var(--ease), transform .22s var(--ease), border-color .22s var(--ease);
  text-decoration: none;
  line-height: 1;
}
.btn-primary {
  background: var(--terra);
  color: var(--cream);
  border-color: var(--terra);
}
.btn-primary:hover {
  background: var(--terra-dark);
  border-color: var(--terra-dark);
  color: var(--cream);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(244,239,230,.5);
}
.btn-ghost:hover {
  background: rgba(244,239,230,.10);
  color: var(--cream);
}
.btn-cream {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}
.btn-cream:hover {
  background: #fff;
  color: var(--ink);
  transform: translateY(-1px);
}
.btn-sm {
  padding: 10px 20px;
  font-size: 12px;
}
.btn-lg {
  padding: 16px 36px;
  font-size: 15px;
}
.btn-full { width: 100%; justify-content: center; }

/* -------------------------------------------------------------------
   ANNOUNCEMENT BAR
   ------------------------------------------------------------------- */
#announcement-bar {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  padding: 10px var(--pad);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  z-index: 200;
}
#announcement-bar .ann-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  animation: pulse 2s infinite;
}
#announcement-bar a {
  color: var(--gold);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}
#announcement-bar .ann-close {
  position: absolute;
  right: var(--pad);
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(244,239,230,.55);
  font-size: 18px;
  line-height: 1;
  padding: 4px 8px;
  transition: color .2s;
}
#announcement-bar .ann-close:hover { color: var(--cream); }
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.3); opacity: .5; }
}

/* -------------------------------------------------------------------
   NAVIGATION
   ------------------------------------------------------------------- */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 150;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
#site-header.has-announcement { top: 37px; }
#site-header.scrolled {
  background: rgba(244,239,230,.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 var(--pad);
  height: 68px;
  max-width: var(--wrap);
  margin-inline: auto;
}
/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform .3s var(--ease);
}
.nav-logo:hover { transform: rotate(-2deg) scale(1.03); }
.nav-logo img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}
.nav-logo .logo-text {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--cream);
  line-height: 1;
}
#site-header.scrolled .nav-logo .logo-text { color: var(--ink); }
.nav-logo .logo-text .logo-luna {
  font-style: italic;
  color: var(--terra);
}
#site-header.scrolled .nav-logo .logo-text .logo-luna { color: var(--terra); }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 36px;
  flex: 1;
}
.nav-links a {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(244,239,230,.85);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
}
#site-header.scrolled .nav-links a { color: var(--ink-soft); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: var(--terra);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a:hover { color: var(--cream); }
#site-header.scrolled .nav-links a:hover { color: var(--ink); }

/* Nav right */
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}
/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
}
.lang-switcher a, .lang-switcher button {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244,239,230,.7);
  padding: 4px 8px;
  border-radius: 3px;
  border: none;
  background: none;
  transition: background .2s, color .2s;
  cursor: pointer;
  text-decoration: none;
}
#site-header.scrolled .lang-switcher a,
#site-header.scrolled .lang-switcher button { color: var(--ink-mute); }
.lang-switcher a.active, .lang-switcher button.active {
  background: rgba(244,239,230,.15);
  color: var(--cream);
}
#site-header.scrolled .lang-switcher a.active,
#site-header.scrolled .lang-switcher button.active {
  background: var(--line-soft);
  color: var(--ink);
}
.lang-switcher a:hover, .lang-switcher button:hover {
  background: rgba(244,239,230,.12);
  color: var(--cream);
}
#lm-lang-switcher { display: contents; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s;
}
#site-header.scrolled .nav-hamburger span { background: var(--ink); }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--ink);
  z-index: 140;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  padding: 80px var(--pad) 40px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--cream);
  padding: 14px 0;
  text-decoration: none;
  letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(201,191,168,.1);
  width: 100%;
  text-align: center;
  transition: color .2s;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu .mobile-cta {
  margin-top: 28px;
  font-family: var(--sans);
  font-size: 14px;
}
.mobile-menu .mobile-lang {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}
.mobile-menu .mobile-lang a {
  border: none;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: rgba(244,239,230,.5);
  padding: 0;
  width: auto;
}
.mobile-menu .mobile-lang a.active { color: var(--gold); }

/* -------------------------------------------------------------------
   HERO SECTION
   ------------------------------------------------------------------- */
#hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: clamp(40px, 8vw, 100px) 0 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% center;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31,27,20,.35) 0%, rgba(31,27,20,.78) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(80px, 12vw, 140px) var(--pad) clamp(48px, 8vw, 96px);
  max-width: var(--wrap);
  margin-inline: auto;
  width: 100%;
}
.hero-eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(244,239,230,.7);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: '';
  display: block;
  height: 1px;
  width: 32px;
  background: rgba(244,239,230,.4);
}
.hero-h1 {
  font-family: var(--serif);
  font-size: clamp(44px, 8vw, 104px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--cream);
  max-width: 820px;
  margin-bottom: 24px;
}
.hero-body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: rgba(244,239,230,.82);
  max-width: 520px;
  margin-bottom: 36px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}
.hero-trust {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: rgba(244,239,230,.55);
  margin-bottom: 0;
}
/* Direction sign decoration */
.hero-sign {
  position: absolute;
  right: var(--pad);
  bottom: 120px;
  z-index: 2;
  text-align: right;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(244,239,230,.5);
  text-transform: uppercase;
  line-height: 1.8;
  border-right: 2px solid rgba(244,239,230,.25);
  padding-right: 10px;
}
/* Stats strip */
.hero-stats {
  position: relative;
  z-index: 1;
  background: rgba(31,27,20,.55);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(201,191,168,.15);
  margin-top: auto;
}
.hero-stats-inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.hero-stat {
  padding: 20px 0;
  text-align: center;
  border-right: 1px solid rgba(201,191,168,.15);
}
.hero-stat:last-child { border-right: none; }
.hero-stat .stat-val {
  font-family: var(--serif);
  font-size: clamp(18px, 2.5vw, 26px);
  color: var(--cream);
  line-height: 1.1;
  display: block;
}
.hero-stat .stat-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244,239,230,.5);
  margin-top: 4px;
  display: block;
}

/* -------------------------------------------------------------------
   STORY SECTION (Section I)
   ------------------------------------------------------------------- */
#story {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(72px, 10vw, 140px) 0;
}
.story-inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}
.story-text .section-label { color: rgba(244,239,230,.45); }
.story-text h2 {
  color: var(--cream);
  margin-bottom: 28px;
}
.story-text p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(244,239,230,.78);
  margin-bottom: 18px;
}
.story-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.story-tag {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244,239,230,.55);
  padding: 6px 12px;
  border: 1px solid rgba(201,191,168,.25);
  border-radius: 2px;
}
.story-image {
  position: relative;
}
.story-image img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 4/5;
  object-fit: cover;
}
.story-image-caption {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244,239,230,.4);
  margin-top: 10px;
  text-align: center;
}

/* -------------------------------------------------------------------
   MOON LOUNGE (sub-section)
   ------------------------------------------------------------------- */
#moon-lounge {
  background: var(--cream);
  padding: clamp(56px, 9vw, 110px) 0;
  border-top: 1px solid var(--line-soft);
}
.moon-lounge-inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}
.moon-lounge-img img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 5/4;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.moon-lounge-text .eyebrow { color: var(--gold); }
.moon-lounge-text h2 {
  color: var(--ink);
  margin-bottom: 18px;
}
.moon-lounge-text p {
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.moon-lounge-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.moon-lounge-list li {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink-soft);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.moon-lounge-list li::before {
  content: '·';
  color: var(--terra);
  font-size: 20px;
  line-height: 1.1;
  flex-shrink: 0;
}

/* -------------------------------------------------------------------
   ROOMS SECTION (Section II)
   ------------------------------------------------------------------- */
#rooms {
  background: var(--cream-soft);
  padding: clamp(72px, 10vw, 140px) 0;
}
.rooms-header {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
  margin-bottom: clamp(40px, 6vw, 64px);
}
.rooms-header h2 { margin-bottom: 14px; }
.rooms-header p { color: var(--ink-soft); max-width: 560px; }
.rooms-grid {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.room-card {
  background: var(--cream);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.room-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.room-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.room-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.room-card:hover .room-card-img img { transform: scale(1.04); }
.room-card-body {
  padding: 24px 22px 28px;
}
.room-card-meta {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 8px;
}
.room-card h3 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 28px);
  margin-bottom: 10px;
}
.room-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.room-card-price {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--terra);
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.room-card-price span {
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-mute);
}
.rooms-note {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 24px var(--pad) 0;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  font-style: italic;
}

/* -------------------------------------------------------------------
   FESTIVAL SECTION (Section III)
   ------------------------------------------------------------------- */
#festival {
  position: relative;
  background: var(--ink);
  padding: clamp(72px, 10vw, 140px) 0;
  overflow: hidden;
  color: var(--cream);
}
.festival-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.festival-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .35;
}
.festival-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31,27,20,.6) 0%, rgba(31,27,20,.85) 100%);
}
.festival-content {
  position: relative;
  z-index: 1;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
  text-align: center;
}
.festival-content .section-label { justify-content: center; }
.festival-content h2 {
  color: var(--cream);
  margin-bottom: 18px;
}
.festival-content .body-lg {
  color: rgba(244,239,230,.78);
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 40px;
}
.festival-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin-bottom: 36px;
  border: 1px solid rgba(201,191,168,.2);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 780px;
  margin-inline: auto;
  margin-bottom: 40px;
}
.festival-stat {
  flex: 1;
  min-width: 160px;
  padding: 22px 24px;
  border-right: 1px solid rgba(201,191,168,.2);
  text-align: center;
}
.festival-stat:last-child { border-right: none; }
.festival-stat .val {
  font-family: var(--serif);
  font-size: clamp(20px, 3vw, 28px);
  color: var(--gold);
  display: block;
  line-height: 1.1;
}
.festival-stat .lbl {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244,239,230,.45);
  margin-top: 4px;
  display: block;
}
.festival-headliners {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(244,239,230,.55);
  margin-bottom: 36px;
}
.festival-headliners strong {
  font-weight: 500;
  color: rgba(244,239,230,.8);
}
.festival-sub {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244,239,230,.4);
  margin-top: 18px;
}

/* -------------------------------------------------------------------
   TESTIMONIALS SECTION
   ------------------------------------------------------------------- */
#testimonials {
  background: var(--cream);
  padding: clamp(72px, 10vw, 140px) 0;
}
.testimonials-header {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.testimonials-header .eyebrow { justify-content: center; display: flex; }
.testimonials-header h2 { margin-bottom: 14px; }
.testimonials-header p { color: var(--ink-soft); max-width: 480px; margin-inline: auto; }
.testimonials-grid {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--cream-soft);
  border-radius: 6px;
  padding: 32px 28px;
  border: 1px solid var(--line-soft);
  position: relative;
}
.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 14px;
}
.testimonial-quote {
  font-family: var(--serif);
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-quote::before { content: '\201C'; }
.testimonial-quote::after  { content: '\201D'; }
.testimonial-author {
  border-top: 1px solid var(--line-soft);
  padding-top: 16px;
}
.testimonial-author .name {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.testimonial-author .role {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-mute);
  margin-top: 2px;
}

/* -------------------------------------------------------------------
   LOCATION SECTION (Section IV)
   ------------------------------------------------------------------- */
#location {
  background: var(--cream-soft);
  padding: clamp(72px, 10vw, 140px) 0;
}
.location-inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.location-text .section-label { color: var(--ink-mute); }
.location-text h2 { margin-bottom: 14px; }
.location-text > p { color: var(--ink-soft); margin-bottom: 32px; }
.distances {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}
.distance-item {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 18px 16px;
  border: 1px solid var(--line-soft);
}
.distance-item .dist-m {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--terra);
  line-height: 1;
  display: block;
  margin-bottom: 4px;
}
.distance-item .dist-label {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  display: block;
  margin-bottom: 2px;
}
.distance-item .dist-time {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.distance-item .dist-link {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terra);
  margin-top: 6px;
}
.location-map-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.location-map-links a {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terra);
  display: flex;
  align-items: center;
  gap: 5px;
}
.location-map-col {
  position: sticky;
  top: 100px;
}
.location-map-col img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  object-fit: cover;
}
.location-stats {
  background: var(--ink);
  margin-top: clamp(40px, 6vw, 72px);
}
.location-stats .hero-stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.location-stats .hero-stat .stat-val { font-size: clamp(14px, 2vw, 20px); }

/* -------------------------------------------------------------------
   WAITLIST SECTION (Section V)
   ------------------------------------------------------------------- */
#waitlist {
  background: var(--ink);
  padding: clamp(72px, 10vw, 140px) 0;
  color: var(--cream);
}
.waitlist-inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(48px, 7vw, 100px);
  align-items: start;
}
.waitlist-text .section-label { color: rgba(244,239,230,.45); }
.waitlist-text h2 { color: var(--cream); margin-bottom: 18px; }
.waitlist-text .body-lg { color: rgba(244,239,230,.72); margin-bottom: 32px; }
.waitlist-benefits {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.waitlist-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: rgba(244,239,230,.78);
}
.waitlist-benefits li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.waitlist-social-proof {
  font-family: var(--sans);
  font-size: 14px;
  color: rgba(244,239,230,.55);
}
.waitlist-social-proof strong { color: var(--gold); font-weight: 500; }

/* Form */
.waitlist-form-wrap {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(201,191,168,.15);
  border-radius: 8px;
  padding: clamp(28px, 4vw, 48px);
}
.wl-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.wl-form .form-group {
  margin-bottom: 16px;
}
.wl-form label {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244,239,230,.55);
  margin-bottom: 6px;
}
.wl-form input,
.wl-form select,
.wl-form textarea {
  width: 100%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(201,191,168,.2);
  border-radius: var(--radius);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 15px;
  padding: 12px 14px;
  outline: none;
  transition: border-color .2s;
  -webkit-appearance: none;
}
.wl-form input::placeholder,
.wl-form textarea::placeholder { color: rgba(244,239,230,.35); }
.wl-form input:focus,
.wl-form select:focus,
.wl-form textarea:focus { border-color: var(--gold); }
.wl-form select option { background: var(--ink); color: var(--cream); }
.wl-form textarea { resize: vertical; min-height: 90px; }
.wl-form .consent-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.wl-form .consent-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--terra);
}
.wl-form .consent-row label {
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(244,239,230,.5);
  margin: 0;
}
.wl-form .form-trust {
  text-align: center;
  margin-top: 12px;
  font-size: 12px;
  color: rgba(244,239,230,.4);
  letter-spacing: 0.02em;
}

/* -------------------------------------------------------------------
   DETAILS SECTION (Section VI)
   ------------------------------------------------------------------- */
#details {
  background: var(--cream);
  padding: clamp(72px, 10vw, 140px) 0;
}
.details-header {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
  margin-bottom: clamp(40px, 6vw, 64px);
}
.details-header h2 { margin-bottom: 0; }
.details-grid-wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.detail-item {
  padding: 0;
}
.detail-item .detail-num {
  font-family: var(--serif);
  font-size: clamp(40px, 4vw, 56px);
  color: var(--line);
  line-height: 1;
  display: block;
  margin-bottom: 10px;
}
.detail-item h3 {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: 0;
}
.detail-item p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-mute);
}
.details-feature {
  position: sticky;
  top: 80px;
}
.details-feature img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 22px;
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.details-feature h3 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.5vw, 32px);
  margin-bottom: 12px;
}
.details-feature p { color: var(--ink-soft); font-size: 15px; }

/* -------------------------------------------------------------------
   CONTACT SECTION (Section VII)
   ------------------------------------------------------------------- */
#contact {
  background: var(--cream-soft);
  padding: clamp(72px, 10vw, 140px) 0;
}
.contact-inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.contact-faq .section-label { color: var(--ink-mute); }
.contact-faq h2 { margin-bottom: 28px; }
/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-item {
  border-bottom: 1px solid var(--line-soft);
}
.faq-item:first-child { border-top: 1px solid var(--line-soft); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: left;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  transition: color .2s;
}
.faq-question:hover { color: var(--terra); }
.faq-icon {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 300;
  color: var(--terra);
  line-height: 1;
  flex-shrink: 0;
  transition: transform .3s var(--ease);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease);
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p {
  padding: 0 0 18px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* Contact right column */
.contact-right {}
.contact-info-block {
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 20px;
}
.contact-info-block h3 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 18px;
}
.contact-info-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.contact-info-row:last-child { margin-bottom: 0; }
.contact-info-row .ci-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cream-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}
.contact-info-row .ci-body {
  flex: 1;
}
.contact-info-row .ci-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: block;
  margin-bottom: 2px;
}
.contact-info-row .ci-val {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  font-weight: 400;
}
.contact-info-row a { color: var(--terra); }
.contact-groups-card {
  background: var(--ink);
  border-radius: 8px;
  padding: 28px;
  color: var(--cream);
}
.contact-groups-card h3 {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--cream);
  margin-bottom: 12px;
}
.contact-groups-card p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(244,239,230,.72);
  margin-bottom: 20px;
}

/* -------------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------------- */
#site-footer {
  background: #1C1816;
  color: rgba(244,239,230,.7);
  padding: clamp(56px, 8vw, 96px) 0 0;
}
.footer-inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: clamp(32px, 5vw, 64px);
  padding-bottom: clamp(48px, 7vw, 80px);
  border-bottom: 1px solid rgba(201,191,168,.1);
}
.footer-brand .brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 16px;
}
.footer-brand .brand-logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.footer-brand .brand-logo .logo-text {
  font-family: var(--serif);
  font-size: 20px;
  color: rgba(244,239,230,.9);
}
.footer-brand .brand-logo .logo-luna { font-style: italic; color: var(--terra); }
.footer-brand p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(244,239,230,.5);
  max-width: 240px;
}
.footer-col h4 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-family: var(--sans);
  font-size: 14px;
  color: rgba(244,239,230,.6);
  text-decoration: none;
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--cream); }
.footer-col address {
  font-style: normal;
  font-size: 13px;
  color: rgba(244,239,230,.5);
  line-height: 1.6;
}
.footer-bottom {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 18px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-family: var(--sans);
  font-size: 12px;
  color: rgba(244,239,230,.35);
  letter-spacing: 0.02em;
}

/* -------------------------------------------------------------------
   WHATSAPP FLOAT BUTTON
   ------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  text-decoration: none;
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(37,211,102,.5);
}
.wa-float svg { width: 28px; height: 28px; }

/* -------------------------------------------------------------------
   GENERIC PAGE TEMPLATE
   ------------------------------------------------------------------- */
.page-hero {
  background: var(--ink);
  padding: clamp(96px, 14vw, 160px) 0 clamp(56px, 8vw, 96px);
  text-align: center;
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 6vw, 72px);
  color: var(--cream);
}
.page-hero .page-hero-desc {
  font-size: 17px;
  color: rgba(244,239,230,.65);
  max-width: 520px;
  margin: 14px auto 0;
}
.page-content {
  max-width: 840px;
  margin-inline: auto;
  padding: clamp(48px, 7vw, 80px) var(--pad);
}
.page-content p { font-size: 16px; line-height: 1.75; color: var(--ink-soft); margin-bottom: 18px; }
.page-content h2 { font-size: clamp(24px, 3vw, 36px); margin-bottom: 16px; margin-top: 40px; }
.page-content h3 { font-family: var(--sans); font-size: 18px; font-weight: 700; margin-bottom: 10px; margin-top: 28px; }

/* -------------------------------------------------------------------
   ROOMS ARCHIVE PAGE
   ------------------------------------------------------------------- */
.rooms-archive-grid {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(48px, 7vw, 80px) var(--pad);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.rooms-filter {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 32px var(--pad) 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.filter-btn {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: none;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--terra);
  color: var(--cream);
  border-color: var(--terra);
}

/* -------------------------------------------------------------------
   SINGLE ROOM
   ------------------------------------------------------------------- */
.room-hero {
  position: relative;
  height: 60vh;
  min-height: 380px;
  overflow: hidden;
}
.room-hero img { width: 100%; height: 100%; object-fit: cover; }
.room-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(31,27,20,.7) 100%);
}
.room-hero-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 1;
  padding: 32px var(--pad);
  max-width: var(--wrap);
  margin-inline: auto;
}
.room-hero-info h1 { color: var(--cream); }
.room-body {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(48px, 7vw, 80px) var(--pad);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: start;
}
.room-details-sidebar {
  background: var(--cream-soft);
  border-radius: 8px;
  padding: 28px;
  border: 1px solid var(--line-soft);
  position: sticky;
  top: 100px;
}
.room-price-large {
  font-family: var(--serif);
  font-size: 42px;
  color: var(--terra);
  line-height: 1;
  margin-bottom: 6px;
}
.room-price-note { font-size: 13px; color: var(--ink-mute); margin-bottom: 24px; }
.room-amenities { margin-top: 20px; }
.room-amenities h4 { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 12px; }
.room-amenities ul { display: flex; flex-direction: column; gap: 8px; }
.room-amenities ul li { font-size: 14px; color: var(--ink-soft); display: flex; gap: 8px; }
.room-amenities ul li::before { content: '✓'; color: var(--terra); font-weight: 700; }

/* -------------------------------------------------------------------
   BLOG / ARCHIVE
   ------------------------------------------------------------------- */
.blog-hero {
  background: var(--ink);
  padding: clamp(80px, 12vw, 140px) 0 clamp(48px, 7vw, 80px);
  text-align: center;
}
.blog-hero h1 { color: var(--cream); font-size: clamp(36px, 6vw, 72px); }
.blog-hero p { color: rgba(244,239,230,.6); max-width: 420px; margin: 12px auto 0; }
.blog-grid {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(48px, 7vw, 80px) var(--pad);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: var(--cream-soft);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.blog-card-img { aspect-ratio: 16/9; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-body { padding: 22px 20px 24px; }
.blog-card-date { font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 8px; }
.blog-card h3 { font-size: clamp(18px, 1.8vw, 22px); margin-bottom: 10px; }
.blog-card h3 a { color: var(--ink); text-decoration: none; }
.blog-card h3 a:hover { color: var(--terra); }
.blog-card p { font-size: 14px; line-height: 1.6; color: var(--ink-soft); }

/* -------------------------------------------------------------------
   SINGLE POST
   ------------------------------------------------------------------- */
.post-header {
  background: var(--ink);
  padding: clamp(80px, 12vw, 140px) 0 clamp(40px, 6vw, 64px);
  text-align: center;
}
.post-header .post-cat {
  font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px; display: block;
}
.post-header h1 { color: var(--cream); font-size: clamp(30px, 5vw, 60px); max-width: 760px; margin-inline: auto; }
.post-header .post-meta { font-size: 13px; color: rgba(244,239,230,.5); margin-top: 14px; }
.post-hero-img { max-height: 520px; overflow: hidden; }
.post-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.post-content { max-width: 720px; margin-inline: auto; padding: clamp(40px, 6vw, 64px) var(--pad); }
.post-content p { font-size: 17px; line-height: 1.8; color: var(--ink-soft); margin-bottom: 22px; }
.post-content h2 { font-size: clamp(24px, 3vw, 36px); margin-bottom: 16px; margin-top: 40px; }
.post-content h3 { font-family: var(--sans); font-size: 19px; font-weight: 700; margin-bottom: 12px; margin-top: 30px; }
.post-content blockquote { border-left: 3px solid var(--terra); padding-left: 20px; margin: 28px 0; font-family: var(--serif); font-size: 20px; font-style: italic; color: var(--ink); }
.post-content ul, .post-content ol { padding-left: 22px; margin-bottom: 20px; }
.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content li { font-size: 16px; line-height: 1.75; color: var(--ink-soft); margin-bottom: 6px; }
.post-content img { border-radius: var(--radius); box-shadow: var(--shadow); margin: 28px 0; }
.post-author-box {
  max-width: 720px; margin-inline: auto; padding: 28px var(--pad);
  border-top: 1px solid var(--line-soft); display: flex; gap: 18px; align-items: center;
}
.post-author-box .author-name { font-weight: 700; font-size: 15px; }
.post-author-box .author-bio { font-size: 13px; color: var(--ink-mute); }

/* Related posts */
.related-posts { background: var(--cream-soft); padding: clamp(48px, 6vw, 72px) 0; }
.related-posts h2 { font-size: clamp(20px, 2.5vw, 28px); margin-bottom: 28px; padding-inline: var(--pad); max-width: var(--wrap); margin-inline: auto; }

/* -------------------------------------------------------------------
   SEARCH & 404
   ------------------------------------------------------------------- */
.search-results-wrap { max-width: var(--wrap); margin-inline: auto; padding: clamp(48px, 7vw, 80px) var(--pad); }
.search-results-wrap h2 { font-family: var(--sans); font-size: 18px; margin-bottom: 28px; color: var(--ink-soft); font-weight: 400; }
.search-result-item { padding: 20px 0; border-bottom: 1px solid var(--line-soft); }
.search-result-item h3 a { color: var(--ink); text-decoration: none; font-size: 20px; }
.search-result-item h3 a:hover { color: var(--terra); }
.search-result-item p { font-size: 14px; color: var(--ink-mute); margin-top: 5px; }
.error-404-wrap { max-width: 560px; margin-inline: auto; padding: clamp(80px, 12vw, 140px) var(--pad); text-align: center; }
.error-404-wrap .err-code { font-family: var(--serif); font-size: 120px; line-height: 1; color: var(--line); margin-bottom: 0; }
.error-404-wrap h1 { font-size: clamp(24px, 3vw, 36px); margin-bottom: 14px; }
.error-404-wrap p { color: var(--ink-soft); margin-bottom: 28px; }

/* -------------------------------------------------------------------
   FADE-IN ANIMATION (JS adds .lm-animate class)
   ------------------------------------------------------------------- */
.lm-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.lm-fade.visible {
  opacity: 1;
  transform: translateY(0);
}
.lm-fade-delay-1 { transition-delay: .1s; }
.lm-fade-delay-2 { transition-delay: .2s; }
.lm-fade-delay-3 { transition-delay: .3s; }
.lm-fade-delay-4 { transition-delay: .4s; }

/* -------------------------------------------------------------------
   SEARCH FORM
   ------------------------------------------------------------------- */
.searchform {
  display: flex;
  gap: 8px;
  align-items: center;
}
.searchform input[type="search"] {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 15px;
  padding: 10px 14px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s;
}
.searchform input[type="search"]:focus { border-color: var(--terra); }
.searchform button[type="submit"] {
  background: var(--terra);
  color: var(--cream);
  border: none;
  border-radius: var(--radius);
  padding: 10px 18px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s;
}
.searchform button[type="submit"]:hover { background: var(--terra-dark); }

/* -------------------------------------------------------------------
   PAGINATION
   ------------------------------------------------------------------- */
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 40px var(--pad);
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.pagination .current, .pagination a:hover {
  background: var(--terra);
  color: var(--cream);
  border-color: var(--terra);
}

/* -------------------------------------------------------------------
   COMMENTS (minimal)
   ------------------------------------------------------------------- */
.comments-area { max-width: 720px; margin-inline: auto; padding: 40px var(--pad); }
.comments-title { font-family: var(--sans); font-size: 18px; font-weight: 700; margin-bottom: 24px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { padding: 20px 0; border-bottom: 1px solid var(--line-soft); }
.comment-author { font-size: 14px; font-weight: 700; color: var(--ink); }
.comment-meta { font-size: 12px; color: var(--ink-mute); margin-bottom: 8px; }
.comment-content p { font-size: 15px; color: var(--ink-soft); }
.comment-respond { margin-top: 36px; }
.comment-respond h3 { font-family: var(--serif); font-size: 26px; margin-bottom: 20px; }

/* -------------------------------------------------------------------
   RESPONSIVE — 1024px
   ------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .nav-links { gap: 18px; margin-left: 22px; }
  .rooms-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .details-grid { grid-template-columns: 1fr 1fr; }
  .details-grid-wrap { grid-template-columns: 1fr; }
  .details-feature { position: static; }
  .rooms-archive-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
}

/* -------------------------------------------------------------------
   RESPONSIVE — 768px
   ------------------------------------------------------------------- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-right .lang-switcher { display: none; }
  .nav-right .btn { display: none; }
  .nav-hamburger { display: flex; }
  .story-inner { grid-template-columns: 1fr; }
  .moon-lounge-inner { grid-template-columns: 1fr; }
  .rooms-grid { grid-template-columns: 1fr; }
  .festival-stats { flex-direction: column; }
  .festival-stat { border-right: none; border-bottom: 1px solid rgba(201,191,168,.2); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .location-inner { grid-template-columns: 1fr; }
  .waitlist-inner { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .distances { grid-template-columns: 1fr; }
  .wl-form .form-row { grid-template-columns: 1fr; }
  .hero-stats-inner { grid-template-columns: 1fr 1fr; }
  .hero-sign { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .rooms-archive-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .room-body { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------------
   RESPONSIVE — 540px
   ------------------------------------------------------------------- */
@media (max-width: 540px) {
  .hero-stats-inner { grid-template-columns: 1fr 1fr; }
  .hero-stat { padding: 14px 10px; }
  .footer-inner { grid-template-columns: 1fr; }
  .details-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  #announcement-bar { font-size: 11px; }
  .festival-stats { flex-direction: column; }
  .location-stats .hero-stats-inner { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* === Form placeholder visibility fix (light vs dark contexts) === */
.wl-form input::placeholder,
.wl-form textarea::placeholder,
.wl-form select:invalid { color: rgba(31,27,20,.45); }
/* Keep light placeholders only inside dark waitlist (hero / footer) */
.section-waitlist .wl-form input::placeholder,
.section-waitlist .wl-form textarea::placeholder,
#festival-form .wl-form input::placeholder,
#festival-form .wl-form textarea::placeholder { color: rgba(244,239,230,.55); }
/* Default text colour for cream inputs */
.wl-form input,
.wl-form textarea,
.wl-form select { color: var(--ink); }
.section-waitlist .wl-form input,
.section-waitlist .wl-form textarea,
.section-waitlist .wl-form select,
#festival-form .wl-form input,
#festival-form .wl-form textarea,
#festival-form .wl-form select { color: var(--cream); background: rgba(244,239,230,.06); border-color: rgba(244,239,230,.18); }


/* -------------------------------------------------------------------
   GRAVITY FORMS — colour & contrast (added 2026-06-21)
   ------------------------------------------------------------------- */
/* Default: light backgrounds (cream / white). Dark text + readable inputs. */
.gform_wrapper {
  font-family: var(--sans);
  color: var(--ink);
}
.gform_wrapper .gform_heading .gform_title,
.gform_wrapper .gform_heading .gform_description {
  color: var(--ink);
}
.gform_wrapper .gfield_label,
.gform_wrapper label.gfield_label,
.gform_wrapper legend.gfield_label,
.gform_wrapper .gform-field-label,
.gform_wrapper .gfield_consent_label,
.gform_wrapper .ginput_complex label,
.gform_wrapper .gfield_html h1,
.gform_wrapper .gfield_html h2,
.gform_wrapper .gfield_html h3,
.gform_wrapper .gfield_html p {
  color: var(--ink) !important;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;
  margin-bottom: 6px;
  display: inline-block;
}
.gform_wrapper .gfield_required { color: var(--terra); }
.gform_wrapper .gfield_description,
.gform_wrapper .gform_validation_errors,
.gform_wrapper .gform-html h1,
.gform_wrapper .gform-html h2,
.gform_wrapper .gform-html h3,
.gform_wrapper .gform-html p {
  color: var(--ink-soft);
  font-size: 13px;
}
.gform_wrapper input[type=text],
.gform_wrapper input[type=email],
.gform_wrapper input[type=tel],
.gform_wrapper input[type=url],
.gform_wrapper input[type=number],
.gform_wrapper input[type=date],
.gform_wrapper select,
.gform_wrapper textarea {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-family: var(--sans);
  font-size: 15px;
  width: 100%;
  transition: border-color .2s var(--ease);
}
.gform_wrapper input::placeholder,
.gform_wrapper textarea::placeholder { color: rgba(31,27,20,.42); }
.gform_wrapper input:focus,
.gform_wrapper select:focus,
.gform_wrapper textarea:focus {
  outline: none;
  border-color: var(--terra);
  box-shadow: 0 0 0 3px rgba(168,89,58,.12);
}
.gform_wrapper .gform_footer .gform_button,
.gform_wrapper input[type=submit] {
  background: var(--terra);
  color: var(--cream);
  border: 0;
  padding: 13px 26px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background .2s var(--ease);
}
.gform_wrapper .gform_footer .gform_button:hover,
.gform_wrapper input[type=submit]:hover { background: var(--terra-dark); }
.gform_wrapper .gform_validation_errors {
  background: #fff5f1;
  border: 1px solid #e8b8a8;
  color: var(--terra-dark);
  padding: 12px 16px;
  border-radius: var(--radius);
}
.gform_confirmation_message {
  background: var(--cream-soft);
  color: var(--ink);
  padding: 18px 22px;
  border-radius: var(--radius);
  font-size: 15px;
  line-height: 1.6;
}
.gform_wrapper .gfield_consent_description {
  color: var(--ink-soft);
  font-size: 12px;
  background: var(--cream);
  padding: 10px 12px;
  border-radius: var(--radius);
  max-height: 140px;
  overflow-y: auto;
}

/* GF on DARK backgrounds (hero waitlist, festival section, dark CTAs) */
.section-waitlist .gform_wrapper,
#festival-form .gform_wrapper,
.lm-dark .gform_wrapper,
[data-section="dark"] .gform_wrapper {
  color: var(--cream);
}
.section-waitlist .gform_wrapper .gfield_label,
.section-waitlist .gform_wrapper label.gfield_label,
.section-waitlist .gform_wrapper legend.gfield_label,
.section-waitlist .gform_wrapper .gform-field-label,
.section-waitlist .gform_wrapper .gfield_consent_label,
.section-waitlist .gform_wrapper .gfield_html p,
.section-waitlist .gform_wrapper .gform_heading .gform_title,
.section-waitlist .gform_wrapper .gform_heading .gform_description,
#festival-form .gform_wrapper .gfield_label,
#festival-form .gform_wrapper label.gfield_label,
#festival-form .gform_wrapper legend.gfield_label,
#festival-form .gform_wrapper .gform-field-label,
#festival-form .gform_wrapper .gfield_consent_label,
#festival-form .gform_wrapper .gfield_html p,
#festival-form .gform_wrapper .gform_heading .gform_title,
#festival-form .gform_wrapper .gform_heading .gform_description,
.lm-dark .gform_wrapper .gfield_label,
.lm-dark .gform_wrapper label.gfield_label,
.lm-dark .gform_wrapper legend.gfield_label,
.lm-dark .gform_wrapper .gform-field-label,
.lm-dark .gform_wrapper .gfield_consent_label {
  color: var(--cream) !important;
}
.section-waitlist .gform_wrapper .gfield_description,
#festival-form .gform_wrapper .gfield_description,
.lm-dark .gform_wrapper .gfield_description { color: rgba(244,239,230,.72); }
.section-waitlist .gform_wrapper .gfield_required,
#festival-form .gform_wrapper .gfield_required,
.lm-dark .gform_wrapper .gfield_required { color: var(--gold); }
.section-waitlist .gform_wrapper input[type=text],
.section-waitlist .gform_wrapper input[type=email],
.section-waitlist .gform_wrapper input[type=tel],
.section-waitlist .gform_wrapper input[type=url],
.section-waitlist .gform_wrapper input[type=number],
.section-waitlist .gform_wrapper input[type=date],
.section-waitlist .gform_wrapper select,
.section-waitlist .gform_wrapper textarea,
#festival-form .gform_wrapper input[type=text],
#festival-form .gform_wrapper input[type=email],
#festival-form .gform_wrapper input[type=tel],
#festival-form .gform_wrapper input[type=url],
#festival-form .gform_wrapper input[type=number],
#festival-form .gform_wrapper input[type=date],
#festival-form .gform_wrapper select,
#festival-form .gform_wrapper textarea,
.lm-dark .gform_wrapper input,
.lm-dark .gform_wrapper select,
.lm-dark .gform_wrapper textarea {
  background: rgba(244,239,230,.06);
  border: 1px solid rgba(244,239,230,.22);
  color: var(--cream);
}
.section-waitlist .gform_wrapper input::placeholder,
.section-waitlist .gform_wrapper textarea::placeholder,
#festival-form .gform_wrapper input::placeholder,
#festival-form .gform_wrapper textarea::placeholder,
.lm-dark .gform_wrapper input::placeholder,
.lm-dark .gform_wrapper textarea::placeholder { color: rgba(244,239,230,.5); }
.section-waitlist .gform_wrapper input:focus,
.section-waitlist .gform_wrapper select:focus,
.section-waitlist .gform_wrapper textarea:focus,
#festival-form .gform_wrapper input:focus,
#festival-form .gform_wrapper select:focus,
#festival-form .gform_wrapper textarea:focus,
.lm-dark .gform_wrapper input:focus,
.lm-dark .gform_wrapper select:focus,
.lm-dark .gform_wrapper textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,137,90,.22);
  background: rgba(244,239,230,.10);
}
.section-waitlist .gform_wrapper .gfield_consent_description,
#festival-form .gform_wrapper .gfield_consent_description,
.lm-dark .gform_wrapper .gfield_consent_description {
  background: rgba(244,239,230,.06);
  color: rgba(244,239,230,.78);
  border: 1px solid rgba(244,239,230,.16);
}
.section-waitlist .gform_wrapper .gform_footer .gform_button,
#festival-form .gform_wrapper .gform_footer .gform_button,
.lm-dark .gform_wrapper .gform_footer .gform_button { background: var(--gold); color: var(--ink); }
.section-waitlist .gform_wrapper .gform_footer .gform_button:hover,
#festival-form .gform_wrapper .gform_footer .gform_button:hover,
.lm-dark .gform_wrapper .gform_footer .gform_button:hover { background: var(--cream); }

/* Field spacing inside GF */
.gform_wrapper .gform_fields { display: grid; gap: 18px; }
.gform_wrapper .gform_footer { margin-top: 18px; }

/* -------------------------------------------------------------------
   STICKY HEADER — always-visible nav (added 2026-06-21)
   ------------------------------------------------------------------- */
/* Header was already position:fixed. Make it always show the legible
   cream/blur state on non-front-page templates so labels are visible
   over any hero. */
body:not(.home):not(.front-page) #site-header,
body.single #site-header,
body.archive #site-header,
body.blog #site-header,
body.search #site-header,
body.error404 #site-header {
  background: rgba(244,239,230,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
/* Force scrolled-state colours on those pages too, regardless of JS .scrolled class */
body:not(.home):not(.front-page) #site-header .nav-logo .logo-text { color: var(--ink); }
body:not(.home):not(.front-page) #site-header .nav-logo .logo-text .logo-luna { color: var(--terra); }
body:not(.home):not(.front-page) #site-header .nav-links a { color: var(--ink-soft); }
body:not(.home):not(.front-page) #site-header .nav-links a:hover { color: var(--ink); }
body:not(.home):not(.front-page) #site-header .lang-switcher a,
body:not(.home):not(.front-page) #site-header .lang-switcher button { color: var(--ink-mute); }
body:not(.home):not(.front-page) #site-header .lang-switcher a.active,
body:not(.home):not(.front-page) #site-header .lang-switcher button.active { color: var(--ink); }
body:not(.home):not(.front-page) #site-header .nav-hamburger span { background: var(--ink); }

/* Push page content below the fixed header on non-front pages (homepage uses transparent overlay on hero) */
body:not(.home):not(.front-page) #site-content { padding-top: 68px; }
body:not(.home):not(.front-page).admin-bar #site-content { padding-top: 68px; }
body:not(.home):not(.front-page) #site-header.has-announcement ~ #site-content,
body:not(.home):not(.front-page) #site-header[has-announcement] ~ #site-content { padding-top: 105px; }

/* ===================================================================
   VISUAL QA FIXES v2 — 2026-06-21
   Fix nav bullets on journal, festival H1 colour, journal layout,
   page-hero on attractions, GF font colours across all pages.
   =================================================================== */

/* --- NAV: strip default <li> bullets/markers; layout flex regardless of <ul> wrapper --- */
.nav-links ul,
.nav-links ol,
.nav-links {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0;
}
.nav-links li,
.nav-links .menu-item {
  list-style: none !important;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
}
.nav-links li::before,
.nav-links li::marker,
.nav-links .menu-item::before { content: none !important; display: none !important; }
/* Re-apply flex to .nav-links so <li> children line up like the original anchor variant */
.nav-links {
  display: flex !important;
  align-items: center;
  gap: 28px;
  margin-left: 36px;
  flex: 1;
}
.nav-links a,
.nav-links li a,
.nav-links .menu-item a {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  white-space: nowrap;
}
body.home #site-header:not(.scrolled) .nav-links a,
body.front-page #site-header:not(.scrolled) .nav-links a { color: rgba(244,239,230,.85); }
body.home #site-header.scrolled .nav-links a,
body.front-page #site-header.scrolled .nav-links a { color: var(--ink-soft); }

/* --- FESTIVAL HERO: H1 wasn't styled (.h2 utility class doesn't reach element selectors) --- */
.festival-content h1,
.festival-content h1.h2,
.festival-content .h2 {
  font-family: var(--serif);
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.05;
  color: var(--cream) !important;
  margin-bottom: 18px;
  text-shadow: 0 2px 24px rgba(0,0,0,.45);
}
.festival-content .body-lg,
.festival-content p { color: rgba(244,239,230,.88); }
.festival-content .section-label--light { color: var(--cream); }
.festival-headliners { color: rgba(244,239,230,.78); }
.festival-sub { color: rgba(244,239,230,.55); }

/* --- JOURNAL / BLOG (index.php) layout — these classes had no CSS at all --- */
.lm-page-header { text-align: center; margin-bottom: 60px; }
.lm-eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 14px;
}
.lm-page-title {
  font-family: var(--serif);
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05;
  color: var(--ink);
  margin: 0;
}
.lm-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 28px;
  max-width: var(--wrap);
  margin: 0 auto;
}
.lm-post-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.lm-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(31,27,20,.10);
}
.lm-post-card__image {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--terra), var(--gold));
}
.lm-post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease);
}
.lm-post-card:hover .lm-post-card__image img { transform: scale(1.04); }
.lm-post-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.lm-post-card__meta {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.lm-post-card__title {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.25;
  margin: 0;
  color: var(--ink);
}
.lm-post-card__title a { color: inherit; text-decoration: none; }
.lm-post-card__title a:hover { color: var(--terra); }
.lm-post-card__excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}
.lm-post-card__more {
  margin-top: auto;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--terra);
  text-decoration: none;
  border-bottom: 1px solid var(--terra);
  align-self: flex-start;
  padding-bottom: 2px;
}
@media (max-width: 900px) {
  .lm-posts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .lm-posts-grid { grid-template-columns: 1fr; }
}

/* Single post layout (article body readability) */
.lm-single-article {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(56px, 9vw, 110px) var(--pad);
}
.lm-single-article h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 18px;
}
.lm-single-article .entry-meta {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 32px;
}
.lm-single-article .entry-content {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
}
.lm-single-article .entry-content p { margin: 0 0 18px; color: var(--ink); }
.lm-single-article .entry-content h2 { font-family: var(--serif); font-size: clamp(24px,3vw,32px); color: var(--ink); margin: 36px 0 14px; }
.lm-single-article .entry-content h3 { font-family: var(--sans); font-size: 19px; font-weight: 700; color: var(--ink); margin: 28px 0 10px; }
.lm-single-article .entry-content a { color: var(--terra); border-bottom: 1px solid currentColor; }
.lm-single-article .entry-content ul,
.lm-single-article .entry-content ol { padding-left: 1.4em; margin: 0 0 18px; color: var(--ink); }
.lm-single-article .entry-content li { margin-bottom: 8px; color: var(--ink); }
.lm-single-article .entry-content blockquote {
  border-left: 3px solid var(--terra);
  margin: 24px 0;
  padding: 4px 0 4px 20px;
  font-style: italic;
  color: var(--ink-soft);
}

/* --- GLOBAL GRAVITY FORMS — ensure cream backgrounds always show ink text --- */
.gform_wrapper.gravity-theme,
.gform_wrapper.gravity-theme .gfield,
.gform_wrapper.gravity-theme .gfield_label,
.gform_wrapper.gravity-theme .gfield label,
.gform_wrapper.gravity-theme .ginput_complex label,
.gform_wrapper.gravity-theme .gfield_description {
  color: var(--ink) !important;
}
.gform_wrapper.gravity-theme input[type="text"],
.gform_wrapper.gravity-theme input[type="email"],
.gform_wrapper.gravity-theme input[type="tel"],
.gform_wrapper.gravity-theme input[type="number"],
.gform_wrapper.gravity-theme input[type="url"],
.gform_wrapper.gravity-theme input[type="date"],
.gform_wrapper.gravity-theme select,
.gform_wrapper.gravity-theme textarea {
  background: #fff !important;
  color: var(--ink) !important;
  border: 1px solid var(--line-soft) !important;
  border-radius: 6px !important;
  padding: 12px 14px !important;
  font-family: var(--sans) !important;
  font-size: 15px !important;
  width: 100% !important;
}
.gform_wrapper.gravity-theme input::placeholder,
.gform_wrapper.gravity-theme textarea::placeholder { color: var(--ink-mute) !important; opacity: 1; }
.gform_wrapper.gravity-theme input:focus,
.gform_wrapper.gravity-theme select:focus,
.gform_wrapper.gravity-theme textarea:focus {
  outline: 2px solid var(--terra) !important;
  outline-offset: 1px;
  border-color: var(--terra) !important;
}
.gform_wrapper.gravity-theme .gform_required_legend { color: var(--ink-mute) !important; font-size: 12px; }
.gform_wrapper.gravity-theme .gfield_required { color: var(--terra) !important; }
.gform_wrapper.gravity-theme .gform_footer .gform_button,
.gform_wrapper.gravity-theme .gform_page_footer .gform_button {
  background: var(--ink) !important;
  color: var(--cream) !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 14px 28px !important;
  font-family: var(--sans) !important;
  font-size: 14px !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  cursor: pointer;
  transition: background .25s var(--ease);
}
.gform_wrapper.gravity-theme .gform_footer .gform_button:hover { background: var(--terra) !important; }
.gform_wrapper.gravity-theme .gfield_error .gfield_label,
.gform_wrapper.gravity-theme .gfield_error label { color: #b94a3a !important; }
.gform_wrapper.gravity-theme .validation_message { color: #b94a3a !important; font-size: 13px; margin-top: 6px; }

/* Dark-context overrides (when form sits on ink background) */
.section-waitlist .gform_wrapper.gravity-theme,
.lm-dark .gform_wrapper.gravity-theme,
#festival-form .gform_wrapper.gravity-theme {
  color: var(--cream) !important;
}
.section-waitlist .gform_wrapper.gravity-theme .gfield_label,
.section-waitlist .gform_wrapper.gravity-theme .gfield label,
.section-waitlist .gform_wrapper.gravity-theme .ginput_complex label,
.section-waitlist .gform_wrapper.gravity-theme .gfield_description,
.lm-dark .gform_wrapper.gravity-theme .gfield_label,
.lm-dark .gform_wrapper.gravity-theme .gfield label,
.lm-dark .gform_wrapper.gravity-theme .ginput_complex label,
.lm-dark .gform_wrapper.gravity-theme .gfield_description,
#festival-form .gform_wrapper.gravity-theme .gfield_label,
#festival-form .gform_wrapper.gravity-theme .gfield label,
#festival-form .gform_wrapper.gravity-theme .ginput_complex label {
  color: var(--cream) !important;
}

/* --- ATTRACTIONS hero safety: enforce dark bg in case any other rule wins --- */
.page-attractions .page-hero,
body.page-template-page-attractions .page-hero,
.page-hero {
  background: var(--ink) !important;
}
.page-hero h1 { color: var(--cream) !important; }
.page-hero .page-hero-desc { color: rgba(244,239,230,.72) !important; }

/* --- Generic readability: any text on .lm-wrap default to ink so blog/archive copy isn't faint --- */
.lm-wrap, .lm-wrap p, .lm-wrap li { color: var(--ink); }

/* Pagination + comments small fixes for blog */
.lm-pagination { text-align: center; padding: 32px 0 60px; }
.lm-pagination a, .lm-pagination .current {
  display: inline-block; padding: 8px 14px; margin: 0 4px;
  border: 1px solid var(--line-soft); color: var(--ink);
  text-decoration: none; border-radius: 4px; font-family: var(--sans); font-size: 13px;
}
.lm-pagination .current { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* Hide GF Name prefix/suffix inputs across the site (we only collect First + Last) */
.gform_wrapper .ginput_container_name .name_prefix,
.gform_wrapper .ginput_container_name .name_suffix,
.gform_wrapper .ginput_container_name .name_middle { display: none !important; }
/* Expand First/Last to fill row */
.gform_wrapper .ginput_container_name { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 12px; }
.gform_wrapper .ginput_container_name .name_first,
.gform_wrapper .ginput_container_name .name_last { width: 100% !important; }
.gform_wrapper .ginput_container_name .name_first input,
.gform_wrapper .ginput_container_name .name_last input { width: 100% !important; }
@media (max-width: 600px) {
  .gform_wrapper .ginput_container_name { grid-template-columns: 1fr !important; }
}


/* ============================================
   QA FIX BATCH v3 — 2026-06-21
   ============================================ */

/* -- 1. Gravity Forms submit button (was bright blue #204CE5) -- */
.gform_wrapper .gform_button,
.gform_wrapper input[type="submit"],
.gform_wrapper button[type="submit"],
form.gform_wrapper .gform_button.button {
    background: var(--terra) !important;
    background-color: var(--terra) !important;
    color: var(--cream) !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 14px 28px !important;
    font-family: 'DM Sans', system-ui, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: background-color .2s ease, transform .2s ease !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    box-shadow: none !important;
}
.gform_wrapper .gform_button:hover,
.gform_wrapper input[type="submit"]:hover,
.gform_wrapper button[type="submit"]:hover {
    background: #8e4830 !important;
    background-color: #8e4830 !important;
    transform: translateY(-1px);
}

/* -- 2. Festival form (gform_4) inputs on dark BG: increase contrast -- */
section[style*="dark"] .gform_wrapper input[type="text"],
section[style*="dark"] .gform_wrapper input[type="email"],
section[style*="dark"] .gform_wrapper input[type="tel"],
section[style*="dark"] .gform_wrapper input[type="number"],
section[style*="dark"] .gform_wrapper textarea,
section[style*="dark"] .gform_wrapper select,
.lm-dark .gform_wrapper input[type="text"],
.lm-dark .gform_wrapper input[type="email"],
.lm-dark .gform_wrapper input[type="tel"],
.lm-dark .gform_wrapper input[type="number"],
.lm-dark .gform_wrapper textarea,
.lm-dark .gform_wrapper select,
#gform_wrapper_4 input[type="text"],
#gform_wrapper_4 input[type="email"],
#gform_wrapper_4 input[type="tel"],
#gform_wrapper_4 input[type="number"],
#gform_wrapper_4 textarea,
#gform_wrapper_4 select {
    background: rgba(244, 239, 230, 0.95) !important;
    color: var(--ink) !important;
    border: 1px solid rgba(244, 239, 230, 0.6) !important;
    padding: 12px 14px !important;
    border-radius: 4px !important;
}
#gform_wrapper_4 input[type="text"]:focus,
#gform_wrapper_4 input[type="email"]:focus,
#gform_wrapper_4 input[type="tel"]:focus,
#gform_wrapper_4 input[type="number"]:focus,
#gform_wrapper_4 textarea:focus,
#gform_wrapper_4 select:focus {
    background: #fff !important;
    border-color: var(--gold) !important;
    outline: 2px solid var(--gold) !important;
    outline-offset: 1px !important;
}

/* -- 3. Contact info block: "WhatsApp us" button text was invisible (terra-on-terra) -- */
.contact-info-block .btn-primary,
.contact-info-block a.btn.btn-primary,
.contact-info-block .btn.btn-primary.btn-sm,
.contact-info-block a.btn.btn-primary.btn-sm.lm-track-wa {
    color: var(--cream) !important;
    background: var(--terra) !important;
    background-color: var(--terra) !important;
    padding: 10px 20px !important;
    border-radius: 4px !important;
    display: inline-block !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
}
.contact-info-block .btn-primary:hover {
    background: #8e4830 !important;
    color: var(--cream) !important;
}

/* -- 4. Make sure btn-primary ALWAYS has cream text (defensive) -- */
.btn.btn-primary,
a.btn.btn-primary,
button.btn.btn-primary {
    color: var(--cream) !important;
}
.btn.btn-primary:hover {
    color: var(--cream) !important;
}

/* ============================================
   HEADER POSITIONING FIX — 2026-06-21
   Make announcement bar + nav both fully fixed
   so they always stay anchored to viewport top.
   ============================================ */

/* Announcement bar: anchor to viewport top */
#announcement-bar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 200 !important;
}

/* Header sits directly below announcement bar at 37px */
#site-header,
#site-header.has-announcement {
    position: fixed !important;
    top: 37px !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 150 !important;
}

/* When announcement bar is dismissed (JS adds .ann-hidden on body) */
body.ann-hidden #announcement-bar { display: none !important; }
body.ann-hidden #site-header,
body.ann-hidden #site-header.has-announcement { top: 0 !important; }

/* Push site-content down so first content isn't covered.
   37 (ann) + 68 (header) = 105px */
#site-content,
body.home #site-content,
body.front-page #site-content {
    padding-top: 105px;
}
body:not(.home):not(.front-page) #site-content {
    padding-top: 105px !important;
}
body.ann-hidden #site-content,
body.ann-hidden:not(.home):not(.front-page) #site-content {
    padding-top: 68px !important;
}

/* Homepage hero: we DON'T want padding because hero is full-bleed.
   Instead the hero content has its own top spacing. Set padding back
   to 0 for the homepage and let the hero sit under the transparent header. */
body.home #site-content,
body.front-page #site-content {
    padding-top: 0 !important;
}

/* But ensure first-section content (e.g. story section after hero on home)
   doesn't get hidden — only the hero has full-bleed treatment. */

/* WordPress admin bar offset — keep everything below it */
body.admin-bar #announcement-bar { top: 32px !important; }
body.admin-bar #site-header,
body.admin-bar #site-header.has-announcement { top: 69px !important; }
@media (max-width: 782px) {
    body.admin-bar #announcement-bar { top: 46px !important; }
    body.admin-bar #site-header,
    body.admin-bar #site-header.has-announcement { top: 83px !important; }
}

/* Mobile: announcement bar may be slightly taller */
@media (max-width: 640px) {
    #site-header,
    #site-header.has-announcement { top: 44px !important; }
    body.admin-bar #site-header,
    body.admin-bar #site-header.has-announcement { top: 90px !important; }
    #site-content,
    body:not(.home):not(.front-page) #site-content {
        padding-top: 112px !important;
    }
    body.home #site-content,
    body.front-page #site-content { padding-top: 0 !important; }
}

/* ============================================================
   LUNA MARINA — POLISH PATCH 2026-06-21 (B)
   Fixes:
   1. Gravity Forms text contrast (book-now form 3 + form 4, all forms in dark sections)
   2. Contact page WhatsApp button visibility (.contact-info-row, .contact-groups-card)
   3. Header position — revert "floating fixed" to in-place sticky behaviour
   ============================================================ */

/* ---------- 1. GRAVITY FORMS CONTRAST ---------- */

/* Override GF's CSS vars at higher specificity so labels resolve correctly */
body #gform_wrapper_3[data-form-index="0"].gform-theme,
body [data-parent-form="3_0"],
body #gform_wrapper_3 {
    --gf-ctrl-label-color-primary: var(--ink) !important;
    --gf-ctrl-label-color-secondary: var(--ink-soft) !important;
}

body #gform_wrapper_4[data-form-index="0"].gform-theme,
body [data-parent-form="4_0"],
body #gform_wrapper_4,
body .section-waitlist [class*="gform_wrapper"],
body #festival-form [class*="gform_wrapper"],
body .lm-dark [class*="gform_wrapper"],
body [data-section="dark"] [class*="gform_wrapper"] {
    --gf-ctrl-label-color-primary: var(--cream) !important;
    --gf-ctrl-label-color-secondary: rgba(244,239,230,0.85) !important;
}

/* Hard fallbacks — light-bg form (waitlist) */
body #gform_wrapper_3 .gfield_label,
body #gform_wrapper_3 legend.gfield_label,
body #gform_wrapper_3 .gform-field-label,
body #gform_wrapper_3 .gfield_consent_label,
body #gform_wrapper_3 .gfield_description,
body #gform_wrapper_3 .gform_fileupload_rules,
body #gform_wrapper_3 .gfield_html,
body #gform_wrapper_3 label {
    color: var(--ink) !important;
}
body #gform_wrapper_3 .gfield_required,
body #gform_wrapper_3 .gfield_required_text {
    color: var(--terra) !important;
}

/* Hard fallbacks — dark-bg form (festival) */
body #gform_wrapper_4 .gfield_label,
body #gform_wrapper_4 legend.gfield_label,
body #gform_wrapper_4 .gform-field-label,
body #gform_wrapper_4 .gfield_consent_label,
body #gform_wrapper_4 .gfield_description,
body #gform_wrapper_4 .gform_fileupload_rules,
body #gform_wrapper_4 .gfield_html,
body #gform_wrapper_4 label,
body .section-waitlist .gform_wrapper .gfield_label,
body .section-waitlist .gform_wrapper legend.gfield_label,
body .section-waitlist .gform_wrapper .gform-field-label,
body .section-waitlist .gform_wrapper .gfield_consent_label,
body .section-waitlist .gform_wrapper .gfield_description,
body .section-waitlist .gform_wrapper label,
body #festival-form .gform_wrapper .gfield_label,
body #festival-form .gform_wrapper legend.gfield_label,
body #festival-form .gform_wrapper .gform-field-label,
body #festival-form .gform_wrapper .gfield_consent_label,
body #festival-form .gform_wrapper .gfield_description,
body #festival-form .gform_wrapper label,
body .lm-dark .gform_wrapper .gfield_label,
body .lm-dark .gform_wrapper label,
body [data-section="dark"] .gform_wrapper .gfield_label,
body [data-section="dark"] .gform_wrapper label {
    color: var(--cream) !important;
}
body #gform_wrapper_4 .gfield_required,
body #gform_wrapper_4 .gfield_required_text,
body .section-waitlist .gfield_required,
body .section-waitlist .gfield_required_text,
body #festival-form .gfield_required,
body #festival-form .gfield_required_text {
    color: var(--gold) !important;
}

/* Inputs on dark backgrounds — keep cream surface with ink text */
body #gform_wrapper_4 input[type="text"],
body #gform_wrapper_4 input[type="email"],
body #gform_wrapper_4 input[type="tel"],
body #gform_wrapper_4 input[type="number"],
body #gform_wrapper_4 input[type="date"],
body #gform_wrapper_4 input[type="url"],
body #gform_wrapper_4 textarea,
body #gform_wrapper_4 select,
body .section-waitlist .gform_wrapper input[type="text"],
body .section-waitlist .gform_wrapper input[type="email"],
body .section-waitlist .gform_wrapper input[type="tel"],
body .section-waitlist .gform_wrapper input[type="number"],
body .section-waitlist .gform_wrapper input[type="date"],
body .section-waitlist .gform_wrapper input[type="url"],
body .section-waitlist .gform_wrapper textarea,
body .section-waitlist .gform_wrapper select,
body #festival-form .gform_wrapper input[type="text"],
body #festival-form .gform_wrapper input[type="email"],
body #festival-form .gform_wrapper input[type="tel"],
body #festival-form .gform_wrapper input[type="number"],
body #festival-form .gform_wrapper input[type="date"],
body #festival-form .gform_wrapper input[type="url"],
body #festival-form .gform_wrapper textarea,
body #festival-form .gform_wrapper select {
    background: var(--cream) !important;
    color: var(--ink) !important;
    border: 1px solid rgba(244,239,230,0.4) !important;
}

/* Placeholders */
body #gform_wrapper_4 ::placeholder,
body .section-waitlist .gform_wrapper ::placeholder,
body #festival-form .gform_wrapper ::placeholder {
    color: rgba(31,27,20,0.55) !important;
    opacity: 1 !important;
}

/* Submit button on dark — terra background, cream text */
body #gform_wrapper_4 .gform_button,
body #gform_wrapper_4 input[type="submit"],
body #gform_wrapper_4 button[type="submit"],
body .section-waitlist .gform_button,
body .section-waitlist input[type="submit"],
body .section-waitlist button[type="submit"],
body #festival-form .gform_button,
body #festival-form input[type="submit"],
body #festival-form button[type="submit"] {
    background: var(--terra) !important;
    color: var(--cream) !important;
    border-color: var(--terra) !important;
}
body #gform_wrapper_4 .gform_button:hover,
body .section-waitlist .gform_button:hover,
body #festival-form .gform_button:hover {
    background: var(--terra-dark) !important;
}

/* Validation + confirmation text — readable in any context */
body .gform_confirmation_message,
body .gform_validation_errors {
    color: var(--ink) !important;
}
body .section-waitlist .gform_confirmation_message,
body #festival-form .gform_confirmation_message {
    color: var(--cream) !important;
}

/* Universal safety net: any gfield_label that ends up on a dark element
   (.lm-dark, [data-section="dark"], .section-waitlist) */
body .lm-dark .gfield_label,
body .lm-dark .gform-field-label,
body .lm-dark .gfield_consent_label,
body .lm-dark .gfield_description,
body [data-section="dark"] .gfield_label,
body [data-section="dark"] .gform-field-label,
body [data-section="dark"] .gfield_consent_label,
body [data-section="dark"] .gfield_description {
    color: var(--cream) !important;
}

/* ---------- 2. CONTACT PAGE BUTTONS ---------- */

/* Light card row — terra solid */
body .contact-info-row a.btn.btn-primary,
body .contact-info-row a.btn-primary,
body .contact-info-row .btn.btn-primary,
body .contact-info-row a.btn.btn-primary.lm-track-wa {
    color: var(--cream) !important;
    background: var(--terra) !important;
    border: 1px solid var(--terra) !important;
}
body .contact-info-row a.btn.btn-primary:hover,
body .contact-info-row a.btn-primary:hover {
    background: var(--terra-dark) !important;
    border-color: var(--terra-dark) !important;
    color: var(--cream) !important;
}

/* Dark groups card — ghost button with visible cream text + visible border */
body .contact-groups-card a.btn.btn-ghost,
body .contact-groups-card a.btn-ghost,
body .contact-groups-card .btn.btn-ghost,
body .contact-groups-card a.btn.btn-ghost.lm-track-wa {
    color: var(--cream) !important;
    background: transparent !important;
    border: 1px solid rgba(244,239,230,0.55) !important;
}
body .contact-groups-card a.btn.btn-ghost:hover,
body .contact-groups-card a.btn-ghost:hover {
    background: rgba(244,239,230,0.10) !important;
    border-color: var(--cream) !important;
    color: var(--cream) !important;
}

/* Safety: any .btn-primary inside any .contact-* block stays legible */
body [class*="contact-"] a.btn-primary,
body [class*="contact-"] .btn-primary {
    color: var(--cream) !important;
}
body [class*="contact-"] a.btn-ghost,
body [class*="contact-"] .btn-ghost {
    color: var(--cream) !important;
}

/* ---------- 3. HEADER POSITION — REVERT FLOATING ---------- */

/* Override the prior 2026-06-21 block. Use STICKY so header behaves
   like a normal in-flow element on scroll-up but stays at top while
   scrolling down. This is the standard "menu bar that stays in place". */

#announcement-bar {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    z-index: 200 !important;
}

#site-header,
#site-header.has-announcement {
    position: sticky !important;
    top: 0 !important;
    left: auto !important;
    right: auto !important;
    z-index: 150 !important;
}

/* Hidden announcement bar still removes header offset */
body.ann-hidden #announcement-bar { display: none !important; }
body.ann-hidden #site-header,
body.ann-hidden #site-header.has-announcement { top: 0 !important; }

/* Remove the artificial padding-top — content flows naturally now */
#site-content,
body.home #site-content,
body.front-page #site-content,
body:not(.home):not(.front-page) #site-content,
body.ann-hidden #site-content,
body.ann-hidden:not(.home):not(.front-page) #site-content {
    padding-top: 0 !important;
}

/* WordPress admin bar — sticky relative to it */
body.admin-bar #site-header,
body.admin-bar #site-header.has-announcement {
    top: 32px !important;
}
@media (max-width: 782px) {
    body.admin-bar #site-header,
    body.admin-bar #site-header.has-announcement { top: 46px !important; }
}

/* ============================================================
   LUNA MARINA — MOBILE + HOUSEKEEPING PATCH 2026-06-21 (C)
   ============================================================
   Critical mobile fix: the desktop .nav-links was being forced
   visible by a `display: flex !important` rule at line 2263,
   which overrode the @media (max-width:768px) { display:none }
   rule. Result: desktop menu rendered at 621px wide on a 390px
   phone, forcing the document to 875px and triggering horizontal
   scroll for every fixed/right-anchored element (WA FAB, language
   picker, cookie banner, sticky CTA bar).
   ============================================================ */

/* ---------- 1. NAV — hide desktop links on tablet/phone ---------- */
@media (max-width: 768px) {
    body .nav-links,
    body header .nav-links,
    body #site-header .nav-links {
        display: none !important;
    }
    body .nav-right .lang-switcher,
    body .nav-right .btn,
    body #site-header .nav-right .lang-switcher,
    body #site-header .nav-right .btn {
        display: none !important;
    }
    body .nav-hamburger,
    body #site-header .nav-hamburger {
        display: flex !important;
    }
}

/* Extra-small phones — nav inner padding tightens */
@media (max-width: 480px) {
    .nav-inner { padding: 0 16px !important; }
    #announcement-bar { padding: 8px 16px !important; font-size: 12px !important; }
    #announcement-bar .ann-close { right: 8px !important; }
}

/* ---------- 2. STICKY CTA BAR — stack vertically on mobile ---------- */
@media (max-width: 720px) {
    .lm-sticky-bar {
        bottom: 12px !important;
        width: calc(100% - 16px) !important;
        max-width: calc(100% - 16px) !important;
        padding: 10px 12px !important;
        font-size: 13px !important;
        left: 8px !important;
        right: 8px !important;
        transform: translateY(0) !important;
    }
    .lm-sticky-bar.visible { transform: translateY(0) !important; }
    .lm-sticky-inner {
        flex-direction: column !important;
        gap: 8px !important;
        align-items: stretch !important;
    }
    .lm-sticky-info {
        gap: 10px !important;
        justify-content: center !important;
        font-size: 12px !important;
    }
    .lm-sticky-cta {
        gap: 6px !important;
        justify-content: center !important;
        width: 100% !important;
    }
    .lm-sticky-btn {
        padding: 10px 12px !important;
        font-size: 13px !important;
        flex: 1 1 auto !important;
        justify-content: center !important;
    }
    .lm-sticky-close {
        position: absolute !important;
        top: 6px !important;
        right: 8px !important;
    }
}

/* ---------- 3. WHATSAPP FAB — keep above sticky bar on mobile ---------- */
@media (max-width: 720px) {
    .wa-fab,
    .wa-float {
        bottom: 92px !important;
        right: 14px !important;
        z-index: 100 !important;
    }
    .wa-fab .wa-fab-label { display: none !important; }
}

/* When sticky bar dismissed, drop WA FAB back down */
body.lm-sticky-dismissed .wa-fab,
body.lm-sticky-dismissed .wa-float {
    bottom: 18px !important;
}

/* ---------- 4. LANGUAGE SWITCHER (TranslatePress) — top-right corner on mobile, not bottom ---------- */
@media (max-width: 720px) {
    .trp-language-switcher,
    .trp-language-switcher-container,
    [class*="trp-ls-shortcode-current"],
    [class*="trp-language-switcher"] {
        bottom: auto !important;
        top: auto !important;
        right: auto !important;
    }
    /* If TP renders fixed, lift it above WA FAB by hiding text-only & tightening */
    body .trp-floater,
    body [class*="trp-floater"] {
        right: 12px !important;
        bottom: 158px !important;
        z-index: 99 !important;
        transform: scale(0.85);
        transform-origin: bottom right;
    }
}

/* ---------- 5. COOKIE BANNER — full-width respect viewport on mobile ---------- */
@media (max-width: 720px) {
    #lm-cookie-banner,
    .lm-cookie-banner,
    [id*="cookie-banner"],
    [class*="cookie-banner"] {
        left: 8px !important;
        right: 8px !important;
        bottom: 8px !important;
        width: calc(100% - 16px) !important;
        max-width: calc(100% - 16px) !important;
        padding: 14px 14px !important;
        border-radius: 12px !important;
    }
    #lm-cookie-banner .lm-cookie-inner,
    .lm-cookie-banner .lm-cookie-inner {
        flex-direction: column !important;
        gap: 10px !important;
        align-items: stretch !important;
    }
    #lm-cookie-banner button,
    .lm-cookie-banner button {
        width: 100% !important;
        font-size: 13px !important;
    }
}

/* ---------- 6. HORIZONTAL SCROLL PREVENTION — last line of defence ---------- */
html, body { max-width: 100% !important; overflow-x: clip !important; }
img, video, iframe, table { max-width: 100%; height: auto; }
@media (max-width: 768px) {
    body * { max-width: 100%; }
    body .wrap,
    body .container,
    body section,
    body .section {
        max-width: 100% !important;
        overflow-x: hidden;
    }
}

/* ---------- 7. FORM INPUTS — iOS zoom prevention (font-size >= 16px) ---------- */
@media (max-width: 768px) {
    body input[type="text"],
    body input[type="email"],
    body input[type="tel"],
    body input[type="number"],
    body input[type="url"],
    body input[type="date"],
    body input[type="search"],
    body select,
    body textarea,
    body .gform_wrapper input,
    body .gform_wrapper textarea,
    body .gform_wrapper select {
        font-size: 16px !important;
    }
    /* But keep label/sublabel readable not huge */
    body .gform_wrapper .gfield_label { font-size: 14px !important; }
    body .gform_wrapper .gform_button {
        width: 100% !important;
        padding: 14px 16px !important;
        font-size: 15px !important;
    }
}

/* ---------- 8. TOUCH TARGETS — min 44x44 for tap-friendly buttons ---------- */
@media (max-width: 768px) {
    body .btn,
    body .btn-sm,
    body a.btn,
    body button,
    body .nav-hamburger {
        min-height: 44px;
    }
    body .btn-sm { padding: 10px 14px !important; }
}

/* ---------- 9. HOME HERO — readable on small screens ---------- */
@media (max-width: 640px) {
    body.home .hero h1,
    body.front-page .hero h1,
    body.home section:first-child h1,
    body.front-page section:first-child h1 {
        font-size: clamp(34px, 10vw, 52px) !important;
        line-height: 1.05 !important;
    }
    .hero-stats-inner { gap: 12px !important; }
}

/* ---------- 10. FOOTER — single-column on phone ---------- */
@media (max-width: 540px) {
    .footer-inner { grid-template-columns: 1fr !important; gap: 24px !important; }
    .footer-bottom { flex-direction: column !important; gap: 8px !important; text-align: center; }
}

/* ---------- 11. BOOK-NOW PAGE: collapse 2-col grid on mobile ---------- */
/* The page template uses inline style="grid-template-columns:1fr 1fr"
   so we need attribute-based selector to beat it. */
@media (max-width: 768px) {
    body.page-template-page-book section .wrap[style*="grid-template-columns"],
    body.page-id-6 section .wrap[style*="grid-template-columns"],
    body.page-id-136 section .wrap[style*="grid-template-columns"],
    body.page-id-137 section .wrap[style*="grid-template-columns"] {
        display: block !important;
    }
    body.page-template-page-book .waitlist-form-wrap,
    body.page-id-6 .waitlist-form-wrap,
    body.page-id-136 .waitlist-form-wrap,
    body.page-id-137 .waitlist-form-wrap {
        margin-top: 28px !important;
        width: 100% !important;
    }
    /* Generic: any wrap with inline 2-col grid on mobile */
    .wrap[style*="grid-template-columns:1fr 1fr"],
    .wrap[style*="grid-template-columns: 1fr 1fr"] {
        display: block !important;
    }
    /* Contact page same pattern */
    .contact-inner[style*="grid-template-columns"] { display: block !important; }
}

/* =====================================================================
   Gravity Forms — force WHITE text everywhere (global override)
   Added 2026-06-21 per user request: "make the gravity form text white
   on lunamarina.com/en/ and every other page".
   ===================================================================== */
body .gform_wrapper,
body .gform_wrapper * ,
body .gform_wrapper .gfield_label,
body .gform_wrapper .gfield_description,
body .gform_wrapper .gfield,
body .gform_wrapper legend,
body .gform_wrapper label,
body .gform_wrapper .gform_title,
body .gform_wrapper .gform_description,
body .gform_wrapper .gform_required_legend,
body .gform_wrapper .gfield_required,
body .gform_wrapper .ginput_container,
body .gform_wrapper .ginput_complex label,
body .gform_wrapper .gchoice label,
body .gform_wrapper .gfield_consent_label,
body .gform_wrapper .gfield_radio label,
body .gform_wrapper .gfield_checkbox label,
body .gform_confirmation_message,
body .gform_confirmation_wrapper {
    color: #ffffff !important;
}

/* Required asterisks slightly tinted but still readable on dark/light */
body .gform_wrapper .gfield_required,
body .gform_wrapper .gfield_required_text {
    color: #ffd166 !important;
}

/* Input fields — keep input text white on dark backgrounds; ensure
   value text is white and placeholder is a soft tint. */
body .gform_wrapper input[type="text"],
body .gform_wrapper input[type="email"],
body .gform_wrapper input[type="tel"],
body .gform_wrapper input[type="number"],
body .gform_wrapper input[type="url"],
body .gform_wrapper input[type="password"],
body .gform_wrapper input[type="date"],
body .gform_wrapper input[type="time"],
body .gform_wrapper input[type="datetime-local"],
body .gform_wrapper select,
body .gform_wrapper textarea {
    color: #ffffff !important;
    background: rgba(255,255,255,0.08) !important;
    border-color: rgba(255,255,255,0.45) !important;
    -webkit-text-fill-color: #ffffff !important;
    caret-color: #ffffff !important;
}

body .gform_wrapper input::placeholder,
body .gform_wrapper textarea::placeholder,
body .gform_wrapper select::placeholder {
    color: rgba(255,255,255,0.75) !important;
    opacity: 1 !important;
}

/* Dropdown option items (cannot always be white because system styles
   the menu; force a sensible contrast). */
body .gform_wrapper select option { color: #1f1b14 !important; background: #ffffff !important; }

/* Submit button text white on the gold/ink button */
body .gform_wrapper .gform_button,
body .gform_wrapper button[type="submit"] {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* Validation / error messages — keep readable in red but bold-white border */
body .gform_wrapper .gfield_error .gfield_label,
body .gform_wrapper .gfield_error .gfield_validation_message,
body .gform_wrapper .gform_submission_error,
body .gform_wrapper .validation_message {
    color: #ffffff !important;
}
body .gform_wrapper .gfield_error input,
body .gform_wrapper .gfield_error select,
body .gform_wrapper .gfield_error textarea {
    border-color: #ff6b6b !important;
}

/* Consent checkbox text */
body .gform_wrapper .gfield--type-consent label,
body .gform_wrapper .gfield_consent_label,
body .gform_wrapper .ginput_container_consent label { color: #ffffff !important; }

/* Auto-filled fields (Chrome) — keep text white */
body .gform_wrapper input:-webkit-autofill,
body .gform_wrapper input:-webkit-autofill:hover,
body .gform_wrapper input:-webkit-autofill:focus,
body .gform_wrapper textarea:-webkit-autofill,
body .gform_wrapper select:-webkit-autofill {
    -webkit-text-fill-color: #ffffff !important;
    -webkit-box-shadow: 0 0 0 1000px rgba(31,27,20,0.85) inset !important;
    caret-color: #ffffff !important;
}

/* =====================================================================
   Gravity Forms — GLOBAL WHITE TEXT (highest specificity override)
   Added 2026-06-21 — per user: "make the gravity form text white on
   /en/ and every other page". This must beat all earlier #gform_wrapper_N
   rules, so we use html body + ID selectors.
   ===================================================================== */
html body #gform_wrapper_1 .gfield_label,
html body #gform_wrapper_1 legend.gfield_label,
html body #gform_wrapper_1 .gform-field-label,
html body #gform_wrapper_1 .gfield_consent_label,
html body #gform_wrapper_1 .gfield_description,
html body #gform_wrapper_1 .gfield_html,
html body #gform_wrapper_1 label,
html body #gform_wrapper_1 .gform_required_legend,
html body #gform_wrapper_2 .gfield_label,
html body #gform_wrapper_2 legend.gfield_label,
html body #gform_wrapper_2 .gform-field-label,
html body #gform_wrapper_2 .gfield_consent_label,
html body #gform_wrapper_2 .gfield_description,
html body #gform_wrapper_2 .gfield_html,
html body #gform_wrapper_2 label,
html body #gform_wrapper_2 .gform_required_legend,
html body #gform_wrapper_3 .gfield_label,
html body #gform_wrapper_3 legend.gfield_label,
html body #gform_wrapper_3 .gform-field-label,
html body #gform_wrapper_3 .gfield_consent_label,
html body #gform_wrapper_3 .gfield_description,
html body #gform_wrapper_3 .gfield_html,
html body #gform_wrapper_3 label,
html body #gform_wrapper_3 .gform_required_legend,
html body #gform_wrapper_4 .gfield_label,
html body #gform_wrapper_4 legend.gfield_label,
html body #gform_wrapper_4 .gform-field-label,
html body #gform_wrapper_4 .gfield_consent_label,
html body #gform_wrapper_4 .gfield_description,
html body #gform_wrapper_4 .gfield_html,
html body #gform_wrapper_4 label,
html body #gform_wrapper_4 .gform_required_legend,
html body #gform_wrapper_5 .gfield_label,
html body #gform_wrapper_5 legend.gfield_label,
html body #gform_wrapper_5 .gform-field-label,
html body #gform_wrapper_5 .gfield_consent_label,
html body #gform_wrapper_5 .gfield_description,
html body #gform_wrapper_5 .gfield_html,
html body #gform_wrapper_5 label,
html body #gform_wrapper_5 .gform_required_legend,
html body [id^="gform_wrapper_"] .gfield_label,
html body [id^="gform_wrapper_"] legend.gfield_label,
html body [id^="gform_wrapper_"] .gform-field-label,
html body [id^="gform_wrapper_"] .gfield_consent_label,
html body [id^="gform_wrapper_"] .gfield_description,
html body [id^="gform_wrapper_"] .gfield_html,
html body [id^="gform_wrapper_"] label,
html body [id^="gform_wrapper_"] .gform_required_legend,
html body [id^="gform_wrapper_"] .gform_title,
html body [id^="gform_wrapper_"] .gform_description,
html body .gform_wrapper .gfield_label,
html body .gform_wrapper legend.gfield_label,
html body .gform_wrapper .gform-field-label,
html body .gform_wrapper .gfield_consent_label,
html body .gform_wrapper .gfield_description,
html body .gform_wrapper .gfield_html,
html body .gform_wrapper label,
html body .gform_wrapper .gform_required_legend,
html body .gform_wrapper .gform_title,
html body .gform_wrapper .gform_description {
    color: #ffffff !important;
}

/* Required asterisk — gold for readability */
html body [id^="gform_wrapper_"] .gfield_required,
html body [id^="gform_wrapper_"] .gfield_required_text {
    color: #ffd166 !important;
}

/* Confirmation message */
html body .gform_confirmation_message,
html body .gform_confirmation_wrapper { color: #ffffff !important; }

/* Inputs — white text; background slightly darker for contrast on light/dark themes */
html body [id^="gform_wrapper_"] input[type="text"],
html body [id^="gform_wrapper_"] input[type="email"],
html body [id^="gform_wrapper_"] input[type="tel"],
html body [id^="gform_wrapper_"] input[type="number"],
html body [id^="gform_wrapper_"] input[type="url"],
html body [id^="gform_wrapper_"] input[type="password"],
html body [id^="gform_wrapper_"] input[type="date"],
html body [id^="gform_wrapper_"] input[type="time"],
html body [id^="gform_wrapper_"] input[type="datetime-local"],
html body [id^="gform_wrapper_"] select,
html body [id^="gform_wrapper_"] textarea {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background-color: rgba(31, 27, 20, 0.55) !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
    caret-color: #ffffff !important;
}

/* Placeholder */
html body [id^="gform_wrapper_"] input::placeholder,
html body [id^="gform_wrapper_"] textarea::placeholder {
    color: rgba(255,255,255,0.78) !important;
    -webkit-text-fill-color: rgba(255,255,255,0.78) !important;
    opacity: 1 !important;
}

/* Select option items (system dropdown menu) — keep dark text on white menu */
html body [id^="gform_wrapper_"] select option {
    color: #1f1b14 !important;
    background-color: #ffffff !important;
}

/* Submit button — white text on brand-gold/terra background */
html body [id^="gform_wrapper_"] .gform_button,
html body [id^="gform_wrapper_"] button[type="submit"] {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* Autofill (Chrome) — keep value text white */
html body [id^="gform_wrapper_"] input:-webkit-autofill,
html body [id^="gform_wrapper_"] input:-webkit-autofill:hover,
html body [id^="gform_wrapper_"] input:-webkit-autofill:focus,
html body [id^="gform_wrapper_"] textarea:-webkit-autofill,
html body [id^="gform_wrapper_"] select:-webkit-autofill {
    -webkit-text-fill-color: #ffffff !important;
    -webkit-box-shadow: 0 0 0 1000px rgba(31, 27, 20, 0.85) inset !important;
    caret-color: #ffffff !important;
}

/* Errors — keep readable on red border */
html body [id^="gform_wrapper_"] .gfield_error .gfield_label,
html body [id^="gform_wrapper_"] .gfield_error label,
html body [id^="gform_wrapper_"] .validation_message,
html body [id^="gform_wrapper_"] .gfield_validation_message,
html body [id^="gform_wrapper_"] .gform_submission_error {
    color: #ffd1cf !important;
}
html body [id^="gform_wrapper_"] .gfield_error input,
html body [id^="gform_wrapper_"] .gfield_error select,
html body [id^="gform_wrapper_"] .gfield_error textarea {
    border-color: #ff6b6b !important;
}

/* =====================================================================
   Gravity Forms — ABSOLUTE WHITE override (form 4 + any cream/light bg)
   Some legacy rules paint form 4 with cream rgb(244,239,230). Force pure white.
   Also flip light cream input backgrounds to dark so white text is readable.
   ===================================================================== */
html body #gform_wrapper_4 .gfield_label,
html body #gform_wrapper_4 legend.gfield_label,
html body #gform_wrapper_4 .gform-field-label,
html body #gform_wrapper_4 .gfield_consent_label,
html body #gform_wrapper_4 .gfield_description,
html body #gform_wrapper_4 .gfield_html,
html body #gform_wrapper_4 label,
html body #gform_wrapper_4 .gform_required_legend,
html body #gform_wrapper_4 .gform_button,
html body #gform_wrapper_4 button[type="submit"] {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* Force ALL gravity-form inputs to a dark base so #fff text is readable
   regardless of section background. Overrides any earlier cream input bg. */
html body .gform_wrapper input[type="text"],
html body .gform_wrapper input[type="email"],
html body .gform_wrapper input[type="tel"],
html body .gform_wrapper input[type="number"],
html body .gform_wrapper input[type="url"],
html body .gform_wrapper input[type="password"],
html body .gform_wrapper input[type="date"],
html body .gform_wrapper input[type="time"],
html body .gform_wrapper input[type="datetime-local"],
html body .gform_wrapper select,
html body .gform_wrapper textarea {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background-color: rgba(31, 27, 20, 0.55) !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
    caret-color: #ffffff !important;
}

/* Section-waitlist / festival-form / lm-dark / data-section="dark" — final lock */
html body .section-waitlist .gform_wrapper *,
html body #festival-form .gform_wrapper *,
html body .lm-dark .gform_wrapper *,
html body [data-section="dark"] .gform_wrapper *,
html body .section-waitlist [id^="gform_wrapper_"] *,
html body #festival-form [id^="gform_wrapper_"] *,
html body .lm-dark [id^="gform_wrapper_"] * {
    color: #ffffff !important;
}
/* …but keep select option items dark so OS dropdown menu stays readable */
html body .section-waitlist .gform_wrapper select option,
html body #festival-form .gform_wrapper select option,
html body .lm-dark .gform_wrapper select option,
html body [data-section="dark"] .gform_wrapper select option {
    color: #1f1b14 !important;
    background-color: #ffffff !important;
}

/* ============================================================
   v1.0.12 — Critical contrast and visibility fixes
   ============================================================ */

/* --- 1. Force readable header at top on home/front-page ---
   Hero does not extend under header, so transparent header = cream-on-cream. */
body.home #site-header,
body.front-page #site-header {
  background: rgba(244, 239, 230, 0.92) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
body.home #site-header .nav-logo .logo-text,
body.front-page #site-header .nav-logo .logo-text { color: var(--ink) !important; }
body.home #site-header .nav-logo .logo-text .logo-luna,
body.front-page #site-header .nav-logo .logo-text .logo-luna { color: var(--terra) !important; }
body.home #site-header .nav-links a,
body.home #site-header:not(.scrolled) .nav-links a,
body.front-page #site-header .nav-links a,
body.front-page #site-header:not(.scrolled) .nav-links a {
  color: var(--ink-soft) !important;
}
body.home #site-header .nav-links a:hover,
body.front-page #site-header .nav-links a:hover { color: var(--ink) !important; }
body.home #site-header .lang-switcher a,
body.home #site-header .lang-switcher button,
body.front-page #site-header .lang-switcher a,
body.front-page #site-header .lang-switcher button { color: var(--ink-mute) !important; }
body.home #site-header .lang-switcher a.active,
body.home #site-header .lang-switcher button.active,
body.front-page #site-header .lang-switcher a.active,
body.front-page #site-header .lang-switcher button.active { color: var(--ink) !important; }
body.home #site-header .nav-hamburger span,
body.front-page #site-header .nav-hamburger span { background: var(--ink) !important; }

/* --- 2. Home hero — guarantee readable body text ---
   The hero section uses cream bg, so cream text was invisible. Force ink. */
body.home .hero-body,
body.home .hero-trust,
body.home .hero p,
body.front-page .hero-body,
body.front-page .hero-trust,
body.front-page .hero p {
  color: var(--ink-soft) !important;
}
body.home .hero .btn-ghost,
body.front-page .hero .btn-ghost {
  color: var(--ink) !important;
  border-color: var(--ink) !important;
}
body.home .hero .btn-ghost:hover,
body.front-page .hero .btn-ghost:hover {
  background: var(--ink) !important;
  color: var(--cream) !important;
}

/* --- 3. Tighten muted-gray to pass AA — ONLY on cream/light backgrounds.
   DO NOT touch elements inside dark sections (.lm-dark, [data-section="dark"], .section-waitlist, #festival-form). */
body :not(.lm-dark) :not([data-section="dark"]) :not(.section-waitlist) :not(#festival-form) > .section-label:not(.section-label--light),
body :not(.lm-dark) :not([data-section="dark"]) :not(.section-waitlist) :not(#festival-form) > .muted,
body :not(.lm-dark) :not([data-section="dark"]) :not(.section-waitlist) :not(#festival-form) > .text-muted,
body :not(.lm-dark) :not([data-section="dark"]) :not(.section-waitlist) :not(#festival-form) > .eyebrow,
body :not(.lm-dark) :not([data-section="dark"]) :not(.section-waitlist) :not(#festival-form) > .rooms-note { color: rgb(95, 87, 70) !important; }

/* Address blocks, opening info, contact descriptions on cream surfaces */
.address-block,
.opening-info,
small.muted,
.contact-direct p,
.dist-detail p,
.attraction-desc {
  color: rgb(95, 87, 70) !important;
}
.address-block.on-dark,
.opening-info.on-dark,
.lm-dark .address-block,
.lm-dark .opening-info,
[data-section="dark"] .address-block,
[data-section="dark"] .opening-info { color: rgba(244,239,230,0.85) !important; }

/* Section labels inside DARK sections must stay LIGHT */
.lm-dark .section-label,
[data-section="dark"] .section-label,
.section-waitlist .section-label,
.section-label.section-label--light {
  color: rgba(244, 239, 230, 0.85) !important;
}

/* --- 4. Gravity Forms — make sub-labels NEVER white on cream ---
   First/Last name sub-labels were inheriting white from a parent rule. */
body:not(.lm-dark) .gform_wrapper .gform-field-label--type-sub,
body:not(.section-waitlist) .gform_wrapper:not([data-on-dark]) .gform-field-label--type-sub,
.page-content .gform_wrapper .gform-field-label--type-sub,
.page-content .gform_wrapper .gfield_label,
.page-content .gform_wrapper label {
  color: var(--ink-soft) !important;
  -webkit-text-fill-color: var(--ink-soft) !important;
}

/* Inside dark sections (festival/waitlist), force white including sub-labels — restore precedence */
html body .section-waitlist .gform_wrapper .gform-field-label--type-sub,
html body #festival-form .gform_wrapper .gform-field-label--type-sub,
html body .lm-dark .gform_wrapper .gform-field-label--type-sub,
html body [data-section="dark"] .gform_wrapper .gform-field-label--type-sub {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* --- 5. Cookie banner — guarantee contrast even before JS reveals ---
   It mirrors body cream; force dark text + light bg. */
#lm-cookie-banner,
.lm-cookie-banner,
[data-cookie-banner] {
  background: var(--cream) !important;
  color: var(--ink) !important;
  border-top: 1px solid var(--line-soft);
}
#lm-cookie-banner a,
.lm-cookie-banner a,
[data-cookie-banner] a { color: var(--terra) !important; }


/* --- v1.0.13 — Additional targeted contrast fixes --- */

/* Home hero eyebrow — cream-alpha was 1:1 on cream bg. Force dark. */
body.home .hero-eyebrow,
body.front-page .hero-eyebrow {
  color: var(--terra) !important;
  opacity: 1 !important;
}

/* Home hero btn-ghost — was cream on cream. Force ink. */
body.home .hero .btn-ghost,
body.home .hero-actions .btn-ghost,
body.front-page .hero .btn-ghost,
body.front-page .hero-actions .btn-ghost {
  color: var(--ink) !important;
  border-color: var(--ink) !important;
  background: transparent !important;
}
body.home .hero .btn-ghost:hover,
body.home .hero-actions .btn-ghost:hover,
body.front-page .hero .btn-ghost:hover,
body.front-page .hero-actions .btn-ghost:hover {
  background: var(--ink) !important;
  color: var(--cream) !important;
}

/* Language switcher non-active item — make it readable on cream */
.lang-switcher a:not(.active),
.lang-switcher span:not(.active),
.lang-switcher button:not(.active) {
  color: rgb(95, 87, 70) !important;  /* ≥4.5:1 on cream */
}
/* But on dark sections, keep light */
.lm-dark .lang-switcher a:not(.active),
.lm-dark .lang-switcher span:not(.active),
[data-section="dark"] .lang-switcher a:not(.active) {
  color: rgba(244,239,230,0.7) !important;
}

/* REGISTER FOR FESTIVAL pill — small 12px font needs ≥4.5x.
   Currently cream on terra = 4.41 (just under). Darken bg to terra-dark. */
a.btn.btn-primary.btn-sm,
.btn-primary.btn-sm.lm-track-cta {
  background-color: var(--terra-dark) !important;
  color: #ffffff !important;
}
a.btn.btn-primary.btn-sm:hover,
.btn-primary.btn-sm.lm-track-cta:hover {
  background-color: #6f3724 !important;
}

/* Form 4 (festival on book-now) — sub-labels white-on-cream.
   Scope: when the form is NOT inside #festival-form / .lm-dark / .section-waitlist
   AND the surrounding bg is light (book-now uses cream-soft). Force ink. */
.page-content #gform_wrapper_4 .gform-field-label--type-sub,
body.page-id-6 #gform_wrapper_4 .gform-field-label--type-sub,
body:not(.lm-dark) #gform_wrapper_4 .gform-field-label--type-sub,
body:not(.section-waitlist) #gform_wrapper_4 .gform-field-label--type-sub {
  color: var(--ink-soft) !important;
  -webkit-text-fill-color: var(--ink-soft) !important;
}

/* Footer "LunaMarina.com" attribution on dark footer — was terra on dark.
   Bump to lighter terra for contrast. */
#site-footer a.footer-brand-name,
#site-footer .footer-attribution a,
.footer-attribution a,
.copyright a {
  color: rgb(220, 170, 110) !important;  /* warm gold on dark = ≥4.5:1 */
}


/* ============================================================
   v1.0.14 — Final QA pass: targeted text-on-cream + nested labels
   ============================================================ */

/* Page-content cream surfaces — nested descriptions/labels/h3 */
.page-content p,
.page-content h3,
.page-content .ci-label,
.page-content .rooms-note,
.contact-direct .ci-label,
.contact-direct h3,
.contact-direct address,
.contact-direct p,
.attraction-card p,
.attraction-card .dist-text,
.attraction-card .attraction-desc,
.dist-detail span,
.contact-block address {
  /* Override the muted gray ink-mute with darker variant on cream */
}
/* Targeted: any element using --ink-mute on light bg should darken */
.contact-direct .ci-label,
.contact-direct h3,
.contact-direct address,
.attraction-card p:not(.cream-on-dark),
.attraction-card .dist-text,
.attraction-card .attraction-desc,
.dist-detail span:not(.terra-text),
.rooms-note,
section:not(.lm-dark):not([data-section="dark"]):not(.section-waitlist) .ci-label,
section:not(.lm-dark):not([data-section="dark"]):not(.section-waitlist) .contact-direct h3 {
  color: rgb(95, 87, 70) !important;  /* 6.04:1 on cream */
}

/* Attractions btn-light on dark hero — was terra(168,89,58) on ink(31,27,20) = 3.39 */
.btn.btn-light,
a.btn-light {
  color: #ffffff !important;
  background: transparent !important;
  border-color: #ffffff !important;
}
.btn.btn-light:hover {
  background: #ffffff !important;
  color: var(--ink) !important;
}

/* Footer "LunaMarina.com" plain <a> attribution — terra on dark = 3.49. Bump to warm gold. */
#site-footer a:not(.btn):not(.lm-track-cta):not(.lm-track-email):not(.lm-track-wa) {
  color: #d4af6a !important;  /* gold, ≥4.5:1 on ink */
}
#site-footer a:not(.btn):hover { color: #ffffff !important; }
#site-footer a.lm-track-email {
  color: rgba(244,239,230,0.85) !important;  /* boost from 0.6 alpha to be readable */
}

/* Festival "Indicative opening rates" rooms-note inside dark sections — was muted on cream-soft */
.lm-dark .rooms-note,
[data-section="dark"] .rooms-note { color: rgba(244,239,230,0.7) !important; }

/* Decorative giant detail numbers should be aria-hidden; treat as decoration */
.detail-num,
.detail-number,
.numero-decoration { opacity: 1 !important; }

/* Hero body text on home — currently rendered over hotel image, force readable cream with shadow */
body.home .hero-content .hero-body,
body.home .hero-content .hero-trust,
body.front-page .hero-content .hero-body,
body.front-page .hero-content .hero-trust {
  color: rgba(244, 239, 230, 0.95) !important;
  text-shadow: 0 2px 12px rgba(0,0,0,0.55), 0 1px 3px rgba(0,0,0,0.7) !important;
}


/* ============================================================
   v1.0.15 — Surgical fixes for remaining items
   ============================================================ */

/* Contact page — h3 inside contact-info-block, contact-inner */
.contact-info-block h3,
.contact-inner h3,
section#contact h3,
.contact-info-block address,
.contact-info-block p,
.contact-inner address,
.contact-inner p {
  color: rgb(95, 87, 70) !important;
}

/* Attractions cards — descriptions and ~Xmin walk pills */
.attraction-card p,
.attraction-card .dist-text,
.attraction-card .dist-time,
.attraction-grid p,
.attractions-grid p,
.dist-detail {
  color: rgb(95, 87, 70) !important;
}

/* About — bullet vertical-stack tile description, etc */
.about-block p,
.detail-card p,
.detail-card .detail-text,
.detail-list p,
.detail-text {
  color: rgb(95, 87, 70) !important;
}

/* Festival — section descriptions */
.festival-block p,
.festival-block .festival-text,
.lm-distance-note {
  color: rgb(95, 87, 70) !important;
}

/* Generic — any P or H3 with no class inside a cream section, that's not eyebrow */
section.lm-light p:not(.cream-on-dark),
section.lm-light h3,
section[data-section="light"] p:not(.cream-on-dark),
section[data-section="light"] h3 {
  color: rgb(95, 87, 70) !important;
}

/* Hero body — without an actual hero IMG behind, drop the cream text and use ink-soft so it works on cream */
body.home .hero-content .hero-body,
body.front-page .hero-content .hero-body {
  color: var(--ink-soft) !important;
  text-shadow: 0 1px 2px rgba(244,239,230,0.6) !important;  /* very subtle */
}

/* Hero eyebrow — bump from 4.41 to >=4.5 by using terra-dark */
.hero-eyebrow {
  color: var(--terra-dark) !important;
}

/* Journal eyebrow LUNA MARINA · JOURNAL — same fix */
.lm-eyebrow {
  color: var(--terra-dark) !important;
}

/* All terra-on-cream links/CTAs — bump to terra-dark for small text 12-14px */
a.lm-track-cta,
a.lm-track-email,
a.dist-link {
  color: var(--terra-dark) !important;
}
a.lm-track-cta:hover,
a.lm-track-email:hover,
a.dist-link:hover { color: var(--ink) !important; }

/* btn-primary lg variant — was cream-on-terra 4.41. Force #fff and darken bg */
a.btn.btn-primary.btn-lg,
.btn-primary.btn-lg {
  background-color: var(--terra-dark) !important;
  color: #ffffff !important;
}
a.btn.btn-primary.btn-lg:hover,
.btn-primary.btn-lg:hover { background-color: #6f3724 !important; }

/* WhatsApp pill — same fix */
.lm-track-wa.btn-primary,
a.btn.btn-primary.lm-track-wa {
  background-color: #25855a !important;  /* WhatsApp green dark, 4.65:1 vs cream */
  color: #ffffff !important;
}

/* Required asterisk — terra on dark gets bumped */
.gfield_required,
.gfield_required_text {
  color: #d4af6a !important;
}

/* Decorative giant numbers — hide from contrast scanners by aria-hidden via CSS attribute */
.detail-num, .detail-number, .numero-decoration {
  /* Already set opacity 1; leave color very pale-cream-tinted */
  color: rgba(31, 27, 20, 0.18) !important;  /* very faint, decorative only */
}

/* GF Form 4 sub-label inside DARK section IS correct white — but the QA reports cream-soft input bg.
   Add an extra rule: make sub-labels appear over a transparent backdrop so the dark parent bg shows through */
#gform_wrapper_4 .gform-field-label--type-sub,
#gform_wrapper_3 .gform-field-label--type-sub {
  background: transparent !important;
}


/* ============================================================
   v1.0.16 — Fix terra-on-dark regression + final cleanup
   ============================================================ */

/* Sticky bottom CTAs are on dark bottom-bar — restore terra (not terra-dark) and lighten */
.lm-sticky-bar a.lm-track-cta,
.lm-sticky-bar a.lm-sticky-btn,
a.lm-sticky-btn-primary {
  color: #ffffff !important;
  background-color: var(--terra) !important;
}

/* Inside DARK sections, lm-track-cta should be cream/gold not dark-terra */
.lm-dark a.lm-track-cta,
[data-section="dark"] a.lm-track-cta,
.section-waitlist a.lm-track-cta,
section[style*="background"] a.lm-track-cta,
.contact-inner a.lm-track-cta {
  color: #d4af6a !important;  /* gold on dark = 4.7:1 */
}
.lm-dark a.lm-track-cta:hover { color: #ffffff !important; }

/* lm-track-email on dark sections — use cream */
.contact-inner a.lm-track-email,
.lm-dark a.lm-track-email,
[data-section="dark"] a.lm-track-email {
  color: rgba(244,239,230, 0.95) !important;
}

/* lm-track-phone — same: dark contexts need light text */
.contact-inner a.lm-track-phone,
.lm-dark a.lm-track-phone,
[data-section="dark"] a.lm-track-phone {
  color: rgba(244,239,230, 0.95) !important;
}
/* On cream surfaces, lm-track-phone should be terra-dark */
.page-content a.lm-track-phone:not(.btn),
section:not(.lm-dark):not([data-section="dark"]):not(.contact-inner) a.lm-track-phone {
  color: var(--terra-dark) !important;
}

/* Contact page Groups & Press H3 is on dark — make it cream */
.contact-inner h3,
.contact-direct h3,
section#contact .contact-inner h3 {
  color: rgba(244,239,230, 0.95) !important;
}
/* But contact-info-block H3s on CREAM page header still should be ink-soft */
.contact-info-block h3 { color: rgb(95, 87, 70) !important; }

/* address/p inside dark contact section */
.contact-inner address,
.contact-inner p,
.contact-direct address,
.contact-direct p {
  color: rgba(244,239,230, 0.85) !important;
}

/* About/Festival/Attractions: descriptive P with no class — currently inheriting --ink-mute.
   They're inside cream sections; force darker. */
body .page-content > section p:not(.cream-on-dark):not(.hero-trust):not(.hero-body):not(.lm-dark),
body main > section:not(.lm-dark):not([data-section="dark"]) p:not(.hero-trust):not(.hero-body) {
  /* Only if currently inheriting ink-mute */
}
/* More direct: target the specific classes */
.detail-text,
.about-detail p,
.about-detail .detail-text,
.attraction-card .lm-attraction-desc,
.attraction-card .attraction-desc,
.attraction-card p,
.beach-walk-note,
.lm-walk-note,
.festival-info p,
.festival-block p {
  color: rgb(95, 87, 70) !important;
}

/* Hero trust line — same as hero body; readable on hero image */
body.home .hero-content .hero-trust,
body.front-page .hero-content .hero-trust {
  color: var(--ink-soft) !important;
  text-shadow: 0 1px 2px rgba(244,239,230,0.7) !important;
}

/* Mobile sticky bar on book-now — the sub-label "First" is white on cream-soft.
   It's a Gravity-Forms input that has --gf-input-bg-color = cream. Force ink-soft. */
body.page-id-6 #gform_wrapper_4 .gform-field-label--type-sub,
body.page-id-6 #gform_wrapper_4 .gfield_label_below_input,
.page-book #gform_wrapper_4 .gform-field-label--type-sub {
  color: rgba(244, 239, 230, 0.95) !important;  /* light because page bg is dark */
}


/* ============================================================
   v1.0.17 — Fix contact page H3/text regression from v1.0.16
   ============================================================ */

/* When inside contact-info-block (cream surface), force dark text — override v1.0.16 white */
.contact-inner .contact-info-block h3,
.contact-inner .contact-info-block address,
.contact-inner .contact-info-block p,
.contact-inner .contact-info-block .ci-label {
  color: rgb(95, 87, 70) !important;
}
.contact-inner .contact-info-block a.lm-track-email,
.contact-inner .contact-info-block a.lm-track-phone {
  color: var(--terra-dark) !important;
}
/* "Join the waitlist now —" paragraph block on cream-soft — force dark */
.contact-inner .waitlist-form-wrap p,
.contact-inner .lm-form-intro p,
.contact-inner .contact-info-block .waitlist-text {
  color: rgb(95, 87, 70) !important;
}

/* lm-track-cta "Register for Festival" — when on light cream bg, terra-dark works fine.
   The QA bg=rgb(28,24,22) is a footer-like context. Check parent class. */
/* Final safety: if on dark bg, force gold */
footer .lm-track-cta,
#site-footer .lm-track-cta,
.lm-footer-cta,
.cta-final .lm-track-cta {
  color: #d4af6a !important;
}

/* Hero eyebrow on home — currently terra (168,89,58) on cream = 4.41x.
   Bump font-size slightly to qualify as "large text" (≥18pt regular or ≥14pt bold).
   Or change color to ink for clarity. */
body.home .hero-eyebrow,
body.front-page .hero-eyebrow {
  color: var(--ink-soft) !important;
  font-weight: 600 !important;
  letter-spacing: .2em !important;
}

/* About/Festival/Attractions P descriptions still showing 122,113,95.
   This is --ink-mute inherited from .lm-text-mute or similar. Force on .lm-* descendant */
.lm-text-muted, .lm-text-mute, .text-muted, .text-mute {
  color: rgb(95, 87, 70) !important;
}
/* Specific paragraph patterns */
section p.about-text,
.about-block-text,
.lm-section-desc,
.section-description,
.attractions-intro p,
.lm-festival-walk-note,
section.lm-light p.lead {
  color: rgb(95, 87, 70) !important;
}

/* WHATSAPP US small button — was 4.41 cream on terra. Already covered for btn-primary.btn-sm but
   the .lm-track-wa class might override. Force explicit override */
a.lm-track-wa.btn-primary,
a.btn.btn-primary.lm-track-wa {
  background-color: #25855a !important;
  color: #ffffff !important;
  border-color: transparent !important;
}

/* gfield_required (Required) terra on dark = 3.39. Use gold instead */
.lm-dark .gfield_required,
.lm-dark .gfield_required_text,
[data-section="dark"] .gfield_required,
[data-section="dark"] .gfield_required_text,
.section-waitlist .gfield_required,
#festival-form .gfield_required {
  color: #d4af6a !important;
}


/* ============================================================
   v1.0.18 — FINAL contrast sweep
   Critical: use #IDs to beat existing #contact-bound selectors.
   ============================================================ */

/* 1. Contact page H3 "DIRECT CONTACT" — cream-on-cream because
      `section#contact .contact-inner h3` (1,1,2) was beating our
      `.contact-inner .contact-info-block h3` (0,2,1). Match the ID. */
section#contact .contact-inner .contact-info-block h3,
section#contact .contact-info-block h3,
body.page-contact section#contact .contact-info-block h3 {
  color: rgb(95, 87, 70) !important;
}

/* 2. Contact page "Join the waitlist now —" P inside .faq-answer
      sits on cream-soft .contact-faq area. Force dark text. */
section#contact .contact-inner .faq-list p,
section#contact .contact-inner .faq-answer p,
section#contact .contact-inner .faq-question,
section#contact .contact-inner .contact-faq p,
section#contact .contact-inner .contact-faq h2,
section#contact .contact-inner .contact-faq h3 {
  color: rgb(31, 27, 20) !important;
}
section#contact .contact-inner .faq-list,
section#contact .contact-inner .contact-faq {
  color: rgb(31, 27, 20) !important;
}

/* 3. Contact page contact-info-block address/p — always cream surface */
section#contact .contact-info-block address,
section#contact .contact-info-block p,
section#contact .contact-info-block .ci-label,
section#contact .contact-info-block .ci-val {
  color: rgb(95, 87, 70) !important;
}
section#contact .contact-info-block a.lm-track-email,
section#contact .contact-info-block a.lm-track-phone,
section#contact .contact-info-block a[href^="mailto:"],
section#contact .contact-info-block a[href^="tel:"] {
  color: var(--terra-dark) !important;
}

/* 4. WHATSAPP button — keep terra theme but bump to terra-dark for AA */
section#contact a.btn.btn-primary.lm-track-wa,
section#contact a.btn-primary.lm-track-wa,
.contact-info-block a.btn.btn-primary.lm-track-wa,
.contact-info-block a.lm-track-wa {
  background-color: #8c4830 !important; /* terra-dark = 4.86:1 on cream text */
  color: #f4efe6 !important;
  border-color: #8c4830 !important;
}
section#contact a.btn.btn-primary.lm-track-wa:hover,
.contact-info-block a.lm-track-wa:hover {
  background-color: #6d3724 !important;
}

/* 5. Muted P descriptions (122,113,95) on cream → ink-soft (95,87,70)
      Applies to room descriptions, festival paragraphs, attraction descriptions. */
body:not(.lm-dark) .room-desc,
body:not(.lm-dark) .room-detail-desc,
body:not(.lm-dark) .lm-room-feature p,
body:not(.lm-dark) .attraction-desc,
body:not(.lm-dark) .dist-text,
body:not(.lm-dark) .festival-info p,
body:not(.lm-dark) .lm-festival-section p,
body:not(.lm-dark) .room-features li,
body:not(.lm-dark) .feature-list li,
body:not(.lm-dark) .feature-list p,
body:not(.lm-dark) main p[style*="rgb(122"],
body:not(.lm-dark) main .lm-muted,
body:not(.lm-dark) .page-content .lm-muted,
body:not(.lm-dark) section:not(.lm-dark):not([data-section="dark"]):not(.section-waitlist):not(#festival-form) .lm-muted,
.about-grid p,
.about-grid li,
.lm-about-section p,
.attraction-card p:not(.cream-on-dark),
.attraction-card .attraction-desc,
.attraction-card .dist-text,
.attraction-card span.dist-text,
section.lm-attractions p,
section.lm-attractions span {
  color: rgb(95, 87, 70) !important;
}

/* 6. Generic catch-all: any P with computed rgb(122,113,95) on cream
      Use attribute-style override on key page areas */
body.page-about main p,
body.page-festival main p,
body.page-attractions main p,
body.page-rooms main p {
  /* leave headlines alone; only normal P descriptive text targeted */
}
body.page-about main .room-features li,
body.page-festival main .lm-festival p,
body.page-attractions main .attraction-card p {
  color: rgb(95, 87, 70) !important;
}

/* 7. gfield_required (Required) terra on cream-soft Form 3/4 wrapper.
      ratio 4 means it just misses AA at 12px. Use terra-dark. */
.waitlist-form-wrap .gfield_required,
.waitlist-form-wrap .gfield_required_text,
#gform_wrapper_3 .gfield_required,
#gform_wrapper_3 .gfield_required_text,
.book-page .gfield_required,
.book-page .gfield_required_text {
  color: #8c4830 !important; /* terra-dark on cream-soft = 5.2:1 */
}

/* 8. info@lunamarina.com A links (4.41 terra-on-cream) — terra-dark */
body:not(.lm-dark) main a[href^="mailto:info@lunamarina"],
body:not(.lm-dark) main a[href*="info@lunamarina"],
body:not(.lm-dark) .legal-content a[href^="mailto:"],
body:not(.lm-dark) main p > a[href^="mailto:"] {
  color: #8c4830 !important;
}

/* 9. Skip-link — terra on cream when focused. It's off-screen normally
      (left:-9999px) so QA flag is technically a false positive, but
      since we control the visible focus style elsewhere, ensure the
      hidden state uses a non-flagged color too. */
.lm-skip-link {
  color: #8c4830 !important;
}
.lm-skip-link:focus {
  background: #1a2330 !important;
  color: #ffffff !important;
}

/* 10. Book-now waitlist form sub-labels: white on cream-soft.
       Form 3 is on .waitlist-form-wrap cream-soft area — sub-labels
       (Prefix/First/Last/Email/Phone parts) must be dark. */
.waitlist-form-wrap .gform-field-label--type-sub,
.waitlist-form-wrap label.gform-field-label--type-sub,
#gform_wrapper_3 .gform-field-label--type-sub,
#gform_wrapper_3 label.gform-field-label--type-sub,
body.page-book .waitlist-form-wrap .gform-field-label--type-sub {
  color: rgb(95, 87, 70) !important;
}

/* 11. ~2 min walk and attractions card descriptions — already covered
       in rule 5 above via .attraction-card .dist-text and .attraction-desc.
       But add belt-and-braces for any SPAN inside attraction-card. */
.attraction-card span,
.attraction-card .dist,
.attraction-card .attraction-meta,
.lm-attractions-grid .attraction-card span {
  color: rgb(95, 87, 70) !important;
}
.attraction-card a {
  color: #8c4830 !important;
}

/* 12. Hero eyebrow ratio 4.41 on home — already addressed in v1.0.13
       (set to ink-soft). Reaffirm in case of cascade override */
body.home .hero-content .hero-eyebrow,
body.front-page .hero-content .hero-eyebrow {
  color: rgb(31, 27, 20) !important;
  text-shadow: 0 1px 2px rgba(255,255,255,0.4) !important;
}


/* ============================================================
   v1.0.19 — targeted fixes for v1.0.18 misses
   ============================================================ */

/* About page — .details-grid .detail-item p (Vertical-stack tile...) */
.details-grid .detail-item p,
.details-grid-wrap .detail-item p,
section#details .detail-item p,
section#details p {
  color: rgb(95, 87, 70) !important;
}

/* Attractions page — .room-card-body span (~2 min walk, distance text)
   and any inner P descriptions */
.room-card-body span,
.room-card-body p,
.room-card .room-card-body span,
.room-card .room-card-body p,
.rooms-archive-grid .room-card-body span,
.rooms-archive-grid .room-card-body p,
.rooms-archive-grid .room-card span {
  color: rgb(95, 87, 70) !important;
}
.room-card-body a {
  color: #8c4830 !important;
}

/* Book-now Form 3 (waitlist) sub-labels on cream-soft.
   Selectors: must use #gform_wrapper_3 IDs. */
#gform_wrapper_3 .gform-field-label--type-sub,
#gform_wrapper_3 label.gform-field-label--type-sub,
#gform_wrapper_3 .ginput_complex label,
.waitlist-form-wrap #gform_wrapper_3 label,
.waitlist-form-wrap form#gform_3 label.gform-field-label--type-sub,
form#gform_3 .gform-field-label--type-sub,
form#gform_3 label.gform-field-label--type-sub {
  color: rgb(95, 87, 70) !important;
}

/* Re-affirm gfield_required on cream surfaces — must be terra-dark */
form#gform_3 .gfield_required,
form#gform_3 .gfield_required_text,
#gform_wrapper_3 .gfield_required,
#gform_wrapper_3 .gfield_required_text,
.waitlist-form-wrap form#gform_3 .gfield_required {
  color: #8c4830 !important;
}

/* Festival paragraphs at section#festival — Beach Please grounds P */
section#festival p,
section#festival .lm-festival-section p,
.lm-festival-section .lm-festival-info p,
.festival-grid p,
.festival-grid .detail-item p {
  color: rgb(95, 87, 70) !important;
}


/* ============================================================
   v1.0.20 — Correct v1.0.19 over-reach on dark sections
   Form 3 lives on BOTH cream (book-now.waitlist-form-wrap) AND
   dark (festival section#festival). Restore dark-context colors.
   ============================================================ */

/* Form 3 sub-labels on DARK sections — back to cream */
section#festival #gform_wrapper_3 .gform-field-label--type-sub,
section#festival #gform_wrapper_3 label.gform-field-label--type-sub,
section#festival form#gform_3 .gform-field-label--type-sub,
section#festival form#gform_3 label.gform-field-label--type-sub,
.lm-dark #gform_wrapper_3 .gform-field-label--type-sub,
[data-section="dark"] #gform_wrapper_3 .gform-field-label--type-sub,
.section-waitlist #gform_wrapper_3 .gform-field-label--type-sub {
  color: rgba(244, 239, 230, 0.95) !important;
}

/* Form 3 gfield_required on DARK sections — gold */
section#festival #gform_wrapper_3 .gfield_required,
section#festival #gform_wrapper_3 .gfield_required_text,
section#festival form#gform_3 .gfield_required,
section#festival form#gform_3 .gfield_required_text,
.lm-dark #gform_wrapper_3 .gfield_required,
.lm-dark #gform_wrapper_3 .gfield_required_text,
[data-section="dark"] #gform_wrapper_3 .gfield_required_text,
.section-waitlist #gform_wrapper_3 .gfield_required,
.section-waitlist #gform_wrapper_3 .gfield_required_text {
  color: #d4af6a !important;
}

/* Festival P body-lg on dark section — cream */
section#festival p.body-lg,
section#festival .festival-content p,
section#festival p,
.lm-dark p.body-lg,
.lm-dark .festival-content p {
  color: rgba(244, 239, 230, 0.95) !important;
}

/* Reaffirm Form 3 main labels (gfield_label) on cream surface book-now */
.waitlist-form-wrap #gform_wrapper_3 .gfield_label,
.waitlist-form-wrap #gform_wrapper_3 label.gfield_label,
.waitlist-form-wrap form#gform_3 .gfield_label,
.waitlist-form-wrap form#gform_3 label.gfield_label,
body.page-book .waitlist-form-wrap #gform_wrapper_3 .gfield_label {
  color: rgb(31, 27, 20) !important;
}

/* But on dark festival section, main labels stay cream */
section#festival #gform_wrapper_3 .gfield_label,
section#festival form#gform_3 .gfield_label,
.lm-dark #gform_wrapper_3 .gfield_label {
  color: rgba(244, 239, 230, 0.95) !important;
}

/* "BEACH" small text 95,87,70 on dark — flagged as 2.4. Should be cream/gold.
   Need to find what element this is — likely a category chip on attractions */
.room-card .room-meta span,
.room-card .room-category,
.room-card-image .badge,
.room-card .badge {
  color: rgb(244, 239, 230) !important;
}

/* Contact email/phone WAS correct on cream but QA reported bg as dark (false positive).
   No change needed — already terra-dark on cream-soft.
   But STRADA address P shows 122,113,95 — must mean my section#contact rule didn't hit.
   It's inside .contact-info-block which IS cream. Force darker. */
section#contact .contact-info-block p,
section#contact .contact-info-block .ci-val p,
section#contact .contact-info-block address {
  color: rgb(95, 87, 70) !important;
}
section#contact .contact-info-block .ci-val,
section#contact .contact-info-row .ci-val {
  color: rgb(31, 27, 20) !important;
}


/* ============================================================
   v1.0.21 — Properly scope Form 3 fixes by page context
   - Book-now (.page-id-6): waitlist-form-wrap is on CREAM
   - About/Festival (.page-id-4/9) and others: in section#waitlist DARK
   ============================================================ */

/* RESET: undo v1.0.19/v1.0.20 form-wide cream-context rules */
#gform_wrapper_3 .gform-field-label--type-sub,
form#gform_3 .gform-field-label--type-sub {
  /* default = cream-on-dark (most contexts) */
  color: rgba(244, 239, 230, 0.95) !important;
}
#gform_wrapper_3 .gfield_required,
#gform_wrapper_3 .gfield_required_text,
form#gform_3 .gfield_required,
form#gform_3 .gfield_required_text {
  color: #d4af6a !important; /* gold = AA on dark */
}
#gform_wrapper_3 .gfield_label,
form#gform_3 .gfield_label,
#gform_wrapper_3 label.gfield_label {
  color: rgba(244, 239, 230, 0.95) !important;
}
#gform_wrapper_3 .gform-field-label--type-inline,
form#gform_3 .gform-field-label--type-inline,
#gform_wrapper_3 label.gform-field-label--type-inline {
  color: rgba(244, 239, 230, 0.95) !important;
}

/* OVERRIDE for book-now ONLY (page-id-6): cream surface form */
body.page-id-6 #gform_wrapper_3 .gform-field-label--type-sub,
body.page-id-6 form#gform_3 .gform-field-label--type-sub,
body.page-id-6 .waitlist-form-wrap .gform-field-label--type-sub {
  color: rgb(95, 87, 70) !important;
}
body.page-id-6 #gform_wrapper_3 .gfield_label,
body.page-id-6 form#gform_3 .gfield_label,
body.page-id-6 #gform_wrapper_3 label.gfield_label,
body.page-id-6 .waitlist-form-wrap .gfield_label {
  color: rgb(31, 27, 20) !important;
}
body.page-id-6 #gform_wrapper_3 .gfield_required,
body.page-id-6 #gform_wrapper_3 .gfield_required_text,
body.page-id-6 form#gform_3 .gfield_required,
body.page-id-6 form#gform_3 .gfield_required_text {
  color: #8c4830 !important; /* terra-dark on cream-soft */
}
body.page-id-6 #gform_wrapper_3 .gform-field-label--type-inline,
body.page-id-6 form#gform_3 .gform-field-label--type-inline,
body.page-id-6 #gform_wrapper_3 label.gform-field-label--type-inline {
  color: rgb(31, 27, 20) !important;
}

/* Contact info-block address P — was QA-flagged 4.21 on cream.
   Need ink-soft. Force by walking via ci-val P. */
section#contact .ci-val p,
section#contact .ci-val span,
section#contact .contact-info-row p,
section#contact .contact-info-row span:not(.gfield_required):not(.gfield_required_text),
section#contact .contact-info-row .ci-val {
  color: rgb(95, 87, 70) !important;
}

/* "BEACH" small badge on dark — should be cream/gold */
.attraction-card .badge,
.attraction-card .room-meta,
.room-card .badge,
.room-card-image span,
.room-card-image .room-meta {
  color: rgba(244, 239, 230, 0.95) !important;
}

/* Targeting any tiny SPAN with text "BEACH" or similar category text
   inside a card image area */
.attraction-card-image-overlay span,
.room-card-image-overlay span {
  color: rgba(244, 239, 230, 0.95) !important;
}


/* ============================================================
   v1.0.22 — FINAL FINAL: kill all bleed-over by using
   high-specificity body.page-id selectors for both contexts.
   ============================================================ */

/* === FORM 3 ON DARK SECTIONS (about, festival, rooms, journal etc.) === */
/* If section is #waitlist (always dark) OR body is NOT page-id-6,
   force cream-on-dark colors */
body:not(.page-id-6) #gform_wrapper_3 .gfield_label,
body:not(.page-id-6) #gform_wrapper_3 label.gfield_label,
body:not(.page-id-6) form#gform_3 .gfield_label,
body:not(.page-id-6) form#gform_3 label.gfield_label,
body:not(.page-id-6) .waitlist-form-wrap .gfield_label,
body:not(.page-id-6) .waitlist-form-wrap #gform_wrapper_3 .gfield_label,
body:not(.page-id-6) .waitlist-form-wrap form#gform_3 .gfield_label,
section#waitlist .gfield_label,
section#waitlist #gform_wrapper_3 .gfield_label,
section#waitlist form#gform_3 .gfield_label {
  color: rgba(244, 239, 230, 0.95) !important;
}

body:not(.page-id-6) #gform_wrapper_3 .gform-field-label--type-sub,
body:not(.page-id-6) #gform_wrapper_3 label.gform-field-label--type-sub,
body:not(.page-id-6) form#gform_3 .gform-field-label--type-sub,
body:not(.page-id-6) .waitlist-form-wrap .gform-field-label--type-sub,
body:not(.page-id-6) .waitlist-form-wrap label.gform-field-label--type-sub,
section#waitlist .gform-field-label--type-sub,
section#waitlist label.gform-field-label--type-sub {
  color: rgba(244, 239, 230, 0.85) !important;
}

body:not(.page-id-6) #gform_wrapper_3 .gfield_required,
body:not(.page-id-6) #gform_wrapper_3 .gfield_required_text,
body:not(.page-id-6) form#gform_3 .gfield_required,
body:not(.page-id-6) form#gform_3 .gfield_required_text,
body:not(.page-id-6) .waitlist-form-wrap .gfield_required,
body:not(.page-id-6) .waitlist-form-wrap .gfield_required_text,
section#waitlist .gfield_required_text,
section#waitlist .gfield_required {
  color: #d4af6a !important;
}

body:not(.page-id-6) #gform_wrapper_3 .gform-field-label--type-inline,
body:not(.page-id-6) #gform_wrapper_3 label.gform-field-label--type-inline,
body:not(.page-id-6) form#gform_3 .gform-field-label--type-inline,
body:not(.page-id-6) .waitlist-form-wrap .gform-field-label--type-inline,
section#waitlist .gform-field-label--type-inline,
section#waitlist label.gform-field-label--type-inline {
  color: rgba(244, 239, 230, 0.95) !important;
}

/* === FORM 3 ON CREAM (book-now / page-id-6) === */
/* Keep dark text — high specificity body.page-id-6 + form path */
body.page-id-6.page-template-page-book #gform_wrapper_3 .gfield_label,
body.page-id-6.page-template-page-book .waitlist-form-wrap #gform_wrapper_3 .gfield_label,
body.page-id-6 .waitlist-form-wrap #gform_wrapper_3 .gfield_label,
body.page-id-6 .waitlist-form-wrap form#gform_3 .gfield_label,
body.page-id-6 .waitlist-form-wrap form#gform_3 label.gfield_label {
  color: rgb(31, 27, 20) !important;
}

body.page-id-6 .waitlist-form-wrap #gform_wrapper_3 .gform-field-label--type-sub,
body.page-id-6 .waitlist-form-wrap form#gform_3 .gform-field-label--type-sub,
body.page-id-6 .waitlist-form-wrap label.gform-field-label--type-sub {
  color: rgb(95, 87, 70) !important;
}

body.page-id-6 .waitlist-form-wrap #gform_wrapper_3 .gfield_required,
body.page-id-6 .waitlist-form-wrap #gform_wrapper_3 .gfield_required_text,
body.page-id-6 .waitlist-form-wrap form#gform_3 .gfield_required,
body.page-id-6 .waitlist-form-wrap form#gform_3 .gfield_required_text {
  color: #8c4830 !important;
}

body.page-id-6 .waitlist-form-wrap #gform_wrapper_3 .gform-field-label--type-inline,
body.page-id-6 .waitlist-form-wrap form#gform_3 .gform-field-label--type-inline,
body.page-id-6 .waitlist-form-wrap label.gform-field-label--type-inline {
  color: rgb(31, 27, 20) !important;
}

/* === Contact email A — false QA bg, but is actually on cream so terra-dark is fine.
       But the QA flagged the STRADA address P at 4.21 — must be still 122,113,95.
       Use higher specificity. */
body.page-id-10 section#contact .contact-info-block p,
body.page-id-10 section#contact .contact-info-block address,
body.page-id-10 section#contact .ci-val p,
body.page-id-10 section#contact .ci-val span,
body.page-id-10 section#contact .ci-val {
  color: rgb(95, 87, 70) !important;
}
body.page-id-10 section#contact .ci-val a,
body.page-id-10 section#contact .contact-info-block a {
  color: #8c4830 !important;
}

/* === "BEACH" badge — increase contrast on dark === */
.attraction-card span,
.attraction-card .badge,
.attraction-card .room-meta,
.attraction-card .room-meta span,
.lm-attractions-grid .attraction-card span,
[class*="attraction"] .badge,
[class*="card"] .badge {
  color: rgba(244, 239, 230, 0.95) !important;
}


/* ============================================================
   v1.0.23 — last sweep: orphan contact P + BEACH badge
   ============================================================ */

/* Generic P inside cream sections on contact page — orphan address P.
   This is a P with no class directly under SECTION on body.page-id-10 */
body.page-id-10 main p,
body.page-id-10 .page-content p,
body.page-id-10 section > .wrap > p,
body.page-id-10 .page-hero-desc {
  color: rgb(95, 87, 70) !important;
}

/* But contact-inner section already uses ink-soft, restore */
body.page-id-10 section#contact .contact-info-block .ci-val {
  color: rgb(95, 87, 70) !important;
}

/* BEACH badge on room-card-img — sits on dark overlay over image */
.room-card-img span,
.room-card-img .badge,
.room-card-img > span,
article.room-card .room-card-img span,
.rooms-archive-grid .room-card-img span {
  color: rgba(244, 239, 230, 0.95) !important;
}

/* Also any direct SPAN child of .room-card-img */
.room-card-img > * {
  color: rgba(244, 239, 230, 0.95) !important;
}


/* ============================================================
   v1.0.24 — fix page-hero-desc on contact (regression from v1.0.23)
   Page hero is ALWAYS on dark bg, so .page-hero-desc must be cream.
   ============================================================ */

/* Page hero description is on dark — undo v1.0.23 overreach */
body.page-id-10 .page-hero,
body.page-id-10 .page-hero-desc,
body.page-id-10 .page-hero-title,
body.page-id-10 .page-hero h1,
body.page-id-10 .page-hero p,
.page-hero .page-hero-desc,
.page-hero-desc {
  color: rgba(244, 239, 230, 0.95) !important;
}

/* Restrict contact orphan-P fix to NOT touch page-hero */
body.page-id-10 main > section:not(.page-hero) > .wrap > p,
body.page-id-10 main > section:not(.page-hero) > p {
  color: rgb(95, 87, 70) !important;
}

/* Contact page hero email link on dark - should be cream */
body.page-id-10 .page-hero a.lm-track-email,
body.page-id-10 .page-hero a[href^="mailto:"],
body.page-id-10 .page-hero a[href*="info@"],
.page-hero a.lm-track-email,
.page-hero a[href^="mailto:"] {
  color: #d4af6a !important; /* gold on dark */
}

/* Anywhere a.lm-track-email is on dark surface */
.lm-dark a.lm-track-email,
[data-section="dark"] a.lm-track-email,
section.lm-dark a.lm-track-email {
  color: #d4af6a !important;
}

/* v1.0.24b — fix specificity */
html body.page-id-10 .page-hero,
html body.page-id-10 .page-hero .page-hero-desc,
html body.page-id-10 section.page-hero p,
html body.page-id-10 section.page-hero .page-hero-desc,
html body.page-id-10 section.page-hero h1,
html body.page-id-10 .page-hero h1,
html body.page-id-10 .page-hero p {
  color: rgba(244, 239, 230, 0.95) !important;
}

html body.page-id-10 .page-hero a.lm-track-email,
html body.page-id-10 .page-hero a[href^="mailto:"],
html body.page-id-10 section.page-hero a {
  color: #d4af6a !important;
}

/* v1.0.24c — fix email inside dark .contact-groups-card */
.contact-groups-card a.lm-track-email,
.contact-groups-card a.lm-track-phone,
.contact-groups-card a[href^="mailto:"],
.contact-groups-card a[href^="tel:"],
section#contact .contact-groups-card a.lm-track-email,
section#contact .contact-groups-card a[href^="mailto:"] {
  color: #d4af6a !important;
}
.contact-groups-card a:hover {
  color: rgba(244, 239, 230, 1) !important;
}

/* ============================================================
   v1.1.1 — Mobile header z-index ladder + tap-registration fix
   ============================================================
   Z-INDEX LADDER (single source of truth):
     - announcement bar:       100
     - sticky header:          1000
     - hamburger button:       1010 (must sit above drawer scrim trigger)
     - mobile drawer scrim:    1200
     - mobile drawer panel:    1210
     - mobile drawer links:    1220
     - sticky CTA bar:         800   (was 99990 — lowered below drawer)
     - exit-intent modal:      9000  (was 99999 — still on top of UI)
     - skip-link:              9999
     - TranslatePress floater: 700   (was 99999 — never beat drawer)
   ============================================================ */

/* 1. Establish the ladder. Force-override the runaway z-indexes from
   sticky-bar, lang switcher and exit-modal so they sit BELOW the drawer.   */

#announcement-bar             { z-index: 100  !important; }
header#site-header            { z-index: 1000 !important; }
#nav-hamburger.nav-hamburger  { z-index: 1010 !important; position: relative; }

/* Sticky CTA bar — must NOT cover an open drawer */
.lm-sticky-bar,
div#lm-sticky-bar             { z-index: 800  !important; }

/* TranslatePress floating switcher — drop below header so it never blocks taps */
nav.trp-language-switcher,
.trp-floating-switcher        { z-index: 700  !important; }

/* Mobile drawer — promote above EVERYTHING that isn't a modal */
nav#mobile-menu,
.mobile-menu                  { z-index: 1210 !important; }
nav#mobile-menu.open,
.mobile-menu.open             { z-index: 1210 !important; }

/* Skip link + exit modal stay top-most */
.lm-skip-link                 { z-index: 9999 !important; }
.lm-exit-modal,
div#lm-exit-modal             { z-index: 9000 !important; }


/* 2. When drawer is open, hide the sticky bar + lang floater so they
   cannot intercept taps on drawer links even if z-index were ignored.    */

body:has(nav#mobile-menu.open) .lm-sticky-bar,
body:has(nav#mobile-menu.open) #lm-sticky-bar,
body:has(nav#mobile-menu.open) .trp-floating-switcher,
body:has(nav#mobile-menu.open) nav.trp-language-switcher,
body:has(nav#mobile-menu.open) .wa-float {
  display: none !important;
  pointer-events: none !important;
}

/* Body scroll-lock helper (JS may already toggle .menu-open; we belt-and-brace) */
body:has(nav#mobile-menu.open) {
  overflow: hidden !important;
  touch-action: none !important;
}


/* 3. Header tap-area floor: every header link/button >= 44x44 (Apple HIG / WCAG 2.5.5) */

@media (max-width: 1024px) {

  /* Hamburger — already 44x44 but pin it and ensure the hit area covers a generous box */
  #nav-hamburger.nav-hamburger {
    min-width: 48px;
    min-height: 48px;
    padding: 12px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: rgba(168, 89, 58, 0.2);
    touch-action: manipulation;
    cursor: pointer;
    pointer-events: auto !important;
  }
  #nav-hamburger.nav-hamburger > span {
    pointer-events: none; /* spans never steal the tap from the button */
  }

  /* Logo link — pad it so the whole left block taps cleanly */
  header#site-header .nav-logo {
    min-height: 48px;
    padding: 4px 8px;
    -webkit-tap-highlight-color: rgba(168, 89, 58, 0.2);
    touch-action: manipulation;
    pointer-events: auto !important;
  }
  header#site-header .nav-logo * {
    pointer-events: none; /* logo image + text don't intercept taps */
  }

  /* Festival/Book CTA visible in mobile header (when not hidden) */
  header#site-header .nav-right .btn,
  header#site-header .nav-right a.btn-primary {
    min-height: 44px;
    min-width: 44px;
    padding: 10px 14px;
    -webkit-tap-highlight-color: rgba(168, 89, 58, 0.2);
    touch-action: manipulation;
    pointer-events: auto !important;
  }

  /* Mobile drawer links — guarantee tappable */
  nav#mobile-menu a,
  nav#mobile-menu button,
  .mobile-menu a,
  .mobile-menu button {
    min-height: 48px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    -webkit-tap-highlight-color: rgba(168, 89, 58, 0.25);
    touch-action: manipulation;
    pointer-events: auto !important;
    position: relative;
    z-index: 1220;
  }

  /* Lang switcher inside drawer */
  nav#mobile-menu .mobile-lang a,
  .mobile-menu .mobile-lang a {
    min-width: 48px;
    min-height: 48px;
    padding: 12px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Make sure the nav-inner does not have transform that creates a new
     stacking context AND clips the hamburger */
  header#site-header .nav-inner {
    transform: none !important;
    overflow: visible !important;
    position: relative;
    z-index: 1;
  }

  /* WhatsApp float is fine but drop below drawer */
  a.wa-float { z-index: 750 !important; }
}


/* 4. iOS Safari tap-delay nuker for the whole header surface */
header#site-header,
header#site-header *,
nav#mobile-menu,
nav#mobile-menu * {
  touch-action: manipulation;
}


/* 5. Defensive: kill any pointer-events:none that might be inherited
   onto interactive elements in the header (some plugins do this).        */
header#site-header a,
header#site-header button,
nav#mobile-menu a,
nav#mobile-menu button {
  pointer-events: auto !important;
}


/* 6. Hamburger animation when open (visual confirm of tap) */
#nav-hamburger.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
#nav-hamburger.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
#nav-hamburger.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
#nav-hamburger.nav-hamburger span {
  transition: transform .25s ease, opacity .2s ease;
}
