:root {
    --text-color: #ffffff;
    --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --btn-bg: #EE1B24;
    --btn-bg-hover: #cc151d;
    --play-icon-bg: #ffffff;
    --play-icon-color: #EE1B24;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-family);
}

body {
    background-color: #f4f5f6;
    color: var(--text-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

.hero {
    position: relative;
    width: calc(100% - 40px);
    height: calc(100vh - 40px);
    margin: 20px auto;
    border-radius: 32px;
    background-color: #111111; /* fallback */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Gradient overlay to make text pop */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.2) 40%,
        rgba(0, 0, 0, 0.2) 60%,
        rgba(0, 0, 0, 0.8) 100%
    );
    z-index: 1;
}

.header, .hero-content, .hero-footer {
    position: relative;
    z-index: 2;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 60px 20px 60px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 20px 60px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    color: #111111;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.header.scrolled a {
    color: #111111;
}

.header.scrolled a.btn-contact {
    color: #ffffff;
}

.nav-left, .nav-right {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-left a, .nav-right a:not(.btn-contact) {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.btn-contact {
    display: inline-block;
    background-color: var(--btn-bg);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-contact:hover {
    background-color: var(--btn-bg-hover);
    opacity: 1;
}

/* Hero Content */
.hero-content {
    padding: 100px 60px 0 60px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
}

.hero-text {
    max-width: 980px;
}

.hero-text h1 {
    font-size: 64px;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 40px;
    letter-spacing: 0;
}

.btn-play {
    display: inline-flex;
    align-items: center;
    background-color: var(--btn-bg);
    padding: 10px 10px 10px 24px;
    border-radius: 50px;
    gap: 16px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-play:hover {
    background-color: var(--btn-bg-hover);
    transform: translateY(-2px);
    opacity: 1;
}

.btn-text {
    font-size: 16px;
    font-weight: 500;
}

.play-icon-circle {
    width: 44px;
    height: 44px;
    background-color: var(--play-icon-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--play-icon-color);
}

.play-icon {
    width: 20px;
    height: 20px;
    margin-left: 2px; /* slight visual optical center trick for play icon */
}

/* Footer */
.hero-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 40px 60px;
}

.footer-left p {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.2px;
}

.scroll-down {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.scroll-down svg {
    transition: transform 0.3s ease;
}

.scroll-down:hover svg {
    transform: translateY(4px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .header {
        padding: 40px 40px 20px 40px;
    }
    
    .header.scrolled {
        padding: 20px 40px;
    }
    
    .logo {
        position: static;
        transform: none;
    }
    
    .nav-left {
        display: none;
    }
    
    .nav-right a:not(.btn-contact) {
        display: none;
    }
    
    .hamburger {
        display: flex;
        margin-left: 24px;
    }
    
    .hero-content {
        padding: 80px 40px 0 40px;
    }
    
    .hero-text h1 {
        font-size: 48px;
    }
    
    .hero-footer {
        padding: 30px 40px;
    }
}

@media (max-width: 768px) {
    .hero {
        width: calc(100% - 24px);
        height: calc(100vh - 24px);
        margin: 12px auto;
        border-radius: 24px;
    }
    
    .header {
        padding: 30px 30px 15px 30px;
    }
    
    .header.scrolled {
        padding: 15px 30px;
    }
    
    .logo-img {
        height: 36px;
    }
    
    .btn-contact {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .hero-content {
        padding: 60px 24px 0 24px;
    }
    
    .hero-text h1 {
        font-size: 36px;
        margin-bottom: 30px;
    }
    
    .hero-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 24px;
    }
    
    .footer-left p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero {
        width: calc(100% - 16px);
        height: calc(100vh - 16px);
        margin: 8px auto;
        border-radius: 20px;
    }
    
    .header {
        padding: 24px 24px 12px 24px;
    }
    
    .header.scrolled {
        padding: 15px 24px;
    }
    
    .logo-img {
        height: 32px;
    }
    
    .btn-contact {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .hero-content {
        padding: 50px 16px 0 16px;
    }
    
    .hero-text h1 {
        font-size: 30px;
    }
    
    .btn-play {
        width: 100%;
        justify-content: center;
    }
    
    .hero-footer {
        padding: 20px 16px;
        gap: 16px;
    }
}

/* Marquee Section */
.marquee-section {
    background-color: #f4f5f6;
    padding: 60px 0;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e5e5e5;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
}

.marquee-content {
    display: inline-flex;
    align-items: center;
    animation: scroll 30s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

.marquee-group {
    display: flex;
    gap: 80px;
    padding-right: 80px;
}

.brand-item {
    font-size: 24px;
    font-weight: 600;
    color: #9ba3a9;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    cursor: pointer;
}

/* Styles pour les futurs logos des marques */
.brand-item img, .brand-item svg {
    height: 48px;
    width: auto;
    filter: grayscale(100%) opacity(50%);
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.brand-item:hover img, .brand-item:hover svg {
    filter: grayscale(0%) opacity(100%);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Stats Section */
.stats-section {
    padding: 120px 60px;
    background-color: #f4f5f6;
}

.stats-card {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 100px;
    color: #111111;
}

.stats-text, .stats-grid {
    position: relative;
    z-index: 1;
}

.stats-text {
    max-width: 1100px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.stats-text p {
    font-size: 36px;
    line-height: 1.4;
    font-weight: 300;
    letter-spacing: -0.5px;
}

.stats-text p strong {
    font-weight: 500;
    color: #111111;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 60px;
}

.stat-item h3 {
    font-size: 64px;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 12px;
    letter-spacing: -1.5px;
    color: #EE1B24;
}

.stat-item p {
    font-size: 15px;
    font-weight: 500;
    opacity: 0.8;
}

/* Scroll Animation for Stats Section */
.stats-card .stats-text p, 
.stats-card .stat-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stats-card.visible .stats-text p,
.stats-card.visible .stat-item {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.stats-card .stats-text p:nth-child(1) { transition-delay: 0s; }
.stats-card .stats-text p:nth-child(2) { transition-delay: 0.15s; }

.stats-card .stat-item:nth-child(1) { transition-delay: 0.3s; }
.stats-card .stat-item:nth-child(2) { transition-delay: 0.4s; }
.stats-card .stat-item:nth-child(3) { transition-delay: 0.5s; }
.stats-card .stat-item:nth-child(4) { transition-delay: 0.6s; }

/* Responsive adjustments for stats section */
@media (max-width: 1024px) {
    .stats-card {
        gap: 80px;
    }
    
    .stats-text p {
        font-size: 32px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 60px 40px;
    }
}

@media (max-width: 768px) {
    .stats-section {
        padding: 80px 30px;
    }
    
    .stats-card {
        gap: 60px;
    }

    .stats-text p {
        font-size: 24px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .stat-item h3 {
        font-size: 48px;
    }
}

/* Chrono Section */
.chrono-section {
    padding: 0 60px 100px 60px;
    background-color: #f4f5f6;
}

.chrono-card {
    position: relative;
    overflow: hidden;
    max-width: 1400px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 32px;
    padding: 80px 100px;
    display: flex;
    align-items: center;
    gap: 120px;
    color: #111111;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03), 0 20px 80px rgba(238, 27, 36, 0.05); /* Soft red shadow glow */
    min-height: 440px;
}

/* Léger fondu rouge AMTT décoratif dans le fond */
.chrono-card::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 140%;
    background: radial-gradient(ellipse at center, rgba(238, 27, 36, 0.06) 0%, rgba(238, 27, 36, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

.france-map-bg {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    height: 90%;
    width: auto;
    opacity: 0.04;
    z-index: 0;
    pointer-events: none;
}

.chrono-info, .chrono-stats {
    position: relative;
    z-index: 1;
}

.chrono-info {
    flex: 1.2;
}

.chrono-info h2 {
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    letter-spacing: -0.5px;
}

.chrono-info p {
    font-size: 20px;
    opacity: 0.8;
    line-height: 1.5;
    font-weight: 400;
}

.chrono-info p + p {
    margin-top: 16px;
}

.chrono-stats {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.chrono-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.chrono-number {
    font-size: 80px;
    font-weight: 300;
    color: #EE1B24;
    line-height: 1;
    letter-spacing: -2px;
}

.chrono-label {
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.3;
    opacity: 0.7;
}

.chrono-divider {
    width: 2px;
    height: 80px;
    background-color: #e5e5e5;
}

/* Red pulsing dot to simulate live "active" status */
.pulse-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #EE1B24;
    border-radius: 50%;
    margin-right: 16px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(238, 27, 36, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(238, 27, 36, 0); }
    100% { box-shadow: 0 0 0 0 rgba(238, 27, 36, 0); }
}

@media (max-width: 1024px) {
    .chrono-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 50px 40px;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .chrono-section {
        padding: 0 30px 60px 30px;
    }
    
    .chrono-card {
        padding: 40px 30px;
    }

    .chrono-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .chrono-divider {
        width: 100%;
        height: 2px;
    }
    
    .chrono-number {
        font-size: 60px;
    }
}

/* Services Section */
.services-section {
    padding: 150px 100px; /* Massive external padding */
    background-color: #f4f5f6; /* Unified with the rest of the site */
}

.services-grid {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px 200px;
    position: relative;
}

.scroll-line {
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, #EE1B24 0%, rgba(238, 27, 36, 0.15) 100%);
    transform-origin: top center;
    transform: scaleY(0);
    z-index: 0;
    pointer-events: none;
    border-radius: 1px;
}

@media (max-width: 1024px) {
    .scroll-line {
        display: none;
    }
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 40px; /* Good spacing between icon and text */
    padding-bottom: 70px; /* Lots of space before the underline */
    border-bottom: 1px solid rgba(0, 0, 0, 0.08); /* subtle separator line */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Prevent double bottom margin on desktop for the last row */
.service-item:nth-last-child(-n+2) {
    border-bottom: none;
    padding-bottom: 0;
}

.service-icon {
    flex-shrink: 0;
    width: 80px; /* Big icons to match screenshot */
    height: 80px;
    color: #EE1B24; /* AMTT Primary Red */
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-content {
    flex: 1;
}

.service-content h3 {
    font-size: 50px; /* Massive headings */
    font-weight: 300;
    color: #111111;
    margin-bottom: 24px;
    margin-top: 5px; /* Vertical alignment with huge icon */
    letter-spacing: -1.5px;
}

.service-content p {
    font-size: 18px;
    line-height: 1.6;
    font-weight: 400;
    color: #111111;
    opacity: 0.8;
}

.service-content p + p {
    margin-top: 14px;
}

.span-full {
    grid-column: 1 / -1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    border-bottom: none;
}

.span-full .service-item {
    flex-direction: column;
    align-items: center;
}

.span-full h3 {
    margin-top: 20px;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .service-item:nth-last-child(-n+2) {
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        padding-bottom: 50px;
    }
    
    .service-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 60px 30px;
    }
    
    .service-item {
        flex-direction: column;
        gap: 20px;
    }
    
    .service-icon {
        width: 48px;
        height: 48px;
    }
}

/* Lenis Smooth Scroll Recommended CSS */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* Brands Section — Nos Marques Propres */
.brands-section {
    padding: 0 60px 100px 60px;
    background-color: #f4f5f6;
}

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

.brands-header {
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.brands-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.brands-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #EE1B24;
    margin-bottom: 16px;
    padding: 6px 16px;
    background: rgba(238, 27, 36, 0.06);
    border-radius: 50px;
}

.brands-header h2 {
    font-size: 42px;
    font-weight: 300;
    color: #111111;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.brands-header p {
    font-size: 18px;
    line-height: 1.6;
    color: #111111;
    opacity: 0.7;
    max-width: 680px;
    margin: 0 auto;
}

.brands-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.brand-card {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    background: #ffffff;
    border-radius: 24px;
    padding: 48px;
    text-decoration: none;
    color: #111111;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.35s ease;
}

.brand-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #EE1B24, #ff5a5f);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.brand-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(238, 27, 36, 0.1), 0 4px 20px rgba(0,0,0,0.06);
    opacity: 1;
}

.brand-card:hover::before {
    opacity: 1;
}

.brand-card-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    color: #EE1B24;
}

.brand-card-icon svg {
    width: 100%;
    height: 100%;
}

.brand-card-content {
    flex: 1;
}

.brand-card-content h3 {
    font-size: 28px;
    font-weight: 500;
    color: #111111;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.brand-card-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #111111;
    opacity: 0.7;
    margin-bottom: 20px;
}

.brand-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #EE1B24;
    transition: gap 0.3s ease;
}

.brand-card-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.brand-card:hover .brand-card-link {
    gap: 12px;
}

.brand-card:hover .brand-card-link svg {
    transform: translate(2px, -2px);
}

@media (max-width: 1024px) {
    .brands-grid {
        grid-template-columns: 1fr;
    }
    
    .brands-header h2 {
        font-size: 34px;
    }
}

@media (max-width: 768px) {
    .brands-section {
        padding: 0 30px 60px 30px;
    }
    
    .brand-card {
        flex-direction: column;
        padding: 36px;
        gap: 24px;
    }
    
    .brands-header h2 {
        font-size: 28px;
    }
    
    .brand-card-content h3 {
        font-size: 24px;
    }
}

.footer {
    background-color: #f4f5f6;
    color: #111111;
    padding: 80px 60px 40px;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.03);
    font-family: 'Outfit', sans-serif;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col-main {
    flex: 0 0 32%;
}

.footer-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
    margin-bottom: 24px;
}

.footer-col-main p {
    font-size: 15px;
    line-height: 1.6;
    color: #2c3e38;
    margin-bottom: 30px;
    max-width: 95%;
}


.footer-col-links {
    display: flex;
    flex: 1;
    justify-content: space-between;
    gap: 30px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 600;
    color: #162623;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    color: #2c3e38;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s;
}

.footer-col ul a:hover {
    color: #162623;
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(26, 47, 43, 0.1);
}

.copyright {
    font-size: 14px;
    color: #2c3e38;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 30px;
}

.footer-legal a {
    color: #2c3e38;
    font-size: 14px;
    text-decoration: none;
    font-weight: 500;
}

.footer-legal a:hover {
    text-decoration: underline;
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid rgba(26, 47, 43, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #162623;
    cursor: pointer;
    background-color: #f7f9f8;
    transition: background-color 0.3s;
}

.lang-selector:hover {
    background-color: #e5ebe8;
}

.lang-selector .flag-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    object-fit: cover;
}

.lang-selector .arrow-icon {
    width: 14px;
    height: 14px;
}

/* Footer Responsive */
@media (max-width: 1024px) {
    .footer-top {
        flex-direction: column;
        gap: 40px;
    }
    .footer-col-main {
        max-width: 100%;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 60px 30px 30px;
    }
    .footer-col-links {
        flex-direction: column;
        gap: 30px;
    }
    .footer-legal {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* --- MOBILE MENU & HAMBURGER STYLES --- */
.hamburger {
    display: none; /* Hidden by default, shown in media query */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    z-index: 2001; /* Above mobile menu overlay */
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background 0.3s ease;
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Scrolled header state for hamburger */
.header.scrolled .hamburger {
    background: rgba(0, 0, 0, 0.05);
}

.header.scrolled .hamburger:hover {
    background: rgba(0, 0, 0, 0.1);
}

.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: currentColor; /* Inherits from header color */
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.hamburger span:nth-child(1) {
    transform: translateY(-3px);
}

.hamburger span:nth-child(2) {
    transform: translateY(3px);
}

/* When active, form an X and make the lines dark since background is white */
.hamburger.active span {
    background-color: #111111;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(1px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    transform: translateY(-1px) rotate(-45deg);
}

/* Fullscreen Overlay Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.mobile-menu.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 30px 40px;
}

.mobile-logo {
    height: 35px;
    width: auto;
    object-fit: contain;
}

.mobile-close {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    transition: background 0.3s ease;
}

.mobile-close svg {
    width: 24px;
    height: 24px;
    color: #111111;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 40px;
    width: 100%;
    gap: 32px;
}

.mobile-menu-content a {
    font-size: 32px;
    font-weight: 500;
    color: #111111;
    text-decoration: none;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.4s ease;
}

.mobile-menu.active .mobile-menu-content a {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered load animation */
.mobile-menu.active .mobile-menu-content a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-menu-content a:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-menu-content a:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-menu-content a:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active .mobile-menu-content a:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu.active .mobile-menu-content a:nth-child(6) { transition-delay: 0.35s; }

/* Links hover animation */
.mobile-menu-content a:not(.mobile-contact-btn) {
    position: relative;
    padding-bottom: 2px;
}

.mobile-menu-content a:not(.mobile-contact-btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--btn-bg);
    transition: width 0.3s ease;
}

.mobile-menu-content a:not(.mobile-contact-btn):hover {
    color: var(--btn-bg);
    transform: translateX(10px) !important;
}

.mobile-menu-content a:not(.mobile-contact-btn):hover::after {
    width: 100%;
}

/* Big Mobile Contact Button */
.mobile-contact-btn {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 10px;
    padding: 20px 30px;
    background-color: #111111;
    color: #ffffff !important;
    border-radius: 16px;
    font-size: 24px !important;
    font-weight: 500;
}

.mobile-contact-btn svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.mobile-contact-btn:hover {
    background-color: var(--btn-bg);
    box-shadow: 0 10px 20px rgba(238, 27, 36, 0.2);
}

.mobile-contact-btn:hover svg {
    transform: translateX(6px);
}

@media (max-width: 480px) {
    .mobile-menu-content a {
        font-size: 26px;
    }
}

@media (max-width: 1024px) {
    .hamburger {
        display: flex;
    }
}

/* Page Transition Overlay */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.page-loader.active {
    opacity: 1;
    pointer-events: all;
}

.page-loader.out {
    opacity: 0;
}
