/* =========================================================
   MARVALET
   GLOBAL / BASE STYLES
========================================================= */


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    min-height: 100vh;

    font-family: Arial, Helvetica, sans-serif;

    background: #080808;
    color: #ffffff;

    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


img {
    display: block;

    width: 100%;
    max-width: 100%;
}


a {
    color: inherit;
    text-decoration: none;
}


ul {
    list-style: none;
}


button,
input,
textarea,
select {
    font: inherit;
}



/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: min(1280px, 92%);

    margin: 0 auto;
}



/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: sticky;

    top: 0;

    z-index: 1000;

    width: 100%;

    background: rgba(4, 4, 4, 0.97);

    border-bottom: 1px solid #292929;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}



/* =========================================================
   HEADER CONTAINER
========================================================= */

.header-container {
    min-height: 118px;

    display: grid;

    grid-template-columns:
        320px
        1fr
        215px;

    align-items: center;

    gap: 35px;
}



/* =========================================================
   HEADER LOGO
========================================================= */

.brand-logo {
    width: 285px;

    display: flex;

    align-items: center;
    justify-content: flex-start;
}


.brand-logo img {
    width: 100%;
    height: 96px;

    display: block;

    object-fit: contain;

    object-position: left center;
}



/* Fallback if old text logo is still used */

.logo {
    color: #ffffff;

    font-size: 1.7rem;

    font-weight: 800;

    letter-spacing: 3px;

    text-transform: uppercase;
}



/* =========================================================
   MAIN NAVIGATION
========================================================= */

.main-nav {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 38px;
}


.main-nav a {
    position: relative;

    padding: 40px 0;

    color: #c7c7c7;

    font-size: 1.2rem;

    font-weight: 700;

    line-height: 1;

    letter-spacing: 0.2px;

    transition: color 0.2s ease;
}


.main-nav a::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 28px;

    width: 0;
    height: 2px;

    background: #ffffff;

    transform: translateX(-50%);

    transition: width 0.22s ease;
}


.main-nav a:hover {
    color: #ffffff;
}


.main-nav a:hover::after {
    width: 100%;
}



/* =========================================================
   HEADER ACTIONS
========================================================= */

.header-actions {
    display: flex;

    align-items: center;
    justify-content: flex-end;
}



/* =========================================================
   HEADER GET A QUOTE BUTTON
========================================================= */

.header-quote-button {
    min-width: 190px;
    min-height: 56px;

    padding: 15px 20px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    background: #ffffff;

    border: 1px solid #ffffff;

    border-radius: 2px;

    color: #080808;

    font-size: 1rem;

    font-weight: 800;

    letter-spacing: 1.1px;

    text-transform: uppercase;

    transition: none;
}


.header-quote-button:hover {
    background: #ffffff;

    border-color: #ffffff;

    color: #080808;

    transform: none;

    filter: none;
}


.header-quote-button span {
    color: #080808;
}


.header-quote-button i {
    color: #080808;

    font-size: 0.9rem;
}



/* =========================================================
   GENERAL BUTTONS
========================================================= */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    padding: 13px 22px;

    border: 1px solid transparent;

    border-radius: 2px;

    font-size: 0.78rem;

    font-weight: 700;

    letter-spacing: 0.8px;

    text-transform: uppercase;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}


.btn-primary {
    background: #ffffff;

    border-color: #ffffff;

    color: #080808;
}


.btn-primary:hover {
    background: #e4e4e4;

    border-color: #e4e4e4;

    color: #080808;
}


.btn-secondary {
    background: transparent;

    color: #ffffff;

    border-color: #555555;
}


.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.04);

    border-color: #ffffff;
}



/* =========================================================
   TYPOGRAPHY
========================================================= */

.eyebrow {
    margin-bottom: 15px;

    color: #b8bdc2;

    font-size: 0.75rem;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;
}



/* =========================================================
   GENERAL SECTIONS
========================================================= */

.section {
    padding: 85px 0;
}


