:root{--gold:#A9892F;--gold2:#B8952F;--dark:#111827;--navy:#071b36;--muted:#6b7280;--light:#f7f4ee;--white:#fff;--border:#e7e7e7;--shadow:0 18px 45px rgba(0,0,0,.08)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Poppins,Arial,sans-serif;color:var(--dark);background:#fff;line-height:1.65}img{max-width:100%;display:block}a{text-decoration:none;color:inherit}.container{width:min(1180px,92%);margin:auto}.section{padding:88px 0}.section-soft{background:var(--light)}.center{text-align:center}.badge{display:inline-flex;align-items:center;padding:8px 16px;border-radius:999px;background:rgba(169,137,47,.12);color:var(--gold);font-weight:700;font-size:13px}.section-title{font-size:clamp(30px,4vw,46px);line-height:1.15;margin:12px 0 12px}.section-lead{max-width:760px;margin:0 auto 38px;color:var(--muted);font-size:17px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:999px;padding:13px 26px;font-weight:700;border:1px solid transparent;transition:.25s}.btn-primary{background:linear-gradient(135deg,var(--gold),var(--gold2));color:#fff}.btn-dark{background:#111;color:#fff}.btn-light{background:#fff;color:#111;border-color:#eee}.btn-outline{border-color:#ddd;color:#111;background:#fff}.btn-whatsapp{background:#25D366;color:#fff}.btn:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.site-header{position:sticky;top:0;z-index:9999;background:#fff;border-bottom:1px solid rgba(0,0,0,.08)}.header-inner{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand-logo{height:66px;width:auto;max-width:165px;object-fit:contain}.main-nav{display:flex;align-items:center;gap:4px}.main-nav a{padding:10px 12px;border-radius:999px;font-size:14px;font-weight:600;color:#111;white-space:nowrap}.main-nav a:hover,.main-nav a.active{background:linear-gradient(135deg,var(--gold),var(--gold2));color:#fff}.nav-toggle{display:none;width:44px;height:44px;border:0;background:#111;border-radius:10px}.nav-toggle span{display:block;width:22px;height:2px;background:#fff;margin:5px auto}.hero{min-height:calc(100vh - 82px);display:flex;align-items:center;position:relative;background:linear-gradient(90deg,rgba(0,0,0,.72),rgba(0,0,0,.26)),url('images/hero-ajman.jpg') center/cover no-repeat;color:#fff}.hero-content{max-width:720px}.hero h1{font-size:clamp(42px,6vw,78px);line-height:1.05;margin:16px 0}.hero p{font-size:18px;max-width:680px;color:rgba(255,255,255,.88)}.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:30px}.hero-stats{display:flex;gap:14px;flex-wrap:wrap;margin-top:36px}.hero-stat{background:rgba(255,255,255,.12);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.16);border-radius:18px;padding:16px 18px;min-width:145px}.hero-stat strong{display:block;font-size:26px;color:#fff}.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:30px}.card{background:#fff;border:1px solid var(--border);border-radius:24px;padding:28px;box-shadow:0 12px 30px rgba(0,0,0,.04)}.card h3{margin:0 0 10px;font-size:22px}.card p{color:var(--muted);margin:0}.mission-vision{display:grid;grid-template-columns:repeat(2,1fr);gap:26px}.mv-card{padding:36px;border-radius:26px;color:#fff;background:linear-gradient(135deg,var(--navy),#152c53);position:relative;overflow:hidden}.mv-card:nth-child(2){background:linear-gradient(135deg,var(--gold),var(--gold2))}.mv-card h3{font-size:30px;margin:0 0 14px}.values-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:28px}.value-card{background:#fff;border-radius:20px;padding:24px;border:1px solid var(--border);box-shadow:0 8px 24px rgba(0,0,0,.04)}.value-card span{display:inline-flex;width:42px;height:42px;border-radius:14px;background:rgba(169,137,47,.14);align-items:center;justify-content:center;color:var(--gold);font-weight:800;margin-bottom:14px}.property-tile-list{display:grid;gap:26px}.property-tile-card{display:grid;grid-template-columns:1.05fr 1fr;background:#fff;border:1px solid #dedede;border-radius:26px;overflow:hidden;box-shadow:var(--shadow)}.property-tile-image-wrap{position:relative;min-height:320px}.property-tile-image-wrap img{width:100%;height:100%;object-fit:cover}.property-tile-tag{position:absolute;top:18px;right:18px;background:#fff;color:#111;font-size:13px;font-weight:700;padding:9px 17px;border-radius:999px}.property-tile-count{position:absolute;top:18px;left:18px;color:#fff;font-weight:700;text-shadow:0 1px 3px rgba(0,0,0,.35)}.property-tile-dots{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);display:flex;gap:7px}.property-tile-dots span{width:9px;height:9px;background:rgba(255,255,255,.78);border-radius:50%}.property-tile-content{padding:28px;display:flex;flex-direction:column;justify-content:center}.property-tile-content h3{font-size:30px;color:#1b124b;margin:0 0 12px}.property-tile-title{font-size:18px;line-height:1.55;color:#111;margin:0 0 18px}.property-tile-features{display:flex;flex-wrap:wrap;gap:15px;margin-bottom:16px;color:#333;font-size:14px}.property-tile-features span{background:#f7f7f7;border-radius:999px;padding:8px 12px}.property-tile-location{color:#555;margin-bottom:22px;padding-bottom:18px;border-bottom:1px solid #eee}.property-tile-actions{display:flex;gap:12px;flex-wrap:wrap}.tile-btn{border:1px solid #ddd;border-radius:999px;padding:12px 22px;font-weight:700;background:#fff}.tile-btn:hover{background:#111;color:#fff}.why-choose-wrapper{display:grid;grid-template-columns:.85fr 1.15fr;gap:54px;align-items:start}.why-choose-image img{border-radius:20px;width:100%;height:620px;object-fit:cover}.why-choose-content h2{font-size:clamp(34px,4vw,52px);line-height:1.15;margin:0 0 18px}.why-choose-intro{font-size:18px;color:#666;line-height:1.8;margin-bottom:32px}.why-point{margin-bottom:30px}.why-point h3{font-size:30px;color:#444;margin:0 0 10px}.why-point p{font-size:18px;color:#6c6c6c;line-height:1.8;margin:0}.team-grid-modern{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}.team-card-modern{background:#fff;border:1px solid #eee;border-radius:22px;overflow:hidden;text-align:center;box-shadow:var(--shadow)}.team-card-modern-image img{width:100%;height:320px;object-fit:cover}.team-card-modern-content{padding:24px}.team-card-modern-content h3{font-size:22px;margin:0 0 6px}.team-card-modern-content p{color:#777;margin:0 0 18px}.testimonials-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.testimonial{background:#fff;border:1px solid #eee;border-radius:24px;padding:28px;box-shadow:0 8px 28px rgba(0,0,0,.04)}.stars{color:var(--gold);letter-spacing:2px;margin-bottom:12px}.footer{background:#071b36;color:#fff;padding:60px 0 24px}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:28px}.footer-logo{height:70px;width:auto;margin-bottom:16px}.footer h4{margin:0 0 16px}.footer a,.footer p{color:rgba(255,255,255,.78);display:block;margin:8px 0}.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:34px;padding-top:20px;text-align:center;color:rgba(255,255,255,.7)}.footer-bottom a{display:inline;color:#d8bf7a}.inner-hero{padding:110px 0;background:linear-gradient(90deg,rgba(7,27,54,.86),rgba(7,27,54,.45)),url('images/hero-ajman.jpg') center/cover;color:#fff}.inner-hero h1{font-size:clamp(38px,5vw,62px);margin:0 0 12px}.inner-hero p{max-width:760px;color:rgba(255,255,255,.86);font-size:18px}.service-list{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}.service-card{background:#fff;border:1px solid #eee;border-radius:24px;padding:30px;box-shadow:0 8px 24px rgba(0,0,0,.04)}.service-card h3{font-size:26px;margin:0 0 12px}.service-card ul{padding-left:20px;color:#555}.contact-modern-wrapper{display:grid;grid-template-columns:1fr 1.05fr;gap:70px;align-items:start}.contact-modern-left h2{font-size:48px;margin:0 0 18px}.contact-modern-left p{font-size:17px;color:#5f5f5f}.contact-modern-info{list-style:none;padding:0;margin:34px 0 0}.contact-modern-info li{margin-bottom:21px;color:#555;line-height:1.7}.contact-modern-right{padding-left:46px;border-left:1px solid #ddd}.contact-modern-right h3{font-size:34px;margin:0 0 10px}.modern-contact-form .form-row{display:grid;grid-template-columns:1fr 1fr;gap:22px}.modern-contact-form .form-group{margin-bottom:24px}.modern-contact-form label{display:block;font-weight:600;margin-bottom:8px}.modern-contact-form input,.modern-contact-form textarea{width:100%;border:0;border-bottom:1px solid #cfcfcf;padding:12px 4px;background:transparent;outline:none}.submit-btn{border:0;background:#d18f7a;color:#fff;font-weight:800;text-transform:uppercase;padding:14px 30px;cursor:pointer}.whatsapp-float{position:fixed;right:20px;bottom:20px;background:#25D366;color:#fff;z-index:9999;border-radius:999px;padding:14px 18px;font-weight:800;box-shadow:0 12px 30px rgba(0,0,0,.2)}@media(max-width:1080px){.main-nav{position:absolute;top:82px;left:0;right:0;display:none;flex-direction:column;align-items:stretch;background:#fff;padding:16px 24px 24px;box-shadow:0 18px 45px rgba(0,0,0,.13)}.main-nav.open{display:flex}.nav-toggle{display:block}.main-nav a{border-radius:12px}.grid-3,.values-grid,.team-grid-modern,.testimonials-grid{grid-template-columns:repeat(2,1fr)}.property-tile-card,.why-choose-wrapper,.contact-modern-wrapper,.mission-vision,.grid-2{grid-template-columns:1fr}.contact-modern-right{border-left:0;padding-left:0}.footer-grid{grid-template-columns:repeat(2,1fr)}.why-choose-image img{height:420px}}@media(max-width:700px){.section{padding:64px 0}.hero{min-height:680px}.hero-stats{display:none}.grid-3,.values-grid,.team-grid-modern,.testimonials-grid,.service-list,.footer-grid,.modern-contact-form .form-row{grid-template-columns:1fr}.property-tile-card{border-radius:18px}.property-tile-image-wrap{min-height:240px}.property-tile-content h3{font-size:24px}.brand-logo{height:58px}.whatsapp-float{font-size:0;padding:15px}.whatsapp-float:after{content:'WhatsApp';font-size:13px}}


/* =========================================================
   GSB COMPLETE FINAL HERO / HEADER OVERRIDE
   Added for final homepage screenshot-style header and hero
========================================================= */

/* Home Header */
.hero-style-header {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.96) !important;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    z-index: 9999;
    backdrop-filter: blur(8px);
}

