/* ═══════════════════════════════════════════════════════════
   MCHNRY B2B Trading Company — Design System
   Premium Industrial B2B Website
   ═══════════════════════════════════════════════════════════ */

/* ─── CSS Custom Properties ─── */
:root {
    /* Primary - CIPO Dark Navy */
    --primary-50: #e8eef7;
    --primary-100: #c8d7ed;
    --primary-200: #96aed4;
    --primary-300: #6888bb;
    --primary-400: #3d639f;
    --primary-500: #1a4080;
    --primary-600: #132D57;
    --primary-700: #0B1D3A;
    --primary-800: #091630;
    --primary-900: #060F1F;
    --primary-950: #030810;

    /* Accent - Cyan / Teal (CIPO brand) */
    --accent-50: #eaf7fd;
    --accent-100: #c5e9f8;
    --accent-200: #8dd4f1;
    --accent-300: #5cc0e8;
    --accent-400: #3DAEE8;
    --accent-500: #2C9BD8;
    --accent-600: #1E87C4;
    --accent-700: #186d9e;
    --accent-800: #135478;
    --accent-900: #0e3c55;
    --accent-950: #072230;

    /* Gold accent */
    --gold-50: #fdf8ec;
    --gold-100: #f8ead0;
    --gold-200: #f0d8a4;
    --gold-300: #E8C46F;
    --gold-400: #D4A843;
    --gold-500: #B08A2E;
    --gold-600: #8d6e24;
    --gold-700: #6a531b;
    --gold-800: #473812;
    --gold-900: #231c09;

    /* Neutral - Industrial Grays (CIPO-matched) */
    --gray-50: #F5F7FA;
    --gray-100: #E8ECF1;
    --gray-200: #d1d8e3;
    --gray-300: #b4bfcf;
    --gray-400: #94A3B8;
    --gray-500: #7889a1;
    --gray-600: #64748b;
    --gray-700: #475569;
    --gray-800: #334155;
    --gray-900: #1e293b;
    --gray-950: #0f172a;

    /* Dark tones (CIPO navy) */
    --dark-900: #060F1F;
    --dark-800: #0B1D3A;
    --dark-700: #132D57;
    --dark-600: #1a3a6a;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;

    /* Spacing */
    --section-padding: clamp(80px, 10vw, 140px);
    --container-max: 1280px;

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
    --transition-fast: 200ms var(--ease-out-expo);
    --transition-med: 400ms var(--ease-out-expo);
    --transition-slow: 600ms var(--ease-out-expo);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.05);
    --shadow-glow: 0 0 40px rgba(44, 155, 216, 0.15);

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--gray-50);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
}

/* ═══════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-med);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(10, 12, 20, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0;
    z-index: 1001;
}

.nav-logo-img {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: opacity var(--transition-fast);
}

.nav-logo-img:hover {
    opacity: 0.85;
}
.logo-text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 28px;
    letter-spacing: -0.5px;
    color: white;
}

.logo-dot {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 32px;
    color: var(--gold-400);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-link {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: white;
    background: rgba(255,255,255,0.08);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 2px;
    background: var(--accent-500);
    border-radius: var(--radius-full);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-full);
    padding: 6px 12px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lang-toggle:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.2);
}

.lang-option {
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.lang-option.active {
    color: white;
}

.lang-divider {
    color: rgba(255,255,255,0.25);
    font-size: 12px;
}

.nav-cta {
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    background: var(--accent-500);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.nav-cta:hover {
    background: var(--accent-700);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(44, 155, 216, 0.35);
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-hamburger span {
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all var(--transition-fast);
}

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

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

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

/* ═══════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 40px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: heroZoom 30s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.12); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(180deg, 
            rgba(6, 15, 31, 0.78) 0%,
            rgba(11, 29, 58, 0.55) 40%,
            rgba(6, 15, 31, 0.72) 70%,
            rgba(6, 15, 31, 0.96) 100%
        ),
        linear-gradient(90deg,
            rgba(19, 45, 87, 0.3) 0%,
            rgba(44, 155, 216, 0.08) 100%
        );
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 880px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(212, 168, 67, 0.12);
    border: 1px solid rgba(212, 168, 67, 0.3);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--gold-300);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 28px;
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.2s both;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--gold-400);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(42px, 7vw, 86px);
    font-weight: 800;
    color: white;
    margin-bottom: 24px;
    letter-spacing: -2px;
    line-height: 1.05;
}

.title-line {
    display: block;
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.4s both;
}

.title-line.accent {
    background: linear-gradient(135deg, var(--gold-300), var(--accent-400), var(--accent-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation-delay: 0.5s;
}

.hero-description {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255,255,255,0.7);
    max-width: 680px;
    margin: 0 auto 40px;
    line-height: 1.7;
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.6s both;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.7s both;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn-primary {
    color: white;
    background: linear-gradient(135deg, var(--accent-500), var(--accent-700));
    box-shadow: 0 4px 20px rgba(44, 155, 216, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(44, 155, 216, 0.4);
    background: linear-gradient(135deg, var(--accent-400), var(--accent-600));
}

.btn-primary svg {
    transition: transform var(--transition-fast);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-outline {
    color: white;
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

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

/* Hero Stats */
.hero-stats {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    max-width: 1000px;
    margin: 60px auto 0;
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.9s both;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.08);
}