.section-dark {
    background: #111111;
}


.section-heading {
    max-width: 720px;

    margin: 0 auto 45px;

    text-align: center;
}


.section-heading h2 {
    margin-bottom: 12px;

    color: #ffffff;

    font-size:
        clamp(
            2rem,
            4vw,
            3rem
        );

    font-weight: 700;

    line-height: 1.1;

    text-transform: uppercase;
}


.section-heading p {
    color: #999999;
}



/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    min-height: 680px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background-image:
        linear-gradient(
            90deg,
            #080808 0%,
            #080808 24%,
            rgba(8, 8, 8, 0.97) 32%,
            rgba(8, 8, 8, 0.82) 43%,
            rgba(8, 8, 8, 0.45) 57%,
            rgba(8, 8, 8, 0.12) 76%,
            rgba(8, 8, 8, 0.02) 100%
        ),
        var(--hero-image);

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;
}


.hero-container {
    width: 100%;

    margin: 0;

    padding-left: 45px;
    padding-right: 45px;
}


.hero-content {
    width: 58%;

    max-width: 690px;

    padding: 100px 0;
}


.hero h1 {
    margin-bottom: 25px;

    color: #ffffff;

    font-size:
        clamp(
            3rem,
            5vw,
            5rem
        );

    font-weight: 700;

    line-height: 0.98;

    letter-spacing: -2px;

    text-transform: uppercase;
}


.hero-text {
    max-width: 550px;

    margin-bottom: 30px;

    color: #b6b6b6;

    font-size: 1rem;
}


.hero-buttons {
    display: flex;

    gap: 14px;

    flex-wrap: wrap;
}



/* =========================================================
   TRUST STRIP
========================================================= */

.trust-strip {
    background: #111111;

    border-top: 1px solid #222222;
    border-bottom: 1px solid #222222;
}


.trust-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);
}


.trust-item {
    padding: 28px 20px;

    text-align: center;

    border-right: 1px solid #252525;
}


.trust-item:last-child {
    border-right: none;
}


.trust-icon {
    margin-bottom: 10px;
}


.trust-icon i {
    color: #ffffff;

    font-size: 1.45rem;
}


.trust-item h3 {
    margin-bottom: 6px;

    color: #ffffff;

    font-size: 0.8rem;

    font-weight: 700;

    letter-spacing: 0.5px;

    text-transform: uppercase;
}


.trust-item p {
    color: #8f8f8f;

    font-size: 0.8rem;
}



/* =========================================================
   SERVICES
========================================================= */

.service-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;
}


.service-card {
    overflow: hidden;

    background: #111111;

    border: 1px solid #262626;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}


.service-card:hover {
    transform: translateY(-6px);

    border-color: #555555;
}


.service-card-image {
    height: 190px;

    overflow: hidden;
}


.service-card-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.35s ease;
}


.service-card:hover
.service-card-image img {
    transform: scale(1.05);
}


.service-card-content {
    padding: 22px;
}


.service-type {
    margin-bottom: 7px;

    color: #8b8f93;

    font-size: 0.67rem;

    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


.service-card h3 {
    margin-bottom: 10px;

    color: #ffffff;

    font-size: 1rem;

    font-weight: 700;

    text-transform: uppercase;
}


.service-card-content
> p:not(.service-type) {
    color: #999999;

    font-size: 0.85rem;
}


.card-link {
    display: inline-block;

    margin-top: 20px;

    color: #ffffff;

    font-size: 0.72rem;

    font-weight: 700;

    letter-spacing: 0.8px;

    text-transform: uppercase;
}


.card-link:hover {
    color: #c9cdd1;
}


.section-cta {
    margin-top: 35px;

    text-align: center;
}



/* =========================================================
   BEFORE & AFTER
========================================================= */

.before-after-section {
    padding: 90px 0;

    background: #0d0d0d;
}


.before-after-info {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding: 25px 0;
}


.before-after-info h3 {
    color: #ffffff;

    font-size: 1.2rem;

    text-transform: uppercase;
}



/* =========================================================
   WHY MARVALET
========================================================= */

.why-grid {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    align-items: center;

    gap: 80px;
}


.why-heading h2 {
    color: #ffffff;

    font-size:
        clamp(
            2.4rem,
            4vw,
            4rem
        );

    line-height: 1.05;

    text-transform: uppercase;
}


.why-content p {
    margin-bottom: 20px;

    color: #aaaaaa;
}


.why-content .btn {
    margin-top: 10px;
}



/* =========================================================
   GALLERY PREVIEW
========================================================= */

.gallery-preview {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 14px;
}


.gallery-preview-item {
    height: 330px;

    overflow: hidden;

    border: 1px solid #242424;
}


.gallery-preview-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.4s ease;
}


