:root {
    --ink:#111827;
    --ink2:#1f2937;
    --gold:#d9a441;
    --soft:#f5f6f8;
    --muted:#667085
}

* {
    box-sizing:border-box
}

body {
    font-family:Inter,Arial,sans-serif;
    color:var(--ink);
    background:#fff
}

.site-navbar {
    background:rgba(16,24,32,.97);
    min-height:78px;
    box-shadow:0 5px 22px rgba(0,0,0,.12)
}

.site-navbar .nav-link {
    color:#d7dce2!important;
    font-weight:500;
    padding:.65rem .85rem!important;
    position:relative
}

.site-navbar .nav-link:hover,.site-navbar .nav-link.active {
    color:#fff!important
}

.site-navbar .nav-link.active:after {
    content:"";
    position:absolute;
    left:.85rem;
    right:.85rem;
    bottom:.28rem;
    height:2px;
    background:var(--gold)
}

.brand-logo-wrap {
    width:190px;
    height:54px;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    overflow:hidden
}

.site-logo {
    display:block;
    max-width:100%;
    max-height:38px;
    width:auto;
    height:auto;
    object-fit:contain
}

.brand-text {
    font-size:1.15rem;
    font-weight:800;
    letter-spacing:.5px
}

.brand-text span {
    color:var(--gold)
}

.hero-carousel,.hero-carousel .carousel-item {
    height:min(760px,calc(100vh - 78px));
    min-height:560px;
    background:#111
}

.hero-media {
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#111
}

.hero-img {
    width:100%;
    height:100%;
    object-position:center
}

.hero-overlay {
    position:absolute;
    inset:0;
    background: linear-gradient(90deg, rgba(5, 11, 20, .77) 0%, rgba(5, 11, 20, .34) 52%, rgba(5, 11, 20, .12) 100%);
}

.hero-caption {
    inset:0;
    display:flex;
    align-items:center;
    text-align:left;
    padding:0
}

.hero-copy {
    padding-top:40px
}

.eyebrow {
    display:inline-block;
    font-size:.78rem;
    font-weight:800;
    letter-spacing:2px;
    color:var(--gold);
    margin-bottom:5px
}

.hero-copy h1 {
    font-size:clamp(2.6rem,5.3vw,5.2rem);
    line-height:1.02;
    font-weight:800;
    max-width:850px
}

.hero-copy p {
    font-size:clamp(1rem,1.4vw,1.25rem);
    max-width:700px;
    color:#eef2f6;
    margin:20px 0 28px
}

.hero-empty {
    height:100%;
    display:grid;
    place-items:center;
    text-align:center;
    color:white
}

.carousel-control-prev,.carousel-control-next {
    width:8%
}

.trust-strip {
    background:#fff;
    box-shadow:0 10px 30px rgba(0,0,0,.07);
    position:relative;
    z-index:3
}

.trust-item {
    padding:26px 16px;
    border-right:1px solid #e7e9ed;
    height:100%
}

.trust-item i {
    display:block;
    font-size:1.7rem;
    color:var(--gold);
    margin-bottom:8px
}

.trust-item strong,.trust-item span {
    display:block
}

.trust-item span {
    font-size:.82rem;
    color:var(--muted);
    margin-top:4px
}

.section {
    padding:90px 0
}

.section-title {
    font-size:clamp(2rem,3.5vw,3.2rem);
    font-weight:800;
    letter-spacing:-1px
}

.title-line {
    width:72px;
    height:4px;
    background:var(--gold);
    margin:18px 0 26px
}

