:root {
  --forest-dark: #14342a;
  --forest-mid: #1d4234;
  --navy-deep: #0c1b33;
  --navy-blue: #1a2f4d;
  --accent: #c3a06a;
  --accent-light: #d9c199;
  --white: #ffffff;
  --off-white: #f5f4f1;
  --graphite: #6a6f75;
  --sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --serif: Georgia, 'Times New Roman', serif;
  --display: 'Jost', 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--navy-deep);
  background: var(--off-white);
  font-weight: 300;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}
.section-head.light .eyebrow { color: var(--accent-light); }

/* reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* top utility bar */
.top-bar {
  background: var(--forest-mid);
  text-align: right;
  padding: 0.5rem 4vw;
}
.top-bar a {
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1.4rem 4vw;
  background: var(--forest-dark);
  backdrop-filter: blur(0px) saturate(1);
  -webkit-backdrop-filter: blur(0px) saturate(1);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0);
  border-bottom: 1px solid rgba(255, 255, 255, 0);
  transition: padding 0.45s ease, box-shadow 0.5s ease, background 0.5s ease,
              backdrop-filter 0.5s ease, -webkit-backdrop-filter 0.5s ease,
              border-color 0.5s ease;
}
.site-header.scrolled {
  padding: 0.9rem 4vw;
  background: rgba(20, 52, 42, 0.55);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
}
.logo {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}
.logo span { color: var(--accent); }
.nav-desktop {
  display: flex;
  gap: 2.2rem;
}
.nav-desktop a {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.88;
  transition: opacity 0.2s;
}
.nav-desktop a:hover { opacity: 1; color: var(--accent-light); }

.btn-ghost, .btn-primary, .btn-line {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}
.btn-ghost {
  border: 1.5px solid var(--white);
  color: var(--white);
}
.btn-ghost:hover { background: var(--white); color: var(--forest-dark); }
.btn-primary {
  background: var(--white);
  color: var(--forest-dark);
}
.btn-primary:hover { background: var(--accent-light); }
.btn-line {
  color: var(--white);
  border-bottom: 1.5px solid var(--accent);
  padding: 0.75rem 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--white);
}
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--forest-dark);
  padding: 1.5rem 4vw;
  gap: 1.2rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* hero */
.hero {
  position: relative;
  height: 92vh;
  min-height: 620px;
  overflow: hidden;
}
.hero-slides { position: relative; height: 100%; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: flex-end;
}
.hero-slide.is-active { opacity: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,18,34,0.82) 0%, rgba(8,18,34,0.5) 38%, rgba(8,18,34,0.08) 72%, rgba(8,18,34,0) 100%),
    linear-gradient(0deg, rgba(8,18,34,0.75) 0%, rgba(8,18,34,0.1) 40%, rgba(8,18,34,0) 65%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 680px;
  padding: 0 6vw 6rem;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.6rem, 5.6vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: 0.11em;
  margin-bottom: 1.1rem;
  text-transform: uppercase;
}
.hero-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255,255,255,0.9);
  max-width: 460px;
  margin-bottom: 1rem;
}
.hero-price {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent-light);
  margin-bottom: 2rem;
}
.hero-cta { display: flex; gap: 1.5rem; align-items: center; }

.hero-controls {
  position: absolute;
  bottom: 2.2rem;
  right: 6vw;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.hero-dots {
  position: absolute;
  bottom: 3rem;
  left: 6vw;
  z-index: 3;
  display: flex;
  gap: 0.5rem;
}
.hero-arrow {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.hero-arrow:hover { background: rgba(255,255,255,0.25); }
.hero-dots { display: flex; gap: 0.5rem; }
.hero-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.2s;
}
.hero-dots span.is-active { background: var(--accent); }

/* statement */
.statement {
  padding: 9rem 6vw;
  background: var(--off-white);
}
.statement-inner { max-width: 880px; margin: 0 auto; text-align: center; }
.statement h2 {
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.45;
  letter-spacing: 0.005em;
  font-weight: 300;
  color: var(--navy-deep);
}
.statement h2 span { color: var(--accent); font-weight: 400; }

/* stats */
.stats {
  background: var(--navy-deep);
  padding: 5rem 4vw;
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat { position: relative; }
.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 58px;
  background: rgba(255,255,255,0.13);
}
.stat h3 {
  color: var(--accent-light);
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  margin-bottom: 0.7rem;
  overflow: hidden;
}
.stat .num-inner {
  display: inline-block;
  transform: translateY(115%);
  filter: blur(9px);
  opacity: 0;
  transition: transform 1.1s cubic-bezier(0.19, 1, 0.22, 1),
              filter 0.9s ease, opacity 0.9s ease;
}
.stat.num-in .num-inner { transform: translateY(0); filter: blur(0); opacity: 1; }
.stat p {
  color: rgba(255,255,255,0.68);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* section head shared */
.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
  padding: 0 6vw;
}
.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}
.section-head.light h2 { color: var(--white); }