.stat-card {
    padding: 28px 24px;
    text-align: center;
    background: rgba(255,255,255,0.03);
    transition: background var(--transition-fast);
}

.stat-card:hover {
    background: rgba(255,255,255,0.07);
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    color: white;
    display: block;
    margin-bottom: 4px;
}

.stat-number sup {
    font-size: 50%;
    vertical-align: super;
    color: var(--gold-400);
}

.stat-unit {
    font-size: 60%;
    color: var(--gold-400);
}

.stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-dot {
    width: 4px;
    height: 8px;
    background: rgba(255,255,255,0.6);
    border-radius: 2px;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(12px); opacity: 0.3; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════════════════════════════ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header.light .section-tag,
.section-header.light .section-title {
    color: white;
}

.section-header.light .section-tag {
    background: rgba(44, 155, 216, 0.14);
    border-color: rgba(44, 155, 216, 0.3);
    color: var(--accent-400);
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent-600);
    background: var(--accent-50);
    border: 1px solid var(--accent-100);
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 800;
    color: var(--gray-950);
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    max-width: 580px;
    margin: 16px auto 0;
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════════════════════════ */
.about {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: start;
}

.about-lead {
    font-size: 19px;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 40px;
    font-weight: 400;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border-radius: var(--radius-md);
    background: white;
    border: 1px solid var(--gray-100);
    transition: all var(--transition-fast);
    cursor: default;
}

.feature-item:hover {
    border-color: var(--primary-200);
    box-shadow: var(--shadow-md), var(--shadow-glow);
    transform: translateX(4px);
}

.feature-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
    border-radius: var(--radius-sm);
    color: var(--primary-600);
}

.feature-text h4 {
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.5;
}

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-image-accent {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(10, 12, 20, 0.4) 100%);
}

.about-map-card {
    position: relative;
    margin-top: -60px;
    margin-left: 30px;
    margin-right: -20px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 2px solid rgba(255,255,255,0.8);
}

.map-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    background: rgba(10, 12, 20, 0.85);
    backdrop-filter: blur(10px);
}

.map-overlay span {
    font-size: 13px;
    font-weight: 600;
    color: white;
    letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════════════════════════
   SERVICES SECTION
   ═══════════════════════════════════════════════════════════ */
.services {
    padding: var(--section-padding) 0;
    position: relative;
    background: var(--dark-900);
    overflow: hidden;
}

.services-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.3;
}

.services-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services .container {
    position: relative;
    z-index: 1;
}

