/* =========================
   COLOR THEME: #263948 Navy Blue & Variations
   ========================= */

:root {
  --bg: #eef2f5;
  --bg-soft: #dce5ec;
  --panel: rgba(240, 246, 250, 0.96);
  --panel-border: rgba(38, 57, 72, 0.16);

  --gold: #263948;
  --gold-dark: #1a2a36;
  --gold-soft: #2e4a5f;

  --text: #2e4a5f;
  --text-strong: #0f1e28;
  --text-soft: #2e4a5f;
  --text-muted: #4a6275;
  --line: rgba(38, 57, 72, 0.10);

  --white-card: #ddeaf2;
  --white-card-2: #e8f1f7;
  --shadow: 0 18px 50px rgba(38, 57, 72, 0.10);

  --transition: all .3s ease;
}

/* base */
body {
  background:
    radial-gradient(circle at top left, rgba(38, 57, 72, 0.10), transparent 28%),
    linear-gradient(180deg, #e8f0f5 0%, #d8e5ee 100%);
  color: var(--text);
}

/* headings */
h1, h2, h3, h4, h5, h6,
.luxury-font {
  color: var(--text-strong);
}

/* normal text */
p,
li,
span,
label,
small,
td,
th,
input,
textarea {
  color: var(--text-soft);
}

/* force-remove faded white utility colors */
.text-white\/45,
.text-white\/52,
.text-white\/60,
.text-white\/65,
.text-white\/68,
.text-white\/70,
.text-white\/72,
.text-white\/80,
.text-white\/84,
.text-white\/90 {
  color: var(--text-soft) !important;
}

/* slightly darker muted text */
.text-gray-300,
.text-gray-400,
.text-gray-500 {
  color: var(--text-muted) !important;
}

/* cards / sections */
.glass,
.lux-card,
.panel-inner,
.modal-panel,
.mobile-bottom-card .card-content,
.config-card,
.config-table-shell {
  background: linear-gradient(180deg, rgba(240, 248, 255, 0.96), rgba(224, 237, 246, 0.92));
  border-color: var(--panel-border);
  color: var(--text);
  box-shadow: var(--shadow);
}

/* section subtitles */
.section-title p,
.price-tag p,
.config-meta-item,
.why-card p,
.amenity-card p,
.spec-card p,
#contact p,
footer p {
  color: var(--text-soft) !important;
}

/* tables */
th {
  color: var(--gold-dark) !important;
  background: rgba(38, 57, 72, 0.06);
  border-bottom-color: rgba(38, 57, 72, 0.10);
}

td {
  color: var(--text-soft) !important;
  border-bottom-color: rgba(38, 57, 72, 0.08);
}

/* location tabs */
.tab-btn {
  background: rgba(255, 255, 255, 0.60);
  color: var(--text-soft) !important;
  border-color: rgba(38, 57, 72, 0.16);
}

.tab-btn.active,
.tab-btn:hover {
  background: rgba(38, 57, 72, 0.10);
  color: var(--gold-dark) !important;
  border-color: rgba(38, 57, 72, 0.34);
}

.tab-pane,
.tab-pane * {
  color: var(--text-soft);
}

/* hero panel */
.location-tag,
.config-badge,
.gold-line + * {
  color: var(--gold-dark);
}

.hl {
  background: rgba(255, 255, 255, 0.56);
  border-color: rgba(38, 57, 72, 0.10);
}

.hl .value {
  color: var(--gold-dark);
}

.hl .label {
  color: var(--text-muted);
}

.price-tag {
  background: linear-gradient(180deg, rgba(38, 57, 72, 0.10), rgba(255, 255, 255, 0.44));
  border-color: rgba(38, 57, 72, 0.16);
}

.price-tag h3 {
  color: var(--text-strong);
}

/* buttons */
.btn-gold {
  background: linear-gradient(135deg, #2e5470, #1a2e3d);
  color: #f0f6fa !important;
  border: none;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(38, 57, 72, 0.30);
}

.btn-outline-lux,
.pill-btn {
  background: rgba(255, 255, 255, 0.6);
  color: var(--gold-dark) !important;
  border-color: rgba(38, 57, 72, 0.26);
}

.btn-outline-lux:hover {
  background: rgba(38, 57, 72, 0.10);
  border-color: #263948;
  transform: translateY(-2px);
}

/* forms */
.form-grid input,
.form-grid textarea,
.modal-form input,
.modal-form textarea,
.hero-mobile-form input,
.hero-mobile-form textarea {
  background: var(--white-card-2) !important;
  color: var(--text-strong) !important;
  border: 1.4px solid rgba(38, 57, 72, 0.18) !important;
}

.form-grid input::placeholder,
.form-grid textarea::placeholder,
.modal-form input::placeholder,
.modal-form textarea::placeholder,
.hero-mobile-form input::placeholder,
.hero-mobile-form textarea::placeholder {
  color: var(--text-muted) !important;
}

.form-grid input:focus,
.form-grid textarea:focus,
.modal-form input:focus,
.modal-form textarea:focus,
.hero-mobile-form input:focus,
.hero-mobile-form textarea:focus {
  background: #ffffff !important;
  border-color: rgba(38, 57, 72, 0.55) !important;
}

/* footer */
.footer-shell {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.10));
  border-top-color: rgba(38, 57, 72, 0.10);
}

