/* ==========================================================================
   BLUE OCEAN REALTY — MASTER LANDING PAGE STYLESHEET (EXACT ORIGINAL MATCH)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Variables & Root Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand Palette */
  --color-primary: #C5A059;         /* Prestige Architectural Satin Gold */
  --color-primary-hover: #B38E46;   /* Burnished Gold Hover */
  --color-blue-bg: #003E7E;         /* Original Royal Blue Enquiry BG */
  --color-navy: #0A192F;            /* Deep Navy Header / Accent */
  --color-navy-dark: #060B14;       /* Footer & Background Dark */
  --color-gold: #C5A059;            /* Prestige Architectural Satin Gold */
  
  /* Neutral Palette */
  --color-bg-light: #F8FAFC;
  --color-surface: #FFFFFF;
  --color-surface-offset: #F1F5F9;
  --color-border: #E2E8F0;

  /* Typography Colors */
  --color-text-main: #0F172A;
  --color-text-muted: #64748B;
  --color-text-inverse: #FFFFFF;

  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout Parameters */
  --max-width: 1240px;
  --nav-height: 80px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Touch Target */
  --touch-min: 48px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

/* --------------------------------------------------------------------------
   2. Reset & Core Base Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-main);
  background-color: var(--color-surface);
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

section[id] {
  scroll-margin-top: calc(var(--nav-height) + 1.5rem);
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-navy);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 720px;
}

/* --------------------------------------------------------------------------
   3. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: var(--touch-min);
  padding: 0.875rem 1.75rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  white-space: nowrap;
}

.btn svg {
  width: 20px;
  height: 20px;
}

.btn--primary {
  background-color: var(--color-primary);
  color: #0A192F;
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.3);
}

.btn--primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
}

.btn--outline {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  backdrop-filter: blur(8px);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   4. Navigation (Original Transparent Header)
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: background var(--transition-normal), box-shadow var(--transition-normal);
}

.nav--transparent {
  background: linear-gradient(180deg, rgba(7, 13, 24, 0.8) 0%, rgba(7, 13, 24, 0) 100%);
}

.nav--scrolled {
  background: rgba(10, 25, 47, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav__logo img {
  height: 42px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: #FFFFFF;
}

.nav__link:hover {
  color: var(--color-primary);
}

.nav__cta {
  background-color: var(--color-primary);
  color: #0A192F;
  padding: 0.625rem 1.5rem;
  min-height: 44px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  transition: all var(--transition-fast);
}

.nav__cta:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-1px);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  padding: 12px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.nav__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #FFFFFF;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

.nav__toggle.is-active span:nth-child(1),
.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav__toggle.is-active span:nth-child(2),
.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__toggle.is-active span:nth-child(3),
.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav__mobile {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  width: 100%;
  max-height: calc(100dvh - var(--nav-height));
  overflow-y: auto;
  background: rgba(6, 11, 20, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1.25rem 1.5rem 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  z-index: 999;
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.nav__mobile.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav__mobile a:not(.nav__mobile-cta) {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: #FFFFFF;
  padding: 0.875rem 0.5rem;
  min-height: 48px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.15s ease, padding-left 0.15s ease;
}

.nav__mobile a:not(.nav__mobile-cta):hover,
.nav__mobile a:not(.nav__mobile-cta):active {
  color: var(--color-primary);
  padding-left: 0.85rem;
}

.nav__mobile-cta {
  background-color: var(--color-primary);
  color: #0A192F;
  text-align: center;
  padding: 0.875rem 1.5rem;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-top: 1rem;
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.25);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.nav__mobile-cta:active {
  transform: scale(0.98);
  background-color: var(--color-primary-hover);
}

/* --------------------------------------------------------------------------
   5. Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--nav-height) + 4rem);
  padding-bottom: 6rem;
  display: flex;
  align-items: center;
  color: var(--color-text-inverse);
  background-color: var(--color-navy-dark);
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

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

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(7, 13, 24, 0.82) 0%, rgba(7, 13, 24, 0.65) 50%, rgba(7, 13, 24, 0.95) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  margin-top: auto;
  margin-bottom: auto;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero__title span {
  color: var(--color-primary);
}

.hero__subtitle {
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 680px;
  margin-bottom: 2.5rem;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.hero__stat {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1.25rem;
  background: rgba(10, 25, 47, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  backdrop-filter: blur(12px);
}

.hero__stat svg {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero__scroll-line {
  display: block;
  width: 2px;
  height: 36px;
  background: linear-gradient(to bottom, var(--color-primary), transparent);
  animation: pulseScroll 2s infinite;
}

@keyframes pulseScroll {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* --------------------------------------------------------------------------
   6. Value Strip
   -------------------------------------------------------------------------- */