/* residences */
.residences { padding: 6rem 0 8rem; }
.residence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4vw;
}
.residence-card { position: relative; overflow: hidden; }
.residence-image {
  position: relative;
  height: 460px;
  background-size: cover;
  background-position: center;
  filter: brightness(0.9);
  transition: transform 0.7s ease, filter 0.7s ease;
}
.residence-card:hover .residence-image {
  transform: scale(1.06);
  filter: brightness(1);
}
.badge-live {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(12,27,51,0.75);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.4rem 0.8rem;
  border-radius: 2px;
}
.badge-live i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #ff4d4d;
  display: inline-block;
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.residence-info {
  padding: 1.5rem 0.4rem;
}
.residence-info h3 { font-size: 1.3rem; margin-bottom: 0.3rem; text-transform: uppercase; }
.residence-loc {
  font-size: 0.82rem;
  color: var(--graphite);
  margin-bottom: 0.6rem;
}
.residence-price {
  font-size: 0.95rem;
  color: var(--forest-dark);
  font-weight: 700;
  margin-bottom: 0.8rem;
}
.residence-link {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--navy-deep);
  padding-bottom: 2px;
}

/* cinematic break */
.cinematic-break {
  position: relative;
  height: 55vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cinematic-overlay {
  position: absolute; inset: 0;
  background: rgba(12,27,51,0.6);
}
.cinematic-text {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
}
.cinematic-text h2 { font-size: clamp(1.9rem, 5vw, 3rem); text-transform: uppercase; }

/* portfolio strip */
.portfolio {
  background: var(--forest-dark);
  padding: 6rem 0 7rem;
}
.portfolio-strip-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 2vw;
}
.portfolio-strip {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: auto;
  scrollbar-width: none;
  flex: 1;
}
.portfolio-strip::-webkit-scrollbar { display: none; }
.strip-item {
  min-width: 280px;
  height: 200px;
  background-size: cover;
  background-position: center;
  border-radius: 2px;
  filter: brightness(0.85);
  transition: filter 0.3s;
  flex-shrink: 0;
}
.strip-item:hover { filter: brightness(1); }
.strip-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}
.strip-arrow:hover { background: rgba(255,255,255,0.15); }

/* invest (trust cards over photo) */
.invest {
  position: relative;
  padding: 7rem 4vw;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.invest-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(34,62,96,0.92), rgba(12,27,51,0.88));
}
.invest > *:not(.invest-overlay) { position: relative; z-index: 2; }
.invest-grid {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.invest-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  padding: 2.2rem;
  border-radius: 4px;
}
.invest-card h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 0.9rem;
  text-transform: none;
}
.invest-card p {
  color: rgba(255,255,255,0.8);
  font-size: 0.92rem;
  font-weight: 300;
}

/* gallery */
.gallery { padding: 6rem 4vw 8rem; background: var(--off-white); }
.gallery-grid {
  max-width: 1400px;
  margin: 0 auto;
  columns: 3;
  column-gap: 2px;
}
.gallery-item {
  width: 100%;
  height: 340px;
  background-size: cover;
  background-position: center;
  margin-bottom: 2px;
  break-inside: avoid;
}
.gallery-item:nth-child(3n+1) { height: 440px; }
.gallery-item:nth-child(3n+2) { height: 300px; }

