/* Hide homepage search panel */
.home_banner .search-box,
.home_banner .search-box-wrapper,
.home_banner .search-form,
.home_banner form {
    display: none !important;
}
/* Premium dark overlay on homepage hero */
.home_banner {
    background-color: rgba(0, 0, 0, 0.28) !important;
    background-blend-mode: multiply;
}
/* Premium Hero Heading */
.home_banner .banner-search {
    text-align: left !important;
}

.home_banner .banner-search h1,
.home_banner .banner-search h2,
.home_banner .banner-search .title {
    text-align: left !important;
    font-size: 52px !important;
    line-height: 1.12 !important;
    font-weight: 600 !important;
    max-width: 620px;
}
/* Move hero content to left */
.home_banner .topsearch {
    left: 10% !important;
    right: auto !important;
    width: 700px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    text-align: left !important;
}

.home_banner .banner-text-description {
    text-align: left !important;
    font-size: 48px !important;
    line-height: 1.12 !important;
    font-weight: 600 !important;
    margin-bottom: 18px !important;
}
.ambesten-hero-extra {
    margin-top: 18px;
    text-align: left;
}

.ambesten-subtitle {
    font-size: 26px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.ambesten-desc {
    font-size: 18px;
    color: rgba(255,255,255,.92);
    margin-bottom: 24px;
}

.ambesten-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.ambesten-btn {
    display: inline-block;
    padding: 14px 22px;
    border-radius: 4px;
    text-decoration: none !important;
    font-weight: 600;
}

.ambesten-btn-primary {
    background: #CF7C0A;
    color: #fff !important;
}

.ambesten-btn-outline {
    border: 1px solid #fff;
    color: #fff !important;
    background: transparent;
}
/* Ambesten Trust Strip */
.ambesten-trust-strip {
    max-width: 100%;
    background: #171717;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 22px 7%;
    gap: 0;
    color: #fff;
}

.ambesten-trust-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 4px 28px;
    border-right: 1px solid rgba(255,255,255,0.18);
}

.ambesten-trust-item:last-child {
    border-right: none;
}

.ambesten-trust-icon {
    font-size: 30px;
    min-width: 34px;
    color: #CF7C0A;
    line-height: 1;
}

.ambesten-trust-item strong {
    display: block;
    font-size: 14px;
    letter-spacing: 0.4px;
    color: #fff;
}

.ambesten-trust-item span {
    display: block;
    font-size: 13px;
    margin-top: 4px;
    color: rgba(255,255,255,0.72);
}

@media (max-width: 991px) {
    .ambesten-trust-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .ambesten-trust-item:nth-child(2) {
        border-right: none;
    }
}

@media (max-width: 576px) {
    .ambesten-trust-strip {
        grid-template-columns: 1fr;
        padding: 15px 20px;
    }

    .ambesten-trust-item {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.15);
        padding: 15px 5px;
    }

    .ambesten-trust-item:last-child {
        border-bottom: none;
    }
}
/* Premium Featured Project Cards */

.projecthome .item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.04);
}

.projecthome .item:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}

.projecthome .item img {
    width: 100%;
    height: 270px;
    object-fit: cover;
}

.projecthome .item .description {
    padding: 20px 18px 22px !important;
    min-height: 150px;
}

.projecthome .item .description h5 {
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    margin-bottom: 15px !important;
    color: #1b1b1b;
}

.projecthome .item .description p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 8px;
}

.projecthome .item .description p:last-child {
    color: #1b1b1b;
    font-weight: 600;
    margin-bottom: 0;
}

/* Mobile */
@media (max-width: 767px) {
    .projecthome .item img {
        height: 230px;
    }

    .projecthome .item .description {
        min-height: auto;
    }
}
/* ===== AMBESTEN PREMIUM MAIN HEADER ===== */

header.topmenu.bg-light {
    background: #ffffff !important;
    box-shadow: 0 2px 14px rgba(0,0,0,0.05);
}

header.topmenu .main-header {
    background: #ffffff !important;
}

header.topmenu .navbar {
    min-height: 82px;
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Navigation links */
header.topmenu .navbar-nav .nav-link {
    font-size: 15px !important;
    font-weight: 500 !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    transition: color 0.25s ease;
}

/* Active + hover */
header.topmenu .navbar-nav .nav-link:hover,
header.topmenu .navbar-nav .active > .nav-link {
    color: #CF7C0A !important;
}

/* Keep mobile header compact */
@media (max-width: 991px) {
    header.topmenu .navbar {
        min-height: 68px;
        padding-top: 6px;
        padding-bottom: 6px;
    }
}
/* Premium Header Logo */
header.topmenu .navbar-brand {
    width: 150px !important;
    height: 62px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    overflow: visible !important;
}

header.topmenu .navbar-brand img.logo {
    height: 62px !important;
    width: auto !important;
    max-width: 150px !important;
    object-fit: contain;
}
/* Header Call Now Button */
.ambesten-call-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #CF7C0A;
    color: #fff !important;
    padding: 12px 20px;
    margin-left: 18px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.ambesten-call-btn:hover {
    background: #b96e08;
    color: #fff !important;
    transform: translateY(-1px);
}

@media (max-width: 991px) {
    .ambesten-call-btn {
        margin: 12px 0;
        width: 160px;
    }
}
/* ===== AMBESTEN PREMIUM TOP BAR ===== */

.bravo_topbar {
    background: #171717 !important;
    min-height: 38px !important;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.bravo_topbar,
.bravo_topbar a {
    color: #ffffff !important;
    font-size: 12px !important;
}

.bravo_topbar a:hover {
    color: #d67d00 !important;
}

/* Give top bar content better breathing space */
.bravo_topbar .container {
    padding-top: 7px !important;
    padding-bottom: 7px !important;
}
/* View All Projects Button */
.ambesten-view-all-projects {
    text-align: center;
    padding: 28px 0 45px;
    background: #fff;
}

.ambesten-view-all-btn {
    display: inline-block;
    padding: 13px 26px;
    border: 1px solid #CF7C0A;
    border-radius: 5px;
    color: #CF7C0A !important;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.ambesten-view-all-btn:hover {
    background: #CF7C0A;
    color: #fff !important;
    transform: translateY(-1px);
}
/* Homepage only - 3 Featured Projects */
@media (min-width: 992px) {
    #ismain-homes .projecthome .row > [class*="col-"]:not([style*="display: none"]) {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
    }
}
/* Compact View All Projects area */
.ambesten-view-all-projects {
    padding: 18px 0 28px !important;
    background: transparent !important;
}

.ambesten-view-all-btn {
    margin-top: 0 !important;
}
/* =========================================
   AMBESTEN HOMEPAGE - MOBILE FIX
   Desktop remains unchanged
========================================= */

@media screen and (max-width: 768px) {

    /* Prevent horizontal overflow */
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important;
    }

    /* HERO */
    .home_banner {
        width: 100% !important;
        min-height: 560px !important;
        height: auto !important;
        background-position: center center !important;
    }

    .home_banner .topsearch {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;

        width: 100% !important;
        max-width: 100% !important;

        padding: 150px 24px 55px !important;
        box-sizing: border-box !important;

        text-align: left !important;
    }

    /* Main heading */
    .home_banner .topsearch h1 {
        width: 100% !important;
        max-width: 100% !important;

        font-size: 38px !important;
        line-height: 1.12 !important;
        font-weight: 500 !important;

        margin: 0 0 20px !important;
        white-space: normal !important;
        overflow-wrap: normal !important;
    }

    /* Added hero content */
    .ambesten-hero-extra {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .ambesten-subtitle {
        font-size: 22px !important;
        line-height: 1.3 !important;
        margin-bottom: 14px !important;
        white-space: normal !important;
    }

    .ambesten-desc {
        font-size: 16px !important;
        line-height: 1.5 !important;
        margin-bottom: 24px !important;
        white-space: normal !important;
    }

    /* Hero buttons */
    .ambesten-actions {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;

        width: 100% !important;
    }

    .ambesten-actions .ambesten-btn {
        width: auto !important;
        min-width: 190px !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 13px 20px !important;
        box-sizing: border-box !important;

        text-align: center !important;
        font-size: 15px !important;
    }

    /* TRUST STRIP */
    .ambesten-trust-strip {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;

        display: block !important;
        padding: 20px 24px !important;
    }

    .ambesten-trust-item {
        width: 100% !important;
        box-sizing: border-box !important;

        padding: 18px 5px !important;
        margin: 0 !important;
    }
}
/* ===== MOBILE FEATURED PROJECTS FIX ===== */
@media screen and (max-width: 768px) {

    .projecthome .row {
        display: block !important;
    }

.projecthome .row > [class*="col-"]:not([style*="display: none"]) {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    display: block !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-bottom: 22px !important;
}

/* Keep homepage-hidden project hidden on mobile */
.projecthome .row > [style*="display: none"] {
    display: none !important;
}

    .projecthome .item {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    .projecthome .item img {
        width: 100% !important;
        height: 240px !important;
        object-fit: cover !important;
    }

    .projecthome .item .description {
        min-height: auto !important;
        padding: 18px !important;
    }

    .projecthome .item .description h5 {
        font-size: 20px !important;
        line-height: 1.3 !important;
        white-space: normal !important;
        overflow: visible !important;
    }

    .projecthome .item .description p {
        font-size: 14px !important;
        line-height: 1.5 !important;
        white-space: normal !important;
        overflow: visible !important;
    }
}
/* =====================================
   HOMEPAGE PREMIUM CONTACT SECTION
===================================== */

#ismain-homes #contact {
    max-width: 1240px !important;
    margin: 80px auto !important;
    padding: 0 30px !important;
}

#ismain-homes #contact > .row {
    margin: 0 !important;
    display: flex !important;
    align-items: stretch !important;
    background: #ffffff !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.08) !important;
}

