/********** Site CSS **********/
:root {
    --primary: #D7A23A;
    --secondary: #15B8C8;
    --tertiary: #6F7781;
    --light: #F4F6F7;
    --dark: #111418;
    --metal: #2D3339;
    --bs-primary: #D7A23A;
    --bs-secondary: #15B8C8;
    --bs-light: #F4F6F7;
    --bs-dark: #111418;
}

html {
    direction: rtl;
}

body {
    direction: rtl;
    text-align: right;
    font-family: "Heebo", sans-serif;
    color: var(--tertiary);
    background: #FFFFFF;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
    font-family: "Heebo", sans-serif;
    color: var(--dark);
}

.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-dark {
    background-color: var(--dark) !important;
}

.border-primary {
    border-color: var(--primary) !important;
}

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

.btn-primary:hover,
.btn-primary:focus {
    color: #FFFFFF;
    background-color: #B98522;
    border-color: #B98522;
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.back-to-top {
    position: fixed;
    display: none;
    left: 30px;
    bottom: 30px;
    z-index: 99;
}

.whatsapp-float {
    position: fixed;
    left: 27px;
    bottom: 160px;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: #FFFFFF;
    border-radius: 50%;
    box-shadow: 0 12px 30px rgba(37, 211, 102, .35);
    font-size: 1.6rem;
    z-index: 999998;
    transition: transform .2s, box-shadow .2s, opacity .4s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
    color: #FFFFFF;
    transform: scale(1.08);
    box-shadow: 0 14px 34px rgba(37, 211, 102, .48);
}

.whatsapp-float,
#a11y-widget {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .4s ease, visibility 0s linear .4s;
}

.whatsapp-float.scroll-visible,
#a11y-widget.scroll-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity .4s ease, visibility 0s linear 0s;
}

.mobile-contact-bar {
    display: none;
}

.cookie-banner {
    position: fixed;
    right: 24px;
    bottom: 24px;
    left: 24px;
    z-index: 999997;
    max-width: 760px;
    margin: 0 auto;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: #fff;
    background: var(--dark);
    border: 1px solid rgba(215, 162, 58, .45);
    border-radius: 1rem;
    box-shadow: 0 16px 45px rgba(17, 20, 24, .25);
}

.cookie-banner-text {
    line-height: 1.7;
}

.cookie-banner a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: underline;
}

.cookie-accept {
    flex: 0 0 auto;
    min-width: 92px;
    padding: .65rem 1rem;
    border: 0;
    border-radius: .5rem;
    color: var(--dark);
    background: var(--primary);
    font-weight: 700;
}

.cookie-accept:hover,
.cookie-accept:focus-visible {
    background: #e6b54e;
    outline: 3px solid rgba(215, 162, 58, .35);
    outline-offset: 2px;
}

.cookie-banner-hide {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .2s ease, transform .2s ease;
}

.d-flex > .ps-3 {
    min-width: 0;
    flex: 1 1 auto;
}

h1,
.h1,
h2,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
.h3,
h4,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.fixed-top {
    transition: .5s;
}

.navbar-phone-compact {
    display: flex;
    align-items: center;
    gap: .5rem;
    max-width: 0;
    padding: 0 !important;
    margin: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    white-space: nowrap;
    pointer-events: none;
    border-width: 0;
    transform: translateY(-4px);
}

.top-bar {
    height: 45px;
    color: #FFFFFF;
    background: var(--dark);
    border-bottom: 1px solid rgba(215, 162, 58, .25);
}

.contact-link {
    color: inherit;
}

.contact-link:hover {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-right: 8px;
}

.navbar .navbar-nav .nav-link {
    padding: 25px 15px;
    color: var(--tertiary);
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, .07);
        background: #FFFFFF;
        text-align: right;
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .fixed-top.bg-white .navbar-contact-actions > .btn:not(.navbar-phone-compact) {
        display: none;
    }

    .fixed-top.bg-white .navbar-phone-compact {
        max-width: 180px;
        padding: .55rem .9rem !important;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        border-width: 1px;
        transform: translateY(0);
    }

    .fixed-top:not(.bg-white) .navbar .navbar-nav .nav-link {
        color: #FFFFFF;
    }

    .fixed-top:not(.bg-white) .navbar .navbar-nav .nav-link:hover,
    .fixed-top:not(.bg-white) .navbar .navbar-nav .nav-link.active {
        color: var(--primary);
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: start;
    z-index: 1;
}