/* quote */
.quote {
  background: var(--forest-dark);
  color: var(--white);
  padding: 6.5rem 6vw;
  text-align: center;
}
.quote blockquote {
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  max-width: 900px;
  margin: 0 auto 1.5rem;
  font-weight: 500;
  line-height: 1.4;
}
.quote-attr {
  color: var(--accent-light);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* contact */
.contact { padding: 8rem 6vw; background: var(--white); }
.contact-inner { max-width: 700px; margin: 0 auto; text-align: center; }
.contact-form { margin-top: 3rem; text-align: left; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 1rem 0;
  border: none;
  border-bottom: 1px solid #ccc;
  background: transparent;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--navy-deep);
  outline: none;
  transition: border-color 0.3s;
}
.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--forest-dark);
}
.contact-form textarea { margin-bottom: 1.6rem; resize: vertical; }
.contact-form button { margin-top: 0.5rem; }

/* footer */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.75); padding: 5rem 6vw 2rem; }
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
}
.footer-col .logo { display: inline-block; margin-bottom: 1rem; }
.footer-col p { font-size: 0.85rem; }
.footer-col h5 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.7rem;
  opacity: 0.85;
}
.footer-col a:hover { opacity: 1; color: var(--accent-light); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.6rem;
  font-size: 0.75rem;
  opacity: 0.6;
}

/* responsive */
@media (max-width: 900px) {
  .nav-desktop, .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .residence-grid { grid-template-columns: 1fr; }
  .invest-grid { grid-template-columns: 1fr; }
  .gallery-grid { columns: 2; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .cinematic-break, .invest { background-attachment: scroll; }
  .top-bar { text-align: center; }
}

/* ============ shared additions ============ */
.residence-card { display: block; }
.section-cta { text-align: center; margin-top: 3.5rem; }
.btn-dark {
  display: inline-block;
  padding: 0.9rem 2.4rem;
  background: var(--navy-deep);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.3s;
}
.btn-dark:hover { background: var(--forest-dark); }

/* page hero (internal pages) */
.page-hero {
  position: relative;
  height: 52vh;
  min-height: 380px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,18,34,0.7) 0%, rgba(8,18,34,0.3) 45%, rgba(8,18,34,0) 80%),
    linear-gradient(0deg, rgba(8,18,34,0.8) 0%, rgba(8,18,34,0.1) 45%, rgba(8,18,34,0) 70%);
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 0 6vw 3.5rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}
.page-hero h1 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}
.breadcrumb {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}
.breadcrumb a { color: var(--accent-light); }

/* ============ catalog page ============ */
.catalog { padding: 4rem 6vw 7rem; max-width: 1500px; margin: 0 auto; }
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 3rem;
  justify-content: center;
}
.filter-chip {
  padding: 0.55rem 1.3rem;
  border: 1px solid #d5d3cd;
  border-radius: 40px;
  background: transparent;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--graphite);
  cursor: pointer;
  transition: all 0.25s;
}
.filter-chip:hover { border-color: var(--navy-deep); color: var(--navy-deep); }
.filter-chip.is-active {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: var(--white);
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.catalog-card {
  display: block;
  background: var(--white);
  box-shadow: 0 4px 24px rgba(12,27,51,0.06);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.catalog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(12,27,51,0.14);
}
.catalog-img {
  position: relative;
  height: 240px;
  background-size: cover;
  background-position: center;
}
.catalog-status {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 2px;
  color: var(--white);
}
.status-ready { background: rgba(20,52,42,0.9); }
.status-progress { background: rgba(195,160,106,0.95); color: var(--navy-deep); }
.catalog-body { padding: 1.4rem 1.5rem 1.7rem; }
.catalog-body h3 { font-size: 1.2rem; margin-bottom: 0.3rem; text-transform: uppercase; }
.catalog-loc { font-size: 0.82rem; color: var(--graphite); margin-bottom: 0.9rem; }
.catalog-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px solid #eee;
  padding-top: 0.9rem;
}
.catalog-price { font-size: 1rem; font-weight: 700; color: var(--forest-dark); }
.catalog-link { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent); }

