/* ═══════════════════════════════════════════════
   JSL Multi-Management — Stylesheet
   Extracted from JSLNEW.html
═══════════════════════════════════════════════ */

/* ── RESET & VARS ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --navy: #0b1628;
  --navy2: #14223a;
  --navy3: #1e3357;
  --gold: #c9a84c;
  --gold2: #e8c97a;
  --gold3: #f5dfa0;
  --cream: #faf6ef;
  --cream2: #f0eae0;
  --text: #2c3a4a;
  --muted: #7a8fa8;
  --green: #1a5c38;
  --green-bg: #ebf5f0;
  --red: #a32d2d;
  --red-bg: #fcebeb;
  --orange: #854f0b;
  --orange-bg: #fff3ea;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(11, 22, 40, 0.1);
  --shadow-lg: 0 12px 48px rgba(11, 22, 40, 0.18);
  --r: 4px;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: "DM Sans", sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  font-family: "DM Sans", sans-serif;
  cursor: pointer;
  border: none;
}
input,
select,
textarea {
  font-family: "DM Sans", sans-serif;
}
img {
  display: block;
  max-width: 100%;
}

/* ── UTILITIES ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.serif {
  font-family: "Cormorant Garamond", serif;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--r);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.22s;
  cursor: pointer;
  border: none;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover {
  background: var(--gold2);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.3);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy3);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
}
.btn-outline-white {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
}
.btn-outline-white:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 10px;
}
.badge-green {
  background: var(--green-bg);
  color: var(--green);
}
.badge-red {
  background: var(--red-bg);
  color: var(--red);
}
.badge-orange {
  background: var(--orange-bg);
  color: var(--orange);
}
.badge-gold {
  background: rgba(201, 168, 76, 0.15);
  color: var(--gold);
}
.section-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.section-tag::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--gold);
}
.section-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 0.8rem;
}
.section-title em {
  font-style: italic;
  color: var(--gold);
}
.divider {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin: 1rem 0;
}
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── SPECIALS BANNER ── */
#specials-banner {
  background: var(--gold);
  padding: 0.6rem 1rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  position: relative;
  z-index: 200;
}
#specials-banner button {
  background: none;
  border: none;
  color: var(--navy);
  text-decoration: underline;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ── NAV ── */
nav#main-nav {
  position: sticky;
  top: 0;
  z-index: 150;
  background: var(--navy);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  transition: all 0.3s;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 68px;
  max-width: 1400px;
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  flex-direction: column;
}
.nav-logo-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}
.nav-logo-sub {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.1rem;
}
.nav-links {
  display: flex;
  gap: 0.2rem;
  list-style: none;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 0.85rem;
  border-radius: var(--r);
  transition: all 0.18s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
}
.nav-actions {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}
.nav-mgr {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  padding: 0.4rem 0.75rem;
  transition: color 0.2s;
}
.nav-mgr:hover {
  color: var(--gold);
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: 0.3s;
}
.mobile-nav {
  display: none;
  background: var(--navy2);
  border-top: 1px solid rgba(201, 168, 76, 0.1);
}
.mobile-nav.open {
  display: block;
}
.mobile-nav a,
.mobile-nav button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.85rem 2rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  cursor: pointer;
  letter-spacing: 0.05em;
}
.mobile-nav a:hover,
.mobile-nav button:hover {
  color: var(--gold);
  background: rgba(201, 168, 76, 0.05);
}

/* ── HERO ── */
#hero {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: flex-end;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?w=1600&q=85")
    center/cover no-repeat;
  transition: background-image 0.3s;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.carousel-slide.active {
  opacity: 1;
}
.carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 5;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  padding: 0;
}
.carousel-dot.active {
  background: var(--gold);
  transform: scale(1.2);
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(11, 22, 40, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.2s;
}
.carousel-arrow:hover {
  background: rgba(201, 168, 76, 0.7);
  border-color: var(--gold);
}
.carousel-arrow-left {
  left: 12px;
}
.carousel-arrow-right {
  right: 12px;
}
.amen-carousel {
  position: relative;
  overflow: hidden;
}
.amen-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}
.amen-carousel-slide {
  min-width: 100%;
  height: 420px;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(11, 22, 40, 0.92) 50%,
    rgba(11, 22, 40, 0.45) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 5rem 0 5.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}
.hero-avail {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ecc71;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.5);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(46, 204, 113, 0);
  }
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.hero-avail-text {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}
.hero-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 1rem;
}
.hero-title em {
  font-style: italic;
  color: var(--gold2);
}
.hero-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 1.8rem;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.hero-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.3rem 0.85rem;
  border-radius: 2px;
}
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.hero-stats {
  background: rgba(11, 22, 40, 0.88);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(201, 168, 76, 0.18);
  position: relative;
  z-index: 2;
}
.hero-stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.hero-stat {
  padding: 1.3rem 1rem;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}
.hero-stat:last-child {
  border-right: none;
}
a.hero-stat {
  transition:
    background 0.2s,
    transform 0.2s;
  border-radius: var(--r);
  display: block;
}
a.hero-stat:hover {
  background: rgba(201, 168, 76, 0.08);
  transform: translateY(-2px);
}
a.hero-stat:hover .hero-stat-lbl {
  color: var(--gold2);
}
.hero-stat-val {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1;
}
.hero-stat-lbl {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.3rem;
  display: block;
}

/* ── SPECIALS SECTION ── */
#specials {
  background: linear-gradient(135deg, var(--navy3) 0%, #0a1f40 100%);
  padding: 3.5rem 0;
  border-top: 3px solid var(--gold);
}
.specials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}
.special-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 168, 76, 0.2);
  padding: 1.6rem;
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.special-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
}
.special-badge {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.special-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.special-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  margin-bottom: 0.8rem;
}
.special-exp {
  font-size: 0.68rem;
  color: var(--gold);
  font-weight: 600;
}

