/* ==========================================================================
   CASA VENEROS — CONTEMPORARY COASTAL LUXURY DESIGN SYSTEM
   Los Veneros · Riviera Nayarit, Mexico
   ========================================================================== */

:root {
  /* Palette derived from real Casa Veneros travertine, tropical palms & Pacific water */
  --bg-ivory: #F6F3EC;
  --bg-sand: #ECE5D8;
  --bg-stone: #E1D7C5;
  --bg-warm-white: #FAF8F4;
  --bg-petrol: #12282D;
  --bg-petrol-deep: #0B191D;
  --bg-petrol-soft: #1A363D;

  --text-primary: #152326;
  --text-secondary: #3D4E51;
  --text-muted: #5A6B6E;
  --text-light: #F6F3EC;
  --text-light-muted: rgba(246, 243, 236, 0.76);

  --accent-gold: #B69156;
  --accent-gold-light: #D5B887;
  --accent-sea: #2C5E68;
  --accent-palm: #2F4F3E;

  --border-subtle: rgba(21, 35, 38, 0.11);
  --border-light: rgba(246, 243, 236, 0.16);

  /* Typography */
  --font-serif: 'Cormorant Garamond', 'Instrument Serif', Georgia, serif;
  --font-display: 'Instrument Serif', 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing & Layout */
  --container-max: 1400px;
  --container-narrow: 1060px;
  --gutter: clamp(1.5rem, 4.5vw, 4.5rem);
  --section-space: clamp(5.5rem, 11vw, 10rem);

  /* Motion */
  --ease-luxury: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-ivory);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-primary);
  background-color: var(--bg-ivory);
  overflow-x: hidden;
  selection-background-color: var(--bg-petrol);
}