.gallery-preview-item:hover img {
    transform: scale(1.04);
}



/* =========================================================
   FINAL CTA
========================================================= */

.cta-box {
    padding: 65px 30px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #101010,
            #171717
        );

    border: 1px solid #292929;
}


.cta-box h2 {
    max-width: 800px;

    margin: 0 auto 18px;

    color: #ffffff;

    font-size:
        clamp(
            2rem,
            4vw,
            3.3rem
        );

    line-height: 1.1;

    text-transform: uppercase;
}


.cta-box
> p:not(.eyebrow) {
    max-width: 620px;

    margin: 0 auto 28px;

    color: #999999;
}



/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding-top: 75px;

    background: #050505;

    border-top: 1px solid #292929;
}



/* =========================================================
   FOOTER GRID
========================================================= */

.footer-container {
    display: grid;

    grid-template-columns:
        1.25fr
        1fr
        1fr;

    align-items: start;

    gap: 90px;

    padding-bottom: 65px;
}



/* =========================================================
   FOOTER BRAND
========================================================= */

.footer-brand {
    max-width: 430px;
}



/* Larger footer logo */

.footer-logo {
    width: 285px;

    display: block;

    margin-bottom: 25px;
}


.footer-logo img {
    width: 100%;
    height: 105px;

    object-fit: contain;

    object-position: left center;
}


.footer-brand
> p:not(.footer-tagline) {
    max-width: 350px;

    color: #a2a2a2;

    font-size: 0.95rem;

    line-height: 1.75;
}


.footer-tagline {
    margin-top: 18px;

    color: #dddddd !important;

    font-size: 0.84rem !important;

    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}



/* =========================================================
   FOOTER HEADINGS
========================================================= */

.site-footer h4 {
    margin-bottom: 22px;

    color: #ffffff;

    font-size: 1.05rem;

    font-weight: 800;

    letter-spacing: 0.7px;

    text-transform: uppercase;
}



/* =========================================================
   FOOTER CONTACT
========================================================= */

.footer-contact {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 15px;
}


.footer-contact
> a:not(.footer-contact-page),
.footer-location {
    display: flex;

    align-items: center;

    gap: 12px;

    color: #aaaaaa;

    font-size: 0.94rem;

    line-height: 1.5;

    transition: color 0.2s ease;
}


.footer-contact
> a:hover {
    color: #ffffff;
}


.footer-contact i {
    flex-shrink: 0;

    color: #ffffff;

    font-size: 1rem;
}


.footer-contact-page {
    margin-top: 10px;

    padding-bottom: 4px;

    display: inline-flex;

    align-items: center;

    gap: 12px;

    color: #ffffff;

    border-bottom: 1px solid #555555;

    font-size: 0.76rem;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;
}



/* =========================================================
   FOOTER SOCIALS
========================================================= */

.footer-social-section > p {
    max-width: 290px;

    margin-bottom: 24px;

    color: #909090;

    font-size: 0.91rem;

    line-height: 1.65;
}


.footer-socials {
    display: flex;

    align-items: center;

    gap: 13px;

    flex-wrap: wrap;
}