.footer-shell a {
  color: var(--text-soft) !important;
}

/* floating buttons */
.float-btn,
.carousel-btn,
.close-modal {
  background: rgba(240, 248, 255, 0.94);
  color: var(--gold-dark) !important;
  border-color: rgba(38, 57, 72, 0.14);
}

/* mobile hero special text */
.mobile-bottom-card h2,
.mobile-bottom-card .luxury-font,
.mobile-bottom-card .price-tag h3 {
  color: var(--text-strong) !important;
}

.mobile-bottom-card p,
.mobile-bottom-card span,
.mobile-bottom-card label {
  color: var(--text-soft) !important;
}

/* overlay text on images should stay light */
.overlay-copy,
.overlay-copy h3,
.gallery-lightbox .lightbox-btn,
.gallery-lightbox .lightbox-close {
  color: #f0f8ff !important;
}

/* ========================= */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

h1,h2,h3,h4,.luxury-font { font-family: 'Cormorant Garamond', serif; letter-spacing: .02em; }

.section-shell {
  width: min(1240px, calc(100% - 32px));
  margin-inline: auto;
}

.glass {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.gold-line {
  width: 90px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #263948, transparent);
  margin: 0 auto;
}

.header-blur {
  background: rgba(232, 242, 248, 0.88);
  border-bottom: 1px solid rgba(38, 57, 72, 0.10);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-link {
  color: var(--text-soft);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.nav-link:hover {
  color: var(--gold-dark);
}

.btn-gold {
  background: linear-gradient(135deg, #2e5470, #1a2e3d);
  color: #f0f6fa;
  box-shadow: 0 10px 28px rgba(38, 57, 72, 0.22);
  transition: var(--transition);
  cursor: pointer;
}

.btn-outline-lux {
  border: 1px solid rgba(38, 57, 72, 0.36);
  color: #263948;
  background: rgba(255, 255, 255, 0.44);
  transition: var(--transition);
  cursor: pointer;
}

.hero-master {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  isolation: isolate;
  overflow: hidden;
}

.hero-bg,
.hero-bg::after,
.hero-bg::before {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroZoom 13s ease-in-out infinite alternate;
  filter: saturate(1.02) contrast(1.01) brightness(.92);
}

.hero-bg::before {
  content: '';
  z-index: 1;
}

.hero-bg::after {
  content: '';
  background: radial-gradient(circle at 72% 32%, rgba(38, 57, 72, 0.14), transparent 28%);
  z-index: 2;
}

.hero-grid {
  position: relative;
  z-index: 3;
  width: min(1320px, calc(100% - 30px));
  margin: auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: end;
  padding: 110px 0 42px;
}

.desktop-right-panel {
  align-self: end;
  animation: panelFloat .95s ease forwards;
}

.panel-inner {
  border-radius: 34px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(240, 248, 255, 0.92), rgba(220, 236, 248, 0.96));
  border: 1px solid rgba(38, 57, 72, 0.16);
  box-shadow: 0 35px 90px rgba(38, 57, 72, 0.14);
  position: relative;
  overflow: hidden;
}

.panel-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(38, 57, 72, 0.55), transparent);
}

.panel-inner h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 600;
  color: #0f1e28;
}