::selection {
  background-color: var(--bg-petrol);
  color: var(--bg-ivory);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.35s var(--ease-soft), opacity 0.35s var(--ease-soft);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

ul {
  list-style: none;
}

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

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

/* ==========================================================================
   TYPOGRAPHY SYSTEM
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 1.25rem;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background-color: currentColor;
  opacity: 0.75;
}

.eyebrow--center::before {
  display: none;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.015em;
}

h1, .h1 {
  font-size: clamp(2.85rem, 6.2vw, 5.5rem);
  line-height: 0.98;
}

h2, .h2 {
  font-size: clamp(2.25rem, 4.4vw, 3.85rem);
  line-height: 1.06;
}

h3, .h3 {
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  line-height: 1.16;
}

h1 em, h2 em, h3 em, .serif-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}

.lead {
  font-size: clamp(1.0625rem, 1.35vw, 1.25rem);
  line-height: 1.72;
  color: var(--text-secondary);
  font-weight: 300;
}

.editorial-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  line-height: 1.28;
  font-style: italic;
  color: var(--text-primary);
}

/* ==========================================================================
   CONTAINERS & SEAMLESS SECTION TRANSITIONS
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.section {
  position: relative;
  padding-block: var(--section-space);
}

/* Soft chromatic transitions instead of hard horizontal borders */
.section--ivory {
  background: linear-gradient(180deg, var(--bg-ivory) 0%, var(--bg-ivory) 88%, var(--bg-sand) 100%);
}

.section--sand {
  background: linear-gradient(180deg, var(--bg-sand) 0%, var(--bg-sand) 88%, var(--bg-ivory) 100%);
}

.section--sand-to-petrol {
  background: linear-gradient(180deg, var(--bg-sand) 0%, #EAE2D3 72%, #1D353B 94%, var(--bg-petrol) 100%);
}

.section--petrol {
  background-color: var(--bg-petrol);
  color: var(--text-light);
}

.section--petrol-to-ivory {
  background: linear-gradient(180deg, var(--bg-petrol) 0%, var(--bg-petrol) 78%, #223B41 90%, var(--bg-ivory) 100%);
  color: var(--text-light);
}

.section--petrol .lead,
.section--petrol p {
  color: var(--text-light-muted);
}

/* ==========================================================================
   BUTTONS & INTERACTIVE LINKS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.92rem 1.85rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.4s var(--ease-luxury),
              background-color 0.35s var(--ease-soft),
              color 0.35s var(--ease-soft),
              border-color 0.35s var(--ease-soft),
              box-shadow 0.35s var(--ease-soft);
  text-decoration: none;
  white-space: nowrap;
}

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

.btn--primary {
  background-color: var(--bg-petrol);
  color: var(--bg-ivory);
  border-color: var(--bg-petrol);
}

.btn--primary:hover {
  background-color: var(--bg-petrol-soft);
  box-shadow: 0 12px 28px rgba(11, 25, 29, 0.16);
}

.btn--light {
  background-color: var(--bg-ivory);
  color: var(--bg-petrol-deep);
  border-color: var(--bg-ivory);
}

.btn--light:hover {
  background-color: #FFFFFF;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.btn--glass {
  background: rgba(18, 40, 45, 0.32);
  color: var(--bg-ivory);
  border-color: rgba(246, 243, 236, 0.38);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.btn--glass:hover {
  background: rgba(246, 243, 236, 0.18);
  border-color: rgba(246, 243, 236, 0.72);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border-color: rgba(21, 35, 38, 0.28);
}

.btn--outline:hover {
  border-color: var(--bg-petrol);
  background: rgba(18, 40, 45, 0.04);
}

.btn--outline-light {
  background: transparent;
  color: var(--bg-ivory);
  border-color: rgba(246, 243, 236, 0.35);
}

.btn--outline-light:hover {
  border-color: var(--bg-ivory);
  background: rgba(246, 243, 236, 0.08);
}

.link-editorial {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--accent-gold);
  transition: gap 0.35s var(--ease-luxury), color 0.3s ease;
}

.link-editorial:hover {
  gap: 0.95rem;
  color: var(--accent-gold);
}

.link-editorial--light {
  color: var(--bg-ivory);
  border-bottom-color: var(--accent-gold-light);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.35rem var(--gutter);
  transition: background-color 0.45s var(--ease-luxury),
              padding 0.45s var(--ease-luxury),
              border-color 0.45s var(--ease-luxury),
              backdrop-filter 0.45s var(--ease-luxury);
  border-bottom: 1px solid transparent;
}

.site-header__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  position: relative;
  z-index: 2;
}

.site-brand__logo {
  height: clamp(38px, 4.2vw, 50px);
  width: auto;
  object-fit: contain;
  transition: opacity 0.35s ease, transform 0.35s var(--ease-luxury);
}

.site-brand__logo--gold {
  display: none;
}

/* When header is over light page or scrolled */
.site-header.is-scrolled,
.site-header--solid {
  background: rgba(246, 243, 236, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding-block: 0.9rem;
  border-bottom-color: rgba(21, 35, 38, 0.08);
}

.site-header.is-scrolled .site-brand__logo--light,
.site-header--solid .site-brand__logo--light {
  display: none;
}

.site-header.is-scrolled .site-brand__logo--gold,
.site-header--solid .site-brand__logo--gold {
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.35rem, 2.4vw, 2.5rem);
}

.site-nav__link {
  font-size: 0.84rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: rgba(246, 243, 236, 0.9);
  position: relative;
  padding-block: 0.25rem;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: var(--accent-gold-light);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-luxury);
}

.site-nav__link:hover::after,
.site-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-header.is-scrolled .site-nav__link,
.site-header--solid .site-nav__link {
  color: var(--text-primary);
}

.site-header.is-scrolled .site-nav__link::after,
.site-header--solid .site-nav__link::after {
  background-color: var(--accent-gold);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(246, 243, 236, 0.85);
}

.site-header.is-scrolled .lang-switch,
.site-header--solid .lang-switch {
  color: var(--text-secondary);
}

.lang-switch a {
  padding: 0.2rem 0.35rem;
  opacity: 0.65;
}

.lang-switch a.is-active {
  opacity: 1;
  font-weight: 600;
  border-bottom: 1px solid currentColor;
}

.site-header__cta {
  padding: 0.68rem 1.4rem;
  font-size: 0.76rem;
}

.site-header:not(.is-scrolled):not(.site-header--solid) .site-header__cta {
  background: rgba(246, 243, 236, 0.94);
  color: var(--bg-petrol-deep);
  border-color: transparent;
}

.site-header:not(.is-scrolled):not(.site-header--solid) .site-header__cta:hover {
  background: #FFFFFF;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(246, 243, 236, 0.35);
  color: var(--bg-ivory);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.site-header.is-scrolled .menu-toggle,
.site-header--solid .menu-toggle {
  color: var(--text-primary);
  border-color: rgba(21, 35, 38, 0.25);
}

/* ==========================================================================
   DIALOGS & MODALS (STRICT VISIBILITY SAFEGUARD)
   ========================================================================== */
dialog:not([open]) {
  display: none !important;
}

/* ==========================================================================
   MOBILE MENU DIALOG
   ========================================================================== */
.mobile-menu {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  border: none;
  background: rgba(11, 25, 29, 0.96);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  color: var(--bg-ivory);
  z-index: 200;
  padding: 1.5rem var(--gutter) 2.5rem;
}

.mobile-menu::backdrop {
  background: rgba(0, 0, 0, 0.5);
}

.mobile-menu__inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-menu__close {
  background: transparent;
  border: 1px solid rgba(246, 243, 236, 0.3);
  color: var(--bg-ivory);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-block: auto;
}

.mobile-menu__link {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 6vw, 2.75rem);
  color: var(--bg-ivory);
  line-height: 1.15;
}

.mobile-menu__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(246, 243, 236, 0.15);
}

/* ==========================================================================
   01. HERO SECTION (HOME & EDITORIAL PAGES)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: 8.5rem;
  padding-bottom: clamp(3.5rem, 7vh, 5.5rem);
  color: var(--bg-ivory);
  overflow: hidden;
  background-color: var(--bg-petrol-deep);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--bg-petrol-deep) url("assets/images/lifestyle/lifestyle-palapa-pool.jpg") center / cover no-repeat;
  overflow: hidden;
}

.hero__cloudinary-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero__cloudinary-iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100%;
  min-width: 177.78vh;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}

.hero__video,
.hero__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 1.1s var(--ease-soft);
}

.hero__video--secondary {
  opacity: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(11, 25, 29, 0.48) 0%,
      rgba(11, 25, 29, 0.18) 38%,
      rgba(11, 25, 29, 0.56) 82%,
      rgba(18, 40, 45, 0.92) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  align-items: end;
  gap: 2.5rem;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.42rem 1rem;
  border-radius: 999px;
  background: rgba(11, 25, 29, 0.36);
  border: 1px solid rgba(246, 243, 236, 0.24);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 243, 236, 0.92);
  margin-bottom: 1.5rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.1rem, 6.8vw, 6.2rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  text-shadow: 0 4px 36px rgba(255, 255, 255, 0.18), 0 12px 40px rgba(0, 0, 0, 0.32);
  max-width: 14ch;
  margin-bottom: 1.35rem;
}

.hero__subtitle {
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
  line-height: 1.65;
  color: rgba(246, 243, 236, 0.86);
  max-width: 540px;
  font-weight: 300;
  margin-bottom: 2.2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.hero__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 1.5rem;
  text-align: right;
}

.hero__film-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(11, 25, 29, 0.45);
  border: 1px solid rgba(246, 243, 236, 0.28);
  color: var(--bg-ivory);
  padding: 0.65rem 1.15rem 0.65rem 0.75rem;
  border-radius: 999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.35s var(--ease-luxury), border-color 0.35s ease, background 0.35s ease;
}

.hero__film-trigger:hover {
  transform: translateY(-2px);
  border-color: var(--accent-gold-light);
  background: rgba(18, 40, 45, 0.68);
}

.hero__film-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(246, 243, 236, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero__scroll {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 243, 236, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.hero__scroll::after {
  content: "";
  width: 36px;
  height: 1px;
  background: rgba(246, 243, 236, 0.45);
}

/* Page Hero (Subpages) */
.page-hero {
  position: relative;
  min-height: 68svh;
  display: flex;
  align-items: flex-end;
  padding-top: 9rem;
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
  color: var(--bg-ivory);
  background-color: var(--bg-petrol-deep);
  overflow: hidden;
}

.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero__media img,
.page-hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(11, 25, 29, 0.52) 0%,
    rgba(11, 25, 29, 0.28) 45%,
    rgba(18, 40, 45, 0.88) 100%);
  z-index: 1;
}