.hero-style-header .header-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.hero-style-header .brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.hero-style-header .brand-logo {
    height: 78px !important;
    width: auto !important;
    max-width: 170px;
    object-fit: contain;
}

.hero-style-header .main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-style-header .main-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 14px;
    border-radius: 999px;
    color: #222222;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.hero-style-header .main-nav a:hover,
.hero-style-header .main-nav a.active {
    background: linear-gradient(135deg, #A9892F, #B8952F);
    color: #ffffff;
}

/* Clean Hero */
.hero-clean {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 80px;
    background: url("images/hero-ajman.jpg") center center / cover no-repeat !important;
    overflow: hidden;
    color: #ffffff;
}

.hero-clean .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 15, 26, 0.76) 0%, rgba(7, 15, 26, 0.48) 55%, rgba(7, 15, 26, 0.35) 100%);
    z-index: 1;
}

.hero-clean .container {
    position: relative;
    z-index: 2;
}

.hero-clean-content {
    max-width: 720px;
    color: #ffffff;
}

.hero-clean-content .hero-badge {
    background: rgba(169,137,47,0.22);
    color: #f4d98b;
    border: 1px solid rgba(255,255,255,0.16);
    letter-spacing: 0.3px;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.hero-clean-content h1 {
    font-size: clamp(48px, 7vw, 78px);
    line-height: 1.05;
    margin: 0 0 16px;
    color: #ffffff;
    font-weight: 800;
}

.hero-clean-content p {
    font-size: 22px;
    line-height: 1.7;
    color: rgba(255,255,255,0.92);
    max-width: 700px;
    margin: 0 0 30px;
}

.hero-clean .hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-clean .btn-primary {
    background: linear-gradient(135deg, #A9892F, #B8952F);
    color: #ffffff;
}

.hero-clean .btn-light {
    background: rgba(255,255,255,0.14);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.28);
    backdrop-filter: blur(8px);
}

.hero-clean .btn-light:hover {
    background: #ffffff;
    color: #111111;
}

/* force remove old bottom cards */
.hero-clean .hero-stats,
.hero-clean .hero-stat,
.hero-stats,
.hero-stat {
    display: none !important;
}

/* Menu button */
.hero-style-header .nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: #111111;
    border-radius: 10px;
    cursor: pointer;
}

.hero-style-header .nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
    margin: 5px auto;
}

/* Keep other page headers normal */
.site-header:not(.hero-style-header) {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #ffffff;
}