#header-carousel .carousel-item::before {
    position: absolute;
    content: "";
    inset: 0;
    background: linear-gradient(90deg, rgba(17, 20, 24, .35), rgba(17, 20, 24, .85));
    z-index: 1;
}

#header-carousel .carousel-caption {
    z-index: 2;
}

#header-carousel .carousel-caption h1 {
    color: #FFFFFF;
    text-shadow: 0 4px 24px rgba(0, 0, 0, .35);
}

.blur-text {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.blur-text-word {
    display: inline-block;
    will-change: transform, filter, opacity;
}

.blur-text-word:not(:last-child)::after {
    content: "\00a0";
}

#header-carousel .carousel-caption p {
    background: rgba(17, 20, 24, .72);
}

#header-carousel .carousel-item {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

#header-carousel .carousel-item picture {
    display: block;
    position: absolute;
    inset: 0;
}

#header-carousel .carousel-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.carousel-control-prev,
.carousel-control-next {
    width: 3rem;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}

.carousel-control-prev-icon {
    border-radius: 3rem 0 0 3rem;
}

.carousel-control-next-icon {
    border-radius: 0 3rem 3rem 0;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item img {
        object-position: 60% center;
    }

    #header-carousel .carousel-caption {
        align-items: flex-end;
        padding-bottom: 8%;
    }
}

.page-header {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: linear-gradient(rgba(17, 20, 24, .72), rgba(17, 20, 24, .62)), url(../img/aluminum-header-optimized.jpg) center center no-repeat;
    background-size: cover;
}

.page-header h1 {
    color: #FFFFFF;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-weight: 500;
}

.page-header .breadcrumb-item a {
    color: var(--primary);
}

.page-header .breadcrumb-item a:hover {
    color: var(--secondary);
}

.page-header .breadcrumb-item.active {
    color: var(--light);
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    float: right;
    padding-left: .5rem;
    padding-right: 0;
    color: var(--light);
}

.breadcrumb-item+.breadcrumb-item {
    padding-left: 0;
    padding-right: .5rem;
}


/*** Service ***/
.service .nav .nav-link {
    transition: .5s;
}

.service .nav .nav-link.active {
    border-color: var(--primary) !important;
    background: var(--primary);
}

.service .nav .nav-link.active h5 {
    color: #FFFFFF !important;
}

.service .nav .nav-link.active h5 i {
    color: #FFFFFF !important;
}


.nav-tabs {
    border-bottom: 1px solid #DEE2E6;
}

.nav-tabs .nav-link {
    color: var(--tertiary);
    border: 1px solid transparent;
    transition: .3s;
}

.nav-tabs .nav-link:hover {
    color: var(--primary);
}

.nav-tabs .nav-link.active {
    color: var(--primary);
    background: transparent;
    border-color: transparent transparent var(--primary);
}


/*** Project ***/
.project-item,
.project-item .project-img {
    position: relative;
}

.gallery-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.project-item .project-img a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    background: rgba(255, 255, 255, .5);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    opacity: 0;
    transition: .5s;
}

.project-item:hover .project-img a {
    opacity: 1;
}

.project-item .project-title {
    border: 1px solid var(--light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    min-height: 4.5rem;
    padding: 12px 18px;
    transition: .5s;
}

.project-item:hover .project-title {
    background: var(--primary);
    border-color: var(--primary);
}

.project-item .project-title h4 {
    width: 100%;
    min-width: 0;
    font-size: 1.1rem;
    line-height: 1.4;
    transition: .5s;
}

.project-item:hover .project-title h4 {
    color: #FFFFFF;
}

.project-carousel .owl-nav {
    margin-top: 25px;
    display: flex;
    justify-content: center;
}

.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--light);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.project-carousel .owl-nav .owl-prev:hover,
.project-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Testimonials ***/
#testimonials {
    scroll-margin-top: 120px;
}

