/*
Theme Name: SmartParts
Author: Grinto
*/

@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

:root {
    --white: rgba(248, 253, 255, 1);
    --blue: rgba(39, 157, 217, 1);
    --orange: rgba(237, 108, 5, 1);
    --black: rgba(32, 32, 32, 1);

    --color-primary: var(--blue);
    --color-secondary: var(--white);
    --color-tertiary: var(--orange);
}

html,
body {
    margin: 0;
    padding: 0;
    background-color: var(--white);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

strong {
    font-weight: 700;
}

.hero {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.hero-background-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: 100vw;
    max-height: 100vh;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.video-overlay {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.4);
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero-subtitle {
    font-weight: 300;
    font-size: 1.5rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    font-style: italic;
    opacity: 0.9;
}

.hero-title {
    font-weight: 700;
    font-size: 5rem;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-description {
    font-weight: 300;
    font-size: 1.5rem;
    max-width: 800px;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-chamfer {
    clip-path: polygon(
        15px 0,
        100% 0,
        100% calc(100% - 15px),
        calc(100% - 15px) 100%,
        0 100%,
        0 15px
    );
}

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

.btn-primary:hover {
    background-color: #208bc2;
}

.btn-secondary {
    background-color: var(--white);
    color: var(--black);
}

.btn-secondary:hover {
    background-color: #e6e6e6;
}

.parallax-section {
    position: relative;
    padding: 100px 20px;
    background-color: var(--white);
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.parallax-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.parallax-block {
    width: 580px;
    max-width: 100%;
    padding: 3rem;
    color: var(--white);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 500px;
}

.block-orange {
    background-color: var(--orange);
    z-index: 2;
    margin-top: 100px;
    margin-left: 0;
}

.block-blue {
    background-color: rgba(2, 57, 85, 1);
    z-index: 1;
    margin-right: 0;
    margin-bottom: 0;
}

.parallax-block {
    position: relative;
    overflow: hidden;
}

/* Bloc Orange - Image de fond */
.block-orange {
    background-image: url("/wp-content/themes/smartparts/assets/img/DRIVEPLUS_Garage_01.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Overlay orange transparent */
.block-orange::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(237, 108, 5, 0.8);
    z-index: 1;
}

/* Bloc Blue - Image de fond */
.block-blue {
    background-image: url("/wp-content/themes/smartparts/assets/img/alberto-rodriguez-qVpGF1mlaM8-unsplash.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Overlay bleu/cyan transparent */
.block-blue::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(3, 110, 163, 0.85);
    z-index: 1;
}

/* Contenu au-dessus de l'overlay */
.block-title,
.block-headline,
.block-content,
.block-footer {
    position: relative;
    z-index: 2;
    /* Au-dessus de l'overlay */
}

.block-title {
    font-size: 3.5rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.block-headline {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.block-content p {
    font-size: 20px;
    line-height: 1.6;
    font-weight: 300;
    margin-bottom: 2rem;
    margin-top: auto;
}

.block-footer {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: absolute;
    bottom: -30px;
    left: 0;
}

.block-orange .block-footer {
    color: var(--orange);
}

.block-blue .block-footer {
    color: var(--blue);
}

@media (max-width: 900px) {
    .parallax-container {
        flex-direction: column;
        align-items: center;
    }

    .block-orange,
    .block-blue {
        width: 100%;
        margin: 0;
        margin-bottom: 4rem;
        transform: none !important;
    }

    .block-blue {
        margin-top: 0;
    }
}

.product-showcase-section {
    margin-top: 100px;
    color: var(--black);
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.category-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.category-nav .nav-link {
    text-decoration: none;
    color: #a0a0a0;
    font-weight: 400;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-style: italic;
}

.category-nav .nav-link.active {
    color: #333333;
    font-weight: 700;
    font-size: 2rem;
    font-style: normal;
}

.category-nav .nav-link:hover {
    color: var(--blue);
}

.product-slider-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.product-slide {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 4rem;
}

.product-image-col {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.image-wrapper {
    width: 100%;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-static-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.product-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
}

.product-details-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
}

.product-overline {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--blue);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 3.5rem;
    font-weight: 300;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--black);
}

.filter-chips {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.chip {
    background: transparent;
    border: 1px solid #e0e0e0;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    color: var(--black);
    cursor: default;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--black);
    margin-bottom: 3rem;
    max-width: 90%;
    font-weight: 300;
}

.slider-navigation {
    display: flex;
    gap: 1.5rem;
}

.nav-arrow {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: var(--black);
    transition:
        color 0.3s ease,
        transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-arrow:hover {
    color: var(--blue);
}

.nav-arrow svg {
    width: 32px;
    height: 32px;
}

@media (max-width: 900px) {
    .product-slide {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .product-details-col {
        align-items: center;
        text-align: center;
    }

    .category-nav .nav-link.active {
        font-size: 1.5rem;
    }

    .product-title {
        font-size: 2.5rem;
    }
}

.work-img {
    overflow: hidden;
    position: relative;
    height: 50vh;
    /* maintain existing height constraint on wrapper */
    margin: 40px 0;
}

.work-background-image {
    height: 120%;
    /* Taller than container for parallax */
    width: 100vw;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: -10%;
    /* Center it initially */
    left: 0;
    margin: 0;
    /* Remove margin as it's now on wrapper */
}

/* About Us Section */
.about-section {
    position: relative;
    padding: 100px 0;
    padding-left: 0;
    background-color: var(--white);
    overflow: hidden;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
}

.about-images {
    width: 40%;
    position: relative;
    min-height: 600px;
}

.img-primary-wrapper {
    position: relative;
    width: 75%;
    height: 70%;
    overflow: hidden;
}

.img-primary {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.img-secondary-wrapper {
    position: absolute;
    bottom: 0px;
    right: 50px;
    /* Moved slightly left */
    width: 50%;
    height: 45%;
    overflow: hidden;
    z-index: 2;
    /* box-shadow removed */
}

.img-secondary {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    display: block;
}

.about-content {
    width: 60%;
    padding: 0 4rem 0 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.eyebrow {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--blue);
    display: block;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-headline {
    font-size: 2.2rem;
    font-style: italic;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.body-paragraph {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 4rem;
    max-width: 800px;
}

.stats-row {
    display: flex;
    justify-content: space-between;
    gap: 2.5rem;
    flex-wrap: wrap;
    max-width: 900px;
}

.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 200px;
}

.stat-value {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--blue);
    line-height: 1;
    margin-bottom: 0.5rem;
    white-space: nowrap;
}

.stat-label {
    font-size: 0.85rem;
    line-height: 1.4;
    color: #666;
    font-weight: 400;
}

@media (max-width: 1024px) {
    .about-container {
        flex-direction: column;
    }

    .about-images {
        width: 100%;
        min-height: 500px;
        margin-bottom: 4rem;
    }

    .about-content {
        width: 100%;
        padding: 0 2rem;
    }

    .stats-row {
        flex-wrap: wrap;
    }

    .stat-item {
        min-width: 45%;
        margin-bottom: 2rem;
    }
}

/* Team Section */
.team-section {
    position: relative;
    padding: 50px 0;
    overflow: hidden;
    background-color: var(--white);
}

.team-container {
    width: 100%;
    margin: 0 auto;
}

.team-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4rem;
    padding: 0 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.team-title-col {
    flex: 0 0 auto;
}

.team-title-col span {
    font-size: 2rem;
}

.team-text-col {
    max-width: 400px;
    text-align: left;
}

.team-text-col p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.team-scroll-wrapper {
    width: 100%;
    overflow: hidden;
}

.team-track {
    display: flex;
    gap: 4rem;
    padding-left: max(20px, calc((100vw - 1200px) / 2 + 20px));
    padding-right: 100px;
    width: max-content;
}

.team-card {
    width: 320px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .team-scroll-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 20px;
        /* Space for scrollbar if needed */
    }

    .team-track {
        padding-right: 20px;
        /* Reduce padding on mobile */
    }
}

.leader .leader-text {
    color: white;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 10%;
    background-color: var(--blue);
    width: 450px;
    padding: 2rem;
}

.leader video {
    width: 75%;
    padding-right: 15%;
    margin: auto;
}

.leader-wrapper {
    display: flex;
    flex-direction: row;
    position: relative;
    margin: 10rem 0;
}

.leader .leader-text .block-headline {
    font-size: 1.8rem !important;
    margin: 0;
}

.card-image-composed {
    position: relative;
    width: 100%;
    margin-bottom: 2rem;
}

.team-image-wrapper {
    width: 100%;
    aspect-ratio: 0.8;
    background-color: #f0f0f0;
    position: relative;
    z-index: 1;
}

.polygon-clip {
    clip-path: polygon(
        30px 0,
        100% 0,
        100% calc(100% - 30px),
        calc(100% - 30px) 100%,
        0 100%,
        0 30px
    );
}

.team-member-img {
    width: 100%;
    height: 100%;
    object-position: top center;

    object-fit: cover;
    display: block;
}

.linkedin-wrapper {
    position: absolute;
    bottom: -15px;
    /* Overlap by hanging off */
    right: -15px;
    width: 50px;
    height: 50px;
    z-index: 2;
    background-color: var(--blue);
    /* Inverted polygon: Cut Top-Right and Bottom-Left */
    clip-path: polygon(
        0 0,
        calc(100% - 15px) 0,
        100% 15px,
        100% 100%,
        15px 100%,
        0 calc(100% - 15px)
    );
    display: flex;
    justify-content: center;
    align-items: center;
    filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.1));
}

.linkedin-wrapper svg {
    display: block;
    width: 100%;
    height: 100%;
}

.team-name {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    color: var(--black);
    text-align: right;
    /* Requested */
}

.team-role {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--blue);
    font-style: italic;
    letter-spacing: 1px;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .team-track {
        padding-left: 20px;
        gap: 2rem;
    }

    .team-card {
        width: 260px;
    }
}

/* Short viewport height - for low-height monitors (Desktop Only) */
@media (max-height: 700px) and (min-width: 769px) {
    .team-section {
        padding: 30px 0;
    }

    .team-header {
        margin-bottom: 1.5rem;
    }

    .team-scroll-wrapper {
        max-height: calc(100vh - 150px);
        display: flex;
        align-items: flex-start;
    }

    .team-track {
        gap: 2rem;
    }

    .team-card {
        width: min(280px, 35vh);
    }

    .team-image-wrapper {
        max-height: min(300px, 40vh);
    }

    .card-image-composed {
        margin-bottom: 1rem;
    }

    .team-name {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
    }

    .team-role {
        font-size: 1rem;
        margin-top: 0.5rem;
    }
}

footer {
    background-color: var(--black);
    color: var(--white);
    padding: 60px 40px 30px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Navigation Section */
.navigation-section {
    text-align: center;
    margin-bottom: 60px;
}

.navigation-label {
    font-size: 11px;
    letter-spacing: 2px;
    color: rgba(248, 253, 255, 0.5);
    /* var(--white) with opacity */
    margin-bottom: 25px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--blue);
}

/* Main Footer Content */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    gap: 40px;
}

.newsletter-title {
    color: var(--blue);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.newsletter-description {
    color: rgba(248, 253, 255, 0.8);
    /* var(--white) with opacity */
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.email-form {
    position: relative;
    margin-bottom: 20px;
}

.email-input-wrapper {
    position: relative;
}

.email-input-wrapper svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    /* SVG au-dessus de l'input */
}

.email-input-wrapper svg path {
    fill: none;
    stroke: var(--blue);
    stroke-width: 2;
    transition: stroke 0.3s ease;
}

.email-input:focus ~ svg path {
    stroke: var(--blue);
}

.email-input {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--white);
    padding: 15px 50px 15px 20px;
    font-size: 14px;
    outline: none;
    position: relative;
    z-index: 0;
    /* Input en dessous */
}

.email-input::placeholder {
    color: rgba(248, 253, 255, 0.5);
    /* var(--white) with opacity */
}

.submit-button {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--blue);
    cursor: pointer;
    font-size: 20px;
    transition: color 0.3s ease;
    z-index: 2;
    width: 38px;
    height: 38px;
}

.submit-button svg {
    height: 38px;
    width: 38px;
}

.submit-button:hover {
    color: var(--blue);
}

.newsletter-note {
    color: rgba(248, 253, 255, 0.4);
    /* var(--white) with opacity */
    font-size: 11px;
    line-height: 1.5;
}

/* Contact Section */
.contact-info {
    text-align: right;
}

.contact-info a {
    display: block;
    color: rgba(248, 253, 255, 0.8);
    /* var(--white) with opacity */
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 14px;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--blue);
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-links a {
    display: inline;
    margin-bottom: 0;
}

.footer-links .separator {
    color: rgba(248, 253, 255, 0.5);
    font-size: 14px;
}

.social-follow {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 15px;
}

.social-follow span {
    flex: 1;
    font-size: 14px;
    color: rgba(248, 253, 255, 0.8);
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 0;
}

.social-icon {
    width: 40px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-icon:hover {
    background-color: var(--blue);
    border-color: var(--blue);
}

/* Copyright */
.copyright {
    text-align: center;
    color: rgba(248, 253, 255, 0.4);
    /* var(--white) with opacity */
    font-size: 13px;
    padding-top: 30px;
    border-top: 1px solid rgba(248, 253, 255, 0.1);
    /* var(--white) with opacity */
}

/* Responsive */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }

    .contact-info {
        text-align: left;
    }

    .social-icons {
        justify-content: flex-start;
    }

    .nav-links {
        gap: 30px;
        flex-direction: column;
    }
}

.site-header {
    position: fixed;
    top: 7.5vh;
    left: 50%;
    width: 90%;
    max-width: 1400px;
    background-color: var(--white);
    z-index: 1000;
    transform: translateX(-50%);
    clip-path: polygon(
        25px 0,
        100% 0,
        100% calc(100% - 25px),
        calc(100% - 25px) 100%,
        0 100%,
        0 25px
    );
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
    transition: all 0.4s ease-in-out;
}

.site-header.scrolled {
    top: 0;
    border-radius: 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 3rem;
    height: 60px;
    flex-direction: row;
    max-width: 1400px;
    margin: 0 auto;
}

.header-logo img {
    height: 60px;
    transform: scale(2);
    width: auto;
    display: block;
    margin-left: 25px;
}

.header-nav {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.header-nav .nav-link {
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.header-nav .nav-link:hover {
    color: var(--blue);
}

/* Burger Menu Button - Hidden on desktop */
.burger-menu {
    width: min-content;

    display: none;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
    color: var(--black);
    z-index: 1001;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
}

.burger-menu:hover,
.burger-menu:focus,
.burger-menu:active {
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
}

.burger-icon {
    display: block;
}

.burger-line {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

/* Burger to X/Cross animation when active */
.burger-menu.active .burger-line-1 {
    transform: rotate(45deg);
    transform-origin: 6px 12px;
}

.burger-menu.active .burger-line-2 {
    opacity: 0;
}

.burger-menu.active .burger-line-3 {
    transform: rotate(-45deg);
    transform-origin: 6px 12px;
}

/* Mobile Navigation Overlay */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(
        135deg,
        rgba(39, 157, 217, 0.97) 0%,
        rgba(32, 139, 194, 0.98) 100%
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.4s ease,
        visibility 0.4s ease;
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-nav-link {
    text-decoration: none;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.mobile-nav.active .mobile-nav-link {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation for links */
.mobile-nav.active .mobile-nav-link:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-nav.active .mobile-nav-link:nth-child(2) {
    transition-delay: 0.15s;
}

.mobile-nav.active .mobile-nav-link:nth-child(3) {
    transition-delay: 0.2s;
}

.mobile-nav.active .mobile-nav-link:nth-child(4) {
    transition-delay: 0.25s;
}

.mobile-nav.active .mobile-nav-link:nth-child(5) {
    transition-delay: 0.3s;
}

.mobile-nav-link::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.mobile-nav-link:hover::after {
    width: 100%;
}

.mobile-nav-link:hover {
    color: var(--white);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

@media (max-width: 1420px) {
    /* .site-header removed to maintain full width on mobile */

    .header-container {
        padding: 0.8rem 1.5rem;
    }

    /* Hide desktop nav on mobile */
    .header-nav {
        display: none;
    }

    /* Show burger menu on mobile - positioned to the right */
    .burger-menu {
        display: block;
        margin-left: auto;
        order: 3;
    }

    .header-logo {
        order: 1;
        margin-left: 0.4rem;
    }

    .header-logo img {
        height: 40px;
    }
}

@media (max-width: 600px) {
    .header-logo img {
        height: 32px;
    }

    .header-container {
        padding: 0.5rem 1rem;
    }

    .mobile-nav-link {
        font-size: 1.2rem;
    }

    .mobile-nav-content {
        gap: 1.5rem;
    }
}

.contact-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 0;
}

.contact-title {
    text-align: center;
    color: var(--blue);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 50px;
    text-transform: uppercase;
}

.contact-form {
    display: grid;
    gap: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

/* Input styling with polygon clip-path and border */
.polygon-input-wrapper {
    position: relative;
    /* Acts as the border */
    background-color: var(--black);
    padding: 2px;
    /* Outer shape matches button (15px) */
    clip-path: polygon(
        15px 0,
        100% 0,
        100% calc(100% - 15px),
        calc(100% - 15px) 100%,
        0 100%,
        0 15px
    );
    transition: background-color 0.3s ease;
}

.polygon-input-wrapper:focus-within {
    background-color: var(--blue);
}

.form-input {
    display: block;
    width: 100%;
    /* Inner background */
    background-color: var(--white);
    border: none;
    color: var(--black);
    padding: 18px 30px;
    font-size: 16px;
    outline: none;

    /* Inner shape - slightly tighter cut (13px) to maintain border thickness */
    clip-path: polygon(
        13px 0,
        100% 0,
        100% calc(100% - 13px),
        calc(100% - 13px) 100%,
        0 100%,
        0 13px
    );

    transition: all 0.3s ease;
}

.form-input::placeholder {
    color: #999999;
    font-weight: 300;
    font-style: italic;
    transition: color 0.3s ease;
}

.form-input:focus::placeholder {
    color: var(--blue);
}

textarea.form-input {
    resize: vertical;
    min-height: 250px;
    font-family: inherit;
}

/* Button styling avec angles coupés */
.button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.submit-btn {
    position: relative;
    background: var(--blue);
    color: var(--white);
    border: none;
    padding: 18px 80px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    clip-path: polygon(
        15px 0,
        100% 0,
        100% calc(100% - 15px),
        calc(100% - 15px) 100%,
        0 100%,
        0 15px
    );
}

.submit-btn:hover {
    background: var(--blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 188, 212, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-title {
        font-size: 24px;
    }

    .submit-btn {
        padding: 16px 60px;
        font-size: 16px;
    }
}

.container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    width: 100%;
}

h1 {
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 3rem;
    font-family: "JetBrains Mono", monospace;
}

.viewer-wrapper {
    background: rgba(21, 27, 46, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid rgba(0, 240, 255, 0.1);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 80px var(--accent-glow);
    transition: all 0.3s ease;
}

.viewer-wrapper:hover {
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow:
        0 12px 48px rgba(0, 0, 0, 0.5),
        0 0 120px var(--accent-glow);
}

.viewer-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 1;
    margin: 0 auto 2rem;
    background: linear-gradient(
        135deg,
        rgba(0, 240, 255, 0.03) 0%,
        rgba(138, 43, 226, 0.03) 100%
    );
    border-radius: 16px;
    overflow: hidden;
    cursor: grab;
    border: 2px solid rgba(0, 240, 255, 0.1);
    background: white;
    box-shadow: inset 0 4px 20px rgba(0, 0, 0, 0.3);
}

.viewer-container.dragging {
    cursor: grabbing;
}

.viewer-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    user-select: none;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 3px solid rgba(0, 240, 255, 0.1);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.controls {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.control-group {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

button {
    background: linear-gradient(
        135deg,
        rgba(0, 240, 255, 0.1) 0%,
        rgba(138, 43, 226, 0.1) 100%
    );
    border: 1px solid rgba(0, 240, 255, 0.3);
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

button:hover {
    background: linear-gradient(
        135deg,
        rgba(0, 240, 255, 0.2) 0%,
        rgba(138, 43, 226, 0.2) 100%
    );
    border-color: var(--accent);
    box-shadow: 0 4px 16px var(--accent-glow);
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

.axis-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.axis-control {
    background: rgba(0, 240, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 240, 255, 0.1);
}

.axis-title {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.85rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    font-weight: 600;
}

.slider-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

label {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(0, 240, 255, 0.1);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, #b24bf3 100%);
    cursor: pointer;
    box-shadow: 0 0 16px var(--accent-glow);
    transition: all 0.2s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 24px var(--accent-glow);
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, #b24bf3 100%);
    cursor: pointer;
    border: none;
    box-shadow: 0 0 16px var(--accent-glow);
    transition: all 0.2s ease;
}

input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.2);
}

.info-panel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(0, 240, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(0, 240, 255, 0.1);
}

.info-item {
    text-align: center;
}

.info-label {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.info-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.instructions {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(138, 43, 226, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(138, 43, 226, 0.2);
}

.instructions p {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.instructions strong {
    color: var(--accent);
}

@media (max-width: 768px) {
    .controls {
        flex-direction: column;
    }

    .control-group {
        width: 100%;
        flex-direction: column;
    }

    button {
        width: 100%;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container > * {
    animation: fadeIn 0.6s ease forwards;
}

.container > *:nth-child(1) {
    animation-delay: 0.1s;
}

.container > *:nth-child(2) {
    animation-delay: 0.2s;
}

.container > *:nth-child(3) {
    animation-delay: 0.3s;
}

/* Visions & Values Section */
.visions-section {
    padding: 100px 20px;
    background-color: var(--white);
    max-width: 1400px;
    margin: 0 auto;
}

.visions-layout {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.visions-left-column {
    flex: 2;
    position: relative;
}

.visions-right-column {
    max-width: min-content;
    padding: 2rem 2.5rem;

    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #06527e;
    clip-path: polygon(
        30px 0,
        100% 0,
        100% calc(100% - 30px),
        calc(100% - 30px) 100%,
        0 100%,
        0 30px
    );
}

.visions-values-title {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 400;
    font-style: italic;
    margin: 0 0 0.5rem 0;
    font-family: inherit;
    padding-left: 30px !important;
}

.visions-media-wrapper {
    position: relative;
    min-height: 500px;
}

.visions-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.visions-overlay-card {
    position: absolute;
    bottom: -30px;
    left: -20px;
    background-color: var(--blue);
    padding: 2rem 2.5rem;
    max-width: 500px;
    clip-path: polygon(
        30px 0,
        100% 0,
        100% calc(100% - 30px),
        calc(100% - 30px) 100%,
        0 100%,
        0 30px
    );
    z-index: 10;
}

.visions-card-title {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 400;
    font-style: italic;
    margin: 0 0 0.5rem 0;
    font-family: inherit;
}

.visions-card-text {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
    margin: 0;
}

.visions-menu {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.visions-menu-item {
    padding: 1.2rem 1.8rem;
    cursor: default;
    transition: none;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.visions-menu-item span {
    white-space: nowrap;
    color: var(--white);
}

.visions-menu-item.non-clickable {
    cursor: default;
    pointer-events: none;
}

.visions-menu-item.non-clickable:hover {
    background-color: var(--black);
    transform: none;
}

.menu-text {
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 900px) {
    .visions-layout {
        flex-direction: column;
    }

    .visions-left-column {
        width: 100%;
        margin-bottom: 4rem;
    }

    .visions-right-column {
        max-width: 100%;
        width: 100%;
    }

    .visions-media-wrapper {
        min-height: 400px;
    }

    .visions-overlay-card {
        padding: 2rem;
        width: 90%;
        left: 50%;
        transform: translateX(-50%);
        bottom: -40px;
    }

    .visions-card-text {
        font-size: 1rem;
    }
}

/* ==========================================
   COMPREHENSIVE RESPONSIVE STYLES
   ========================================== */

/* ---------- Tablet (max-width: 1024px) ---------- */
@media (max-width: 1024px) {
    /* Hero Section */
    .hero-title {
        font-size: 4rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-description {
        font-size: 1.1rem;
        max-width: 600px;
        padding: 0 20px;
    }

    .hero-buttons {
        gap: 1.5rem;
    }

    /* Parallax Section */
    .parallax-section {
        padding: 60px 20px;
        min-height: auto;
    }

    .parallax-block {
        width: 100%;
        max-width: 500px;
        min-height: 400px;
        padding: 2.5rem;
    }

    .block-title {
        font-size: 2.5rem;
    }

    .block-headline {
        font-size: 2rem;
    }

    .block-content p {
        font-size: 16px;
    }

    /* Product Showcase */
    .product-showcase-section {
        margin-top: 60px;
        padding: 3rem 1.5rem;
    }

    .category-nav {
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .product-title {
        font-size: 2.8rem;
    }

    /* Work Image */
    .work-img {
        height: 40vh;
    }

    /* Team Section */
    .team-header {
        flex-direction: column;
        gap: 1.5rem;
    }

    .team-text-col {
        max-width: 100%;
    }

    /* Contact Section */
    .contact-section {
        padding: 5rem 2rem;
    }
}

/* ---------- Mobile (max-width: 768px) ---------- */
@media (max-width: 768px) {
    /* Hero Section */
    .hero {
        height: 100svh;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
        line-height: 1.5;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        padding: 0 30px;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 1rem 2rem;
    }

    /* Visions Section */
    .visions-section {
        padding: 60px 15px;
    }

    .visions-header {
        padding-left: 10px;
        margin-bottom: 2rem;
    }

    .visions-media-wrapper {
        min-height: 300px;
    }

    .visions-overlay-card {
        padding: 1.5rem;
        max-width: 100%;
        position: relative;
        left: 0;
        transform: none;
        bottom: 0;
        margin-top: -20px;
        width: 100%;
    }

    .visions-card-text {
        font-size: 1rem;
    }

    .visions-menu-item {
        padding: 1.2rem 1.5rem;
    }

    .menu-text {
        font-size: 0.9rem;
    }

    /* About Section */
    .about-section {
        padding: 60px 0;
    }

    .about-images {
        min-height: 350px;
        padding: 0 15px;
    }

    .img-primary-wrapper {
        width: 85%;
    }

    .img-secondary-wrapper {
        right: 15px;
        width: 55%;
        height: 40%;
    }

    .main-headline {
        font-size: 1.8rem;
    }

    .body-paragraph {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }

    .stats-row {
        gap: 2rem;
    }

    .stat-value {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    /* Parallax Section */
    .parallax-section {
        padding: 40px 15px;
    }

    .parallax-block {
        min-height: 350px;
        padding: 2rem;
        margin-bottom: 2rem !important;
    }

    .block-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .block-headline {
        font-size: 1.5rem;
    }

    .block-content p {
        font-size: 14px;
        margin-bottom: 1.5rem;
    }

    .block-footer {
        bottom: -20px;
        font-size: 0.7rem;
    }

    /* Product Showcase */
    .product-showcase-section {
        margin-top: 40px;
        padding: 2rem 1rem;
        min-height: auto;
    }

    .category-nav {
        gap: 0.6rem 1rem;
        margin-bottom: 2rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    .category-nav .nav-link {
        font-size: 0.8rem;
    }

    .category-nav .nav-link.active {
        font-size: 1.1rem;
    }

    .product-slide {
        gap: 1.5rem;
    }

    .product-title {
        font-size: 2rem;
    }

    .product-overline {
        font-size: 0.8rem;
    }

    .product-description {
        font-size: 0.9rem;
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .filter-chips {
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }

    .chip {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }

    .slider-navigation {
        justify-content: center;
    }

    .image-wrapper {
        max-width: 280px;
        margin: 0 auto;
        width: 100%;
    }

    .product-image-col {
        width: 100%;
    }

    .product-static-image {
        max-width: 280px;
        margin: 0 auto;
    }

    /* Work Image */
    .work-img {
        height: 30vh;
        margin: 30px 0;
    }

    /* Team Section */
    .team-section {
        padding: 40px 0;
    }

    .team-header {
        margin-bottom: 2rem;
        padding: 0 15px;
    }

    .team-title-col span {
        font-size: 1.5rem;
    }

    .team-scroll-wrapper {
        overflow-x: visible;
        padding: 0 10px;
    }

    .team-track {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        width: 100%;
        padding: 0;
        /* Ensure no extra padding causes overflow with grid */
        box-sizing: border-box;
    }

    .team-card {
        width: 100%;
        overflow: visible;
    }

    /* Reduce clip size for mobile */
    .team-image-wrapper.polygon-clip {
        clip-path: polygon(
            15px 0,
            100% 0,
            100% calc(100% - 15px),
            calc(100% - 15px) 100%,
            0 100%,
            0 15px
        );
    }

    .card-image-composed {
        margin-bottom: 0.5rem;
    }

    .linkedin-wrapper {
        width: 32px;
        height: 32px;
        right: -5px;
        bottom: -5px;
        clip-path: polygon(
            0 0,
            calc(100% - 8px) 0,
            100% 8px,
            100% 100%,
            8px 100%,
            0 calc(100% - 8px)
        );
    }

    .team-name {
        font-size: 0.75rem;
        margin-bottom: 0.2rem;
    }

    .team-role {
        font-size: 0.65rem;
        line-height: 1.2;
        margin-top: 0.2rem;
    }

    /* Contact Section */
    .contact-section {
        padding: 4rem 1.5rem;
    }

    .contact-title {
        font-size: 22px;
        margin-bottom: 30px;
    }

    .contact-form {
        gap: 20px;
    }

    .form-input {
        padding: 14px 20px;
        font-size: 14px;
    }

    textarea.form-input {
        min-height: 180px;
    }

    .submit-btn {
        width: 100%;
        padding: 16px 40px;
    }

    /* Footer */
    footer {
        padding: 40px 20px 20px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        margin-bottom: 30px;
    }

    .contact-info {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .contact-info a {
        font-size: 13px;
    }

    .phone {
        font-size: 16px;
    }

    .copyright {
        font-size: 11px;
        padding-top: 20px;
    }
}

/* ---------- Small Mobile (max-width: 480px) ---------- */
@media (max-width: 480px) {
    /* Hero Section */
    .hero-content {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Visions */
    .visions-section {
        padding: 40px 10px;
    }

    .visions-menu-item {
        padding: 1rem 1.2rem;
    }

    .menu-text {
        font-size: 0.8rem;
    }

    /* About */
    .about-section {
        padding: 40px 0;
    }

    .about-images {
        min-height: 280px;
    }
}

/* --- Legal Page Simple Styles --- */
.legal-page {
    padding-top: 150px;
    padding-bottom: 80px;
    background-color: var(--white);
    color: var(--black);
    min-height: 100vh;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styling */
.legal-header {
    margin-bottom: 4rem;
}

.legal-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--black);
    text-transform: uppercase;
}

.legal-subtitle {
    text-align: center;
    font-size: 1rem;
    color: #666;
    font-weight: 400;
    margin-bottom: 0;
}

/* Content Styling */
.intro-section {
    margin-bottom: 3rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 2rem;
}

.lead-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--black);
    font-weight: 500;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.legal-section p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #444;
}

.legal-section a {
    color: var(--blue);
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.legal-section a:hover {
    opacity: 0.8;
}

.legal-actions {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

@media (max-width: 768px) {
    .legal-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .about-content {
        padding: 0 15px;
    }

    .eyebrow {
        font-size: 0.8rem;
    }

    .main-headline {
        font-size: 1.5rem;
    }

    .body-paragraph {
        font-size: 0.9rem;
    }

    .stat-value {
        font-size: 2rem;
    }

    .stat-item {
        min-width: 100%;
    }

    /* Parallax */
    .parallax-block {
        min-height: 300px;
        padding: 1.5rem;
    }

    .block-title {
        font-size: 1.8rem;
    }

    .block-headline {
        font-size: 1.3rem;
    }

    /* Products */
    .product-title {
        font-size: 1.6rem;
    }

    .product-description {
        font-size: 0.85rem;
    }

    .chip {
        padding: 0.35rem 0.6rem;
        font-size: 0.7rem;
    }

    /* Team */
    .team-card {
        width: 200px;
    }

    .team-name {
        font-size: 0.85rem;
    }

    .team-role {
        font-size: 0.9rem;
    }

    .polygon-clip {
        clip-path: polygon(
            20px 0,
            100% 0,
            100% calc(100% - 20px),
            calc(100% - 20px) 100%,
            0 100%,
            0 20px
        );
    }

    /* Contact */
    .contact-title {
        font-size: 18px;
    }

    .submit-btn {
        padding: 14px 30px;
        font-size: 14px;
    }
}

/* ---------- Landscape Mobile Fix ---------- */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 80px 20px 40px;
    }

    .hero-content {
        justify-content: flex-start;
        padding-top: 20px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: row;
    }
}
.product-slide[data-product-id="drivetrain"] .viewer-image,
.product-slide[data-product-id="drivetrain"] .product-static-image {
    transform: scale(0.75);
}