.about-panel {
    background:linear-gradient(145deg,#111827,#243142);
    padding:24px;
    border-radius:22px;
    box-shadow:0 18px 50px rgba(17,24,39,.22)
}

.service-card {
    height:100%;
    padding:25px;
    background:#fff;
    border-radius:14px;
    box-shadow:0 8px 24px rgba(0,0,0,.08)
}

.service-card i {
    font-size:2rem;
    color:var(--gold)
}

.service-card h5 {
    margin-top:14px;
    font-weight:750
}

.service-card p {
    font-size:.9rem;
    color:var(--muted);
    margin:0
}

.bg-soft {
    background:var(--soft)
}

.project-card {
    position:relative;
    background:#fff;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 8px 30px rgba(16,24,40,.08);
    transition:.28s
}

.project-card:hover {
    transform:translateY(-7px);
    box-shadow:0 18px 40px rgba(16,24,40,.14)
}

.project-image-wrap {
    height:270px;
    position:relative;
    overflow:hidden;
    background:#e9ecef
}

.project-image-wrap img {
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.4s
}

.project-card:hover img {
    transform:scale(1.04)
}

.project-status {
    position:absolute;
    left:18px;
    top:18px;
    background:var(--gold);
    padding:7px 12px;
    border-radius:999px;
    font-size:.75rem;
    font-weight:800
}

.project-body {
    padding:24px
}

.project-body h4 {
    font-weight:750
}

.project-body p {
    color:var(--muted)
}

.project-link {
    font-weight:700;
    color:#1f2937
}

.cta-section {
    padding:90px 0;
    background:linear-gradient(115deg,rgba(11,18,28,.94),rgba(11,18,28,.82)),url('/images/cta-bg.jpg') center/cover;
    color:#fff
}

.cta-section h2 {
    font-size:clamp(2rem,4vw,3.6rem);
    font-weight:800
}

.cta-section p {
    color:#d5d9df;
    font-size:1.1rem
}

.footer {
    background:#0b111a;
    color:#ccd3d8
}

.footer h4,.footer h6 {
    color:#fff
}

.footer a {
    display:block;
    color:#ccd3d8;
    text-decoration:none;
    margin-bottom:9px
}

.footer a:hover {
    color:var(--gold)
}

.footer-logo-wrap {
    width:220px;
    height:72px;
    display:flex;
    align-items:center
}

.footer-logo {
    max-width:100%;
    max-height:68px;
    object-fit:contain
}

.whatsapp-float {
    position:fixed;
    right:22px;
    bottom:22px;
    min-width:60px;
    height:60px;
    padding:0 18px;
    border-radius:999px;
    background:#25d366;
    color:#fff;
    display:flex;
    gap:9px;
    align-items:center;
    justify-content:center;
    font-size:29px;
    z-index:99999;
    box-shadow:0 10px 28px rgba(0,0,0,.3);
    text-decoration:none;
    font-weight:700;
    transition:.2s
}

.whatsapp-float span {
    font-size:.9rem
}

.whatsapp-float:hover {
    transform:translateY(-3px);
    color:#fff
}

.gallery-card img {
    height:260px;
    object-fit:cover
}

.project-gallery-image {
    height:250px;
    object-fit:cover
}

.project-description img {
    max-width:100%;
    height:auto
}

.project-description table {
    width:100%
}

.object-cover {
    object-fit:cover
}

.admin-sidebar {
    min-height:100vh;
    background:#111827;
    position:sticky;
    top:0
}

.admin-sidebar a {
    color:#d1d5db;
    text-decoration:none;
    display:flex;
    align-items:center;
    gap:10px;
    padding:12px 16px;
    border-radius:9px;
    margin-bottom:3px
}

.admin-sidebar a:hover,.admin-sidebar a.active {
    background:#263246;
    color:#fff
}

.admin-stat-card {
    border:0;
    border-radius:16px;
    transition:.25s;
    text-decoration:none;
    color:inherit
}

.admin-stat-card:hover {
    transform:translateY(-4px);
    box-shadow:0 14px 30px rgba(0,0,0,.12)!important
}

.stat-icon {
    width:48px;
    height:48px;
    border-radius:12px;
    display:grid;
    place-items:center;
    background:#fff4d6;
    color:#a56c00;
    font-size:1.45rem
}

.empty-state {
    padding:55px;
    text-align:center;
    background:#fff;
    border-radius:14px;
    color:#667085
}

@media(max-width:991px) {
    .brand-logo-wrap {
        width:160px
    }

    .hero-carousel,.hero-carousel .carousel-item {
        height:640px;
        min-height:520px
    }

    .hero-copy h1 {
        font-size:3rem
    }

    .site-navbar .nav-link.active:after {
        display:none
    }

    .admin-sidebar {
        position:relative;
        min-height:auto
    }

    .whatsapp-float span {
        display:none
    }

    .whatsapp-float {
        width:58px;
        min-width:58px;
        padding:0
    }

}

@media(max-width:480px) {
 .hero-carousel,.hero-carousel .carousel-item {
        height:300px !important;
        min-height:300px !important;
    }

}

@media(max-width:767px) {
    .brand-logo-wrap {
        width:145px;
        height:38px
    }

    .site-logo {
        max-height:42px
    }

    .hero-carousel,.hero-carousel .carousel-item {
        height:560px;
        min-height:500px
    }

    .hero-copy {
        padding:0 12px
    }

    .hero-copy h1 {
        font-size:2.35rem
    }
    .section {
        padding:65px 0
    }

    .trust-item {
        border-bottom:1px solid #e7e9ed
    }

    .service-card {
        padding:18px
    }

    .project-image-wrap {
        height:230px
    }

    .whatsapp-float {
        right:15px;
        bottom:15px
    }

}

/* Legal pages, rich content and reusable image lightbox */
.page-hero {
    background:linear-gradient(125deg,#0b111a,#273445);
    color:#fff;
    position:relative;
    overflow:hidden
}

.page-hero:after {
    content:"";
    position:absolute;
    right:-90px;
    top:-110px;
    width:340px;
    height:340px;
    border:70px solid rgba(217,164,65,.08);
    border-radius:50%
}

.page-hero .container {
    position:relative;
    z-index:1;
    text-align: center;
}

.page-hero h1 {
    font-size:clamp(2.4rem,5vw,4.2rem);
    font-weight:800;
    margin:0
}

.legal-page-section {
    background:#f6f7f9
}

.legal-content-card {
    max-width:1050px;
    margin:auto;
    background:#fff;
    border-radius:20px;
    padding:clamp(24px,5vw,64px);
    box-shadow:0 18px 55px rgba(16,24,40,.08)
}

.footer-legal-links {
    display:flex;
    align-items:center;
    gap:10px
}

.footer-legal-links a {
    display:inline;
    margin:0;
    color:#ccd3d8
}

.footer-legal-links a:hover {
    color:var(--gold)
}

.rich-content {
    line-height:1.75;
    overflow-wrap:anywhere
}

.rich-content img {
    max-width:100%!important;
    height:auto!important;
    border-radius:10px
}

.rich-content iframe,.rich-content video {
    max-width:100%
}

.rich-content table {
    width:100%!important;
    max-width:100%;
    display:block;
    overflow-x:auto;
    border-collapse:collapse
}

.rich-content table td,.rich-content table th {
    border:1px solid #dee2e6;
    padding:9px
}

.rich-content h1,.rich-content h2,.rich-content h3,.rich-content h4,.rich-content h5,.rich-content h6 {
    font-weight:750;
    line-height:1.25;
    margin-top:1.3em;
    margin-bottom:.55em
}

.rich-content p:last-child {
    margin-bottom:0
}

.home-about-content {
    font-size:1.08rem!important
}

.about-rich-content {
    font-size:1.06rem
}

.about-side-card {
    padding:28px;
    background:#f7f8fa;
    border:1px solid #eceff3;
    border-radius:16px;
    box-shadow:0 12px 32px rgba(16,24,40,.06)
}

.about-side-icon {
    width:48px;
    height:48px;
    border-radius:12px;
    background:#fff1cb;
    color:#9b6800;
    display:grid;
    place-items:center;
    font-size:1.4rem;
    margin-bottom:15px
}

.gallery-lightbox-trigger,.project-image-button {
    position:relative;
    display:block;
    width:100%;
    border:0;
    background:transparent;
    padding:0;
    overflow:hidden;
    border-radius:12px;
    cursor:zoom-in
}

.gallery-lightbox-trigger img,.project-image-button img {
    transition:transform .32s ease,filter .32s ease
}

.gallery-lightbox-trigger:hover img,.project-image-button:hover img {
    transform:scale(1.035);
    filter:brightness(.83)
}

.gallery-zoom {
    position:absolute;
    right:15px;
    bottom:15px;
    width:42px;
    height:42px;
    border-radius:50%;
    background:rgba(10,17,27,.82);
    color:#fff;
    display:grid;
    place-items:center;
    font-size:1.05rem;
    opacity:0;
    transform:translateY(8px);
    transition:.25s
}

.gallery-lightbox-trigger:hover .gallery-zoom,.project-image-button:hover .gallery-zoom {
    opacity:1;
    transform:none
}

.image-lightbox-modal .modal-content {
    border:0;
    border-radius:18px;
    overflow:hidden;
    background:#fff
}

.image-lightbox-modal .modal-body {
    background:#10151d;
    min-height:260px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px
}

.lightbox-main-image {
    display:block;
    max-height:76vh;
    width:auto;
    max-width:100%;
    object-fit:contain
}

.project-hero {
    height:250px;
    background:#111;
    overflow:hidden
}

.project-hero>img {
    height:100%;
    object-fit:cover
}

.project-hero-overlay {
    position:absolute;
    inset:0;
    background:linear-gradient(rgba(4,10,18,.42),rgba(4,10,18,.7))
}

.project-info-card {
    padding:28px;
    background:#f7f8fa;
    border-radius:16px;
    box-shadow:0 12px 32px rgba(16,24,40,.08);
    position:sticky;
    top:105px
}

.project-info-card p:last-child {
    margin-bottom:0
}

.section-heading-row {
    padding-bottom:14px;
    border-bottom:1px solid #e7e9ed
}

@media(max-width:767px) {
    .legal-content-card {
        border-radius:14px
    }

    .image-lightbox-modal .modal-dialog {
        margin:.5rem
    }

    .image-lightbox-modal .modal-body {
        padding:10px
    }

    .lightbox-main-image {
        max-height:70vh
    }

    .gallery-zoom {
        opacity:1;
        transform:none;
        width:38px;
        height:38px
    }

    .project-hero {
        height:430px
    }

    .footer-legal-links {
        flex-wrap:wrap
    }

    .project-info-card {
        position:static
    }

}

/* Reusable media helpers */
.project-list-image {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.admin-logo-preview {
    width: 190px;
    height: 54px;
    object-fit: contain;
}

.admin-favicon-preview {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.admin-project-image-preview {
    width: 100%;
    height: 130px;
    object-fit: cover;
}

.flat-option-card {
    padding: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .08);
}

.flat-price {
    margin: 12px 0;
    font-size: 1.65rem;
    font-weight: 800;
    color: #111827;
}

.booking-summary {
    top: 110px;
}

.bank-account-list {
    display: grid;
    gap: 12px;
}

.bank-account-card {
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f8fafc;
}

.bank-account-card > span {
    float: right;
    color: #64748b;
    font-size: .82rem;
}

.order-success-card {
    max-width: 720px;
    padding: 55px 35px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(15, 23, 42, .12);
}

.success-icon {
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: #16a34a;
    color: #fff;
    font-size: 2.5rem;
}

.invoice-number {
    display: inline-block;
    margin: 14px 0;
    padding: 10px 18px;
    border-radius: 999px;
    background: #fff3cd;
    font-weight: 800;
    letter-spacing: 1px;
}

.invoice-page {
    background: #eef2f7;
}

.invoice-sheet {
    max-width: 960px;
    margin: auto;
    padding: 45px;
    background: #fff;
    box-shadow: 0 12px 45px rgba(15, 23, 42, .12);
}

.invoice-header {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.invoice-logo {
    max-width: 190px;
    max-height: 65px;
    object-fit: contain;
}

.invoice-table {
    margin-top: 25px;
}

.payment-box,
.invoice-note {
    margin-top: 25px;
    padding: 18px;
    border-radius: 12px;
    background: #f8fafc;
}

@media print {
    .invoice-actions {
        display: none;
    }

    .invoice-page {
        background: #fff;
    }

    .invoice-sheet {
        box-shadow: none;
        padding: 0;
    }
}

.flat-plan-thumbnail-button,
.booking-flat-plan-button {
    position: relative;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 14px;
    background: #f8fafc;
    cursor: zoom-in;
}

.flat-plan-thumbnail {
    width: 100%;
    height: 190px;
    object-fit: contain;
    background: #f8fafc;
}

.flat-plan-zoom {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(15, 23, 42, .78);
    color: #fff;
}

.flat-plan-placeholder {
    display: grid;
    place-items: center;
    gap: 8px;
    height: 190px;
    border-radius: 14px;
    background: #f8fafc;
    color: #94a3b8;
    text-align: center;
}

.flat-plan-placeholder i {
    font-size: 2rem;
}

.booking-flat-plan-button img {
    width: 100%;
    height: 230px;
    object-fit: contain;
    background: #f8fafc;
}

.booking-flat-plan-button span {
    display: block;
    padding: 9px 12px;
    background: #111827;
    color: #fff;
    font-size: .9rem;
}

.booking-flat-plan-empty {
    padding: 20px;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    color: #64748b;
    text-align: center;
}

/* =========================================================
   FINAL MOBILE RESPONSIVE AND OVERFLOW FIX
   Keep this section at the very end of site.css
========================================================= */

html {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    -webkit-text-size-adjust: 100%;
}

body {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    overflow-x: clip;
}

main,
header,
nav,
section,
footer,
.container,
.container-fluid,
.row,
[class*="col-"] {
    min-width: 0;
}

img,
picture,
video,
canvas,
svg,
iframe {
    max-width: 100%;
}

img {
    height: auto;
}

p,
li,
td,
th,
address,
a,
span,
strong,
small {
    overflow-wrap: anywhere;
}

a[href^="mailto:"],
a[href^="tel:"],
.footer a,
.footer p,
.footer span,
.footer address {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.d-flex > *,
.row > *,
.navbar > *,
.navbar-collapse,
.navbar-nav,
.footer .row > * {
    min-width: 0;
}

.site-navbar {
    width: 100%;
}

.site-navbar .container,
.site-navbar .container-fluid {
    max-width: 100%;
}

.navbar-brand {
    min-width: 0;
    max-width: calc(100% - 70px);
}

.brand-logo-wrap {
    max-width: 100%;
    flex: 0 1 190px;
}

.site-logo {
    max-width: 100%;
}

.hero-carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item,
.hero-media,
.hero-caption {
    width: 100%;
    max-width: 100%;
}

.hero-img {
    display: block;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}

.hero-caption .container {
    width: 100%;
    max-width: 100%;
}

.hero-copy {
    min-width: 0;
    max-width: 100%;
}

.hero-copy h1,
.hero-copy p {
    overflow-wrap: anywhere;
}

.rich-content,
.project-description,
.home-about-content,
.about-rich-content {
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
}

.rich-content pre,
.rich-content code,
.project-description pre,
.project-description code {
    max-width: 100%;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.rich-content iframe,
.rich-content video,
.project-description iframe,
.project-description video {
    width: 100%;
    height: auto;
}

.rich-content table,
.project-description table {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.footer {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.footer .container,
.footer .container-fluid {
    width: 100%;
    max-width: 100%;
}

.footer .row {
    width: 100%;
}

.footer-logo-wrap {
    max-width: 100%;
}

.footer-logo {
    display: block;
    max-width: 100%;
    height: auto;
}

.footer h4,
.footer h5,
.footer h6,
.footer p,
.footer a,
.footer li,
.footer address {
    max-width: 100%;
}

.footer-contact,
.footer-contact-item,
.footer-links,
.footer-brand {
    min-width: 0;
    max-width: 100%;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact-item > i {
    flex: 0 0 auto;
    margin-top: 3px;
}

.footer-contact-item > a,
.footer-contact-item > span,
.footer-email {
    display: block;
    min-width: 0;
    max-width: 100%;
    flex: 1 1 auto;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.footer-legal-links {
    max-width: 100%;
    flex-wrap: wrap;
}

.footer-bottom,
.footer-bottom-links {
    min-width: 0;
    max-width: 100%;
}

.project-card,
.service-card,
.flat-option-card,
.bank-account-card,
.order-success-card,
.invoice-sheet,
.booking-summary,
.project-info-card,
.legal-content-card {
    max-width: 100%;
    min-width: 0;
}

.project-image-wrap img,
.gallery-card img,
.project-gallery-image,
.project-list-image,
.flat-plan-thumbnail,
.booking-flat-plan-button img {
    max-width: 100%;
}

.whatsapp-float {
    max-width: calc(100vw - 30px);
}

@media (max-width: 991.98px) {
    .site-navbar {
        min-height: 68px;
    }

    .site-navbar .navbar-collapse {
        width: 100%;
        max-width: 100%;
        padding: 12px 0 16px;
    }

    .site-navbar .navbar-nav {
        width: 100%;
    }

    .site-navbar .nav-link {
        width: 100%;
        padding: .75rem 0 !important;
    }

    .hero-carousel,
    .hero-carousel .carousel-item {
        height: 620px;
        min-height: 520px;
    }

    .hero-copy {
        max-width: 760px;
        padding-top: 20px;
    }

    .section {
        padding: 72px 0;
    }

    .booking-summary,
    .project-info-card {
        position: static;
        top: auto;
    }

    .invoice-header {
        flex-wrap: wrap;
    }
}

@media (max-width: 767.98px) {
    .container,
    .container-fluid {
        width: 100%;
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    .footer .row > [class*="col-"] {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }

    .site-navbar {
        min-height: 62px;
    }

    .brand-logo-wrap {
        width: 145px;
        height: 42px;
        flex-basis: 145px;
    }

    .site-logo {
        max-height: 40px;
    }

    .hero-carousel,
    .hero-carousel .carousel-item {
        height: 500px;
        min-height: 440px;
    }

    .hero-media {
        align-items: center;
    }

    .hero-img {
        object-fit: contain;
        object-position: center;
    }

    .hero-caption {
        align-items: flex-end;
        padding-bottom: 46px;
    }

    .hero-copy {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .hero-copy h1 {
        max-width: 100%;
        margin-bottom: 12px;
        font-size: clamp(2rem, 9vw, 2.65rem);
        line-height: 1.08;
    }

    .hero-copy p {
        max-width: 100%;
        margin: 12px 0 20px;
        font-size: 1rem;
        line-height: 1.55;
    }

    .hero-copy .btn {
        max-width: 100%;
        white-space: normal;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 12%;
    }

    .trust-item {
        padding: 20px 10px;
    }

    .trust-item strong {
        font-size: .95rem;
    }

    .trust-item span {
        font-size: .76rem;
    }

    .section {
        padding: 58px 0;
    }

    .section-title {
        font-size: clamp(1.8rem, 8vw, 2.45rem);
    }

    .about-panel {
        padding: 14px;
        border-radius: 16px;
    }

    .about-panel .row > [class*="col-"] {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }

    .service-card {
        padding: 20px;
    }

    .project-image-wrap {
        height: 220px;
    }

    .cta-section {
        padding: 64px 0;
    }

    .cta-section h2 {
        max-width: 100%;
        font-size: clamp(2rem, 9vw, 2.8rem);
        line-height: 1.15;
    }

    .cta-section p {
        max-width: 100%;
        font-size: 1rem;
        line-height: 1.6;
    }

    .footer {
        text-align: left;
    }

    .footer .container,
    .footer .container-fluid {
        padding-left: 18px;
        padding-right: 18px;
    }

    .footer .row {
        --bs-gutter-x: 0;
    }

    .footer-brand,
    .footer-links,
    .footer-contact {
        width: 100%;
        margin-bottom: 28px;
    }

    .footer-logo-wrap {
        width: min(220px, 100%);
        height: auto;
        min-height: 58px;
    }

    .footer-logo {
        max-height: 62px;
    }

    .footer a {
        width: fit-content;
        max-width: 100%;
    }

    .footer a[href^="mailto:"] {
        display: block;
        width: 100%;
        font-size: .9rem;
        line-height: 1.5;
    }

    .footer-contact-item {
        width: 100%;
    }

    .footer-bottom {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 9px;
    }

    .footer-bottom-links,
    .footer-legal-links {
        display: flex;
        flex-wrap: wrap;
        gap: 6px 10px;
    }

    .footer-legal-links a {
        width: auto;
    }

    .whatsapp-float {
        right: 14px;
        bottom: 14px;
        width: 54px;
        min-width: 54px;
        height: 54px;
        padding: 0;
        font-size: 26px;
    }

    .whatsapp-float span {
        display: none;
    }

    .project-hero {
        height: 300px;
    }

    .project-info-card {
        padding: 22px;
    }

    .gallery-card img,
    .project-gallery-image {
        height: 220px;
    }

    .flat-option-card {
        padding: 18px;
    }

    .flat-plan-thumbnail,
    .flat-plan-placeholder {
        height: 170px;
    }

    .booking-flat-plan-button img {
        height: 200px;
    }

    .invoice-sheet {
        padding: 24px 18px;
    }

    .invoice-header {
        flex-direction: column;
        gap: 18px;
    }

    .invoice-logo {
        max-width: 160px;
    }

    .order-success-card {
        padding: 38px 20px;
    }

    .bank-account-card > span {
        float: none;
        display: block;
        margin-top: 6px;
    }
}

@media (max-width: 479.98px) {
    .container,
    .container-fluid {
        padding-left: 14px;
        padding-right: 14px;
    }

    .brand-logo-wrap {
        width: 132px;
        flex-basis: 132px;
    }

    .site-logo {
        max-height: 36px;
    }

    .hero-carousel,
    .hero-carousel .carousel-item {
        height: 430px !important;
        min-height: 400px !important;
    }

    .hero-caption {
        padding-bottom: 34px;
    }

    .hero-copy h1 {
        font-size: clamp(1.8rem, 9.5vw, 2.25rem);
    }

    .hero-copy p {
        font-size: .94rem;
    }

    .trust-item {
        padding: 18px 8px;
    }

    .section {
        padding: 50px 0;
    }

    .cta-section {
        padding: 56px 0;
    }

    .cta-section h2 {
        font-size: clamp(1.8rem, 9vw, 2.35rem);
    }

    .project-image-wrap {
        height: 205px;
    }

    .gallery-card img,
    .project-gallery-image {
        height: 205px;
    }

    .project-hero {
        height: 250px;
    }

    .legal-content-card {
        padding: 22px 16px;
    }

    .image-lightbox-modal .modal-dialog {
        margin: .35rem;
    }

    .image-lightbox-modal .modal-body {
        padding: 8px;
    }

    .lightbox-main-image {
        max-height: 68vh;
    }

    .flat-plan-thumbnail,
    .flat-plan-placeholder {
        height: 155px;
    }

    .booking-flat-plan-button img {
        height: 180px;
    }

    .invoice-sheet {
        padding: 20px 14px;
    }

    .whatsapp-float {
        right: 12px;
        bottom: 12px;
        width: 52px;
        min-width: 52px;
        height: 52px;
    }
}

/* =========================================================
   FINAL SITE-WIDE ALIGNMENT FIX
   Header, page sections, CTA and footer use one shared grid.
   Keep this block at the very end of site.css.
========================================================= */

:root {
    --site-content-width: 1200px;
    --site-gutter: 24px;
}

/* Shared horizontal content grid */
.site-navbar > .container,
.site-navbar > .container-fluid,
.trust-strip > .container,
.section > .container,
.cta-section > .container,
.footer > .container,
.footer > .container-fluid,
.page-hero > .container,
.legal-page-section > .container,
main > .container {
    width: 100%;
    max-width: var(--site-content-width);
    margin-right: auto;
    margin-left: auto;
    padding-right: var(--site-gutter);
    padding-left: var(--site-gutter);
}

/* Prevent a fluid navbar/footer wrapper from stretching its content */
.site-navbar > .container-fluid,
.footer > .container-fluid {
    max-width: var(--site-content-width);
}

/* Restore Bootstrap row geometry inside aligned containers */
.site-navbar .row,
.trust-strip .row,
.section .row,
.cta-section .row,
.footer .row,
.page-hero .row,
.legal-page-section .row {
    width: auto;
}

/* Header alignment */
.site-navbar .navbar-brand {
    margin-right: auto;
}

.site-navbar .navbar-collapse {
    flex-grow: 0;
}

.site-navbar .navbar-nav {
    align-items: center;
}

/* Keep hero caption content on the same vertical grid */
.hero-caption > .container {
    width: 100%;
    max-width: var(--site-content-width);
    margin-right: auto;
    margin-left: auto;
    padding-right: var(--site-gutter);
    padding-left: var(--site-gutter);
}

/* Trust strip content alignment */
.trust-strip .container {
    overflow: hidden;
}

/* Main content alignment */
.section > .container,
.cta-section > .container {
    position: relative;
}

/* CTA background remains full width, only content is constrained */
.cta-section {
    width: 100%;
}

/* Footer columns align with header and page content */
.footer > .container,
.footer > .container-fluid {
    padding-top: 0;
    padding-bottom: 0;
}

.footer .row {
    margin-right: calc(var(--bs-gutter-x) * -.5);
    margin-left: calc(var(--bs-gutter-x) * -.5);
}

.footer-brand,
.footer-links,
.footer-contact {
    width: auto;
    max-width: 100%;
}

/* Footer bottom line alignment */
.footer-bottom {
    width: 100%;
}

.footer-bottom > .container,
.footer-bottom > .container-fluid {
    width: 100%;
    max-width: var(--site-content-width);
    margin-right: auto;
    margin-left: auto;
    padding-right: var(--site-gutter);
    padding-left: var(--site-gutter);
}

/* Avoid global full-width rules from breaking Bootstrap containers */
@media (min-width: 768px) {
    .container,
    .container-fluid {
        padding-right: var(--site-gutter);
        padding-left: var(--site-gutter);
    }

    .footer .row > [class*="col-"] {
        width: auto;
    }
}

/* Tablet */
@media (max-width: 991.98px) {
    :root {
        --site-gutter: 20px;
    }

    .site-navbar .navbar-collapse {
        width: 100%;
        flex-grow: 1;
    }

    .site-navbar .navbar-nav {
        align-items: stretch;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    :root {
        --site-gutter: 16px;
    }

    .site-navbar > .container,
    .site-navbar > .container-fluid,
    .trust-strip > .container,
    .section > .container,
    .cta-section > .container,
    .footer > .container,
    .footer > .container-fluid,
    .page-hero > .container,
    .legal-page-section > .container,
    .hero-caption > .container,
    .footer-bottom > .container,
    .footer-bottom > .container-fluid {
        padding-right: var(--site-gutter);
        padding-left: var(--site-gutter);
    }

    .footer .row {
        margin-right: 0;
        margin-left: 0;
    }

    .footer .row > [class*="col-"] {
        padding-right: 0;
        padding-left: 0;
    }
}

/* Small mobile */
@media (max-width: 479.98px) {
    :root {
        --site-gutter: 14px;
    }
}


/* =========================================================
   MOBILE HERO FIX
   Remove top empty space and disable dark overlay on mobile
========================================================= */

@media (max-width: 767.98px) {
    .hero-carousel,
    .hero-carousel .carousel-inner,
    .hero-carousel .carousel-item {
        height: auto !important;
        min-height: 0 !important;
    }

    .hero-carousel .carousel-item {
        display: flex;
        flex-direction: column;
        background: #0b111a;
    }

    .hero-media {
        position: relative;
        inset: auto;
        width: 100%;
        height: 290px;
        order: 1;
        background: #0b111a;
    }

    .hero-img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
    }

    /* Remove desktop dark shade on mobile */
    .hero-overlay {
        display: none;
    }

    .hero-caption {
        position: relative;
        inset: auto;
        order: 2;
        display: block;
        padding: 24px 0 28px;
        background: #080c12;
        text-align: left;
    }

    .hero-caption .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-copy {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .hero-copy .eyebrow {
        margin-bottom: 8px;
    }

    .hero-copy h1 {
        margin: 0;
        font-size: clamp(2rem, 9vw, 2.55rem);
        line-height: 1.08;
    }

    .hero-copy p {
        margin: 12px 0 18px;
    }

    .carousel-indicators {
        position: absolute;
        right: 0;
        bottom: 12px;
        left: 0;
        z-index: 5;
        margin-bottom: 0;
    }

    .carousel-control-prev,
    .carousel-control-next {
        top: 0;
        bottom: auto;
        width: 12%;
        height: 290px;
    }
}

@media (max-width: 479.98px) {
    .hero-media {
        height: 164px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        height: 250px;
    }

    .hero-caption {
        padding: 2px 0 32px;
    }

    .hero-copy h1 {
        font-size: clamp(1.55rem, 9vw, 2.3rem);
    }

    .carousel-indicators [data-bs-target] {
        border-top: 1px solid transparent;
        border-bottom: 1px solid transparent;
    }
}