.testimonial-item {
    padding-bottom: 12px;
}

.testimonial-video {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border-radius: 8px;
    background: var(--dark);
    box-shadow: 0 10px 30px rgba(17, 20, 24, .12);
}

.testimonial-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.testimonial-video::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 20, 24, 0) 55%, rgba(17, 20, 24, .55) 100%);
    opacity: 1;
    transition: .3s;
    pointer-events: none;
}

.testimonial-video.is-playing::after {
    opacity: 0;
}

.testimonial-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--primary);
    color: #FFFFFF;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(17, 20, 24, .4);
    transition: .3s;
    z-index: 2;
}

.testimonial-play i {
    margin-right: -3px;
}

.testimonial-play:hover {
    transform: translate(-50%, -50%) scale(1.08);
    background: var(--dark);
}

.testimonial-video.is-playing .testimonial-play {
    opacity: 0;
    visibility: hidden;
}

.testimonial-carousel .owl-nav {
    margin-top: 25px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--light);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Gallery Lightbox ***/
.gallery-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(17, 20, 24, .95);
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.gallery-lightbox.show {
    display: flex;
}

.gallery-lightbox-figure {
    margin: 0;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-lightbox-img {
    max-width: 90vw;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
}

.gallery-lightbox-caption {
    color: #FFFFFF;
    text-align: center;
    margin-top: 16px;
    font-size: 1rem;
    max-width: 90vw;
}

.gallery-lightbox-close {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 45px;
    background: rgba(255, 255, 255, .1);
    color: #FFFFFF;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
}

.gallery-lightbox-close:hover {
    background: var(--primary);
}

.gallery-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50px;
    background: rgba(255, 255, 255, .1);
    color: #FFFFFF;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
}

.gallery-lightbox-nav:hover {
    background: var(--primary);
}

.gallery-lightbox-prev {
    right: 20px;
}

.gallery-lightbox-next {
    left: 20px;
}

@media (max-width: 576px) {
    .gallery-lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .gallery-lightbox-close {
        width: 40px;
        height: 40px;
        top: 12px;
        left: 12px;
    }

    .gallery-lightbox-prev {
        right: 8px;
    }

    .gallery-lightbox-next {
        left: 8px;
    }
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: right;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f104";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: var(--light);
    background: #080A0D;
}

.copyright a {
    color: var(--light);
}

.copyright a:hover {
    color: var(--primary);
}

[dir="rtl"] .text-start {
    text-align: right !important;
}

[dir="rtl"] .text-end {
    text-align: left !important;
}

[dir="rtl"] .ms-auto {
    margin-right: auto !important;
    margin-left: 0 !important;
}

[dir="rtl"] .ms-2 {
    margin-right: .5rem !important;
    margin-left: 0 !important;
}

[dir="rtl"] .ms-3 {
    margin-right: 1rem !important;
    margin-left: 0 !important;
}

[dir="rtl"] .ms-4 {
    margin-right: 1.5rem !important;
    margin-left: 0 !important;
}

[dir="rtl"] .me-2 {
    margin-left: .5rem !important;
    margin-right: 0 !important;
}

[dir="rtl"] .me-3 {
    margin-left: 1rem !important;
    margin-right: 0 !important;
}

[dir="rtl"] .me-4 {
    margin-left: 1.5rem !important;
    margin-right: 0 !important;
}

[dir="rtl"] .ps-3 {
    padding-right: 1rem !important;
    padding-left: 0 !important;
}

[dir="rtl"] .ps-4 {
    padding-right: 1.5rem !important;
    padding-left: 0 !important;
}

[dir="rtl"] .pe-5 {
    padding-left: 3rem !important;
    padding-right: 0 !important;
}

