/* R&F Princess Cove · Bright Modern Real-Estate Marketplace Design (UrbanStay-Inspired) */
:root {
  --navy: #0e2f4f;
  --navy-deep: #092038;
  --navy-soft: #173f67;
  --orange: #e07b29;
  --orange-hover: #c9681b;
  --sage: #68784f;
  --sage-hover: #55643f;
  --sage-tint: #eef1e8;
  --stone: #f7f5f2;
  --stone-2: #f1eee9;
  --white: #ffffff;
  --ink: #102a43;
  --ink-mid: #486581;
  --ink-soft: #6c8094;
  --line: #e5e8ec;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --shadow-bar: 0 14px 34px rgba(14, 47, 79, 0.14);
  --shadow-card: 0 4px 16px rgba(14, 47, 79, 0.05);
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

.wrap { width: min(1180px, 92vw); margin: 0 auto; }

/* 1. Top White Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(1180px, 92vw);
  margin: 0 auto;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-icon {
  width: 34px;
  height: 34px;
  color: var(--navy);
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.brand-text strong span { color: var(--orange); }
.brand-text small {
  font-size: 10.5px;
  color: var(--ink-soft);
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.18s;
}
.main-nav a:hover { color: var(--orange); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.currency-toggle {
  display: inline-flex;
  background: var(--stone);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
}
.currency-toggle button {
  border: 0;
  background: transparent;
  color: var(--ink-mid);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.18s;
}
.currency-toggle button.active {
  background: var(--navy);
  color: #fff;
}
.header-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
}
.header-link:hover { color: var(--orange); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 20px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  transition: background 0.18s, transform 0.15s, box-shadow 0.18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-soft); }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-hover); }
.btn-sage { background: var(--sage); color: #fff; }
.btn-sage:hover { background: var(--sage-hover); }
.btn-outline {
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--line);
}
.btn-outline:hover { border-color: var(--navy); }

.mobile-menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
}

/* 2. Bright Sunlit Hero with Left White Gradient & Floating Search Bar */
.hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  padding: 46px 0 42px;
  overflow: hidden;
  background: #f4f3f0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}
.hero-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(255, 255, 255, 0.90) 32%,
    rgba(255, 255, 255, 0.45) 56%,
    rgba(255, 255, 255, 0.05) 100%
  );
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, 92vw);
  margin: 0 auto;
}
.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mid);
  margin: 0 0 12px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.8vw, 58px);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.03em;
  color: var(--navy);
  max-width: 520px;
  margin: 0 0 16px;
}
.hero-sub {
  font-size: 16px;
  color: var(--ink-mid);
  max-width: 440px;
  margin: 0 0 30px;
  line-height: 1.55;
}

/* Signature Floating White Search / Unit Finder Pill Bar */
.hero-search-bar {
  background: var(--white);
  border-radius: 14px;
  padding: 10px 10px 10px 18px;
  box-shadow: var(--shadow-bar);
  border: 1px solid rgba(14, 47, 79, 0.08);
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 0.9fr auto;
  gap: 10px;
  align-items: center;
  max-width: 960px;
}
.search-cell {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-right: 12px;
  border-right: 1px solid var(--line);
}
.search-cell:last-of-type { border-right: 0; }
.search-cell svg {
  width: 18px;
  height: 18px;
  color: var(--ink-soft);
  flex-shrink: 0;
}
.search-cell select,
.search-cell input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}
.hero-search-bar .btn-orange {
  padding: 13px 26px;
  border-radius: 10px;
  font-size: 14px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.stars { color: var(--orange); letter-spacing: 2px; font-size: 14px; }
.rts-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--navy);
}
.rts-chip b { color: var(--orange); }

/* 3. 5-Column Soft Stone Category Cards */
.sec-tight { padding: 34px 0; }
.sec { padding: 48px 0; }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.cat-card {
  background: var(--stone);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.18s, border-color 0.18s, background 0.18s, box-shadow 0.18s;
}
.cat-card:hover,
.cat-card.active {
  background: #fff;
  border-color: var(--orange);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.cat-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  color: var(--navy);
}
.cat-card h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 6px;
}
.cat-card p {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.45;
}