/* LEFT PANEL */
#ismain-homes #contact > .row > .col-md-6:first-child {
    background: #17261f !important;
    padding: 55px 50px !important;
    color: #ffffff !important;
}

#ismain-homes #contact > .row > .col-md-6:first-child .wrapper {
    height: 100% !important;
}

#ismain-homes #contact > .row > .col-md-6:first-child h2 {
    color: #ffffff !important;
    font-size: 32px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    text-transform: none !important;
    margin-bottom: 24px !important;
}

#ismain-homes #contact > .row > .col-md-6:first-child p,
#ismain-homes #contact > .row > .col-md-6:first-child .contact-main {
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 15px !important;
    line-height: 1.8 !important;
}

/* RIGHT FORM PANEL */
#ismain-homes #contact > .row > .col-md-6:last-child {
    background: #f8f6f1 !important;
    padding: 55px 50px !important;
}

#ismain-homes #contact > .row > .col-md-6:last-child h2 {
    color: #17261f !important;
    font-size: 32px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    text-transform: none !important;
    margin-bottom: 24px !important;
}

#ismain-homes #contact input,
#ismain-homes #contact textarea,
#ismain-homes #contact select {
    width: 100% !important;
    background: #ffffff !important;
    border: 1px solid #ddd8ce !important;
    border-radius: 8px !important;
    padding: 14px 16px !important;
    font-size: 14px !important;
    box-shadow: none !important;
}

#ismain-homes #contact textarea {
    min-height: 120px !important;
}

#ismain-homes #contact button,
#ismain-homes #contact input[type="submit"] {
    background: #c97812 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 7px !important;
    padding: 14px 28px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    transition: all 0.25s ease !important;
}

#ismain-homes #contact button:hover,
#ismain-homes #contact input[type="submit"]:hover {
    transform: translateY(-2px) !important;
    opacity: 0.92 !important;
}

/* MOBILE */
@media screen and (max-width: 768px) {

    #ismain-homes #contact {
        margin: 50px auto !important;
        padding: 0 18px !important;
    }

    #ismain-homes #contact > .row {
        display: block !important;
        border-radius: 14px !important;
    }

    #ismain-homes #contact > .row > .col-md-6 {
        width: 100% !important;
        max-width: 100% !important;
        padding: 35px 25px !important;
    }

    #ismain-homes #contact h2 {
        font-size: 26px !important;
    }
}
/* Fix old inner wrapper styling inside homepage contact section */
#ismain-homes #contact > .row > .col-md-6:first-child .wrapper {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

#ismain-homes #contact > .row > .col-md-6:first-child .contact-main {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

#ismain-homes #contact > .row > .col-md-6:last-child .wrapper {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}
/* Premium contact details styling */
#ismain-homes #contact .contact-main {
    margin-top: 24px !important;
}

#ismain-homes #contact .contact-main p {
    margin: 0 0 12px !important;
    padding-left: 26px !important;
    position: relative !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
}

#ismain-homes #contact .contact-main p:nth-child(1)::before {
    content: "⌖";
}

#ismain-homes #contact .contact-main p:nth-child(2)::before {
    content: "☎";
}

#ismain-homes #contact .contact-main p:nth-child(3)::before {
    content: "✉";
}

#ismain-homes #contact .contact-main p::before {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    font-size: 16px !important;
    color: #d88416 !important;
}
/* Premium form spacing + CTA */
#ismain-homes #contact .contact-form,
#ismain-homes #contact form {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
}

#ismain-homes #contact input,
#ismain-homes #contact textarea {
    margin-bottom: 0 !important;
}

#ismain-homes #contact button,
#ismain-homes #contact input[type="submit"] {
    min-width: 165px !important;
    padding: 14px 28px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.2px !important;
    align-self: flex-start !important;
}

#ismain-homes #contact button:hover,
#ismain-homes #contact input[type="submit"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12) !important;
}
/* Force premium styling on homepage contact form button */
#ismain-homes #contact .btn,
#ismain-homes #contact .btn-primary,
#ismain-homes #contact button[type="submit"] {
    background: #d17a00 !important;
    color: #ffffff !important;
    border: 0 !important;
    border-radius: 8px !important;
    min-width: 180px !important;
    height: 48px !important;
    padding: 0 28px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 48px !important;
    box-shadow: none !important;
}

#ismain-homes #contact .btn:hover,
#ismain-homes #contact .btn-primary:hover,
#ismain-homes #contact button[type="submit"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 22px rgba(0,0,0,0.14) !important;
}
/* Small premium accent above heading */
#ismain-homes #contact > .row > .col-md-6:last-child h2::before {
    content: "PERSONAL ASSISTANCE";
    display: block !important;
    color: #c97812 !important;
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    margin-bottom: 13px !important;
}

/* More premium input appearance */
#ismain-homes #contact > .row > .col-md-6:last-child input,
#ismain-homes #contact > .row > .col-md-6:last-child textarea {
    background: rgba(255,255,255,0.9) !important;
    border: 1px solid #ded6c7 !important;
    transition: all 0.25s ease !important;
}

/* Elegant focus effect */
#ismain-homes #contact > .row > .col-md-6:last-child input:focus,
#ismain-homes #contact > .row > .col-md-6:last-child textarea:focus {
    border-color: #c97812 !important;
    box-shadow: 0 0 0 3px rgba(201,120,18,0.08) !important;
    outline: none !important;
}
/* Clean Luxury - Book a Site Visit */

#ismain-homes #contact > .row > .col-md-6:last-child {
    background: #ffffff !important;
    padding: 55px 62px !important;
}

/* Heading */
#ismain-homes #contact > .row > .col-md-6:last-child h2 {
    color: #17261f !important;
    font-size: 30px !important;
    font-weight: 600 !important;
    margin-bottom: 30px !important;
}

/* Form fields */
#ismain-homes #contact > .row > .col-md-6:last-child input,
#ismain-homes #contact > .row > .col-md-6:last-child textarea {
    background: #fafafa !important;
    border: 1px solid #e3e3df !important;
    border-radius: 6px !important;
}