.page-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.page-hero__title {
  max-width: 16ch;
  margin-bottom: 1rem;
  color: #FFFFFF;
}

.page-hero__lead {
  max-width: 580px;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: rgba(246, 243, 236, 0.86);
  font-weight: 300;
}

/* ==========================================================================
   02. ESSENTIAL VILLA INFORMATION BAR (SEAMLESS FLOAT)
   ========================================================================== */
.essentials-band {
  position: relative;
  z-index: 5;
  background: linear-gradient(180deg, var(--bg-petrol) 0%, #173137 45%, var(--bg-ivory) 100%);
  padding-top: 1.5rem;
  padding-bottom: 4.5rem;
}

.essentials-bar {
  background: var(--bg-warm-white);
  border: 1px solid rgba(182, 145, 86, 0.24);
  border-radius: 4px;
  padding: clamp(1.75rem, 3.2vw, 2.65rem) clamp(1.5rem, 3.5vw, 3.25rem);
  box-shadow: 0 28px 60px rgba(11, 25, 29, 0.12);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
}

.essentials-item {
  border-left: 1px solid rgba(21, 35, 38, 0.1);
  padding-left: 1.25rem;
}

.essentials-item:first-child {
  border-left: none;
  padding-left: 0;
}

.essentials-item__value {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.essentials-item__label {
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ==========================================================================
   03. ASYMMETRIC EDITORIAL COLLAGE (THE VILLA INTRO)
   ========================================================================== */
.editorial-intro {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.editorial-intro__copy {
  max-width: 490px;
}

.editorial-intro__copy h2 {
  margin-bottom: 1.5rem;
}

.editorial-intro__copy p {
  margin-bottom: 1.35rem;
}

.editorial-collage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
  align-items: center;
}

.editorial-collage__main {
  grid-column: 1 / 9;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 3px;
}

.editorial-collage__secondary {
  grid-column: 8 / 13;
  aspect-ratio: 1 / 1.15;
  overflow: hidden;
  border-radius: 3px;
  margin-top: -6rem;
  box-shadow: 0 26px 50px rgba(18, 40, 45, 0.16);
  border: 6px solid var(--bg-ivory);
  position: relative;
  z-index: 2;
}

.editorial-collage__tertiary {
  grid-column: 3 / 11;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 3px;
  margin-top: -2.5rem;
  box-shadow: 0 20px 44px rgba(18, 40, 45, 0.12);
  position: relative;
  z-index: 3;
}

.editorial-collage img,
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-luxury);
}

.editorial-collage > div:hover img,
.media-frame:hover img {
  transform: scale(1.035);
}

/* ==========================================================================
   04. VILLA HIGHLIGHTS — EDITORIAL NARRATIVE STRIPS
   ========================================================================== */
.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(3rem, 6vw, 4.75rem);
}

.section-header__main {
  max-width: 640px;
}

.highlights-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.5rem, 3vw, 2.75rem);
}

.highlight-card {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.highlight-card--wide {
  grid-column: span 7;
}

.highlight-card--tall {
  grid-column: span 5;
  margin-top: clamp(0rem, 4vw, 3.5rem);
}

.highlight-card--third {
  grid-column: span 4;
}

.highlight-card__media {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  aspect-ratio: 16 / 11;
  background-color: var(--bg-stone);
}

.highlight-card--tall .highlight-card__media {
  aspect-ratio: 4 / 5;
}

.highlight-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-luxury);
}

.highlight-card:hover .highlight-card__media img {
  transform: scale(1.04);
}

.highlight-card__tag {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.highlight-card__title {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  color: var(--text-primary);
}

.highlight-card__desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  max-width: 48ch;
}

/* ==========================================================================
   05. BEDROOMS & SUITES (HOME PREVIEW + BEDROOMS PAGE)
   ========================================================================== */
.suites-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 2.5vw, 2.25rem);
}

.suite-card {
  background: var(--bg-warm-white);
  border: 1px solid var(--border-subtle);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--ease-luxury), box-shadow 0.45s var(--ease-luxury);
}

.suite-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(18, 40, 45, 0.09);
}

.suite-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-stone);
}

.suite-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-luxury);
}

.suite-card:hover .suite-card__media img {
  transform: scale(1.04);
}

.suite-card__floor {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.32rem 0.75rem;
  background: rgba(11, 25, 29, 0.72);
  backdrop-filter: blur(8px);
  color: var(--bg-ivory);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
}