[dir="rtl"] .border-end {
    border-left: 1px solid #dee2e6 !important;
    border-right: 0 !important;
}

[dir="rtl"] .form-floating > label {
    right: 0;
    left: auto;
    text-align: right;
}

[dir="rtl"] .form-floating > .form-control {
    text-align: right;
}

.privacy-consent {
    padding-right: 1.75rem;
    padding-left: 0;
    color: var(--tertiary);
}

.privacy-consent .form-check-input {
    float: right;
    margin-right: -1.75rem;
    margin-left: 0;
}

.privacy-consent a {
    color: var(--primary);
    font-weight: 600;
}

[dir="rtl"] .position-absolute.end-0 {
    left: 0 !important;
    right: auto !important;
}

[dir="rtl"] .footer .position-relative .form-control {
    padding-left: 5rem !important;
}

[dir="rtl"] .service .nav .nav-link h5 {
    text-align: right;
}

[dir="rtl"] .project-carousel {
    direction: rtl;
}

[dir="rtl"] .project-carousel .project-item {
    direction: rtl;
}

/*** Process ***/
.process {
    background: var(--dark);
}

.process-step {
    height: 100%;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, .15);
}

.process-number {
    display: block;
    font-size: 2.75rem;
    font-weight: 300;
    color: var(--primary);
    line-height: 1;
    margin-bottom: .75rem;
}

.process-step p {
    color: rgba(255, 255, 255, .65);
}


/*** Warranty ***/
.warranty img {
    height: 100%;
    max-height: 420px;
    width: 100%;
    object-fit: cover;
}

.warranty-img-wrap {
    position: relative;
    height: 100%;
}

.warranty-img-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: .375rem;
    background: linear-gradient(180deg, rgba(17, 20, 24, .15) 0%, rgba(17, 20, 24, .25) 45%, rgba(17, 20, 24, .75) 100%);
    pointer-events: none;
}

.warranty-logo-wrap {
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: #fff;
    border: 3px solid var(--dark);
    border-radius: 1rem;
    box-shadow: 0 16px 40px rgba(17, 20, 24, .12);
}

.warranty-logo-wrap::after {
    content: none;
}

.warranty img.warranty-logo {
    height: auto;
    max-height: 410px;
    object-fit: contain;
}

/*** Legal Pages ***/
.legal-page-content {
    color: var(--body);
}

.legal-page-content .col-lg-10 {
    padding-top: 2rem;
    border-top: 1px solid rgba(215, 162, 58, .35);
}