/* ── UNIT SEARCH ── */
#search {
  background: var(--white);
  padding: 2.5rem 0;
  box-shadow: var(--shadow);
}
.search-bar {
  display: flex;
  flex-wrap: wrap;
  background: var(--cream);
  border: 1.5px solid var(--cream2);
  overflow: hidden;
  margin-top: 1.5rem;
}
.search-field {
  flex: 1;
  min-width: 140px;
  padding: 0.9rem 1.2rem;
  border-right: 1.5px solid var(--cream2);
  display: flex;
  flex-direction: column;
}
.search-field label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.search-field select,
.search-field input {
  border: none;
  background: transparent;
  font-size: 0.88rem;
  color: var(--text);
  outline: none;
  font-family: "DM Sans", sans-serif;
}
.search-submit {
  background: var(--gold);
  border: none;
  color: var(--navy);
  padding: 0.9rem 2rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.search-submit:hover {
  background: var(--gold2);
}

/* ── UNITS ── */
#units {
  background: var(--cream);
  padding: 5rem 0;
}
.units-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.unit-filters {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.filter-btn {
  background: transparent;
  border: 1.5px solid #ddd;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.18s;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.units-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.unit-card {
  background: var(--white);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.unit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.unit-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.unit-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.unit-card:hover .unit-img img {
  transform: scale(1.06);
}
.unit-img .unit-status {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
}
.unit-img .unit-type {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  background: rgba(11, 22, 40, 0.85);
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
}
.unit-body {
  padding: 1.2rem 1.3rem;
}
.unit-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.2rem;
}
.unit-price {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.7rem;
}
.unit-price span {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--muted);
}
.unit-specs {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.8rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--cream2);
  font-size: 0.75rem;
  color: var(--muted);
}
.unit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
}
.unit-actions {
  display: flex;
  gap: 0.5rem;
}
.unit-actions .btn {
  flex: 1;
  padding: 0.65rem 0.5rem;
  font-size: 0.7rem;
}
.unit-card.occupied .unit-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 22, 40, 0.12);
}
.unit-img-dot-row {
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  z-index: 4;
  pointer-events: none;
}
.unit-img-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transition:
    background 0.25s,
    transform 0.25s;
}
.unit-img-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}
.unit-img .carousel-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.unit-img .carousel-img.active {
  opacity: 1;
}
.unit-img .hover-hint {
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  background: rgba(11, 22, 40, 0.65);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.58rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 8px;
  pointer-events: none;
  transition: opacity 0.3s;
  letter-spacing: 0.04em;
}
.unit-card:hover .hover-hint {
  opacity: 0;
}
#unit-detail-modal .modal {
  max-width: 820px;
  background: var(--navy);
}
.ud-photo-wrap {
  position: relative;
  background: #0a1220;
  aspect-ratio: 16/9;
  overflow: hidden;
  cursor: pointer;
}
.ud-photo-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.45s ease;
}
.ud-photo-wrap img.active {
  opacity: 1;
}
.ud-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(11, 22, 40, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.2s;
}
.ud-arrow:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.ud-arrow-l {
  left: 0.75rem;
}
.ud-arrow-r {
  right: 0.75rem;
}
.ud-dot-row {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 5;
}
.ud-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: all 0.25s;
}
.ud-dot.active {
  background: var(--gold);
  transform: scale(1.25);
}
.ud-photo-count {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 10px;
  z-index: 5;
  pointer-events: none;
}

/* ── FLOOR PLANS ── */
#floorplans {
  background: var(--navy);
  padding: 5rem 0;
  color: var(--white);
}
.fp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(201, 168, 76, 0.12);
  margin-top: 2rem;
}
.fp-card {
  background: rgba(255, 255, 255, 0.04);
  padding: 1.5rem 1.2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.22s;
  border-bottom: 3px solid transparent;
}
.fp-card:hover,
.fp-card.active {
  background: rgba(201, 168, 76, 0.08);
  border-bottom-color: var(--gold);
}
.fp-type {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin: 1rem 0 0.25rem;
}
.fp-sqft {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.fp-price {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
}
.fp-avail {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.5rem;
}
.fp-detail {
  display: none;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 168, 76, 0.12);
  margin-top: 1px;
  padding: 2rem;
}
.fp-detail.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.fp-features li {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}
.fp-features li::before {
  content: "✓";
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── GALLERY ── */
#gallery {
  background: var(--cream2);
  padding: 5rem 0;
}
.gallery-tabs {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin: 1.5rem 0 1rem;
}
.gallery-tab {
  background: transparent;
  border: 1.5px solid #ccc;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.18s;
}
.gallery-tab.active,
.gallery-tab:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 220px 180px;
  gap: 6px;
}
.gallery-grid .g-main {
  grid-column: span 2;
  grid-row: span 2;
}
.g-item {
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.g-item:hover img {
  transform: scale(1.07);
}
.g-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(11, 22, 40, 0.75));
  padding: 0.6rem 0.8rem;
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0;
  transition: 0.25s;
}
.g-item:hover .g-label {
  opacity: 1;
}

/* ── AMENITIES ── */
#amenities {
  background: var(--white);
  padding: 5rem 0;
}
.amenities-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 2rem;
}
.amenities-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.amenity-cat h4 {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--cream2);
}
.amenity-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}
.amenity-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.83rem;
  color: var(--text);
}
.amenity-item::before {
  content: "✓";
  color: var(--green);
  font-weight: 800;
  flex-shrink: 0;
}