/* ============ project detail page ============ */
.detail-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  height: 70vh;
  min-height: 460px;
}
.detail-gallery .g-main { grid-row: 1 / 3; }
.dg {
  position: relative;
  background-size: cover;
  background-position: center;
}
.dg .badge-live { top: 16px; left: 16px; }
.dg-more {
  position: absolute;
  inset: 0;
  background: rgba(12,27,51,0.55);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.detail-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 6vw;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 4rem;
}
.detail-main h2 { font-size: 1.8rem; margin: 2.5rem 0 1rem; }
.detail-main h2:first-child { margin-top: 0; }
.detail-lead { font-size: 1.15rem; color: var(--graphite); line-height: 1.7; }
.detail-main p { margin-bottom: 1rem; color: var(--graphite); }
.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2.5rem;
  margin-top: 1.5rem;
}
.spec {
  border-top: 1px solid #e4e2dc;
  padding-top: 0.9rem;
}
.spec .k { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--graphite); }
.spec .v { font-size: 1.15rem; font-weight: 600; color: var(--navy-deep); margin-top: 0.2rem; }

.detail-aside { position: relative; }
.price-card {
  position: sticky;
  top: 100px;
  background: var(--navy-deep);
  color: var(--white);
  padding: 2.4rem;
}
.price-card .pc-label { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-light); }
.price-card .pc-price { font-family: var(--serif); font-size: 2.4rem; margin: 0.4rem 0 0.2rem; }
.price-card .pc-unit { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-bottom: 1.8rem; }
.price-card .btn-primary { width: 100%; text-align: center; background: var(--accent); color: var(--navy-deep); margin-bottom: 0.8rem; }
.price-card .btn-primary:hover { background: var(--accent-light); }
.price-card .btn-outline {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.75rem;
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.price-card .btn-outline:hover { border-color: var(--accent); color: var(--accent-light); }

.plans { background: var(--off-white); padding: 5rem 6vw; }
.plans-inner { max-width: 1200px; margin: 0 auto; }
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.plan-card { display: block; text-decoration: none; color: inherit; background: var(--white); padding: 1.6rem; box-shadow: 0 4px 20px rgba(12,27,51,0.05); border-top: 3px solid var(--accent); transition: box-shadow .2s, transform .2s; }
.apt-plan { margin: 0.6rem 0 0.6rem; }
.apt-plan img { display: block; width: 100%; max-width: 560px; height: auto; background: #fff; border: 1px solid #e7e6e2; border-radius: 4px; }
.plan-card:hover { box-shadow: 0 10px 30px rgba(12,27,51,0.10); transform: translateY(-3px); }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.4rem; }
.plan-card h4 { font-size: 1.1rem; margin: 0; }
.plan-card .plan-unit { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--graphite); margin-bottom: 0.5rem; }
.plan-card .plan-area { font-size: 0.85rem; color: var(--graphite); margin-bottom: 1rem; }
.plan-card .plan-price { font-weight: 700; color: var(--forest-dark); }
.plan-status { font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 0.22rem 0.5rem; border-radius: 2px; white-space: nowrap; color: var(--white); }
.plan-status.is-available { background: rgba(20,52,42,0.9); }
.plan-status.is-reserved { background: rgba(195,160,106,0.95); color: var(--navy-deep); }
.plan-status.is-sold { background: rgba(106,111,117,0.9); }

@media (max-width: 900px) {
  .catalog-grid { grid-template-columns: 1fr; }
  .detail-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .detail-gallery { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; }
  .detail-gallery .g-main { grid-row: auto; height: 300px; }
  .dg { height: 200px; }
  .price-card { position: static; }
  .plans-grid { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
}

/* ============ content / prose sections ============ */
.content-section { max-width: 1200px; margin: 0 auto; padding: 5.5rem 6vw; }
.content-narrow { max-width: 820px; }
.content-section h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 1.4rem; }
.content-section .lead { font-size: 1.2rem; color: var(--graphite); line-height: 1.75; margin-bottom: 1.5rem; }
.content-section p { color: var(--graphite); margin-bottom: 1.1rem; }
.content-split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.content-split.reverse .cs-media { order: 2; }
.cs-media { height: 460px; background-size: cover; background-position: center; }
.cs-body h2 { margin-bottom: 1.2rem; }