.legal-page-content h3 {
    margin-top: 2.25rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.legal-page-content p,
.legal-page-content li {
    font-size: 1.05rem;
    line-height: 1.9;
}

.legal-page-content ul {
    padding-right: 1.25rem;
    padding-left: 0;
}

.legal-page-content a {
    color: var(--primary);
    font-weight: 600;
}


@media (max-width: 575.98px) {
    .navbar-brand .display-5 {
        font-size: 1.6rem;
    }

    .carousel-caption .btn {
        width: 100%;
    }

    .cookie-banner {
        right: 12px;
        bottom: 12px;
        left: 12px;
        padding: 1rem;
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-accept {
        width: 100%;
    }

    .legal-page-content .col-lg-10 {
        padding-top: 1.5rem;
    }
}

@media (max-width: 991.98px) {
    :root {
        --mobile-contact-bar-height: 62px;
        --mobile-floating-gap: 18px;
        --mobile-floating-step: 64px;
    }

    body {
        padding-bottom: calc(var(--mobile-contact-bar-height) + env(safe-area-inset-bottom));
    }

    .mobile-contact-bar {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 999996;
        display: flex;
        min-height: var(--mobile-contact-bar-height);
        padding-bottom: env(safe-area-inset-bottom);
        direction: rtl;
        color: #FFFFFF;
        background: rgba(17, 20, 24, .97);
        border-top: 1px solid rgba(215, 162, 58, .55);
        box-shadow: 0 -10px 30px rgba(17, 20, 24, .18);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(100%);
        transition: opacity .3s ease, visibility 0s linear .3s, transform .3s var(--ease);
    }

    .mobile-contact-bar.scroll-visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        transition: opacity .3s ease, visibility 0s linear 0s, transform .3s var(--ease);
    }

    .mobile-contact-action {
        flex: 1 1 50%;
        min-width: 0;
        min-height: var(--mobile-contact-bar-height);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: .55rem;
        padding: .65rem .75rem;
        color: #FFFFFF;
        font-weight: 700;
        text-align: center;
        text-decoration: none;
        white-space: nowrap;
        transition: background-color .2s ease, color .2s ease;
    }

    .mobile-contact-action + .mobile-contact-action {
        border-inline-start: 1px solid rgba(255, 255, 255, .12);
    }

    .mobile-contact-phone i {
        color: var(--gold-1);
    }

    .mobile-contact-whatsapp i {
        color: #45DD7D;
        font-size: 1.2rem;
    }

    .mobile-contact-action:hover,
    .mobile-contact-action:focus-visible,
    .mobile-contact-action:active {
        color: #FFFFFF;
        background: rgba(255, 255, 255, .08);
    }

    .mobile-contact-action:focus-visible {
        outline: 3px solid var(--gold);
        outline-offset: -4px;
    }

    .back-to-top {
        bottom: calc(var(--mobile-contact-bar-height) + var(--mobile-floating-gap) + env(safe-area-inset-bottom));
    }

    html #a11y-widget {
        bottom: calc(var(--mobile-contact-bar-height) + var(--mobile-floating-gap) + var(--mobile-floating-step) + env(safe-area-inset-bottom));
    }

    .whatsapp-float {
        display: none !important;
    }

    .cookie-banner {
        bottom: calc(12px + env(safe-area-inset-bottom));
    }

    .mobile-contact-bar.scroll-visible ~ .cookie-banner {
        bottom: calc(12px + var(--mobile-contact-bar-height) + env(safe-area-inset-bottom));
    }

    html.cookie-banner-visible .back-to-top {
        display: none !important;
    }

    html.cookie-banner-visible .whatsapp-float,
    html.cookie-banner-visible #a11y-widget {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}


/*==================================================================
  Premium Polish Layer
  Refined finishes applied site-wide (shared across all pages).
  RTL-safe (logical properties) and fully responsive.
==================================================================*/

:root {
    --gold-1: #E7C06A;
    --gold: #D7A23A;
    --gold-2: #B98522;
    --gold-soft: rgba(215, 162, 58, .12);
    --hairline: rgba(17, 20, 24, .08);
    --shadow-sm: 0 1px 2px rgba(17, 20, 24, .06), 0 6px 16px rgba(17, 20, 24, .06);
    --shadow-md: 0 8px 20px rgba(17, 20, 24, .08), 0 20px 44px rgba(17, 20, 24, .10);
    --shadow-lg: 0 14px 30px rgba(17, 20, 24, .12), 0 34px 64px rgba(17, 20, 24, .16);
    --shadow-gold: 0 10px 26px rgba(215, 162, 58, .32);
    --ease: cubic-bezier(.22, 1, .36, 1);
}

/*** Global refinements ***/
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

::selection {
    background: var(--gold);
    color: #fff;
}

p {
    line-height: 1.85;
}

h1, .h1, h2, .h2, .display-1, .display-3, .display-5 {
    letter-spacing: -.015em;
}

/* Fluid, elegant display type */
.display-1 {
    font-size: clamp(2.4rem, 4.5vw + 1rem, 4.4rem);
    line-height: 1.08;
}

.display-3 {
    font-size: clamp(2.2rem, 3.2vw + 1rem, 3.4rem);
    line-height: 1.12;
}

.display-5 {
    font-size: clamp(1.9rem, 2.2vw + 1rem, 2.75rem);
    line-height: 1.18;
}

/* Softer, cohesive corner radius across imagery and cards */
.rounded {
    border-radius: 14px !important;
}

/* Refined keyboard focus ring for accessibility */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.form-control:focus-visible {
    outline: 3px solid rgba(215, 162, 58, .45);
    outline-offset: 2px;
}

/* Custom scrollbar (desktop) */
@media (min-width: 992px) {
    * {
        scrollbar-width: thin;
        scrollbar-color: var(--gold) #EDEFF1;
    }

    ::-webkit-scrollbar {
        width: 10px;
        height: 10px;
    }

    ::-webkit-scrollbar-track {
        background: #EDEFF1;
    }

    ::-webkit-scrollbar-thumb {
        background: linear-gradient(var(--gold-1), var(--gold));
        border-radius: 10px;
        border: 2px solid #EDEFF1;
    }
}

/*** Section eyebrow badges ***/
.d-inline-block.border.rounded.text-primary,
.d-inline-block.border.rounded.text-white {
    position: relative;
    border: 0 !important;
    border-radius: 50rem !important;
    background: var(--gold-soft);
    padding: .5rem 1.1rem !important;
    margin-bottom: 1rem;
    font-size: .82rem;
    letter-spacing: .06em;
    font-weight: 600 !important;
}

.d-inline-block.border.rounded.text-white {
    background: rgba(255, 255, 255, .1);
}

/*** Buttons ***/
.btn {
    border-radius: 10px;
    letter-spacing: .01em;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease),
        background-color .35s var(--ease), background-image .35s var(--ease),
        color .35s var(--ease), border-color .35s var(--ease);
}

