/* =========================================================
   DAR AUTOS TRADERS
   COMPACT / BALANCED FINAL DESIGN
========================================================= */

:root {
    --bg: #f3f5f2;
    --bg-soft: #e9eeeb;
    --white: #ffffff;

    --dark: #10262e;
    --dark-2: #173942;

    --text: #2e454d;
    --soft: #667b82;
    --muted: #8b9a9f;

    --teal: #27b8bf;
    --teal-dark: #148f96;

    --line: rgba(16, 38, 46, 0.12);

    --shadow:
        0 18px 45px rgba(27, 50, 58, 0.10);

    --container: 1160px;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;

    background: var(--bg);
    color: var(--text);

    font-family: "Manrope", sans-serif;
}

body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.container {
    width: min(
        calc(100% - 44px),
        var(--container)
    );

    margin-inline: auto;
}


/* =========================================================
   HEADER
========================================================= */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background:
        rgba(246, 247, 244, 0.96);

    border-bottom:
        1px solid var(--line);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    transition:
        box-shadow 0.25s ease;
}

.header.scrolled {
    box-shadow:
        0 8px 25px rgba(20, 42, 50, 0.08);
}

.header-container {
    width: min(
        calc(100% - 44px),
        var(--container)
    );

    height: 72px;

    margin-inline: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;
}


/* BRAND */

.brand {
    display: inline-flex;
    align-items: center;

    gap: 11px;

    flex-shrink: 0;
}

.brand-logo {
    width: 47px;
    height: 47px;

    object-fit: cover;

    border-radius: 13px;

    box-shadow:
        0 7px 20px rgba(18, 40, 48, 0.14);
}

.brand-copy {
    display: flex;
    flex-direction: column;

    line-height: 1;
}

.brand-copy strong {
    color: var(--dark);

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 14px;

    letter-spacing: 1px;
}

.brand-copy span {
    margin-top: 6px;

    color: var(--teal-dark);

    font-size: 7px;
    font-weight: 800;

    letter-spacing: 3.5px;
}


/* NAV */

.desktop-nav {
    display: flex;
    align-items: center;

    gap: 26px;
}

.desktop-nav a {
    position: relative;

    color: #52676e;

    font-size: 12px;
    font-weight: 700;

    transition: color 0.25s ease;
}

.desktop-nav a:hover {
    color: var(--dark);
}

.desktop-nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    border-radius: 10px;

    background: var(--teal);

    transition: width 0.25s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    width: 100%;
}


/* =========================================================
   MOBILE MENU
========================================================= */

.menu-button {
    width: 42px;
    height: 42px;

    display: none;

    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 5px;

    border:
        1px solid var(--line);

    border-radius: 11px;

    background: #ffffff;

    cursor: pointer;
}

.menu-button span {
    width: 18px;
    height: 2px;

    display: block;

    border-radius: 10px;

    background: var(--dark);

    transition: 0.25s ease;
}

.menu-button.active span:nth-child(1) {
    transform:
        translateY(7px)
        rotate(45deg);
}

.menu-button.active span:nth-child(2) {
    opacity: 0;
}

.menu-button.active span:nth-child(3) {
    transform:
        translateY(-7px)
        rotate(-45deg);
}

.mobile-nav {
    display: none;

    padding:
        6px 20px 20px;

    background: #f5f6f3;

    border-top:
        1px solid var(--line);
}

.mobile-nav.open {
    display: block;
}

.mobile-nav a {
    display: block;

    padding: 13px 3px;

    border-bottom:
        1px solid var(--line);

    color: #465d65;

    font-size: 14px;
    font-weight: 700;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    min-height: 550px;

    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center 55%;

    z-index: 0;

    transform: scale(1.01);
}

.hero-overlay {
    position: absolute;
    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            180deg,
            rgba(7, 23, 29, 0.35) 0%,
            rgba(7, 23, 29, 0.48) 48%,
            rgba(7, 23, 29, 0.78) 100%
        );
}


/* HERO CONTENT */

.hero-content {
    width: min(
        calc(100% - 40px),
        820px
    );

    position: relative;
    z-index: 2;

    margin-inline: auto;

    padding:
        55px 0 125px;

    text-align: center;
}

