:root {
    --be-bg: #f4f7f6;
    --be-surface: #ffffff;
    --be-surface-soft: #eef5f2;
    --be-ink: #17211c;
    --be-muted: #637068;
    --be-line: rgba(23, 33, 28, .12);
    --be-green: #1f7a5a;
    --be-blue: #255f85;
    --be-gold: #b88a2c;
    --be-shadow: 0 20px 55px rgba(15, 23, 42, .10);
    --be-radius: 8px;
    --be-shell: min(100% - 32px, 1680px);
}

html {
    scroll-behavior: smooth;
}

.buildestate-body {
    min-height: 100vh;
    margin: 0;
    background:
        linear-gradient(180deg, #f9fbfa 0%, var(--be-bg) 42%, #eef3f1 100%);
    color: var(--be-ink);
    font-family: 'Cairo', 'Inter', Arial, sans-serif;
    overflow-x: hidden;
}

.buildestate-nav {
    background: rgba(255, 255, 255, .90);
    border-bottom: 1px solid var(--be-line);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 34px rgba(15, 23, 42, .06);
    transition: box-shadow .2s ease, background .2s ease;
}

.buildestate-nav.is-scrolled {
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 16px 42px rgba(15, 23, 42, .12);
}

.buildestate-nav__inner {
    width: var(--be-shell);
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 18px;
}

.buildestate-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--be-ink);
    text-decoration: none;
    font-weight: 950;
    font-size: 1.2rem;
    white-space: nowrap;
}

.buildestate-brand img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .16);
}

.buildestate-toggler {
    border: 1px solid var(--be-line);
    border-radius: var(--be-radius);
    margin-inline-start: auto;
}

.buildestate-collapse {
    justify-content: space-between;
    gap: 16px;
}

.buildestate-links {
    align-items: center;
    gap: 4px;
    margin-inline: auto 0;
}

.buildestate-links .nav-link,
.nav-action-btn,
.lang-btn {
    min-height: 42px;
    border-radius: var(--be-radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 850;
    line-height: 1.2;
    white-space: nowrap;
}

.buildestate-links .nav-link {
    color: var(--be-muted) !important;
    padding-inline: 12px !important;
}

.buildestate-links .nav-link.active,
.buildestate-links .nav-link:hover {
    color: var(--be-green) !important;
    background: rgba(31, 122, 90, .09);
}

.buildestate-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-inline-start: auto;
}

.nav-action-btn {
    border: 1px solid var(--be-line);
    background: #fff;
    color: var(--be-ink);
    text-decoration: none;
    padding: 8px 12px;
    cursor: pointer;
}

.nav-action-btn:hover {
    color: var(--be-green);
    border-color: rgba(31, 122, 90, .35);
}

.nav-action-strong {
    color: #fff;
    background: linear-gradient(135deg, var(--be-green), var(--be-blue));
    border-color: transparent;
}

.nav-logout-form {
    margin: 0;
}

.customer-language-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-btn {
    border: 1px solid var(--be-line);
    background: #fff;
    color: var(--be-muted);
    text-decoration: none;
    padding: 7px 10px;
    font-size: .86rem;
}

.lang-btn.active {
    color: var(--be-green);
    background: rgba(31, 122, 90, .09);
    border-color: rgba(31, 122, 90, .25);
}

.flag-icon {
    width: 18px;
    height: 18px;
    border-radius: 2px;
}

.buildestate-main {
    padding-top: 92px;
}

.section-shell {
    width: var(--be-shell);
    margin-inline: auto;
}

.phase4a-home,
.real-estate-home,
.real-estate-detail {
    color: var(--be-ink);
}

.real-estate-hero {
    min-height: 620px;
    padding: clamp(28px, 4vw, 68px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .72fr);
    gap: clamp(24px, 4vw, 58px);
    align-items: center;
    border-radius: var(--be-radius);
    background:
        linear-gradient(135deg, rgba(14, 28, 25, .94), rgba(31, 122, 90, .82)),
        url("/Images/Slider/e091f036-e34e-461a-b69f-dcfdc2fb59db.jpg") center/cover;
    color: #fff;
    overflow: hidden;
    position: relative;
}

.real-estate-hero::after {
    content: "";
    position: absolute;
    inset-inline-end: 0;
    inset-block-end: 0;
    width: min(46vw, 680px);
    height: min(36vw, 500px);
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, .14));
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
    pointer-events: none;
}

.shop-hero__content,
.shop-hero__visual {
    position: relative;
    z-index: 1;
}

.real-estate-hero .eyebrow,
.real-estate-hero p,
.real-estate-hero .hero-metrics span {
    color: rgba(255, 255, 255, .84);
}

.real-estate-hero h1 {
    max-width: 820px;
    font-size: clamp(2.25rem, 4.8vw, 5.4rem);
    line-height: 1.08;
    font-weight: 950;
    letter-spacing: 0;
    margin: 14px 0 18px;
}

.real-estate-hero p {
    max-width: 760px;
    font-size: clamp(1rem, 1.2vw, 1.22rem);
    line-height: 1.95;
}

.hero-actions,
.filter-actions,
.promo-actions,
.product-actions,
.real-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.btn-primary-cta,
.btn-secondary-cta,
.btn-reset-cta,
.btn-icon-cta,
.btn-shop-primary,
.btn-shop-outline,
.btn-shop-icon,
.mobile-filter-btn {
    min-height: 44px;
    border-radius: var(--be-radius) !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 900 !important;
    line-height: 1.25;
}

.real-estate-home .btn-primary-cta,
.real-estate-detail .btn-shop-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--be-green), var(--be-blue));
    border: 0;
}

.real-estate-home .btn-secondary-cta,
.real-estate-home .btn-reset-cta,
.real-estate-home .btn-icon-cta,
.real-estate-detail .btn-shop-outline,
.real-estate-detail .btn-shop-icon {
    border: 1px solid rgba(31, 122, 90, .28);
    color: var(--be-green);
    background: #fff;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.hero-metrics > div {
    min-height: 98px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--be-radius);
    background: rgba(255, 255, 255, .10);
    backdrop-filter: blur(10px);
}

.hero-metrics strong {
    display: block;
    font-size: clamp(1.65rem, 2.4vw, 2.6rem);
    line-height: 1;
}

.hero-product,
.hero-empty-visual {
    border-radius: var(--be-radius);
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .12);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .20);
    overflow: hidden;
}

.hero-product--main img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.hero-product--main > div,
.hero-product--mini > div,
.hero-empty-visual {
    padding: 16px;
}

.real-hero-card a {
    color: #fff;
    font-weight: 900;
    text-decoration: none;
}

.hero-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.hero-product--mini img {
    width: 100%;
    aspect-ratio: 1.25 / 1;
    object-fit: cover;
}

.trust-strip {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.trust-strip > div,
.real-services article,
.category-card,
.filter-card,
.catalog-toolbar,
.promo-card,
.product-card-v2,
.empty-state,
.whatsapp-cta,
.detail-shell,
.real-video-panel,
.related-panel {
    border: 1px solid var(--be-line);
    border-radius: var(--be-radius);
    background: var(--be-surface);
    box-shadow: var(--be-shadow);
}

.trust-strip > div {
    min-height: 86px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
}

.trust-strip i,
.real-services i {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: var(--be-radius);
    background: rgba(31, 122, 90, .12);
    color: var(--be-green);
    font-size: 1.25rem;
}

.real-services {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.real-services article {
    padding: 24px;
}

.real-services h2,
.section-heading h2,
.catalog-toolbar h2,
.promo-card h3,
.product-card-v2 h3,
.detail-info h1 {
    font-weight: 950;
    letter-spacing: 0;
}

.real-services p,
.real-property-card p,
.catalog-toolbar p,
.whatsapp-cta p,
.detail-description,
.buildestate-footer p {
    color: var(--be-muted);
    line-height: 1.85;
}

.shop-section,
.categories-section,
.catalog-layout,
.whatsapp-cta,
.related-panel {
    margin-top: 34px;
}

.section-heading,
.catalog-toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--be-green);
    font-weight: 900;
}

.promo-grid,
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.promo-card,
.product-card-v2 {
    overflow: hidden;
}

.promo-card__image,
.product-media {
    display: block;
    position: relative;
    overflow: hidden;
    background: #dfe7e3;
}

.promo-card__image img,
.product-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .25s ease;
}

.promo-card:hover img,
.product-card-v2:hover img {
    transform: scale(1.035);
}

.promo-card__body,
.product-body {
    padding: 16px;
}

.product-actions,
.promo-actions {
    padding: 0 16px 16px;
}

.real-property-card .promo-card__price,
.real-property-card .product-price-row {
    display: none !important;
}

.real-property-card .product-body p,
.real-property-card .promo-card__body p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-badge,
.promo-card__badge {
    position: absolute;
    inset-block-start: 12px;
    inset-inline-start: 12px;
    z-index: 2;
    border-radius: 999px;
    padding: 7px 11px;
    background: rgba(31, 122, 90, .92);
    color: #fff;
    font-size: .78rem;
    font-weight: 900;
}

.favorite-btn-v2 {
    position: absolute;
    inset-block-start: 12px;
    inset-inline-end: 12px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    color: var(--be-green);
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .14);
}

.real-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.real-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--be-line);
    border-radius: 999px;
    padding: 6px 10px;
    color: var(--be-muted);
    background: #f8faf9;
    font-size: .82rem;
    font-weight: 850;
}

.category-rail {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.category-card {
    min-height: 126px;
    padding: 16px;
    text-decoration: none;
    color: var(--be-ink);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.category-card.active,
.category-card:hover {
    border-color: rgba(31, 122, 90, .35);
    background: linear-gradient(180deg, #fff, #eefaf6);
    color: var(--be-green);
}

.category-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: var(--be-radius);
    background: rgba(37, 95, 133, .10);
    color: var(--be-blue);
}

.catalog-layout {
    display: grid;
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.filter-card {
    padding: 18px;
    position: sticky;
    top: 96px;
}

.filter-card__header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
}

.filter-group {
    margin-bottom: 14px;
}

.filter-group label {
    display: block;
    margin-bottom: 7px;
    color: var(--be-muted);
    font-weight: 850;
}

.filter-group input,
.filter-group select,
.sort-form select {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--be-line);
    border-radius: var(--be-radius);
    background: #fff;
    padding: 8px 12px;
    font-weight: 800;
}

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    inset-block-start: 50%;
    inset-inline-start: 12px;
    transform: translateY(-50%);
    color: var(--be-muted);
}

.input-icon input {
    padding-inline-start: 38px;
}

.catalog-toolbar {
    padding: 18px;
    margin-bottom: 16px;
}

.toolbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-filter-btn {
    display: none !important;
    border: 1px solid var(--be-line);
    background: #fff;
}

.pagination-wrap {
    margin-top: 22px;
}

.pagination .page-link {
    border-radius: var(--be-radius) !important;
    color: var(--be-green);
    font-weight: 850;
}

.empty-state {
    min-height: 320px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 34px;
}

.empty-state__icon {
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    margin: 0 auto 12px;
    border-radius: 50%;
    color: var(--be-green);
    background: rgba(31, 122, 90, .12);
    font-size: 1.8rem;
}

.whatsapp-cta {
    padding: clamp(22px, 3vw, 38px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: linear-gradient(135deg, #ffffff, #eefaf6);
}

.whatsapp-cta .btn {
    color: #fff;
    background: #128c7e;
    border: 0;
    min-height: 48px;
    border-radius: var(--be-radius);
    font-weight: 900;
}

.detail-shell {
    padding: clamp(18px, 2vw, 26px);
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(360px, .65fr);
    gap: clamp(18px, 3vw, 38px);
}

.real-detail-media img {
    aspect-ratio: 4 / 3;
    width: 100%;
    height: auto;
    max-height: 680px;
    object-fit: cover;
    border-radius: var(--be-radius);
}

.detail-info .category {
    display: inline-flex;
    color: var(--be-green);
    font-weight: 900;
    margin-bottom: 8px;
}

.detail-description {
    margin-top: 18px;
}

.detail-trust {
    display: grid;
    gap: 8px;
    margin-top: 18px;
    color: var(--be-muted);
    font-weight: 850;
}

.real-video-panel,
.related-panel {
    padding: clamp(18px, 2vw, 26px);
    margin-top: 22px;
}

.real-video-panel iframe,
.real-video-panel video {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: var(--be-radius);
    background: #0f172a;
}

.quick-card {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(320px, .75fr);
}

.quick-card img {
    width: 100%;
    height: 100%;
    min-height: 390px;
    object-fit: cover;
}

.quick-card__body {
    padding: 28px;
}

.mobile-filter-sheet .offcanvas-body {
    background: var(--be-bg);
}

.buildestate-footer {
    margin-top: 48px;
    color: rgba(255, 255, 255, .80);
    background: #101916;
}

.buildestate-footer__inner {
    width: var(--be-shell);
    min-height: 210px;
    margin: 0 auto;
    padding: 36px 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 34px;
    align-items: center;
}

.buildestate-footer__brand {
    display: inline-flex;
    margin-bottom: 10px;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 950;
    text-decoration: none;
}

.buildestate-footer__links,
.buildestate-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.buildestate-footer__links a,
.buildestate-footer__social a {
    color: rgba(255, 255, 255, .80);
    text-decoration: none;
    font-weight: 850;
}

.buildestate-footer__social a {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .16);
}

.floating-scroll-btn {
    position: fixed;
    inset-block-end: 22px;
    inset-inline-end: 22px;
    z-index: 999;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--be-green);
    box-shadow: 0 16px 36px rgba(15, 23, 42, .22);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity .18s ease, transform .18s ease;
}

.floating-scroll-btn.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