.btn-primary {
    background-image: linear-gradient(135deg, var(--gold-1), var(--gold));
    border-color: transparent;
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover,
.btn-primary:focus {
    background-image: linear-gradient(135deg, var(--gold), var(--gold-2));
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(215, 162, 58, .45);
}

.btn-outline-primary {
    border-width: 2px;
}

.btn-outline-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

/*** Navbar ***/
.fixed-top.bg-white {
    background: rgba(255, 255, 255, .9) !important;
    -webkit-backdrop-filter: saturate(150%) blur(10px);
    backdrop-filter: saturate(150%) blur(10px);
    box-shadow: 0 6px 24px rgba(17, 20, 24, .08) !important;
}

.navbar-phone-compact {
    transition: max-width .3s var(--ease), opacity .2s ease, transform .3s var(--ease),
        box-shadow .35s var(--ease), background-color .35s var(--ease), background-image .35s var(--ease);
}

.navbar-brand .display-5 {
    letter-spacing: -.02em;
}

@media (min-width: 992px) {
    .navbar .navbar-nav .nav-link {
        position: relative;
    }

    .navbar .navbar-nav .nav-link::after {
        content: "";
        position: absolute;
        left: 15px;
        right: 15px;
        bottom: 18px;
        height: 2px;
        border-radius: 2px;
        background: var(--gold);
        transform: scaleX(0);
        transform-origin: center;
        transition: transform .3s var(--ease);
    }

    .navbar .navbar-nav .nav-link:hover::after,
    .navbar .navbar-nav .nav-link.active::after {
        transform: scaleX(1);
    }
}

/*** Hero ***/
#header-carousel .carousel-item::before {
    background: linear-gradient(90deg, rgba(17, 20, 24, .35), rgba(17, 20, 24, .82)),
        linear-gradient(0deg, rgba(17, 20, 24, .55), transparent 40%);
}

#header-carousel .carousel-caption h1 {
    letter-spacing: -.02em;
}

.carousel-caption .btn.btn-primary {
    padding-block: 1rem;
}

/*** Cards & bordered panels ***/
.border.rounded.p-4 {
    border-color: var(--hairline) !important;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}

.border.rounded.p-4:hover {
    box-shadow: var(--shadow-md);
}

/* About feature icons */
.btn-lg-square.rounded-circle.bg-primary {
    background-image: linear-gradient(135deg, var(--gold-1), var(--gold));
    box-shadow: var(--shadow-gold);
}

/*** Services ***/
.service .nav-link.border {
    border-radius: 12px !important;
    border-color: var(--hairline) !important;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
}