.location-tag {
  margin-top: 4px;
  color: #1a3a52;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: .76rem;
}

.highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 22px 0 22px;
}

.hl {
  padding: 16px 10px;
  border-radius: 20px;
  border: 1px solid rgba(38, 57, 72, 0.10);
  background: rgba(255, 255, 255, 0.56);
  text-align: center;
  transition: var(--transition);
}

.hl:hover {
  transform: translateY(-3px);
  background: rgba(38, 57, 72, 0.07);
}

.hl .value {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  color: #1a2e3d;
  line-height: 1;
}

.hl .label {
  display: block;
  margin-top: 8px;
  font-size: .78rem;
  color: #4a6275;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.price-tag {
  padding: 20px 22px;
  border: 1px solid rgba(38, 57, 72, 0.14);
  background: linear-gradient(180deg, rgba(38, 57, 72, 0.09), rgba(255, 255, 255, 0.34));
  border-radius: 24px;
  margin-bottom: 18px;
}

.price-tag p {
  margin: 0 0 8px;
  color: #3a5570;
  font-size: .92rem;
}

.price-tag h3 {
  margin: 0;
  font-size: clamp(1.9rem, 2.7vw, 2.7rem);
  color: #0f1e28;
  line-height: 1;
}

.cta-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.enquiry-form-desktop {
  padding-top: 12px;
  border-top: 1px solid rgba(38, 57, 72, 0.08);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-grid input,
.form-grid textarea,
.modal-form input,
.modal-form textarea {
  width: 100%;
  border-radius: 18px;
  border: 1.4px solid rgba(38, 57, 72, 0.18);
  background: #f0f7fc;
  color: #0f1e28;
  padding: 14px 16px;
  outline: none;
  transition: var(--transition);
  font-size: .95rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 6px 16px rgba(38,57,72,.04);
}

.form-grid input:focus,
.form-grid textarea:focus,
.modal-form input:focus,
.modal-form textarea:focus {
  border-color: rgba(38, 57, 72, 0.55);
  box-shadow: 0 0 0 4px rgba(38, 57, 72, 0.10), 0 10px 24px rgba(38,57,72,.08);
  background: #ffffff;
}

.form-grid input::placeholder,
.modal-form input::placeholder,
.modal-form textarea::placeholder {
  color: rgba(38, 57, 72, 0.45);
}

.submit-btn {
  border: 0;
  min-height: 50px;
  border-radius: 16px;
  font-weight: 700;
  cursor: pointer;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  font-size: .78rem;
  color: #3a5570;
  line-height: 1.5;
}

.modal-consent-label input {
  accent-color: #263948;
  margin-top: 3px;
  width: 10% !important;
}

.mobile-bottom-card {
  display: none;
  position: relative;
  z-index: 5;
  width: min(100%, calc(100% - 20px));
  margin: -24px auto 0;
}

.mobile-bottom-card .card-content {
  border-radius: 28px 28px 0 0;
  padding: 22px 16px 18px;
  background: linear-gradient(180deg, rgba(240,248,255,.98), rgba(220,236,248,.98));
  border: 1px solid rgba(38, 57, 72, 0.12);
  box-shadow: 0 10px 40px rgba(38, 57, 72, 0.08);
}

.mobile-cta-new { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.mobile-scroll-cue {
  display: none;
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 4;
  text-align: center;
  color: #263948;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  animation: bounceCue 1.8s infinite;
}

.mobile-scroll-cue .line {
  width: 1px;
  height: 28px;
  background: linear-gradient(180deg, rgba(38,57,72,.18), rgba(38,57,72,.72));
  margin: 8px auto 0;
}

.section-title {
  text-align: center;
  margin-bottom: 30px;
}

.section-title h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  margin: 0 0 10px;
  font-weight: 600;
  color: #0f1e28;
}

.section-title p {
  margin: 0;
  color: #3a5570;
  font-size: .96rem;
  max-width: 720px;
  margin-inline: auto;
  line-height: 1.75;
}

.lux-card {
  border-radius: 28px;
  border: 1px solid rgba(38, 57, 72, 0.14);
  background: linear-gradient(180deg, rgba(240,248,255,.88), rgba(220,236,248,.72));
  transition: var(--transition);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(38, 57, 72, 0.07);
}

.lux-card:hover {
  transform: translateY(-6px);
  border-color: rgba(38, 57, 72, 0.26);
  box-shadow: 0 18px 40px rgba(38, 57, 72, 0.12);
}

/* Dark lux-card for about/why sections */
#about .lux-card,
#why-invest .lux-card,
#contact .lux-card {
  background: linear-gradient(180deg, #1e3345, #263948);
  border-color: rgba(255,255,255,0.08);
  color: #c8dce8;
}

#about .lux-card h3,
#about .lux-card h4,
#why-invest .lux-card h3,
#contact .lux-card h2 {
  color: #e8f4fd;
}