.suite-card__body {
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.suite-card__beds {
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.suite-card__title {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  color: var(--text-primary);
}

.suite-card__desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.suite-card__features {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.suite-pill {
  font-size: 0.74rem;
  padding: 0.25rem 0.65rem;
  background: var(--bg-ivory);
  border: 1px solid rgba(21, 35, 38, 0.09);
  border-radius: 999px;
  color: var(--text-secondary);
}

/* Detailed Suite Row on /bedrooms */
.suite-detail {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3rem, 5vw, 4.5rem);
  border-bottom: 1px solid var(--border-subtle);
}

.suite-detail:nth-child(even) {
  grid-template-columns: 5fr 7fr;
}

.suite-detail:nth-child(even) .suite-detail__gallery {
  order: 2;
}

.suite-detail__stage {
  aspect-ratio: 16 / 10;
  border-radius: 3px;
  overflow: hidden;
  background: var(--bg-stone);
  margin-bottom: 0.85rem;
}

.suite-detail__stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.22s ease;
}

.suite-detail__thumbs {
  display: flex;
  gap: 0.75rem;
}

.suite-thumb {
  width: 86px;
  height: 58px;
  border-radius: 2px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  opacity: 0.62;
  transition: opacity 0.25s ease, border-color 0.25s ease;
}

.suite-thumb.is-active,
.suite-thumb:hover {
  opacity: 1;
  border-color: var(--accent-gold);
}

.suite-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   06. PRIVATE HOSPITALITY
   ========================================================================== */
.hospitality-grid {
  display: grid;
  grid-template-columns: 5.5fr 6.5fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-top: 2.25rem;
}

.service-item {
  padding-top: 1.15rem;
  border-top: 1px solid rgba(246, 243, 236, 0.18);
}

.section--ivory .service-item,
.section--sand .service-item {
  border-top-color: var(--border-subtle);
}

.service-item__title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  margin-bottom: 0.4rem;
}

.service-item__desc {
  font-size: 0.9rem;
  opacity: 0.84;
}

.hospitality-note {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  border-left: 2px solid var(--accent-gold);
  background: rgba(246, 243, 236, 0.05);
  font-size: 0.84rem;
  color: var(--text-light-muted);
}

.section--ivory .hospitality-note,
.section--sand .hospitality-note {
  background: rgba(18, 40, 45, 0.04);
  color: var(--text-secondary);
}

/* ==========================================================================
   07. BEACHFRONT LIVING + THREE.JS PACIFIC LIGHT ATMOSPHERE
   ========================================================================== */
.ocean-band {
  position: relative;
  min-height: 76svh;
  display: flex;
  align-items: center;
  color: var(--bg-ivory);
  background-color: var(--bg-petrol-deep);
  overflow: hidden;
  padding-block: clamp(5rem, 10vw, 8.5rem);
}

.ocean-band__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.72;
  mix-blend-mode: screen;
}

.ocean-band__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ocean-band__backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}

.ocean-band__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    var(--bg-petrol) 0%,
    rgba(11, 25, 29, 0.42) 28%,
    rgba(11, 25, 29, 0.52) 72%,
    var(--bg-petrol) 100%);
}

.ocean-band__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.ocean-band__frame {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(246, 243, 236, 0.18);
  aspect-ratio: 4 / 3;
}

.ocean-band__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   08. LOCATION & CONTEXT
   ========================================================================== */
.location-split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.location-map-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-warm-white);
  box-shadow: 0 22px 50px rgba(18, 40, 45, 0.08);
}

.location-map-card__embed {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
  filter: saturate(0.85) contrast(1.02);
}

.location-map-card__caption {
  padding: 1.15rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: var(--bg-warm-white);
}

.location-distances {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.distance-box {
  padding: 1.15rem 1.25rem;
  background: var(--bg-warm-white);
  border: 1px solid var(--border-subtle);
  border-radius: 3px;
}

.distance-box__place {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-primary);
}

.distance-box__meta {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   09. PLAN YOUR STAY: RESERVATION ENGINE SLOT + INQUIRY FORM
   ========================================================================== */
.conversion-grid {
  display: grid;
  grid-template-columns: 4.6fr 7.4fr;
  gap: clamp(2.25rem, 4.5vw, 4.5rem);
  align-items: start;
}

.reservation-slot {
  background: var(--bg-petrol);
  color: var(--bg-ivory);
  padding: clamp(2rem, 3.5vw, 3rem);
  border-radius: 4px;
  border: 1px solid rgba(182, 145, 86, 0.35);
  box-shadow: 0 28px 60px rgba(11, 25, 29, 0.16);
  position: sticky;
  top: 6.5rem;
}

.reservation-slot__badge {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-gold-light);
  margin-bottom: 0.85rem;
}

.reservation-slot__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3vw, 2.5rem);
  color: #FFFFFF;
  margin-bottom: 0.85rem;
}

.reservation-slot__body {
  font-size: 0.96rem;
  color: var(--text-light-muted);
  margin-bottom: 1.65rem;
}

.reservation-slot__specs {
  border-top: 1px solid rgba(246, 243, 236, 0.14);
  border-bottom: 1px solid rgba(246, 243, 236, 0.14);
  padding-block: 1.15rem;
  margin-bottom: 1.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: rgba(246, 243, 236, 0.88);
}

.reservation-slot__specs li::before {
  content: "· ";
  color: var(--accent-gold-light);
}

.reservation-slot__cta {
  width: 100%;
  margin-bottom: 1rem;
}

.reservation-slot__direct {
  font-size: 0.82rem;
  color: rgba(246, 243, 236, 0.72);
  text-align: center;
}

.reservation-slot__direct a {
  color: var(--accent-gold-light);
  border-bottom: 1px solid rgba(213, 184, 135, 0.4);
}

/* Inquiry Form Card */
.inquiry-card {
  background: var(--bg-warm-white);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow: 0 24px 54px rgba(18, 40, 45, 0.06);
}

.inquiry-card__header {
  margin-bottom: 2rem;
}

.inquiry-form__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.35rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.form-label span {
  color: var(--accent-gold);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.88rem 1rem;
  background-color: var(--bg-ivory);
  border: 1px solid rgba(21, 35, 38, 0.16);
  border-radius: 3px;
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--bg-petrol);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(18, 40, 45, 0.08);
}

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

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 18px;
  height: 18px;
  accent-color: var(--bg-petrol);
  flex-shrink: 0;
}

.form-checkbox a {
  text-decoration: underline;
  color: var(--text-primary);
}

.form-Feedback {
  margin-top: 1.25rem;
  padding: 1.25rem 1.5rem;
  border-radius: 3px;
  font-size: 0.92rem;
}

.form-Feedback[data-state="error"] {
  background: #FDF2F2;
  border: 1px solid #E5A4A4;
  color: #7D2323;
}