.value-strip {
  background-color: var(--color-navy);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.5rem 0;
  color: #FFFFFF;
}

.value-strip__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.value-strip__number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
}

.value-strip__label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   7. Gallery Section
   -------------------------------------------------------------------------- */
.gallery {
  padding: 6rem 0;
  background-color: var(--color-surface);
}

.gallery__header {
  text-align: center;
  margin-bottom: 3rem;
}

.gallery__header .section-subtitle {
  margin: 0 auto;
}

.gallery__filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.gallery__filter {
  min-height: var(--touch-min);
  padding: 0.625rem 1.5rem;
  background: var(--color-surface-offset);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text-main);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gallery__filter:hover, .gallery__filter.is-active {
  background-color: var(--color-navy);
  color: #FFFFFF;
  border-color: var(--color-navy);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.gallery__item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background-color: var(--color-navy-dark);
}

.gallery__item--featured {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery__item:hover img {
  transform: scale(1.06);
}

.gallery__item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 47, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.gallery__item-overlay svg {
  width: 36px;
  height: 36px;
  color: #FFFFFF;
}

.gallery__item:hover .gallery__item-overlay {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   8. Architectural Features & Highlights
   -------------------------------------------------------------------------- */
.highlights {
  padding: 6rem 0;
  background-color: var(--color-bg-light);
}

.highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

.highlight:last-child {
  margin-bottom: 0;
}

.highlight--reverse {
  direction: rtl;
}

.highlight--reverse > * {
  direction: ltr;
}

.highlight__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(10, 25, 47, 0.08);
  aspect-ratio: 4 / 3;
}

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

.highlight__title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 1rem;
}

.highlight__text {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  margin-bottom: 1.75rem;
}

.highlight__features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.highlight__feature {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-navy);
}

.highlight__feature svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
}

/* Specs Grid */
.features {
  padding: 6rem 0;
  background-color: var(--color-surface);
}

.features__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  padding: 1.75rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px -5px rgba(10, 25, 47, 0.1);
  border-color: var(--color-primary);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(197, 160, 89, 0.15);
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-card__icon svg {
  width: 24px;
  height: 24px;
}

.feature-card__content {
  display: flex;
  flex-direction: column;
}

.feature-card__label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.feature-card__value {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-navy);
}

/* --------------------------------------------------------------------------
   9. Location Perks & Map
   -------------------------------------------------------------------------- */
.location {
  padding: 6rem 0;
  background-color: var(--color-bg-light);
}

.location__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.location__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(10, 25, 47, 0.08);
  height: 420px;
}

.location__map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.location__address {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.location__address-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-navy);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.location__address-icon svg {
  width: 24px;
  height: 24px;
}

.location__address-text h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-navy);
}

.location__address-text p {
  color: var(--color-text-muted);
}

.location__amenities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.location__amenity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-navy);
}

.location__amenity svg {
  width: 20px;
  height: 20px;
  color: var(--color-navy);
}

/* --------------------------------------------------------------------------
   10. Gated Lead Capture Form (Now Last Before Footer)
   -------------------------------------------------------------------------- */
.enquiry {
  padding: 6rem 0;
  background-color: var(--color-blue-bg);
  color: #FFFFFF;
}

.enquiry__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.enquiry__info .section-label {
  color: var(--color-primary);
}

.enquiry__info .section-title {
  color: #FFFFFF;
  font-size: 2.5rem;
}

.enquiry__text {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
}

.enquiry__contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.enquiry__contact-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.enquiry__contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.enquiry__contact-icon svg {
  width: 22px;
  height: 22px;
}

.enquiry__contact-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.enquiry__contact-value {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
}

/* Form White Card Container */
.enquiry__form {
  background: #FFFFFF;
  color: var(--color-text-main);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
}

.enquiry__form-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 0.35rem;
}