.footer-socials a {
    width: 54px;
    height: 54px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #121212;

    border: 1px solid #3d3d3d;

    border-radius: 50%;

    color: #ffffff;

    font-size: 1.28rem;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}


.footer-socials a:hover {
    background: #202020;

    border-color: #888888;
}



/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {
    padding: 22px;

    text-align: center;

    color: #666666;

    font-size: 0.78rem;

    border-top: 1px solid #1f1f1f;
}



/* =========================================================
   MOBILE MENU BUTTON
   Hidden on desktop.
========================================================= */

.mobile-menu-button {
    display: none;

    width: 50px;
    height: 50px;

    flex-shrink: 0;

    align-items: center;
    justify-content: center;

    padding: 0;

    background: transparent;

    border: 1px solid #3a3a3a;

    border-radius: 2px;

    color: #ffffff;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}


.mobile-menu-button:hover {
    background: #111111;

    border-color: #666666;
}


.mobile-menu-button i {
    color: #ffffff;

    font-size: 1.6rem;

    line-height: 1;
}



/* =========================================================
   MOBILE NAVIGATION
   Hidden on desktop.
========================================================= */

.mobile-navigation {
    display: none;
}



/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .header-container {
        min-height: 105px;

        grid-template-columns:
            245px
            1fr
            175px;

        gap: 20px;
    }


    .brand-logo {
        width: 220px;
    }


    .brand-logo img {
        height: 78px;
    }


    .main-nav {
        gap: 21px;
    }


    .main-nav a {
        padding: 35px 0;

        font-size: 0.84rem;
    }


    .main-nav a::after {
        bottom: 23px;
    }


    .header-quote-button {
        min-width: 170px;

        min-height: 50px;

        padding: 13px 15px;

        font-size: 0.7rem;
    }


    .hero-container {
        padding-left: 35px;
        padding-right: 35px;
    }


    .hero-content {
        width: 66%;
    }


    .service-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .why-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }


    .footer-container {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        gap: 55px;
    }


    .footer-social-section {
        grid-column: 1 / -1;
    }


    .footer-logo {
        width: 240px;
    }


    .footer-logo img {
        height: 90px;
    }

}