/* Mobile */
@media (max-width: 1080px) {
    .hero-style-header .nav-toggle {
        display: block;
    }

    .hero-style-header .main-nav {
        position: absolute;
        top: 86px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        background: #ffffff;
        padding: 16px 20px 22px;
        box-shadow: 0 18px 40px rgba(0,0,0,0.12);
        border-top: 1px solid rgba(0,0,0,0.06);
    }

    .hero-style-header .main-nav.open {
        display: flex;
    }

    .hero-style-header .main-nav a {
        width: 100%;
        justify-content: flex-start;
        border-radius: 12px;
        padding: 13px 16px;
    }

    .hero-style-header .brand-logo {
        height: 68px !important;
    }

    .hero-clean {
        min-height: 86vh;
        padding-top: 140px;
    }

    .hero-clean-content h1 {
        font-size: 52px;
    }

    .hero-clean-content p {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .hero-style-header .header-inner {
        min-height: 78px;
    }

    .hero-style-header .brand-logo {
        height: 60px !important;
    }

    .hero-style-header .main-nav {
        top: 78px;
    }

    .hero-clean {
        min-height: 78vh;
        padding-top: 130px;
        padding-bottom: 70px;
    }

    .hero-clean-content h1 {
        font-size: 42px;
    }

    .hero-clean-content p {
        font-size: 17px;
    }
}

/* Executive leadership cards */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 430px));
    justify-content: center;
    gap: 28px;
}

.leadership-card {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 170px;
    padding: 30px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #071b36, #142e52);
    border: 1px solid rgba(169, 137, 47, .45);
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(7, 27, 54, .16);
    color: #fff;
}

.leadership-card::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    right: -64px;
    bottom: -72px;
    border: 1px solid rgba(184, 149, 47, .32);
    border-radius: 50%;
}

.leadership-monogram {
    flex: 0 0 88px;
    width: 88px;
    height: 88px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), #d4b85e);
    color: #fff;
    font-size: 27px;
    font-weight: 800;
    letter-spacing: .04em;
    box-shadow: inset 0 0 0 5px rgba(255, 255, 255, .12);
}

.leadership-photo {
    flex: 0 0 112px;
    width: 112px;
    height: 112px;
    overflow: hidden;
    border: 3px solid rgba(212, 184, 94, .75);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
}

.leadership-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 34% center;
}

.leadership-photo-center img {
    object-position: center;
}

.leadership-card-content h3 {
    margin: 0 0 5px;
    font-size: 23px;
    line-height: 1.25;
}

.leadership-card-content p {
    margin: 0;
    color: #d9c071;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .02em;
}

@media (max-width: 700px) {
    .leadership-grid {
        grid-template-columns: minmax(0, 430px);
    }

    .leadership-card {
        gap: 18px;
        min-height: 145px;
        padding: 24px 20px;
    }

    .leadership-monogram {
        flex-basis: 72px;
        width: 72px;
        height: 72px;
        font-size: 23px;
    }

    .leadership-photo {
        flex-basis: 86px;
        width: 86px;
        height: 86px;
        border-radius: 16px;
    }

    .leadership-card-content h3 {
        font-size: 20px;
    }
}

/* Developer logo wall: five columns and two rows on desktop */
.developers-logo-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.developers-logo-grid .developer-logo-card {
    min-width: 0;
    height: 142px;
    min-height: 142px;
    padding: 18px;
    border-radius: 18px;
    background: #fff;
}

.developers-logo-grid .developer-logo-card:hover {
    background: #fff;
    border-color: rgba(169, 137, 47, .55);
    box-shadow: 0 14px 34px rgba(7, 27, 54, .1);
}

.developers-logo-grid .developer-logo-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 1080px) {
    .developers-logo-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .developers-logo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .developers-logo-grid .developer-logo-card {
        height: 110px;
        min-height: 110px;
        padding: 12px;
    }
}


/* =========================================================
   FINAL SALES TEAM + DEVELOPERS + FULL RESPONSIVE POLISH
========================================================= */

.team-grid-final {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
}

.team-grid-final .team-card-modern {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
}

.team-grid-final .team-card-modern-image {
    background: #f7f4ee;
}

.team-grid-final .team-card-modern-image img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    object-position: center top;
}

.team-grid-final .team-card-modern-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.team-grid-final .team-card-modern-content .team-whatsapp-btn {
    margin-top: auto;
    width: 100%;
}

.section-more {
    margin-top: 34px;
}

.developers-section {
    overflow: hidden;
}

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

.developer-logo-card {
    min-height: 94px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(169, 137, 47, 0.22);
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    text-align: center;
    font-size: 18px;
    font-weight: 800;
    color: #071b36;
    transition: all 0.25s ease;
}