.form-Feedback[data-state="success"] {
  background: #F1F6F3;
  border: 1px solid var(--accent-palm);
  color: var(--bg-petrol-deep);
}

.form-Feedback__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.form-Feedback__ref {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-gold);
}

/* ==========================================================================
   GALLERY & FILTERABLE MASONRY + LIGHTBOX
   ========================================================================== */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2.75rem;
}

.gallery-filter-btn {
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(21, 35, 38, 0.16);
  background: transparent;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-filter-btn.is-active,
.gallery-filter-btn:hover {
  background: var(--bg-petrol);
  color: var(--bg-ivory);
  border-color: var(--bg-petrol);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.35rem;
}

.gallery-item {
  grid-column: span 4;
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  background: var(--bg-stone);
  cursor: pointer;
  border: none;
  padding: 0;
  text-align: left;
}

.gallery-item--wide {
  grid-column: span 8;
}

.gallery-item--half {
  grid-column: span 6;
}

.gallery-item__media {
  aspect-ratio: 4 / 3;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gallery-item--wide .gallery-item__media {
  aspect-ratio: 16 / 9;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.95s var(--ease-luxury);
}

.gallery-item:hover img {
  transform: scale(1.045);
}

.gallery-item__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2rem 1.25rem 1rem;
  background: linear-gradient(180deg, transparent 0%, rgba(11, 25, 29, 0.82) 100%);
  color: var(--bg-ivory);
  font-size: 0.84rem;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gallery-item:hover .gallery-item__caption,
.gallery-item:focus-visible .gallery-item__caption {
  opacity: 1;
}

/* Lightbox & Video Dialog */
.lightbox-modal,
.video-modal {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  border: none;
  background: rgba(8, 18, 21, 0.95);
  backdrop-filter: blur(18px);
  color: var(--bg-ivory);
  z-index: 300;
  padding: clamp(1rem, 3vw, 2.5rem);
}

.lightbox-modal__inner,
.video-modal__inner {
  height: 100%;
  max-width: 1280px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.lightbox-modal__top,
.video-modal__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lightbox-modal__stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-block: 1rem;
}

.lightbox-modal__stage img {
  max-height: 76dvh;
  max-width: 100%;
  object-fit: contain;
  border-radius: 3px;
}

.lightbox-modal__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* ==========================================================================
   10. FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--bg-petrol-deep);
  color: var(--bg-ivory);
  padding-top: clamp(4.5rem, 8vw, 7rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
  border-top: 1px solid rgba(246, 243, 236, 0.1);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 4.5fr 2.5fr 2.5fr 2.5fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(246, 243, 236, 0.12);
}

.site-footer__logo {
  height: 54px;
  width: auto;
  margin-bottom: 1.25rem;
}

.site-footer__tagline {
  font-size: 0.94rem;
  color: var(--text-light-muted);
  max-width: 34ch;
  margin-bottom: 1.25rem;
}

.site-footer__heading {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-gold-light);
  margin-bottom: 1.15rem;
}

.site-footer__list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: rgba(246, 243, 236, 0.8);
}

.site-footer__list a:hover {
  color: #FFFFFF;
}

.site-footer__bottom {
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: rgba(246, 243, 236, 0.56);
}

/* ==========================================================================
   DISCRETE PERSISTENT MOBILE INQUIRE BAR & CONSENT BANNER
   ========================================================================== */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(11, 25, 29, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(246, 243, 236, 0.16);
  padding: 0.75rem var(--gutter);
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--bg-ivory);
}

.mobile-sticky-cta__text {
  font-size: 0.78rem;
  line-height: 1.25;
}

.mobile-sticky-cta__text strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 400;
}

.consent-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 150;
  max-width: 420px;
  background: rgba(18, 40, 45, 0.96);
  color: var(--bg-ivory);
  border: 1px solid rgba(213, 184, 135, 0.3);
  border-radius: 4px;
  padding: 1.15rem 1.35rem;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
  font-size: 0.82rem;
  backdrop-filter: blur(14px);
}

.consent-banner__actions {
  margin-top: 0.85rem;
  display: flex;
  gap: 0.65rem;
}

.consent-btn {
  padding: 0.45rem 0.95rem;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid rgba(246, 243, 236, 0.3);
  background: transparent;
  color: var(--bg-ivory);
}