@media (max-width: 1399.98px) {
    .promo-grid,
    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .category-rail {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1199.98px) {
    .real-estate-hero,
    .catalog-layout,
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .desktop-filters {
        display: none;
    }

    .mobile-filter-btn {
        display: inline-flex !important;
    }
}

@media (max-width: 991.98px) {
    :root {
        --be-shell: min(100% - 24px, 1680px);
    }

    .buildestate-nav__inner {
        min-height: 68px;
        flex-wrap: wrap;
    }

    .buildestate-collapse {
        width: 100%;
        padding: 12px 0;
    }

    .buildestate-links,
    .buildestate-actions {
        align-items: stretch;
    }

    .buildestate-actions,
    .customer-language-switcher {
        flex-wrap: wrap;
    }

    .buildestate-links .nav-link,
    .nav-action-btn,
    .lang-btn {
        justify-content: flex-start;
    }

    .buildestate-main {
        padding-top: 84px;
    }

    .trust-strip,
    .real-services,
    .promo-grid,
    .product-grid,
    .category-rail,
    .buildestate-footer__inner,
    .quick-card {
        grid-template-columns: 1fr 1fr;
    }

    .real-estate-hero {
        min-height: auto;
    }
}

@media (max-width: 767.98px) {
    :root {
        --be-shell: min(100% - 18px, 1680px);
    }

    .real-estate-hero {
        padding: 22px;
    }

    .hero-metrics,
    .trust-strip,
    .real-services,
    .promo-grid,
    .product-grid,
    .category-rail,
    .buildestate-footer__inner,
    .quick-card {
        grid-template-columns: 1fr;
    }

    .section-heading,
    .catalog-toolbar,
    .whatsapp-cta {
        align-items: stretch;
        flex-direction: column;
    }

    .toolbar-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .real-contact-actions .btn,
    .hero-actions .btn,
    .product-actions .btn,
    .promo-actions .btn {
        width: 100%;
    }

    .quick-card img {
        min-height: 260px;
    }
}

/* Client presentation refinements */
.real-estate-home .whatsapp-cta {
    background:
        linear-gradient(135deg, rgba(7, 21, 19, .98), rgba(15, 118, 110, .95) 58%, rgba(22, 92, 136, .92)) !important;
    color: #fff !important;
    border: 0 !important;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .16) !important;
}

.real-estate-home .whatsapp-cta .eyebrow,
.real-estate-home .whatsapp-cta h2,
.real-estate-home .whatsapp-cta p {
    color: #fff !important;
}

.real-estate-home .whatsapp-cta p {
    opacity: .86;
}

.contact-number-stack {
    min-width: min(100%, 430px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.contact-number-stack .btn {
    width: 100%;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.25;
    text-align: center;
    color: #fff !important;
    background: #16a34a !important;
    border: 1px solid rgba(255, 255, 255, .16) !important;
    box-shadow: none !important;
}

.contact-number-stack .contact-map-btn {
    grid-column: 1 / -1;
    background: rgba(255, 255, 255, .12) !important;
    backdrop-filter: blur(12px);
}

.buildestate-footer__contact {
    display: grid;
    gap: 9px;
    min-width: 250px;
}

.buildestate-footer__contact span,
.buildestate-footer__contact a {
    min-height: 38px;
    padding: 7px 10px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .84);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, .12);
}

.buildestate-footer__contact a:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, .28);
}

@media (max-width: 767.98px) {
    .contact-number-stack {
        min-width: 0;
        grid-template-columns: 1fr;
    }

    .contact-number-stack .contact-map-btn {
        grid-column: auto;
    }
}

/* BuildEstate cinematic upgrade */
.shop-hero.real-estate-hero.section-shell {
    display: none !important;
}

.real-estate-home {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .5), rgba(244, 247, 246, .96) 34%),
        linear-gradient(90deg, rgba(31, 122, 90, .055) 1px, transparent 1px),
        linear-gradient(180deg, rgba(31, 122, 90, .05) 1px, transparent 1px);
    background-size: auto, 56px 56px, 56px 56px;
}

.real-hero-full {
    width: 100%;
    min-height: calc(100svh - 92px);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    align-items: stretch;
    color: #fff;
    margin-top: -1px;
    background: #0d1715;
}

.hero-carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-carousel__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.94) contrast(.96) brightness(.78);
    opacity: .58;
}

.hero-cinematic-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(9, 21, 18, .96) 0%, rgba(9, 21, 18, .84) 48%, rgba(9, 21, 18, .58) 100%),
        linear-gradient(180deg, rgba(9, 21, 18, .52), rgba(9, 21, 18, .94));
}

.hero-stage {
    position: relative;
    z-index: 2;
    min-height: calc(100svh - 92px);
    padding-block: clamp(44px, 6vw, 96px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(390px, 560px);
    align-items: center;
    gap: clamp(24px, 5vw, 74px);
}

.hero-copy {
    max-width: 780px;
}

.hero-eyebrow {
    color: #f2c15e !important;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .18);
    padding: 8px 12px;
    border-radius: 999px;
    backdrop-filter: blur(14px);
}

.hero-copy h1 {
    margin: 18px 0 18px;
    max-width: 760px;
    color: #fff;
    font-size: clamp(2.4rem, 5vw, 4.9rem);
    line-height: 1.04;
    font-weight: 950;
    letter-spacing: 0;
}

.hero-copy p {
    max-width: 700px;
    color: rgba(255, 255, 255, .82);
    font-size: clamp(1rem, 1.3vw, 1.24rem);
    line-height: 2;
    margin-bottom: 24px;
}

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

.btn-primary-cta,
.btn-secondary-cta,
.btn-reset-cta,
.btn-icon-cta,
.btn-shop-primary,
.btn-shop-outline,
.btn-shop-icon {
    border-radius: 8px !important;
    font-weight: 900 !important;
}

.hero-actions .btn {
    min-height: 52px;
    padding-inline: 20px;
}

.btn-primary-cta,
.btn-shop-primary {
    background: linear-gradient(135deg, #0f766e, #165c88) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 16px 34px rgba(15, 118, 110, .26);
}

.btn-secondary-cta,
.btn-shop-outline {
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, .28) !important;
    background: rgba(255, 255, 255, .10) !important;
    backdrop-filter: blur(12px);
}

.real-estate-detail .btn-shop-outline {
    color: var(--be-ink) !important;
    background: #fff !important;
    border-color: var(--be-line) !important;
}

.btn-video-cta,
.btn-shop-icon:has(.bi-play-circle) {
    color: #0f172a !important;
    background: #f6b73c !important;
    border-color: #f6b73c !important;
}

.hero-metrics {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 150px));
    gap: 12px;
}

.hero-metrics > div {
    padding: 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .10);
    backdrop-filter: blur(14px);
}

.real-hero-full .hero-metrics > div {
    background: rgba(255, 255, 255, .10) !important;
    border-color: rgba(255, 255, 255, .18) !important;
}

.hero-metrics strong {
    display: block;
    color: #fff;
    font-size: clamp(1.75rem, 3vw, 2.55rem);
    line-height: 1;
    font-weight: 950;
}

.real-hero-full .hero-metrics strong {
    color: #fff !important;
}

.hero-metrics span {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, .78);
    font-weight: 850;
}

.real-hero-full .hero-metrics span {
    color: rgba(255, 255, 255, .78) !important;
}

.hero-showcase {
    padding: 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .12);
    box-shadow: 0 28px 70px rgba(0, 0, 0, .32);
    backdrop-filter: blur(18px);
}

.hero-feature-card {
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    color: var(--be-ink);
}

.hero-feature-card__media {
    display: block;
    position: relative;
    min-height: 330px;
    overflow: hidden;
}

.hero-feature-card__media img,
.hero-thumb-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.hero-feature-card:hover img,
.hero-thumb-card:hover img {
    transform: scale(1.04);
}

.hero-feature-card__badge {
    position: absolute;
    inset-block-start: 16px;
    inset-inline-end: 16px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #f6b73c;
    color: #0f172a;
    font-weight: 950;
}

.hero-feature-card__body {
    padding: 18px;
}

.hero-feature-card__body .property-location {
    width: 100%;
    justify-content: center;
    text-align: center;
}

.hero-feature-card__body small,
.promo-card__body small,
.product-body small {
    color: #0f766e;
    font-weight: 950;
}

.hero-feature-card__body h2 {
    margin: 6px 0 14px;
    font-size: clamp(1.25rem, 2vw, 1.7rem);
    font-weight: 950;
}

.property-location {
    width: fit-content;
    max-width: 100%;
    min-height: 34px;
    padding: 6px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 8px;
    color: #0f766e;
    background: #eef8f5;
    border: 1px solid rgba(15, 118, 110, .16);
    font-weight: 900;
    line-height: 1.35;
}

.property-location--hero {
    margin-bottom: 12px;
}

.property-location--media {
    position: absolute;
    inset-inline-start: 14px;
    inset-block-end: 14px;
    z-index: 2;
    color: #fff;
    background: rgba(15, 23, 42, .78);
    border-color: rgba(255, 255, 255, .20);
    backdrop-filter: blur(10px);
}

.property-location--link {
    color: #fff;
    background: linear-gradient(135deg, #0f766e, #165c88);
    border-color: rgba(15, 118, 110, .35);
    text-decoration: none;
    box-shadow: 0 14px 28px rgba(15, 118, 110, .16);
}

.property-location--link:hover {
    color: #fff;
    transform: translateY(-1px);
}

.hero-feature-card__body > .property-location--link {
    margin-bottom: 10px;
}

.hero-feature-card__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 10px;
}

.hero-feature-card__actions a {
    width: 100%;
    min-height: 42px;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 8px;
    color: #fff;
    background: #0f766e;
    text-decoration: none;
    font-weight: 900;
}

.hero-feature-card__actions a + a {
    background: #f6b73c;
    color: #0f172a;
}

.hero-thumb-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.hero-thumb-card {
    position: relative;
    min-height: 146px;
    border-radius: 8px;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 12px;
    background: #0f172a;
}

.hero-thumb-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, transparent, rgba(7, 13, 12, .88));
}

.hero-thumb-card img {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-thumb-card span {
    color: #f6d28a;
    font-size: .8rem;
    font-weight: 900;
}

.hero-thumb-card strong {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.45;
    font-size: .95rem;
}

.hero-thumb-card em {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    color: rgba(255, 255, 255, .78);
    font-size: .78rem;
    font-style: normal;
    font-weight: 850;
}

.trust-strip,
.real-services,
.shop-section,
.categories-section,
.catalog-layout,
.whatsapp-cta {
    margin-top: clamp(30px, 5vw, 72px);
}

.featured-showcase,
.shop-section {
    max-width: min(100% - 32px, 1740px);
}

.promo-grid {
    gap: 18px;
}

.shop-section .promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: stretch;
}

.promo-card,
.product-card-v2,
.filter-card,
.catalog-toolbar,
.category-card,
.real-video-panel,
.related-panel {
    border-radius: 8px !important;
    border: 1px solid rgba(15, 23, 42, .10) !important;
    box-shadow: 0 20px 50px rgba(15, 23, 42, .08) !important;
}

.promo-card__image,
.product-media {
    aspect-ratio: 16 / 11;
    min-height: 0;
    background: #0f172a;
}

.promo-card__image img,
.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-card__body,
.product-body {
    padding: 18px !important;
}

.promo-card__body h3,
.product-body h3 {
    font-size: clamp(1.05rem, 1.3vw, 1.35rem);
    line-height: 1.55;
}

.promo-card__body p,
.product-body p {
    line-height: 1.9;
}

.categories-section {
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid rgba(31, 122, 90, .16);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(238, 247, 244, .94)),
        linear-gradient(90deg, rgba(31, 122, 90, .08) 1px, transparent 1px);
    box-shadow: var(--be-shadow);
}

.categories-section .section-heading {
    margin-bottom: 18px;
}

.categories-section .text-link {
    min-height: 42px;
    padding: 8px 14px;
    border-radius: 8px;
    color: #0f766e;
    background: #fff;
    border: 1px solid rgba(31, 122, 90, .18);
    text-decoration: none;
    font-weight: 950;
}

.category-rail {
    gap: 12px;
}