/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .header-container {
        min-height: 90px;

        display: flex;

        align-items: center;
        justify-content: space-between;

        gap: 15px;
    }


    .brand-logo {
        width: 185px;
    }


    .brand-logo img {
        height: 68px;
    }



    /* =====================================================
       HIDE DESKTOP NAVIGATION
    ====================================================== */

    .main-nav {
        display: none;
    }



    /* =====================================================
       HEADER ACTIONS
    ====================================================== */

    .header-actions {
        margin-left: auto;

        display: flex;

        align-items: center;

        justify-content: flex-end;

        gap: 9px;
    }



    /* =====================================================
       MOBILE QUOTE BUTTON
    ====================================================== */

    .header-quote-button {
        min-width: auto;

        min-height: 46px;

        padding: 11px 15px;

        gap: 7px;

        font-size: 0.64rem;

        letter-spacing: 0.6px;
    }


    .header-quote-button i {
        display: none;
    }



    /* =====================================================
       SHOW MOBILE MENU BUTTON
    ====================================================== */

    .mobile-menu-button {
        display: flex;

        width: 46px;
        height: 46px;
    }



    /* =====================================================
       MOBILE NAVIGATION PANEL
    ====================================================== */

    .mobile-navigation {
        position: absolute;

        top: 100%;
        left: 0;

        width: 100%;

        display: block;

        max-height: 0;

        overflow: hidden;

        visibility: hidden;

        opacity: 0;

        background: rgba(4, 4, 4, 0.99);

        border-bottom: 1px solid #292929;

        transition:
            max-height 0.32s ease,
            opacity 0.22s ease,
            visibility 0.22s ease;

        pointer-events: none;
    }



    /* =====================================================
       OPEN MOBILE NAVIGATION
    ====================================================== */

    .mobile-navigation.mobile-navigation-open {
        max-height: 600px;

        visibility: visible;

        opacity: 1;

        pointer-events: auto;
    }



    /* =====================================================
       MOBILE MENU CONTENT
    ====================================================== */

    .mobile-navigation-inner {
        padding-top: 8px;

        padding-bottom: 18px;
    }



    /* =====================================================
       MOBILE NAVIGATION LINKS
    ====================================================== */

    .mobile-navigation a {
        min-height: 58px;

        display: flex;

        align-items: center;

        justify-content: space-between;

        gap: 20px;

        padding:
            0
            4px;

        color: #c7c7c7;

        border-bottom: 1px solid #1f1f1f;

        font-size: 0.82rem;

        font-weight: 800;

        letter-spacing: 1.2px;

        text-transform: uppercase;

        transition:
            color 0.2s ease,
            padding-left 0.2s ease;
    }


    .mobile-navigation a:last-child {
        border-bottom: none;
    }


    .mobile-navigation a:hover {
        padding-left: 8px;

        color: #ffffff;
    }


    .mobile-navigation a i {
        color: #777777;

        font-size: 0.8rem;
    }


    .mobile-navigation a:hover i {
        color: #ffffff;
    }



    /* =====================================================
       HERO
    ====================================================== */

    .hero {
        min-height: 700px;

        align-items: flex-end;

        background-image:
            linear-gradient(
                0deg,
                #080808 0%,
                #080808 20%,
                rgba(8, 8, 8, 0.96) 37%,
                rgba(8, 8, 8, 0.60) 62%,
                rgba(8, 8, 8, 0.12) 100%
            ),
            var(--hero-image);

        background-position: 62% center;
    }


    .hero-container {
        width: 100%;

        margin: 0;

        padding-left: 20px;
        padding-right: 20px;
    }


    .hero-content {
        width: 100%;

        padding: 320px 0 60px;
    }


    .hero h1 {
        font-size: 2.7rem;

        letter-spacing: -1px;
    }



    /* =====================================================
       OTHER MOBILE SECTIONS
    ====================================================== */

    .trust-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .trust-item {
        border-bottom: 1px solid #252525;
    }


    .service-grid {
        grid-template-columns: 1fr;
    }


    .service-card-image {
        height: 240px;
    }


    .before-after-info {
        align-items: flex-start;

        flex-direction: column;
    }


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


    .gallery-preview-item {
        height: 270px;
    }



    /* =====================================================
       FOOTER
    ====================================================== */

    .site-footer {
        padding-top: 50px;
    }


    .footer-container {
        grid-template-columns: 1fr;

        gap: 45px;

        padding-bottom: 45px;
    }


    .footer-social-section {
        grid-column: auto;
    }


    .footer-logo {
        width: 230px;
    }


    .footer-logo img {
        height: 88px;
    }


    .footer-socials a {
        width: 50px;
        height: 50px;

        font-size: 1.18rem;
    }


    .section {
        padding: 65px 0;
    }

}



/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 430px) {

    .container {
        width: 92%;
    }


    .brand-logo {
        width: 165px;
    }


    .brand-logo img {
        height: 60px;
    }


    .header-quote-button {
        padding: 10px 11px;

        font-size: 0.58rem;
    }



    /* =====================================================
       SMALL MOBILE MENU BUTTON
    ====================================================== */

    .mobile-menu-button {
        width: 42px;
        height: 42px;
    }


    .mobile-menu-button i {
        font-size: 1.4rem;
    }



    /* =====================================================
       HERO
    ====================================================== */

    .hero h1 {
        font-size: 2.4rem;
    }


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



    /* =====================================================
       FOOTER
    ====================================================== */

    .site-footer h4 {
        font-size: 0.95rem;
    }


    .footer-logo {
        width: 205px;
    }


    .footer-socials {
        gap: 10px;
    }


    .footer-socials a {
        width: 46px;
        height: 46px;
    }

}