/* ========================================
   GOLDEX FRANCE - Clean Premium Stylesheet
   Inspired by europbots.com rhythm
   ======================================== */

/* CSS Variables */
:root {
    --color-bg: #0a0a0a;
    --color-text: #ffffff;
    --color-text-muted: rgba(255, 255, 255, 0.85);
    --color-primary: #3b82f6;
    --color-border: rgba(255, 255, 255, 0.1);
    --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-family-secondary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Background glow */
.blue-glow-br {
    position: fixed;
    bottom: -30%;
    right: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

/* ========================================
   HEADER
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 24px 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    padding: 16px 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-img {
    height: 70px;
    width: auto;
    transition: height 0.3s ease;
}

.header.scrolled .logo-img {
    height: 55px;
}

.nav-list {
    display: flex;
    gap: 48px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    transition: color 0.3s ease;
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 10px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--color-text);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* ========================================
   SECTIONS - Tall & Breathing
   ======================================== */
section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 20px 0 120px;
    position: relative;
    scroll-margin-top: 100px;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 80px;
}

/* Animation classes */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Slide animations for catalogue */
.slide-from-right {
    opacity: 0;
    transform: translateX(150px) rotate(5deg);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-from-left {
    opacity: 0;
    transform: translateX(-150px) rotate(-5deg);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-from-right.visible,
.slide-from-left.visible {
    opacity: 1;
    transform: translateX(0) rotate(0);
}

.fade-up {
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Parallax effect */
.parallax-element {
    transition: transform 0.1s ease-out;
}

/* Stagger delays for content */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ========================================
   HERO - Full viewport, impactant
   ======================================== */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background: #000;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.5) 0%,
        rgba(10, 10, 10, 0.3) 50%,
        rgba(10, 10, 10, 0.9) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    padding: 0 24px;
}

.hero-tagline {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 32px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease 0.2s forwards;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease 0.4s forwards;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 48px;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease 0.6s forwards;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease 0.8s forwards;
}

.hero-icons {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease 1s forwards;
    flex-wrap: wrap;
}

.hero-icons img {
    height: 80px;
    width: auto;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .hero-icons {
        gap: 20px;
        margin-top: 40px;
    }

    .hero-icons img {
        height: 55px;
    }
}

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

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: #fff;
    color: #000;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   STATS - Compact strip
   ======================================== */
.stats {
    min-height: auto;
    padding: 80px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    text-align: center;
}

.stat-item {
    opacity: 0;
    transform: translateY(30px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
}

.stat-plus, .stat-percent, .stat-unit {
    font-size: 1.5rem;
    font-weight: 700;
}

.stat-label {
    font-size: 14px;
    color: var(--color-text-muted);
}

/* ========================================
   SHOWCASE - Scroll triggered section
   ======================================== */
.showcase {
    min-height: 100vh;
    height: 100vh;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.showcase-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.showcase-backgrounds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.showcase-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.showcase-bg.active {
    opacity: 1;
}

.showcase-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.showcase-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(10, 10, 10, 0.7) 0%,
        rgba(10, 10, 10, 0.3) 50%,
        rgba(10, 10, 10, 0.8) 100%
    );
    z-index: 1;
}

.showcase-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.showcase-info {
    max-width: 500px;
}

.showcase-info .section-tag {
    margin-bottom: 20px;
}

.showcase-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.showcase-desc {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* Navigation menu on right */
.showcase-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.showcase-nav-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s ease;
    opacity: 0.4;
    transform: translateX(20px);
}

.showcase-nav-item.active {
    opacity: 1;
    transform: translateX(0);
    background: rgba(255, 255, 255, 0.05);
}

.showcase-nav-item:hover {
    opacity: 0.8;
}

.showcase-nav-thumb {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.showcase-nav-item.active .showcase-nav-thumb {
    border-color: var(--color-primary);
}

.showcase-nav-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showcase-nav-text h4 {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.showcase-nav-item.active .showcase-nav-text h4 {
    color: #fff;
}

.showcase-nav-text p {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* Scroll indicator */
.showcase-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--color-text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-primary), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* Responsive */
@media (max-width: 1024px) {
    .showcase-content {
        flex-direction: column;
        justify-content: center;
        padding: 100px 40px;
        text-align: center;
    }

    .showcase-info {
        margin-bottom: 60px;
    }

    .showcase-nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .showcase-nav-item {
        flex-direction: column;
        text-align: center;
    }

    .showcase-nav-text {
        display: none;
    }
}

@media (max-width: 768px) {
    .showcase-content {
        padding: 80px 24px;
    }

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

    .showcase-nav-thumb {
        width: 60px;
        height: 45px;
    }
}

/* ========================================
   SECTORS - Flip Cards with Side Title
   ======================================== */
.sectors {
    background: transparent;
}

.sectors-container {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 60px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 48px;
    align-items: start;
}

.sectors-header {
    position: sticky;
    top: 150px;
}

.sectors-header .section-tag {
    margin-bottom: 20px;
}

.sectors-header .section-title {
    text-align: left;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
}

.sectors-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    perspective: 1500px;
}

/* Colonne droite décalée vers le bas */
.sector-card:nth-child(2) {
    margin-top: 140px;
}

/* Remonter la 2ème ligne pour coller */
.sector-card:nth-child(3) {
    margin-top: -140px;
}

.sector-card:nth-child(4) {
    margin-top: 0;
}

.sector-card {
    width: 100%;
    height: 280px;
    cursor: pointer;
}

.sector-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.sector-card:hover .sector-card-inner {
    transform: rotateX(180deg);
}

.sector-card-front,
.sector-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 24px;
    text-align: center;
}

.sector-card-front {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid var(--color-border);
}

.sector-card-back {
    background: linear-gradient(145deg, var(--color-primary) 0%, #1d4ed8 100%);
    transform: rotateX(180deg);
    justify-content: space-between;
    padding: 24px 20px;
}

.sector-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(59, 130, 246, 0.05) 100%);
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.sector-icon svg {
    width: 36px;
    height: 36px;
    color: var(--color-primary);
}

.sector-card-front h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text);
}

.sector-hint {
    font-size: 11px;
    color: var(--color-text-muted);
    opacity: 0.6;
    margin-top: auto;
}

.sector-card-back h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.sector-card-back p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin-bottom: 12px;
}