.category-card {
    min-height: 138px;
    padding: 18px;
    background: #fff;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.category-card:hover,
.category-card.active {
    transform: translateY(-3px);
    border-color: rgba(15, 118, 110, .34) !important;
    box-shadow: 0 18px 44px rgba(15, 118, 110, .12) !important;
}

.category-icon {
    background: linear-gradient(135deg, #0f766e, #293b64) !important;
    color: #fff !important;
}

.catalog-layout {
    max-width: min(100% - 32px, 1780px);
    display: grid;
    grid-template-columns: minmax(360px, 430px) minmax(0, 1fr);
    align-items: start;
    gap: 22px;
}

.catalog-filters {
    position: sticky;
    top: 96px;
}

.filter-card {
    overflow: hidden;
    padding: 0 !important;
    background: #fff !important;
}

.filter-card__header {
    padding: 22px;
    background: linear-gradient(135deg, #10241f, #0f766e 58%, #2f5570);
    color: #fff;
}

.filter-card__header .eyebrow,
.filter-card__header h3 {
    color: #fff !important;
}

.filter-card__header i {
    background: rgba(255, 255, 255, .14) !important;
    color: #f6d28a !important;
}

.filter-group,
.filter-actions {
    padding-inline: 22px;
}

.filter-group:first-of-type {
    padding-top: 22px;
}

.filter-actions {
    padding-bottom: 22px;
}

.filter-group input,
.filter-group select,
.sort-form select {
    min-height: 48px;
    border-radius: 8px !important;
}

.catalog-main {
    min-width: 0;
}

.catalog-toolbar {
    padding: 24px !important;
    margin-bottom: 16px;
    background:
        linear-gradient(135deg, #fff, #f7fbfa),
        linear-gradient(90deg, rgba(31, 122, 90, .05) 1px, transparent 1px);
}

.catalog-toolbar h2,
.section-heading h2 {
    font-size: clamp(1.7rem, 2.7vw, 3rem);
    font-weight: 950;
}

.product-grid {
    gap: 18px;
}

.product-actions {
    display: flex;
    gap: 8px;
    padding: 0 18px 18px;
}

.product-actions .btn {
    min-width: 0;
}

.product-actions .btn-primary-cta {
    flex: 1 1 auto;
}

.btn-icon-cta,
.btn-shop-icon {
    width: 46px;
    height: 46px;
    display: inline-grid !important;
    place-items: center;
    padding: 0 !important;
    color: #0f766e !important;
    background: #fff !important;
    border: 1px solid rgba(15, 23, 42, .12) !important;
}

.real-card-meta {
    gap: 8px;
}

.real-card-meta span {
    border-radius: 999px;
    background: #f6faf8;
    border: 1px solid rgba(15, 118, 110, .12);
}

.whatsapp-cta {
    background: linear-gradient(135deg, #10241f, #0f766e);
    color: #fff;
}

.whatsapp-cta .eyebrow,
.whatsapp-cta h2,
.whatsapp-cta p {
    color: #fff !important;
}

@media (min-width: 1400px) {
    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .promo-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1199.98px) {
    .real-hero-full,
    .hero-stage {
        min-height: auto;
    }

    .hero-stage,
    .catalog-layout {
        grid-template-columns: 1fr;
    }

    .catalog-layout {
        max-width: var(--be-shell);
    }

    .catalog-filters {
        position: static;
    }
}

@media (max-width: 991.98px) {
    .real-hero-full {
        padding-top: 8px;
    }

    .hero-stage {
        padding-block: 32px;
        gap: 22px;
    }

    .hero-copy {
        max-width: none;
    }

    .hero-showcase {
        width: min(100%, 640px);
        margin-inline: auto;
    }

    .hero-feature-card__media {
        min-height: 280px;
    }

    .catalog-toolbar h2,
    .section-heading h2 {
        font-size: clamp(1.55rem, 7vw, 2.35rem);
    }
}

@media (max-width: 767.98px) {
    .real-hero-full {
        min-height: auto;
    }

    .hero-cinematic-overlay {
        background:
            linear-gradient(180deg, rgba(9, 21, 18, .88), rgba(9, 21, 18, .64) 52%, rgba(9, 21, 18, .88)),
            linear-gradient(90deg, rgba(9, 21, 18, .76), rgba(9, 21, 18, .40));
    }

    .hero-stage {
        width: min(100% - 18px, 1680px);
        padding-block: 26px 34px;
    }

    .hero-copy h1 {
        font-size: clamp(2rem, 10.5vw, 3.2rem);
        line-height: 1.1;
    }

    .hero-copy p {
        font-size: .98rem;
        line-height: 1.85;
    }

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

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

    .hero-metrics > div {
        padding: 12px 8px;
        text-align: center;
    }

    .hero-metrics span {
        font-size: .76rem;
        line-height: 1.4;
    }

    .hero-showcase {
        padding: 10px;
    }

    .hero-feature-card__media {
        min-height: 230px;
    }

    .hero-thumb-grid {
        grid-template-columns: 1fr;
    }

    .hero-thumb-card {
        min-height: 118px;
    }

    .categories-section {
        padding: 16px;
    }

    .categories-section .section-heading {
        align-items: stretch;
    }

    .categories-section .text-link {
        justify-content: center;
        display: inline-flex;
    }

    .catalog-layout {
        width: min(100% - 18px, 1680px);
        gap: 16px;
    }

    .catalog-toolbar,
    .filter-card__header,
    .filter-group,
    .filter-actions {
        padding-inline: 16px !important;
    }

    .product-actions {
        padding-inline: 14px;
    }

    .btn-icon-cta,
    .btn-shop-icon {
        width: 44px;
        height: 44px;
    }
}

/* Final overrides: keep all customer-facing cards and action rows aligned. */
.promo-grid,
.product-grid {
    align-items: stretch;
}

.promo-card.real-property-card,
.product-card-v2.real-property-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.promo-card__body,
.product-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.promo-card__body small,
.product-body small {
    min-height: 24px;
    display: block;
    text-align: center;
}

.promo-card__body h3,
.product-body h3 {
    min-height: 92px;
    margin: 6px 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
}

.promo-card__body > .property-location:not(.property-location--media),
.product-body > .property-location:not(.property-location--media) {
    margin-inline: auto;
    justify-content: center;
    text-align: center;
}

.product-card-v2 .product-body > .property-location--link,
.promo-card .promo-card__body > .property-location--link {
    display: none;
}

.real-property-card .product-body p,
.real-property-card .promo-card__body p {
    min-height: 92px;
    margin-top: 12px;
}

.real-card-meta {
    min-height: 112px;
    align-content: flex-start;
    margin-top: 10px;
}

.promo-actions,
.product-actions {
    margin-top: auto;
    display: grid !important;
    grid-template-columns: repeat(4, 42px);
    justify-content: center;
    align-items: center;
    align-content: start;
    gap: 8px;
    min-height: 112px;
    padding: 0 18px 18px !important;
}

.product-card-v2 .product-actions {
    min-height: 166px;
}

.promo-actions .btn-shop-primary,
.product-actions .btn-primary-cta {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0 !important;
    justify-self: stretch;
}

.promo-actions .btn-shop-icon,
.product-actions .btn-icon-cta {
    display: inline-grid !important;
    width: 42px;
    height: 42px;
    justify-self: center;
    flex: 0 0 42px;
    overflow: visible;
}

.product-actions a.btn-icon-cta,
.product-actions button.btn-icon-cta,
.promo-actions a.btn-shop-icon,
.promo-actions button.btn-shop-icon {
    display: inline-grid !important;
}

@media (max-width: 991.98px) {
    .promo-actions,
    .product-actions {
        grid-template-columns: repeat(2, 44px);
        gap: 10px;
        min-height: 154px;
        padding-inline: 12px !important;
        overflow: visible;
    }

    .product-card-v2 .product-actions {
        min-height: 154px;
    }

    .promo-actions .btn-shop-icon,
    .product-actions .btn-icon-cta {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 767.98px) {
    .promo-grid,
    .product-grid {
        grid-template-columns: 1fr !important;
    }

    .promo-actions,
    .product-actions {
        grid-template-columns: repeat(4, 44px);
        min-height: 106px;
        padding: 0 16px 18px !important;
    }

    .product-card-v2 .product-actions {
        min-height: 106px;
    }

    .floating-scroll-btn {
        display: none !important;
    }
}

@media (max-width: 379.98px) {
    .promo-actions,
    .product-actions {
        grid-template-columns: repeat(3, 44px);
        min-height: 160px;
    }

    .product-card-v2 .product-actions {
        min-height: 160px;
    }
}

.map-preview-modal .modal-content {
    position: relative;
    z-index: 1;
    border: 1px solid rgba(15, 118, 110, .16);
    border-radius: 8px;
    padding: 26px;
    overflow: hidden;
    text-align: center;
    background:
        linear-gradient(135deg, #ffffff, #f3fbf8),
        linear-gradient(90deg, rgba(15, 118, 110, .06) 1px, transparent 1px);
    box-shadow: 0 34px 90px rgba(15, 23, 42, .20);
}

.map-preview-modal {
    z-index: 2300 !important;
}

.modal-backdrop {
    z-index: 2290 !important;
}

.map-preview-modal__close {
    position: absolute;
    inset-block-start: 16px;
    inset-inline-start: 16px;
}

.map-preview-modal__icon {
    width: 64px;
    height: 64px;
    margin: 4px auto 14px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: linear-gradient(135deg, #0f766e, #165c88);
    color: #fff;
    font-size: 1.8rem;
    box-shadow: 0 18px 36px rgba(15, 118, 110, .22);
}

.map-preview-modal h2 {
    margin: 8px 0 10px;
    color: var(--be-ink);
    font-weight: 950;
    line-height: 1.35;
}

.map-preview-modal p {
    margin: 0 auto 20px;
    max-width: 440px;
    color: var(--be-muted);
    font-weight: 800;
    line-height: 1.8;
}

.map-preview-modal__hint {
    align-items: center;
    background: rgba(15, 118, 110, .08);
    border: 1px solid rgba(15, 118, 110, .14);
    border-radius: 8px;
    color: #0f766e;
    display: inline-flex;
    gap: 8px;
    justify-content: center;
    line-height: 1.7;
    margin: 0 auto 16px;
    max-width: 460px;
    padding: 10px 12px;
    text-align: center;
    width: 100%;
}

.map-preview-modal__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.map-preview-modal__actions .btn {
    min-width: 0;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.map-preview-modal .btn-shop-outline {
    color: var(--be-ink) !important;
    background: #fff !important;
    border-color: rgba(15, 23, 42, .16) !important;
}

@media (max-width: 575.98px) {
    .promo-card__body h3,
    .product-body h3 {
        min-height: auto;
    }

    .real-property-card .product-body p,
    .real-property-card .promo-card__body p,
    .real-card-meta {
        min-height: auto;
    }

    .map-preview-modal__actions {
        grid-template-columns: 1fr;
    }
}

/* Cinematic animated construction background and stronger icon language. */
.buildestate-body {
    background:
        radial-gradient(circle at 14% 20%, rgba(201, 154, 62, .16), transparent 30%),
        radial-gradient(circle at 86% 16%, rgba(6, 63, 52, .18), transparent 32%),
        linear-gradient(180deg, #fffaf0 0%, #eef5f2 22%, #e8f0ed 100%);
}

.buildestate-body::before,
.buildestate-body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
}

.buildestate-body::before {
    z-index: 0;
    background-image:
        linear-gradient(90deg, rgba(6, 63, 52, .07) 1px, transparent 1px),
        linear-gradient(180deg, rgba(6, 63, 52, .065) 1px, transparent 1px),
        linear-gradient(135deg, transparent 0 47%, rgba(201, 154, 62, .15) 48%, transparent 50% 100%);
    background-size: 70px 70px, 70px 70px, 240px 240px;
    animation: estateBlueprintFlow 18s linear infinite;
    opacity: .92;
}

.buildestate-body::after {
    z-index: 0;
    background:
        linear-gradient(112deg, transparent 0 34%, rgba(255, 255, 255, .46) 42%, transparent 52%),
        radial-gradient(ellipse at 70% 72%, rgba(6, 63, 52, .16), transparent 36%),
        radial-gradient(ellipse at 18% 68%, rgba(201, 154, 62, .18), transparent 34%);
    mix-blend-mode: multiply;
    animation: estateLightSweep 11s ease-in-out infinite;
}

@keyframes estateBlueprintFlow {
    0% { background-position: 0 0, 0 0, 0 0; }
    100% { background-position: 70px 70px, 70px 70px, 240px 0; }
}

@keyframes estateLightSweep {
    0%, 100% { transform: translate3d(-4%, 0, 0); opacity: .38; }
    50% { transform: translate3d(4%, -2%, 0); opacity: .78; }
}

.buildestate-nav,
.buildestate-main,
.buildestate-footer,
.map-preview-modal,
.modal-backdrop {
    position: relative;
    z-index: 2;
}

.real-estate-home,
.real-estate-detail {
    position: relative;
    z-index: 1;
}

.real-estate-home {
    background:
        linear-gradient(180deg, rgba(255, 250, 240, .42), rgba(236, 245, 241, .68)),
        radial-gradient(circle at 74% 30%, rgba(6, 63, 52, .12), transparent 34%),
        radial-gradient(circle at 22% 84%, rgba(201, 154, 62, .15), transparent 32%);
}

.shop-section,
.categories-section,
.catalog-layout,
.trust-strip,
.real-services,
.related-panel,
.detail-shell,
.real-video-panel,
.whatsapp-cta {
    position: relative;
}

.shop-section::before,
.categories-section::before,
.catalog-toolbar::before,
.filter-card::before,
.detail-shell::before,
.real-video-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background:
        linear-gradient(135deg, rgba(201, 154, 62, .10), transparent 32%),
        linear-gradient(90deg, rgba(6, 63, 52, .045) 1px, transparent 1px);
    background-size: auto, 42px 42px;
    opacity: .72;
}

.trust-strip i,
.real-services i,
.category-icon,
.filter-card__header > i,
.empty-state__icon,
.map-preview-modal__icon,
.detail-trust i,
.real-card-meta i,
.property-location i,
.btn i,
.nav-link i,
.buildestate-footer__contact i {
    filter: drop-shadow(0 8px 14px rgba(6, 63, 52, .22));
}

.trust-strip i,
.real-services i,
.category-icon,
.filter-card__header > i,
.empty-state__icon,
.map-preview-modal__icon {
    background:
        linear-gradient(135deg, #063f34, #0f766e 62%, #c99a3e) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 250, 240, .28);
    box-shadow: 0 18px 40px rgba(6, 63, 52, .24), inset 0 1px 0 rgba(255, 255, 255, .24);
}

.btn-icon-cta,
.btn-shop-icon,
.favorite-btn-v2,
.floating-scroll-btn {
    box-shadow: 0 14px 32px rgba(6, 63, 52, .18), inset 0 1px 0 rgba(255, 255, 255, .65) !important;
}

.btn-icon-cta i,
.btn-shop-icon i,
.favorite-btn-v2 i,
.floating-scroll-btn i {
    font-size: 1.1rem;
    color: #063f34;
}

.product-card-v2,
.promo-card,
.category-card,
.filter-card,
.catalog-toolbar,
.detail-shell,
.related-panel,
.real-video-panel {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(255, 250, 240, .88)),
        linear-gradient(90deg, rgba(6, 63, 52, .045) 1px, transparent 1px) !important;
    background-size: auto, 46px 46px !important;
}

.culture-en .real-estate-home,
.culture-en .real-estate-detail,
.culture-en .buildestate-footer,
.culture-en .map-preview-modal {
    direction: ltr;
}

.culture-en .hero-copy,
.culture-en .section-heading,
.culture-en .catalog-toolbar,
.culture-en .filter-card,
.culture-en .product-body,
.culture-en .promo-card__body,
.culture-en .detail-info {
    text-align: left;
}

.culture-en .hero-contact-ribbon,
.culture-en .hero-actions,
.culture-en .product-actions,
.culture-en .promo-actions {
    direction: ltr;
}

@media (max-width: 767.98px) {
    .buildestate-body::before {
        background-size: 54px 54px, 54px 54px, 180px 180px;
        opacity: .72;
    }

    .buildestate-body::after {
        opacity: .46;
    }

    .trust-strip i,
    .real-services i,
    .category-icon {
        width: 52px;
        height: 52px;
        font-size: 1.35rem;
    }
}

/* Final UX polish: equal action controls across hero, details, and card badges. */
.hero-feature-card__actions {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 10px !important;
    margin-top: 10px !important;
}

.hero-feature-card__actions a,
.real-contact-actions .btn {
    width: 100%;
    min-height: 46px;
    justify-content: center !important;
    text-align: center;
}

.real-contact-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 10px;
}

.real-card-meta span,
.real-card-meta a,
.property-location,
.product-badge,
.promo-card__badge,
.category-card,
.trust-strip > div {
    border-radius: 8px !important;
}

.real-card-meta span,
.real-card-meta a {
    min-height: 34px;
    align-items: center;
    justify-content: center;
    text-align: center;
}

@media (max-width: 575.98px) {
    .real-contact-actions {
        grid-template-columns: 1fr;
    }
}

/* New House Estate brand and cinematic hero polish */
.buildestate-nav__inner {
    min-height: 98px;
}

.buildestate-main {
    padding-top: 112px;
}

.buildestate-brand img,
.buildestate-footer__brand::before {
    background: #fffaf0;
}

.buildestate-brand img {
    width: 78px;
    height: 78px;
    border-radius: 8px;
    object-fit: contain;
    padding: 5px;
    border: 1px solid rgba(201, 154, 62, .46);
    box-shadow: 0 18px 42px rgba(6, 63, 52, .20), inset 0 0 0 1px rgba(255, 255, 255, .72);
}

.buildestate-brand span {
    color: #063f34;
    font-size: clamp(1.08rem, 1.32vw, 1.38rem);
    letter-spacing: .01em;
}

.real-hero-full {
    min-height: calc(100svh - 98px);
    background:
        radial-gradient(circle at 82% 16%, rgba(255, 248, 232, .18), transparent 22%),
        radial-gradient(circle at 16% 78%, rgba(201, 154, 62, .22), transparent 30%),
        linear-gradient(135deg, #031510, #062c25 48%, #0b4b3d);
}

.real-hero-full::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image:
        linear-gradient(90deg, rgba(255, 244, 218, .07) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 244, 218, .06) 1px, transparent 1px),
        linear-gradient(135deg, transparent 48%, rgba(201, 154, 62, .14) 49%, rgba(201, 154, 62, .14) 51%, transparent 52%);
    background-size: 72px 72px, 72px 72px, 220px 220px;
    mask-image: linear-gradient(90deg, transparent, #000 22%, #000 82%, transparent);
}

.hero-carousel__image {
    object-position: center;
    filter: saturate(.82) contrast(1.08) brightness(.58);
    opacity: .42;
    transform: scale(1.035);
    animation: heroImageDrift 18s ease-in-out infinite;
}

@keyframes heroImageDrift {
    0%, 100% { transform: scale(1.035) translate3d(0, 0, 0); }
    50% { transform: scale(1.09) translate3d(-1.2%, .8%, 0); }
}

.hero-cinematic-overlay {
    background:
        linear-gradient(90deg, rgba(3, 19, 16, .94) 0%, rgba(5, 38, 31, .82) 44%, rgba(255, 247, 232, .08) 100%),
        linear-gradient(180deg, rgba(3, 19, 16, .12), rgba(3, 19, 16, .94));
}

.construction-ambient {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.construction-ambient span {
    position: absolute;
    inset-block-end: 8%;
    width: 3px;
    height: clamp(120px, 16vw, 260px);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(201, 154, 62, .0), rgba(201, 154, 62, .45), rgba(255, 255, 255, .0));
    opacity: .42;
    animation: buildEstateFloat 7s ease-in-out infinite;
}

.construction-ambient span:nth-child(1) { inset-inline-start: 9%; animation-delay: 0s; }
.construction-ambient span:nth-child(2) { inset-inline-start: 18%; height: clamp(90px, 13vw, 210px); animation-delay: 1.2s; }
.construction-ambient span:nth-child(3) { inset-inline-end: 18%; animation-delay: 2.1s; }
.construction-ambient span:nth-child(4) { inset-inline-end: 8%; height: clamp(150px, 19vw, 300px); animation-delay: 3s; }

@keyframes buildEstateFloat {
    0%, 100% { transform: translateY(10px) scaleY(.92); opacity: .22; }
    50% { transform: translateY(-18px) scaleY(1.08); opacity: .52; }
}

.hero-logo-watermark {
    position: absolute;
    z-index: 1;
    inset-inline-start: clamp(20px, 4vw, 70px);
    inset-block-start: clamp(24px, 7vw, 90px);
    width: clamp(220px, 28vw, 430px);
    opacity: .12;
    filter: drop-shadow(0 30px 70px rgba(201, 154, 62, .18));
    transform: rotate(-2deg);
    pointer-events: none;
}

.hero-logo-watermark img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.brand-skyline {
    position: absolute;
    z-index: 1;
    inset-inline-end: clamp(18px, 5vw, 90px);
    inset-block-start: 13%;
    width: min(39vw, 570px);
    height: min(62vh, 610px);
    pointer-events: none;
    perspective: 900px;
    opacity: .72;
}

.brand-skyline .tower,
.brand-skyline .podium,
.brand-skyline .beam {
    position: absolute;
    display: block;
    border: 1px solid rgba(255, 248, 232, .16);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .24);
}

.brand-skyline .tower {
    bottom: 23%;
    width: 16%;
    transform: skewY(-10deg) rotateX(10deg);
    background: linear-gradient(160deg, rgba(255, 248, 232, .12), rgba(6, 63, 52, .70) 40%, rgba(3, 19, 16, .18));
    animation: towerPulse 6s ease-in-out infinite;
}

.brand-skyline .tower::after {
    content: "";
    position: absolute;
    inset: 12% 34%;
    background: linear-gradient(180deg, rgba(201, 154, 62, .80), rgba(201, 154, 62, .16));
    filter: blur(.2px);
}

.tower-a { inset-inline-start: 16%; height: 48%; animation-delay: 0s !important; }
.tower-b { inset-inline-start: 34%; height: 72%; animation-delay: .7s !important; }
.tower-c { inset-inline-start: 54%; height: 64%; background: linear-gradient(160deg, rgba(201, 154, 62, .72), rgba(93, 67, 20, .25)) !important; animation-delay: 1.4s !important; }
.tower-d { inset-inline-start: 72%; height: 42%; animation-delay: 2.1s !important; }

.brand-skyline .podium {
    inset-inline-start: 8%;
    bottom: 14%;
    width: 82%;
    height: 14%;
    border-radius: 8px;
    transform: skewX(-12deg);
    background: linear-gradient(135deg, rgba(255, 248, 232, .28), rgba(6, 63, 52, .72));
}

.brand-skyline .beam {
    height: 2px;
    width: 84%;
    inset-inline-start: 6%;
    background: linear-gradient(90deg, transparent, rgba(201, 154, 62, .88), transparent);
    border: 0;
    box-shadow: 0 0 22px rgba(201, 154, 62, .42);
    animation: beamScan 4.8s ease-in-out infinite;
}

.beam-a { bottom: 31%; }
.beam-b { bottom: 13%; animation-delay: 1.6s !important; }

@keyframes towerPulse {
    0%, 100% { transform: skewY(-10deg) rotateX(10deg) translateY(0); opacity: .70; }
    50% { transform: skewY(-10deg) rotateX(10deg) translateY(-14px); opacity: .96; }
}

@keyframes beamScan {
    0%, 100% { transform: translateX(-18px); opacity: .28; }
    50% { transform: translateX(20px); opacity: .86; }
}

.hero-stage {
    grid-template-columns: minmax(0, 1.06fr) minmax(410px, 620px);
    min-height: calc(100svh - 98px);
}

.hero-copy h1 {
    font-size: clamp(3.6rem, 7.2vw, 8.4rem);
    max-width: 840px;
    text-shadow: 0 18px 60px rgba(0, 0, 0, .32);
}

.hero-brand-lockup {
    width: fit-content;
    max-width: 100%;
    margin-bottom: 14px;
    padding: 10px 14px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255, 250, 240, .14), rgba(255, 255, 255, .05));
    border: 1px solid rgba(255, 248, 232, .22);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .15);
}

.hero-brand-lockup img {
    width: 76px;
    height: 76px;
    object-fit: contain;
    border-radius: 8px;
    padding: 5px;
    background: #fffaf0;
    border: 1px solid rgba(201, 154, 62, .44);
}

.hero-brand-lockup span,
.hero-brand-lockup strong {
    display: block;
}

.hero-brand-lockup span {
    color: #fff;
    font-size: 1.08rem;
    font-weight: 950;
}

.hero-brand-lockup strong {
    color: #f7d58a;
    font-size: .9rem;
    font-weight: 900;
    line-height: 1.6;
}

.hero-contact-ribbon {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-contact-ribbon a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(14px);
}

.hero-contact-ribbon a:first-child {
    background: rgba(201, 154, 62, .18);
}

.hero-showcase,
.hero-feature-card {
    transform-style: preserve-3d;
}

.hero-showcase {
    position: relative;
    border-color: rgba(255, 248, 232, .22);
    background:
        linear-gradient(135deg, rgba(255, 250, 240, .16), rgba(255, 255, 255, .05)),
        linear-gradient(135deg, rgba(6, 63, 52, .25), rgba(201, 154, 62, .10));
    box-shadow: 0 34px 95px rgba(0, 0, 0, .38), inset 0 0 0 1px rgba(255, 255, 255, .08);
    animation: heroCardLift 7s ease-in-out infinite;
}

.hero-showcase::before,
.hero-showcase::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.hero-showcase::before {
    inset: -14px;
    z-index: -1;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(201, 154, 62, .44), rgba(6, 63, 52, .0) 44%, rgba(255, 250, 240, .18));
    filter: blur(18px);
    opacity: .68;
}

.hero-showcase::after {
    inset-inline: 8%;
    inset-block-end: -18px;
    height: 26px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, .45), transparent 70%);
    filter: blur(8px);
}