.developer-logo-card:hover {
    transform: translateY(-4px);
    color: #ffffff;
    background: linear-gradient(135deg, #A9892F, #B8952F);
}

@media (max-width: 1280px) {
    .team-grid-final {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1080px) {
    .team-grid-final,
    .developers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .container {
        width: min(1000px, 92%);
    }

    .property-tile-card {
        grid-template-columns: 1fr;
    }

    .property-tile-image-wrap {
        min-height: 360px;
    }
}

@media (max-width: 767px) {
    .team-grid-final,
    .developers-grid {
        grid-template-columns: 1fr;
    }

    .team-grid-final .team-card-modern-image img {
        height: 420px;
    }

    .developer-logo-card {
        min-height: 78px;
        font-size: 17px;
    }

    .section-title {
        font-size: 30px;
    }

    .section-lead {
        font-size: 15.5px;
    }

    .hero-clean-content {
        max-width: 100%;
    }

    .hero-clean-content h1 {
        font-size: 40px;
    }

    .hero-clean-content p {
        font-size: 16px;
    }

    .property-tile-image-wrap {
        min-height: 270px;
    }

    .property-tile-content {
        padding: 22px 18px;
    }

    .contact-modern-wrapper {
        gap: 34px;
    }
}

@media (max-width: 420px) {
    .team-grid-final .team-card-modern-image img {
        height: 360px;
    }

    .hero-clean {
        min-height: 82vh;
    }

    .brand-logo,
    .hero-style-header .brand-logo {
        height: 54px !important;
        max-width: 128px;
    }

    .main-nav a {
        font-size: 13px;
    }
}

/* Wide bilingual brand logo */
.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.brand-logo,
.hero-style-header .brand-logo {
    width: 260px !important;
    height: auto !important;
    max-width: 260px;
    object-fit: contain;
}

.footer-logo {
    width: min(100%, 320px);
    height: auto;
    max-width: 320px;
    margin-bottom: 20px;
}

@media (max-width: 1080px) {
    .brand-logo,
    .hero-style-header .brand-logo {
        width: 220px !important;
        height: auto !important;
        max-width: 220px;
    }
}

@media (max-width: 767px) {
    .brand-logo,
    .hero-style-header .brand-logo {
        width: 190px !important;
        height: auto !important;
        max-width: 190px;
    }

    .footer-logo {
        width: min(100%, 280px);
    }
}

@media (max-width: 420px) {
    .brand-logo,
    .hero-style-header .brand-logo {
        width: 170px !important;
        height: auto !important;
        max-width: 170px;
    }
}

/* Site-wide responsive refinements */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.brand-logo,
.hero-style-header .brand-logo {
    width: 240px !important;
    height: auto !important;
    max-width: 240px;
}

.footer-logo {
    width: min(100%, 290px);
    max-width: 290px;
}

.team-grid-final .team-card-modern-content .team-whatsapp-btn {
    width: auto;
    min-height: 40px;
    align-self: center;
    padding: 9px 18px;
    font-size: 13px;
    line-height: 1.2;
}

@media (max-width: 1080px) {
    .header-inner,
    .hero-style-header .header-inner {
        min-height: 76px;
    }

    .brand-logo,
    .hero-style-header .brand-logo {
        width: 205px !important;
        height: auto !important;
        max-width: 205px;
    }

    .main-nav,
    .hero-style-header .main-nav {
        top: 100%;
        max-height: calc(100vh - 76px);
        overflow-y: auto;
        z-index: 10000;
    }

    .main-nav a,
    .hero-style-header .main-nav a {
        min-height: 44px;
    }
}

@media (max-width: 767px) {
    .container {
        width: min(100% - 32px, 1000px);
    }

    .section {
        padding: 56px 0;
    }

    .header-inner,
    .hero-style-header .header-inner {
        min-height: 72px;
        gap: 12px;
    }

    .brand-logo,
    .hero-style-header .brand-logo {
        width: 165px !important;
        height: auto !important;
        max-width: 165px;
    }

    .main-nav,
    .hero-style-header .main-nav {
        top: 100%;
        padding: 12px 16px 18px;
        max-height: calc(100vh - 72px);
    }

    .hero-clean {
        min-height: 650px;
        padding-top: 112px;
        padding-bottom: 56px;
    }

    .hero-clean-content h1 {
        font-size: clamp(34px, 10vw, 42px);
        line-height: 1.08;
    }

    .hero-clean-content p {
        font-size: 16px;
        line-height: 1.7;
    }

    .hero-badge {
        font-size: 11.5px;
        line-height: 1.4;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: min(100%, 260px);
        gap: 12px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .inner-hero {
        padding: 72px 0 64px;
    }

    .inner-hero h1 {
        font-size: 36px;
        line-height: 1.15;
    }

    .inner-hero p,
    .section-lead {
        font-size: 16px;
    }

    .card,
    .value-card,
    .service-card,
    .testimonial {
        padding: 22px;
        border-radius: 18px;
    }

    .mv-card {
        padding: 26px 22px;
        border-radius: 20px;
    }

    .mv-card h3 {
        font-size: 26px;
    }

    .team-grid-final .team-card-modern-image img {
        height: 320px;
    }

    .team-card-modern-content {
        padding: 20px;
    }

    .team-grid-final .team-card-modern-content .team-whatsapp-btn {
        min-height: 38px;
        padding: 8px 16px;
        font-size: 12.5px;
    }

    .property-tile-image-wrap {
        min-height: 240px;
    }

    .property-tile-features {
        gap: 8px;
    }

    .property-tile-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .tile-btn {
        padding: 11px 14px;
        text-align: center;
    }

    .why-choose-image img {
        height: 320px;
    }

    .why-point h3 {
        font-size: 24px;
    }

    .why-point p {
        font-size: 16px;
    }

    .contact-modern-left h2 {
        font-size: 36px;
    }

    .contact-modern-right h3 {
        font-size: 29px;
    }

    .contact-modern-wrapper {
        gap: 28px;
    }

    .footer {
        padding: 48px 0 22px;
    }

    .footer-logo {
        width: min(100%, 240px);
        max-width: 240px;
    }

    .footer-bottom {
        font-size: 13px;
        line-height: 1.6;
    }

    .whatsapp-float {
        right: 12px;
        bottom: 12px;
        padding: 9px 12px;
        font-size: 0;
    }

    .whatsapp-float::after {
        content: "WhatsApp";
        font-size: 12px;
    }
}

@media (max-width: 420px) {
    .container {
        width: min(100% - 24px, 1000px);
    }

    .brand-logo,
    .hero-style-header .brand-logo {
        width: 148px !important;
        height: auto !important;
        max-width: 148px;
    }

    .nav-toggle {
        width: 42px;
        height: 42px;
    }

    .hero-clean-content h1 {
        font-size: 34px;
    }

    .section-title,
    .inner-hero h1 {
        font-size: 31px;
    }

    .team-grid-final .team-card-modern-image img {
        height: 300px;
    }

    .property-tile-image-wrap {
        min-height: 220px;
    }

    .property-tile-actions {
        grid-template-columns: 1fr;
    }
}

/* Floating WhatsApp icon button */
.whatsapp-float {
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    line-height: 0;
}

.whatsapp-float::after {
    content: "";
    width: 32px;
    height: 32px;
    background: url("images/whatsapp.svg") center / contain no-repeat;
}

.whatsapp-float:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        padding: 0;
    }

    .whatsapp-float::after {
        content: "";
        width: 28px;
        height: 28px;
    }
}

/* Header logo fit and balance */
.header-inner,
.hero-style-header .header-inner {
    min-height: 90px;
}

.brand {
    max-width: 260px;
    line-height: 0;
}

.brand-logo,
.hero-style-header .brand-logo {
    width: 260px !important;
    height: auto !important;
    max-width: 260px;
    max-height: 54px;
    object-fit: contain;
}

@media (max-width: 1080px) {
    .header-inner,
    .hero-style-header .header-inner {
        min-height: 78px;
    }

    .brand {
        max-width: 210px;
    }

    .brand-logo,
    .hero-style-header .brand-logo {
        width: 210px !important;
        height: auto !important;
        max-width: 210px;
        max-height: 46px;
    }
}

@media (max-width: 767px) {
    .header-inner,
    .hero-style-header .header-inner {
        min-height: 72px;
    }

    .brand {
        max-width: 160px;
    }

    .brand-logo,
    .hero-style-header .brand-logo {
        width: 160px !important;
        height: auto !important;
        max-width: 160px;
        max-height: 38px;
    }
}

@media (max-width: 420px) {
    .brand {
        max-width: 145px;
    }

    .brand-logo,
    .hero-style-header .brand-logo {
        width: 145px !important;
        height: auto !important;
        max-width: 145px;
        max-height: 34px;
    }
}

/* Professional typography scale */
body {
    font-size: 15.5px;
    line-height: 1.65;
}

.main-nav a,
.hero-style-header .main-nav a {
    font-size: 13.5px;
}

.badge {
    font-size: 12px;
    letter-spacing: 0.02em;
}

.hero h1,
.hero-clean-content h1 {
    font-size: clamp(44px, 5vw, 64px);
    line-height: 1.08;
}

.hero p,
.hero-clean-content p {
    font-size: 17px;
    line-height: 1.7;
}

.inner-hero h1 {
    font-size: clamp(36px, 4.5vw, 52px);
    line-height: 1.15;
}

.inner-hero p {
    font-size: 16.5px;
}

.section-title {
    font-size: clamp(28px, 3.5vw, 40px);
    line-height: 1.2;
}

.section-lead {
    font-size: 16px;
    line-height: 1.7;
}

.card h3,
.team-card-modern-content h3 {
    font-size: 20px;
}

.card p,
.team-card-modern-content p,
.testimonial,
.value-card p,
.service-card p,
.service-card li {
    font-size: 15px;
}

.mv-card h3 {
    font-size: 26px;
}

.mv-card p {
    font-size: 15.5px;
}

.value-card h3 {
    font-size: 19px;
}

.property-tile-content h3 {
    font-size: 26px;
}

.property-tile-title {
    font-size: 16.5px;
}

.property-tile-features,
.property-tile-location {
    font-size: 13.5px;
}

.why-choose-content h2 {
    font-size: clamp(31px, 3.8vw, 44px);
}

.why-choose-intro {
    font-size: 16.5px;
}

.why-point h3 {
    font-size: 24px;
}

.why-point p {
    font-size: 16px;
}

.service-card h3 {
    font-size: 23px;
}

.contact-modern-left h2 {
    font-size: 40px;
    line-height: 1.2;
}

.contact-modern-left p,
.contact-modern-right p,
.contact-modern-info li,
.modern-contact-form input,
.modern-contact-form textarea {
    font-size: 15.5px;
}

.contact-modern-right h3 {
    font-size: 30px;
}

.btn,
.tile-btn,
.submit-btn {
    font-size: 14px;
}

.footer a,
.footer p {
    font-size: 14px;
}

.footer h4 {
    font-size: 16px;
}

.footer-bottom {
    font-size: 13px;
}

@media (max-width: 767px) {
    body {
        font-size: 15px;
    }

    .main-nav a,
    .hero-style-header .main-nav a {
        font-size: 13px;
    }

    .hero h1,
    .hero-clean-content h1 {
        font-size: 34px;
    }

    .hero p,
    .hero-clean-content p,
    .inner-hero p {
        font-size: 15px;
    }

    .inner-hero h1 {
        font-size: 31px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-lead {
        font-size: 15px;
    }

    .property-tile-content h3 {
        font-size: 23px;
    }

    .property-tile-title {
        font-size: 15.5px;
    }

    .why-choose-content h2 {
        font-size: 30px;
    }

    .why-choose-intro,
    .why-point p {
        font-size: 15px;
    }

    .why-point h3 {
        font-size: 22px;
    }

    .contact-modern-left h2 {
        font-size: 32px;
    }

    .contact-modern-right h3 {
        font-size: 26px;
    }

    .btn,
    .tile-btn,
    .submit-btn {
        font-size: 13.5px;
    }
}

@media (max-width: 420px) {
    .hero h1,
    .hero-clean-content h1 {
        font-size: 32px;
    }

    .inner-hero h1,
    .section-title {
        font-size: 27px;
    }

    .card h3,
    .team-card-modern-content h3 {
        font-size: 19px;
    }
}

/* Near full-width desktop layout */
@media (min-width: 1081px) {
    .container {
        width: calc(100% - 48px);
        max-width: 1680px;
    }
}

@media (min-width: 1800px) {
    .container {
        width: calc(100% - 96px);
    }
}

/* Upper-body portrait treatment for team members */
.team-grid-final {
    grid-template-columns: repeat(3, minmax(260px, 380px));
    justify-content: center;
}

.team-grid-final .team-card-modern {
    width: 100%;
    max-width: 380px;
}

.team-grid-final .team-card-modern-image {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #f4f2ed;
}

.team-grid-final .team-card-modern-image img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: center top;
}

@media (max-width: 1080px) {
    .team-grid-final {
        grid-template-columns: repeat(2, minmax(260px, 380px));
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .team-grid-final {
        grid-template-columns: minmax(0, 380px);
        justify-content: center;
    }

    .team-grid-final .team-card-modern {
        max-width: 380px;
    }
}

/* Springfield-inspired property showcase, adapted to GSB branding */
.property-showcase-section {
    background: #f7f6f2;
}

.property-showcase-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
    align-items: end;
    gap: 50px;
    margin-bottom: 40px;
}

.property-showcase-heading .section-title {
    margin-bottom: 0;
}

.property-showcase-heading > p {
    max-width: 570px;
    margin: 0 0 5px auto;
    color: var(--muted);
    font-size: 15px;
}

.property-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 420px));
    justify-content: center;
    gap: 24px;
}