.sector-card-back ul {
    text-align: left;
    margin-bottom: 0;
    width: 100%;
}

.sector-card-back ul li {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    padding: 4px 0;
    padding-left: 18px;
    position: relative;
}

.sector-card-back ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #fff;
    font-weight: bold;
    font-size: 11px;
}

.sector-cta {
    display: inline-block;
    padding: 10px 20px;
    background: #fff;
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.sector-cta:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* Responsive Sectors */
@media (max-width: 1024px) {
    .sectors-container {
        display: block;
        padding: 0 24px;
        text-align: center;
    }

    .sectors-header {
        position: relative;
        top: 0;
        margin-bottom: 40px;
    }

    .sectors-header .section-title {
        text-align: center;
    }

    .sectors-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        max-width: 500px;
        margin: 0 auto;
    }

    .sector-card,
    .sector-card:nth-child(1),
    .sector-card:nth-child(2),
    .sector-card:nth-child(3),
    .sector-card:nth-child(4) {
        margin: 0 !important;
        transform: none !important;
        width: 100%;
        height: 200px;
    }

    .sector-card-front,
    .sector-card-back {
        border-radius: 16px;
    }
}

@media (max-width: 500px) {
    .sectors-container {
        padding: 0 16px;
    }

    .sectors-header .section-title {
        font-size: 1.5rem;
    }

    .sectors-grid {
        gap: 12px;
        max-width: 100%;
    }

    .sector-card,
    .sector-card:nth-child(1),
    .sector-card:nth-child(2),
    .sector-card:nth-child(3),
    .sector-card:nth-child(4) {
        height: 160px;
    }

    .sector-card-front,
    .sector-card-back {
        padding: 14px 10px;
        border-radius: 14px;
    }

    .sector-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 8px;
        border-radius: 10px;
    }

    .sector-icon svg {
        width: 22px;
        height: 22px;
    }

    .sector-card-front h3 {
        font-size: 0.8rem;
        margin-bottom: 0;
    }

    .sector-hint {
        display: none;
    }

    .sector-card-back h4 {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }

    .sector-card-back p {
        font-size: 9px;
        line-height: 1.3;
        margin-bottom: 8px;
    }

    .sector-card-back ul {
        display: none;
    }

    .sector-cta {
        padding: 6px 10px;
        font-size: 9px;
        border-radius: 4px;
    }
}

/* ========================================
   CATALOGUE - Horizontal Scroll
   ======================================== */
.catalogue {
    background: transparent;
    padding: 0;
    min-height: auto;
    overflow: hidden;
}

.catalogue-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 80px 0;
}

.catalogue-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
    padding: 0 48px;
}

.catalogue-track {
    display: flex;
    gap: 60px;
    padding: 0 80px;
    width: max-content;
}

.catalogue-item {
    flex-shrink: 0;
    width: 800px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    transition: background 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.catalogue-item:hover {
    background: rgba(59, 130, 246, 0.05);
    box-shadow: 0 0 60px rgba(59, 130, 246, 0.15);
    transform: translateY(-5px);
}

.catalogue-item-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 350px;
    overflow: hidden;
    border-radius: 16px;
}

.catalogue-item-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.catalogue-item:hover .catalogue-item-image img {
    transform: scale(1.08);
}

