: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.png') 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.png') 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; }
}
