/* ============================================================
   CSS VARIABLES
============================================================ */
:root {
  /* Brand Colors */
  --navy:        #091830;
  --navy-mid:    #0f2545;
  --blue:        #0f4fa8;
  --blue-hover:  #0c3f88;
  --gold:        #b8862e;
  --gold-hover:  #9e7225;
  --gold-light:  #d4a843;

  /* Surfaces */
  --cream:       #f6f2eb;
  --cream-dark:  #ede8df;
  --white:       #ffffff;

  /* Text */
  --ink:         #18120a;
  --stone:       #3a3630;
  --muted:       #7a7067;

  /* Layout */
  --section-gap:    6rem;
  --container-max:  1200px;
  --radius:         8px;
  --radius-lg:      16px;

  /* Motion */
  --ease:     cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 0.4s;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--stone);
  background: var(--white);
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============================================================
   TYPOGRAPHY
============================================================ */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--ink);
  line-height: 1.15;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
}

p {
  color: var(--stone);
  line-height: 1.75;
}

/* ============================================================
   LAYOUT UTILITIES
============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: var(--section-gap) 0; }
.section-warm { background: var(--cream); }
.section-dark { background: var(--navy); color: var(--white); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-lead {
  margin-top: 0.75rem;
  font-size: 1.05rem;
  color: var(--muted);
}

.eyebrow {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.eyebrow-light { color: var(--gold-light); }

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 79, 168, 0.25);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184, 134, 46, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
}
.btn-white:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ============================================================
   NAVIGATION
============================================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition:
    background var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    padding var(--duration) var(--ease);
}

#navbar.scrolled {
  background: var(--white);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.07);
  padding: 0.75rem 0;
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 38px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter var(--duration) var(--ease);
}

#navbar.scrolled .nav-logo img {
  filter: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.4rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius);
  transition: color var(--duration) var(--ease);
}

.nav-link:hover { color: var(--white); }

#navbar.scrolled .nav-link { color: var(--stone); }
#navbar.scrolled .nav-link:hover { color: var(--ink); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  margin-left: 0.5rem;
  transition: background var(--duration) var(--ease), transform var(--duration) var(--ease) !important;
}

.nav-cta:hover {
  background: var(--gold-hover) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.3rem;
  z-index: 101;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--duration) var(--ease);
}

#navbar.scrolled .hamburger span { background: var(--ink); }

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 98;
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}

.nav-overlay.visible {
  opacity: 1;
}

/* ============================================================
   HERO
============================================================ */
#hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(9, 24, 48, 0.88) 0%,
    rgba(9, 24, 48, 0.65) 55%,
    rgba(9, 24, 48, 0.45) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  padding-top: 5rem;
}

.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.3s forwards;
}

.hero-headline {
  display: flex;
  flex-direction: column;
  font-family: 'Cormorant Garamond', serif;
  color: var(--white);
  line-height: 1.03;
  margin-bottom: 1.75rem;
}

.headline-line {
  display: block;
  opacity: 0;
}

.line-italic {
  font-size: clamp(3.5rem, 8.5vw, 7.5rem);
  font-style: italic;
  font-weight: 400;
  animation: fadeUp 0.9s var(--ease) 0.5s forwards;
}

.line-bold {
  font-size: clamp(3.5rem, 8.5vw, 7.5rem);
  font-weight: 700;
  animation: fadeUp 0.9s var(--ease) 0.65s forwards;
}

.line-light {
  font-size: clamp(1.4rem, 3.5vw, 2.5rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 0.35rem;
  animation: fadeUp 0.9s var(--ease) 0.8s forwards;
}

.hero-body {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  max-width: 500px;
  margin-bottom: 2.25rem;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.95s forwards;
}

.hero-body strong {
  color: var(--white);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 1.1s forwards;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 1.4s forwards;
  transition: color 0.3s;
}

.hero-scroll:hover { color: rgba(255, 255, 255, 0.75); }

.scroll-track {
  width: 1.5px;
  height: 52px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.scroll-dot {
  width: 100%;
  height: 38%;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 2px;
  animation: scrollDot 1.9s ease-in-out infinite;
}

/* ============================================================
   STATS BAR
============================================================ */
.stats-bar {
  background: var(--cream);
  border-bottom: 1px solid var(--cream-dark);
}

.stats-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.75rem 3.5rem;
  text-align: center;
}

.stat-item strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-item span {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.35rem;
}

.stat-divider {
  width: 1px;
  height: 44px;
  background: var(--cream-dark);
  flex-shrink: 0;
}

/* ============================================================
   ABOUT
============================================================ */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-visual { position: relative; }

.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
}

.about-img-wrap img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.about-img-wrap:hover img { transform: scale(1.04); }

.about-img-caption {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: var(--white);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.04em;
}

.about-img-caption i { color: var(--gold); }

