:root {
  --navy: #071f2f;
  --deep: #03141f;
  --blue: #0b3550;
  --sand: #efe6d3;
  --cream: #f6efe4;
  --soft: #fbf7ef;
  --gold: #c99a4b;
  --teal: #1f7a7a;
  --text: #21313b;
  --muted: #6f7a82;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(8, 29, 43, 0.16);
  --radius: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(201, 154, 75, 0.10), transparent 32rem),
    linear-gradient(180deg, var(--cream), var(--soft) 42%, var(--sand));
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 31, 47, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: 12px; color: var(--white); }

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--gold);
  color: var(--deep);
  font-weight: 900;
  letter-spacing: 1px;
}

.brand small {
  display: block;
  color: rgba(255,255,255,.68);
  font-size: 12px;
  margin-top: -2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 650;
  color: rgba(255,255,255,.88);
}

.nav-links a:hover { color: var(--gold); }

.nav-cta {
  background: var(--gold);
  color: var(--deep) !important;
  padding: 11px 16px;
  border-radius: 999px;
}

.lang-toggle,
.menu-toggle {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: var(--white);
  border-radius: 999px;
  padding: 9px 12px;
  cursor: pointer;
  font-weight: 800;
}

.menu-toggle { display: none; font-size: 22px; }

.dr-flag {
  width: 30px;
  height: 20px;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.12);
  position: relative;
  display: inline-block;
  background:
    linear-gradient(90deg, transparent 0 42%, #fff 42% 58%, transparent 58%),
    linear-gradient(0deg, transparent 0 38%, #fff 38% 62%, transparent 62%),
    linear-gradient(90deg, #002d62 0 50%, #ce1126 50% 100%);
  overflow: hidden;
}
.dr-flag:before {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #1f7a35;
  top: 8px;
  left: 13px;
}
.dr-flag.tiny { width: 22px; height: 15px; vertical-align: -2px; margin-right: 6px; }
.flag-pill { display: inline-flex; align-items: center; }

.hero {
  min-height: 780px;
  position: relative;
  display: grid;
  align-items: center;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  padding: 120px 24px 80px;
  color: var(--white);
}

.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 14px;
}

h1, h2, h3 {
  line-height: 1.1;
  margin: 0 0 18px;
  color: var(--navy);
}

.hero h1 {
  color: var(--white);
  max-width: 900px;
  font-size: clamp(44px, 7vw, 84px);
  letter-spacing: -0.055em;
}

.hero-subtitle {
  max-width: 730px;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions, .cta-strip {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 850;
  border: 0;
  cursor: pointer;
}

.btn.primary { background: var(--gold); color: var(--deep); }

.btn.secondary {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.trust-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }

.trust-row span {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 750;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px 24px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: -80px;
  position: relative;
  z-index: 4;
}

.stat-card {
  background: rgba(255,255,255,.92);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(201,154,75,.16);
}

.stat-card strong {
  display: block;
  color: var(--navy);
  font-size: 36px;
  line-height: 1;
}

.stat-card span { color: var(--muted); font-weight: 700; }

.split {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 56px;
  align-items: center;
}

.split.reverse { grid-template-columns: 0.96fr 1.04fr; }

h2 {
  font-size: clamp(34px, 4vw, 54px);
  letter-spacing: -0.04em;
}

.center { text-align: center; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 32px;
}

.feature-grid > div,
.investment-card,
.payment-box,
.unit-card,
.contact-card {
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(13, 38, 54, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 16px 45px rgba(8, 29, 43, 0.08);
}

.feature-grid > div { padding: 24px; }

.feature-grid h3, .investment-card h3, .unit-card h3 {
  font-size: 20px;
  letter-spacing: -0.02em;
}

.image-card, .map-card {
  min-height: 520px;
  border-radius: 36px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  box-shadow: var(--shadow);
}

.photo-card img,
.unit-image img,
.gallery-item img,
.floor-plan-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.unit-grid, .investment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-top: 40px;
}

.investment-grid { grid-template-columns: repeat(3, 1fr); }

.unit-card { overflow: hidden; }

.unit-image {
  height: 300px;
  background: linear-gradient(135deg, rgba(13, 38, 54, 0.88), rgba(31, 122, 122, 0.72));
  color: var(--white);
}

.unit-body, .investment-card { padding: 28px; }

.unit-body ul {
  padding-left: 20px;
  color: var(--muted);
  font-weight: 650;
}

.floor-plan-block {
  margin-top: 48px;
  background: var(--navy);
  color: var(--white);
  border-radius: 34px;
  padding: 34px;
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow);
}

.floor-plan-block h2 { color: var(--white); }
.floor-plan-block p { color: rgba(255,255,255,.78); }

.floor-plan-image {
  display: block;
  border-radius: 24px;
  overflow: hidden;
  background: var(--white);
  min-height: 360px;
}

.floor-plan-image img { object-fit: contain; background: #d8d4cf; }

.video-section {
  max-width: 1260px;
}

.video-frame {
  margin-top: 34px;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 10px solid rgba(255,255,255,.85);
  background: var(--deep);
}

.video-frame video {
  width: 100%;
  display: block;
  max-height: 720px;
  background: #000;
}

.gallery-section {
  max-width: 1260px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 38px;
}

.gallery-item {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 16px 45px rgba(8, 29, 43, 0.10);
  border: 1px solid rgba(201,154,75,.18);
}

.gallery-item img {
  height: 250px;
}

.gallery-item figcaption {
  padding: 14px 16px;
  font-weight: 800;
  color: var(--navy);
}

.cta-strip {
  margin-top: 36px;
  justify-content: space-between;
  background: var(--navy);
  color: var(--white);
  padding: 28px;
  border-radius: var(--radius);
}

.cta-strip p { margin: 0; font-size: 18px; font-weight: 750; }

.location-list { display: grid; gap: 12px; margin-top: 28px; }

.location-list span {
  padding: 16px 18px;
  background: rgba(255,255,255,.92);
  border-radius: 18px;
  font-weight: 800;
  border-left: 4px solid var(--gold);
}

.investment {
  background: rgba(239, 230, 211, .78);
  border-radius: 38px;
}

.payment-box { margin-top: 28px; padding: 30px; }

.payment-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 22px 0;
}

.payment-steps span {
  background: var(--cream);
  padding: 18px;
  border-radius: 18px;
  font-weight: 850;
  text-align: center;
  color: var(--navy);
}

.fine-print, .form-note { color: var(--muted); font-size: 13px; }

.image-card.dark {
  background: var(--navy);
  color: var(--white);
  padding: 42px;
  display: block;
}

.image-card.dark h3 { color: var(--gold); font-size: 30px; }

.developer-meta {
  display: grid;
  gap: 10px;
  margin-top: 26px;
  color: var(--navy);
  font-weight: 850;
}

.contact-section { padding-top: 70px; }

.contact-card {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 48px;
  padding: 42px;
}

.lead-form { display: grid; gap: 14px; }

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(13, 38, 54, 0.14);
  background: var(--cream);
  border-radius: 16px;
  padding: 15px 16px;
  font: inherit;
}