.hero-label {
    width: fit-content;

    margin-inline: auto;

    display: flex;
    align-items: center;

    gap: 8px;

    padding:
        8px 12px;

    border:
        1px solid
        rgba(255, 255, 255, 0.24);

    border-radius: 100px;

    background:
        rgba(255, 255, 255, 0.10);

    backdrop-filter: blur(10px);

    color: #ffffff;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 1.7px;
}

.hero-label span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--teal);
}

.hero h1 {
    max-width: 800px;

    margin:
        22px auto 0;

    color: #ffffff;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(
            44px,
            5.1vw,
            68px
        );

    line-height: 0.98;

    letter-spacing: -2.8px;
}

.hero h1 span {
    display: block;

    margin-top: 4px;

    color:
        rgba(255, 255, 255, 0.78);
}

.hero-content > p {
    max-width: 660px;

    margin:
        20px auto 0;

    color:
        rgba(255, 255, 255, 0.90);

    font-size: 13px;
    line-height: 1.7;
}


/* HERO BUTTONS */

.hero-actions {
    margin-top: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 12px;
}

.primary-button,
.secondary-button {
    min-height: 46px;

    padding:
        0 17px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    font-size: 12px;
    font-weight: 800;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.primary-button {
    gap: 16px;

    background: var(--teal);

    color: #ffffff;

    box-shadow:
        0 10px 25px
        rgba(0, 0, 0, 0.18);
}

.primary-button:hover {
    transform:
        translateY(-2px);

    background: var(--teal-dark);
}

.secondary-button {
    border:
        1px solid
        rgba(255, 255, 255, 0.25);

    background:
        rgba(255, 255, 255, 0.09);

    color: #ffffff;

    backdrop-filter: blur(10px);
}


/* HERO BOTTOM */

.hero-bottom {
    width: min(
        calc(100% - 44px),
        930px
    );

    position: absolute;

    left: 50%;
    bottom: 18px;

    z-index: 3;

    transform:
        translateX(-50%);

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 10px;
}

.hero-bottom > div {
    min-height: 64px;

    padding:
        12px 16px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    border:
        1px solid
        rgba(255, 255, 255, 0.17);

    border-radius: 13px;

    background:
        rgba(10, 31, 38, 0.42);

    backdrop-filter: blur(12px);

    color: #ffffff;
}

.hero-bottom small {
    color: #71dde1;

    font-size: 8px;
    font-weight: 800;
}

.hero-bottom strong {
    margin-top: 4px;

    font-size: 11px;

    letter-spacing: 0.6px;
}


/* =========================================================
   INTRO STRIP
========================================================= */

.intro-strip {
    padding:
        17px 20px;

    background: var(--dark);

    color: #ffffff;
}

.intro-strip-track {
    max-width: var(--container);

    margin-inline: auto;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 17px;
}

.intro-strip-track span {
    font-size: 9px;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.5px;
}

.intro-strip-track i {
    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: var(--teal);
}


/* =========================================================
   COMMON HEADINGS
========================================================= */

.section-eyebrow {
    color: var(--teal-dark);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.7px;
}

.section-heading {
    max-width: 690px;
}

.section-heading h2,
.about-content h2 {
    margin-top: 12px;

    color: var(--dark);

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(
            34px,
            4vw,
            52px
        );

    line-height: 1.02;

    letter-spacing: -2px;
}

.section-heading h2 em,
.about-content h2 em {
    display: block;

    color: #83959b;

    font-style: normal;
}

.center-heading {
    margin-inline: auto;

    text-align: center;
}


/* =========================================================
   ABOUT
========================================================= */

.about-section {
    padding:
        78px 0;
}

.about-grid {
    display: grid;

    grid-template-columns:
        0.95fr 1fr;

    align-items: center;

    gap: 58px;
}

.about-photo {
    position: relative;

    overflow: hidden;

    border-radius: 22px;

    box-shadow: var(--shadow);
}

.about-photo img {
    width: 100%;
    height: 395px;

    object-fit: cover;

    transition:
        transform 0.7s ease;
}

.about-photo:hover img {
    transform: scale(1.025);
}

.about-photo-label {
    position: absolute;

    left: 18px;
    bottom: 18px;

    padding:
        11px 14px;

    display: flex;
    align-items: center;

    gap: 10px;

    border-radius: 11px;

    background:
        rgba(255, 255, 255, 0.92);

    backdrop-filter: blur(10px);
}

.about-photo-label span {
    color: var(--teal-dark);

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 15px;
    font-weight: 700;
}

.about-photo-label p {
    color: var(--dark);

    font-size: 9px;
    font-weight: 700;
}

.about-content > p {
    max-width: 550px;

    margin-top: 17px;

    color: var(--soft);

    font-size: 13px;
    line-height: 1.8;
}

.about-content > p + p {
    margin-top: 10px;
}

.text-link {
    margin-top: 20px;

    display: inline-flex;
    align-items: center;

    gap: 8px;

    color: var(--dark);

    font-size: 12px;
    font-weight: 800;
}

.text-link span {
    color: var(--teal-dark);
}


/* =========================================================
   SERVICES
========================================================= */

.services-section {
    padding:
        72px 0;

    background:
        linear-gradient(
            145deg,
            #dfe8e5,
            #f0f3f0
        );

    border-top:
        1px solid var(--line);

    border-bottom:
        1px solid var(--line);
}

.services-layout {
    margin-top: 38px;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 12px;
}

.service-card {
    min-height: 270px;

    padding: 19px;

    display: flex;
    flex-direction: column;

    border:
        1px solid var(--line);

    border-radius: 18px;

    background:
        rgba(255, 255, 255, 0.88);

    box-shadow:
        0 10px 30px
        rgba(25, 50, 58, 0.04);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.service-card:hover {
    transform:
        translateY(-5px);

    box-shadow:
        0 17px 35px
        rgba(25, 50, 58, 0.09);
}

.featured-service {
    background:
        linear-gradient(
            145deg,
            #d4e9e8,
            #ffffff
        );
}

.service-number {
    color: var(--muted);

    font-size: 8px;
    font-weight: 800;
}

.service-icon {
    width: 47px;
    height: 47px;

    margin-top: 31px;

    display: grid;
    place-items: center;

    border:
        1px solid
        rgba(39, 184, 191, 0.22);

    border-radius: 13px;

    background:
        rgba(39, 184, 191, 0.09);

    color: var(--teal-dark);

    font-size: 14px;
    font-weight: 900;
}

.service-card h3 {
    margin-top: 23px;

    color: var(--dark);

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 17px;
}

.service-card p {
    margin-top: 8px;

    color: var(--soft);

    font-size: 11px;
    line-height: 1.7;
}


/* =========================================================
   SHOWCASE IMAGE
========================================================= */

.showcase-section {
    min-height: 500px;

    position: relative;

    overflow: hidden;

    display: flex;
    align-items: center;
}

.showcase-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.showcase-overlay {
    position: absolute;
    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(6, 22, 29, 0.83) 0%,
            rgba(6, 22, 29, 0.62) 45%,
            rgba(6, 22, 29, 0.15) 100%
        );
}

.showcase-content {
    position: relative;
    z-index: 2;

    color: #ffffff;
}

.showcase-content > span {
    color: #71dfe3;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.7px;
}

.showcase-content h2 {
    max-width: 620px;

    margin-top: 12px;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(
            38px,
            4.5vw,
            58px
        );

    line-height: 1;

    letter-spacing: -2.2px;
}

.showcase-content h2 strong {
    color:
        rgba(255, 255, 255, 0.74);

    font-weight: 600;
}

.showcase-content p {
    max-width: 470px;

    margin-top: 18px;

    color:
        rgba(255,255,255,0.82);

    font-size: 13px;
    line-height: 1.7;
}

.showcase-button {
    min-height: 45px;

    margin-top: 22px;

    padding:
        0 16px;

    display: inline-flex;
    align-items: center;

    gap: 15px;

    border:
        1px solid
        rgba(255, 255, 255, 0.24);

    border-radius: 11px;

    background:
        rgba(255,255,255,0.10);

    backdrop-filter: blur(10px);

    color: #ffffff;

    font-size: 11px;
    font-weight: 800;
}


/* =========================================================
   PROCESS
========================================================= */

.process-section {
    padding:
        75px 0;
}

.process-grid {
    margin-top: 38px;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 12px;
}

.process-card {
    min-height: 215px;

    padding: 20px;

    border:
        1px solid var(--line);

    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 10px 30px
        rgba(25, 50, 58, 0.05);
}

.process-dark {
    background: var(--dark);

    color: #ffffff;
}

.process-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.process-top span {
    color: var(--muted);

    font-size: 8px;
    font-weight: 800;
}

.process-top strong {
    color: var(--teal-dark);

    font-size: 11px;
}

.process-dark .process-top strong {
    color: #62d8dc;
}

.process-card h3 {
    margin-top: 45px;

    color: var(--dark);

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 19px;
}

.process-dark h3 {
    color: #ffffff;
}

.process-card p {
    margin-top: 9px;

    color: var(--soft);

    font-size: 12px;
    line-height: 1.7;
}

.process-dark p {
    color:
        rgba(255, 255, 255, 0.70);
}


/* =========================================================
   CONTACT
========================================================= */

.contact-section {
    padding:
        72px 0;

    background:
        linear-gradient(
            145deg,
            #dce7e4,
            #eff2ef
        );

    border-top:
        1px solid var(--line);
}

.contact-grid {
    display: grid;

    grid-template-columns:
        1fr 0.9fr;

    align-items: end;

    gap: 65px;
}

.contact-grid h2 {
    margin-top: 12px;

    color: var(--dark);

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(
            36px,
            4vw,
            52px
        );

    line-height: 1;

    letter-spacing: -2px;
}

.contact-grid h2 em {
    display: block;

    color: #84969b;

    font-style: normal;
}

.contact-content > p {
    color: var(--soft);

    font-size: 13px;
    line-height: 1.75;
}

.email-link {
    min-height: 58px;

    margin-top: 20px;

    padding:
        6px 7px 6px 17px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    border:
        1px solid var(--line);

    border-radius: 14px;

    background:
        rgba(255,255,255,0.88);
}

.email-link span {
    color: var(--dark);

    font-size: 13px;
    font-weight: 700;

    overflow-wrap: anywhere;
}

.email-link strong {
    width: 43px;
    height: 43px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 10px;

    background: var(--dark);

    color: #ffffff;

    font-size: 15px;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    padding:
        48px 0 0;

    background: var(--dark);

    color: #ffffff;
}

.footer-layout {
    display: grid;

    grid-template-columns:
        1fr 0.75fr;

    gap: 65px;
}

.footer .brand-copy strong {
    color: #ffffff;
}

.footer .brand-copy span {
    color: #5cd6da;
}

.footer-brand p {
    max-width: 300px;

    margin-top: 15px;

    color: #aebdc2;

    font-size: 11px;
    line-height: 1.7;
}

.footer-links {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 35px;
}

.footer-links > div {
    display: flex;
    flex-direction: column;

    gap: 9px;
}

.footer-links strong {
    margin-bottom: 5px;

    color: #5bd5d9;

    font-size: 8px;

    letter-spacing: 1.3px;

    text-transform: uppercase;
}

.footer-links a {
    color: #becace;

    font-size: 11px;
}

.footer-bottom {
    min-height: 60px;

    margin-top: 38px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    border-top:
        1px solid
        rgba(255,255,255,0.10);
}

.footer-bottom p,
.footer-bottom a {
    color: #8da2aa;

    font-size: 9px;
}


/* =========================================================
   PRIVACY PAGE SIZE FIX
   Overrides the bigger inline privacy styles
========================================================= */

.privacy-hero {
    min-height: 350px !important;
}

.privacy-hero-content {
    width:
        min(calc(100% - 44px), 1160px)
        !important;
}

.privacy-hero h1 {
    max-width: 650px !important;

    font-size:
        clamp(42px, 5vw, 64px)
        !important;

    letter-spacing:
        -2.5px !important;
}

.privacy-hero p {
    margin-top: 16px !important;

    font-size: 12px !important;
}

.privacy-content {
    width:
        min(calc(100% - 44px), 900px)
        !important;

    margin:
        -38px auto 75px
        !important;
}

.privacy-card {
    padding:
        38px 42px
        !important;

    border-radius:
        21px !important;
}

.privacy-card-title {
    font-size:
        25px !important;
}

.privacy-card > p,
.privacy-section p {
    font-size:
        13px !important;

    line-height:
        1.75 !important;
}

.privacy-meta {
    margin-top:
        22px !important;

    padding:
        18px !important;
}

.privacy-section {
    margin-top:
        29px !important;

    padding-top:
        26px !important;
}

.privacy-section h2 {
    font-size:
        19px !important;
}

.privacy-section li {
    font-size:
        13px !important;

    line-height:
        1.7 !important;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .desktop-nav {
        display: none;
    }

    .menu-button {
        display: flex;
    }

    .about-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .services-layout {
        grid-template-columns:
            1fr 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .footer-layout {
        grid-template-columns: 1fr;

        gap: 35px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .container,
    .header-container {
        width:
            calc(100% - 28px);
    }


    /* HEADER */

    .header-container {
        height: 66px;
    }

    .brand-logo {
        width: 43px;
        height: 43px;
    }

    .brand-copy strong {
        font-size: 11px;
    }

    .brand-copy span {
        font-size: 6px;

        letter-spacing: 2.8px;
    }


    /* HERO */

    .hero {
        min-height: 650px;
    }

    .hero-background {
        object-position: 57% center;
    }

    .hero-content {
        width:
            calc(100% - 28px);

        padding:
            45px 0 240px;
    }

    .hero-label {
        font-size: 7px;
    }

    .hero h1 {
        font-size:
            clamp(
                38px,
                12vw,
                50px
            );

        line-height: 1;

        letter-spacing:
            -2px;
    }

    .hero-content > p {
        font-size: 12px;
    }

    .hero-actions {
        flex-direction: column;

        align-items: stretch;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
    }

    .hero-bottom {
        width:
            calc(100% - 28px);

        grid-template-columns: 1fr;

        bottom: 14px;

        gap: 7px;
    }

    .hero-bottom > div {
        min-height: 55px;

        padding: 10px 13px;
    }


    /* ABOUT */

    .about-section {
        padding:
            60px 0;
    }

    .about-photo img {
        height: 300px;
    }

    .section-heading h2,
    .about-content h2,
    .contact-grid h2 {
        font-size:
            clamp(
                33px,
                10vw,
                45px
            );
    }


    /* SERVICES */

    .services-section {
        padding:
            60px 0;
    }

    .services-layout {
        grid-template-columns: 1fr;

        margin-top: 30px;
    }

    .service-card {
        min-height: 230px;
    }


    /* SHOWCASE */

    .showcase-section {
        min-height: 440px;
    }

    .showcase-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(6,22,29,0.45),
                rgba(6,22,29,0.82)
            );
    }

    .showcase-content h2 {
        font-size:
            clamp(
                34px,
                11vw,
                48px
            );
    }


    /* PROCESS */

    .process-section {
        padding:
            60px 0;
    }

    .process-grid {
        margin-top: 30px;
    }


    /* CONTACT */

    .contact-section {
        padding:
            60px 0;
    }

    .email-link span {
        font-size: 10px;
    }


    /* FOOTER */

    .footer {
        padding-top: 40px;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        min-height: auto;

        padding:
            17px 0;

        flex-direction: column;
        align-items: flex-start;

        gap: 8px;
    }


    /* PRIVACY MOBILE */

    .privacy-hero {
        min-height:
            285px !important;
    }

    .privacy-hero-content,
    .privacy-content {
        width:
            calc(100% - 28px)
            !important;
    }

    .privacy-hero h1 {
        font-size:
            42px !important;
    }

    .privacy-content {
        margin:
            -25px auto 60px
            !important;
    }

    .privacy-card {
        padding:
            25px 18px
            !important;
    }

    .privacy-card-title {
        font-size:
            21px !important;
    }

    .privacy-section h2 {
        font-size:
            18px !important;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 390px) {

    .brand-copy {
        display: none;
    }

    .hero h1 {
        font-size: 36px;
    }

    .about-photo img {
        height: 260px;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

}