.service .nav-link.border:hover {
    transform: translateX(-5px);
    border-color: var(--gold) !important;
    box-shadow: var(--shadow-md);
}

.service .nav .nav-link.active {
    background: none;
    background-image: linear-gradient(135deg, var(--gold-1), var(--gold));
    box-shadow: var(--shadow-gold);
    transform: translateX(-5px);
}

.service .tab-content .rounded {
    box-shadow: var(--shadow-md);
}

/*** Process ***/
.process {
    background: radial-gradient(130% 130% at 100% 0%, #1b2027 0%, var(--dark) 55%);
}

.process-step {
    border-top: 2px solid rgba(255, 255, 255, .12);
    transition: border-color .4s var(--ease), transform .4s var(--ease);
}

.process-step:hover {
    border-top-color: var(--gold);
    transform: translateY(-4px);
}

.process-number {
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold-1), var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/*** Warranty ***/
.warranty {
    background: linear-gradient(180deg, #fff, var(--light));
}

.warranty-logo-wrap {
    border-color: transparent;
    box-shadow: var(--shadow-lg);
}

/*** Testimonials ***/
.testimonial {
    background: linear-gradient(180deg, #fff, var(--light));
}

.testimonial-video {
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}

.testimonial-item:hover .testimonial-video {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/*** Projects ***/
.project-item .project-img {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .4s var(--ease);
}

.project-item .project-img img {
    transition: transform .6s var(--ease);
}

.project-item:hover .project-img {
    box-shadow: var(--shadow-md);
}

.project-item:hover .project-img img {
    transform: scale(1.06);
}

.project-item .project-img a {
    background: linear-gradient(0deg, rgba(17, 20, 24, .55), rgba(215, 162, 58, .2));
    border-radius: 0;
}

.project-item .project-title {
    border-color: var(--hairline) !important;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.project-item:hover .project-title {
    background: none;
    background-image: linear-gradient(135deg, var(--gold-1), var(--gold));
    box-shadow: var(--shadow-gold);
}

/*** Carousel navigation (owl) ***/
.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next,
.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    background: #fff;
    border: 1px solid var(--hairline);
    box-shadow: var(--shadow-sm);
}

.project-carousel .owl-nav .owl-prev:hover,
.project-carousel .owl-nav .owl-next:hover,
.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: linear-gradient(135deg, var(--gold-1), var(--gold));
    border-color: transparent;
    color: #fff;
    box-shadow: var(--shadow-gold);
}

/*** Forms ***/
.form-floating > .form-control {
    border-radius: 12px;
    border-color: var(--hairline);
    transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 .2rem rgba(215, 162, 58, .18);
}

/*** Contact map ***/
.contact-map-wrap,
.container-xxl .position-relative.rounded.overflow-hidden {
    box-shadow: var(--shadow-md);
}

/*** Footer ***/
.footer {
    position: relative;
    background: linear-gradient(180deg, #14181d, var(--dark)) !important;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.footer .btn-square.btn-outline-light {
    transition: transform .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}

.footer .btn-square.btn-outline-light:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--dark);
    transform: translateY(-3px);
}

.copyright a.border-bottom {
    border-bottom: 0 !important;
    color: var(--gold) !important;
    font-weight: 700;
}

.copyright a.border-bottom:hover,
.copyright a.border-bottom:focus-visible {
    color: var(--gold-1) !important;
}

/*** Page header (inner pages) ***/
.page-header {
    padding-top: clamp(9rem, 12vw, 12rem);
    padding-bottom: clamp(4rem, 7vw, 6rem);
    background: linear-gradient(rgba(17, 20, 24, .78), rgba(17, 20, 24, .62)), url(../img/aluminum-header-optimized.jpg) center center no-repeat;
    background-size: cover;
}

/*** Motion preferences ***/
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}

/*** Small screens ***/
@media (max-width: 575.98px) {
    .navbar-brand .display-5 {
        font-size: 1.6rem;
    }

    .service .nav-link.border:hover,
    .service .nav .nav-link.active {
        transform: none;
    }
}
