:root {
  --navy: #0d2137;
  --navy-2: #173655;
  --gold: #c9a84c;
  --ink: #16202c;
  --muted: #667085;
  --line: #e5e7eb;
  --soft: #f5f7fb;
  --white: #fff;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); font-family: Inter, system-ui, sans-serif; background: var(--white); }
h1, h2, h3, h4, h5, h6 { font-family: Poppins, Inter, sans-serif; letter-spacing: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1180px; }

.site-header { background: rgba(255,255,255,.96); box-shadow: 0 10px 30px rgba(13,33,55,.08); backdrop-filter: blur(12px); }
.navbar-brand { display: flex; gap: 10px; align-items: center; color: var(--navy); }
.navbar-brand small { display: block; color: var(--gold); font-size: 12px; font-weight: 700; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 8px; color: var(--white); background: var(--navy); }
.nav-link { color: var(--navy); font-weight: 700; }
.btn { border-radius: 8px; font-weight: 800; }
.btn-gold { color: var(--navy); background: var(--gold); border: 1px solid var(--gold); }
.btn-gold:hover { background: #b7973e; border-color: #b7973e; color: var(--navy); }
.btn-outline-navy { color: var(--navy); border: 1px solid var(--navy); }
.btn-outline-navy:hover { color: var(--white); background: var(--navy); }
.btn-whatsapp { color: var(--white); background: #1f9d55; border: 1px solid #1f9d55; }

.hero { position: relative; min-height: 640px; display: flex; align-items: center; color: var(--white); background: linear-gradient(90deg, rgba(13,33,55,.94), rgba(13,33,55,.62)), url('../images/stock/hero-skyline.webp') center/cover; }
.hero h1 { max-width: 760px; font-size: clamp(40px, 6vw, 72px); line-height: 1.02; margin-bottom: 18px; }
.hero p { max-width: 660px; color: rgba(255,255,255,.88); font-size: 18px; }
.hero-search { margin-top: 34px; padding: 18px; background: rgba(255,255,255,.97); border-radius: 8px; box-shadow: 0 24px 80px rgba(0,0,0,.22); }
.hero-search .form-label { color: var(--navy); font-weight: 800; font-size: 13px; }
.hero-search .form-select, .hero-search .form-control { min-height: 48px; border-color: #d8dde7; }
.hero-stats { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 18px; }
.hero-stat { min-width: 120px; }
.hero-stat strong { display: block; color: var(--gold); font-size: 26px; font-family: Poppins, sans-serif; }
.hero-stat span { color: rgba(255,255,255,.78); font-weight: 700; }

.section { padding: 76px 0; }
.section-soft { background: var(--soft); }
.section-title { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 30px; }
.section-title h2 { color: var(--navy); font-size: clamp(28px, 4vw, 42px); margin: 0; }
.section-title p { max-width: 540px; margin: 8px 0 0; color: var(--muted); }

.feature-box, .developer-card, .state-card, .type-card, .info-panel, .lead-form, .brochure-form, .admin-card { border: 1px solid var(--line); border-radius: 8px; background: var(--white); box-shadow: 0 16px 50px rgba(13,33,55,.07); }
.feature-box { padding: 24px; height: 100%; }
.feature-box i { width: 46px; height: 46px; display: grid; place-items: center; color: var(--navy); background: #f2ead2; border-radius: 8px; margin-bottom: 18px; }
.feature-box h3 { color: var(--navy); font-size: 20px; }
.feature-box p { color: var(--muted); margin: 0; }

.project-card { height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--white); box-shadow: 0 16px 50px rgba(13,33,55,.08); }
.project-image { position: relative; aspect-ratio: 4 / 3; background: #e9eef5; display: block; overflow: hidden; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.project-card:hover img { transform: scale(1.05); }
.project-image span { position: absolute; left: 14px; top: 14px; color: var(--white); background: var(--navy); border-radius: 6px; padding: 7px 10px; font-size: 12px; font-weight: 800; }
.project-body { padding: 20px; }
.project-kicker { color: var(--gold); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.project-body h3 { color: var(--navy); font-size: 21px; margin: 8px 0; }
.project-body p { color: var(--muted); min-height: 48px; }
.project-meta { display: flex; justify-content: space-between; gap: 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0; margin: 14px 0; }
.project-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.project-actions .btn { padding-left: 8px; padding-right: 8px; font-size: 13px; }

.developer-card, .state-card, .type-card { padding: 22px; height: 100%; }
.section-image { height: 100%; min-height: 340px; border-radius: 8px; overflow: hidden; box-shadow: 0 16px 50px rgba(13,33,55,.12); }
.section-image img { width: 100%; height: 100%; object-fit: cover; }
.developer-thumb { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; margin-bottom: 14px; }
.logo-tile { height: 76px; display: grid; place-items: center; color: var(--navy); background: var(--soft); border-radius: 8px; margin-bottom: 16px; font-weight: 900; }
.state-card img, .type-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; margin-bottom: 16px; }

.page-hero { padding: 78px 0; color: var(--white); background: linear-gradient(90deg, var(--navy), var(--navy-2)); }
.page-hero h1 { font-size: clamp(34px, 5vw, 58px); margin: 0; }
.page-hero p { color: rgba(255,255,255,.82); max-width: 720px; margin: 12px 0 0; }
.breadcrumb-wrap { background: #f8fafc; border-bottom: 1px solid var(--line); padding-top: 12px; }
.breadcrumb a { color: var(--navy); font-weight: 700; }

.page-slider .carousel-item { height: clamp(340px, 45vw, 560px); background: var(--navy); }
.page-slider img { width: 100%; height: 100%; object-fit: cover; opacity: .62; }
.page-slider .carousel-caption { inset: 0; display: flex !important; align-items: center; justify-content: flex-start; text-align: left; background: linear-gradient(90deg, rgba(13,33,55,.9), rgba(13,33,55,.48), rgba(13,33,55,.2)); }
.page-slider .carousel-caption .container { padding-top: 40px; }
.page-slider h1 { max-width: 720px; font-size: clamp(34px, 5.4vw, 64px); line-height: 1.04; margin-bottom: 14px; }
.page-slider p { max-width: 620px; font-size: 18px; color: rgba(255,255,255,.88); }
.page-slider .carousel-indicators [data-bs-target] { width: 34px; height: 4px; border-radius: 999px; border: 0; }

.project-detail-hero { color: var(--white); background: linear-gradient(90deg, rgba(13,33,55,.95), rgba(13,33,55,.65)), url('../images/stock/residential-tower.webp') center/cover; padding: 96px 0; }
.detail-stat { padding: 18px; border: 1px solid rgba(255,255,255,.22); border-radius: 8px; background: rgba(255,255,255,.1); }
.detail-stat span { display: block; color: rgba(255,255,255,.74); font-size: 13px; }
.detail-stat strong { color: var(--gold); }
.sticky-side { position: sticky; top: 96px; }
.lead-form, .brochure-form { padding: 22px; }
.lead-form h4, .brochure-form h4 { color: var(--navy); margin-bottom: 18px; }
.form-status { margin: 12px 0 0; font-weight: 800; color: #1f7a46; }
.amenity { display: flex; align-items: center; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; }
.amenity i { color: var(--gold); }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }

.cta-strip { color: var(--white); background: var(--navy); padding: 34px 0; }
.site-footer { color: rgba(255,255,255,.8); background: #071523; padding: 60px 0 24px; }
.site-footer h5, .site-footer h6 { color: var(--white); }
.site-footer a { display: block; color: rgba(255,255,255,.78); margin: 8px 0; }
.social-links { display: flex; gap: 10px; }
.social-links a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; }
.footer-bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.floating-whatsapp { position: fixed; right: 20px; bottom: 20px; z-index: 20; width: 58px; height: 58px; display: grid; place-items: center; color: var(--white); background: #1f9d55; border-radius: 50%; box-shadow: 0 16px 40px rgba(31,157,85,.38); font-size: 26px; }

.admin-shell { background: #f5f7fb; min-height: 100vh; }
.admin-sidebar { background: var(--navy); min-height: 100vh; padding: 20px; color: var(--white); }
.admin-sidebar a { display: block; color: rgba(255,255,255,.84); padding: 10px 12px; border-radius: 8px; margin: 4px 0; }
.admin-sidebar a:hover { background: rgba(255,255,255,.12); }
.admin-main { padding: 28px; }
.table-actions { white-space: nowrap; }
.admin-image-preview img { width: 180px; max-width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.admin-gallery-thumb { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }

@media (max-width: 991px) {
  .hero { min-height: auto; padding: 84px 0; }
  .section { padding: 54px 0; }
  .section-title { display: block; }
  .sticky-side { position: static; }
}

@media (max-width: 575px) {
  .project-actions { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-search { padding: 14px; }
  .footer-bottom { display: block; }
}
.lead-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.popup-close{position:absolute;right:16px;top:16px;z-index:2;background-color:#fff;padding:10px}.popup-visual{position:relative;background:#13243c;min-height:500px;color:#fff}.popup-visual img{width:100%;height:100%;position:absolute;object-fit:cover;opacity:.55}.popup-visual>div{position:absolute;bottom:30px;padding:30px}.popup-visual span{letter-spacing:.2em;color:#f2d59c}.popup-visual h2{font-size:2.5rem}.project-hero-image{width:100%;height:320px;object-fit:cover;border-radius:16px}.project-detail-hero a{color:inherit}.mobile-project-cta{display:none}#leadPopup .lead-form{padding:0;box-shadow:none;border:0}#leadPopup .lead-form h4{display:none}#leadPopup .modal-content{border:0;border-radius:20px}#leadPopup .form-label{font-size:.875rem}.popup-visual p{max-width:260px}@media(max-width:767px){.popup-visual{display:none}#leadPopup .modal-dialog{margin:12px}#leadPopup .modal-content{max-height:94dvh;overflow:auto!important}.mobile-project-cta{position:fixed;bottom:0;left:0;right:0;z-index:1020;display:flex;gap:12px;padding:12px;background:white;box-shadow:0 -2px 15px #0002;justify-content:center}body:has(.mobile-project-cta){padding-bottom:75px}.project-hero-image{height:220px}}
#leadPopupTitle{padding-right:32px}
.project-topic-nav{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:76px;z-index:1010}.project-topic-nav .container>div{display:flex;gap:6px;overflow-x:auto;padding:12px 0}.project-topic-nav a{white-space:nowrap;padding:10px 14px;border-radius:8px;font-size:13px;font-weight:700}.project-topic-nav a[aria-current=page]{background:var(--navy);color:#fff}.amenity-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.amenity-tile{display:flex;align-items:center;gap:12px;border:1px solid #e7e9ed;border-radius:10px;padding:16px;font-size:14px}.amenity-tile i{color:#9f7e2c;font-size:23px;width:30px;text-align:center;flex-shrink:0}.nearby-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.nearby-tile{display:flex;gap:12px;padding:16px;background:#f7f8fb;border-radius:10px}.nearby-tile>i{font-size:24px;color:#9f7e2c;padding-top:6px}.project-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.project-facts>div{border-bottom:1px solid #e7e9ed;padding:12px 0}.project-facts dt{font-size:12px;text-transform:uppercase;color:var(--muted);margin-bottom:6px}.project-facts dd{font-weight:600;margin:0;overflow-wrap:anywhere}.quick-project-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.quick-project-facts>div{background:#f6f7f9;border-radius:8px;padding:14px}.quick-project-facts span{display:block;font-size:12px;color:var(--muted);margin-bottom:5px}.quick-project-facts strong{font-size:14px}.project-media-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.project-image-zoom{border:0;padding:0;width:100%;background:#f4f5f7;cursor:zoom-in;border-radius:10px;overflow:hidden}.project-image-zoom img{width:100%;height:240px;object-fit:contain}.project-media-grid figcaption{padding:8px 0}.project-facts+.project-facts{margin-top:20px}.registration-card{border:1px solid var(--line);padding:18px;border-radius:10px;margin:18px 0}.layout-table th{white-space:nowrap}.layout-table td{min-width:105px}#projectImageModal img{max-height:80vh;object-fit:contain}@media(max-width:767px){.amenity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.amenity-tile{padding:12px;font-size:12px;gap:8px}.amenity-tile i{font-size:20px;width:24px}.nearby-grid,.project-facts,.quick-project-facts{grid-template-columns:1fr}.project-topic-nav{top:66px}.project-media-grid{grid-template-columns:1fr}.project-image-zoom img{height:230px}.project-topic-nav a{font-size:12px;padding:8px 11px}}