.consent-btn--accept {
  background: var(--bg-ivory);
  color: var(--bg-petrol-deep);
  border-color: var(--bg-ivory);
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS (SAFE PROGRESSIVE ENHANCEMENT)
   ========================================================================== */
[data-reveal] {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.85s var(--ease-luxury), transform 0.85s var(--ease-luxury);
}

html.js-reveal-ready [data-reveal]:not(.is-visible) {
  opacity: 0;
  transform: translateY(22px);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1080px) {
  .site-nav {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .essentials-bar {
    grid-template-columns: repeat(3, 1fr);
  }
  .essentials-item:nth-child(4) {
    border-left: none;
    padding-left: 0;
  }
  .editorial-intro,
  .hospitality-grid,
  .ocean-band__content,
  .location-split,
  .conversion-grid,
  .suite-detail,
  .suite-detail:nth-child(even) {
    grid-template-columns: 1fr;
  }
  .suite-detail:nth-child(even) .suite-detail__gallery {
    order: 0;
  }
  .reservation-slot {
    position: static;
  }
  .suites-showcase {
    grid-template-columns: repeat(2, 1fr);
  }
  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero__content {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .hero__aside {
    align-items: flex-start;
    text-align: left;
  }
  .hero__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .hero__actions .btn {
    width: 100%;
  }
  .essentials-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .essentials-item {
    border-left: none;
    padding-left: 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(21, 35, 38, 0.08);
  }
  .highlight-card--wide,
  .highlight-card--tall,
  .highlight-card--third,
  .gallery-item,
  .gallery-item--wide,
  .gallery-item--half {
    grid-column: span 12;
    margin-top: 0;
  }
  .suites-showcase,
  .service-list,
  .location-distances,
  .inquiry-form__grid,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
  .site-header__cta {
    display: none;
  }
  .mobile-sticky-cta {
    display: flex;
  }
  body {
    padding-bottom: 4.25rem;
  }
  .consent-banner {
    left: 1rem;
    right: 1rem;
    bottom: 5rem;
    max-width: none;
  }
}

/* ==========================================================================
   CINEMATIC HERO SEQUENCER & FORM STATUS HELPERS
   ========================================================================== */
.hero__video {
  opacity: 0;
  pointer-events: none;
}

.hero__video.is-active {
  opacity: 1;
}

.hero__controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero__scene-dots {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero__scene-dot {
  width: 26px;
  height: 3px;
  border-radius: 99px;
  border: none;
  background: rgba(246, 243, 236, 0.32);
  cursor: pointer;
  padding: 0;
  transition: background-color 0.35s ease, width 0.35s var(--ease-luxury);
}

.hero__scene-dot.is-active {
  width: 42px;
  background: var(--accent-gold-light);
}

.hero__pause-btn {
  background: rgba(11, 25, 29, 0.45);
  border: 1px solid rgba(246, 243, 236, 0.26);
  color: var(--bg-ivory);
  border-radius: 999px;
  padding: 0.38rem 0.85rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.form-status {
  margin-top: 1rem;
  padding: 0.95rem 1.2rem;
  border-radius: 3px;
  font-size: 0.9rem;
}

.form-status.is-error {
  background: #FDF2F2;
  border: 1px solid #E5A4A4;
  color: #7D2323;
}

.form-confirmation {
  background: #F3F7F4;
  border: 1px solid rgba(47, 79, 62, 0.35);
  border-radius: 4px;
  padding: 2.25rem;
  color: var(--bg-petrol-deep);
}

.form-confirmation h3 {
  margin-bottom: 0.65rem;
}

.form-confirmation__ref {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.45rem 0.95rem;
  background: var(--bg-petrol);
  color: var(--bg-ivory);
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-hint {
  font-size: 0.82rem;
  color: var(--accent-sea);
  margin-top: 0.25rem;
}

.video-modal__frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.video-modal__frame video,
.video-modal__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ==========================================================================
   WHATSAPP CONCIERGE BUTTONS (FLOATING & INLINE)
   ========================================================================== */
.whatsapp-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.62rem 1rem;
  border-radius: 999px;
  background: rgba(18, 40, 45, 0.9);
  color: var(--bg-ivory);
  border: 1px solid rgba(182, 145, 86, 0.42);
  box-shadow: 0 10px 28px rgba(11, 25, 29, 0.22);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.35s var(--ease-luxury), background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-fab:hover {
  transform: translateY(-2px);
  background: var(--accent-palm);
  border-color: var(--accent-gold-light);
  box-shadow: 0 14px 34px rgba(11, 25, 29, 0.3);
}

.whatsapp-fab__icon {
  width: 18px;
  height: 18px;
  fill: #25D366;
  flex-shrink: 0;
}

.btn--whatsapp {
  background: rgba(47, 79, 62, 0.92);
  color: var(--bg-ivory);
  border: 1px solid rgba(213, 184, 135, 0.45);
}

.btn--whatsapp:hover {
  background: #234733;
  border-color: var(--accent-gold-light);
}

@media (max-width: 768px) {
  /* Hide floating WhatsApp button on mobile since the bottom sticky bar already includes WhatsApp */
  .whatsapp-fab {
    display: none !important;
  }
}


/* ==========================================================================
   14. INTEGRATED AVAILABILITY CALENDAR & LIVE USD QUOTE ENGINE
   ========================================================================== */
.cv-cal-widget {
  background: rgba(11, 25, 29, 0.52);
  border: 1px solid rgba(213, 184, 135, 0.25);
  border-radius: 4px;
  padding: 1.15rem;
  margin-top: 0.5rem;
}

.cv-cal-dates-bar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.95rem;
}

.cv-cal-date-pill {
  flex: 1;
  background: rgba(246, 243, 236, 0.06);
  border: 1px solid rgba(246, 243, 236, 0.14);
  border-radius: 3px;
  padding: 0.5rem 0.65rem;
  display: flex;
  flex-direction: column;
}

.cv-cal-date-pill__label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-gold-light);
}

.cv-cal-date-pill__val {
  font-size: 0.85rem;
  color: #FFFFFF;
  font-weight: 500;
  margin-top: 0.1rem;
}

.cv-cal-clear-btn {
  background: transparent;
  border: 1px solid rgba(213, 184, 135, 0.35);
  color: var(--accent-gold-light);
  border-radius: 3px;
  padding: 0.45rem 0.65rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.cv-cal-clear-btn:hover {
  background: rgba(213, 184, 135, 0.15);
}

.cv-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.cv-cal-month-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: #FFFFFF;
  letter-spacing: 0.03em;
}

.cv-cal-nav-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(246, 243, 236, 0.22);
  background: rgba(246, 243, 236, 0.05);
  color: #FFFFFF;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.cv-cal-nav-btn:hover {
  background: rgba(213, 184, 135, 0.22);
  border-color: var(--accent-gold-light);
}

.cv-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(246, 243, 236, 0.55);
  margin-bottom: 0.35rem;
}

.cv-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cv-cal-day {
  aspect-ratio: 1 / 1;
  border-radius: 3px;
  border: 1px solid transparent;
  font-size: 0.8rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgba(246, 243, 236, 0.07);
  color: var(--bg-ivory);
  transition: all 0.18s ease;
}

.cv-cal-day--empty {
  background: transparent;
  pointer-events: none;
}

.cv-cal-day--past {
  opacity: 0.26;
  cursor: not-allowed;
  background: transparent;
}

.cv-cal-day--available:hover:not(:disabled) {
  border-color: var(--accent-gold-light);
  background: rgba(213, 184, 135, 0.24);
  color: #FFFFFF;
}

.cv-cal-day--occupied {
  background: rgba(185, 68, 68, 0.26);
  border-color: rgba(215, 105, 105, 0.32);
  color: rgba(246, 243, 236, 0.45);
  text-decoration: line-through;
  cursor: not-allowed;
}

.cv-cal-day--hold {
  background: rgba(214, 158, 46, 0.26);
  border-color: rgba(214, 158, 46, 0.45);
  color: #F6E05E;
  cursor: not-allowed;
}

.cv-cal-day--turnaround {
  background: repeating-linear-gradient(
    -45deg,
    rgba(213, 184, 135, 0.12),
    rgba(213, 184, 135, 0.12) 4px,
    rgba(11, 25, 29, 0.5) 4px,
    rgba(11, 25, 29, 0.5) 8px
  );
  border-color: rgba(213, 184, 135, 0.38);
  color: var(--accent-gold-light);
}

.cv-cal-day.is-selected-start,
.cv-cal-day.is-selected-end {
  background: var(--accent-gold) !important;
  color: #0B191D !important;
  font-weight: 600;
  border-color: var(--accent-gold-light);
}

.cv-cal-day.is-in-range {
  background: rgba(182, 145, 86, 0.34);
  border-color: rgba(213, 184, 135, 0.4);
  color: #FFFFFF;
}

.cv-cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.85rem;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(246, 243, 236, 0.1);
  font-size: 0.68rem;
  color: rgba(246, 243, 236, 0.75);
}