/* 4. Signature Full-Width Dark-Navy Availability / Lead Bar */
.navy-banner {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  box-shadow: 0 16px 36px rgba(14, 47, 79, 0.16);
}
.navy-banner-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.navy-banner h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: #fff;
}
.navy-banner-head span {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.72);
}
.avail-form {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr) minmax(0, 0.95fr) minmax(0, 0.85fr) auto;
  gap: 10px;
  align-items: stretch;
  margin-bottom: 22px;
}
.avail-field {
  background: #fff;
  border-radius: 10px;
  padding: 8px 12px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.avail-field label {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.avail-field input,
.avail-field select {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  background: transparent;
  padding: 2px 0 0;
  text-overflow: ellipsis;
}
.avail-form .btn-orange {
  padding: 0 26px;
  border-radius: 10px;
  font-size: 14px;
  min-height: 52px;
}
.navy-perks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.perk-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}
.perk-item svg {
  width: 24px;
  height: 24px;
  color: rgba(255, 255, 255, 0.85);
  flex-shrink: 0;
  margin-top: 2px;
}
.perk-item strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
}
.perk-item span {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 2px;
}

/* 5. Browse by Phase / Zone — 5-Column Photo Cards */
.row-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.row-head h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
}
.row-head a {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
}
.row-head a:hover { color: var(--orange); }

.zone-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.zone-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.zone-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.zone-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}
.zone-body { padding: 12px 14px 14px; }
.zone-body h3 {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 3px;
}
.zone-body span {
  font-size: 12.5px;
  color: var(--ink-soft);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* 6. Split Section: Advisors & Reviews (Left) + Comparison Table (Right) */
.split-2 {
  display: grid;
  grid-template-columns: 0.92fr 1.28fr;
  gap: 24px;
  align-items: stretch;
}
.stone-panel {
  background: var(--stone);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
}
.stone-panel h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 18px;
}
.proof-list { display: grid; gap: 16px; margin-bottom: 20px; }
.proof-item {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 13px;
  align-items: start;
}
.proof-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(14, 47, 79, 0.12);
}
.proof-avatar-badge {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
}
.proof-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.proof-head strong { font-size: 14px; color: var(--navy); }
.proof-item p {
  font-size: 12.8px;
  color: var(--ink-mid);
  margin: 4px 0 0;
  line-height: 1.48;
}

/* Signature Sage-Green Highlighted Comparison Table */
.comp-table-wrap { overflow-x: auto; }
.comp-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
}
.comp-table th {
  padding: 11px 12px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
}
.comp-table th:first-child { text-align: left; }
.comp-table th.col-hl {
  background: var(--sage);
  color: #fff;
  border-radius: 10px 10px 0 0;
}
.comp-table td {
  padding: 11px 12px;
  border-bottom: 1px solid #e6e3dc;
  text-align: center;
  color: var(--ink-mid);
  font-weight: 500;
}
.comp-table td:first-child {
  text-align: left;
  font-weight: 700;
  color: var(--navy);
}
.comp-table td.col-hl {
  background: #ffffff;
  color: var(--navy);
  font-weight: 700;
}
.chk { color: var(--sage); font-weight: 800; font-size: 15px; }
.crs { color: #b94a48; font-weight: 700; font-size: 14px; }

/* 7. Horizontal Amenity Strip */
.amenity-strip {
  background: var(--stone);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.amenity-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  text-align: left;
}
.amenity-item svg {
  width: 24px;
  height: 24px;
  color: var(--ink-mid);
  flex-shrink: 0;
}

/* 8. Bottom 2-Column Row: Interactive Calculator Card (Left) + Dark Navy PropNexCIQ Hub Card (Right) */
.bottom-split {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 24px;
  align-items: stretch;
}
.pill-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.pill-tab {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-mid);
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s;
}
.pill-tab.active {
  background: var(--sage);
  border-color: var(--sage);
  color: #fff;
}