@keyframes heroCardLift {
    0%, 100% { transform: translateY(0) rotateX(0deg); }
    50% { transform: translateY(-10px) rotateX(1.5deg); }
}

.btn-primary-cta,
.btn-shop-primary {
    background: linear-gradient(135deg, #063f34, #0f766e 62%, #0f5f73) !important;
}

.btn-video-cta,
.btn-shop-icon:has(.bi-play-circle),
.hero-feature-card__badge {
    background: #c99a3e !important;
}

@media (max-width: 991.98px) {
    .buildestate-nav__inner {
        min-height: 92px;
    }

    .buildestate-main {
        padding-top: 106px;
    }

    .buildestate-brand img {
        width: 66px;
        height: 66px;
    }

    .hero-copy h1 {
        font-size: clamp(2.45rem, 11vw, 4.4rem);
    }

    .hero-contact-ribbon {
        display: grid;
        grid-template-columns: 1fr;
    }

    .brand-skyline {
        width: 68vw;
        inset-inline-end: -16vw;
        opacity: .34;
    }
}

@media (max-width: 767.98px) {
    .real-hero-full {
        min-height: auto;
    }

    .hero-stage {
        width: min(100% - 24px, 640px);
        min-height: auto;
        padding-block: 34px 42px;
        grid-template-columns: 1fr !important;
        align-items: start;
    }

    .hero-showcase {
        animation: none;
        width: 100%;
        max-width: 100%;
        margin-top: 8px;
    }

    .hero-copy h1,
    .hero-copy p {
        text-align: center;
        max-width: 100%;
    }

    .hero-copy h1 {
        font-size: clamp(2.1rem, 12vw, 3.35rem);
        line-height: 1.12;
        overflow-wrap: anywhere;
    }

    .hero-copy p {
        font-size: 1rem;
        line-height: 1.9;
        overflow-wrap: anywhere;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-contact-ribbon a {
        width: 100%;
    }

    .hero-brand-lockup {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .hero-brand-lockup img {
        width: 72px;
        height: 72px;
    }

    .hero-logo-watermark {
        inset-inline-start: 50%;
        inset-block-start: 18px;
        width: 260px;
        transform: translateX(-50%);
        opacity: .08;
    }

    .brand-skyline {
        inset-block-start: 10%;
        inset-inline-end: -38%;
        width: 112vw;
        height: 54vh;
        opacity: .18;
    }
}

/* Premium identity pass: align the interface with the New House Estate logo. */
.buildestate-nav {
    background:
        linear-gradient(180deg, rgba(255, 253, 248, .96), rgba(255, 255, 255, .91)),
        linear-gradient(90deg, rgba(201, 154, 62, .10), transparent 28%, rgba(6, 63, 52, .08));
}

.buildestate-nav__inner {
    min-height: 106px;
}

.buildestate-main {
    padding-top: 118px;
}

.buildestate-brand {
    gap: 14px;
}

.buildestate-brand img {
    width: 92px;
    height: 92px;
    border-radius: 10px;
    padding: 6px;
    object-fit: contain;
    background: #fffaf0;
    border: 1px solid rgba(201, 154, 62, .58);
    box-shadow: 0 20px 54px rgba(6, 63, 52, .18), 0 0 0 7px rgba(201, 154, 62, .06);
}

.buildestate-brand span {
    font-size: clamp(1.22rem, 1.55vw, 1.62rem);
    color: #063f34;
}

.real-hero-full {
    min-height: max(760px, calc(100svh - 106px));
    background:
        radial-gradient(circle at 88% 10%, rgba(246, 213, 138, .18), transparent 24%),
        radial-gradient(circle at 12% 82%, rgba(201, 154, 62, .18), transparent 28%),
        linear-gradient(135deg, #02120e 0%, #063f34 54%, #0d5a49 100%);
}

.real-hero-full::after {
    content: "";
    position: absolute;
    inset: -16% -10%;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(110deg, transparent 0 35%, rgba(255, 247, 226, .12) 43%, transparent 52%),
        linear-gradient(72deg, transparent 0 58%, rgba(201, 154, 62, .12) 63%, transparent 70%);
    animation: newHouseSweep 12s ease-in-out infinite;
}

@keyframes newHouseSweep {
    0%, 100% { transform: translate3d(-4%, 0, 0); opacity: .34; }
    50% { transform: translate3d(4%, 0, 0); opacity: .72; }
}

.hero-cinematic-overlay {
    background:
        linear-gradient(90deg, rgba(2, 18, 14, .96) 0%, rgba(4, 39, 32, .78) 50%, rgba(3, 24, 20, .55) 100%),
        linear-gradient(180deg, rgba(2, 18, 14, .18), rgba(2, 18, 14, .94));
}

.hero-stage {
    min-height: auto;
    padding-block: clamp(42px, 5vw, 76px);
    grid-template-columns: minmax(0, 1fr) minmax(390px, 560px);
    gap: clamp(28px, 5vw, 82px);
}

.hero-copy {
    max-width: 820px;
}

.hero-copy h1 {
    max-width: 780px;
    margin-block: 16px 16px;
    font-size: clamp(2.85rem, 5.4vw, 6rem);
    line-height: 1.08;
}

.hero-copy p {
    max-width: 760px;
}

.hero-brand-lockup {
    padding: 12px 14px;
    border-color: rgba(246, 213, 138, .32);
    background:
        linear-gradient(135deg, rgba(255, 250, 240, .17), rgba(255, 255, 255, .07)),
        linear-gradient(90deg, rgba(201, 154, 62, .12), transparent);
}

.hero-brand-lockup img {
    width: 94px;
    height: 94px;
    border-radius: 10px;
}

.hero-brand-lockup span {
    font-size: 1.18rem;
}

.hero-brand-lockup strong {
    color: #f6d58d;
}

.hero-logo-watermark {
    opacity: .07;
    width: clamp(260px, 30vw, 500px);
}

.brand-skyline {
    opacity: .52;
    filter: drop-shadow(0 26px 56px rgba(201, 154, 62, .12));
}

.hero-showcase {
    width: min(100%, 560px);
    justify-self: center;
    padding: 12px;
    border-radius: 10px;
    border-color: rgba(246, 213, 138, .25);
}

.hero-feature-card,
.hero-thumb-card {
    border-radius: 10px;
}

.hero-feature-card__media {
    min-height: clamp(245px, 29vh, 320px);
}

.hero-feature-card__body {
    padding: 16px;
}

.hero-feature-card__body h2 {
    min-height: 72px;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
}

.hero-feature-card__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    min-height: 48px;
}

.hero-feature-card__actions a:only-child {
    grid-column: 1 / -1;
}

.hero-feature-card__actions .hero-action-primary {
    color: #fff !important;
    background: linear-gradient(135deg, #063f34, #0f766e 62%, #0f5f73) !important;
}

.hero-feature-card__actions .hero-action-secondary {
    color: #063f34 !important;
    background: #fffaf0 !important;
    border: 1px solid rgba(201, 154, 62, .44);
}

.hero-feature-card__actions .hero-action-video {
    color: #10241f !important;
    background: #c99a3e !important;
}

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

.hero-thumb-card {
    min-height: 116px;
}

.promo-actions,
.product-actions {
    grid-template-columns: repeat(4, 46px) !important;
    min-height: 104px;
}

.product-card-v2 .product-actions {
    min-height: 104px;
}

.promo-actions .btn-shop-icon,
.product-actions .btn-icon-cta {
    width: 46px;
    height: 46px;
}

.promo-actions .btn-shop-primary,
.product-actions .btn-primary-cta {
    min-height: 48px;
}

@media (max-width: 991.98px) {
    .buildestate-nav__inner {
        min-height: 96px;
    }

    .buildestate-main {
        padding-top: 108px;
    }

    .buildestate-brand img {
        width: 74px;
        height: 74px;
    }

    .buildestate-brand span {
        font-size: clamp(1.05rem, 4.7vw, 1.28rem);
    }

    .real-hero-full {
        min-height: auto;
    }

    .hero-stage {
        padding-block: 24px 34px;
    }

    .hero-copy h1 {
        font-size: clamp(2.15rem, 10.5vw, 3.55rem);
    }

    .hero-brand-lockup img {
        width: 82px;
        height: 82px;
    }

    .hero-showcase {
        max-width: 640px;
    }
}

@media (max-width: 575.98px) {
    .buildestate-nav__inner {
        min-height: 88px;
        gap: 10px;
    }

    .buildestate-main {
        padding-top: 100px;
    }

    .buildestate-brand {
        gap: 10px;
    }

    .buildestate-brand img {
        width: 68px;
        height: 68px;
        padding: 5px;
    }

    .hero-stage {
        width: min(100% - 18px, 640px);
        gap: 18px;
        padding-block: 22px 28px;
    }

    .hero-brand-lockup {
        grid-template-columns: auto minmax(0, 1fr);
        padding: 10px;
    }

    .hero-brand-lockup img {
        width: 74px;
        height: 74px;
    }

    .hero-brand-lockup span {
        font-size: 1rem;
    }

    .hero-brand-lockup strong {
        font-size: .82rem;
    }

    .hero-copy h1 {
        font-size: clamp(2rem, 9.8vw, 3rem);
    }

    .hero-copy p {
        font-size: .98rem;
        line-height: 1.85;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .hero-metrics > div {
        min-height: 74px;
    }

    .hero-feature-card__media {
        min-height: 230px;
    }

    .hero-feature-card__actions {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .hero-thumb-grid {
        grid-template-columns: 1fr;
    }

    .hero-thumb-card {
        min-height: 104px;
    }

    .promo-actions,
    .product-actions {
        grid-template-columns: repeat(4, 44px) !important;
        min-height: 104px;
    }
}

/* Strong final visual pass: branded motion background, tighter header spacing, and mobile icon clarity. */
.buildestate-body {
    background:
        radial-gradient(circle at 10% 12%, rgba(246, 213, 138, .28), transparent 28%),
        radial-gradient(circle at 86% 10%, rgba(15, 118, 110, .34), transparent 32%),
        radial-gradient(circle at 28% 82%, rgba(15, 95, 115, .26), transparent 30%),
        linear-gradient(135deg, #02120e 0%, #063f34 38%, #0b5a49 67%, #fff7e8 100%) !important;
    background-attachment: fixed;
}

.buildestate-body::before {
    z-index: 0;
    background-image:
        linear-gradient(90deg, rgba(246, 213, 138, .12) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, .075) 1px, transparent 1px),
        linear-gradient(30deg, transparent 0 46%, rgba(246, 213, 138, .24) 47%, transparent 49% 100%),
        repeating-linear-gradient(115deg, transparent 0 96px, rgba(15, 118, 110, .18) 97px, transparent 100px);
    background-size: 76px 76px, 76px 76px, 280px 280px, 360px 360px;
    animation: estateBlueprintFlow 14s linear infinite, estateGridGlow 8s ease-in-out infinite !important;
    opacity: .86;
}

.buildestate-body::after {
    z-index: 0;
    background:
        conic-gradient(from 220deg at 80% 18%, rgba(246, 213, 138, .38), transparent 18%, rgba(15, 118, 110, .18) 31%, transparent 46%),
        linear-gradient(112deg, transparent 0 30%, rgba(255, 255, 255, .34) 38%, rgba(246, 213, 138, .16) 44%, transparent 56%),
        radial-gradient(ellipse at 18% 72%, rgba(255, 247, 232, .42), transparent 36%);
    mix-blend-mode: screen;
    animation: estateLightSweep 9s ease-in-out infinite !important;
    opacity: .72;
}

@keyframes estateGridGlow {
    0%, 100% { filter: saturate(1) brightness(1); }
    50% { filter: saturate(1.26) brightness(1.14); }
}

.real-estate-home,
.real-estate-detail {
    overflow: hidden;
    background:
        radial-gradient(circle at 84% 8%, rgba(246, 213, 138, .18), transparent 22%),
        radial-gradient(circle at 9% 42%, rgba(15, 118, 110, .18), transparent 26%),
        linear-gradient(180deg, rgba(255, 250, 240, .34), rgba(234, 245, 241, .46)) !important;
}

.real-estate-home::before,
.real-estate-detail::before {
    content: "";
    position: fixed;
    inset-inline: -8%;
    inset-block-end: -2px;
    height: min(38vh, 420px);
    z-index: 0;
    pointer-events: none;
    opacity: .34;
    background:
        linear-gradient(180deg, transparent 0 20%, rgba(2, 18, 14, .34) 21% 100%),
        linear-gradient(90deg, transparent 0 5%, rgba(6, 63, 52, .54) 5% 11%, transparent 11% 15%, rgba(6, 63, 52, .66) 15% 24%, transparent 24% 29%, rgba(201, 154, 62, .52) 29% 34%, transparent 34% 42%, rgba(6, 63, 52, .58) 42% 50%, transparent 50% 100%);
    clip-path: polygon(0 100%, 0 52%, 7% 52%, 7% 28%, 13% 28%, 13% 64%, 18% 64%, 18% 20%, 27% 20%, 27% 58%, 33% 58%, 33% 36%, 39% 36%, 39% 68%, 46% 68%, 46% 24%, 55% 24%, 55% 62%, 62% 62%, 62% 42%, 70% 42%, 70% 72%, 78% 72%, 78% 30%, 86% 30%, 86% 58%, 94% 58%, 94% 44%, 100% 44%, 100% 100%);
    animation: estateSkylineFloat 13s ease-in-out infinite;
}

@keyframes estateSkylineFloat {
    0%, 100% { transform: translate3d(-1.4%, 0, 0); }
    50% { transform: translate3d(1.4%, -10px, 0); }
}

.buildestate-nav {
    background:
        linear-gradient(180deg, rgba(255, 253, 248, .95), rgba(255, 255, 255, .88)),
        linear-gradient(90deg, rgba(6, 63, 52, .08), rgba(201, 154, 62, .08)) !important;
    border-bottom-color: rgba(201, 154, 62, .22) !important;
}

.buildestate-nav__inner {
    min-height: 82px !important;
}

.buildestate-main {
    padding-top: 82px !important;
}

.buildestate-brand img {
    width: 70px !important;
    height: 70px !important;
    border-radius: 10px !important;
    box-shadow: 0 16px 36px rgba(6, 63, 52, .20), 0 0 0 5px rgba(246, 213, 138, .12) !important;
}

.real-hero-full {
    min-height: max(700px, calc(100svh - 82px)) !important;
    background:
        radial-gradient(circle at 78% 18%, rgba(246, 213, 138, .20), transparent 23%),
        radial-gradient(circle at 12% 72%, rgba(15, 118, 110, .30), transparent 28%),
        linear-gradient(130deg, #03120f 0%, #063f34 48%, #0f766e 78%, #c99a3e 130%) !important;
}

.real-hero-full::before {
    opacity: .58 !important;
    mask-image: none !important;
    background-image:
        linear-gradient(90deg, rgba(255, 247, 232, .10) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 247, 232, .08) 1px, transparent 1px),
        linear-gradient(135deg, transparent 0 48%, rgba(246, 213, 138, .20) 49%, transparent 51% 100%) !important;
}

.hero-cinematic-overlay {
    background:
        linear-gradient(90deg, rgba(2, 18, 14, .94) 0%, rgba(5, 50, 40, .74) 48%, rgba(9, 82, 68, .48) 100%),
        radial-gradient(circle at 78% 16%, rgba(201, 154, 62, .32), transparent 28%),
        linear-gradient(180deg, rgba(2, 18, 14, .18), rgba(2, 18, 14, .92)) !important;
}

.hero-stage {
    min-height: auto !important;
    padding-block: clamp(26px, 4.8vw, 62px) !important;
}

.hero-logo-watermark {
    transform: none !important;
    opacity: .055 !important;
}

.brand-skyline {
    opacity: .30 !important;
}

.brand-skyline .tower,
.brand-skyline .podium {
    transform: none !important;
    border-radius: 8px;
}

@keyframes towerPulse {
    0%, 100% { transform: translateY(0); opacity: .58; }
    50% { transform: translateY(-10px); opacity: .88; }
}

.construction-ambient span {
    width: 4px !important;
    box-shadow: 0 0 24px rgba(246, 213, 138, .52);
}

.trust-strip > div,
.real-services article,
.category-card {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(255, 250, 240, .86)),
        radial-gradient(circle at 90% 18%, rgba(246, 213, 138, .20), transparent 26%) !important;
}

.trust-strip i,
.real-services i,
.category-icon,
.filter-card__header i,
.detail-trust i,
.map-preview-modal__icon {
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    display: inline-grid !important;
    place-items: center !important;
    border-radius: 10px !important;
    color: #fff !important;
    background:
        linear-gradient(145deg, #063f34 0%, #0f766e 56%, #c99a3e 132%) !important;
    box-shadow: 0 18px 38px rgba(6, 63, 52, .22), inset 0 0 0 1px rgba(255, 255, 255, .22) !important;
    font-size: 1.45rem !important;
}

.trust-strip > div {
    min-height: 122px;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 68px;
    align-items: center !important;
    gap: 16px;
    padding: 18px 22px !important;
}

.culture-en .trust-strip > div {
    grid-template-columns: 68px minmax(0, 1fr);
}

.trust-strip > div i {
    grid-column: 2;
    justify-self: center;
}

.culture-en .trust-strip > div i {
    grid-column: 1;
}

.trust-strip > div span {
    min-width: 0;
    display: block;
    color: #10241f;
    font-size: clamp(1rem, 2.7vw, 1.25rem);
    font-weight: 950;
    line-height: 1.55;
    text-align: center;
}

.trust-card-icon {
    width: 58px;
    height: 58px;
    min-width: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(145deg, #063f34 0%, #0f766e 58%, #c99a3e 130%);
    box-shadow: 0 18px 38px rgba(6, 63, 52, .22), inset 0 0 0 1px rgba(255, 255, 255, .22);
    font-size: 1.45rem;
}

.trust-card-icon i {
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    display: inline-flex !important;
    color: inherit !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 1.4rem !important;
}

.trust-strip > div .trust-card-icon {
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 10px !important;
    color: #fff !important;
    background: linear-gradient(145deg, #063f34 0%, #0f766e 58%, #c99a3e 130%) !important;
    box-shadow: 0 18px 38px rgba(6, 63, 52, .22), inset 0 0 0 1px rgba(255, 255, 255, .22) !important;
    font-size: 1.45rem !important;
    line-height: 1 !important;
    text-align: center !important;
}

.trust-strip > div .trust-card-icon i,
.trust-strip > div .trust-card-icon i::before {
    color: #fff !important;
    line-height: 1 !important;
}

.hero-feature-card__actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
}

.hero-feature-card__actions a {
    min-height: 48px !important;
    margin: 0 !important;
    line-height: 1.25;
    text-align: center;
}

.hero-feature-card__actions a:only-child,
.hero-feature-card__actions a:nth-child(3) {
    grid-column: 1 / -1;
}

@media (max-width: 991.98px) {
    .buildestate-nav__inner {
        min-height: 76px !important;
    }

    .buildestate-main {
        padding-top: 76px !important;
    }

    .buildestate-brand img {
        width: 60px !important;
        height: 60px !important;
    }

    .real-hero-full {
        min-height: auto !important;
    }

    .hero-stage {
        padding-block: 18px 30px !important;
    }

    .hero-logo-watermark {
        display: none !important;
    }

    .brand-skyline {
        display: none !important;
    }
}

@media (max-width: 575.98px) {
    .buildestate-body {
        background:
            radial-gradient(circle at 12% 10%, rgba(246, 213, 138, .32), transparent 32%),
            radial-gradient(circle at 92% 8%, rgba(15, 118, 110, .36), transparent 34%),
            linear-gradient(145deg, #02120e 0%, #064638 56%, #c99a3e 148%) !important;
    }

    .buildestate-nav__inner {
        min-height: 68px !important;
        width: min(100% - 18px, 1680px);
    }

    .buildestate-main {
        padding-top: 68px !important;
    }

    .buildestate-brand img {
        width: 52px !important;
        height: 52px !important;
        padding: 4px !important;
    }

    .buildestate-brand span {
        font-size: .98rem !important;
        max-width: 170px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .real-hero-full {
        margin-top: 0 !important;
    }

    .hero-stage {
        width: min(100% - 18px, 1680px) !important;
        padding-block: 16px 24px !important;
    }

    .hero-brand-lockup {
        grid-template-columns: 1fr auto !important;
        gap: 10px !important;
        border-radius: 10px !important;
    }

    .culture-en .hero-brand-lockup {
        grid-template-columns: auto 1fr !important;
    }

    .hero-brand-lockup img {
        width: 66px !important;
        height: 66px !important;
    }

    .hero-copy h1 {
        font-size: clamp(2rem, 11vw, 3.15rem) !important;
        line-height: 1.12 !important;
    }

    .hero-showcase {
        box-shadow: 0 22px 58px rgba(0, 0, 0, .30), inset 0 0 0 1px rgba(255, 255, 255, .10) !important;
    }

    .hero-feature-card__actions {
        grid-template-columns: 1fr !important;
    }

    .hero-feature-card__actions a,
    .hero-feature-card__actions a:nth-child(3) {
        grid-column: auto !important;
    }

    .trust-strip {
        width: min(100% - 18px, 1680px) !important;
        gap: 12px !important;
    }

    .trust-strip > div {
        min-height: 96px !important;
        grid-template-columns: minmax(0, 1fr) 62px !important;
        padding: 14px 16px !important;
        border-radius: 8px !important;
    }

    .culture-en .trust-strip > div {
        grid-template-columns: 62px minmax(0, 1fr) !important;
    }

    .trust-strip i,
    .real-services i,
    .category-icon {
        width: 54px !important;
        height: 54px !important;
        min-width: 54px !important;
        font-size: 1.3rem !important;
    }

    .trust-strip > div span {
        font-size: 1rem !important;
        text-align: center !important;
    }
}

/* Header/hero spacing correction: the navbar is in normal flow now, so no extra top offset is needed. */
.buildestate-nav.fixed-top {
    position: sticky !important;
    top: 0 !important;
}

.buildestate-main {
    padding-top: 0 !important;
}

.phase4a-home.real-estate-home,
.real-estate-detail {
    padding-top: 0 !important;
}

.real-hero-full {
    margin-top: 0 !important;
}

@media (max-width: 991.98px) {
    .buildestate-main {
        padding-top: 0 !important;
    }
}

@media (max-width: 575.98px) {
    .buildestate-main {
        padding-top: 0 !important;
    }
}

/* Mobile brand containment: keep the logo visible and prevent hero text from bleeding outside the viewport. */
@media (max-width: 575.98px) {
    .buildestate-nav__inner {
        display: grid !important;
        grid-template-columns: 58px minmax(0, 1fr);
        align-items: center;
        gap: 10px !important;
    }

    .buildestate-toggler {
        grid-column: 1;
        grid-row: 1;
        width: 54px;
        height: 44px;
        margin: 0 !important;
        justify-self: start;
    }

    .buildestate-brand {
        grid-column: 2;
        grid-row: 1;
        min-width: 0;
        max-width: 100% !important;
        width: 100%;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 52px;
        align-items: center;
        justify-content: end;
        gap: 8px !important;
        overflow: hidden;
    }

    .culture-en .buildestate-brand {
        grid-template-columns: 52px minmax(0, 1fr);
    }

    .buildestate-brand img {
        grid-column: 2;
        justify-self: end;
    }

    .culture-en .buildestate-brand img {
        grid-column: 1;
        justify-self: start;
    }

    .buildestate-brand span {
        grid-column: 1;
        min-width: 0;
        max-width: 100% !important;
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        text-align: end;
    }

    .culture-en .buildestate-brand span {
        grid-column: 2;
        text-align: start;
    }

    .hero-brand-lockup {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 66px !important;
        max-width: 100%;
        overflow: hidden;
    }

    .culture-en .hero-brand-lockup {
        grid-template-columns: 66px minmax(0, 1fr) !important;
    }

    .hero-brand-lockup img {
        grid-column: 2;
        justify-self: end;
    }

    .culture-en .hero-brand-lockup img {
        grid-column: 1;
        justify-self: start;
    }

    .hero-brand-lockup > div {
        grid-column: 1;
        min-width: 0;
    }

    .culture-en .hero-brand-lockup > div {
        grid-column: 2;
    }

    .hero-brand-lockup span,
    .hero-brand-lockup strong {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .hero-copy,
    .hero-copy h1,
    .hero-copy p {
        max-width: 100% !important;
        overflow-wrap: anywhere;
    }

    .hero-copy h1 {
        font-size: clamp(1.85rem, 10vw, 2.8rem) !important;
        text-align: center !important;
    }

    .hero-copy p {
        text-align: center !important;
    }
}

@media (max-width: 575.98px) {
    .buildestate-nav__inner {
        display: flex !important;
        direction: ltr;
        justify-content: space-between;
        align-items: center;
        min-height: 74px !important;
        width: min(100% - 20px, 1680px) !important;
    }

    .buildestate-toggler {
        order: 1;
        flex: 0 0 54px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 54px;
        height: 44px;
        margin: 0 !important;
    }

    .buildestate-brand {
        order: 2;
        flex: 0 1 calc(100% - 68px);
        width: auto !important;
        min-width: 0;
        margin-left: auto;
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        gap: 9px !important;
        overflow: hidden;
        direction: ltr;
    }

    .culture-ar .buildestate-brand {
        flex-direction: row-reverse;
    }

    .culture-en .buildestate-brand {
        flex-direction: row;
    }

    .buildestate-brand img {
        order: initial;
        flex: 0 0 52px;
        width: 52px !important;
        height: 52px !important;
        justify-self: auto;
    }

    .buildestate-brand span {
        order: initial;
        flex: 0 1 auto;
        max-width: min(190px, calc(100vw - 150px)) !important;
        text-align: start;
        direction: ltr;
    }

    .hero-brand-lockup {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 10px !important;
        width: 100%;
        max-width: 100%;
    }

    .culture-ar .hero-brand-lockup {
        flex-direction: row-reverse;
    }

    .culture-en .hero-brand-lockup {
        flex-direction: row;
    }

    .hero-brand-lockup img {
        order: initial;
        flex: 0 0 62px;
        width: 62px !important;
        height: 62px !important;
        justify-self: auto;
    }

    .hero-brand-lockup > div {
        order: initial;
        flex: 1 1 auto;
        min-width: 0;
    }

    .hero-eyebrow {
        max-width: min(100%, 330px);
        white-space: normal;
        justify-content: center;
        text-align: center;
        line-height: 1.45;
    }

    .hero-copy h1 {
        max-width: 330px !important;
        margin-inline: auto !important;
        font-size: clamp(1.65rem, 8.8vw, 2.35rem) !important;
        line-height: 1.18 !important;
    }

    .hero-copy p {
        max-width: 340px !important;
        margin-inline: auto !important;
    }

    .trust-strip > div {
        display: flex !important;
        direction: ltr;
        align-items: center !important;
        justify-content: space-between;
        gap: 14px !important;
    }

    .culture-ar .trust-strip > div {
        flex-direction: row-reverse;
    }

    .culture-en .trust-strip > div {
        flex-direction: row;
    }

    .trust-strip > div i {
        grid-column: auto !important;
        flex: 0 0 54px;
        margin: 0 !important;
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: static !important;
        transform: none !important;
        align-items: center !important;
        justify-content: center !important;
        color: #fff !important;
        background: linear-gradient(145deg, #063f34 0%, #0f766e 58%, #c99a3e 130%) !important;
    }

    .trust-strip > div span {
        flex: 1 1 auto;
        min-width: 0;
        text-align: center !important;
    }

    .real-services article i,
    .category-card .category-icon {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: static !important;
        transform: none !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .trust-strip > div {
        position: relative !important;
        min-height: 96px !important;
        padding: 16px 16px 16px 84px !important;
        overflow: hidden;
    }

    .culture-en .trust-strip > div {
        padding: 16px 16px 16px 84px !important;
    }

    .trust-strip > div > i,
    .trust-strip > div > .trust-card-icon {
        position: absolute !important;
        right: auto !important;
        left: 18px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 54px !important;
        height: 54px !important;
        min-width: 54px !important;
        z-index: 1;
    }

    .culture-en .trust-strip > div > i,
    .culture-en .trust-strip > div > .trust-card-icon {
        right: auto !important;
        left: 18px !important;
    }

    .trust-strip > div > span:not(.trust-card-icon) {
        width: 100%;
        display: block;
        position: relative;
        z-index: 2;
        padding-inline: 6px;
        overflow-wrap: anywhere;
    }

    .real-estate-home,
    .real-estate-detail {
        width: 100% !important;
        max-width: 100vw !important;
    }

    .section-shell,
    .trust-strip,
    .real-services,
    .shop-section,
    .categories-section,
    .catalog-layout,
    .hero-stage,
    .hero-showcase {
        max-width: calc(100vw - 16px) !important;
        box-sizing: border-box;
    }

    .real-services article {
        overflow: hidden;
        text-align: center;
    }

    .real-services article h2,
    .real-services article p,
    .promo-card__body small,
    .product-body small,
    .product-body h3,
    .promo-card__body h3 {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .promo-card__body small,
    .product-body small {
        width: 100%;
        display: block;
        text-align: center !important;
        white-space: normal;
    }

    .property-location {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        white-space: normal;
        overflow-wrap: anywhere;
    }
}

/* Final text-fit pass for Arabic and English database content. */
.promo-card__body small,
.product-body small,
.promo-card__body h3,
.product-body h3,
.real-card-meta span,
.real-card-meta a,
.property-location,
.detail-info h1,
.quick-card h2,
.quick-card p {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
    text-wrap: balance;
}

.promo-card__body h3,
.product-body h3 {
    min-height: 92px;
    height: auto !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    overflow: visible !important;
}

.real-property-card .product-body p,
.real-property-card .promo-card__body p {
    height: auto !important;
    overflow: visible !important;
    display: block !important;
}

.culture-en .promo-card__body,
.culture-en .product-body,
.culture-en .quick-card__body,
.culture-en .detail-info {
    text-align: left;
}

.culture-en .promo-card__body small,
.culture-en .product-body small,
.culture-en .promo-card__body h3,
.culture-en .product-body h3 {
    text-align: center;
}

@media (max-width: 767.98px) {
    .promo-card__body h3,
    .product-body h3 {
        min-height: auto;
        font-size: clamp(1.1rem, 5.4vw, 1.45rem);
        line-height: 1.35;
    }

    .real-property-card .product-body p,
    .real-property-card .promo-card__body p {
        min-height: auto;
    }
}

/* Client profile cards */
.client-presentation {
    position: relative;
    isolation: isolate;
    margin-block: clamp(28px, 5vw, 70px);
    padding: clamp(22px, 4vw, 44px);
    overflow: hidden;
    border: 1px solid rgba(201, 154, 62, .22);
    border-radius: 14px;
    background:
        radial-gradient(circle at 10% 0%, rgba(201, 154, 62, .20), transparent 30rem),
        radial-gradient(circle at 96% 100%, rgba(15, 118, 110, .22), transparent 28rem),
        linear-gradient(135deg, rgba(4, 42, 34, .96), rgba(10, 73, 62, .94) 48%, rgba(6, 40, 56, .96));
    box-shadow: 0 34px 90px rgba(0, 22, 17, .28);
    color: #fff;
}

.client-presentation::before {
    content: "";
    position: absolute;
    inset: -40%;
    z-index: -1;
    background:
        linear-gradient(115deg, transparent 0 36%, rgba(255, 255, 255, .12) 45%, transparent 54% 100%),
        repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 1px, transparent 1px 86px);
    animation: clientProfileSweep 9s linear infinite;
}

.client-presentation::after {
    content: "";
    position: absolute;
    inset-inline: 8%;
    inset-block-end: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,154,62,.95), rgba(20,184,166,.85), transparent);
    animation: clientUnderlineWave 4.5s ease-in-out infinite;
}

.client-presentation__intro {
    max-width: 900px;
    margin-inline: auto;
    text-align: center;
}

.client-presentation .eyebrow,
.client-presentation__intro h2,
.client-presentation__intro p {
    color: #fff !important;
}

.client-presentation__intro h2 {
    margin: 10px auto 12px;
    font-size: clamp(1.65rem, 4vw, 3rem);
    font-weight: 950;
    line-height: 1.22;
}

.client-presentation__intro p {
    max-width: 780px;
    margin-inline: auto;
    opacity: .86;
    line-height: 1.95;
}

.client-leadership {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-block: 28px;
}

.leadership-card,
.company-sector-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(255,255,255,.13), rgba(255,255,255,.055));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 22px 52px rgba(0, 0, 0, .17);
    backdrop-filter: blur(18px);
}

.leadership-card::before,
.company-sector-card::before {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(120%);
    background: linear-gradient(110deg, transparent 18%, rgba(255,255,255,.16), transparent 72%);
    animation: cardSoftSweep 6.5s ease-in-out infinite;
}

.leadership-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    padding: 20px;
}

.culture-ar .leadership-card {
    grid-template-columns: minmax(0, 1fr) 72px;
}

.leadership-card__icon,
.company-sector-card__icon {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(145deg, #0f766e, #063f34 58%, #c99a3e);
    box-shadow: 0 18px 38px rgba(0,0,0,.22);
}

.culture-ar .leadership-card__icon,
.culture-ar .company-sector-card__icon {
    grid-column: 2;
}

.culture-ar .leadership-card > div,
.culture-ar .company-sector-card__top > div {
    grid-column: 1;
    grid-row: 1;
}

.leadership-card > div,
.company-sector-card__top > div {
    min-width: 0;
}

.leadership-card--gold .leadership-card__icon {
    background: linear-gradient(145deg, #c99a3e, #84621f 58%, #0f766e);
}

.leadership-card small,
.company-sector-card small {
    position: relative;
    z-index: 1;
    display: inline-block;
    color: #f6d58a;
    font-weight: 950;
}

.leadership-card h3,
.company-sector-card h3 {
    position: relative;
    z-index: 1;
    margin: 4px 0 10px;
    color: #fff;
    font-weight: 950;
    line-height: 1.35;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.leadership-card h3::after,
.company-sector-card h3::after {
    content: "";
    display: block;
    width: 74px;
    height: 3px;
    margin-top: 8px;
    border-radius: 99px;
    background: linear-gradient(90deg, #c99a3e, #14b8a6, #c99a3e);
    background-size: 200% 100%;
    animation: clientUnderlineWave 3.8s ease-in-out infinite;
}

.leadership-card__phones {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.leadership-card__phones a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 7px 12px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    color: #fff;
    background: rgba(255,255,255,.10);
    font-weight: 900;
}

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

.company-sector-card {
    padding: 22px;
}

.company-sector-card__top {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
}

.culture-ar .company-sector-card__top {
    grid-template-columns: minmax(0, 1fr) 64px;
}

.company-sector-card p {
    position: relative;
    z-index: 1;
    min-height: 168px;
    margin: 16px 0;
    color: rgba(255,255,255,.86);
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.company-sector-card__meta {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #072f28;
    background: #f5d68d;
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 950;
}

@keyframes clientProfileSweep {
    0% { transform: translate3d(-18%, -6%, 0) rotate(0deg); }
    50% { transform: translate3d(10%, 4%, 0) rotate(2deg); }
    100% { transform: translate3d(-18%, -6%, 0) rotate(0deg); }
}

@keyframes cardSoftSweep {
    0%, 42% { transform: translateX(120%); opacity: 0; }
    52% { opacity: 1; }
    72%, 100% { transform: translateX(-120%); opacity: 0; }
}

@keyframes clientUnderlineWave {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@media (max-width: 991.98px) {
    .client-leadership,
    .company-sector-grid {
        grid-template-columns: 1fr;
    }

    .company-sector-card p {
        min-height: auto;
    }
}

@media (max-width: 575.98px) {
    .client-presentation {
        padding: 18px;
        border-radius: 10px;
    }

    .leadership-card,
    .culture-ar .leadership-card,
    .company-sector-card__top,
    .culture-ar .company-sector-card__top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .leadership-card__icon,
    .company-sector-card__icon {
        margin-inline: auto;
    }

    .leadership-card h3::after,
    .company-sector-card h3::after {
        margin-inline: auto;
    }

    .leadership-card__phones {
        justify-content: center;
    }
}

/* Final client-facing hero: replace the older media mockup with editable company profile cards. */
.hero-company-profile {
    min-width: 0;
    max-height: min(76svh, 760px);
    overflow: auto;
    padding: clamp(14px, 2vw, 20px);
    border-radius: 12px;
    border: 1px solid rgba(242, 193, 94, .30);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06)),
        radial-gradient(circle at 18% 12%, rgba(242, 193, 94, .22), transparent 34%);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .34);
    backdrop-filter: blur(20px);
}

.hero-company-profile::-webkit-scrollbar {
    width: 6px;
}

.hero-company-profile::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(242, 193, 94, .52);
}

.hero-profile-head {
    position: relative;
    margin-bottom: 14px;
    padding: 14px;
    border-radius: 10px;
    overflow: hidden;
    color: #fff;
    background: rgba(4, 29, 25, .54);
    border: 1px solid rgba(255, 255, 255, .14);
}

.hero-profile-head::after {
    content: "";
    position: absolute;
    inset-inline: 16px;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #f2c15e, #0f766e, transparent);
    animation: clientUnderlineWave 3.6s ease-in-out infinite;
}

.hero-profile-head h2 {
    margin: 10px 0 8px;
    color: #fff;
    font-size: clamp(1.25rem, 2vw, 2rem);
    line-height: 1.25;
    font-weight: 950;
    overflow-wrap: anywhere;
}

.hero-profile-head p {
    margin: 0;
    color: rgba(255, 255, 255, .78);
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.client-leadership--hero {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 12px;
}

.hero-company-profile .leadership-card,
.hero-company-profile .company-sector-card {
    border-color: rgba(255, 255, 255, .16);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .92), rgba(255, 248, 235, .86)),
        radial-gradient(circle at 0 0, rgba(242, 193, 94, .18), transparent 36%);
}

.company-sector-grid--hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.hero-company-profile .company-sector-card {
    min-height: auto;
    padding: 14px;
}

.hero-company-profile .company-sector-card p {
    display: -webkit-box;
    min-height: auto;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-company-profile .leadership-card__phones a,
.hero-company-profile .company-sector-card__meta {
    white-space: normal;
    overflow-wrap: anywhere;
}

.buildestate-footer__map-card {
    min-width: 0;
    min-height: 112px;
    padding: 16px;
    display: grid;
    align-content: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    border: 1px solid rgba(242, 193, 94, .34);
    background:
        linear-gradient(135deg, rgba(15, 118, 110, .34), rgba(22, 92, 136, .28)),
        radial-gradient(circle at 88% 0, rgba(242, 193, 94, .24), transparent 44%);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .22);
}

.buildestate-footer__map-card span {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, #0f766e, #f2c15e);
    color: #fff;
    font-size: 1.15rem;
}

.buildestate-footer__map-card strong,
.buildestate-footer__map-card small {
    min-width: 0;
    display: block;
    color: inherit;
    overflow-wrap: anywhere;
}

.buildestate-footer__map-card small {
    color: rgba(255, 255, 255, .72);
    line-height: 1.6;
}

.buildestate-footer__map-card:hover {
    color: #fff;
    transform: translateY(-2px);
}

.buildestate-main {
    overflow-x: clip;
}

.real-estate-home h1,
.real-estate-home h2,
.real-estate-home h3,
.real-estate-home p,
.real-estate-home a,
.real-estate-home span,
.real-estate-home small,
.real-estate-home strong {
    min-width: 0;
}

@media (min-width: 1200px) {
    .hero-stage {
        grid-template-columns: minmax(0, 1fr) minmax(430px, 620px);
    }
}

@media (max-width: 991.98px) {
    .hero-stage {
        grid-template-columns: 1fr;
        padding-block: 22px 34px;
        gap: 18px;
    }

    .hero-copy {
        max-width: none;
        text-align: center;
    }

    .hero-copy h1,
    .hero-copy p {
        margin-inline: auto;
    }

    .hero-actions,
    .hero-contact-ribbon,
    .hero-metrics {
        justify-content: center;
    }

    .hero-company-profile {
        max-height: none;
        overflow: visible;
    }
}

@media (max-width: 575.98px) {
    .real-hero-full {
        min-height: auto;
    }

    .hero-stage {
        min-height: auto;
        padding-block: 16px 24px;
    }

    .hero-brand-lockup {
        width: 100%;
        justify-content: center;
    }

    .hero-copy h1 {
        font-size: clamp(2rem, 13vw, 3.05rem);
        line-height: 1.08;
    }

    .hero-contact-ribbon,
    .hero-metrics {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .hero-contact-ribbon a,
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-company-profile {
        padding: 10px;
        border-radius: 10px;
    }

    .hero-profile-head,
    .hero-company-profile .leadership-card,
    .hero-company-profile .company-sector-card {
        border-radius: 10px;
    }

    .hero-company-profile .leadership-card,
    .hero-company-profile .company-sector-card__top {
        grid-template-columns: 54px minmax(0, 1fr);
        gap: 10px;
    }

    .culture-ar .hero-company-profile .leadership-card,
    .culture-ar .hero-company-profile .company-sector-card__top {
        grid-template-columns: minmax(0, 1fr) 54px;
    }

    .hero-company-profile .leadership-card__icon,
    .hero-company-profile .company-sector-card__icon {
        width: 54px;
        height: 54px;
        border-radius: 10px;
    }

    .hero-company-profile .company-sector-card p {
        -webkit-line-clamp: 5;
    }
}

/* Client revision: use the hero for the editable company profile only. */
.real-hero-full {
    min-height: auto;
}

.real-hero-full .hero-stage {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
    padding-block: clamp(28px, 5vw, 68px);
}

.real-hero-full .hero-copy {
    display: none !important;
}

.hero-company-profile {
    width: min(100%, 1280px);
    margin-inline: auto;
    max-height: none;
    overflow: visible;
    padding: clamp(14px, 2vw, 26px);
    border-radius: 18px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .07)),
        radial-gradient(circle at 12% 8%, rgba(242, 193, 94, .30), transparent 28%),
        radial-gradient(circle at 85% 0, rgba(16, 185, 129, .18), transparent 30%);
    box-shadow: 0 34px 90px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .18);
}

.hero-profile-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: clamp(18px, 3vw, 30px);
    margin-bottom: 16px;
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(3, 49, 41, .86), rgba(15, 118, 110, .54)),
        radial-gradient(circle at 8% 0, rgba(242, 193, 94, .24), transparent 38%);
}

.hero-profile-head::before {
    content: "\F1DD";
    font-family: "bootstrap-icons";
    width: clamp(62px, 8vw, 92px);
    height: clamp(62px, 8vw, 92px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    grid-column: 2;
    grid-row: 1 / span 3;
    border-radius: 18px;
    color: #fff;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    background: linear-gradient(135deg, #023f35, #0f766e 54%, #d1a84e);
    box-shadow: 0 20px 45px rgba(1, 51, 43, .28);
}

.hero-profile-head::before {
    content: none !important;
    display: none !important;
}

.culture-en .hero-profile-head::before {
    grid-column: 1;
}

.hero-profile-head .eyebrow,
.hero-profile-head h2,
.hero-profile-head p {
    grid-column: 1;
}

.culture-en .hero-profile-head .eyebrow,
.culture-en .hero-profile-head h2,
.culture-en .hero-profile-head p {
    grid-column: 2;
}

.hero-profile-head h2 {
    max-width: 900px;
    font-size: clamp(1.65rem, 4vw, 3.35rem);
}

.hero-profile-head p {
    max-width: 940px;
    font-size: clamp(.98rem, 1.3vw, 1.18rem);
}

.hero-profile-logo {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: fit-content;
    max-width: 100%;
    margin-top: 4px;
    padding: 10px 14px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border-radius: 16px;
    color: #fff;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 18px 36px rgba(0,0,0,.18);
}

.culture-en .hero-profile-logo {
    grid-column: 1;
}

.hero-profile-logo img {
    width: clamp(58px, 7vw, 88px);
    height: clamp(58px, 7vw, 88px);
    object-fit: contain;
    border-radius: 14px;
    background: rgba(255, 255, 255, .92);
    padding: 6px;
}

.hero-profile-logo strong {
    color: #fff;
    font-weight: 950;
    font-size: clamp(1rem, 1.4vw, 1.35rem);
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.client-leadership--hero {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.company-sector-grid--hero {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.hero-company-profile .leadership-card,
.hero-company-profile .company-sector-card {
    position: relative;
    min-height: 100%;
    border-radius: 16px;
    color: #10211d;
    overflow: hidden;
    border: 1px solid rgba(226, 200, 132, .44);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(246, 242, 232, .91)),
        radial-gradient(circle at 0 0, rgba(242, 193, 94, .24), transparent 38%);
    box-shadow: 0 22px 56px rgba(0, 0, 0, .20);
    transform-style: preserve-3d;
}

.hero-company-profile .leadership-card::after,
.hero-company-profile .company-sector-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, transparent 0 36%, rgba(255, 255, 255, .72) 48%, transparent 62% 100%);
    transform: translateX(120%);
    animation: cardSoftSweep 5.6s ease-in-out infinite;
}

.hero-company-profile .leadership-card h3,
.hero-company-profile .company-sector-card h3 {
    color: #10211d !important;
    font-size: clamp(1.3rem, 2vw, 2rem);
    line-height: 1.25;
    text-shadow: none;
}

.hero-company-profile .leadership-card small,
.hero-company-profile .company-sector-card small {
    color: #0f766e !important;
    font-weight: 950;
}

.hero-company-profile .leadership-card__phones a {
    color: #0f766e;
    background: rgba(15, 118, 110, .08);
    border-color: rgba(15, 118, 110, .18);
}

.hero-company-profile .company-sector-card p {
    color: #53615c;
    line-height: 1.85;
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
}

.trust-strip {
    align-items: stretch;
}

.trust-strip > div {
    min-width: 0;
    min-height: 126px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 64px;
    align-items: center;
    gap: 14px;
    overflow: hidden;
}

.culture-en .trust-strip > div {
    grid-template-columns: 64px minmax(0, 1fr);
}

.trust-strip > div .trust-card-icon {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
}

.trust-strip > div span:not(.trust-card-icon) {
    min-width: 0;
    display: block;
    font-size: clamp(1rem, 1.55vw, 1.35rem);
    line-height: 1.45;
    text-align: center;
    overflow-wrap: anywhere;
}

.buildestate-footer {
    position: relative;
    overflow: hidden;
    padding-block: clamp(34px, 5vw, 70px);
    background:
        linear-gradient(145deg, #090f0d, #071f1a 48%, #10231e),
        radial-gradient(circle at 16% 0, rgba(209, 168, 78, .22), transparent 34%);
}

.buildestate-footer::before,
.buildestate-footer::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.buildestate-footer::before {
    inset: -20% -8% auto;
    height: 80%;
    background:
        linear-gradient(115deg, transparent 0 42%, rgba(242, 193, 94, .14) 48%, transparent 55%),
        repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 86px);
    transform: perspective(900px) rotateX(58deg);
    opacity: .55;
}

.buildestate-footer::after {
    inset-inline: 0;
    bottom: 0;
    height: 118px;
    background:
        linear-gradient(180deg, transparent, rgba(0,0,0,.34)),
        linear-gradient(90deg, rgba(15,118,110,.26), rgba(209,168,78,.18), rgba(22,92,136,.22));
}

.buildestate-footer::after {
    display: none !important;
}

.buildestate-footer__inner {
    position: relative;
    z-index: 1;
    grid-template-columns: minmax(220px, .95fr) minmax(160px, .6fr) minmax(220px, .85fr) minmax(340px, 1.35fr);
    align-items: stretch;
}

.buildestate-footer__map-card {
    min-width: 0;
    min-height: 280px;
    padding: 12px;
    display: grid;
    grid-template-rows: minmax(150px, 1fr) auto;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    border-radius: 18px;
    border: 1px solid rgba(242, 193, 94, .36);
    background:
        linear-gradient(135deg, rgba(15, 118, 110, .25), rgba(22, 92, 136, .18)),
        radial-gradient(circle at 88% 0, rgba(242, 193, 94, .28), transparent 44%);
    box-shadow: 0 26px 70px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255,255,255,.14);
}

.footer-map-frame {
    min-height: 168px;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
}

.footer-map-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 168px;
    display: block;
    border: 0;
    filter: saturate(.92) contrast(1.02);
}

.footer-map-copy {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
}

.culture-en .footer-map-copy {
    grid-template-columns: 46px minmax(0, 1fr);
}

.footer-map-copy > span {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #0f766e, #f2c15e);
    color: #fff;
    font-size: 1.15rem;
}

.footer-map-copy strong,
.footer-map-copy small {
    min-width: 0;
    display: block;
    color: inherit;
    overflow-wrap: anywhere;
}

.footer-map-copy small {
    margin-top: 4px;
    color: rgba(255, 255, 255, .74);
    line-height: 1.6;
}

.footer-map-copy a {
    grid-column: 1 / -1;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 10px;
    color: #09251f;
    background: linear-gradient(135deg, #f4d284, #d1a84e);
    text-decoration: none;
    font-weight: 950;
}

.map-preview-modal {
    background: rgba(4, 16, 14, .58);
    backdrop-filter: blur(8px);
}

@media (max-width: 1199.98px) {
    .company-sector-grid--hero {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .buildestate-footer__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .buildestate-footer__map-card {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    .buildestate-body {
        background-attachment: scroll !important;
    }

    .buildestate-body::before,
    .buildestate-body::after,
    .real-estate-home::before,
    .real-estate-detail::before,
    .real-hero-full::before,
    .real-hero-full::after,
    .hero-carousel__image,
    .construction-ambient span,
    .brand-skyline,
    .brand-skyline .tower,
    .brand-skyline .podium,
    .brand-skyline .beam,
    .hero-company-profile::before,
    .hero-company-profile::after,
    .hero-profile-head::after,
    .hero-company-profile .leadership-card::after,
    .hero-company-profile .company-sector-card::after {
        animation: none !important;
        transition: none !important;
    }

    .buildestate-body::before,
    .buildestate-body::after,
    .construction-ambient,
    .brand-skyline,
    .hero-logo-watermark {
        display: none !important;
    }

    .hero-carousel,
    .hero-carousel .carousel-inner,
    .hero-carousel .carousel-item {
        transition: none !important;
    }

    .hero-carousel .carousel-item:not(.active) {
        display: none !important;
    }

    .hero-carousel__image {
        transform: none !important;
        filter: brightness(.50) saturate(.9) contrast(1.04) !important;
    }

    .real-hero-full {
        background:
            radial-gradient(circle at 78% 18%, rgba(246, 213, 138, .16), transparent 25%),
            linear-gradient(135deg, #03120f 0%, #063f34 58%, #0f766e 118%) !important;
    }

    .hero-cinematic-overlay {
        background:
            linear-gradient(180deg, rgba(2, 18, 14, .70), rgba(2, 18, 14, .88)) !important;
    }

    .hero-profile-head,
    .client-leadership--hero,
    .company-sector-grid--hero {
        grid-template-columns: 1fr;
    }

    .hero-profile-head .eyebrow,
    .hero-profile-head h2,
    .hero-profile-head p,
    .hero-profile-logo,
    .culture-en .hero-profile-head .eyebrow,
    .culture-en .hero-profile-head h2,
    .culture-en .hero-profile-head p,
    .culture-en .hero-profile-logo {
        grid-column: 1;
    }

    .hero-profile-head {
        text-align: center;
    }

    .hero-profile-logo {
        grid-row: 1;
        margin-inline: auto;
    }

    .hero-profile-head h2 {
        grid-row: 2;
    }

    .trust-strip {
        grid-template-columns: 1fr;
    }

    .trust-strip > div,
    .culture-en .trust-strip > div {
        grid-template-columns: minmax(0, 1fr) 58px;
        min-height: 104px;
    }

    .buildestate-footer__inner {
        grid-template-columns: 1fr;
    }

    .buildestate-footer__map-card {
        min-height: 250px;
    }
}

@media (max-width: 575.98px) {
    .hero-company-profile {
        border-radius: 12px;
        padding: 10px;
    }

    .hero-company-profile .leadership-card,
    .culture-ar .hero-company-profile .leadership-card,
    .hero-company-profile .company-sector-card__top,
    .culture-ar .hero-company-profile .company-sector-card__top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-company-profile .leadership-card__icon,
    .hero-company-profile .company-sector-card__icon {
        margin-inline: auto;
    }

    .hero-company-profile .leadership-card__phones {
        justify-content: center;
    }

    .trust-strip > div,
    .culture-en .trust-strip > div {
        grid-template-columns: minmax(0, 1fr) 54px;
        padding: 16px;
    }
}

/* Desktop polish pass: keep service cards readable and tighten the footer composition. */
@media (min-width: 768px) {
    .trust-strip {
        grid-template-columns: repeat(4, minmax(220px, 1fr)) !important;
        align-items: stretch !important;
        gap: 18px !important;
    }

    .trust-strip > div,
    .culture-ar .trust-strip > div,
    .culture-en .trust-strip > div {
        min-height: 132px !important;
        padding: 22px 24px !important;
        display: flex !important;
        flex-direction: row-reverse !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 18px !important;
        direction: rtl !important;
        overflow: hidden !important;
    }

    .culture-en .trust-strip > div {
        flex-direction: row !important;
        direction: ltr !important;
    }

    .trust-strip > div > .trust-card-icon,
    .trust-strip > div > i {
        position: static !important;
        inset: auto !important;
        transform: none !important;
        width: 62px !important;
        height: 62px !important;
        min-width: 62px !important;
        flex: 0 0 62px !important;
        margin: 0 !important;
        display: inline-flex !important;
    }

    .trust-strip > div > span:not(.trust-card-icon) {
        width: auto !important;
        max-width: none !important;
        flex: 1 1 auto !important;
        padding: 0 !important;
        text-align: start !important;
        font-size: clamp(1.05rem, 1.35vw, 1.42rem) !important;
        line-height: 1.45 !important;
        white-space: normal !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
        hyphens: none !important;
    }
}

@media (min-width: 1200px) {
    .buildestate-footer {
        padding-block: 38px 46px !important;
    }

    .buildestate-footer__inner {
        width: min(100% - 56px, 1640px) !important;
        margin-inline: auto !important;
        display: grid !important;
        grid-template-columns: minmax(360px, 1.25fr) minmax(260px, .9fr) minmax(210px, .72fr) minmax(280px, .95fr) !important;
        grid-template-areas: "map contact links brand" !important;
        align-items: stretch !important;
        gap: 20px !important;
    }

    .culture-en .buildestate-footer__inner {
        grid-template-areas: "brand links contact map" !important;
    }

    .buildestate-footer__inner > div:first-child {
        grid-area: brand;
        min-width: 0;
        padding: 18px 20px;
        display: grid;
        align-content: start;
        gap: 14px;
        border-radius: 16px;
        background: rgba(255,255,255,.035);
        border: 1px solid rgba(255,255,255,.08);
    }

    .buildestate-footer__links {
        grid-area: links;
        min-width: 0;
        align-content: start;
    }

    .buildestate-footer__contact {
        grid-area: contact;
        min-width: 0;
        align-content: start;
    }

    .buildestate-footer__map-card {
        grid-area: map;
        min-height: 238px !important;
        max-height: 280px !important;
        padding: 10px !important;
    }

    .footer-map-frame,
    .footer-map-frame iframe {
        min-height: 130px !important;
    }

    .footer-map-copy {
        grid-template-columns: minmax(0, 1fr) 46px !important;
        gap: 10px !important;
    }

    .culture-en .footer-map-copy {
        grid-template-columns: 46px minmax(0, 1fr) !important;
    }

    .footer-map-copy > span {
        grid-column: 2;
        grid-row: 1;
    }

    .culture-en .footer-map-copy > span {
        grid-column: 1;
    }

    .footer-map-copy > div {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
    }

    .culture-en .footer-map-copy > div {
        grid-column: 2;
    }

    .footer-map-copy a {
        grid-column: 1 / -1 !important;
    }

    .buildestate-footer__contact span,
    .buildestate-footer__contact a,
    .buildestate-footer__links a {
        width: 100%;
        min-height: 44px;
        justify-content: center;
        text-align: center;
        overflow-wrap: anywhere;
    }
}

.buildestate-footer__brand {
    display: inline-flex !important;
    align-items: center;
    gap: 12px;
    color: #fff !important;
    text-decoration: none !important;
}

.buildestate-footer__brand img {
    width: 74px;
    height: 74px;
    object-fit: contain;
    padding: 6px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 18px 38px rgba(0,0,0,.24);
}

.buildestate-footer__brand span {
    min-width: 0;
    color: #f5d68d;
    font-weight: 950;
    font-size: clamp(1.15rem, 1.7vw, 1.55rem);
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.buildestate-footer__links a {
    gap: 8px;
}

.buildestate-footer__links a[href*="services"]::before {
    content: "\F1DD";
    font-family: "bootstrap-icons";
}

.buildestate-footer__links a[href*="properties"]::before {
    content: "\F3F8";
    font-family: "bootstrap-icons";
}

.buildestate-footer__links a[href*="contact"]::before {
    content: "\F5C1";
    font-family: "bootstrap-icons";
}

@media (max-width: 767.98px) {
    .buildestate-footer__brand {
        justify-content: center;
        text-align: center;
    }

    .buildestate-footer__brand img {
        width: 62px;
        height: 62px;
    }
}