/* ── ABOUT US ── */
#about {
  background: var(--cream);
  padding: 5rem 0;
}
.about-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 1rem;
}
.about-copy p {
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 1.1rem;
}
.about-stats {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.about-stat {
  background: var(--white);
  border: 1px solid var(--cream2);
  box-shadow: var(--shadow);
  padding: 1.4rem 1.6rem;
  text-align: center;
}
.about-stat-val {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}
.about-stat-lbl {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.3rem;
}

/* ── PROPERTIES ── */
#properties {
  background: var(--navy);
  padding: 5rem 0;
}
.properties-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 1.5rem;
}
.property-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.18);
  padding: 1.6rem 1.2rem;
  text-align: center;
  transition: all 0.22s;
}
.property-card:hover {
  background: rgba(201, 168, 76, 0.08);
  border-color: var(--gold);
  transform: translateY(-3px);
}
.property-card-icon {
  font-size: 1.8rem;
}
.property-card-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin: 0.8rem 0 0.5rem;
}
.property-card-link {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── MEET THE TEAM ── */
#team {
  background: var(--cream2);
  padding: 5rem 0;
}
.staff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.staff-card {
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  text-align: center;
}
.staff-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  margin: 0 auto 1rem;
}
.staff-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
}
.staff-role {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0.3rem 0 0.8rem;
}
.staff-bio {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--muted);
}
@media (max-width: 900px) {
  .about-layout {
    grid-template-columns: 1fr;
  }
  .properties-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .staff-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .properties-grid,
  .staff-grid {
    grid-template-columns: 1fr;
  }
}

/* ── PET POLICY ── */
#pets {
  background: var(--cream2);
  padding: 3.5rem 0;
}
.pet-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: start;
  max-width: 780px;
}
.pet-icon {
  width: 72px;
  height: 72px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}
.pet-rules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.8rem;
}
.pet-rule {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.83rem;
  color: var(--text);
}

/* ── NEARBY ── */
#nearby {
  background: var(--white);
  padding: 5rem 0;
}
.nearby-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.nearby-cat {
  background: var(--cream);
  padding: 1.8rem;
  border-top: 3px solid var(--gold);
}
.nearby-cat-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--navy);
  margin-bottom: 1rem;
}
.nearby-icon {
  width: 32px;
  height: 32px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.nearby-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #e8e2d8;
  font-size: 0.82rem;
}
.nearby-item:last-child {
  border-bottom: none;
}
.nearby-dist {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}

/* ── MAP ── */
#location {
  padding: 0;
}
.map-wrap {
  position: relative;
  height: 380px;
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(15%);
}
.map-card {
  position: absolute;
  top: 50%;
  right: 4%;
  transform: translateY(-50%);
  background: var(--white);
  padding: 1.8rem;
  box-shadow: var(--shadow-lg);
  min-width: 260px;
  border-top: 4px solid var(--gold);
}

/* ── CONTACT ── */
#contact {
  background: var(--navy2);
  padding: 5rem 0;
}
.contact-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}
.team-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 168, 76, 0.15);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.team-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  background: var(--navy3);
  flex-shrink: 0;
}
.team-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.15rem;
}
.team-role {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}
.team-contact {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
}
.team-contact a {
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s;
}
.team-contact a:hover {
  color: var(--gold);
}
.contact-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 2rem;
  margin-bottom: 2.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 0.85rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.85rem;
}
.form-group label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 0.88rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--r);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.28);
}
.form-group select option {
  background: var(--navy);
  color: var(--white);
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}
.form-consent {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1.2rem;
  line-height: 1.6;
}
.location-row {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1.2rem;
  align-items: stretch;
}
.location-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.15);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.location-map {
  overflow: hidden;
  min-height: 320px;
}
.location-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: none;
  filter: grayscale(15%);
}

/* ── QUICK LINKS ── */
#quick-links {
  background: var(--gold);
}
.ql-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(11, 22, 40, 0.12);
}
.ql-item {
  background: var(--gold);
  padding: 1.8rem 1.2rem;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s;
  border: none;
  width: 100%;
}
.ql-item:hover {
  background: var(--gold2);
}
.ql-icon {
  width: 44px;
  height: 44px;
  background: rgba(11, 22, 40, 0.1);
  border-radius: 50%;
  margin: 0 auto 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.ql-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  display: block;
  margin-bottom: 0.2rem;
}
.ql-desc {
  font-size: 0.72rem;
  color: rgba(11, 22, 40, 0.6);
  line-height: 1.4;
}

/* ── TESTIMONIALS ── */
#testimonials {
  background: var(--cream);
  padding: 5rem 0;
}
.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}
.test-card {
  background: var(--white);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  border-top: 2px solid var(--gold);
}
.test-stars {
  color: var(--gold);
  font-size: 0.85rem;
  margin-bottom: 0.9rem;
}
.test-text {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}
.test-author {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.test-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--cream2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy);
  flex-shrink: 0;
}
.test-name {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--navy);
}
.test-since {
  font-size: 0.72rem;
  color: var(--muted);
}

/* ── FOOTER ── */
footer {
  background: #060e1c;
  padding: 3.5rem 0 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-logo-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}
.footer-logo-sub {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}
.footer-desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.2rem;
  max-width: 260px;
}
.social-row {
  display: flex;
  gap: 0.5rem;
}
.social-btn {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.22s;
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  line-height: 1;
}
.social-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
  transform: translateY(-2px);
}
.social-btn[data-platform="facebook"]:hover {
  border-color: #1877f2;
  color: #1877f2;
  background: rgba(24, 119, 242, 0.08);
}
.social-btn[data-platform="instagram"]:hover {
  border-color: #e1306c;
  color: #e1306c;
  background: rgba(225, 48, 108, 0.08);
}
.social-btn[data-platform="google"]:hover {
  border-color: #ea4335;
  color: #ea4335;
  background: rgba(234, 67, 53, 0.08);
}
.social-btn[data-platform="yelp"]:hover {
  border-color: #d32323;
  color: #d32323;
  background: rgba(211, 35, 35, 0.08);
}
.social-btn[data-platform="twitter"]:hover {
  border-color: #1da1f2;
  color: #1da1f2;
  background: rgba(29, 161, 242, 0.08);
}
.footer-col h5 {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 0.5rem;
}
.footer-col a {
  font-size: 0.8rem;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--white);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.8rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p {
  font-size: 0.72rem;
  color: var(--muted);
}