.cv-cal-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.cv-dot {
  width: 9px;
  height: 9px;
  border-radius: 2px;
  display: inline-block;
}

.cv-dot--avail {
  background: rgba(246, 243, 236, 0.25);
  border: 1px solid rgba(246, 243, 236, 0.5);
}

.cv-dot--occ {
  background: rgba(185, 68, 68, 0.55);
  border: 1px solid rgba(215, 105, 105, 0.7);
}

.cv-dot--hold {
  background: rgba(214, 158, 46, 0.65);
}

.cv-dot--turn {
  background: rgba(213, 184, 135, 0.45);
  border: 1px dashed var(--accent-gold-light);
}

.cv-cal-feedback {
  margin-top: 0.75rem;
  padding: 0.65rem 0.8rem;
  border-radius: 3px;
  font-size: 0.8rem;
  background: rgba(246, 243, 236, 0.06);
  color: rgba(246, 243, 236, 0.88);
  line-height: 1.4;
}

.cv-cal-feedback.is-error {
  background: rgba(185, 68, 68, 0.24);
  border: 1px solid rgba(229, 164, 164, 0.45);
  color: #FFD6D6;
}

.cv-quote-box {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(213, 184, 135, 0.28);
}

.cv-quote-box__note {
  font-size: 0.73rem;
  color: var(--accent-gold-light);
  margin-bottom: 0.65rem;
  letter-spacing: 0.03em;
}

.cv-quote-rows {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
  font-size: 0.82rem;
  color: rgba(246, 243, 236, 0.88);
}

.cv-quote-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.cv-quote-row--sub {
  padding-top: 0.4rem;
  margin-top: 0.2rem;
  border-top: 1px dashed rgba(246, 243, 236, 0.16);
}

.cv-quote-total {
  margin-top: 0.75rem;
  padding: 0.7rem 0.85rem;
  background: rgba(182, 145, 86, 0.18);
  border: 1px solid rgba(213, 184, 135, 0.42);
  border-radius: 3px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.cv-quote-total span {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--accent-gold-light);
}

.cv-quote-total strong {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: #FFFFFF;
}

.cv-quote-disclaimer {
  margin-top: 0.6rem;
  font-size: 0.71rem;
  color: rgba(246, 243, 236, 0.62);
  line-height: 1.38;
}

/* Synced Quote Banner inside Inquiry Form */
.cv-form-quote-banner {
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  background: #F4EFE6;
  border-left: 4px solid var(--accent-gold);
  border-radius: 3px;
}

.cv-form-quote-banner__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cv-form-quote-banner__eyebrow {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
  display: block;
}

.cv-form-quote-banner__dates {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.cv-form-quote-banner__total {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--bg-petrol);
}

.cv-form-quote-banner__meta {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
}


/* ==========================================================================
   15. HERO QUICK-BOOKING WIDGET & FORM QUOTE COPY CHECKBOX
   ========================================================================== */
.cv-hero-booking-bar {
  position: relative;
  z-index: 6;
  width: 100%;
  margin: 0 auto 1.5rem;
  background: rgba(11, 25, 29, 0.88);
  border: 1px solid rgba(213, 184, 135, 0.42);
  border-radius: 4px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(1.5rem, 3.5vw, 3.25rem);
  box-shadow: 0 24px 60px rgba(11, 25, 29, 0.22);
}

.cv-hero-booking-bar__eyebrow {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-gold-light);
  margin-bottom: 0.65rem;
}

.cv-hero-booking-bar__form {
  display: grid;
  grid-template-columns: 1fr 1fr 0.85fr auto;
  gap: 0.9rem;
  align-items: end;
}

.cv-hero-booking-bar__field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.cv-hero-booking-bar__field label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(246, 243, 236, 0.78);
}

.cv-hero-booking-bar__field input,
.cv-hero-booking-bar__field select {
  width: 100%;
  padding: 0.68rem 0.85rem;
  background: rgba(246, 243, 236, 0.1);
  border: 1px solid rgba(246, 243, 236, 0.24);
  border-radius: 3px;
  color: #FFFFFF;
  font-size: 0.88rem;
  font-family: var(--font-sans);
  color-scheme: dark;
}

.cv-hero-booking-bar__field select option {
  background: #12282D;
  color: #FFFFFF;
}

.cv-hero-booking-bar__field input:focus,
.cv-hero-booking-bar__field select:focus {
  outline: none;
  border-color: var(--accent-gold-light);
  background: rgba(246, 243, 236, 0.16);
}

.cv-hero-booking-bar__submit {
  height: 42px;
  padding: 0 1.4rem;
  white-space: nowrap;
  font-size: 0.78rem;
}