.listing-card {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(7, 27, 54, .1);
    border-radius: 20px;
    box-shadow: 0 14px 38px rgba(7, 27, 54, .08);
    transition: transform .3s ease, box-shadow .3s ease;
}

.listing-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 22px 54px rgba(7, 27, 54, .14);
}

.listing-card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e9e5dc;
}

.listing-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
}

.listing-gallery-button {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 38px;
    height: 38px;
    padding: 0;
    transform: translateY(-50%);
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 50%;
    background: rgba(7, 27, 54, .72);
    color: #fff;
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(6px);
}

.listing-gallery-previous { left: 12px; }
.listing-gallery-next { right: 12px; }

.listing-photo-count {
    position: absolute;
    right: 14px;
    bottom: 12px;
    z-index: 2;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(7, 27, 54, .76);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    backdrop-filter: blur(6px);
}

.listing-card:hover .listing-card-media img {
    transform: scale(1.045);
}

.listing-status,
.listing-type {
    position: absolute;
    top: 16px;
    z-index: 1;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
}

.listing-status {
    left: 16px;
    background: var(--gold);
    color: #fff;
}

.listing-type {
    right: 16px;
    background: rgba(255, 255, 255, .92);
    color: var(--navy);
    backdrop-filter: blur(8px);
}

.listing-card-body {
    padding: 24px;
}

.listing-developer {
    margin: 0 0 8px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.listing-card-body h3 {
    min-height: 54px;
    margin: 0 0 20px;
    color: var(--navy);
    font-size: 19px;
    line-height: 1.4;
}

.listing-price {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding: 17px 0;
    border-top: 1px solid #ece9e2;
    border-bottom: 1px solid #ece9e2;
}

.listing-price span {
    color: var(--muted);
    font-size: 11px;
}

.listing-price strong {
    color: var(--navy);
    font-size: 19px;
    line-height: 1.2;
}

.listing-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 17px 0 13px;
}

.listing-meta span {
    color: var(--muted);
    font-size: 11px;
}

.listing-meta strong {
    display: block;
    margin-bottom: 2px;
    color: var(--navy);
    font-size: 14px;
}

.listing-location {
    margin: 0 0 18px;
    color: #4b5563;
    font-size: 12px;
}

.listing-location::before {
    content: "Location: ";
    color: var(--gold);
    font-weight: 700;
}

.listing-actions {
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: 10px;
}

.listing-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 15px;
    border: 1px solid var(--navy);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    transition: .25s ease;
}

.listing-btn-outline {
    color: var(--navy);
    background: #fff;
}

.listing-btn-primary,
.listing-btn-outline:hover {
    color: #fff;
    background: var(--navy);
}

.listing-btn-primary:hover {
    background: var(--gold);
    border-color: var(--gold);
}