/* ── MODALS ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal {
  background: var(--navy2);
  border: 1px solid rgba(201, 168, 76, 0.2);
  width: 100%;
  max-width: 640px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  border-radius: var(--r);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.6);
  transform: translateY(20px);
  transition: transform 0.25s;
}
.modal-overlay.open .modal {
  transform: translateY(0);
}
.modal-wide {
  max-width: 820px;
}
.modal-header {
  padding: 1.3rem 1.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}
.modal-eyebrow {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}
.modal-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
}
.modal-close {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.15s;
  flex-shrink: 0;
}
.modal-close:hover {
  background: rgba(192, 57, 43, 0.3);
  color: var(--white);
}
.modal-body {
  padding: 1.8rem;
  overflow-y: auto;
  flex: 1;
}
.modal-footer {
  padding: 1.1rem 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}
.mform-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.4rem;
  display: block;
}
.mform-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 0.88rem;
  padding: 0.7rem 0.9rem;
  border-radius: var(--r);
  outline: none;
  transition: border-color 0.2s;
  font-family: "DM Sans", sans-serif;
  margin-bottom: 0.85rem;
}
.mform-input:focus {
  border-color: var(--gold);
}
.mform-input::placeholder {
  color: rgba(255, 255, 255, 0.28);
}
select.mform-input option {
  background: var(--navy);
}
textarea.mform-input {
  resize: vertical;
  min-height: 75px;
}
.mform-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.mform-section {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 1.2rem 0 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(201, 168, 76, 0.12);
}
.mform-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  cursor: pointer;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
}
.mform-check input {
  margin-top: 0.15rem;
  accent-color: var(--gold);
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.mform-note {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.6;
  margin-top: 0.6rem;
}
.unit-banner {
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.2);
  padding: 0.9rem 1.2rem;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-radius: var(--r);
}
.unit-banner-badge {
  background: var(--gold);
  color: var(--navy);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 2px;
  flex-shrink: 0;
}
.unit-banner-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--white);
}
.unit-banner-price {
  font-size: 0.78rem;
  color: var(--gold);
  margin-top: 0.1rem;
}

/* ── APP STEPS ── */
.app-steps-bar {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  overflow-x: auto;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.03);
}
.app-step-tab {
  padding: 0.75rem 1rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  cursor: default;
}
.app-step-tab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.app-step-tab.done {
  color: var(--green);
  border-bottom-color: var(--green);
}
.app-page {
  display: none;
}
.app-page.active {
  display: block;
}
.fee-total-box {
  background: var(--navy);
  border: 1px solid rgba(201, 168, 76, 0.2);
  padding: 1rem 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  border-radius: var(--r);
}
.fee-total-lbl {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--white);
}
.fee-total-val {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}
.card-field-row {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.75rem 0.9rem;
  border-radius: var(--r);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}
.card-field-row input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-size: 0.88rem;
  width: 100%;
  font-family: "DM Sans", sans-serif;
}
.security-note {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 0.4rem;
}

/* ── ADMIN ── */
#admin-overlay {
  /* Pin the dashboard to its own fixed palette so a property's public-site
           color theme (applied to :root) never changes the admin UI's look. */
  --navy: #0b1628;
  --navy2: #14223a;
  --navy3: #1e3357;
  --gold: #c9a84c;
  --gold2: #e8c97a;
  --gold3: #f5dfa0;
  --cream: #faf6ef;
  --cream2: #f0eae0;
  --text: #2c3a4a;
  --muted: #7a8fa8;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #0a1220;
  display: none;
  flex-direction: column;
}
#admin-overlay.open {
  display: flex;
}
.admin-topbar {
  background: var(--navy2);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  padding: 0 1.5rem;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.admin-logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}
.admin-logo-sub {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.1rem;
}
.admin-topbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
#property-info-display {
  animation: slideInLeft 0.3s ease;
  display: none !important;
}
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
#property-info-display a:hover {
  color: var(--gold2) !important;
  text-decoration: underline !important;
}
.admin-body {
  display: flex;
  flex: 1;
  overflow: hidden;
}
.admin-sidebar {
  width: 200px;
  background: var(--navy2);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  overflow-y: auto;
}
.admin-nav-section {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
  padding: 10px 12px 4px;
}
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.15s;
  border-left: 3px solid transparent;
}
.admin-nav-item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.85);
}
.admin-nav-item.active {
  background: rgba(201, 168, 76, 0.08);
  color: var(--gold);
  border-left-color: var(--gold);
}
.admin-nav-item span {
  font-size: 0.58rem;
  margin-left: auto;
  background: var(--gold);
  color: var(--navy);
  padding: 0.1rem 0.4rem;
  border-radius: 8px;
  font-weight: 800;
}
.admin-main {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.admin-content-bar {
  padding: 0.85rem 1.5rem;
  background: var(--navy2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.admin-content-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}
.admin-content-sub {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.1rem;
}
.admin-content {
  padding: 1.4rem;
}
.admin-card {
  background: var(--navy2);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 0.85rem;
}
.admin-card-hd {
  padding: 0.85rem 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}
.admin-card-bd {
  padding: 1.2rem;
}
.a-lbl {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  display: block;
  margin-bottom: 0.35rem;
}
.a-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 0.82rem;
  padding: 0.6rem 0.8rem;
  border-radius: var(--r);
  outline: none;
  font-family: "DM Sans", sans-serif;
  margin-bottom: 0.75rem;
  transition: border-color 0.2s;
}
.a-input:focus {
  border-color: var(--gold);
}
select.a-input option {
  background: var(--navy);
}
textarea.a-input {
  resize: vertical;
  min-height: 55px;
}
.a-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.a-row3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.85rem;
}
.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-bottom: 1rem;
}
.kpi-box {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--r);
  padding: 1rem;
}
.kpi-lbl {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.kpi-val {
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--white);
}
.kpi-sub {
  font-size: 0.65rem;
  color: var(--muted);
  margin-top: 0.2rem;
}
.a-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
}
.a-table th {
  text-align: left;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.5rem 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.a-table td {
  padding: 0.65rem 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
}
.a-table tr:last-child td {
  border-bottom: none;
}
.a-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}
.inline-inp {
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 0.78rem;
  font-family: "DM Sans", sans-serif;
  width: 100%;
  padding: 2px 3px;
  border-radius: 3px;
}
.inline-inp:focus {
  background: rgba(255, 255, 255, 0.07);
  outline: none;
}
.inline-sel {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 0.74rem;
  padding: 2px 4px;
  border-radius: 3px;
  font-family: "DM Sans", sans-serif;
}
/* Fix: the browser's native dropdown list was inheriting white text on a
   white popup background, making every option except the highlighted one
   invisible. Force a dark, readable background/text on the option list. */