.footer {
  background: var(--deep);
  color: var(--white);
  padding: 46px 24px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer > div { max-width: 1180px; }

.footer p { color: rgba(255, 255, 255, 0.68); }

.footer-flag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.82);
  font-weight: 750;
}

.footer-links {
  display: flex;
  gap: 20px;
  align-items: center;
  font-weight: 750;
}

@media (max-width: 980px) {
  .menu-toggle { display: block; }

  .nav-links {
    position: absolute;
    inset: 80px 16px auto 16px;
    padding: 18px;
    background: var(--navy);
    border-radius: 22px;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links.open { display: flex; }

  .stats,
  .split,
  .split.reverse,
  .unit-grid,
  .investment-grid,
  .contact-card,
  .payment-steps,
  .floor-plan-block,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero { min-height: 700px; }

  .section { padding: 72px 20px; }

  .stats { margin-top: -50px; }

  .gallery-item img { height: 230px; }

  .footer { flex-direction: column; }
}


/* V3 updates */
.photo-card {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--navy);
}

#project .photo-card img {
  object-fit: contain;
  padding: 0;
  background: linear-gradient(135deg, #071f2f, #0b3550);
}

.google-map-card {
  position: relative;
  min-height: 520px;
  background: var(--navy);
  border-radius: 36px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.google-map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
  display: block;
}

.map-link {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: var(--gold);
  color: var(--deep);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 850;
  box-shadow: 0 12px 32px rgba(0,0,0,.18);
}

.section-intro {
  max-width: 780px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: 18px;
}

.permits-section {
  max-width: 1260px;
}

.permits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.permit-card {
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(13, 38, 54, 0.08);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 16px 45px rgba(8, 29, 43, 0.08);
  min-height: 220px;
}

.permit-card.approved {
  border-top: 5px solid #2f9e44;
}

.permit-card.status-card {
  background: var(--navy);
  color: var(--white);
  border-top: 5px solid var(--gold);
}

.permit-card.status-card h3,
.permit-card.status-card p {
  color: var(--white);
}

.permit-icon {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(47, 158, 68, .12);
  color: #2f9e44;
  font-weight: 950;
  margin-bottom: 16px;
}

.status-card .permit-icon {
  width: auto;
  min-width: 62px;
  padding: 0 12px;
  background: rgba(201,154,75,.16);
  color: var(--gold);
}

.contact-direct {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.contact-direct a {
  background: var(--navy);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 850;
}

.video-placeholder {
  min-height: 320px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 850;
  padding: 30px;
  text-align: center;
}

@media (max-width: 980px) {
  .permits-grid {
    grid-template-columns: 1fr;
  }

  .google-map-card,
  .google-map-card iframe {
    min-height: 420px;
  }
}


/* Project section stacked image update */
.project-stack-card {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  padding: 10px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
}

.project-stack-card img {
  width: 100%;
  height: 100%;
  min-height: 245px;
  object-fit: cover;
  border-radius: 26px;
  display: block;
  background: var(--navy);
}

#project .feature-grid {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 980px) {
  .project-stack-card {
    grid-template-rows: auto auto;
  }

  .project-stack-card img {
    min-height: 260px;
  }

  #project .feature-grid {
    grid-template-columns: 1fr;
  }
}