/* values / approach cards (light) */
.values { background: var(--off-white); padding: 6rem 6vw; }
.values-inner { max-width: 1200px; margin: 0 auto; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 3rem; }
.value-card .v-idx { font-family: var(--serif); font-size: 1.6rem; color: var(--accent); display: block; margin-bottom: 0.8rem; }
.value-card h4 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.value-card p { font-size: 0.92rem; color: var(--graphite); }

/* process steps */
.steps { max-width: 1000px; margin: 0 auto; display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid #e4e2dc;
  align-items: start;
}
.step:last-child { border-bottom: 1px solid #e4e2dc; }
.step-num { font-family: var(--serif); font-size: 2.4rem; color: var(--accent); line-height: 1; }
.step h4 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.step p { color: var(--graphite); font-size: 0.95rem; }

/* offices */
.offices { background: var(--navy-deep); color: var(--white); padding: 6rem 6vw; }
.offices-inner { max-width: 1200px; margin: 0 auto; }
.offices-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 3rem; }
.office h4 { color: var(--white); font-size: 1.2rem; margin-bottom: 0.8rem; }
.office p { color: rgba(255,255,255,0.75); font-size: 0.92rem; margin-bottom: 0.35rem; }
.office a { color: var(--accent-light); }

/* team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem; }
.team-card { transition: transform 0.4s ease; }
.team-card .t-photo {
  height: 340px;
  background-size: cover;
  background-position: center;
  filter: grayscale(18%) brightness(0.94);
  margin-bottom: 1rem;
  transition: filter 0.5s ease, box-shadow 0.5s ease;
}
.team-card:hover { transform: translateY(-6px); }
.team-card:hover .t-photo {
  filter: grayscale(0%) brightness(1);
  box-shadow: 0 16px 36px rgba(12, 27, 51, 0.22);
}
.team-card h4 { font-size: 1.05rem; margin-bottom: 0.15rem; transition: color 0.3s ease; }
.team-card:hover h4 { color: var(--accent); }
.team-card p { font-size: 0.82rem; color: var(--graphite); }

/* contact page layout */
.contact-page { max-width: 1200px; margin: 0 auto; padding: 5.5rem 6vw; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-map { height: 100%; min-height: 420px; background-size: cover; background-position: center; }

@media (max-width: 900px) {
  .content-split { grid-template-columns: 1fr; gap: 2rem; }
  .content-split.reverse .cs-media { order: 0; }
  .cs-media { height: 260px; }
  .values-grid { grid-template-columns: 1fr; }
  .offices-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .step { grid-template-columns: 60px 1fr; gap: 1rem; }
  .contact-page { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ============ enquiry modal ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(6, 15, 28, 0.72);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  position: relative;
  width: 100%;
  max-width: 540px;
  background: var(--white);
  padding: 3rem 3rem 2.6rem;
  transform: translateY(24px) scale(0.98);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 92vh;
  overflow-y: auto;
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute;
  top: 1.1rem; right: 1.3rem;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--graphite);
  cursor: pointer;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--navy-deep); }
.modal .eyebrow { margin-bottom: 0.6rem; }
.modal h3 {
  font-family: var(--sans);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 1.7rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.6rem;
  color: var(--navy-deep);
}
.modal .modal-sub { color: var(--graphite); font-size: 0.95rem; margin-bottom: 1.8rem; }
.modal .contact-form { margin-top: 0; }
.modal .contact-form button { width: 100%; text-align: center; }
.modal-success {
  display: none;
  text-align: center;
  padding: 1rem 0 0.5rem;
}
.modal-success.show { display: block; }
.modal-success .ms-mark {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--forest-dark);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 1.2rem;
}
.modal-success h3 { margin-bottom: 0.5rem; }
.modal-success p { color: var(--graphite); }

/* ============ live construction camera ============ */
.live-cam { background: var(--navy-deep); padding: 5.5rem 6vw; }
.live-cam-inner { max-width: 1150px; margin: 0 auto; }
.live-cam .section-head { margin: 0 auto 2.5rem; }
.cam-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}
.cam-live-tag i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ff4d4d;
  display: inline-block;
  animation: pulse 1.6s infinite;
}
.cam-frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.cam-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.cam-caption {
  margin-top: 1.2rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  text-align: center;
}