.inline-sel option {
  background: var(--navy2);
  color: var(--white);
  font-size: 0.85rem;
  padding: 4px;
}
.a-status-badge {
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 8px;
}
.occ-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 0.35rem;
}
.occ-fill {
  height: 100%;
  background: #2ecc71;
  border-radius: 2px;
}
.saved-toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: #1a5c38;
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: var(--r);
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 99999;
  display: none;
  animation: slideUp 0.3s ease;
}
@keyframes slideUp {
  from {
    transform: translateY(10px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
.success-screen {
  text-align: center;
  padding: 2.5rem 1rem;
}
.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
}
.success-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.success-sub {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  max-width: 380px;
  margin: 0 auto 1.5rem;
}
.next-steps {
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.18);
  border-radius: var(--r);
  padding: 1rem 1.2rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  text-align: left;
}
.next-steps strong {
  color: var(--gold);
}

/* ── PHOTO UPLOAD ── */
.photo-dropzone {
  border: 1.5px dashed rgba(255, 255, 255, 0.18);
  border-radius: var(--r);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 0.85rem;
}
.photo-dropzone:hover {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.04);
}
.photo-dropzone-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.photo-dropzone-text {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}
.photo-dropzone-sub {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.25rem;
}
.photo-grid-admin {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}
.photo-thumb {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: grab;
  transition:
    transform 0.15s,
    box-shadow 0.15s,
    opacity 0.15s;
}
.photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.photo-thumb.dragging {
  opacity: 0.35;
  cursor: grabbing;
}
.photo-thumb.drag-over {
  box-shadow: 0 0 0 3px var(--gold);
  transform: scale(1.03);
}
.photo-thumb .photo-drag-handle {
  position: absolute;
  top: 0.3rem;
  left: 0.3rem;
  background: rgba(0, 0, 0, 0.55);
  color: rgba(255, 255, 255, 0.85);
  border-radius: 4px;
  font-size: 0.7rem;
  padding: 1px 5px;
  pointer-events: none;
  letter-spacing: 0.05em;
}
.photo-del-btn {
  position: absolute;
  top: 0.3rem;
  right: 0.3rem;
  background: rgba(0, 0, 0, 0.55);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 0.7rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-edit-btn {
  position: absolute;
  top: 0.3rem;
  right: 1.75rem;
  background: rgba(0, 0, 0, 0.55);
  color: var(--gold);
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 0.68rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-edit-btn:hover {
  background: rgba(201, 168, 76, 0.85);
  color: #0b1628;
}

/* ── Upload progress bar ── */
.upload-progress-track {
  height: 5px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  margin-top: 0.5rem;
  overflow: hidden;
}
.upload-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  border-radius: 3px;
  transition: width 0.18s ease;
}
.upload-progress-pct {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.25rem;
  text-align: right;
}

/* ── Lightbox filmstrip (easier photo navigation) ── */
.lb-filmstrip {
  display: flex;
  gap: 0.4rem;
  margin-top: 1rem;
  max-width: 92vw;
  overflow-x: auto;
  padding: 0.3rem;
}
.lb-filmstrip img {
  width: 56px;
  height: 42px;
  object-fit: cover;
  border-radius: 3px;
  cursor: pointer;
  opacity: 0.5;
  border: 2px solid transparent;
  transition:
    opacity 0.15s,
    border-color 0.15s;
  flex-shrink: 0;
}
.lb-filmstrip img:hover {
  opacity: 0.85;
}
.lb-filmstrip img.active {
  opacity: 1;
  border-color: var(--gold);
}

/* ── Image Editor (crop & resize before upload) ── */
#img-editor-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 20000;
  background: rgba(6, 12, 22, 0.92);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.ie-panel {
  background: var(--navy2);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 8px;
  max-width: 640px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  padding: 1.1rem 1.2rem 1.3rem;
}
.ie-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.2rem;
}
.ie-sub {
  font-size: 0.74rem;
  color: var(--muted);
  margin-bottom: 0.8rem;
  line-height: 1.5;
}
.ie-stage-wrap {
  display: flex;
  justify-content: center;
  background: repeating-conic-gradient(#2a3854 0% 25%, #223049 0% 50%) 50% /
    16px 16px;
  border-radius: 6px;
  margin-bottom: 0.8rem;
  overflow: hidden;
}
.ie-stage {
  position: relative;
  overflow: hidden;
  touch-action: none;
  cursor: grab;
}
.ie-stage:active {
  cursor: grabbing;
}
.ie-stage img {
  position: absolute;
  top: 0;
  left: 0;
  max-width: none;
  user-select: none;
  pointer-events: none;
}
.ie-frame-border {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 2px solid rgba(201, 168, 76, 0.9);
  outline: 1px dashed rgba(255, 255, 255, 0.35);
  outline-offset: -1px;
}
.ie-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
  flex-wrap: wrap;
}
.ie-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.3rem;
  display: block;
}
.ie-presets {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.ie-preset-btn {
  font-size: 0.7rem;
  padding: 0.35rem 0.7rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
}
.ie-preset-btn.active {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.15);
  color: var(--gold);
}
.ie-zoom {
  flex: 1;
  min-width: 140px;
  accent-color: var(--gold);
}
.ie-size-input {
  width: 84px;
  padding: 0.35rem 0.5rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  font-size: 0.78rem;
}
.ie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.9rem;
  flex-wrap: wrap;
}