.cv-hero-booking-bar__status {
  margin-top: 0.65rem;
  font-size: 0.78rem;
  color: rgba(246, 243, 236, 0.75);
}

.cv-hero-booking-bar__status.is-available {
  color: #D5B887;
  font-weight: 500;
}

.cv-hero-booking-bar__status.is-error {
  color: #FEB2B2;
  font-weight: 500;
}

@media (max-width: 900px) {
  .cv-hero-booking-bar__form {
    grid-template-columns: 1fr 1fr;
  }
  .cv-hero-booking-bar__cta-col,
  .cv-hero-booking-bar__submit {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .cv-hero-booking-bar__form {
    grid-template-columns: 1fr;
  }
}

/* Quote Copy Checkbox Box inside Inquiry Form */
.cv-quote-copy-field {
  background: #F7F4ED;
  border: 1px solid rgba(182, 145, 86, 0.38);
  border-radius: 4px;
  padding: 1rem 1.15rem;
}

.cv-quote-copy-field__drawer {
  margin-top: 0.35rem;
  padding-top: 0.55rem;
  border-top: 1px dashed rgba(21, 35, 38, 0.12);
}

/* ==========================================================================
   SOFT TONAL TEXT SHADOWS FOR TITLES & NAVIGATION LEGIBILITY
   ========================================================================== */

/* Default headings on warm ivory/sand backgrounds: subtle deeper petrol-stone shadow */
h1, .h1, h2, .h2, h3, .h3, h4, .h4,
.highlight-card__title,
.suite-card__title,
.service-item__title,
.distance-box__place,
.essentials-item__value {
  text-shadow: 0 2px 10px rgba(15, 32, 36, 0.13), 0 1px 2px rgba(15, 32, 36, 0.09);
}

/* Headings and copy over hero videos, photography & deep petrol sections */
.hero__title,
.page-hero__title,
.ocean-band h2,
.section--petrol h2,
.section--petrol h3,
.hospitality-grid h2,
.hospitality-grid .service-item__title,
.reservation-slot__title {
  text-shadow: 0 3px 18px rgba(6, 16, 19, 0.56), 0 1px 4px rgba(6, 16, 19, 0.42);
}

.hero__subtitle,
.page-hero__lead,
.hero__eyebrow,
.page-hero .eyebrow,
.ocean-band .eyebrow,
.ocean-band .lead {
  text-shadow: 0 2px 12px rgba(6, 16, 19, 0.52), 0 1px 3px rgba(6, 16, 19, 0.36);
}

.eyebrow {
  text-shadow: 0 1px 6px rgba(118, 90, 46, 0.18);
}

/* Navigation menu links: soft dark-petrol shadow over hero video/images */
.site-nav__link,
.lang-switch,
.menu-toggle {
  text-shadow: 0 1px 9px rgba(6, 16, 19, 0.58), 0 1px 2px rgba(6, 16, 19, 0.42);
}

/* Navigation menu links when scrolled over light ivory background: subtle tonal shadow */
.site-header.is-scrolled .site-nav__link,
.site-header--solid .site-nav__link,
.site-header.is-scrolled .lang-switch,
.site-header--solid .lang-switch,
.site-header.is-scrolled .menu-toggle,
.site-header--solid .menu-toggle {
  text-shadow: 0 1px 4px rgba(15, 32, 36, 0.15);
}

.mobile-menu__link {
  text-shadow: 0 2px 14px rgba(5, 13, 16, 0.55);
}

/* ==========================================================================
   SOCIAL LINKS & SUBTLE MANAGEMENT ATTRIBUTION
   ========================================================================== */
.social-links {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.15rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(246, 243, 236, 0.2);
  background: rgba(246, 243, 236, 0.04);
  color: rgba(246, 243, 236, 0.86);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease, transform 0.3s var(--ease-luxury);
}

.social-link:hover {
  border-color: var(--accent-gold-light);
  background: rgba(246, 243, 236, 0.1);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.social-link svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex-shrink: 0;
}

.subtle-management-credit {
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: rgba(246, 243, 236, 0.52);
  transition: color 0.3s ease;
}

.subtle-management-credit a {
  color: rgba(246, 243, 236, 0.72);
  border-bottom: 1px solid rgba(213, 184, 135, 0.28);
  padding-bottom: 1px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.subtle-management-credit a:hover {
  color: var(--accent-gold-light);
  border-bottom-color: var(--accent-gold-light);
}


/* ==========================================================================
   16. HERO 2-MONTH VISUAL CALENDAR DRAWER & SMART DEPARTURE GUIDANCE
   ========================================================================== */
.cv-hero-date-trigger {
  width: 100%;
  padding: 0.68rem 0.9rem;
  background: rgba(246, 243, 236, 0.1);
  border: 1px solid rgba(246, 243, 236, 0.28);
  border-radius: 3px;
  color: #FFFFFF;
  font-size: 0.88rem;
  font-family: var(--font-sans);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.cv-hero-date-trigger:hover {
  border-color: var(--accent-gold-light);
  background: rgba(246, 243, 236, 0.16);
}

.cv-hero-cal-drawer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(213, 184, 135, 0.32);
}

.cv-hero-cal-drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.cv-hero-cal-drawer__prompt {
  font-size: 0.84rem;
  color: var(--accent-gold-light);
  font-weight: 500;
}

.cv-hero-cal-months {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}

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

.cv-hero-cal-month {
  background: rgba(11, 25, 29, 0.45);
  border: 1px solid rgba(246, 243, 236, 0.12);
  border-radius: 4px;
  padding: 0.95rem;
}

.cv-cal-day--minstay-wait,
.cv-cal-day--minstay-locked {
  opacity: 0.3;
  cursor: not-allowed !important;
}

.cv-cal-day--valid-checkout {
  border-color: rgba(213, 184, 135, 0.55);
  background: rgba(213, 184, 135, 0.14);
  color: #FFFFFF;
}