#about .lux-card p,
#why-invest .lux-card p,
#contact .lux-card p {
  color: #8aaec4 !important;
}

#about .lux-card .spec-card {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.10);
}

#about .lux-card .spec-card p,
#about .lux-card .spec-card h4 {
  color: #c8dce8 !important;
}

/* About section gold-like accent → navy accent */
#about .lux-card [class*="text-[#f1dfba]"],
.text-\[\#f1dfba\] {
  color: #7fb5d5 !important;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.about-grid,
.location-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 28px;
  align-items: center;
}

.image-frame {
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(38, 57, 72, 0.10);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}

.image-frame:hover img { transform: scale(1.05); }

.image-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 15%, rgba(38,57,72,.18) 100%);
}

.spec-grid,
.why-grid,
.amenity-grid,
.gallery-grid,
.plans-grid {
  display: grid;
  gap: 20px;
}

.spec-grid { grid-template-columns: repeat(3, 1fr); }
.why-grid { grid-template-columns: repeat(3, 1fr); }
.amenity-grid { grid-template-columns: repeat(4, 1fr); }

.carousel-shell {
  position: relative;
  margin-top: 26px;
  display: none;
}

.carousel-viewport {
  overflow: hidden;
  border-radius: 28px;
}

.carousel-track {
  display: flex;
  gap: 18px;
  transition: transform .55s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}

.carousel-item {
  min-width: calc(25% - 13.5px);
  flex: 0 0 calc(25% - 13.5px);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(38, 57, 72, 0.16);
  background: rgba(240, 248, 255, .94);
  color: #263948;
  box-shadow: 0 10px 26px rgba(38,57,72,.10);
  z-index: 3;
  cursor: pointer;
  font-size: 1.4rem;
  display: grid;
  place-items: center;
}

.carousel-btn.prev { left: -10px; }
.carousel-btn.next { right: -10px; }
.gallery-grid { grid-template-columns: repeat(4, 1fr); }
.plans-grid { grid-template-columns: repeat(2, 1fr); }

.config-table-shell {
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(38, 57, 72, 0.14);
  background: rgba(255,255,255,.72);
}

.config-cards {
  display: none;
  gap: 14px;
  margin-top: 26px;
}

.config-card {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(38, 57, 72, 0.14);
  background: linear-gradient(180deg, rgba(240,248,255,.92), rgba(220,236,248,.80));
  box-shadow: 0 12px 30px rgba(38,57,72,.06);
}

.config-card .config-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.config-badge {
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #1a3a52;
  background: rgba(38, 57, 72, 0.08);
  border: 1px solid rgba(38, 57, 72, 0.14);
  padding: 8px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.config-card h3 {
  margin: 0 0 6px;
  font-size: 2rem;
  color: #0f1e28;
}

.config-meta {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.config-meta-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(38, 57, 72, 0.08);
  font-size: .92rem;
  color: #3a5570;
}

.config-meta-item strong {
  color: #0f1e28;
  font-weight: 600;
}

.config-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 17px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(38, 57, 72, 0.08);
}

th {
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #1a3a52;
  background: rgba(38, 57, 72, 0.05);
}

td { color: #2e4a5f; font-size: .95rem; }

.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(38, 57, 72, 0.24);
  color: #1a3a52;
  background: rgba(38, 57, 72, 0.06);
  font-size: .88rem;
  transition: var(--transition);
  cursor: pointer;
}