/* Focus */
#ismain-homes #contact > .row > .col-md-6:last-child input:focus,
#ismain-homes #contact > .row > .col-md-6:last-child textarea:focus {
    background: #ffffff !important;
    border-color: #c97812 !important;
    box-shadow: 0 0 0 3px rgba(201,120,18,0.07) !important;
    outline: none !important;
}

/* CTA */
#ismain-homes #contact > .row > .col-md-6:last-child .btn,
#ismain-homes #contact > .row > .col-md-6:last-child button[type="submit"] {
    background: #17261f !important;
    color: #ffffff !important;
    border-radius: 6px !important;
    min-width: 180px !important;
    height: 48px !important;
    border: none !important;
}

/* CTA hover */
#ismain-homes #contact > .row > .col-md-6:last-child .btn:hover,
#ismain-homes #contact > .row > .col-md-6:last-child button[type="submit"]:hover {
    background: #c97812 !important;
}
/* Remove old Personal Assistance label */
#ismain-homes #contact > .row > .col-md-6:last-child h2::before {
    content: none !important;
    display: none !important;
}
/* Latest Updates - scalable card grid */

#ismain-homes .discover {
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding: 60px 30px !important;
}

#ismain-homes .discover > .row > .col-12 > h2 {
    font-size: 34px !important;
    color: #17261f !important;
    margin-bottom: 10px !important;
}

#ismain-homes .discover > .row > .col-12 > h2 + p {
    font-size: 15px !important;
    color: #6e6e6e !important;
    margin-bottom: 30px !important;
}

/* Grid */
#ismain-homes .discover .blog-container .row {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
}

/* Remove old bootstrap width */
#ismain-homes .discover .blog-container .row > [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    padding: 0 !important;
}

/* Card */
#ismain-homes .discover .blog-container .item {
    display: block !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.07) !important;
    height: 100% !important;
}

/* Image */
#ismain-homes .discover .blog-container .item .img {
    height: 210px !important;
}

#ismain-homes .discover .blog-container .item .img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Content */
#ismain-homes .discover .blog-container .item .description {
    padding: 22px !important;
}

#ismain-homes .discover .blog-container .item .description h5 {
    font-size: 18px !important;
    line-height: 1.4 !important;
    margin-bottom: 12px !important;
    color: #17261f !important;
}

#ismain-homes .discover .blog-container .item .description p {
    font-size: 14px !important;
    line-height: 1.6 !important;
}

/* Tablet */
@media screen and (max-width: 991px) {
    #ismain-homes .discover .blog-container .row {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    #ismain-homes .discover {
        padding: 45px 18px !important;
    }

    #ismain-homes .discover .blog-container .row {
        grid-template-columns: 1fr !important;
    }

    #ismain-homes .discover .blog-container .item .img {
        height: 220px !important;
    }
}
/* ========================================
   PREMIUM AMBESTEN FOOTER
======================================== */

footer {
    background: #13271f !important;
    color: rgba(255,255,255,0.82) !important;
    padding-top: 55px !important;
}

/* Footer headings */
footer h4,
footer h5,
footer .widget-title {
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase !important;
}

/* Heading divider */
footer hr,
footer .widget-title {
    border-color: rgba(255,255,255,0.15) !important;
}

/* Normal text */
footer p,
footer span {
    color: rgba(255,255,255,0.78) !important;
}

/* Footer links */
footer a {
    color: rgba(255,255,255,0.78) !important;
    transition: all 0.25s ease !important;
}

footer a:hover {
    color: #d98200 !important;
    text-decoration: none !important;
}

/* Contact icons */
footer i {
    color: #d98200 !important;
}

/* Logo */
footer img {
    max-height: 55px !important;
    width: auto !important;
    margin-bottom: 18px !important;
}

/* Bottom copyright area */
footer + .action_footer,
footer .copyright,
footer .footer-bottom {
    border-color: rgba(255,255,255,0.12) !important;
}

footer .container-fluid {
    padding-bottom: 30px !important;
}
/* Clean footer logo */
footer img {
    max-height: 85px !important;
    width: auto !important;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    margin-bottom: 22px !important;
}
/* Remove low-visibility footer logo */
footer .col-sm-3 img {
    display: none !important;
}
/* Footer brand identity */
footer .ambesten-footer-brand {
    margin-bottom: 24px !important;
}

footer .ambesten-footer-brand h3 {
    color: #ffffff !important;
    font-size: 24px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    margin: 0 0 8px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

footer .ambesten-footer-brand p {
    color: rgba(255,255,255,0.68) !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    max-width: 320px !important;
    margin: 0 !important;
}
/* ========================================
   AMBESTEN FOOTER — FINAL POLISH
======================================== */

/* Overall footer spacing */
footer {
    padding-top: 45px !important;
}

/* Brand */
footer .ambesten-footer-brand {
    margin-bottom: 18px !important;
}

footer .ambesten-footer-brand h3 {
    font-size: 25px !important;
    font-weight: 600 !important;
    margin-bottom: 6px !important;
}

footer .ambesten-footer-brand p {
    font-size: 13px !important;
    line-height: 1.55 !important;
    color: rgba(255,255,255,0.65) !important;
    max-width: 310px !important;
}

/* Footer column headings */
footer h4,
footer h5,
footer .widget-title {
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 1.1px !important;
    margin-bottom: 15px !important;
}

/* Softer divider lines */
footer hr,
footer .widget-title {
    border-color: rgba(255,255,255,0.12) !important;
}

/* Menu links */
footer ul li {
    margin-bottom: 8px !important;
}

footer ul li a {
    font-size: 15px !important;
    color: rgba(255,255,255,0.82) !important;
}

footer ul li a:hover {
    color: #d98200 !important;
}

/* Contact details */
footer .col-sm-3 > p {
    margin-bottom: 11px !important;
    line-height: 1.5 !important;
}

/* Bottom separator */
footer .container-fluid > .row:last-of-type {
    border-color: rgba(255,255,255,0.10) !important;
}

/* Copyright */
footer .copyright,
footer .copyright a {
    color: rgba(255,255,255,0.58) !important;
    font-size: 13px !important;
}

/* Mobile polish */
@media screen and (max-width: 768px) {
    footer {
        padding-top: 38px !important;
    }

    footer .ambesten-footer-brand {
        margin-bottom: 20px !important;
    }

    footer .ambesten-footer-brand h3 {
        font-size: 23px !important;
    }
}
/* Header logo final size */
header.topmenu .navbar-brand img.logo {
    height: 88px !important;
    max-height: none !important;
    max-width: none !important;
    width: auto !important;
}
/* Hide Wishlist & Login in Mobile Menu */
@media screen and (max-width: 768px) {
    .navbar-collapse .wishlist,
    .navbar-collapse .login,
    .navbar-collapse a[href*="wishlist"],
    .navbar-collapse a[href*="login"] {
        display: none !important;
    }
}
/* =========================================
   CONTACT PAGE - PREMIUM LAYOUT
========================================= */

.scontent #contact {
    margin-top: 30px !important;
    margin-bottom: 70px !important;
}

.scontent #contact > .row {
    margin: 0 !important;
    display: flex !important;
    align-items: stretch !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    box-shadow: 0 18px 50px rgba(0,0,0,0.08) !important;
}

/* LEFT PANEL */
.scontent #contact > .row > .col-md-6:first-child {
    background: #14291f !important;
    padding: 50px !important;
    color: #ffffff !important;
}

.scontent #contact > .row > .col-md-6:first-child .wrapper,
.scontent #contact > .row > .col-md-6:first-child .contact-main {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.scontent #contact > .row > .col-md-6:first-child h2 {
    color: #ffffff !important;
    font-size: 30px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    margin-bottom: 24px !important;
}

.scontent #contact > .row > .col-md-6:first-child p,
.scontent #contact > .row > .col-md-6:first-child .contact-main {
    color: rgba(255,255,255,0.82) !important;
    font-size: 15px !important;
    line-height: 1.75 !important;
}

/* RIGHT PANEL */
.scontent #contact > .row > .col-md-6:last-child {
    background: #ffffff !important;
    padding: 50px !important;
}