/* ── RESPONSIVE ── */
/* ── TABLET ── */
@media (max-width: 1024px) {
  .units-grid,
  .test-grid {
    grid-template-columns: 1fr 1fr;
  }
  .fp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fp-detail.active {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .amenities-layout {
    grid-template-columns: 1fr;
  }
  .location-row {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
  }
  .gallery-grid .g-main {
    grid-column: span 3;
    height: 220px;
  }
  .specials-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  /* Nav */
  .nav-links,
  .nav-actions .btn,
  .nav-mgr {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
  .nav-inner {
    padding: 0 1.2rem;
    height: 60px;
  }

  /* Hero */
  #hero {
    min-height: 85vh;
  }
  .hero-content {
    padding: 2.5rem 1.2rem 4rem;
  }
  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }
  .hero-sub {
    font-size: 0.88rem;
  }
  .hero-badges {
    gap: 0.4rem;
  }
  .hero-badge {
    font-size: 0.68rem;
    padding: 0.25rem 0.65rem;
  }
  .hero-btns {
    flex-direction: column;
    gap: 0.6rem;
  }
  .hero-btns .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-stats-inner {
    grid-template-columns: 1fr 1fr;
  }
  .hero-stat {
    padding: 1rem 0.75rem;
  }
  .hero-stat-val {
    font-size: 1.5rem;
  }

  /* Sections */
  #specials,
  #units,
  #floorplans,
  #gallery,
  #amenities,
  #pets,
  #nearby,
  #contact,
  #testimonials {
    padding: 3rem 0;
  }
  .section-title {
    font-size: 1.8rem;
  }

  /* Specials */
  .specials-grid {
    grid-template-columns: 1fr;
  }

  /* Search bar */
  .search-bar {
    flex-direction: column;
  }
  .search-field {
    border-right: none;
    border-bottom: 1.5px solid var(--cream2);
  }
  .search-submit {
    padding: 1rem;
    text-align: center;
  }

  /* Units */
  .units-grid {
    grid-template-columns: 1fr;
  }
  .units-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .unit-filters {
    flex-wrap: wrap;
  }
  .filter-btn {
    font-size: 0.68rem;
    padding: 0.4rem 0.85rem;
  }

  /* Floor plans */
  .fp-grid {
    grid-template-columns: 1fr 1fr;
  }
  .fp-detail.active {
    display: block;
    padding: 1.5rem 1rem;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4px;
  }
  .gallery-grid .g-main {
    grid-column: span 2;
    height: 180px;
  }
  .gallery-tabs {
    gap: 0.3rem;
  }
  .gallery-tab {
    font-size: 0.68rem;
    padding: 0.4rem 0.85rem;
  }

  /* Amenity layout */
  .amenities-img img {
    height: 260px;
  }
  .amen-carousel {
    height: 260px !important;
  }
  .amen-carousel-slide {
    height: 260px !important;
  }

  /* Pet */
  .pet-layout {
    grid-template-columns: 1fr;
  }
  .pet-rules {
    grid-template-columns: 1fr;
  }
  .pet-icon {
    width: 56px;
    height: 56px;
    font-size: 1.4rem;
  }

  /* Nearby */
  .nearby-grid {
    grid-template-columns: 1fr;
  }

  /* Map */
  .map-wrap {
    height: 240px;
  }
  .map-card {
    position: static;
    transform: none;
    margin: 0;
  }

  /* Contact */
  .team-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .location-row {
    grid-template-columns: 1fr;
  }

  /* Quick links */
  .ql-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ql-item {
    padding: 1.2rem 0.8rem;
  }
  .ql-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  .ql-desc {
    display: none;
  }

  /* Testimonials */
  .test-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 1.8rem;
  }

  /* Modals — full screen on mobile */
  .modal-overlay {
    padding: 0.5rem;
    align-items: flex-end;
  }
  .modal {
    max-width: 100%;
    max-height: 96vh;
    border-radius: var(--r) var(--r) 0 0;
  }
  .modal-wide {
    max-width: 100%;
  }
  .modal-header {
    padding: 1rem 1.2rem;
  }
  .modal-body {
    padding: 1.2rem;
  }
  .modal-footer {
    padding: 0.85rem 1.2rem;
  }
  .modal-title {
    font-size: 1.1rem;
  }
  .modal-close {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  .mform-row {
    grid-template-columns: 1fr;
  }
  .mform-input {
    font-size: 16px !important;
  } /* prevent iOS zoom on focus */
  .app-steps-bar {
    padding: 0 0.5rem;
  }
  .app-step-tab {
    padding: 0.6rem 0.7rem;
    font-size: 0.62rem;
  }
  .unit-banner {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .fee-total-box {
    flex-direction: column;
    gap: 0.4rem;
    text-align: center;
  }
  .fee-total-val {
    font-size: 1.5rem;
  }

  /* Admin on mobile */
  .admin-sidebar {
    width: 0;
    overflow: hidden;
    position: absolute;
    left: -9999px;
  }
  #admin-overlay .admin-body {
    flex-direction: column;
  }
  .admin-content-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .admin-content {
    padding: 1rem;
  }
  .kpi-row {
    grid-template-columns: 1fr 1fr;
  }
  .a-row2,
  .a-row3 {
    grid-template-columns: 1fr;
  }

  /* Mobile admin nav bar at bottom */
  .mobile-admin-nav {
    display: flex !important;
  }
}