.pill-btn:hover {
  background: rgba(38, 57, 72, 0.12);
  transform: translateY(-1px);
}

.why-card,
.amenity-card,
.gallery-card,
.plan-card,
.spec-card {
  padding: 22px;
}

.why-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.20);
  color: #a8cfe0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  margin-bottom: 16px;
  background: rgba(255,255,255,0.08);
}

.amenity-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(38, 57, 72, 0.06);
  border: 1px solid rgba(38, 57, 72, 0.14);
  color: #1a3a52;
  font-size: 1.25rem;
  margin-bottom: 14px;
}

/* Amenities section light cards */
#amenities .amenity-card {
  background: linear-gradient(180deg, rgba(240,248,255,.90), rgba(220,236,248,.75));
}

#amenities .amenity-card h3 {
  color: #0f1e28;
}

#amenities .amenity-card p {
  color: #3a5570 !important;
}

.gallery-card,
.plan-card { padding: 0; }

.gallery-card img,
.plan-card img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 1s ease;
}

.gallery-card:hover img,
.plan-card:hover img { transform: scale(1.06); }

.overlay-copy {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
}

.media-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
}

.media-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 28%, rgba(15,30,40,.52) 100%);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 24px;
}

.tab-btn {
  border-radius: 999px;
  border: 1px solid rgba(38, 57, 72, 0.16);
  background: rgba(255,255,255,.6);
  color: #263948;
  padding: 11px 17px;
  cursor: pointer;
  transition: var(--transition);
  font-size: .92rem;
}

.tab-btn.active,
.tab-btn:hover {
  background: rgba(38, 57, 72, 0.10);
  border-color: rgba(38, 57, 72, 0.34);
  color: #1a2a36;
}