.scontent #contact > .row > .col-md-6:last-child .wrapper {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
}

.scontent #contact > .row > .col-md-6:last-child h2 {
    color: #14291f !important;
    font-size: 30px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    margin-bottom: 26px !important;
}

/* FORM */
.scontent #contact input,
.scontent #contact textarea {
    width: 100% !important;
    background: #fafafa !important;
    border: 1px solid #deded8 !important;
    border-radius: 7px !important;
    padding: 14px 16px !important;
    box-shadow: none !important;
}

.scontent #contact textarea {
    min-height: 135px !important;
}

.scontent #contact .btn-special {
    background: #14291f !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 7px !important;
    min-width: 175px !important;
    height: 48px !important;
    font-weight: 600 !important;
}

/* MOBILE */
@media screen and (max-width: 768px) {
    .scontent #contact > .row {
        display: block !important;
    }

    .scontent #contact > .row > .col-md-6 {
        width: 100% !important;
        max-width: 100% !important;
        padding: 35px 25px !important;
    }
}
/* =========================================
   CONTACT PAGE - REFERENCE STYLE POLISH
========================================= */

/* Top labels */
.scontent #contact .ambesten-help-label,
.scontent #contact .ambesten-form-label {
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 1.6px !important;
    color: #d7a84f !important;
    margin-bottom: 10px !important;
}

/* Main headings */
.scontent #contact .row > .col-md-6:first-child h2,
.scontent #contact .row > .col-md-6:last-child h2 {
    font-size: 30px !important;
    line-height: 1.15 !important;
    font-weight: 600 !important;
}

/* Left intro text */
.scontent #contact .contact-main > p {
    margin: 18px 0 28px !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
}

/* Visit / Call / Email rows */
.scontent #contact .contact-address,
.scontent #contact .contact-phone,
.scontent #contact .contact-email {
    display: flex !important;
    align-items: flex-start !important;
    gap: 14px !important;
    margin-bottom: 18px !important;
    color: #ffffff !important;
}

.scontent #contact .contact-icon {
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    border: 1px solid #d7a84f !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #d7a84f !important;
    font-size: 16px !important;
}

.scontent #contact .contact-address strong,
.scontent #contact .contact-phone strong,
.scontent #contact .contact-email strong {
    display: block !important;
    color: #d7a84f !important;
    font-size: 12px !important;
    letter-spacing: 1px !important;
    margin-bottom: 4px !important;
}

.scontent #contact .contact-address div > span,
.scontent #contact .contact-phone div > span,
.scontent #contact .contact-email div > span {
    display: block !important;
    color: #ffffff !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
}

/* Trust points */
.scontent #contact .ambesten-trust-points {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 14px !important;
    margin-top: 34px !important;
    padding-top: 24px !important;
    border-top: 1px solid rgba(255,255,255,0.15) !important;
}

.scontent #contact .ambesten-trust-points > div {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    color: #ffffff !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
}

.scontent #contact .ambesten-trust-points b {
    color: #d7a84f !important;
    font-size: 22px !important;
    font-weight: 400 !important;
}

/* Right form subtitle */
.scontent #contact .ambesten-form-subtitle {
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: #666 !important;
    margin: 8px 0 24px !important;
}

/* Form spacing */
.scontent #contact .generic-form .form-group {
    margin-bottom: 14px !important;
}

/* Inputs */
.scontent #contact .generic-form .form-control {
    height: 52px !important;
    border-radius: 7px !important;
    font-size: 14px !important;
    padding: 0 16px !important;
}

.scontent #contact .generic-form textarea.form-control {
    height: 145px !important;
    padding: 15px 16px !important;
}

/* Big button */
.scontent #contact .generic-form .btn-special {
    min-width: 230px !important;
    height: 52px !important;
    padding: 0 28px !important;
    font-size: 14px !important;
    border-radius: 7px !important;
}

/* Security note */
.scontent #contact .ambesten-safe-note {
    margin-top: 12px !important;
    color: #666 !important;
    font-size: 13px !important;
}

/* Better panel spacing */
.scontent #contact > .row > .col-md-6:first-child,
.scontent #contact > .row > .col-md-6:last-child {
    padding: 58px 40px !important;
}

/* Mobile */
@media screen and (max-width: 768px) {

    .scontent #contact .ambesten-trust-points {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .scontent #contact .generic-form .btn-special {
        width: 100% !important;
    }

    .scontent #contact > .row > .col-md-6:first-child,
    .scontent #contact > .row > .col-md-6:last-child {
        padding: 35px 24px !important;
    }
}
/* =========================================
   CONTACT PAGE - FINAL REFERENCE POLISH
========================================= */

/* Make contact section wider */
.container.padtop50 {
    max-width: 1280px !important;
}

.scontent #contact {
    width: 100% !important;
    max-width: 1180px !important;
}

/* Slightly larger panels */
.scontent #contact > .row > .col-md-6:first-child,
.scontent #contact > .row > .col-md-6:last-child {
    padding: 60px 48px !important;
}

/* Bigger premium contact icons */
.scontent #contact .contact-icon {
    width: 52px !important;
    min-width: 52px !important;
    height: 52px !important;
    font-size: 19px !important;
    border-width: 1.5px !important;
}

/* More breathing room in contact rows */
.scontent #contact .contact-address,
.scontent #contact .contact-phone,
.scontent #contact .contact-email {
    gap: 18px !important;
    margin-bottom: 23px !important;
}

/* Contact labels */
.scontent #contact .contact-address strong,
.scontent #contact .contact-phone strong,
.scontent #contact .contact-email strong {
    font-size: 13px !important;
    letter-spacing: 1.3px !important;
}

/* Contact values */
.scontent #contact .contact-address div > span,
.scontent #contact .contact-phone div > span,
.scontent #contact .contact-email div > span {
    font-size: 16px !important;
}

/* Trust points closer to reference */
.scontent #contact .ambesten-trust-points {
    margin-top: 38px !important;
    padding-top: 28px !important;
    gap: 20px !important;
}

.scontent #contact .ambesten-trust-points > div {
    font-size: 13px !important;
}

.scontent #contact .ambesten-trust-points b {
    font-size: 26px !important;
}

/* Larger main headings */
.scontent #contact .row > .col-md-6:first-child h2,
.scontent #contact .row > .col-md-6:last-child h2 {
    font-size: 34px !important;
}

/* Right form */
.scontent #contact .generic-form .form-control {
    height: 56px !important;
}

.scontent #contact .generic-form textarea.form-control {
    height: 155px !important;
}

/* Large CTA like reference */
.scontent #contact .generic-form .btn-special {
    width: 72% !important;
    min-width: 260px !important;
    height: 56px !important;
    font-size: 15px !important;
}

/* Security note */
.scontent #contact .ambesten-safe-note {
    margin-top: 14px !important;
    font-size: 13px !important;
}

/* Mobile */
@media screen and (max-width: 768px) {
    .container.padtop50 {
        max-width: 100% !important;
    }

    .scontent #contact .generic-form .btn-special {
        width: 100% !important;
        min-width: 0 !important;
    }

    .scontent #contact .contact-icon {
        width: 46px !important;
        min-width: 46px !important;
        height: 46px !important;
    }
}
/* =========================================
   CONTACT PAGE - FINAL MICRO POLISH
========================================= */

/* Better spacing between intro and card */
.scontent > h2 {
    margin-bottom: 8px !important;
}

.scontent > h2 + p {
    margin-bottom: 30px !important;
    line-height: 1.55 !important;
}

/* Keep both panels visually balanced */
.scontent #contact > .row {
    align-items: stretch !important;
}

.scontent #contact > .row > .col-md-6 {
    min-height: 600px !important;
}

/* Right form content vertically balanced */
.scontent #contact > .row > .col-md-6:last-child {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

/* Cleaner button spacing */
.scontent #contact .generic-form .btn-special {
    margin-top: 8px !important;
}

/* Safe note alignment */
.scontent #contact .ambesten-safe-note {
    margin-top: 14px !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    opacity: 0.85 !important;
}