/* ── SMALL PHONES ── */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  .nav-inner {
    padding: 0 1rem;
  }

  /* Hero */
  .hero-title {
    font-size: 2rem;
  }
  .hero-stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-stat-val {
    font-size: 1.3rem;
  }
  .hero-stat-lbl {
    font-size: 0.58rem;
  }

  /* Sections */
  #specials,
  #units,
  #floorplans,
  #gallery,
  #amenities,
  #pets,
  #nearby,
  #contact,
  #testimonials {
    padding: 2.2rem 0;
  }

  /* Units */
  .units-grid {
    grid-template-columns: 1fr;
  }
  .unit-img {
    height: 180px;
  }
  .unit-actions {
    flex-direction: column;
    gap: 0.4rem;
  }
  .unit-actions .btn {
    width: 100%;
    flex: none;
  }

  /* Floor plans */
  .fp-grid {
    grid-template-columns: 1fr 1fr;
  }
  .fp-type {
    font-size: 0.9rem;
  }
  .fp-price {
    font-size: 0.8rem;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .gallery-grid .g-main {
    grid-column: span 1;
    height: 200px;
  }
  .g-item:not(.g-main) {
    height: 160px;
  }

  /* Quick links */
  .ql-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ql-label {
    font-size: 0.65rem;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Modals */
  .modal-overlay {
    padding: 0.25rem;
    align-items: flex-end;
  }
  .modal {
    max-height: 98vh;
    border-radius: 12px 12px 0 0;
  }
  .modal-body {
    padding: 1rem;
  }
  .modal-footer {
    padding: 0.75rem 1rem;
  }
  .mform-input {
    padding: 0.65rem 0.8rem;
    font-size: 16px !important;
  }
  .app-steps-bar {
    gap: 0;
  }
  .app-step-tab {
    font-size: 0.58rem;
    padding: 0.5rem 0.5rem;
  }
  .card-field-row {
    flex-wrap: wrap;
  }

  /* Admin */
  .kpi-row {
    grid-template-columns: 1fr 1fr;
  }
  .a-table {
    font-size: 0.72rem;
  }
  .a-table th,
  .a-table td {
    padding: 0.4rem 0.5rem;
  }

  /* Specials banner */
  #specials-banner {
    font-size: 0.72rem;
    padding: 0.5rem 0.8rem;
  }
}

/* ── MOBILE ADMIN BOTTOM NAV ── */
.mobile-admin-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99998;
  background: var(--navy2);
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  padding: 0.5rem;
  gap: 0.25rem;
  flex-wrap: wrap;
}
.mobile-admin-nav button {
  flex: 1;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.58rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.4rem 0.2rem;
  border-radius: var(--r);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  font-family: "DM Sans", sans-serif;
  transition: all 0.15s;
}
.mobile-admin-nav button.active,
.mobile-admin-nav button:hover {
  background: rgba(201, 168, 76, 0.1);
  color: var(--gold);
}
.mobile-admin-nav button span.icon {
  font-size: 1.1rem;
  display: block;
}

/* ── TOUCH / TAP IMPROVEMENTS ── */
@media (hover: none) {
  .btn,
  .unit-card,
  .gallery-tab,
  .filter-btn,
  .special-card {
    transition: none;
  }
  .btn:active {
    opacity: 0.8;
    transform: scale(0.98);
  }
  .unit-card:hover {
    transform: none;
    box-shadow: var(--shadow);
  }
  .special-card:hover {
    transform: none;
  }
}

/* ── SAFE AREA (iPhone notch) ── */
@supports (padding: max(0px)) {
  nav#main-nav {
    padding-top: env(safe-area-inset-top);
  }
  footer {
    padding-bottom: calc(2rem + env(safe-area-inset-bottom));
  }
  #admin-overlay {
    padding-top: env(safe-area-inset-top);
  }
  .mobile-admin-nav {
    padding-bottom: calc(0.5rem + env(safe-area-inset-bottom));
  }
}

/* ── CALL LINK STYLES (mobile) ── */
a[href^="tel"] {
  color: inherit;
  text-decoration: none;
}
@media (max-width: 768px) {
  a[href^="tel"] {
    color: var(--gold) !important;
    font-weight: 600;
  }
}

/* ── ROW EDIT MODAL ── */
#row-edit-overlay {
  position: fixed;
  inset: 0;
  z-index: 19500;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
