.btn-secondary {
    color: #fff !important;
}

img {
    width: 100%;
}

.logo {
    width: 40px;
}

.navbar {
    opacity: 0.9;
    text-transform: uppercase;
}

.social a {
    margin-right: 0.4rem;
}

#top-bar {
    background: linear-gradient(90deg, #0f172a 0%, #142434 100%);
    color: #e2e8f0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#top-bar a {
    color: #e2e8f0 !important;
}

#top-bar a:hover {
    color: #ffffff !important;
}

#top-bar .btn {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

#top-bar .social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    transition: background 0.2s ease, transform 0.2s ease;
}

#top-bar .social a:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}

#top-bar #langSwitcher {
    background-color: rgba(15, 23, 42, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #e2e8f0 !important;
}

#top-bar #langSwitcher option {
    color: #0f172a;
}

.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 22px;
    width: 62px;
    height: 62px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
    border: 1px solid rgba(37, 211, 102, 0.28);
    color: #128c4a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    z-index: 9999;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}

body.ui-nav-open .whatsapp-float,
body.cvc-chat-open .whatsapp-float {
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
}

.whatsapp-float::before {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: inherit;
    background: radial-gradient(circle at 30% 30%, rgba(37, 211, 102, 0.32), rgba(37, 211, 102, 0.08) 68%, rgba(255, 255, 255, 0) 100%);
    opacity: 0.95;
}

.whatsapp-float__inner {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
    box-shadow: 0 8px 20px rgba(18, 140, 74, 0.16);
}

.whatsapp-float__icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.whatsapp-float:hover {
    color: #128c4a;
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(37, 211, 102, 0.42);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.16) inset;
}

.whatsapp-float:focus-visible {
    outline: 2px solid rgba(18, 140, 74, 0.38);
    outline-offset: 3px;
}

#showcase {
    background: url(../../img/brand/showcase.jpg) no-repeat top center fixed/cover;
    position: relative;
    min-height: 650px;
    color: #fff;
    padding-top: 6rem;
}

#showcase .home-search {
    min-height: 400px;
    position: relative;
    border-radius: 5px;
}

#showcase .overlay {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    min-height: 400px;
    width: 100%;
    background: rgba(51, 51, 51, 0.8);
}

#services {
    background: url(../../img/brand/building.jpg) no-repeat top center fixed/cover;
    min-height: 300px;
    position: relative;
    overflow: hidden;
}

#services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    min-height: 100%;
    width: 100%;
    background: rgba(132, 116, 68, 0.8);
}

#showcase-inner {
    background: url(../../img/brand/building.jpg) no-repeat top center fixed/cover;
    position: relative;
    overflow: hidden;
    min-height: 200px;
}

#showcase-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    min-height: 100%;
    width: 100%;
    background: rgba(35, 66, 73, 0.8);
}

#showcase-inner.showcase-search {
    min-height: 270px;
}

#work {
    padding: 6rem 0;
}

.listing-preview a {
    position: relative;
}

@media (max-width: 991px) {
    #showcase {
        padding-top: 4rem;
    }

    #showcase h1 {
        font-size: 40px;
    }

    .hide-md-down {
        display: none;
    }
}

@media (max-width: 768px) {
    #showcase {
        padding-top: 3rem;
    }

    #showcase h1 {
        font-size: 40px;
    }

    #showcase p {
        display: none;
    }

    #top-bar {
        text-align: center;
    }

    #top-bar .social {
        text-align: center !important;
    }
}

@media (max-width: 576px) {
    #showcase h1 {
        font-size: 30px;
    }

    #showcase-inner h1 {
        font-size: 40px;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        right: 10px;
        bottom: max(10px, env(safe-area-inset-bottom, 0px) + 8px);
        width: 54px;
        height: 54px;
        z-index: 1900;
    }

    .whatsapp-float__inner {
        width: 34px;
        height: 34px;
    }

    .whatsapp-float__icon {
        width: 20px;
        height: 20px;
    }
}


.cookie-overlay {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483647 !important;
    background: rgba(15, 23, 42, 0.38) !important;
    display: flex;
    align-items: center !important;
    justify-content: center !important;
    padding: 24px !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    pointer-events: auto;
}

.cookie-overlay--hidden {
    display: none !important;
}

.cookie-modal {
    background: #0f172a;
    color: #f8fafc;
    border-radius: 24px;
    max-width: 480px;
    width: 100%;
    padding: 32px 34px;
    box-shadow: 0 36px 90px rgba(2, 6, 23, 0.48);
    border: 1px solid rgba(148, 163, 184, 0.2);
    pointer-events: auto;
}

.cookie-modal--settings-open {
    max-width: 640px;
}

.cookie-modal__content {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.cookie-modal__stage[hidden] {
    display: none;
}

.cookie-modal__text {
    font-size: 1rem;
    line-height: 1.65;
}

.cookie-modal__text p {
    margin: 0;
}

.cookie-modal__text strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.cookie-modal__link {
    color: #f6cfa4;
    text-decoration: underline;
}

.cookie-modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cookie-modal__preferences {
    display: grid;
    gap: 12px;
    padding: 6px 0 2px;
}

.cookie-modal__preferences[hidden] {
    display: none;
}

.cookie-pref {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(30, 41, 59, 0.78);
    border: 1px solid rgba(148, 163, 184, 0.22);
}

.cookie-pref--static {
    align-items: center;
}

.cookie-pref--toggle {
    cursor: pointer;
}

.cookie-pref--toggle input[type="checkbox"] {
    margin-top: 6px;
}

.cookie-pref__copy {
    flex: 1 1 auto;
}

.cookie-pref__copy strong {
    display: block;
    font-size: 0.98rem;
    margin-bottom: 4px;
    color: #ffffff;
}

.cookie-pref__copy p {
    margin: 0;
    color: rgba(226, 232, 240, 0.92);
    font-size: 0.92rem;
    line-height: 1.5;
}

.cookie-pref input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: #f6cfa4;
    flex: 0 0 auto;
}

.cookie-modal__actions .btn {
    border-radius: 999px;
    min-width: 140px;
    padding: 10px 22px;
    font-weight: 600;
}

.cookie-modal__settings-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-modal-open {
    overflow: hidden;
    overscroll-behavior: none;
}

@media (max-width: 576px) {
    .cookie-overlay {
        padding: 14px !important;
    }

    .cookie-modal {
        padding: 20px;
        max-width: none;
    }

    .cookie-modal__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-modal__settings-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-pref {
        flex-direction: column;
    }
}