/* Continuous developer logo ribbon */
.developer-marquee {
    width: 100%;
    margin-top: 36px;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.developer-marquee-track {
    display: flex;
    width: max-content;
    animation: gsbDeveloperScroll 34s linear infinite;
    will-change: transform;
}

.developer-marquee:hover .developer-marquee-track {
    animation-play-state: paused;
}

.developer-marquee-group {
    display: flex;
    gap: 18px;
    padding-right: 18px;
}

.developer-marquee .developer-logo-card {
    flex: 0 0 220px;
    width: 220px;
    height: 122px;
    min-height: 122px;
    padding: 18px;
    border-radius: 16px;
    background: #fff;
}

.developer-marquee .developer-logo-card:hover {
    background: #fff;
    border-color: rgba(169, 137, 47, .55);
    box-shadow: 0 14px 34px rgba(7, 27, 54, .1);
}

.developer-marquee .developer-logo-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes gsbDeveloperScroll {
    to { transform: translateX(-50%); }
}

/* Portrait-first sales team cards */
.team-grid-final {
    grid-template-columns: repeat(3, minmax(260px, 360px));
    gap: 30px;
}

.team-grid-final .team-card-modern {
    position: relative;
    max-width: 360px;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 20px;
    box-shadow: none;
    transition: transform .3s ease;
}

.team-grid-final .team-card-modern:hover {
    transform: translateY(-7px);
}

.team-grid-final .team-card-modern-image {
    aspect-ratio: 4 / 5;
    border-radius: 20px;
    box-shadow: 0 16px 38px rgba(7, 27, 54, .13);
}

.team-grid-final .team-card-modern-image img {
    transition: transform .55s ease;
}

.team-grid-final .team-card-modern:hover .team-card-modern-image img {
    transform: scale(1.035);
}

.team-grid-final .team-card-modern-content {
    position: relative;
    z-index: 2;
    width: calc(100% - 30px);
    margin: -38px auto 0;
    padding: 19px 18px 18px;
    background: rgba(255, 255, 255, .97);
    border: 1px solid rgba(169, 137, 47, .18);
    border-radius: 16px;
    box-shadow: 0 14px 32px rgba(7, 27, 54, .12);
    backdrop-filter: blur(12px);
}

.team-grid-final .team-card-modern-content h3 {
    color: var(--navy);
    font-size: 19px;
}

.team-grid-final .team-card-modern-content p {
    margin-bottom: 13px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 600;
}

.team-grid-final .team-card-modern-content .team-whatsapp-btn {
    width: auto;
    min-width: 0;
    padding: 8px 15px;
    background: var(--navy);
    border-radius: 999px;
    font-size: 11px;
}

.team-grid-final .team-card-modern-content .team-whatsapp-btn:hover {
    background: #25d366;
}

@media (max-width: 1080px) {
    .property-showcase-grid {
        grid-template-columns: repeat(2, minmax(280px, 420px));
    }
}

@media (max-width: 767px) {
    .property-showcase-heading {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 28px;
    }

    .property-showcase-heading > p {
        margin-left: 0;
    }

    .property-showcase-grid {
        grid-template-columns: minmax(0, 420px);
    }

    .listing-card-body {
        padding: 20px;
    }

    .developer-marquee .developer-logo-card {
        flex-basis: 176px;
        width: 176px;
        height: 102px;
        min-height: 102px;
        padding: 13px;
    }

    .developer-marquee-track {
        animation-duration: 26s;
    }
}

@media (prefers-reduced-motion: reduce) {
    .developer-marquee {
        overflow-x: auto;
        mask-image: none;
        -webkit-mask-image: none;
    }

    .developer-marquee-track {
        animation: none;
    }

    .developer-marquee-group[aria-hidden="true"] {
        display: none;
    }
}

/* Homepage section consistency */
.home-featured-properties {
    position: relative;
    background: #f7f6f2;
    overflow: hidden;
}

.home-featured-properties::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    top: -210px;
    right: -140px;
    border: 1px solid rgba(169, 137, 47, .18);
    border-radius: 50%;
}

.home-featured-grid {
    position: relative;
    z-index: 1;
}

.home-developers-section {
    background: var(--light);
    border-top: 1px solid rgba(169, 137, 47, .1);
    border-bottom: 1px solid rgba(169, 137, 47, .1);
}

.home-developers-section .section-more {
    margin-top: 30px;
}

.home-developers-section .btn-outline {
    border-color: rgba(7, 27, 54, .22);
    color: var(--navy);
}

.form-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important}.contact-form-status{min-height:20px;margin:12px 0 0;font-size:12px;font-weight:600}.contact-form-status.is-success{color:#14804a}.contact-form-status.is-error{color:#b42318}.modern-contact-form .submit-btn:disabled{cursor:wait;opacity:.7}

.home-sales-team .team-grid-final {
    margin-top: 4px;
}

.home-sales-team .section-more {
    margin-top: 34px;
}

@media (max-width: 767px) {
    .home-featured-properties::before {
        display: none;
    }

    .home-developers-section .section-more {
        margin-top: 24px;
    }
}

/* CEO message on About Us */
.ceo-message-section {
    padding-top: 36px;
}

.ceo-message-card {
    display: grid;
    grid-template-columns: minmax(320px, .78fr) minmax(0, 1.22fr);
    max-width: 1320px;
    margin: 0 auto;
    overflow: hidden;
    background: linear-gradient(135deg, #071b36, #132d50);
    border: 1px solid rgba(169, 137, 47, .42);
    border-radius: 28px;
    box-shadow: 0 24px 64px rgba(7, 27, 54, .18);
}

.ceo-message-photo {
    min-height: 610px;
    overflow: hidden;
    background: #0b1f38;
}

.ceo-message-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 32% center;
}

.ceo-message-content {
    position: relative;
    padding: clamp(38px, 5vw, 68px);
    color: #fff;
}

.ceo-message-content::after {
    content: "“";
    position: absolute;
    top: 18px;
    right: 34px;
    color: rgba(169, 137, 47, .18);
    font-family: Georgia, serif;
    font-size: 150px;
    line-height: 1;
}

.ceo-message-content h2 {
    position: relative;
    z-index: 1;
    margin: 15px 0 24px;
    font-size: clamp(30px, 4vw, 47px);
    line-height: 1.15;
}

.ceo-message-content p {
    position: relative;
    z-index: 1;
    margin: 0 0 17px;
    color: rgba(255, 255, 255, .78);
    font-size: 14.5px;
    line-height: 1.85;
}

.ceo-message-content .ceo-welcome {
    color: #d9c071;
    font-size: 17px;
    font-weight: 700;
}

.ceo-signature {
    display: grid;
    gap: 2px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .15);
}

.ceo-signature strong {
    color: #fff;
    font-size: 18px;
}

.ceo-signature span {
    color: #d9c071;
    font-size: 12px;
    font-weight: 600;
}

.md-message-section {
    padding-top: 0;
}