.calc-pane { display: none; }
.calc-pane.active { display: block; }
.mini-calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}
.mini-field {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
}
.mini-field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-soft);
}
.mini-field input,
.mini-field select {
  width: 100%;
  border: 0;
  outline: none;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  background: transparent;
  margin-top: 2px;
}
.mini-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.mini-kpi {
  background: #fff;
  border-radius: 10px;
  padding: 11px 12px;
  border: 1px solid var(--line);
}
.mini-kpi small { display: block; font-size: 11px; color: var(--ink-soft); }
.mini-kpi strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}
.mini-kpi strong.good { color: var(--sage); }

/* Right Dark-Navy Card with Wireframe Skyline Art (Exact Pinterest Match!) */
.hub-navy-card {
  position: relative;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hub-navy-card h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.18;
  color: #fff;
  margin: 0 0 12px;
  max-width: 340px;
}
.hub-navy-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 340px;
  margin: 0 0 22px;
}
.hub-skyline-svg {
  position: absolute;
  right: -10px;
  bottom: -6px;
  width: 240px;
  height: auto;
  opacity: 0.22;
  pointer-events: none;
}
.hub-btn-row {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Unit Layout Quick Strip (Filterable) */
.unit-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.unit-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.18s, transform 0.18s;
}
.unit-card:hover { border-color: var(--orange); transform: translateY(-2px); }
.unit-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.unit-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--sage-tint);
  color: var(--sage);
}
.unit-sqft { font-size: 12.5px; font-weight: 700; color: var(--navy); }
.unit-card h3 { font-size: 16.5px; color: var(--navy); margin: 0 0 5px; }
.unit-card p { font-size: 12.5px; color: var(--ink-soft); margin: 0 0 12px; }
.unit-stats {
  display: flex;
  justify-content: space-between;
  background: var(--stone);
  padding: 10px 12px;
  border-radius: 9px;
  margin-bottom: 12px;
  font-size: 12.5px;
}
.unit-stats strong { display: block; color: var(--navy); font-size: 14px; font-variant-numeric: tabular-nums; }
.unit-stats .yield { color: var(--sage); }

/* 9. Footer (Exact UrbanStay Deep Navy Footer) */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 46px 0 36px;
  margin-top: 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr 1.2fr;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-grid h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
}
.footer-links { display: grid; gap: 7px; font-size: 13px; }
.footer-links a:hover { color: var(--orange); }
.footer-sub-form {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.footer-sub-form input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 8px;
  border: 0;
  font-size: 13px;
}
.footer-bottom {
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.52);
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(9, 32, 56, 0.62);
  backdrop-filter: blur(4px);
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.modal-backdrop.open { display: flex; }
.modal-card {
  width: min(460px, 100%);
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  box-shadow: var(--shadow-bar);
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-size: 18px;
}
.modal-field { margin-bottom: 12px; }
.modal-field label { display: block; font-size: 12px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.modal-field input, .modal-field select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 9px;
  border: 1px solid var(--line);
  font-size: 13.5px;
}

/* Responsive */
@media (max-width: 980px) {
  .main-nav { display: none; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 18px;
    border-bottom: 1px solid var(--line);
  }
  .mobile-menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .hero-search-bar, .avail-form { grid-template-columns: 1fr; padding: 14px; }
  .search-cell { border-right: 0; border-bottom: 1px solid var(--line); padding: 8px 0; }
  .cat-grid, .zone-grid { grid-template-columns: repeat(2, 1fr); }
  .navy-perks, .amenity-strip { grid-template-columns: repeat(2, 1fr); }
  .split-2, .bottom-split, .unit-cards-grid, .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cat-grid, .zone-grid, .mini-calc-grid, .mini-kpis { grid-template-columns: 1fr; }
  .header-link { display: none; }
}