.catalogue-item-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.catalogue-item-content p {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

.catalogue-item-content ul {
    margin-bottom: 32px;
}

.catalogue-item-content ul li {
    color: var(--color-text-muted);
    padding: 10px 0;
    padding-left: 24px;
    position: relative;
    font-size: 14px;
}

.catalogue-item-content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

.solution-label {
    display: inline-block;
    padding: 6px 14px;
    background: var(--color-primary);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.solution-link {
    color: var(--color-primary);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
}

.solution-link:hover {
    color: var(--color-text);
}

/* Robot mini specs */
.robot-mini-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.robot-mini-specs span {
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    font-size: 12px;
    color: var(--color-primary);
    font-weight: 500;
}

/* Progress bar */
.catalogue-progress {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.catalogue-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--color-primary);
    border-radius: 2px;
    transition: width 0.1s ease;
}

/* Responsive Catalogue */
@media (max-width: 1024px) {
    .catalogue-item {
        width: 500px;
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
    }

    .catalogue-item-image {
        height: 220px;
    }

    .catalogue-item-image img {
        max-height: 200px;
        width: auto;
    }

    .catalogue-track {
        padding: 0 40px;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .catalogue-wrapper {
        padding: 60px 0;
    }

    .catalogue-item {
        width: 85vw;
        max-width: 350px;
        padding: 20px;
        gap: 20px;
    }

    .catalogue-item-image {
        height: 180px;
    }

    .catalogue-item-image img {
        max-height: 160px;
    }

    .catalogue-item-content h3 {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }

    .catalogue-item-content p {
        font-size: 0.9rem;
        margin-bottom: 16px;
    }

    .catalogue-item-content ul {
        margin-bottom: 20px;
    }

    .catalogue-item-content ul li {
        font-size: 13px;
        padding: 6px 0;
    }

    .catalogue-track {
        padding: 0 20px;
        gap: 20px;
    }

    .catalogue-header {
        padding: 0 20px;
        margin-bottom: 40px;
    }

    .catalogue-progress {
        bottom: 20px;
        width: 150px;
    }

    .robot-mini-specs {
        gap: 8px;
    }

    .robot-mini-specs span {
        padding: 6px 12px;
        font-size: 11px;
    }
}

/* ========================================
   ADVANTAGES
   ======================================== */
.advantages {
    background: transparent;
}

.advantages-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 48px;
    text-align: center;
}

.advantage-item h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.advantage-item p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ========================================
   CLIENTS
   ======================================== */
.clients {
    min-height: auto;
    padding: 120px 0;
    background: transparent;
}

.clients-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 64px;
    flex-wrap: wrap;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo img {
    max-height: 50px;
    width: auto;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.client-logo:hover img {
    opacity: 1;
}

.client-logo-large img {
    max-height: 80px;
}

/* ========================================
   CONTACT
   ======================================== */
.contact {
    background: transparent;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.contact-text {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 48px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-primary);
}

.contact-label {
    display: block;
    font-size: 12px;
    color: var(--color-text-muted);
    margin-bottom: 4px;
}

.contact-value {
    font-size: 15px;
    font-weight: 500;
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 48px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--color-text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text);
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-full {
    width: 100%;
    justify-content: center;
    border: none;
    font-family: var(--font-family);
}

.contact-form button.btn {
    margin-top: 8px;
    padding: 18px 32px;
    font-size: 15px;
    font-weight: 600;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--color-border);
    font-family: var(--font-family-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 64px;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.7;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: var(--color-text-muted);
}

.footer-links h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 14px;
    color: var(--color-text-muted);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-text);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .container {
        padding: 0 32px;
    }

    section {
        min-height: auto;
        padding: 120px 0;
    }

    .solution-item,
    .solution-item.reverse {
        grid-template-columns: 1fr;
        gap: 60px;
        direction: ltr;
    }

    .solution-item-image {
        order: -1;
    }

    .robot-showcase {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .robot-specs {
        grid-template-columns: repeat(4, 1fr);
    }

    .advantages-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .header-container {
        padding: 0 20px;
    }

    .logo-img {
        height: 50px;
    }

    .header.scrolled .logo-img {
        height: 45px;
    }

    section {
        padding: 80px 0;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--color-bg);
        padding: 100px 24px 40px;
        transition: right 0.3s ease;
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-link {
        display: block;
        font-size: 20px;
        font-weight: 600;
        padding: 18px 0;
        border-bottom: 1px solid var(--color-border);
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active {
        background: rgba(255, 255, 255, 0.15);
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

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

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

    .stat-label {
        font-size: 12px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .advantages-list {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .advantage-item {
        text-align: left;
        padding: 20px;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 12px;
    }

    .clients-grid {
        gap: 30px;
    }

    .client-logo img {
        max-height: 40px;
    }

    .client-logo-large img {
        max-height: 60px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .contact-info .section-title {
        font-size: 1.6rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-desc {
        max-width: none;
    }

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

    .footer-logo {
        height: 35px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 80px 0;
    }

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

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

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-icons {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 40px;
    }

    .hero-icons img {
        height: 50px;
    }

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

    .robot-buttons {
        flex-direction: column;
    }

    .robot-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .advantages-list {
        grid-template-columns: 1fr;
    }
}