.md-message-card .ceo-message-photo {
    order: 2;
}

.md-message-card .ceo-message-content {
    order: 1;
}

@media (max-width: 900px) {
    .ceo-message-card {
        grid-template-columns: 1fr;
        max-width: 720px;
    }

    .ceo-message-photo {
        min-height: 0;
        aspect-ratio: 16 / 10;
    }

    .ceo-message-photo img {
        object-position: 34% 32%;
    }

    .md-message-card .ceo-message-photo {
        order: 1;
    }

    .md-message-card .ceo-message-content {
        order: 2;
    }
}

@media (max-width: 600px) {
    .ceo-message-section {
        padding-top: 20px;
    }

    .ceo-message-card {
        border-radius: 20px;
    }

    .ceo-message-photo {
        aspect-ratio: 4 / 3;
    }

    .ceo-message-content {
        padding: 30px 22px 34px;
    }

    .ceo-message-content p {
        font-size: 14px;
        line-height: 1.75;
    }
}

/* Final responsive safeguard layer */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

body,
p,
a,
h1,
h2,
h3,
h4,
li {
    overflow-wrap: break-word;
}

input,
select,
textarea,
button {
    max-width: 100%;
}

@media (max-width: 1080px) {
    .main-nav {
        max-height: calc(100dvh - 82px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .property-showcase-heading,
    .ceo-message-card {
        min-width: 0;
    }
}

@media (max-width: 767px) {
    .container {
        width: min(100% - 32px, 680px);
    }

    .section {
        padding: 52px 0;
    }

    .header-inner {
        min-height: 72px;
    }

    .brand,
    .brand-logo {
        max-width: 150px;
    }

    .brand-logo {
        height: 52px;
    }

    .nav-toggle {
        flex: 0 0 44px;
        min-width: 44px;
        min-height: 44px;
    }

    .main-nav {
        top: 72px;
        max-height: calc(100dvh - 72px);
        padding: 12px 16px 20px;
    }

    .main-nav a {
        min-height: 44px;
        display: flex;
        align-items: center;
        padding: 11px 14px;
        white-space: normal;
    }

    .hero {
        min-height: max(590px, calc(100svh - 72px));
        padding: 64px 0;
        background-position: 62% center;
    }

    .hero h1 {
        font-size: clamp(36px, 12vw, 50px);
    }

    .hero p,
    .inner-hero p,
    .section-lead {
        font-size: 15px;
    }

    .hero-actions,
    .property-tile-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .hero-actions .btn,
    .property-tile-actions .tile-btn,
    .modern-contact-form .submit-btn {
        width: 100%;
        min-height: 46px;
    }

    .inner-hero {
        padding: 72px 0;
        background-position: 62% center;
    }

    .inner-hero h1,
    .section-title {
        font-size: clamp(28px, 8.5vw, 36px);
    }

    .badge {
        max-width: 100%;
        padding: 7px 13px;
        font-size: 11px;
        white-space: normal;
        text-align: center;
    }

    .card,
    .mv-card,
    .value-card,
    .service-card,
    .testimonial {
        padding: 22px;
        border-radius: 18px;
    }

    .property-tile-image-wrap {
        min-height: 220px;
    }

    .property-tile-content,
    .listing-card-body {
        padding: 20px 18px;
    }

    .property-tile-tag,
    .property-tile-count,
    .listing-status,
    .listing-type {
        font-size: 10px;
    }

    .listing-price {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .listing-price strong {
        font-size: 18px;
    }

    .listing-meta {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .listing-actions {
        grid-template-columns: 1fr;
    }

    .leadership-grid,
    .team-grid-final,
    .property-showcase-grid {
        width: 100%;
        grid-template-columns: minmax(0, 1fr);
    }

    .leadership-card {
        width: 100%;
        min-width: 0;
        padding: 18px;
    }

    .team-grid-final .team-card-modern {
        width: 100%;
        max-width: 420px;
        margin-inline: auto;
    }

    .team-grid-final .team-card-modern-content {
        width: calc(100% - 22px);
        padding: 17px 14px;
    }

    .developer-marquee {
        margin-top: 26px;
        mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent);
        -webkit-mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent);
    }

    .developer-marquee-group {
        gap: 12px;
        padding-right: 12px;
    }

    .developer-marquee .developer-logo-card {
        flex-basis: 154px;
        width: 154px;
        height: 92px;
        min-height: 92px;
        padding: 12px;
    }

    .why-choose-wrapper,
    .contact-modern-wrapper {
        gap: 30px;
    }

    .why-choose-image img {
        height: auto;
        max-height: 420px;
        aspect-ratio: 4 / 3;
        object-fit: cover;
    }

    .why-point h3 {
        font-size: 21px;
    }

    .why-choose-intro,
    .why-point p,
    .contact-modern-left p {
        font-size: 14px;
    }

    .contact-modern-right {
        min-width: 0;
        padding-left: 0;
    }

    .modern-contact-form input,
    .modern-contact-form textarea {
        min-height: 46px;
        font-size: 16px;
    }

    .footer {
        padding: 46px 0 20px;
    }

    .footer-grid {
        gap: 24px;
    }

    .footer-logo {
        max-width: 180px;
        height: auto;
    }

    .whatsapp-float {
        right: 14px;
        bottom: max(14px, env(safe-area-inset-bottom));
        min-width: 50px;
        min-height: 50px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 12px;
    }
}

@media (max-width: 380px) {
    .container {
        width: calc(100% - 24px);
    }

    .brand,
    .brand-logo {
        max-width: 132px;
    }

    .leadership-card {
        align-items: flex-start;
        gap: 13px;
    }

    .leadership-photo {
        flex-basis: 76px;
        width: 76px;
        height: 96px;
    }

    .listing-meta span {
        font-size: 10px;
    }
}

/* GSB office portrait used with Why Choose GSB */
.why-choose-image {
    display: flex;
    justify-content: center;
}

.why-choose-image img {
    width: 100%;
    height: auto;
    max-height: 720px;
    object-fit: contain;
    object-position: center;
    background: #f4f1e9;
}

@media (max-width: 767px) {
    .why-choose-image img {
        width: 100%;
        height: auto;
        max-height: none;
        aspect-ratio: auto;
        object-fit: contain;
    }
}

/* Services page — expertise card layout */
.service-expertise-section {
    position: relative;
    overflow: hidden;
    padding: 92px 0 104px;
    background:
        linear-gradient(135deg, transparent 0 72%, rgba(169, 137, 47, .055) 72% 74%, transparent 74%),
        #faf8f3;
}

.service-expertise-section::before,
.service-expertise-section::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border: 1px solid rgba(169, 137, 47, .13);
    border-radius: 50%;
}

.service-expertise-section::before {
    width: 420px;
    height: 420px;
    top: -260px;
    right: -80px;
}

.service-expertise-section::after {
    width: 270px;
    height: 270px;
    bottom: -190px;
    left: -90px;
}

.service-expertise-section .container {
    position: relative;
    z-index: 1;
}

.service-heading {
    max-width: 850px;
    margin: 0 auto 48px;
}

.service-heading .section-title {
    margin-top: 16px;
}

.service-heading .section-lead {
    margin-bottom: 0;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.expertise-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 460px;
    padding: 34px 32px 30px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(7, 27, 54, .09);
    border-radius: 18px;
    box-shadow: 0 14px 38px rgba(7, 27, 54, .07);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.expertise-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), #d6bd73);
    transform: scaleX(.32);
    transform-origin: left;
    transition: transform .28s ease;
}