/* Mobile - don't force desktop height */
@media screen and (max-width: 768px) {
    .scontent #contact > .row > .col-md-6 {
        min-height: auto !important;
    }

    .scontent #contact > .row > .col-md-6:last-child {
        display: block !important;
    }

    .scontent > h2 + p {
        margin-bottom: 22px !important;
    }
}
/* CONTACT PAGE - REMOVE OLD THEME BANNER */

body:has(.scontent #contact) .bgheadproject {
    display: none !important;
}

/* Cleaner spacing after header */
body:has(.scontent #contact) .container.padtop50 {
    padding-top: 55px !important;
}
/* CONTACT PAGE - INTRO FINAL ALIGNMENT */

body:has(.scontent #contact) .container.padtop50 {
    padding-top: 38px !important;
}

body:has(.scontent #contact) .scontent > h2 {
    font-size: 36px !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
    margin: 0 0 8px !important;
}

body:has(.scontent #contact) .scontent > h2 + p {
    max-width: 900px !important;
    font-size: 17px !important;
    line-height: 1.5 !important;
    margin: 0 0 24px !important;
    color: #4f5552 !important;
}

/* Mobile */
@media screen and (max-width: 768px) {
    body:has(.scontent #contact) .container.padtop50 {
        padding-top: 28px !important;
    }

    body:has(.scontent #contact) .scontent > h2 {
        font-size: 29px !important;
    }

    body:has(.scontent #contact) .scontent > h2 + p {
        font-size: 15px !important;
        margin-bottom: 20px !important;
    }
}
/* ==================================================
   OUR PROJECTS PAGE — PREMIUM HERO
   ================================================== */

/* Hero */
.bgheadproject {
    min-height: 390px !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    background-position: center 42% !important;
    background-size: cover !important;
}

/* Premium dark overlay */
.bgheadproject::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(12, 24, 22, 0.82) 0%,
        rgba(12, 24, 22, 0.62) 45%,
        rgba(12, 24, 22, 0.22) 100%
    );
    z-index: 0;
}

/* Content container */
.bgheadproject .container {
    position: relative !important;
    z-index: 2 !important;
}

/* Hero content */
.bgheadproject1 {
    max-width: 760px !important;
    padding: 55px 20px !important;
    text-align: left !important;
}

/* Main heading */
.bgheadproject1 h1 {
    color: #ffffff !important;
    font-size: 48px !important;
    line-height: 1.12 !important;
    font-weight: 600 !important;
    letter-spacing: -0.5px !important;
    text-transform: none !important;
    margin: 0 0 18px !important;
    text-align: left !important;
}

/* Supporting description */
.bgheadproject1 p {
    color: rgba(255,255,255,0.88) !important;
    font-size: 16px !important;
    line-height: 1.75 !important;
    max-width: 650px !important;
    margin: 0 0 25px !important;
    text-align: left !important;
}