.enquiry__form-subtitle {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-bottom: 1.75rem;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form__group {
  margin-bottom: 1.25rem;
}

.form__label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.form__input, .form__textarea {
  width: 100%;
  min-height: var(--touch-min);
  padding: 0.875rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: var(--color-bg-light);
  color: var(--color-text-main);
  transition: border-color var(--transition-fast);
}

.form__input:focus, .form__textarea:focus {
  outline: none;
  border-color: var(--color-navy);
  background-color: #FFFFFF;
}

.form__submit {
  width: 100%;
  margin-top: 0.5rem;
}

/* --------------------------------------------------------------------------
   11. Footer (Exact Original Live Site Layout Matching Image 1)
   -------------------------------------------------------------------------- */
.footer {
  background-color: #060B14;
  color: #64748B;
  padding: 4rem 0 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer__logo img {
  height: 42px;
  width: auto;
  margin-bottom: 0.75rem;
}

.footer__tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 0.9375rem;
  color: #94A3B8;
  margin-bottom: 2rem;
}

.footer__divider {
  width: 100%;
  max-width: 600px;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
}

.footer__bottom {
  max-width: 600px;
}

.footer__disclaimer {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #64748B;
  margin-bottom: 1rem;
  text-align: center;
}

.footer__copy {
  font-size: 0.8125rem;
  color: #475569;
  text-align: center;
}

/* --------------------------------------------------------------------------
   12. Lightbox Modal Viewer
   -------------------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(5, 12, 26, 0.96);
  backdrop-filter: blur(16px);
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.is-active {
  display: flex;
}

.lightbox__image-wrap img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox__close, .lightbox__nav {
  position: absolute;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox__close:hover, .lightbox__nav:hover {
  background: var(--color-primary);
  color: #0A192F;
}

.lightbox__close {
  top: 2rem;
  right: 2rem;
}

.lightbox__prev {
  left: 2rem;
}

.lightbox__next {
  right: 2rem;
}

.lightbox__counter {
  position: absolute;
  bottom: 2rem;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 1rem;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
}




/* --------------------------------------------------------------------------
   Progressive Gallery Disclosure & Load More Controls
   -------------------------------------------------------------------------- */
.gallery__actions {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.gallery__load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: var(--touch-min);
  padding: 0.875rem 2rem;
  background: transparent;
  color: var(--color-navy);
  border: 1.5px solid var(--color-navy);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gallery__load-more:hover {
  background-color: var(--color-navy);
  color: #FFFFFF;
}

.gallery__load-more svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.gallery__load-more:hover svg {
  transform: rotate(90deg);
}

.gallery__load-more-count {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  background: rgba(10, 25, 47, 0.08);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  color: inherit;
}

.gallery__load-more:hover .gallery__load-more-count {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.gallery__item.is-hidden {
  display: none !important;
}

.gallery__item.is-revealed {
  animation: galleryFadeUp 0.4s ease forwards;
}

@keyframes galleryFadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   Cinematic Video Tour & Walkthrough Engine
   -------------------------------------------------------------------------- */
.video-tour {
  padding: 6rem 0;
  background-color: var(--color-navy-dark);
  color: #FFFFFF;
}

.video-tour .section-label {
  color: var(--color-primary);
}

.video-tour .section-title {
  color: #FFFFFF;
}

.video-tour .section-subtitle {
  color: #94A3B8;
  margin: 0 auto;
}

.video-tour__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

/* Tabs */
.video-tour__tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.video-tour__tab {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1.5rem;
  min-height: 48px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: #94A3B8;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-tour__tab svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
  transition: transform 0.2s ease;
}

.video-tour__tab:hover {
  color: #FFFFFF;
  border-color: rgba(197, 160, 89, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.video-tour__tab.is-active {
  background: var(--color-primary);
  color: #0C141E;
  border-color: var(--color-primary);
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(197, 160, 89, 0.25);
}

.video-tour__tab:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

/* Panels */
.video-tour__panel {
  display: none;
}

.video-tour__panel.is-active {
  display: block;
  animation: fadeIn 0.35s ease forwards;
}

/* Room Walkthrough Interactive Player Grid */
.walkthrough-player {
  display: grid;
  grid-template-columns: minmax(320px, 420px) 1fr;
  gap: 2.5rem;
  align-items: start;
  max-width: 1140px;
  margin: 0 auto;
}

/* Player Viewport (9:16 Portrait) */
.walkthrough-player__viewport {
  background: #101B28;
  border: 1px solid rgba(197, 160, 89, 0.25);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.walkthrough-player__screen {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: #000000;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.walkthrough-player__screen iframe,
.walkthrough-player__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
  background-color: #000000;
}

.walkthrough-player__meta {
  padding-top: 1.25rem;
}

.walkthrough-player__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

.walkthrough-player__title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.3;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.walkthrough-player__desc {
  font-size: 0.875rem;
  color: #94A3B8;
  line-height: 1.55;
  margin: 0;
}

/* Playlist Column */
.walkthrough-playlist {
  background: #101B28;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}

.walkthrough-playlist__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.875rem;
  margin-bottom: 0.875rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.walkthrough-playlist__count {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.walkthrough-playlist__hint {
  font-size: 0.75rem;
  color: #64748B;
}

.walkthrough-playlist__list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  max-height: 660px;
  overflow-y: auto;
  padding-right: 0.35rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(197, 160, 89, 0.3) transparent;
}

.walkthrough-playlist__list::-webkit-scrollbar {
  width: 5px;
}

.walkthrough-playlist__list::-webkit-scrollbar-thumb {
  background: rgba(197, 160, 89, 0.3);
  border-radius: 4px;
}

/* Playlist Item Button */
.walkthrough-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.625rem;
  width: 100%;
  min-height: 64px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.walkthrough-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(197, 160, 89, 0.4);
  transform: translateX(3px);
}

.walkthrough-item.is-active {
  background: rgba(197, 160, 89, 0.1);
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.walkthrough-item:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.walkthrough-item__thumb {
  position: relative;
  width: 54px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.walkthrough-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.walkthrough-item__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  color: #FFFFFF;
  transition: all 0.2s ease;
}

.walkthrough-item__play svg {
  width: 14px;
  height: 14px;
}

.walkthrough-item:hover .walkthrough-item__play {
  background: rgba(0, 0, 0, 0.5);
  color: var(--color-primary);
}

.walkthrough-item.is-active .walkthrough-item__play {
  background: rgba(12, 20, 30, 0.65);
  color: var(--color-primary);
}

.walkthrough-item__info {
  flex: 1;
  min-width: 0;
}

.walkthrough-item__area {
  display: block;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 0.2rem;
  font-weight: 600;
}

.walkthrough-item__title {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0 0 0.25rem 0;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.walkthrough-item__duration {
  display: inline-block;
  font-size: 0.6875rem;
  color: #94A3B8;
  font-variant-numeric: tabular-nums;
}

/* YouTube Cinematic Frame Container */
.video-tour__wrapper {
  max-width: 1040px;
  margin: 0 auto;
}

.video-tour__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: #000000;
}

.video-tour__frame iframe,
.video-tour__player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
  background-color: #000000;
}

/* Step Controls & Mobile Horizontal Story Strip (Base Desktop Contract: Hidden on Desktop) */
.walkthrough-step-nav {
  display: none;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  gap: 0.5rem;
}

.walkthrough-step-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.875rem;
  min-height: 44px;
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: var(--radius-sm);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.walkthrough-step-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.walkthrough-step-btn:hover:not(:disabled) {
  background: var(--color-primary);
  color: #0A192F;
}

.walkthrough-step-btn:active:not(:disabled) {
  transform: scale(0.97);
}

.walkthrough-step-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.1);
  background: transparent;
  color: #64748B;
}

.walkthrough-step-counter {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.04em;
  text-align: center;
}

.walkthrough-story-strip {
  display: none;
  gap: 0.625rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-top: 1rem;
  padding: 0.35rem 0.1rem;
}

.walkthrough-story-strip::-webkit-scrollbar {
  display: none;
}

.story-strip-item {
  flex: 0 0 108px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 0.45rem;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  color: inherit;
}

.story-strip-item:hover {
  border-color: rgba(197, 160, 89, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.story-strip-item:active {
  transform: scale(0.97);
}

.story-strip-item.is-active {
  border-color: var(--color-primary);
  background: rgba(197, 160, 89, 0.14);
  box-shadow: 0 0 14px rgba(197, 160, 89, 0.28);
}

.story-strip-item__thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 12;
  border-radius: 3px;
  overflow: hidden;
  background: #000000;
  margin-bottom: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.story-strip-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.story-strip-item__idx {
  position: absolute;
  bottom: 3px;
  left: 3px;
  font-size: 0.625rem;
  font-weight: 700;
  color: #FFFFFF;
  background: rgba(0, 0, 0, 0.75);
  padding: 1px 4px;
  border-radius: 2px;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.story-strip-item__info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.story-strip-item__title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}

.story-strip-item__dur {
  font-size: 0.6875rem;
  color: #94A3B8;
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   MASTER RESPONSIVE OPTIMIZATION SYSTEM (STRICTLY SCOPED TO MOBILE / TABLET)
   Desktop layout (>= 992px) is preserved 1:1 without alteration.
   ========================================================================== */

/* Tablet & Landscape Mobile (max-width: 991px) */
@media (max-width: 991px) {
  .hero__title {
    font-size: clamp(2rem, 5vw, 2.75rem);
  }

  .highlight, .highlight--reverse {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    direction: ltr;
  }

  .enquiry__inner, .location__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  /* Walkthrough Engine: Switch from dual-column playlist to Step Nav + Story Strip */
  .walkthrough-player {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 480px;
    margin: 0 auto;
  }

  .walkthrough-player__viewport {
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
    padding: 1.25rem 1rem;
  }

  /* Optimized Mobile Video Viewport: Constrained optical frame, centered, zero crop */
  .walkthrough-player__screen {
    width: 100%;
    max-width: 270px;
    aspect-ratio: 9 / 16;
    margin: 0 auto;
    border-radius: var(--radius-md);
    background-color: #000000;
    border: 1px solid rgba(197, 160, 89, 0.35);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
  }

  .walkthrough-player__video {
    object-fit: contain;
    background-color: #000000;
  }

  .walkthrough-player__meta {
    padding-top: 1rem;
    text-align: center;
  }

  .walkthrough-player__badge {
    margin-bottom: 0.25rem;
  }

  .walkthrough-player__title {
    font-size: 1.2rem;
    margin-bottom: 0.35rem;
  }

  .walkthrough-player__desc {
    font-size: 0.8125rem;
    max-width: 420px;
    margin: 0 auto;
  }

  .walkthrough-playlist {
    display: none !important; /* Eliminates vertical pogo-sticking on smaller screens */
  }

  .walkthrough-step-nav {
    display: flex;
  }

  .walkthrough-story-strip {
    display: flex;
  }
}

/* Primary Mobile Breakpoint (max-width: 768px) */
@media (max-width: 768px) {
  :root {
    --container-padding: 1.25rem;
  }

  /* Section Spacing Balance (Luxury breathing room without excessive dead space) */
  .gallery,
  .highlights,
  .video-tour,
  .features,
  .location,
  .enquiry {
    padding: 4rem 0;
  }

  /* Section Headings */
  .section-label {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    margin-bottom: 0.5rem;
  }

  .section-title {
    font-size: clamp(1.75rem, 5.5vw, 2.15rem);
    margin-bottom: 0.75rem;
    line-height: 1.2;
  }

  .section-subtitle {
    font-size: 0.9375rem;
    line-height: 1.55;
  }

  /* Navigation */
  .nav__links {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  /* Hero Section: 100dvh Stability & Thumb-Friendly Layout */
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: calc(var(--nav-height) + 1.25rem);
    padding-bottom: 3rem;
  }

  .hero__title {
    font-size: clamp(1.85rem, 6vw, 2.25rem);
    line-height: 1.15;
    margin-bottom: 1rem;
    word-break: break-word;
  }

  .hero__subtitle {
    font-size: clamp(0.95rem, 3.5vw, 1.125rem);
    line-height: 1.55;
    margin-bottom: 1.75rem;
  }

  /* Hero Stats: Precision 2-Column Cockpit Grid */
  .hero__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.625rem;
    width: 100%;
    margin-bottom: 2rem;
  }

  .hero__stat {
    padding: 0.625rem 0.75rem;
    font-size: 0.8125rem;
    gap: 0.5rem;
    min-height: 44px;
    border-radius: var(--radius-sm);
    justify-content: flex-start;
  }

  .hero__stat:last-child {
    grid-column: 1 / -1;
  }

  .hero__stat svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  /* Hero Actions: Full-Width Stacked Touch Targets */
  .hero__actions {
    flex-direction: column;
    width: 100%;
    gap: 0.875rem;
  }

  .hero__actions .btn {
    width: 100%;
    min-height: 50px;
    font-size: 1rem;
    justify-content: center;
  }

  .hero__scroll {
    display: none;
  }

  /* Value Strip: 2x2 Executive Sheet Grid */
  .value-strip {
    padding: 2rem 0;
  }

  .value-strip__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 0.75rem;
  }

  .value-strip__number {
    font-size: clamp(1.4rem, 4.5vw, 1.85rem);
    line-height: 1.2;
    margin-bottom: 0.25rem;
  }

  .value-strip__label {
    font-size: 0.75rem;
    letter-spacing: 0.04em;
  }

  /* Gallery: Horizontal Category Reel & 2-Column Photo Grid */
  .gallery__filters {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start;
    padding: 0.25rem 1rem;
    margin-left: calc(-1 * var(--container-padding));
    margin-right: calc(-1 * var(--container-padding));
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
    gap: 0.5rem;
    margin-bottom: 1.75rem;
  }

  .gallery__filters::-webkit-scrollbar {
    display: none;
  }

  .gallery__filter {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    min-height: 44px;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.625rem;
  }

  .gallery__item--featured {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 16 / 10;
  }

  .gallery__item {
    border-radius: var(--radius-sm);
  }

  .gallery__item:active {
    transform: scale(0.98);
  }

  .gallery__actions {
    margin-top: 2rem;
  }

  .gallery__load-more {
    width: 100%;
    max-width: 320px;
    min-height: 48px;
  }

  /* Architectural Highlights: Proportional Cards */
  .highlight, .highlight--reverse {
    gap: 1.5rem;
    margin-bottom: 3.5rem;
  }

  .highlight__image {
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-md);
  }

  .highlight__title {
    font-size: clamp(1.35rem, 4.5vw, 1.65rem);
    margin-bottom: 0.75rem;
  }

  .highlight__text {
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
  }

  .highlight__features {
    gap: 0.5rem;
  }

  .highlight__feature {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
  }

  /* Video Tour: Side-by-Side Presentation Mode Tabs */
  .video-tour__tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
    width: 100%;
    margin-bottom: 2rem;
  }

  .video-tour__tab {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 0.5rem;
    font-size: 0.75rem;
    gap: 0.4rem;
    min-height: 48px;
    letter-spacing: 0.04em;
  }

  .video-tour__tab svg {
    width: 14px;
    height: 14px;
  }

  .walkthrough-player__viewport {
    padding: 1rem 0.875rem;
    border-radius: var(--radius-md);
  }

  .walkthrough-player__screen {
    max-width: 250px;
  }

  .walkthrough-player__title {
    font-size: 1.15rem;
  }

  .walkthrough-player__desc {
    font-size: 0.8125rem;
  }

  /* Features / Specifications: Linear Setting Cards */
  .features__grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .feature-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    transition: all var(--transition-fast);
  }

  .feature-card:hover {
    transform: none;
  }

  .feature-card__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(197, 160, 89, 0.15);
    color: var(--color-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .feature-card__icon svg {
    width: 22px;
    height: 22px;
  }

  .feature-card__content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .feature-card__label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 0.2rem;
    line-height: 1.2;
  }

  .feature-card__value {
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--color-navy);
    line-height: 1.35;
    word-break: normal;
    overflow-wrap: break-word;
  }

  /* Location Section */
  .location__map {
    height: 280px;
    border-radius: var(--radius-md);
  }

  .location__address {
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    gap: 0.875rem;
  }

  .location__address-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
  }

  .location__address-text h4 {
    font-size: 1.125rem;
  }

  .location__address-text p {
    font-size: 0.875rem;
  }

  .location__amenities {
    grid-template-columns: 1fr 1fr;
    gap: 1rem 0.75rem;
  }

  .location__amenity {
    font-size: 0.875rem;
    gap: 0.5rem;
  }

  /* Enquiry & Contact Form (Immutable Brand Anchor Mobile Optimization) */
  .enquiry__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .enquiry__info .section-title {
    font-size: clamp(1.75rem, 5vw, 2.15rem);
  }

  .enquiry__text {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .enquiry__contact-items {
    gap: 1rem;
  }

  .enquiry__contact-item {
    gap: 1rem;
  }

  .enquiry__contact-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }

  .enquiry__form {
    padding: 1.75rem 1.25rem;
    border-radius: var(--radius-md);
  }

  .enquiry__form-title {
    font-size: 1.5rem;
  }

  .enquiry__form-subtitle {
    margin-bottom: 1.25rem;
  }

  .form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Prevent iOS Safari 16px Auto-Zoom on Input Focus */
  .form__input,
  .form__textarea {
    font-size: 1rem !important;
    padding: 0.875rem;
    min-height: 48px;
  }

  .form__submit {
    min-height: 52px;
    font-size: 1rem;
  }

  /* Compliance Footer */
  .footer {
    padding: 3rem 0 2.5rem 0;
  }

  .footer__logo img {
    height: 38px;
  }

  .footer__tagline {
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
  }

  .footer__disclaimer {
    font-size: 0.75rem;
    line-height: 1.55;
  }

  .footer__copy {
    font-size: 0.75rem;
  }

  /* Lightbox Modal: Ergonomic Touch Nav & Safe Insets */
  .lightbox__close {
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 2005;
  }

  .lightbox__nav {
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
  }

  .lightbox__prev {
    left: 0.75rem;
  }

  .lightbox__next {
    right: 0.75rem;
  }

  .lightbox__counter {
    bottom: 1.25rem;
    font-size: 0.875rem;
    padding: 0.35rem 0.85rem;
  }

  .lightbox__image-wrap img {
    max-width: 96vw;
    max-height: 80vh;
  }
}