#row-edit-overlay.open {
  display: flex;
}
#row-edit-modal {
  background: var(--navy2);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-top: 3px solid var(--gold);
  border-radius: var(--r);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.rem-header {
  padding: 1rem 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.rem-eyebrow {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.15rem;
}
.rem-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
}
.rem-close {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.8rem;
  flex-shrink: 0;
  transition: all 0.15s;
}
.rem-close:hover {
  background: rgba(192, 57, 43, 0.35);
  color: #fff;
}
.rem-body {
  padding: 1.4rem;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.rem-footer {
  padding: 0.9rem 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  flex-shrink: 0;
}
.rem-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.rem-field label {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
.rem-field input,
.rem-field select,
.rem-field textarea {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 0.84rem;
  padding: 0.6rem 0.85rem;
  border-radius: var(--r);
  outline: none;
  font-family: "DM Sans", sans-serif;
  transition: border-color 0.2s;
  width: 100%;
}
.rem-field input:focus,
.rem-field select:focus,
.rem-field textarea:focus {
  border-color: var(--gold);
}
.rem-field select option {
  background: var(--navy);
}
.rem-field textarea {
  resize: vertical;
  min-height: 68px;
}
.rem-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.rem-divider {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(201, 168, 76, 0.12);
}
.a-table tr.clickable-row {
  cursor: pointer;
  transition: background 0.15s;
}
.a-table tr.clickable-row:hover td {
  background: rgba(201, 168, 76, 0.06) !important;
}
@media (max-width: 600px) {
  .rem-row2 {
    grid-template-columns: 1fr;
  }
}

/* ── MOBILE ADMIN ── */
@media (max-width: 900px) {
  #admin-overlay {
    padding-bottom: 5.2rem;
  }
  .admin-body {
    flex-direction: column;
  }
  .admin-sidebar {
    width: 100%;
    max-height: 260px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    overflow-x: auto;
  }
  .admin-sidebar .admin-nav-item {
    white-space: normal;
  }
  .admin-main {
    padding-bottom: 6rem;
  }
  .admin-content {
    padding: 1rem;
  }
  .admin-content-bar {
    flex-direction: column;
    align-items: flex-start;
    row-gap: 0.5rem;
  }
  .a-table {
    width: 100%;
    min-width: 100%;
    font-size: 0.74rem;
  }
  .a-table th,
  .a-table td {
    padding: 0.5rem 0.6rem;
    white-space: normal;
  }
  .a-card,
  .admin-card {
    overflow-x: hidden;
  }
  .mobile-admin-nav {
    display: flex;
  }
}
/* =========================================================
         PROPERTY ISOLATION BAR  (JSL Isolation Engine v2.0)
         ========================================================= */
#isolation-bar {
  display: none;
  background: linear-gradient(90deg, #0b1628 0%, #14223a 100%);
  border-bottom: 2px solid var(--gold);
  padding: 0 1.5rem;
  height: 40px;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}
#isolation-bar::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gold);
}
#isolation-bar.active {
  display: flex;
}
.iso-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.iso-lock-icon {
  font-size: 0.8rem;
}
.iso-label {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
}
.iso-property-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}
.iso-conn-badge {
  font-size: 0.58rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.iso-conn-ok {
  background: var(--green-bg);
  color: var(--green);
}
.iso-conn-err {
  background: var(--red-bg);
  color: var(--red);
}
.iso-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.iso-site-link {
  font-size: 0.68rem;
  color: var(--gold);
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.15s;
}
.iso-site-link:hover {
  opacity: 1;
  text-decoration: underline;
}
.iso-switch-btn {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.22rem 0.65rem;
  border-radius: 3px;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--gold);
  cursor: pointer;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.15s;
}
.iso-switch-btn:hover {
  background: rgba(201, 168, 76, 0.22);
}
#iso-confirm-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
}
#iso-confirm-modal.open {
  display: flex;
}
.iso-confirm-box {
  background: var(--navy2);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-top: 4px solid var(--gold);
  border-radius: var(--r);
  max-width: 440px;
  width: 100%;
  padding: 2rem;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
}
.iso-confirm-box h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.iso-confirm-box p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
  margin-bottom: 1.2rem;
}
.iso-prop-chip {
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 3px;
  padding: 0.5rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1.4rem;
  display: inline-block;
}
.iso-confirm-btns {
  display: flex;
  gap: 0.7rem;
  justify-content: flex-end;
}
.iso-scope-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.18);
  border-radius: 10px;
  padding: 0.18rem 0.6rem;
  margin-left: 0.6rem;
  vertical-align: middle;
}

/* ── Admin login modal (split-panel) ── */
#login-modal {
  position: fixed;
  inset: 0;
  z-index: 18000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(11, 22, 40, 0.75);
  backdrop-filter: blur(6px);
  padding: 1rem;
}
#login-modal.open {
  display: flex;
}
.login-panel {
  display: flex;
  width: 100%;
  max-width: 860px;
  min-height: 520px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
}
/* LEFT — branded */
.login-left {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0b1628 0%, #1e3357 55%, #0a1f40 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.4rem;
  min-width: 0;
}
.login-left-bg {
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?w=800&q=70")
    center/cover no-repeat;
  opacity: 0.18;
}
.login-left-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(11, 22, 40, 0.98) 0%,
    rgba(11, 22, 40, 0.5) 60%,
    rgba(11, 22, 40, 0.15) 100%
  );
}
.login-left-content {
  position: relative;
  z-index: 2;
}
.login-left-eyebrow {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.login-left-eyebrow::before {
  content: "";
  width: 18px;
  height: 1.5px;
  background: var(--gold);
  display: inline-block;
}
.login-left-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.9rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 0.75rem;
}
.login-left-title em {
  font-style: italic;
  color: var(--gold2);
}
.login-left-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
  max-width: 260px;
  margin-bottom: 1.6rem;
}
.login-features {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.login-feature {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.58);
}
.login-feature-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
/* RIGHT — form */
.login-right {
  flex: 0 0 360px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.8rem 2.4rem;
  position: relative;
}
.login-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid #e5e7eb;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #6b7280;
  transition: all 0.15s;
}
.login-close-btn:hover {
  background: #f3f4f6;
  color: #111;
}
.login-right-logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2rem;
}
.login-right-logo span {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.15rem;
}
.login-field-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 0.45rem;
}
.login-field-input {
  width: 100%;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  color: #111;
  font-family: "DM Sans", sans-serif;
  outline: none;
  transition:
    border-color 0.18s,
    box-shadow 0.18s;
  background: #fafafa;
  margin-bottom: 1.1rem;
}
.login-field-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.13);
  background: #fff;
}
.login-field-input::placeholder {
  color: #c0c4cc;
}
.login-submit {
  width: 100%;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.9rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.15s,
    box-shadow 0.2s;
  margin-top: 0.3rem;
}
.login-submit:hover {
  background: var(--navy3);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(11, 22, 40, 0.25);
}
.login-submit:active {
  transform: none;
  box-shadow: none;
}
@keyframes loginShake {
  0%,
  100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-6px);
  }
  40% {
    transform: translateX(6px);
  }
  60% {
    transform: translateX(-4px);
  }
  80% {
    transform: translateX(4px);
  }
}
#login-error-v5 {
  display: none;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 6px;
  padding: 0.6rem 0.85rem;
  font-size: 0.78rem;
  color: #c0392b;
  margin-top: 0.5rem;
  line-height: 1.5;
}
#login-lockout-v5 {
  display: none;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 6px;
  padding: 0.65rem 0.85rem;
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: #c0392b;
  line-height: 1.6;
}
.login-hint {
  font-size: 0.72rem;
  color: #9ca3af;
  text-align: center;
  margin-top: 1.1rem;
  line-height: 1.6;
}
@media (max-width: 640px) {
  .login-panel {
    flex-direction: column;
    min-height: auto;
  }
  .login-left {
    min-height: 155px;
    padding: 1.5rem;
  }
  .login-left-title {
    font-size: 1.4rem;
  }
  .login-left-desc,
  .login-features {
    display: none;
  }
  .login-right {
    flex: none;
    padding: 2rem 1.5rem;
  }
}