/* Breadcrumb */
.bgheadproject1 .breadcrumb {
    justify-content: flex-start !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

.bgheadproject1 .breadcrumb,
.bgheadproject1 .breadcrumb a,
.bgheadproject1 .breadcrumb li {
    color: rgba(255,255,255,0.78) !important;
    font-size: 13px !important;
}

/* Mobile */
@media (max-width: 767px) {

    .bgheadproject {
        min-height: 330px !important;
    }

    .bgheadproject1 {
        padding: 45px 20px !important;
    }

    .bgheadproject1 h1 {
        font-size: 34px !important;
    }

    .bgheadproject1 p {
        font-size: 14px !important;
        line-height: 1.65 !important;
    }
}
/* ===== OUR PROJECTS HERO TEXT FIX ===== */

.bgheadproject .bgheadproject1 {
    text-align: left !important;
    max-width: 720px !important;
    margin-left: 7% !important;
    margin-right: auto !important;
}

.bgheadproject .bgheadproject1 h1 {
    color: #ffffff !important;
    opacity: 1 !important;
    text-align: left !important;
    font-size: 48px !important;
    font-weight: 600 !important;
    line-height: 1.15 !important;
    text-shadow: 0 2px 12px rgba(0,0,0,0.18) !important;
}

.bgheadproject .bgheadproject1 p {
    color: rgba(255,255,255,0.90) !important;
    opacity: 1 !important;
    text-align: left !important;
    max-width: 620px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.bgheadproject .bgheadproject1 .breadcrumb {
    justify-content: flex-start !important;
    text-align: left !important;
}

.bgheadproject .bgheadproject1 .breadcrumb,
.bgheadproject .bgheadproject1 .breadcrumb li,
.bgheadproject .bgheadproject1 .breadcrumb a {
    color: #ffffff !important;
    opacity: 1 !important;
}
/* ==================================================
   OUR PROJECTS — FINAL PREMIUM HERO CONTENT
   ================================================== */

/* Hide original hero text */
.bgheadproject > .bgheadproject1,
.bgheadproject .bgheadproject1 {
    display: none !important;
}

/* New premium content */
.bgheadproject .ambesten-premium-projects-hero {
    position: absolute !important;
    z-index: 10 !important;

    left: 10% !important;
    top: 50% !important;
    transform: translateY(-50%) !important;

    width: 650px !important;
    max-width: 80% !important;

    text-align: left !important;
}

/* Small upper label */
.ambesten-premium-projects-hero .ambesten-projects-eyebrow {
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;
    margin-bottom: 14px !important;
}

/* Main premium heading */
.ambesten-premium-projects-hero h1 {
    color: #ffffff !important;
    font-size: 52px !important;
    line-height: 1.08 !important;
    font-weight: 500 !important;
    letter-spacing: -1px !important;
    text-transform: none !important;
    margin: 0 0 20px !important;
    padding: 0 !important;
    text-align: left !important;
}

/* Description */
.ambesten-premium-projects-hero p {
    color: rgba(255,255,255,0.90) !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
    font-weight: 400 !important;
    max-width: 590px !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

/* Mobile */
@media (max-width: 767px) {

    .bgheadproject .ambesten-premium-projects-hero {
        left: 7% !important;
        width: 86% !important;
        max-width: 86% !important;
    }

    .ambesten-premium-projects-hero h1 {
        font-size: 35px !important;
        line-height: 1.12 !important;
    }

    .ambesten-premium-projects-hero p {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }
}
/* ===== REMOVE OLD PROJECT HERO CONTENT COMPLETELY ===== */

.bgheadproject .container {
    display: none !important;
}

/* Keep our new premium hero visible */
.bgheadproject .ambesten-premium-projects-hero {
    display: block !important;
}
/* ==================================================
   OUR PROJECTS — PREMIUM SEARCH / FILTER BAR
   ================================================== */

/* Main filter box */
.bgheadproject + section .container-fluid,
.main-homes .container-fluid.w90 {
    background: #ffffff !important;
}

/* Search/filter panel */
.topsearch,
.search-box,
.advanced-search,
form.formsearch {
    border-radius: 10px !important;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

/* Inputs and dropdowns */
.topsearch input,
.topsearch select,
.search-box input,
.search-box select,
.advanced-search input,
.advanced-search select,
form.formsearch input,
form.formsearch select {
    min-height: 46px !important;
    background: #ffffff !important;
    border: 1px solid #e4e4e4 !important;
    border-radius: 6px !important;
    box-shadow: none !important;
}

/* Field labels */
.topsearch label,
.search-box label,
.advanced-search label,
form.formsearch label {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #333333 !important;
    margin-bottom: 8px !important;
}

/* Search button */
.topsearch button,
.search-box button,
.advanced-search button,
form.formsearch button,
.topsearch .btn {
    min-height: 46px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    padding-left: 28px !important;
    padding-right: 28px !important;
}

/* More breathing space around filter */
.bgheadproject + section {
    padding-top: 28px !important;
    padding-bottom: 18px !important;
}
/* ===== OUR PROJECTS FILTER — FINAL SPACING ===== */

.main-homes .container-fluid.w90 {
    max-width: 1690px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Give filter card premium breathing space */
.topsearch,
.search-box,
.advanced-search,
form.formsearch {
    padding: 22px 20px !important;
}

/* Inputs */
.topsearch input,
.topsearch select,
.search-box input,
.search-box select,
.advanced-search input,
.advanced-search select,
form.formsearch input,
form.formsearch select {
    height: 48px !important;
    font-size: 14px !important;
}

/* Search button */
.topsearch button,
.search-box button,
.advanced-search button,
form.formsearch button,
.topsearch .btn {
    height: 48px !important;
    min-height: 48px !important;
}
/* ==================================================
   OUR PROJECTS — RESULT TOOLBAR
   ================================================== */

/* Toolbar background */
.main-homes .bar-filter,
.main-homes .property-filter,
.main-homes .filter-property {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Showing + Sort dropdowns */
.main-homes .bar-filter select,
.main-homes .property-filter select,
.main-homes .filter-property select {
    background: #ffffff !important;
    border: 1px solid #e2e2e2 !important;
    border-radius: 6px !important;
    min-height: 38px !important;
    padding: 0 12px !important;
    box-shadow: none !important;
}
/* ==================================================
   OUR PROJECTS — PREMIUM PROJECT CARDS
   ================================================== */

/* Individual project card */
.main-homes .item,
.main-homes .property-item,
.main-homes .project-item {
    background: #ffffff !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
    box-shadow: 0 8px 28px rgba(0,0,0,0.06) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

/* Premium hover */
.main-homes .item:hover,
.main-homes .property-item:hover,
.main-homes .project-item:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 14px 35px rgba(0,0,0,0.10) !important;
}

/* Project images */
.main-homes .item img,
.main-homes .property-item img,
.main-homes .project-item img {
    width: 100% !important;
    transition: transform 0.4s ease !important;
}

.main-homes .item:hover img,
.main-homes .property-item:hover img,
.main-homes .project-item:hover img {
    transform: scale(1.025) !important;
}

/* Project title */
.main-homes .item h4,
.main-homes .item h5,
.main-homes .property-item h4,
.main-homes .property-item h5,
.main-homes .project-item h4,
.main-homes .project-item h5 {
    font-weight: 600 !important;
    line-height: 1.35 !important;
}

/* Location / secondary information */
.main-homes .item p,
.main-homes .property-item p,
.main-homes .project-item p {
    line-height: 1.6 !important;
}

/* More breathing room between rows */
.main-homes .row {
    row-gap: 28px !important;
}
/* ===== OUR PROJECTS — HIDE SHOWING & SORT BY ===== */

.main-homes .property-filter,
.main-homes .bar-filter,
.main-homes .filter-property {
    display: none !important;
}
/* ==================================================
   OUR PROJECTS — CARD FINAL FINISHING
   ================================================== */

/* Consistent card spacing */
.main-homes .item,
.main-homes .property-item,
.main-homes .project-item {
    margin-bottom: 10px !important;
}

/* Card content breathing space */
.main-homes .item .info,
.main-homes .item .content,
.main-homes .property-item .info,
.main-homes .property-item .content,
.main-homes .project-item .info,
.main-homes .project-item .content {
    padding: 18px 16px 20px !important;
}

/* Project titles */
.main-homes .item h4,
.main-homes .item h5,
.main-homes .property-item h4,
.main-homes .property-item h5,
.main-homes .project-item h4,
.main-homes .project-item h5 {
    font-size: 17px !important;
    font-weight: 600 !important;
    color: #171717 !important;
    margin-bottom: 12px !important;
}

/* Location / secondary text */
.main-homes .item p,
.main-homes .property-item p,
.main-homes .project-item p {
    color: #777777 !important;
    font-size: 12px !important;
}

/* Keep cards aligned */
.main-homes .item,
.main-homes .property-item,
.main-homes .project-item {
    height: 100% !important;
}
/* OUR PROJECTS — REMOVE EMPTY FILTER TOOLBAR */
.search-box > .row.row10:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
}
/* ===== LATEST UPDATES - PREMIUM HERO ===== */

.bgheadproject .ambesten-updates-hero {
    position: absolute !important;
    left: 10% !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 520px !important;
    max-width: 80% !important;
    z-index: 5 !important;
    text-align: left !important;
}

.bgheadproject .ambesten-updates-eyebrow {
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 3px !important;
    margin-bottom: 14px !important;
}

.bgheadproject .ambesten-updates-hero h1 {
    color: #ffffff !important;
    font-size: 38px !important;
    line-height: 1.15 !important;
    font-weight: 400 !important;
    text-transform: none !important;
    margin: 0 0 18px !important;
}

.bgheadproject .ambesten-updates-hero p {
    color: #ffffff !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
    margin: 0 !important;
    opacity: 0.95 !important;
}
/* ===== ABOUT US - PREMIUM HERO ===== */

.bgheadproject .ambesten-about-hero {
    position: absolute !important;
    left: 10% !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 560px !important;
    max-width: 80% !important;
    z-index: 5 !important;
    text-align: left !important;
}

.bgheadproject .ambesten-about-eyebrow {
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 3px !important;
    margin-bottom: 14px !important;
}

.bgheadproject .ambesten-about-hero h1 {
    color: #ffffff !important;
    font-size: 40px !important;
    line-height: 1.15 !important;
    font-weight: 400 !important;
    text-transform: none !important;
    margin: 0 0 18px !important;
}

.bgheadproject .ambesten-about-hero p {
    color: #ffffff !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
    max-width: 540px !important;
    margin: 0 !important;
    opacity: 0.95 !important;
}
/* ===== ABOUT US - PREMIUM STORY SECTION ===== */

.ambesten-about-story {
    max-width: 1180px !important;
    margin: 0 auto !important;
    padding: 80px 20px 90px !important;
    display: grid !important;
    grid-template-columns: 1.15fr 0.85fr !important;
    gap: 70px !important;
    align-items: stretch !important;
}

/* LEFT SIDE */
.ambesten-story-intro {
    padding: 15px 10px !important;
}

.ambesten-story-intro > span,
.ambesten-story-highlight span {
    display: block !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 2.5px !important;
    color: #d47f14 !important;
    margin-bottom: 16px !important;
}

.ambesten-story-intro h2 {
    font-size: 38px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    color: #1f2d2b !important;
    margin: 0 0 25px !important;
}

.ambesten-story-intro p {
    font-size: 15px !important;
    line-height: 1.8 !important;
    color: #666666 !important;
    margin: 0 0 18px !important;
    max-width: 650px !important;
}

/* RIGHT PREMIUM CARD */
.ambesten-story-highlight {
    background: #1f302d !important;
    padding: 55px 45px !important;
    display: flex !important;
    align-items: center !important;
    min-height: 330px !important;
    border-radius: 3px !important;
    box-shadow: 0 18px 45px rgba(0,0,0,0.10) !important;
}

.ambesten-story-highlight h3 {
    color: #ffffff !important;
    font-size: 30px !important;
    line-height: 1.3 !important;
    font-weight: 400 !important;
    margin: 0 0 22px !important;
}

.ambesten-story-highlight p {
    color: rgba(255,255,255,0.78) !important;
    font-size: 14px !important;
    line-height: 1.8 !important;
    margin: 0 !important;
}

/* MOBILE */
@media (max-width: 767px) {

    .ambesten-about-story {
        grid-template-columns: 1fr !important;
        gap: 35px !important;
        padding: 55px 20px 65px !important;
    }

    .ambesten-story-intro h2 {
        font-size: 30px !important;
    }

    .ambesten-story-highlight {
        padding: 40px 30px !important;
        min-height: auto !important;
    }

    .ambesten-story-highlight h3 {
        font-size: 26px !important;
    }
}
/* ===== ABOUT US - VISION & MISSION ===== */

.ambesten-vision-mission {
    max-width: 1180px !important;
    margin: 0 auto 90px !important;
    padding: 0 20px !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 28px !important;
}

.ambesten-vm-card {
    background: #f7f6f2 !important;
    padding: 48px 45px !important;
    min-height: 285px !important;
    border-top: 3px solid #d47f14 !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.ambesten-vm-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08) !important;
}

.ambesten-vm-card > span {
    display: block !important;
    color: #d47f14 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 2.5px !important;
    margin-bottom: 18px !important;
}

.ambesten-vm-card h2 {
    color: #1f302d !important;
    font-size: 31px !important;
    line-height: 1.25 !important;
    font-weight: 400 !important;
    margin: 0 0 22px !important;
}

.ambesten-vm-card p {
    color: #666666 !important;
    font-size: 14px !important;
    line-height: 1.8 !important;
    margin: 0 !important;
}

/* MOBILE */
@media (max-width: 767px) {

    .ambesten-vision-mission {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin-bottom: 60px !important;
    }

    .ambesten-vm-card {
        padding: 38px 28px !important;
        min-height: auto !important;
    }

    .ambesten-vm-card h2 {
        font-size: 27px !important;
    }
}
/* ===== ABOUT US - OUR DEVELOPMENTS ===== */

.ambesten-developments {
    background: #1f302d !important;
    padding: 80px max(20px, calc((100% - 1140px) / 2)) 85px !important;
    margin: 0 !important;
}

.ambesten-developments-head {
    max-width: 720px !important;
    margin-bottom: 45px !important;
}

.ambesten-developments-head > span {
    display: block !important;
    color: #d47f14 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 2.5px !important;
    margin-bottom: 15px !important;
}

.ambesten-developments-head h2 {
    color: #ffffff !important;
    font-size: 38px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    margin: 0 0 20px !important;
}

.ambesten-developments-head p {
    color: rgba(255,255,255,0.72) !important;
    font-size: 14px !important;
    line-height: 1.8 !important;
    margin: 0 !important;
}

/* PROJECT GRID */

.ambesten-project-name-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    border-top: 1px solid rgba(255,255,255,0.16) !important;
    border-left: 1px solid rgba(255,255,255,0.16) !important;
}

.ambesten-project-name-grid > div {
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    min-height: 82px !important;
    padding: 25px 22px !important;

    display: flex !important;
    align-items: center !important;

    border-right: 1px solid rgba(255,255,255,0.16) !important;
    border-bottom: 1px solid rgba(255,255,255,0.16) !important;

    transition: background 0.25s ease !important;
}

.ambesten-project-name-grid > div:hover {
    background: rgba(255,255,255,0.06) !important;
}

/* TABLET */

@media (max-width: 991px) {

    .ambesten-project-name-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* MOBILE */

@media (max-width: 767px) {

    .ambesten-developments {
        padding: 60px 20px 65px !important;
    }

    .ambesten-developments-head h2 {
        font-size: 30px !important;
    }

    .ambesten-project-name-grid {
        grid-template-columns: 1fr !important;
    }

    .ambesten-project-name-grid > div {
        min-height: 65px !important;
        padding: 20px !important;
    }
}
/* ===== ABOUT US - WHY AMBESTEN ===== */

.ambesten-why-us {
    max-width: 1180px !important;
    margin: 0 auto !important;
    padding: 85px 20px 90px !important;
}

/* HEADING */

.ambesten-why-head {
    max-width: 700px !important;
    margin-bottom: 55px !important;
}

.ambesten-why-head > span {
    display: block !important;
    color: #d47f14 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 2.5px !important;
    margin-bottom: 15px !important;
}

.ambesten-why-head h2 {
    color: #1f302d !important;
    font-size: 38px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    margin: 0 0 20px !important;
}

.ambesten-why-head p {
    color: #666666 !important;
    font-size: 14px !important;
    line-height: 1.8 !important;
    margin: 0 !important;
}

/* THREE PRINCIPLES */

.ambesten-why-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0 !important;
    margin-bottom: 70px !important;
    border-top: 1px solid #dddddd !important;
    border-bottom: 1px solid #dddddd !important;
}

.ambesten-why-item {
    padding: 42px 38px !important;
    border-right: 1px solid #dddddd !important;
}

.ambesten-why-item:last-child {
    border-right: none !important;
}

.ambesten-why-number {
    color: #d47f14 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 2px !important;
    margin-bottom: 22px !important;
}

.ambesten-why-item h3 {
    color: #1f302d !important;
    font-size: 22px !important;
    line-height: 1.3 !important;
    font-weight: 400 !important;
    margin: 0 0 16px !important;
}

.ambesten-why-item p {
    color: #707070 !important;
    font-size: 13px !important;
    line-height: 1.8 !important;
    margin: 0 !important;
}

/* FINAL CTA */

.ambesten-about-cta {
    background: #f7f6f2 !important;
    padding: 42px 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 35px !important;
}

.ambesten-about-cta span {
    display: block !important;
    color: #d47f14 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 2.5px !important;
    margin-bottom: 10px !important;
}

.ambesten-about-cta h3 {
    color: #1f302d !important;
    font-size: 24px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    margin: 0 !important;
}

.ambesten-about-cta a {
    display: inline-block !important;
    background: #d47f14 !important;
    color: #ffffff !important;
    padding: 14px 25px !important;
    font-size: 13px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: 0.25s ease !important;
}

.ambesten-about-cta a:hover {
    background: #1f302d !important;
    color: #ffffff !important;
}

/* MOBILE */

@media (max-width: 767px) {

    .ambesten-why-us {
        padding: 60px 20px 65px !important;
    }

    .ambesten-why-head h2 {
        font-size: 30px !important;
    }

    .ambesten-why-grid {
        grid-template-columns: 1fr !important;
        margin-bottom: 45px !important;
    }

    .ambesten-why-item {
        border-right: none !important;
        border-bottom: 1px solid #dddddd !important;
        padding: 32px 10px !important;
    }

    .ambesten-why-item:last-child {
        border-bottom: none !important;
    }

    .ambesten-about-cta {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 35px 28px !important;
    }
}
/* ===== ABOUT US - FINAL SPACING POLISH ===== */

/* Main About content sections */
.ambesten-about-content {
    padding-bottom: 65px !important;
}

/* Vision + Mission area */
.ambesten-vm-grid {
    margin-top: 55px !important;
    margin-bottom: 60px !important;
}

/* Developments section */
.ambesten-developments {
    margin-top: 55px !important;
    margin-bottom: 60px !important;
}

/* Why Ambesten */
.ambesten-why-us {
    padding-top: 65px !important;
    padding-bottom: 65px !important;
}

/* Reduce space before CTA */
.ambesten-why-grid {
    margin-bottom: 50px !important;
}

@media (max-width: 767px) {
    .ambesten-vm-grid,
    .ambesten-developments {
        margin-top: 40px !important;
        margin-bottom: 45px !important;
    }

    .ambesten-why-us {
        padding-top: 50px !important;
        padding-bottom: 55px !important;
    }
}
/* ===== PRIVACY POLICY - PREMIUM HERO ===== */

body:has(.ambesten-privacy-hero) .bgheadproject {
    position: relative !important;
    min-height: 310px !important;
    display: flex !important;
    align-items: center !important;
    background-position: center 42% !important;
    background-size: cover !important;
}

/* Dark premium overlay */
body:has(.ambesten-privacy-hero) .bgheadproject::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(
        90deg,
        rgba(20, 42, 38, 0.90) 0%,
        rgba(20, 42, 38, 0.68) 32%,
        rgba(20, 42, 38, 0.18) 65%,
        rgba(20, 42, 38, 0.05) 100%
    ) !important;
    z-index: 1 !important;
}

.ambesten-privacy-hero {
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
    max-width: 1180px !important;
    margin: 0 auto !important;
    padding: 55px 20px !important;
}

.ambesten-privacy-eyebrow {
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 3px !important;
    margin-bottom: 18px !important;
}

.ambesten-privacy-hero h1 {
    color: #ffffff !important;
    font-size: 40px !important;
    line-height: 1.15 !important;
    font-weight: 400 !important;
    margin: 0 0 20px !important;
}

.ambesten-privacy-hero p {
    color: rgba(255,255,255,0.90) !important;
    font-size: 14px !important;
    line-height: 1.8 !important;
    max-width: 590px !important;
    margin: 0 !important;
}

/* MOBILE */

@media (max-width: 767px) {

    body:has(.ambesten-privacy-hero) .bgheadproject {
        min-height: 290px !important;
    }

    .ambesten-privacy-hero {
        padding: 45px 25px !important;
    }

    .ambesten-privacy-hero h1 {
        font-size: 32px !important;
    }

    .ambesten-privacy-hero p {
        font-size: 13px !important;
        max-width: 90% !important;
    }
}
/* ===== PRIVACY HERO - LEFT ALIGNMENT FIX ===== */

.ambesten-privacy-hero {
    width: 100% !important;
    max-width: 1540px !important;
    margin: 0 auto !important;
    padding: 55px 10% !important;
    text-align: left !important;
}

.ambesten-privacy-hero h1,
.ambesten-privacy-hero p,
.ambesten-privacy-eyebrow {
    text-align: left !important;
}

.ambesten-privacy-hero p {
    max-width: 520px !important;
}

@media (max-width: 767px) {
    .ambesten-privacy-hero {
        padding: 45px 25px !important;
    }
}
/* ===== PRIVACY POLICY HERO - EXACT LEFT POSITION ===== */

body:has(.ambesten-privacy-hero) .ambesten-privacy-hero {
    width: auto !important;
    max-width: 560px !important;

    margin-left: 9.5% !important;
    margin-right: 0 !important;

    padding: 55px 0 !important;
    text-align: left !important;
}

body:has(.ambesten-privacy-hero) .ambesten-privacy-hero h1,
body:has(.ambesten-privacy-hero) .ambesten-privacy-hero p,
body:has(.ambesten-privacy-hero) .ambesten-privacy-eyebrow {
    text-align: left !important;
}

@media (max-width: 767px) {
    body:has(.ambesten-privacy-hero) .ambesten-privacy-hero {
        width: auto !important;
        max-width: none !important;
        margin-left: 25px !important;
        margin-right: 25px !important;
        padding: 45px 0 !important;
    }
}
/* ===== PRIVACY POLICY CONTENT ===== */

body:has(.ambesten-privacy-hero) .container.padtop50 {
    max-width: 1180px !important;
    padding-top: 70px !important;
    padding-bottom: 70px !important;
}

body:has(.ambesten-privacy-hero) .scontent {
    max-width: 900px !important;
    margin: 0 auto !important;
}

body:has(.ambesten-privacy-hero) .scontent > p:first-child {
    font-size: 15px !important;
    line-height: 1.8 !important;
    color: #596360 !important;
    margin-bottom: 45px !important;
}

body:has(.ambesten-privacy-hero) .scontent > h2 {
    font-size: 23px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    color: #19312d !important;

    margin: 0 !important;
    padding: 27px 0 10px !important;

    border-top: 1px solid #e1e4e2 !important;
}

body:has(.ambesten-privacy-hero) .scontent > h2:first-of-type {
    border-top: 2px solid #d97a00 !important;
}

body:has(.ambesten-privacy-hero) .scontent > h2 + p {
    font-size: 14px !important;
    line-height: 1.8 !important;
    color: #66706d !important;
    margin: 0 !important;
    padding-bottom: 27px !important;
}


/* MOBILE */

@media (max-width: 767px) {

    body:has(.ambesten-privacy-hero) .container.padtop50 {
        padding: 45px 24px 55px !important;
    }

    body:has(.ambesten-privacy-hero) .scontent {
        max-width: 100% !important;
    }

    body:has(.ambesten-privacy-hero) .scontent > h2 {
        font-size: 20px !important;
        padding-top: 23px !important;
    }

    body:has(.ambesten-privacy-hero) .scontent > p {
        font-size: 14px !important;
    }
}
/* PRIVACY POLICY - FINAL WIDTH POLISH */

body:has(.ambesten-privacy-hero) .scontent {
    max-width: 1050px !important;
}

body:has(.ambesten-privacy-hero) .scontent > h2 + p,
body:has(.ambesten-privacy-hero) .scontent > p:first-child {
    max-width: 950px !important;
}
/* ===== TERMS & CONDITIONS - PREMIUM HERO ===== */

body:has(.ambesten-terms-hero) .bgheadproject {
    position: relative !important;
    min-height: 310px !important;
    display: flex !important;
    align-items: center !important;
    background-position: center 42% !important;
    background-size: cover !important;
}

body:has(.ambesten-terms-hero) .bgheadproject::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(
        90deg,
        rgba(20,42,38,.90) 0%,
        rgba(20,42,38,.68) 32%,
        rgba(20,42,38,.18) 65%,
        rgba(20,42,38,.05) 100%
    ) !important;
    z-index: 1 !important;
}

body:has(.ambesten-terms-hero) .ambesten-terms-hero {
    position: relative !important;
    z-index: 2 !important;
    width: auto !important;
    max-width: 560px !important;

    margin-left: 9.5% !important;
    margin-right: 0 !important;

    padding: 55px 0 !important;
    text-align: left !important;
}

.ambesten-terms-eyebrow {
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 3px !important;
    margin-bottom: 18px !important;
}

.ambesten-terms-hero h1 {
    color: #ffffff !important;
    font-size: 40px !important;
    line-height: 1.15 !important;
    font-weight: 400 !important;
    margin: 0 0 20px !important;
    text-align: left !important;
}

.ambesten-terms-hero p {
    color: rgba(255,255,255,.90) !important;
    font-size: 14px !important;
    line-height: 1.8 !important;
    max-width: 520px !important;
    margin: 0 !important;
    text-align: left !important;
}

@media (max-width: 767px) {

    body:has(.ambesten-terms-hero) .bgheadproject {
        min-height: 290px !important;
    }

    body:has(.ambesten-terms-hero) .ambesten-terms-hero {
        max-width: none !important;
        margin-left: 25px !important;
        margin-right: 25px !important;
        padding: 45px 0 !important;
    }

    .ambesten-terms-hero h1 {
        font-size: 32px !important;
    }

    .ambesten-terms-hero p {
        font-size: 13px !important;
    }
}
/* ===== TERMS & CONDITIONS CONTENT ===== */

body:has(.ambesten-terms-hero) .container.padtop50 {
    max-width: 1180px !important;
    padding-top: 70px !important;
    padding-bottom: 70px !important;
}

body:has(.ambesten-terms-hero) .scontent {
    max-width: 1050px !important;
    margin: 0 auto !important;
}

/* Opening paragraph */

body:has(.ambesten-terms-hero) .scontent > p:first-child {
    max-width: 950px !important;
    font-size: 15px !important;
    line-height: 1.8 !important;
    color: #596360 !important;
    margin-bottom: 45px !important;
}

/* Section headings */

body:has(.ambesten-terms-hero) .scontent > h2 {
    font-size: 23px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    color: #19312d !important;

    margin: 0 !important;
    padding: 27px 0 10px !important;

    border-top: 1px solid #e1e4e2 !important;
}

body:has(.ambesten-terms-hero) .scontent > h2:first-of-type {
    border-top: 2px solid #d97a00 !important;
}

/* Section text */

body:has(.ambesten-terms-hero) .scontent > h2 + p {
    max-width: 950px !important;
    font-size: 14px !important;
    line-height: 1.8 !important;
    color: #66706d !important;
    margin: 0 !important;
    padding-bottom: 27px !important;
}

/* MOBILE */

@media (max-width: 767px) {

    body:has(.ambesten-terms-hero) .container.padtop50 {
        padding: 45px 24px 55px !important;
    }

    body:has(.ambesten-terms-hero) .scontent {
        max-width: 100% !important;
    }

    body:has(.ambesten-terms-hero) .scontent > h2 {
        font-size: 20px !important;
        padding-top: 23px !important;
    }

    body:has(.ambesten-terms-hero) .scontent > p {
        font-size: 14px !important;
    }
}