.services-tabs {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 48px;
    background: rgba(255,255,255,0.06);
    padding: 4px;
    border-radius: var(--radius-full);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.tab-btn {
    flex: 1;
    padding: 12px 24px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    background: transparent;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.tab-btn.active {
    color: white;
    background: var(--accent-600);
    box-shadow: 0 4px 15px rgba(44, 155, 216, 0.35);
}

.tab-btn:hover:not(.active) {
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.08);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.service-card {
    padding: 32px 28px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: all var(--transition-med);
    display: none;
    opacity: 0;
    transform: translateY(20px);
}

.service-card.visible {
    display: block;
    animation: serviceCardIn 0.5s var(--ease-out-expo) forwards;
}

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

.service-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(44, 155, 216, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.service-icon-wrap {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(44, 155, 216, 0.12), rgba(212, 168, 67, 0.12));
    border-radius: var(--radius-md);
    color: var(--accent-400);
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════
   BRANDS SECTION
   ═══════════════════════════════════════════════════════════ */
.brands {
    padding: var(--section-padding) 0;
    background: white;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.brand-card {
    padding: 36px 32px;
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    transition: all var(--transition-med);
    position: relative;
    overflow: hidden;
}

.brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-500), var(--gold-400));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-med);
}

.brand-card:hover {
    border-color: var(--primary-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.brand-card:hover::before {
    transform: scaleX(1);
}

.brand-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.brand-logo-placeholder {
    padding: 10px 20px;
    background: var(--dark-800);
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
}

.brand-logo-placeholder span {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14px;
    color: white;
    letter-spacing: 2px;
}

.brand-badge {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary-600);
    background: var(--primary-50);
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.brand-card h3 {
    font-size: 24px;
    color: var(--gray-950);
    margin-bottom: 4px;
}

.brand-specialty {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-600);
    margin-bottom: 12px;
}

.brand-desc {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.65;
    margin-bottom: 20px;
}

.brand-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-600);
    transition: all var(--transition-fast);
}

.brand-link:hover {
    color: var(--accent-500);
}

.brands-cta {
    background: linear-gradient(135deg, var(--dark-800), var(--dark-700));
    border-radius: var(--radius-xl);
    padding: 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.brands-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(44, 155, 216, 0.15), transparent 70%);
    pointer-events: none;
}

.brands-cta-content {
    position: relative;
    z-index: 1;
}

.brands-cta h3 {
    font-size: clamp(22px, 3vw, 28px);
    color: white;
    margin-bottom: 12px;
}

.brands-cta p {
    font-size: 16px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 28px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ═══════════════════════════════════════════════════════════
   MARKET SECTION
   ═══════════════════════════════════════════════════════════ */
.market {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
}

.market-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 24px;
    margin-bottom: 48px;
}

.market-hero-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 420px;
}

.market-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.market-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 12, 20, 0.2) 0%, rgba(10, 12, 20, 0.85) 70%);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.market-category {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent-400);
    margin-bottom: 12px;
}

.market-hero-overlay h3 {
    font-size: clamp(20px, 2.5vw, 26px);
    color: white;
    margin-bottom: 12px;
    max-width: 520px;
    line-height: 1.3;
}

.market-hero-overlay p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.65;
    max-width: 480px;
}

.market-cards-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.market-card {
    padding: 28px;
    background: white;
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
    flex: 1;
}

.market-card:hover {
    border-color: var(--primary-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.market-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-50), var(--accent-50));
    border-radius: var(--radius-sm);
    color: var(--primary-600);
    margin-bottom: 16px;
}

.market-card h4 {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.market-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* Newsletter */
.market-newsletter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 40px 48px;
    background: white;
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.newsletter-content h3 {
    font-size: 22px;
    color: var(--gray-950);
    margin-bottom: 6px;
}

.newsletter-content p {
    font-size: 14px;
    color: var(--gray-500);
}

.newsletter-form {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.newsletter-form input {
    padding: 12px 20px;
    font-family: var(--font-primary);
    font-size: 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-full);
    background: var(--gray-50);
    color: var(--gray-800);
    width: 280px;
    transition: all var(--transition-fast);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-400);
    box-shadow: 0 0 0 3px var(--primary-50);
}