.expertise-card:hover {
    transform: translateY(-7px);
    border-color: rgba(169, 137, 47, .3);
    box-shadow: 0 22px 50px rgba(7, 27, 54, .12);
}

.expertise-card:hover::before {
    transform: scaleX(1);
}

.expertise-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    border: 1px solid rgba(169, 137, 47, .3);
    border-radius: 16px;
    background: rgba(169, 137, 47, .09);
    color: var(--navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 35px;
    line-height: 1;
}

.expertise-card h3 {
    margin: 0 0 13px;
    color: var(--navy);
    font-size: 21px;
    line-height: 1.32;
}

.expertise-card > p {
    margin: 0 0 18px;
    color: #626b78;
    font-size: 14px;
    line-height: 1.75;
}

.expertise-card ul {
    display: grid;
    gap: 8px;
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
    color: #3f4855;
    font-size: 13px;
}

.expertise-card li {
    position: relative;
    padding-left: 19px;
}

.expertise-card li::before {
    content: "";
    position: absolute;
    top: .62em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
}

.expertise-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    margin-top: auto;
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.expertise-link span {
    color: var(--gold);
    font-size: 19px;
    transition: transform .2s ease;
}

.expertise-link:hover span,
.expertise-link:focus-visible span {
    transform: translateX(5px);
}

.expertise-link:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 5px;
    border-radius: 2px;
}

@media (max-width: 980px) {
    .expertise-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .service-expertise-section {
        padding: 64px 0 72px;
    }

    .service-heading {
        margin-bottom: 32px;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .expertise-card {
        min-height: 0;
        padding: 27px 24px 25px;
        border-radius: 16px;
    }

    .expertise-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 20px;
        font-size: 30px;
    }

    .expertise-card h3 {
        font-size: 20px;
    }
}

/* Compact leadership message portraits */
@media (min-width: 901px) {
    .ceo-message-section {
        padding-top: 28px;
        padding-bottom: 58px;
    }

    .ceo-message-card {
        grid-template-columns: minmax(260px, 350px) minmax(0, 1fr);
        max-width: 1160px;
        min-height: 520px;
        align-items: stretch;
    }

    .md-message-card {
        grid-template-columns: minmax(0, 1fr) minmax(260px, 350px);
    }

    .ceo-message-photo {
        width: 100%;
        min-height: 0;
        height: 520px;
        align-self: center;
    }

    .ceo-message-photo img {
        object-position: center center;
    }

    .ceo-message-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 36px 46px;
    }

    .ceo-message-content h2 {
        margin: 12px 0 18px;
        font-size: clamp(29px, 3vw, 40px);
    }

    .ceo-message-content p {
        margin-bottom: 12px;
        font-size: 13.5px;
        line-height: 1.72;
    }

    .ceo-message-content .ceo-welcome {
        font-size: 15px;
    }

    .ceo-signature {
        margin-top: 17px;
        padding-top: 15px;
    }

    .md-message-section {
        padding-top: 0;
    }
}

@media (min-width: 901px) and (max-height: 760px) {
    .ceo-message-card {
        grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
        min-height: 480px;
    }

    .md-message-card {
        grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
    }

    .ceo-message-photo {
        height: 480px;
    }

    .ceo-message-content {
        padding: 28px 38px;
    }

    .ceo-message-content h2 {
        font-size: 32px;
    }

    .ceo-message-content p {
        font-size: 12.8px;
        line-height: 1.62;
    }
}

/* Keep CEO and Managing Director portraits fully inside their cards */
.ceo-message-photo img[src*="bakhtiar-khattak-ceo"],
.ceo-message-photo img[src*="mehar-khan-managing-director"] {
    object-fit: contain;
    object-position: center;
    background: #0b1f38;
}

.leadership-photo img[src*="bakhtiar-khattak-ceo"],
.leadership-photo img[src*="mehar-khan-managing-director"] {
    object-fit: contain;
    object-position: center bottom;
    background: #0b1f38;
}

/* GSB gold contact-form submit button */
.modern-contact-form .submit-btn {
    border: 1px solid #9d7d25;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold), #c6a64c);
    color: #fff;
    box-shadow: 0 10px 24px rgba(169, 137, 47, .24);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.modern-contact-form .submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    filter: brightness(1.06);
    box-shadow: 0 14px 30px rgba(169, 137, 47, .32);
}

.modern-contact-form .submit-btn:focus-visible {
    outline: 3px solid rgba(169, 137, 47, .35);
    outline-offset: 3px;
}

/* Contact details with icon-only labels */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.contact-modern-info .contact-detail {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
}

.contact-detail-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(169, 137, 47, .3);
    border-radius: 14px;
    background: rgba(169, 137, 47, .1);
    color: var(--gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    line-height: 1;
}

.contact-detail a {
    color: #4f5966;
    transition: color .2s ease;
}

.contact-detail a:hover,
.contact-detail a:focus-visible {
    color: var(--gold);
}

/* Contact submission success popup */
body.contact-popup-open {
    overflow: hidden;
}

.contact-success-popup {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(7, 27, 54, .72);
    backdrop-filter: blur(6px);
    animation: contact-popup-fade .2s ease both;
}

.contact-success-dialog {
    width: min(470px, 100%);
    padding: 38px 34px 32px;
    text-align: center;
    background: #fff;
    border: 1px solid rgba(169, 137, 47, .4);
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .28);
    animation: contact-popup-rise .25s ease both;
}

.contact-success-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), #c6a64c);
    color: #fff;
    font-size: 34px;
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(169, 137, 47, .28);
}

.contact-success-dialog h2 {
    margin: 0 0 12px;
    color: var(--navy);
    font-size: 28px;
}

.contact-success-dialog p {
    margin: 0 auto 25px;
    color: #626b78;
    font-size: 15px;
    line-height: 1.7;
}

.contact-success-close {
    min-width: 130px;
    padding: 12px 24px;
    border: 1px solid #9d7d25;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold), #c6a64c);
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.contact-success-close:focus-visible {
    outline: 3px solid rgba(169, 137, 47, .35);
    outline-offset: 3px;
}

@keyframes contact-popup-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes contact-popup-rise {
    from { opacity: 0; transform: translateY(14px) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 520px) {
    .contact-success-dialog {
        padding: 32px 22px 27px;
        border-radius: 20px;
    }

    .contact-success-dialog h2 {
        font-size: 24px;
    }
}