.about-accent-block {
  position: absolute;
  bottom: -1.25rem;
  right: -1.25rem;
  width: 76px;
  height: 76px;
  background: var(--gold);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.about-accent-block span {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.4;
}

.about-text { padding-bottom: 1.5rem; }

.about-text h2 { margin-bottom: 1.25rem; }

.about-text .lead {
  font-size: 1.1rem;
  color: var(--stone);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.about-text p { margin-bottom: 1.5rem; }

.about-list {
  margin-bottom: 2rem;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--stone);
  border-bottom: 1px solid var(--cream-dark);
}

.about-list li:last-child { border-bottom: none; }
.about-list i { color: var(--gold); font-size: 0.8rem; flex-shrink: 0; }

/* ============================================================
   AMENITIES
============================================================ */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.amenity-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.amenity-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.amenity-icon {
  width: 52px;
  height: 52px;
  background: var(--cream);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 1.35rem;
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
}

.amenity-card:hover .amenity-icon {
  background: var(--gold);
  color: var(--white);
}

.amenity-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.65rem;
  letter-spacing: 0;
}

.amenity-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ============================================================
   LOCATIONS
============================================================ */
.location-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 2.5rem;
  border-bottom: 2px solid var(--cream-dark);
  overflow-x: auto;
  scrollbar-width: none;
}

.location-tabs::-webkit-scrollbar { display: none; }

.loc-tab {
  position: relative;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color var(--duration) var(--ease), border-color var(--duration) var(--ease);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: 'DM Sans', sans-serif;
}

.loc-tab:hover { color: var(--ink); }

.loc-tab.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
  font-weight: 600;
}

.tab-pill {
  background: var(--gold);
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
}

.tab-pill-full {
  background: #4b3a2a;
  color: #e8d5c0;
}

/* Panels */
.loc-panel { display: none; }

.loc-panel.active {
  display: block;
  animation: panelFade 0.45s var(--ease) forwards;
}

.loc-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
  padding: 1.25rem 0;
}

.loc-details h3 {
  font-size: 1.85rem;
  margin-bottom: 0.6rem;
}

.loc-address {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.loc-address i { color: var(--gold); }

.loc-details p {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.75;
}

.loc-features { margin-bottom: 2rem; }

.loc-features li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0;
  font-size: 0.88rem;
  color: var(--stone);
  border-bottom: 1px solid var(--cream);
}

.loc-features li:last-child { border-bottom: none; }
.loc-features .fa-circle-check { color: var(--gold); font-size: 0.85rem; }
.loc-features .fa-clock { color: var(--blue); font-size: 0.85rem; }

/* Gallery */
.gallery-main-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 0.75rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  background: var(--cream);
}

.gallery-main-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  transition: opacity 0.25s ease;
}

.gallery-main-img.fading { opacity: 0; }

.gallery-expand {
  position: absolute;
  top: 0.875rem;
  right: 0.875rem;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.42);
  color: var(--white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: background 0.25s;
  backdrop-filter: blur(4px);
}

.gallery-expand:hover { background: rgba(0, 0, 0, 0.65); }

.gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
  scrollbar-color: var(--cream-dark) transparent;
}

.gallery-thumb {
  flex-shrink: 0;
  width: 72px;
  height: 58px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2.5px solid transparent;
  transition: border-color 0.25s, opacity 0.25s, transform 0.2s;
  opacity: 0.6;
}

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

.gallery-thumb:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.gallery-thumb.active {
  border-color: var(--gold);
  opacity: 1;
}

/* Location full / waitlist */
.location-full-flag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #4b3a2a;
  color: #e8d5c0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.4rem 0.875rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.loc-full { color: #b85c3a !important; }

.loc-waitlist-note {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  padding: 0.75rem 1.75rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
}

.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(9, 24, 48, 0.2);
}

/* Republic coming-soon */
.coming-soon-flag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.4rem 0.875rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.republic-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.republic-storefront {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

.republic-storefront img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.republic-storefront:hover img { transform: scale(1.03); }

.republic-plans-label {
  position: absolute;
  bottom: 0.875rem;
  left: 0.875rem;
  background: var(--white);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.republic-plans-label i { color: var(--gold); }

.floor-plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.floor-plan {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
  text-align: center;
  cursor: pointer;
  transition: transform 0.25s var(--ease);
}

.floor-plan:hover { transform: translateY(-3px); }

.floor-plan img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  object-position: top;
}

.floor-plan span {
  display: block;
  padding: 0.5rem 0.5rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   CONFERENCE ROOM CALLOUT
============================================================ */
.calendar-callout {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  border: 1px solid var(--cream-dark);
}

.calendar-callout-icon {
  width: 72px;
  height: 72px;
  background: var(--cream);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--gold);
  flex-shrink: 0;
}

.calendar-callout-text {
  flex: 1;
}

.calendar-callout-text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.4rem;
}

.calendar-callout-text p {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
}

@media (max-width: 768px) {
  .calendar-callout {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }
}

/* ============================================================
   MAP STRIP
============================================================ */
.map-strip {
  position: relative;
  height: 420px;
  overflow: hidden;
}