/* Compact Mobile Devices (max-width: 480px) */
@media (max-width: 480px) {
  :root {
    --container-padding: 1rem;
  }

  .hero__title {
    font-size: 1.85rem;
  }

  .video-tour__tabs {
    grid-template-columns: 1fr;
  }

  .location__amenities {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .story-strip-item {
    flex: 0 0 98px;
    padding: 0.35rem;
  }

  .walkthrough-player__screen {
    max-width: 230px;
    border-radius: var(--radius-sm);
  }

  .walkthrough-player__title {
    font-size: 1.05rem;
  }

  .walkthrough-player__desc {
    font-size: 0.775rem;
  }

  .feature-card {
    padding: 0.875rem 1rem;
    gap: 0.875rem;
  }

  .feature-card__icon {
    width: 40px;
    height: 40px;
  }

  .feature-card__icon svg {
    width: 20px;
    height: 20px;
  }

  .feature-card__label {
    font-size: 0.6875rem;
    margin-bottom: 0.15rem;
  }

  .feature-card__value {
    font-size: 0.95rem;
    line-height: 1.3;
  }

  .story-strip-item__title {
    font-size: 0.6875rem;
  }

  .gallery__grid {
    gap: 0.5rem;
  }
}

/* Image Leak & Broken Alt Prevention */
.hero__bg img[src=""], .hero__bg img:not([src]),
.gallery__item img[src=""], .gallery__item img:not([src]),
.highlight__image img[src=""], .highlight__image img:not([src]) {
  display: none !important;
}


/* --------------------------------------------------------------------------
   Mobile Fullscreen Story / Reel Engine & Unified Mobile Showcase (Option 1)
   -------------------------------------------------------------------------- */
.video-tour__desktop-showcase {
  display: block;
}

.video-tour__mobile-showcase {
  display: none;
}

/* Mobile Showcase Display (< 992px) */
@media (max-width: 991px) {
  .video-tour__desktop-showcase {
    display: none !important;
  }

  .video-tour__mobile-showcase {
    display: block !important;
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
  }

  /* 16:9 Widescreen Cinema Section */
  .mobile-cinema {
    margin-bottom: 2.25rem;
  }

  .mobile-cinema__frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #000000;
    border: 1px solid rgba(197, 160, 89, 0.3);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  }

  .mobile-cinema__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000000;
    border: 0;
  }

  .mobile-cinema__meta {
    padding: 0.75rem 0.25rem 0;
    text-align: left;
  }

  .mobile-cinema__badge {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    display: block;
    margin-bottom: 0.2rem;
  }

  .mobile-cinema__title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: #FFFFFF;
    line-height: 1.3;
    margin: 0;
  }

  /* 11-Room Walkthrough Reels Strip */
  .mobile-reels {
    width: 100%;
  }

  .mobile-reels__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 0.875rem;
    gap: 0.5rem;
  }

  .mobile-reels__badge {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    display: block;
    margin-bottom: 0.15rem;
  }

  .mobile-reels__title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0;
    line-height: 1.25;
  }

  .mobile-reels__hint {
    font-size: 0.6875rem;
    color: #94A3B8;
    background: rgba(255, 255, 255, 0.06);
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    flex-shrink: 0;
  }

  .mobile-reels__strip {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.75rem;
    margin-left: calc(-1 * var(--container-padding));
    margin-right: calc(-1 * var(--container-padding));
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
  }

  .mobile-reels__strip::-webkit-scrollbar {
    display: none;
  }

  .mobile-reel-card {
    flex: 0 0 135px;
    scroll-snap-align: start;
    background: #101B28;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    overflow: hidden;
    text-align: left;
    padding: 0;
    cursor: pointer;
    transition: transform var(--transition-fast), border-color var(--transition-fast);
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-reel-card:active {
    transform: scale(0.96);
    border-color: var(--color-primary);
  }

  .mobile-reel-card__thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #000000;
  }

  .mobile-reel-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .mobile-reel-card__idx {
    position: absolute;
    top: 0.35rem;
    left: 0.35rem;
    font-size: 0.625rem;
    font-weight: 700;
    color: #0C141E;
    background: var(--color-primary);
    padding: 0.1rem 0.35rem;
    border-radius: 3px;
    line-height: 1.2;
  }

  .mobile-reel-card__dur {
    position: absolute;
    bottom: 0.35rem;
    right: 0.35rem;
    font-size: 0.625rem;
    font-weight: 600;
    color: #FFFFFF;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    padding: 0.1rem 0.35rem;
    border-radius: 3px;
    line-height: 1.2;
  }

  .mobile-reel-card__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.25);
    color: var(--color-primary);
  }

  .mobile-reel-card__play svg {
    width: 30px;
    height: 30px;
    padding: 6px;
    border-radius: 50%;
    background: rgba(12, 20, 30, 0.7);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(197, 160, 89, 0.45);
  }

  .mobile-reel-card__info {
    padding: 0.5rem 0.6rem;
  }

  .mobile-reel-card__area {
    display: block;
    font-size: 0.625rem;
    color: #94A3B8;
    margin-bottom: 0.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-reel-card__title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.25;
    margin: 0;
  }
}