/* ═══════════════════════════════════════════════════════════
   CONTACT SECTION
   ═══════════════════════════════════════════════════════════ */
.contact {
    padding: var(--section-padding) 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: start;
}

.contact-form {
    padding: 40px;
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-xl);
}

.form-group-radio {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 28px;
}

.radio-card {
    cursor: pointer;
}

.radio-card input {
    display: none;
}

.radio-card-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    background: white;
}

.radio-card-content svg {
    flex-shrink: 0;
    color: var(--gray-400);
    transition: color var(--transition-fast);
}

.radio-card-content span {
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-600);
    transition: color var(--transition-fast);
}

.radio-card input:checked + .radio-card-content {
    border-color: var(--accent-500);
    background: var(--accent-50);
    box-shadow: 0 0 0 3px rgba(44, 155, 216, 0.1);
}

.radio-card input:checked + .radio-card-content svg {
    color: var(--accent-500);
}

.radio-card input:checked + .radio-card-content span {
    color: var(--accent-700);
    font-weight: 600;
}

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

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-primary);
    font-size: 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: white;
    color: var(--gray-800);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-400);
    box-shadow: 0 0 0 3px var(--primary-50);
}

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

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%239BA5B9' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    padding: 32px;
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-xl);
}

.contact-info-card.dark {
    background: var(--dark-800);
    border-color: transparent;
}

.contact-info-card h3 {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 20px;
}

.contact-info-card.dark h3 {
    color: white;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}

.contact-detail:last-child {
    margin-bottom: 0;
}

.contact-detail svg {
    flex-shrink: 0;
    color: var(--primary-500);
    margin-top: 2px;
}

.contact-detail span {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.contact-detail a {
    font-size: 15px;
    color: var(--gray-800);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.contact-detail a:hover {
    color: var(--accent-500);
}

.contact-info-card.dark p {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    line-height: 1.6;
}

.office-hours {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.office-hours h4 {
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.office-hours p {
    font-size: 14px;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.footer {
    padding: 60px 0 30px;
    background: var(--dark-900);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 0.7fr 0.7fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
}

.footer-logo-img {
    height: 32px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255,255,255,0.4);
    line-height: 1.6;
    max-width: 300px;
}

.footer-links-group h4 {
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.footer-links-group ul {
    list-style: none;
}

.footer-links-group li {
    margin-bottom: 10px;
}

.footer-links-group a {
    font-size: 14px;
    color: rgba(255,255,255,0.4);
    transition: all var(--transition-fast);
}

.footer-links-group a:hover {
    color: var(--accent-400);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.3);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.5);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--accent-500);
    color: white;
    transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════
   WHATSAPP FLOAT
   ═══════════════════════════════════════════════════════════ */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all var(--transition-fast);
    animation: whatsappPulse 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 12px rgba(37, 211, 102, 0.08); }
}

/* ═══════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

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

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-visual {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .about-map-card {
        margin: 0;
    }

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

    .market-hero-card {
        min-height: 350px;
    }

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

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 12, 20, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        font-size: 20px;
        padding: 12px 28px;
    }

    .nav-hamburger {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

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

    .hero-title {
        letter-spacing: -1px;
    }

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

    .form-group-radio {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .market-newsletter {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }

    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }

    .newsletter-form input {
        width: 100%;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }

    .about-visual {
        grid-template-columns: 1fr;
    }

    .brands-cta {
        padding: 32px 24px;
    }

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

@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: 1fr 1fr;
        margin-top: 40px;
    }

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

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

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

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

/* ─── Particle Styles ─── */
.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    pointer-events: none;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

/* ─── Form Success State ─── */
.form-success {
    text-align: center;
    padding: 60px 40px;
}

.form-success svg {
    color: #22c55e;
    margin-bottom: 20px;
}

.form-success h3 {
    font-size: 24px;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.form-success p {
    font-size: 15px;
    color: var(--gray-500);
    max-width: 400px;
    margin: 0 auto;
}
