/* Listing page styles — ported from the static listing pages. */
*, *::before, *::after { box-sizing: border-box; }
    html, body { margin: 0; padding: 0; }
    body {
      font-family: 'Hanken Grotesk', system-ui, sans-serif;
      background: #fff;
      color: #18302E;
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
      overflow-x: hidden;
    }
    ::selection { background: #138776; color: #fff; }
    img { display: block; max-width: 100%; }
    a { text-decoration: none; color: inherit; }

    @keyframes waPulse {
      0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
      70%  { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
      100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
    }
    @keyframes floatUp {
      from { opacity: 0; transform: translateY(16px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    /* ── NAV ─────────────────────────────────────── */
    .site-header {
      position: sticky; top: 0; z-index: 1000;
      background: rgba(255,255,255,.88);
      backdrop-filter: saturate(160%) blur(14px);
      -webkit-backdrop-filter: saturate(160%) blur(14px);
      border-bottom: 1px solid #E6EEEB;
      font-family: 'Hanken Grotesk', system-ui, sans-serif;
    }
    .nav-inner {
      width: min(1200px, 92vw); margin: 0 auto;
      display: flex; align-items: center; justify-content: space-between;
      height: 74px; gap: 18px;
    }
    .nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
    .nav-logo img { height: 50px; width: auto; }
    .nav-links { display: flex; align-items: center; gap: 4px; }
    .nav-link {
      padding: 9px 14px; border-radius: 10px; text-decoration: none;
      font-size: 15px; font-weight: 500; color: #36514E;
      background: transparent; transition: background .15s, color .15s; white-space: nowrap;
    }
    .nav-link:hover, .nav-link.active { color: #138776; background: #F0F7F5; font-weight: 600; }
    .nav-dropdown { position: relative; }
    .nav-caret { display: inline-block; margin-left: 5px; font-size: 10px; transition: transform .2s; }
    .nav-dropdown:hover .nav-caret { transform: rotate(180deg); }
    .nav-dropdown-menu {
      position: absolute; top: calc(100% - 4px); left: 0; min-width: 210px;
      background: #fff; border: 1px solid #E6EEEB; border-radius: 14px;
      box-shadow: 0 18px 40px -16px rgba(14,42,40,.28); padding: 8px;
      opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s ease;
    }
    .nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
    .nav-dropdown-item {
      display: flex; flex-direction: column; gap: 2px; padding: 10px 12px;
      border-radius: 10px; text-decoration: none; color: #18302E; transition: background .12s;
    }
    .nav-dropdown-item:hover { background: #F0F7F5; }
    .nav-dropdown-item span:first-child { font-weight: 600; font-size: 15px; }
    .nav-dropdown-item span:last-child { font-size: 12.5px; color: #5B7470; }
    .nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
    .nav-wa {
      display: flex; align-items: center; justify-content: center;
      width: 42px; height: 42px; border-radius: 12px;
      background: #F0F7F5; color: #138776; text-decoration: none;
      border: 1px solid #DBEAE6; transition: background .15s;
    }
    .nav-wa:hover { background: #DBEAE6; }
    .nav-call {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 0 20px; height: 42px; border-radius: 12px;
      background: #138776; color: #fff; text-decoration: none;
      font-weight: 600; font-size: 15px;
      box-shadow: 0 8px 20px -8px rgba(19,135,118,.7); transition: background .15s;
    }
    .nav-call:hover { background: #0C5249; }
    .nav-enquiry { display: inline-flex; align-items: center; gap: 7px; padding: 0 16px; height: 42px; border-radius: 12px; background: #B5894E; color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; box-shadow: 0 8px 20px -8px rgba(181,137,78,.7); transition: background .15s; white-space: nowrap; }
    .nav-enquiry:hover { background: #9c7440; }
    .nav-hamburger {
      display: none; align-items: center; justify-content: center;
      width: 44px; height: 44px; border-radius: 12px;
      border: 1px solid #DBEAE6; background: #fff; cursor: pointer; color: #0E2A28;
    }
    .mobile-drawer {
      display: none; border-top: 1px solid #E6EEEB; background: #fff;
      padding: 14px clamp(16px,6vw,24px) 26px; flex-direction: column; gap: 4px;
    }
    .mobile-drawer.open { display: flex; }
    .mobile-nav-link {
      padding: 13px 8px; text-decoration: none; color: #18302E;
      font-weight: 600; font-size: 17px; border-bottom: 1px solid #F0F4F2;
    }
    .mobile-projects-sub { padding: 8px 14px; text-decoration: none; color: #138776; font-size: 15.5px; display: block; }
    .mobile-drawer-actions { display: flex; gap: 10px; margin-top: 14px; }
    .mobile-btn-call {
      flex: 1; display: flex; align-items: center; justify-content: center;
      gap: 8px; height: 48px; border-radius: 12px;
      background: #138776; color: #fff; text-decoration: none; font-weight: 600;
    }
    .mobile-btn-wa {
      flex: 1; display: flex; align-items: center; justify-content: center;
      gap: 8px; height: 48px; border-radius: 12px;
      background: #F0F7F5; color: #138776; text-decoration: none;
      font-weight: 600; border: 1px solid #DBEAE6;
    }
    @media (max-width: 1024px) {
      .nav-links, .nav-actions { display: none; }
      .nav-hamburger { display: flex; }
      .nav-logo img { height: 40px; }
    }

    /* ── COMMON ──────────────────────────────────── */
    .container { width: min(1200px,92vw); margin: 0 auto; }
    .container-sm { width: min(1100px,92vw); margin: 0 auto; }
    .section-label {
      font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase;
      color: #138776; font-weight: 600; font-family: 'Schibsted Grotesk', sans-serif; margin-bottom: 14px;
    }

    /* ── PAGE HERO ───────────────────────────────── */
    .page-hero {
      background: #F7F4EE;
      padding: clamp(52px,8vw,96px) 0 clamp(44px,6vw,72px);
      text-align: center;
      animation: floatUp .6s ease both;
    }
    .eyebrow-row {
      display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px;
    }
    .eyebrow-dash { width: 22px; height: 2px; background: #B5894E; display: block; flex-shrink: 0; }
    .eyebrow {
      font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase;
      color: #138776; font-weight: 600; font-family: 'Schibsted Grotesk', sans-serif;
    }
    .page-h1 {
      font-family: 'Schibsted Grotesk', sans-serif; font-weight: 700;
      font-size: clamp(32px,5vw,58px); line-height: 1.06; letter-spacing: -.025em;
      margin: 0 auto 18px; color: #0E2A28; max-width: 720px;
    }
    .page-h1 .accent { color: #138776; }
    .page-lead {
      margin: 0 auto 32px; font-size: clamp(16px,1.6vw,18.5px); line-height: 1.6;
      color: #4C6661; max-width: 580px;
    }
    .page-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
    .btn-primary {
      display: inline-flex; align-items: center; gap: 10px; height: 52px;
      padding: 0 26px; border-radius: 14px; background: #138776; color: #fff;
      text-decoration: none; font-weight: 600; font-size: 15.5px;
      box-shadow: 0 12px 28px -10px rgba(19,135,118,.8);
    }
    .btn-outline-sm {
      display: inline-flex; align-items: center; gap: 8px; height: 52px;
      padding: 0 22px; border-radius: 14px; background: #fff; color: #138776;
      text-decoration: none; font-weight: 600; font-size: 15.5px; border: 1.5px solid #B6DAD2;
    }

    /* ── IMG PLACEHOLDER ─────────────────────────── */
    .img-slot {
      background: linear-gradient(135deg, #E8F4F1 0%, #D3EBE6 100%);
      display: flex; align-items: center; justify-content: center;
      position: relative; overflow: hidden;
    }
    .img-slot::before {
      content: ''; position: absolute; inset: 0;
      background: repeating-linear-gradient(45deg, transparent, transparent 12px,
        rgba(19,135,118,.05) 12px, rgba(19,135,118,.05) 24px);
    }
    .img-slot-icon { position: relative; z-index: 1; color: #89C4BB; }

    /* ── LISTINGS SECTION ───────────────────────── */
    .listings-section { padding: clamp(56px,7vw,88px) 0; background: #fff; }
    .listings-header {
      display: flex; flex-wrap: wrap; gap: 16px;
      align-items: flex-end; justify-content: space-between;
      margin-bottom: clamp(32px,4vw,48px);
    }
    .listings-count {
      font-size: 13.5px; color: #7E938F; font-weight: 500; margin-top: 6px;
    }
    .listings-grid {
      display: grid; gap: 28px;
      grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    }

    /* ── EMPTY STATE ─────────────────────────────── */
    .listings-empty {
      border: 1.5px dashed #CFE0DB; border-radius: 22px;
      background: #F7FAF9; padding: clamp(40px,6vw,72px) clamp(24px,4vw,48px);
      text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px;
    }
    .listings-empty-icon {
      width: 64px; height: 64px; border-radius: 18px; background: #E8F4F1;
      display: flex; align-items: center; justify-content: center; color: #138776;
    }
    .listings-empty h3 {
      font-family: 'Schibsted Grotesk', sans-serif; font-weight: 700;
      font-size: clamp(22px,3vw,30px); margin: 0; color: #0E2A28;
    }
    .listings-empty p { margin: 0; max-width: 460px; font-size: 16px; line-height: 1.6; color: #5B7470; }
    .listings-empty-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 6px; }

    /* ── LISTING CARD ────────────────────────────── */
    .listing-card {
      border-radius: 20px; overflow: hidden; border: 1px solid #EAEFED;
      background: #fff; box-shadow: 0 12px 30px -22px rgba(14,42,40,.4);
      display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s;
    }
    .listing-card:hover {
      box-shadow: 0 24px 48px -20px rgba(14,42,40,.22);
      transform: translateY(-2px);
    }
    .listing-img-wrap { position: relative; flex-shrink: 0; height: 220px; overflow: hidden; }
    .listing-img {
      width: 100%; height: 220px; object-fit: cover;
      position: absolute; inset: 0; display: none;   /* non-active stay unloaded (perf) */
    }
    .listing-img.active { display: block; }
    .listing-img-placeholder { width: 100%; height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
    .listing-img-placeholder .coming-soon { position: relative; z-index: 1; font-family: 'Schibsted Grotesk', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: .04em; color: #6FA399; }
    .carousel-dots {
      position: absolute; bottom: 12px; left: 0; right: 0;
      display: flex; justify-content: center; gap: 6px; z-index: 2;
    }
    .carousel-dot {
      width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.55);
      transition: background .2s, width .2s;
    }
    .carousel-dot.active { background: #fff; width: 16px; border-radius: 3px; }
    .badge-row {
      position: absolute; top: 14px; left: 14px;
      display: flex; gap: 8px; flex-wrap: wrap;
    }
    .type-badge {
      background: rgba(255,255,255,.94); color: #138776;
      font-size: 12px; font-weight: 600; letter-spacing: .03em;
      padding: 5px 11px; border-radius: 999px; backdrop-filter: blur(4px);
    }
    .status-badge {
      font-size: 11.5px; font-weight: 600; letter-spacing: .03em;
      padding: 5px 11px; border-radius: 999px; backdrop-filter: blur(4px);
    }
    /* opaque backgrounds so status stays readable over bright card images */
    .status-uc { background: rgba(255,243,222,.95); color: #8a5a00; border: 1px solid rgba(255,165,0,.35); }
    .status-ready { background: rgba(223,244,239,.95); color: #0a6055; border: 1px solid rgba(19,135,118,.35); }
    .status-unconfirmed { background: rgba(238,238,238,.95); color: #4b5563; border: 1px solid rgba(0,0,0,.14); }
    .status-portfolio { background: rgba(232,238,236,.95); color: #3d5753; border: 1px solid rgba(91,116,112,.3); }

    .listing-body {
      padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1;
    }
    .listing-builder {
      font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
      text-transform: uppercase; color: #9FB8B3;
    }
    .listing-title {
      font-family: 'Schibsted Grotesk', sans-serif; font-weight: 700;
      font-size: 20px; line-height: 1.2; margin: 0; color: #0E2A28;
    }
    .listing-location {
      display: flex; align-items: flex-start; gap: 6px; color: #5B7470;
      font-size: 13.5px; margin-top: 2px;
    }
    .listing-location svg { flex-shrink: 0; margin-top: 1px; }
    .listing-specs {
      display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
      gap: 1px; background: #F0F4F2; border-radius: 12px;
      overflow: hidden; margin-top: 6px;   /* one column per value — no empty cells */
    }
    .spec-cell {
      background: #fff; padding: 10px 12px;
      display: flex; flex-direction: column; gap: 2px;
    }
    .spec-label { font-size: 11px; color: #9FB8B3; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
    .spec-val { font-size: 13.5px; color: #0E2A28; font-weight: 600; }
    .listing-rera { font-size: 11.5px; color: #A8BEB9; margin-top: 2px; }
    .listing-rera span { color: #6FA399; }
    .listing-note {
      font-size: 13px; color: #7E938F; background: #F7FAF9;
      border-radius: 10px; padding: 10px 14px; line-height: 1.5; margin-top: 4px;
    }
    .sub-projects { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
    .sub-project-row {
      display: flex; align-items: center; gap: 10px;
      padding: 8px 12px; border-radius: 10px; background: #F7FAF9; font-size: 13.5px;
    }
    .sub-project-name { font-weight: 600; color: #0E2A28; flex: 1; }
    .sub-project-type { font-size: 12px; color: #7E938F; }
    .sub-project-status-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
    .dot-uc { background: #f59e0b; }
    .dot-ready { background: #138776; }
    .dot-done { background: #6b7280; }
    .btn-enquire {
      margin-top: auto;   /* pin to bottom so buttons align across a row */
      display: inline-flex; align-items: center; justify-content: center;
      gap: 8px; height: 48px; border-radius: 12px; background: #0E2A28;
      color: #fff; text-decoration: none; font-weight: 600; font-size: 15px;
      transition: background .15s;
    }
    .btn-enquire:hover { background: #138776; }

    /* ── CTA STRIP ───────────────────────────────── */
    .cta-section { background: #F7F4EE; padding: clamp(48px,7vw,88px) 0; }
    .cta-card {
      background: #138776; border-radius: 28px; padding: clamp(36px,5vw,64px);
      display: flex; flex-wrap: wrap; gap: 28px; align-items: center;
      justify-content: space-between; position: relative; overflow: hidden;
    }
    .cta-card::before {
      content: ''; position: absolute; right: -60px; top: -60px;
      width: 240px; height: 240px; border-radius: 50%; background: rgba(255,255,255,.07);
    }
    .cta-copy { position: relative; max-width: 560px; }
    .cta-h2 {
      font-family: 'Schibsted Grotesk', sans-serif; font-weight: 700;
      font-size: clamp(26px,3.6vw,40px); line-height: 1.1; letter-spacing: -.02em;
      margin: 0 0 12px; color: #fff;
    }
    .cta-sub { margin: 0; font-size: clamp(15.5px,1.6vw,18px); line-height: 1.55; color: #D3EDE8; }
    .cta-actions { position: relative; display: flex; flex-wrap: wrap; gap: 14px; }
    .btn-white {
      display: inline-flex; align-items: center; gap: 10px; height: 56px;
      padding: 0 28px; border-radius: 14px; background: #fff; color: #138776;
      text-decoration: none; font-weight: 700; font-size: 16.5px;
    }
    .btn-ghost {
      display: inline-flex; align-items: center; gap: 10px; height: 56px;
      padding: 0 26px; border-radius: 14px; background: rgba(255,255,255,.14);
      color: #fff; text-decoration: none; font-weight: 600; font-size: 16.5px;
      border: 1.5px solid rgba(255,255,255,.5);
    }

    /* ── FOOTER ──────────────────────────────────── */
    .site-footer { background: #0B2E2A; color: #CFE3DE; font-family: 'Hanken Grotesk', system-ui, sans-serif; }
    .footer-inner { width: min(1200px,92vw); margin: 0 auto; padding: clamp(48px,7vw,84px) 0 0; }
    .footer-grid { display: grid; gap: clamp(32px,5vw,56px); grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); }
    .footer-logo-wrap { display: inline-flex; background: #fff; padding: 12px 14px; border-radius: 14px; margin-bottom: 18px; }
    .footer-tagline { margin: 0; font-size: 15px; line-height: 1.65; color: #9FBDB6; }
    .footer-socials { display: flex; gap: 10px; margin-top: 22px; }
    .social-btn {
      display: flex; align-items: center; justify-content: center;
      width: 40px; height: 40px; border-radius: 11px;
      background: rgba(255,255,255,.07); color: #CFE3DE; text-decoration: none;
      border: 1px solid rgba(255,255,255,.1); transition: background .15s;
    }
    .social-btn:hover { background: rgba(255,255,255,.14); }
    .footer-heading {
      font-family: 'Schibsted Grotesk', sans-serif; font-weight: 600;
      font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
      color: #6FA399; margin-bottom: 18px;
    }
    .footer-links { display: flex; flex-direction: column; gap: 12px; }
    .footer-link { color: #CFE3DE; text-decoration: none; font-size: 15px; transition: color .15s; }
    .footer-link:hover { color: #fff; }
    .footer-contacts { display: flex; flex-direction: column; gap: 16px; }
    .footer-contact-row { display: flex; gap: 12px; align-items: flex-start; }
    .footer-contact-row a { color: #CFE3DE; text-decoration: none; display: flex; gap: 12px; align-items: center; }
    .footer-contact-row a:hover { color: #fff; }
    .footer-contact-row svg { flex-shrink: 0; }
    .footer-contact-text { font-size: 14.5px; line-height: 1.6; color: #B9D2CC; }
    .footer-contact-phone { font-size: 15px; }
    .footer-bottom {
      margin-top: clamp(40px,6vw,64px); border-top: 1px solid rgba(255,255,255,.1);
      padding: 24px 0 30px; display: flex; flex-wrap: wrap;
      gap: 14px 28px; align-items: center; justify-content: space-between;
    }
    .footer-copy { font-size: 13.5px; color: #7FA59E; }

    /* ── FLOATING WA ─────────────────────────────── */
    .wa-float {
      position: fixed; right: clamp(16px,3vw,28px); bottom: clamp(16px,3vw,28px);
      z-index: 1200; width: 60px; height: 60px; border-radius: 50%;
      background: #25D366; display: flex; align-items: center; justify-content: center;
      box-shadow: 0 12px 30px -8px rgba(37,211,102,.7);
      animation: waPulse 2.4s infinite; text-decoration: none;
    }

    @media (max-width: 600px) {
      .listings-grid { grid-template-columns: 1fr; }
      .listing-specs { grid-auto-flow: row; grid-template-columns: repeat(2,1fr); grid-auto-columns: auto; }
    }