/* Fullscreen Mobile Story / Reel Modal */
.story-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #000000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateY(20px);
}

.story-modal.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.story-modal[hidden] {
  display: none !important;
}

.story-modal__scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(16, 27, 40, 0.3) 0%, rgba(0, 0, 0, 0.95) 100%);
  pointer-events: none;
}

/* Story Header */
.story-modal__header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: calc(env(safe-area-inset-top, 12px) + 8px) 1rem 1.25rem;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 70%, rgba(0, 0, 0, 0) 100%);
  pointer-events: auto;
}

.story-modal__progress {
  display: flex;
  gap: 4px;
  width: 100%;
  margin-bottom: 0.75rem;
}

.story-progress-bar {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.story-progress-bar__fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--color-primary);
  border-radius: 2px;
  transition: width 0.1s linear;
}

.story-modal__top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.story-modal__meta {
  flex: 1;
  padding-right: 1rem;
}

.story-modal__badge {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  display: block;
  margin-bottom: 0.15rem;
}

.story-modal__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.2;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.story-modal__actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.story-modal__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(16, 27, 40, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}

.story-modal__btn:active {
  background: rgba(197, 160, 89, 0.25);
  border-color: var(--color-primary);
}

/* Story Viewport */
.story-modal__viewport {
  flex: 1;
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000000;
}

.story-modal__video {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: #000000;
}

/* Tap Zones */
.story-modal__tap {
  position: absolute;
  top: 80px;
  bottom: 100px;
  z-index: 10;
  background: transparent;
  border: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.story-modal__tap--prev {
  left: 0;
  width: 30%;
}

.story-modal__tap--toggle {
  left: 30%;
  width: 40%;
}

.story-modal__tap--next {
  right: 0;
  width: 30%;
}

/* Center State Indicator */
.story-modal__state-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(12, 20, 30, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(197, 160, 89, 0.45);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 15;
}

.story-modal__state-icon.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Story Footer */
.story-modal__footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 1.5rem 1rem calc(env(safe-area-inset-bottom, 16px) + 8px);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}

.story-modal__desc {
  font-size: 0.8125rem;
  color: #CBD5E1;
  line-height: 1.45;
  margin-bottom: 0.5rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.story-modal__bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.story-modal__counter {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.05em;
}

.story-modal__hint {
  font-size: 0.6875rem;
  color: #94A3B8;
}