.map-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.map-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(9, 24, 48, 0.88) 0%,
    rgba(9, 24, 48, 0.55) 60%,
    rgba(9, 24, 48, 0.3) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-overlay-content { text-align: center; }

.map-overlay-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.85rem, 4.5vw, 3.25rem);
  color: var(--white);
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.map-overlay-content p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

/* ============================================================
   CONTACT
============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.contact-info > p {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.contact-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  flex-shrink: 0;
  font-size: 0.875rem;
}

.contact-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-top: 0.2rem;
}

.contact-text span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.contact-text a,
.contact-text address {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  transition: color 0.25s;
  line-height: 1.5;
}

.contact-text a:hover { color: var(--white); }

/* Contact Form */
.contact-form-wrap {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}

.form-group label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 0.7rem 0.9rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--white);
  transition: border-color 0.25s, background 0.25s;
  outline: none;
  -webkit-appearance: none;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold-light);
  background: rgba(255, 255, 255, 0.09);
}

.form-group select option {
  background: var(--navy-mid);
  color: var(--white);
}

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

.form-notice {
  margin-top: 0.875rem;
  font-size: 0.875rem;
  text-align: center;
  min-height: 1.4em;
  transition: opacity 0.3s;
}

.form-notice.success { color: #4ade80; }
.form-notice.error   { color: #f87171; }

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.55);
  padding: 4.5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  height: 34px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 1rem;
  opacity: 0.85;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 280px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.25s;
}

.footer-social a:hover { color: var(--white); }

.footer-social img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
  opacity: 0.55;
}

.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.35rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-col li {
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.25s;
}

.footer-col a:hover { color: var(--white); }
.footer-col strong { color: var(--white); font-weight: 500; }

.footer-bottom {
  padding: 1.35rem 0;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.28);
}

/* ============================================================
   LIGHTBOX
============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.93);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox:not([hidden]) {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img-wrap {
  max-width: 90vw;
  max-height: 86vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#lb-img {
  max-width: 100%;
  max-height: 86vh;
  object-fit: contain;
  border-radius: var(--radius);
  transition: opacity 0.18s ease;
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, transform 0.25s;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s;
}

.lightbox-nav:hover { background: rgba(255, 255, 255, 0.22); }
.lightbox-prev { left: 1.25rem; }
.lightbox-next { right: 1.25rem; }

/* ============================================================
   SCROLL REVEAL ANIMATIONS
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Stagger children in grids */
.amenities-grid .reveal:nth-child(1) { transition-delay: 0.0s; }
.amenities-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.amenities-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.amenities-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.amenities-grid .reveal:nth-child(5) { transition-delay: 0.32s; }
.amenities-grid .reveal:nth-child(6) { transition-delay: 0.40s; }

/* ============================================================
   KEYFRAMES
============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollDot {
  0%   { transform: translateY(-100%); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateY(360%); opacity: 0; }
}

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

/* ============================================================
   RESPONSIVE - 1024px
============================================================ */
@media (max-width: 1024px) {
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .loc-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand { grid-column: 1 / -1; }
}

/* ============================================================
   RESPONSIVE - 768px
============================================================ */
@media (max-width: 768px) {
  :root { --section-gap: 4rem; }

  /* Mobile nav */
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(300px, 80vw);
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 5.5rem 2rem 2rem;
    gap: 0.15rem;
    transform: translateX(100%);
    transition: transform var(--duration) var(--ease);
    z-index: 99;
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.3);
  }

  .nav-links.open { transform: translateX(0); }

  .nav-link {
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 1.05rem;
    padding: 0.65rem 0;
    width: 100%;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .nav-link:last-child { border-bottom: none; }
  .nav-link:hover { color: var(--white) !important; }

  .nav-cta {
    margin-top: 1.25rem;
    margin-left: 0;
    text-align: center;
    justify-content: center;
    width: 100%;
    padding: 0.75rem 1.5rem;
  }

  /* Stats */
  .stats-inner { flex-wrap: wrap; }

  .stat-item {
    padding: 1.25rem 1.25rem;
    flex: 1;
    min-width: 130px;
  }

  .stat-divider { display: none; }

  /* Amenities */
  .amenities-grid { grid-template-columns: 1fr; }

  /* Hero */
  .line-italic,
  .line-bold {
    font-size: clamp(2.75rem, 11vw, 5rem);
  }

  .line-light { font-size: clamp(1.1rem, 4.5vw, 1.85rem); }

  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    text-align: center;
    justify-content: center;
  }

  /* Location tabs */
  .loc-tab { padding: 0.75rem 1.25rem; font-size: 0.9rem; }

  /* Map */
  .map-strip { height: 320px; }

  /* Contact form */
  .form-row-2 { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 1.5rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }

  /* Floor plans */
  .floor-plans { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE - 480px
============================================================ */
@media (max-width: 480px) {
  .tab-pill { display: none; }

  .gallery-main-img { height: 260px; }

  .stat-item strong { font-size: 2.25rem; }

  .about-img-wrap img { height: 340px; }
}