.tab-pane {
  display: none;
}
.tab-pane.active {
  display: block;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(38, 57, 72, .28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.modal.show { display: flex; }

.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 30, 40, .88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.gallery-lightbox.show { display: flex; }

.gallery-lightbox-inner {
  position: relative;
  width: min(1100px, 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox img {
  width: 100%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 20px;
  background: rgba(255,255,255,.04);
}

.lightbox-btn,
.lightbox-close {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  color: #e8f4fd;
  cursor: pointer;
  z-index: 2;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
}

.lightbox-btn.prev { left: 14px; }
.lightbox-btn.next { right: 14px; }
.lightbox-close { top: 14px; right: 14px; }

.modal-panel {
  width: min(560px, 100%);
  border-radius: 26px;
  padding: 26px;
  border: 1px solid rgba(38, 57, 72, 0.14);
  background: linear-gradient(180deg, rgba(240,248,255,.98), rgba(220,236,248,.98));
  position: relative;
  box-shadow: 0 30px 80px rgba(38, 57, 72, 0.16);
  animation: riseIn .5s ease;
}

.close-modal {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(38, 57, 72, 0.14);
  background: rgba(255,255,255,.75);
  color: #263948;
  cursor: pointer;
  font-size: 1.1rem;
  display: grid;
  place-items: center;
}

/* Modal dark panel */
.modal-panel [class*="text-[#f1dfba]"],
.modal-panel .text-\[\#f1dfba\] {
  color: #7fb5d5 !important;
}

.modal-panel h3 {
  color: #0f1e28;
}

.modal-panel p {
  color: #3a5570;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sticky-mobile {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(232, 242, 248, .94);
  border-top: 1px solid rgba(38, 57, 72, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  gap: 10px;
}

.floating-desktop {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(38, 57, 72, 0.12);
  background: rgba(240, 248, 255, .92);
  color: #263948;
  box-shadow: 0 10px 25px rgba(38, 57, 72, 0.12);
  transition: var(--transition);
  text-decoration: none;
}

.float-btn:hover { transform: translateY(-4px) scale(1.03); }

.footer-shell {
  border-top: 1px solid rgba(38, 57, 72, 0.08);
  background: linear-gradient(180deg, rgba(220,236,248,.30), rgba(200,220,235,.15));
}

/* Contact section dark */
#contact .lux-card a {
  color: #c8dce8;
}

/* Why invest section: dark cards */
#why-invest .why-card.lux-card {
  background: linear-gradient(180deg, #1e3345, #263948);
  border-color: rgba(255,255,255,0.08);
}

#why-invest .why-card h3 {
  color: #e8f4fd;
}

/* Spec cards inside about */
.spec-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 20px;
}

/* Tailwind color overrides for inline styles */
[class*="text-[#9b7440]"],
[class*="text-[#f1dfba]"],
[class*="text-[#8c409b]"] {
  color: #3a6a8a !important;
}

[class*="text-[#342518]"],
[class*="text-[#4c351b]"],
[class*="text-[#3d2b17]"] {
  color: #0f1e28 !important;
}

[class*="text-[#6d5843]"],
[class*="text-[#76614a]"],
[class*="text-[#8b7760]"],
[class*="text-[#6c5843]"],
[class*="text-[#5e4b37]"] {
  color: #3a5570 !important;
}

[class*="text-[#7a5a2f]"] {
  color: #1a3a52 !important;
}

[class*="bg-[#b58a4a0d]"],
[class*="bg-[#b58a4a21]"] {
  background: rgba(38,57,72,0.06) !important;
}

[class*="border-[#b58a4a1f]"],
[class*="border-[#b58a4a21]"] {
  border-color: rgba(38,57,72,0.12) !important;
}

/* =========================
   ANIMATIONS
   ========================= */

@keyframes riseIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes panelFloat {
  from { opacity: 0; transform: translateY(30px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes heroZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}

@keyframes bounceCue {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: .9; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1199px) {
  .about-grid,
  .location-grid,
  .amenity-grid,
  .gallery-grid,
  .plans-grid,
  .why-grid,
  .spec-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid { grid-template-columns: 1fr; align-items: end; }
  .desktop-right-panel { max-width: 620px; margin-left: auto; }
  .carousel-item { min-width: calc(33.333% - 12px); flex: 0 0 calc(33.333% - 12px); }
}

@media (max-width: 991px) {
  .desktop-right-panel { display: none; }
  .mobile-bottom-card { display: block; }
  .mobile-scroll-cue { display: block; }
  .hero-master {
    min-height: auto;
    display: block;
    overflow: visible;
  }
  .hero-bg {
    position: relative;
    height: 64svh;
    min-height: 420px;
    max-height: 720px;
  }
  .hero-grid { display: none; }
  .about-grid,
  .location-grid,
  .why-grid,
  .plans-grid,
  .spec-grid {
    grid-template-columns: 1fr;
  }
  .amenity-grid,
  .gallery-grid { display: none; }
  .carousel-shell { display: block; }
  .config-table-shell { display: none; }
  .config-cards { display: grid; }
  .form-grid { grid-template-columns: 1fr; }
  .sticky-mobile { display: grid; grid-template-columns: 1fr 1fr; }
  .floating-desktop { display: none; }
  .carousel-item { min-width: calc(82% - 8px); flex: 0 0 calc(82% - 8px); }
  .carousel-btn.prev { left: 6px; }
  .carousel-btn.next { right: 6px; }

  /* location layout mobile */
  .location-grid { display: block !important; width: 100% !important; }

  .location-grid .lux-card {
    background: #f0f7fc !important;
    border: 1px solid rgba(38, 57, 72, 0.14) !important;
    color: #0f1e28 !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: auto !important;
    overflow: visible !important;
    box-shadow: 0 12px 28px rgba(38, 57, 72, 0.08) !important;
    padding: 12px !important;
    border-radius: 18px !important;
    margin-top: 16px;
  }

  .location-grid .tab-pane { display: none !important; }
  .location-grid .tab-pane.active { display: block !important; }

  .location-grid .config-table-shell {
    display: block !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    border-radius: 14px !important;
    background: #f8fcff !important;
  }

  .location-grid table {
    width: 100% !important;
    min-width: 100% !important;
    border-collapse: collapse !important;
    background: #f8fcff !important;
  }

  .location-grid th {
    background: rgba(38,57,72,0.07) !important;
    color: #1a3a52 !important;
    font-size: 11px !important;
    padding: 12px 10px !important;
    border-bottom: 1px solid rgba(38,57,72,0.10) !important;
    white-space: nowrap !important;
  }

  .location-grid td {
    color: #2e4a5f !important;
    font-size: 13px !important;
    padding: 12px 10px !important;
    border-bottom: 1px solid rgba(38,57,72,0.08) !important;
    background: transparent !important;
  }

  .tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 8px !important;
    padding-bottom: 6px !important;
    justify-content: flex-start !important;
    -webkit-overflow-scrolling: touch;
  }

  .tabs::-webkit-scrollbar { display: none; }

  .tabs .tab-btn {
    white-space: nowrap !important;
    flex: 0 0 auto !important;
    background: #f0f7fc !important;
    color: #263948 !important;
    border: 1px solid rgba(38,57,72,0.16) !important;
    padding: 10px 14px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
  }

  .tabs .tab-btn.active {
    background: rgba(38,57,72,0.12) !important;
    color: #1a2a36 !important;
    border-color: rgba(38,57,72,0.32) !important;
  }
}

@media (max-width: 767px) {
  .section-shell { width: min(100%, calc(100% - 18px)); }
  .header-inner { padding: 10px 0; }
  .header-inner img { height: 34px; }
  .header-inner button { padding: 10px 14px; font-size: 12px; }
  .mobile-bottom-card { width: calc(100% - 12px); margin-top: -22px; }
  .mobile-bottom-card .card-content { padding: 18px 14px 16px; border-radius: 24px 24px 0 0; }
  .mobile-bottom-card h2 { font-size: 2rem; }
  .mobile-bottom-card p { line-height: 1.5; }
  .mobile-bottom-card .grid > div { padding: 10px 6px; }
  .mobile-bottom-card .grid > div .luxury-font { font-size: 1.25rem; }
  .mobile-cta-new { grid-template-columns: 1fr; }
  .section-title { margin-bottom: 22px; }
  .section-title h2 { font-size: clamp(1.75rem, 8vw, 2.5rem); }
  .section-title p { font-size: .88rem; line-height: 1.65; }
  .why-card, .amenity-card, .spec-card, .config-card { padding: 18px; }
  .why-card h3, .amenity-card h3, .plan-card h3, .spec-card h4, .config-card h3 { font-size: 1.55rem !important; }
  .why-card p, .amenity-card p, .spec-card p, .lux-card p, td, th { font-size: .84rem; line-height: 1.6; }
  .tabs { gap: 8px; justify-content: flex-start; overflow-x: auto; padding-bottom: 4px; }
  .tab-btn { white-space: nowrap; padding: 10px 14px; font-size: .82rem; }
  .gallery-card img, .plan-card img { min-height: 220px; }
  .overlay-copy { left: 14px; right: 14px; bottom: 14px; }
  .overlay-copy h3 { font-size: 1.5rem !important; margin-bottom: 10px; }
  .modal-panel { padding: 22px 16px; border-radius: 22px; }
  .modal-panel h3 { font-size: 2.3rem !important; }
  .modal-panel p { font-size: .88rem; }
  .modal-form input, .modal-form textarea, .form-grid input { font-size: .88rem; padding: 12px 13px; }
  .consent-label { font-size: .72rem; }
  .btn-gold, .btn-outline-lux, .pill-btn { font-size: .84rem; }
  .sticky-mobile a { font-size: .84rem; padding-top: 12px; padding-bottom: 12px; }
  footer .section-shell { padding-bottom: 64px; }
  .config-actions { grid-template-columns: 1fr; }
  .carousel-btn { width: 40px; height: 40px; }
  .lightbox-btn.prev { left: 6px; }
  .lightbox-btn.next { right: 6px; }
  .lightbox-close { top: -54px; right: 0; }
}

@media (max-width: 480px) {
  .hero-bg { height: 60svh; min-height: 380px; }
  .mobile-scroll-cue { bottom: 10px; font-size: .64rem; }
  .mobile-bottom-card .card-content { padding: 16px 12px 15px; }
  .section-shell { width: min(100%, calc(100% - 14px)); }
  .section-title h2 { font-size: 1.65rem; }
  .section-title p,
  .why-card p, .amenity-card p, .spec-card p, .lux-card p { font-size: .82rem; }
  .why-number { width: 44px; height: 44px; font-size: 1.15rem; }
  .amenity-icon { width: 48px; height: 48px; font-size: 1.1rem; }
}

.blurred { filter: blur(6px); }