/* ============ lightbox ============ */
.detail-gallery .dg, .gallery .gallery-item { cursor: pointer; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(6, 15, 28, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 88vw;
  max-height: 82vh;
  object-fit: contain;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}
.lb-close {
  position: absolute;
  top: 1.3rem; right: 1.8rem;
  font-size: 2rem;
  line-height: 1;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.lb-close:hover { opacity: 1; }
.lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.2s;
}
.lb-arrow:hover { background: rgba(255, 255, 255, 0.22); }
.lb-prev { left: 2rem; }
.lb-next { right: 2rem; }
.lb-counter {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
}
@media (max-width: 700px) {
  .lb-prev { left: 0.6rem; }
  .lb-next { right: 0.6rem; }
  .lb-arrow { width: 44px; height: 44px; }
}

/* ============ floating contact widget ============ */
.fab-wrap {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 900;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 14px;
}
.fab-main {
  width: 58px; height: 58px;
  border-radius: 50%;
  border: none;
  background: var(--forest-mid);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.35s ease, background 0.3s ease;
}
.fab-main:hover { background: var(--forest-dark); }
.fab-main svg { width: 26px; height: 26px; transition: transform 0.35s ease; }
.fab-wrap.open .fab-main { transform: rotate(90deg); }
.fab-item {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  opacity: 0;
  transform: translateY(12px) scale(0.8);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.fab-item svg { width: 26px; height: 26px; }
.fab-wrap.open .fab-item {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.fab-wa { background: var(--forest-mid); }
.fab-tg { background: var(--forest-mid); }
.fab-tel { background: var(--forest-mid); }
.fab-item:hover { filter: brightness(1.08); }

/* ============ locations: floating card over map ============ */
.locations { background: var(--off-white); padding: 6.5rem 6vw 7.5rem; }
.locations-inner { max-width: 1300px; margin: 0 auto; }
.locations .section-head { text-align: left; max-width: none; margin: 0; padding: 0; }
.locations .section-head h2 { color: var(--navy-deep); }

.city-tabs {
  display: flex;
  gap: 2.4rem;
  margin: 1.6rem 0 2.8rem;
  border-bottom: 1px solid #e2e0d9;
}
.city-tab {
  background: none;
  border: none;
  padding: 0 0 0.9rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--graphite);
  cursor: pointer;
  position: relative;
  transition: color 0.25s ease;
}
.city-tab:hover { color: var(--navy-deep); }
.city-tab.is-active { color: var(--navy-deep); }
.city-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--accent);
}

.city-panel { display: none; position: relative; }
.city-panel.is-active { display: block; }
.city-map {
  width: 100%;
  height: 540px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(12, 27, 51, 0.14);
}
.city-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.city-address {
  position: absolute;
  top: 50%; left: 60px;
  transform: translateY(-50%);
  width: 360px;
  background: #fff;
  padding: 2.8rem 2.6rem;
  box-shadow: 0 30px 70px rgba(12, 27, 51, 0.22);
}
.city-address .ca-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}
.city-address h4 { color: var(--navy-deep); font-size: 1.5rem; font-weight: 700; margin-bottom: 1.1rem; }
.city-address p { color: var(--graphite); font-size: 0.96rem; margin-bottom: 0.4rem; }
.city-address .ca-mail { display: inline-block; margin-top: 0.9rem; color: var(--navy-deep); border-bottom: 1px solid #ddd; padding-bottom: 1px; }
.city-address .ca-mail:hover { border-color: var(--accent); color: var(--accent); }
.city-address .ca-dir {
  display: inline-block;
  margin-top: 1.6rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 3px;
}
.city-address .ca-dir:hover { color: var(--navy-deep); border-color: var(--navy-deep); }

@media (max-width: 820px) {
  .city-map { height: 380px; }
  .city-address {
    position: static;
    transform: none;
    width: auto;
    box-shadow: 0 -12px 30px rgba(12, 27, 51, 0.08);
  }
  .fab-wrap { right: 16px; bottom: 16px; }
}
