/* 
 * Merak Global - Advanced Design System
 * Modern, Classy, Ultra-Premium
 */

/* ── Local Font Declarations (no external CDN dependency) ── */

@font-face {
    font-family: 'Auxilia Black';
    src: url('../fonts/auxilia-bold.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Inter — Variable Font (covers weight 100–900) */
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter/Inter-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

/* Fraunces — Variable Font (covers weight 100–900, normal & italic) */
@font-face {
    font-family: 'Fraunces';
    src: url('../fonts/Fraunces/Fraunces-VariableFont_SOFT,WONK,opsz,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Fraunces';
    src: url('../fonts/Fraunces/Fraunces-Italic-VariableFont_SOFT,WONK,opsz,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

/* JetBrains Mono — Variable Font (covers weight 100–800) */
@font-face {
    font-family: 'JetBrains Mono';
    src: url('../fonts/JetBrains_Mono/JetBrainsMono-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'JetBrains Mono';
    src: url('../fonts/JetBrains_Mono/JetBrainsMono-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 800;
    font-style: italic;
    font-display: swap;
}

:root {
    /* European Institutional Commodity Trading House Color System */
    --bg-canvas: #f8fafc;
    --bg-surface: #ffffff;
    --bg-subtle: #f8fafc;
    --bg-muted: #f1f5f9;
    --text-main: #0f172a; /* Deep maritime graphite */
    --text-muted: #475569; /* Steel slate */
    --text-light: #64748b; /* Muted metadata slate */
    --border-hairline: #e2e8f0;
    --border-card: #e5e7eb;
    --border-medium: #cbd5e1;
    --primary: #1d4ed8; /* Maritime Trade Blue */
    --primary-hover: #1e40af;
    --primary-subtle: #eff6ff;
    --accent-rust: #c25e34; /* Terracotta Rust */
    --accent-rust-hover: #a34a26;
    --accent-rust-subtle: #fff7ed;
    
    /* Institutional Deep Carbon Footer Tokens */
    --footer-bg: #090d16;
    --footer-tile: #111827;
    --footer-border: #1e293b;
    --footer-text-muted: #94a3b8;
    --footer-text-light: #f8fafc;
    --footer-accent: #60a5fa;

    /* Standard Fonts & Surfaces */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', Consolas, monospace;
    --font-serif: 'Auxilia Black', 'Inter', sans-serif;
    --dark: #0f172a;
    --dark-surface: #1e293b;
    --light: #f8fafc;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.08), 0 1px 2px -1px rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.07), 0 8px 10px -6px rgb(0 0 0 / 0.04);
    --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Auxilia Black', sans-serif;
    color: var(--dark);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

p { font-size: 1.1rem; }

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

/* ==========================================================================
   CORE UTILITY SYSTEM
   Standardized spacing, flexbox, typography, borders, and sizing helpers
   ========================================================================== */

/* Spacing: Margins */
.m-0 { margin: 0 !important; }
.m-1 { margin: 0.25rem !important; }
.m-2 { margin: 0.5rem !important; }
.m-3 { margin: 1rem !important; }
.m-4 { margin: 1.5rem !important; }
.m-5 { margin: 2.5rem !important; }
.m-auto { margin: auto !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 2.5rem !important; }
.mt-auto { margin-top: auto !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 2.5rem !important; }
.mb-auto { margin-bottom: auto !important; }

.my-0 { margin-top: 0 !important; margin-bottom: 0 !important; }
.my-1 { margin-top: 0.25rem !important; margin-bottom: 0.25rem !important; }
.my-2 { margin-top: 0.5rem !important; margin-bottom: 0.5rem !important; }
.my-3 { margin-top: 1rem !important; margin-bottom: 1rem !important; }
.my-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
.my-5 { margin-top: 2.5rem !important; margin-bottom: 2.5rem !important; }

.mx-0 { margin-left: 0 !important; margin-right: 0 !important; }
.mx-1 { margin-left: 0.25rem !important; margin-right: 0.25rem !important; }
.mx-2 { margin-left: 0.5rem !important; margin-right: 0.5rem !important; }
.mx-3 { margin-left: 1rem !important; margin-right: 1rem !important; }
.mx-4 { margin-left: 1.5rem !important; margin-right: 1.5rem !important; }
.mx-5 { margin-left: 2.5rem !important; margin-right: 2.5rem !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }

.me-1 { margin-inline-end: 0.25rem !important; }
.me-2 { margin-inline-end: 0.5rem !important; }
.me-3 { margin-inline-end: 1rem !important; }
.me-4 { margin-inline-end: 1.5rem !important; }
.ms-1 { margin-inline-start: 0.25rem !important; }
.ms-2 { margin-inline-start: 0.5rem !important; }
.ms-3 { margin-inline-start: 1rem !important; }
.ms-4 { margin-inline-start: 1.5rem !important; }

/* Spacing: Paddings */
.p-0 { padding: 0 !important; }
.p-1 { padding: 0.25rem !important; }
.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 2.5rem !important; }

.pt-0 { padding-top: 0 !important; }
.pt-1 { padding-top: 0.25rem !important; }
.pt-2 { padding-top: 0.5rem !important; }
.pt-3 { padding-top: 1rem !important; }
.pt-4 { padding-top: 1.5rem !important; }
.pt-5 { padding-top: 2.5rem !important; }

.pb-0 { padding-bottom: 0 !important; }
.pb-1 { padding-bottom: 0.25rem !important; }
.pb-2 { padding-bottom: 0.5rem !important; }
.pb-3 { padding-bottom: 1rem !important; }
.pb-4 { padding-bottom: 1.5rem !important; }
.pb-5 { padding-bottom: 2.5rem !important; }

.py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
.py-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-5 { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }

.px-0 { padding-left: 0 !important; padding-right: 0 !important; }
.px-1 { padding-left: 0.25rem !important; padding-right: 0.25rem !important; }
.px-2 { padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
.px-3 { padding-left: 1rem !important; padding-right: 1rem !important; }
.px-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.px-5 { padding-left: 2.5rem !important; padding-right: 2.5rem !important; }

/* Display & Flexbox Utilities */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }
.d-grid { display: grid !important; }

.flex-column { flex-direction: column !important; }
.flex-row { flex-direction: row !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-nowrap { flex-wrap: nowrap !important; }
.flex-1 { flex: 1 1 0% !important; }
.flex-2 { flex: 2 1 0% !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }
.flex-grow-1 { flex-grow: 1 !important; }

.justify-content-start { justify-content: flex-start !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-end { justify-content: flex-end !important; }
.justify-content-around { justify-content: space-around !important; }

.align-items-start { align-items: flex-start !important; }
.align-items-center { align-items: center !important; }
.align-items-end { align-items: flex-end !important; }
.align-items-stretch { align-items: stretch !important; }

.gap-0 { gap: 0 !important; }
.gap-1 { gap: 0.25rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 1rem !important; }
.gap-4 { gap: 1.5rem !important; }
.gap-5 { gap: 2.5rem !important; }

/* Typography & Text Utilities */
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }

.font-normal { font-weight: 400 !important; }
.font-medium { font-weight: 500 !important; }
.font-semibold { font-weight: 600 !important; }
.font-bold { font-weight: 700 !important; }
.font-black { font-weight: 900 !important; }

.font-xs { font-size: 0.75rem !important; }
.font-sm { font-size: 0.85rem !important; }
.font-md { font-size: 0.95rem !important; }
.font-base { font-size: 1rem !important; }
.font-lg { font-size: 1.15rem !important; }
.font-xl { font-size: 1.35rem !important; }

.font-mono { font-family: var(--font-mono, 'JetBrains Mono', Consolas, monospace) !important; }
.font-sans { font-family: var(--font-sans, 'Inter', sans-serif) !important; }
.font-serif { font-family: var(--font-serif, 'Auxilia Black', sans-serif) !important; }

.italic, .fst-italic { font-style: italic !important; }
.uppercase { text-transform: uppercase !important; }
.lowercase { text-transform: lowercase !important; }
.capitalize { text-transform: capitalize !important; }
.text-decoration-none { text-decoration: none !important; }

.text-main { color: var(--text-main, #0f172a) !important; }
.text-muted { color: var(--text-muted, #64748b) !important; }
.text-light { color: var(--text-light, #94a3b8) !important; }
.text-primary { color: var(--primary, #1d4ed8) !important; }
.text-rust { color: var(--accent-rust, #c25e34) !important; }
.text-success { color: #16a34a !important; }
.text-danger { color: #dc2626 !important; }
.text-white { color: #ffffff !important; }

/* Sizing & Borders */
.w-full, .w-100 { width: 100% !important; }
.w-auto { width: auto !important; }
.h-full, .h-100 { height: 100% !important; }
.h-auto { height: auto !important; }
.max-w-xs { max-width: 20rem !important; }
.max-w-3xl { max-width: 48rem !important; }
.min-w-260 { min-width: 260px !important; }
.col-span-full { grid-column: 1 / -1 !important; }

.border { border: 1px solid var(--border-hairline, #e2e8f0) !important; }
.border-top { border-top: 1px solid var(--border-hairline, #e2e8f0) !important; }
.border-bottom { border-bottom: 1px solid var(--border-hairline, #e2e8f0) !important; }
.border-left { border-left: 1px solid var(--border-hairline, #e2e8f0) !important; }
.border-right { border-right: 1px solid var(--border-hairline, #e2e8f0) !important; }
.border-0 { border: none !important; }

.border-top-primary { border-top: 3px solid var(--primary, #1d4ed8) !important; }
.border-left-primary { border-left: 4px solid var(--primary, #1d4ed8) !important; }
.border-left-success { border-left: 4px solid #16a34a !important; }
.border-left-warning { border-left: 4px solid #f59e0b !important; }

.rounded { border-radius: 4px !important; }
.rounded-md { border-radius: 6px !important; }
.rounded-lg { border-radius: 8px !important; }
.rounded-full { border-radius: 9999px !important; }

/* Shared Institutional Layout Helpers */
.inst-lead-desc {
    font-size: 1.05rem;
    color: var(--text-muted, #475569);
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.inst-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    background: #f1f5f9;
    color: var(--text-main, #0f172a);
    border-radius: 4px;
    border: 1px solid var(--border-hairline, #e2e8f0);
}

.inst-hero-content {
    max-width: 840px;
}

.inst-hero-subtitle {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.inst-sidebar-kicker {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary, #1d4ed8);
    display: block;
    margin-bottom: 0.5rem;
}

.inst-empty-card,
.manifest-empty-state {
    background: #ffffff;
    border: 1px dashed var(--border-hairline, #e2e8f0);
    border-radius: 8px;
    padding: 3rem 2rem;
    text-align: center;
    color: var(--text-muted, #475569);
}

.buyer-procurement-banner {
    margin-top: 3.5rem;
}

.contact-sidebar {
    display: flex;
    flex-direction: column;
}

.contact-guidance-section {
    padding: 1.5rem 0 3rem;
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 1.25rem;
}

.institutional-about-page,
.institutional-brands-page,
.institutional-products-page,
.institutional-sourcing-page,
.institutional-trading-page {
    width: 100%;
    position: relative;
}

/* ==========================================================================
   UNIFIED INSTITUTIONAL COMPONENT REGISTRY
   Standardized UI patterns replacing fragmented page-specific classes
   ========================================================================== */

/* 1. Universal Eyebrow Tag (.eyebrow-tag) */
.eyebrow-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary, #1d4ed8);
    margin-bottom: 0.65rem;
}

.eyebrow-tag.rust {
    color: var(--accent-rust, #c25e34);
}

/* 2. Standard Metric Strip (.metric-strip, .metric-grid, .metric-col) */
.metric-strip {
    background: #ffffff;
    border-top: 1px solid var(--border-hairline, #e2e8f0);
    border-bottom: 1px solid var(--border-hairline, #e2e8f0);
    padding: 2.25rem 0;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

@media (max-width: 992px) {
    .metric-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }
}

@media (max-width: 540px) {
    .metric-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.metric-col {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.metric-val {
    font-family: var(--font-sans, 'Inter', sans-serif);
    font-size: 30px;
    font-weight: 800;
    color: var(--text-main, #0f172a);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.metric-col.rust .metric-val {
    color: var(--accent-rust, #c25e34);
}

.metric-lbl {
    font-family: var(--font-sans, 'Inter', sans-serif);
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 0.15rem;
}

.metric-desc {
    font-size: 0.85rem;
    color: var(--text-muted, #475569);
    line-height: 1.45;
    margin-top: 0.25rem;
}

/* 3. Connected 5-Step Protocol Track (.flow-track, .flow-step) */
.flow-track {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: #ffffff;
    border: 1px solid var(--border-hairline, #e2e8f0);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

@media (max-width: 1024px) {
    .flow-track {
        grid-template-columns: 1fr;
    }
}

.flow-step {
    padding: 2rem 1.5rem;
    border-right: 1px solid var(--border-hairline, #e2e8f0);
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    transition: background 0.2s ease;
}

.flow-step:last-child {
    border-right: none;
}

@media (max-width: 1024px) {
    .flow-step {
        border-right: none;
        border-bottom: 1px solid var(--border-hairline, #e2e8f0);
    }
    .flow-step:last-child {
        border-bottom: none;
    }
}

.flow-step:hover {
    background: #f8fafc;
}

.flow-step-num {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary, #1d4ed8);
    display: block;
    margin-bottom: 0.2rem;
}

.flow-step-name {
    font-family: var(--font-sans, 'Inter', sans-serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main, #0f172a);
    margin: 0;
    line-height: 1.3;
}

.flow-step-desc {
    font-size: 0.84rem;
    color: var(--text-muted, #475569);
    line-height: 1.5;
    margin: 0;
}

/* 4. Universal Trade Card (.trade-card) */
.trade-card {
    background: #ffffff;
    border: 1px solid var(--border-hairline, #e2e8f0);
    border-radius: 4px;
    padding: 28px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
}

.trade-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
    border-color: #cbd5e1;
}

.trade-card.blue-accent {
    border-top: 3px solid var(--primary, #1d4ed8);
}

.trade-card.rust-accent {
    border-top: 3px solid var(--accent-rust, #c25e34);
}

/* 5. Full-Width Intake / Conversion Banner (.trade-banner) */
.trade-banner {
    background: #ffffff;
    border: 1px solid var(--border-hairline, #e2e8f0);
    border-left: 4px solid var(--primary, #1d4ed8);
    border-radius: 6px;
    padding: 2.5rem 2.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2.5rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.trade-banner.rust {
    border-left-color: var(--accent-rust, #c25e34);
}

@media (max-width: 900px) {
    .trade-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem 1.75rem;
        gap: 1.75rem;
    }
}

.trade-banner-content {
    flex: 1;
}

.trade-banner-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main, #0f172a);
    margin-bottom: 0.65rem;
    line-height: 1.25;
}

.trade-banner-lead {
    font-size: 0.95rem;
    color: var(--text-muted, #475569);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.trade-banner-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 260px;
}

@media (max-width: 900px) {
    .trade-banner-action {
        width: 100%;
        align-items: stretch;
    }
}

.btn-trade-blue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--primary, #1d4ed8);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    border: 1px solid var(--primary, #1d4ed8);
    transition: background 0.2s ease, transform 0.15s ease;
    cursor: pointer;
    width: 100%;
}

.btn-trade-blue:hover {
    background: #1e40af;
    border-color: #1e40af;
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-trade-rust {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--accent-rust, #c25e34);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    border: 1px solid var(--accent-rust, #c25e34);
    transition: background 0.2s ease, transform 0.15s ease;
    cursor: pointer;
    width: 100%;
}

.btn-trade-rust:hover {
    background: #9a4320;
    border-color: #9a4320;
    color: #ffffff;
    transform: translateY(-1px);
}

/* --- Modern European Trading House Navigation --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.1rem 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-hairline, #e2e8f0);
    transition: all 0.25s ease;
}

header.scrolled {
    padding: 0.75rem 0;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 42px;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    gap: 1.35rem;
    align-items: center;
}

@media (min-width: 1200px) {
    .nav-links {
        gap: 1.85rem;
    }
}

.nav-links a {
    font-family: var(--font-sans, 'Inter', sans-serif);
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-main, #0f172a);
    position: relative;
    padding: 0.35rem 0;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary, #1d4ed8);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary, #1d4ed8);
    transition: width 0.2s ease;
}

.nav-links a:not(.btn-nav-contact):hover::after,
.nav-links a:not(.btn-nav-contact).active::after {
    width: 100%;
}

.btn-nav-contact {
    background: var(--primary, #1d4ed8) !important;
    border: 1px solid var(--primary, #1d4ed8) !important;
    color: #ffffff !important;
    padding: 0.55rem 1.35rem !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    box-shadow: 0 1px 3px rgba(29, 78, 216, 0.2) !important;
    transition: all 0.2s ease !important;
}

.btn-nav-contact:hover {
    background: var(--primary-hover, #1e40af) !important;
    border-color: var(--primary-hover, #1e40af) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(29, 78, 216, 0.3) !important;
}

.btn-nav-contact.active {
    background: #0f172a !important;
    border-color: #0f172a !important;
}

.btn-nav-contact::after {
    display: none !important;
}

/* Mobile Toggle & Backdrop Base */
.mobile-toggle {
    display: none;
    cursor: pointer;
}

.mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(9, 13, 22, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 995;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-backdrop.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.mobile-nav-open {
    overflow: hidden;
}

body.mobile-nav-open header {
    z-index: 1005;
}

/* --- Hero Section 2.0 --- */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background: var(--dark);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

@keyframes slowZoom {
    from { transform: scale(1); }
    to { transform: scale(1.15); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(2, 6, 23, 0.9) 0%, rgba(2, 6, 23, 0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding-top: 140px; /* Space for the fixed header */
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: var(--white); /* Text changed to white */
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 6rem;
    color: white;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero h1 span {
    background: linear-gradient(135deg, #818cf8 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.hero p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3.5rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 2rem;
    margin-bottom: 5rem; /* Increased space from hero bottom */
}

/* --- Modern Buttons --- */
.btn {
    padding: 1.25rem 2.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    border: none;
}

.btn-solid {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 30px var(--primary-glow);
}

.btn-solid:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px var(--primary-glow);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* --- Section Design --- */
section {
    padding: 3.5rem 0;
}

/* --- Forms --- */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1.1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background: #f8fafc;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
    background: white;
}

.form-control::placeholder {
    color: #94a3b8;
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    border-radius: 10px;
    padding: 1rem 2rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    background: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.section-tag {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 1rem;
    text-align: center;
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: 6rem;
}

.section-title-wrapper h2 {
    font-size: 4rem;
    max-width: 800px;
    margin: 0 auto;
}

/* --- Bento Grid Layout --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 1.5rem;
}

.bento-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 3rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.bento-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.bento-1 { grid-column: span 2; grid-row: span 2; }
.bento-2 { grid-column: span 2; }
.bento-3 { grid-column: span 1; }
.bento-4 { grid-column: span 1; }

.bento-item h3 { font-size: 2rem; margin-bottom: 1rem; }
.bento-item i { font-size: 2.5rem; color: var(--primary); margin-bottom: 2rem; display: block; }

.bento-img-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
    opacity: 0.1;
    transition: var(--transition);
}

.bento-item:hover .bento-img-bg { opacity: 0.2; transform: scale(1.1); }

/* --- Modern Card Grid --- */
.card-stack {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.modern-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.card-img-wrapper {
    height: 350px;
    overflow: hidden;
    position: relative;
}

.card-img-wrapper img {
    width: 100%; height: 100%; object-fit: cover;
    transition: var(--transition);
}

.modern-card:hover .card-img-wrapper img { transform: scale(1.1); }

.card-content { padding: 3rem; }

/* --- Dark Modern Section --- */
.dark-section {
    background: var(--dark);
    color: white;
    border-radius: 40px;
    margin: 0 2rem;
    padding: 4rem 0;
}

.dark-section h2 { color: white; }

/* --- Animations --- */
.reveal-init {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal-init.revealed {
    opacity: 1;
    transform: translateY(0);
}

.hero-content > *:nth-child(1) { transition-delay: 0.1s; }
.hero-content > *:nth-child(2) { transition-delay: 0.2s; }
.hero-content > *:nth-child(3) { transition-delay: 0.3s; }
.hero-content > *:nth-child(4) { transition-delay: 0.4s; }

/* --- Product Pages --- */
.product-row {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 8rem;
    align-items: center;
    margin-bottom: 8rem;
}

.product-row-reverse {
    grid-template-columns: 1.2fr 0.8fr;
}

.product-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.about-row {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 8rem;
    align-items: center;
}

/* --- Institutional European Deep Carbon Footer --- */
footer {
    background: var(--footer-bg, #090d16);
    color: var(--footer-text-muted, #94a3b8);
    padding: 4.5rem 0 2.5rem;
    border-top: 1px solid var(--footer-border, #1e293b);
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.1fr 1.3fr;
    gap: 3.5rem;
    margin-bottom: 3.5rem;
}

.footer-info .footer-logo {
    height: 36px;
    margin-bottom: 1.25rem;
    filter: brightness(0) invert(1);
}

.footer-statement {
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--footer-text-muted, #94a3b8);
    margin-bottom: 0.9rem;
    max-width: 360px;
}

.footer-legal-note {
    font-size: 0.78rem;
    color: #64748b;
    margin-bottom: 1.5rem !important;
    letter-spacing: 0.02em;
}

.footer-social-links,
.social-links {
    display: flex;
    gap: 0.65rem;
    margin-top: 0.5rem;
}

.footer-social-links a,
.social-links a {
    width: 36px;
    height: 36px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: #94a3b8;
    font-size: 0.9rem;
    border: 1px solid var(--footer-border, #1e293b);
    transition: all 0.2s ease;
}

.footer-social-links a:hover,
.social-links a:hover {
    border-color: var(--footer-accent, #60a5fa);
    color: #ffffff;
    background: rgba(96, 165, 250, 0.08);
}

.footer-links h4 {
    font-family: var(--font-sans, 'Inter', sans-serif);
    color: var(--footer-text-light, #f8fafc);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}

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

.footer-links ul li {
    margin-bottom: 0.65rem;
    line-height: 1.5;
    font-size: 0.88rem;
}

.footer-links ul li a {
    color: var(--footer-text-muted, #94a3b8);
    transition: color 0.18s ease;
    text-decoration: none;
    display: inline-block;
}

.footer-links ul li a:hover {
    color: var(--footer-text-light, #f8fafc);
}

/* Typographic Commercial Desk Listing */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-desk-person {
    margin-bottom: 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.footer-desk-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--footer-text-light, #f8fafc);
}

.footer-desk-role {
    font-size: 0.72rem;
    color: #64748b;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 0.15rem;
}

.footer-contact-link {
    font-size: 0.88rem;
    color: var(--footer-text-muted, #94a3b8);
    text-decoration: none;
    transition: color 0.18s ease;
}

.footer-contact-link:hover {
    color: var(--footer-accent, #60a5fa);
}

.footer-desk-general {
    margin-bottom: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.footer-desk-label {
    font-size: 0.72rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-desk-val {
    font-size: 0.85rem;
    color: var(--footer-text-muted, #94a3b8);
    line-height: 1.5;
}

/* Institutional Footer Bottom Bar */
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--footer-border, #1e293b);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    font-size: 0.82rem;
    color: #64748b;
}

.footer-bottom-copy {
    font-family: var(--font-sans, 'Inter', sans-serif);
    color: #64748b;
}

.footer-bottom-tagline {
    font-family: var(--font-sans, 'Inter', sans-serif);
    font-style: italic;
    color: var(--footer-text-muted, #94a3b8);
    letter-spacing: 0.02em;
}

.footer-bottom-credits {
    font-family: var(--font-sans, 'Inter', sans-serif);
    color: #64748b;
}

.footer-credits {
    color: var(--footer-accent, #60a5fa);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-credits:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ==========================================================================
   REUSABLE EUROPEAN TRADING HOUSE UTILITY COMPONENTS
   ========================================================================== */

/* Daylight Page Hero */
.inst-page-hero {
    background-color: var(--bg-subtle, #f8fafc);
    border-bottom: 1px solid var(--border-hairline, #e2e8f0);
    padding: 8.5rem 0 4rem;
    position: relative;
}

.inst-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary, #1d4ed8);
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 0.35rem 0.85rem;
    border-radius: 4px;
    margin-bottom: 1.25rem;
}

.inst-hero-title {
    font-family: var(--font-serif, 'Auxilia Black', sans-serif);
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 900;
    color: var(--text-main, #0f172a);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}

.inst-hero-lead {
    font-size: 1.15rem;
    color: var(--text-muted, #475569);
    max-width: 820px;
    line-height: 1.65;
}

/* Connected 5-Step Process Milestone Bar */
.inst-milestone-wrap {
    background: #ffffff;
    border: 1px solid var(--border-hairline, #e2e8f0);
    border-radius: 8px;
    overflow: hidden;
    margin: 2.5rem 0 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.inst-milestone-pipeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.inst-milestone-step {
    padding: 1.75rem 1.5rem;
    border-right: 1px solid var(--border-hairline, #e2e8f0);
    background: #ffffff;
    transition: background 0.2s;
}

.inst-milestone-step:last-child {
    border-right: none;
}

.inst-milestone-step:hover {
    background: var(--bg-muted, #f1f5f9);
}

.inst-milestone-num {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary, #1d4ed8);
    margin-bottom: 0.6rem;
    line-height: 1;
}

.inst-milestone-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-main, #0f172a);
    margin-bottom: 0.45rem;
}

.inst-milestone-desc {
    font-size: 0.88rem;
    color: var(--text-muted, #475569);
    line-height: 1.55;
}

.inst-milestone-strip {
    background: var(--bg-muted, #f1f5f9);
    border-top: 1px solid var(--border-hairline, #e2e8f0);
    padding: 0.85rem 1.5rem;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.82rem;
    color: var(--text-muted, #475569);
    font-weight: 600;
}

/* Institutional Cargo Manifest Spec Table */
.inst-spec-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.84rem;
    margin: 1rem 0;
}

.inst-spec-table th {
    text-align: left;
    padding: 0.6rem 0.75rem;
    background: var(--bg-muted, #f1f5f9);
    color: var(--text-main, #0f172a);
    font-weight: 700;
    border-bottom: 1px solid var(--border-hairline, #e2e8f0);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.inst-spec-table td {
    padding: 0.55rem 0.75rem;
    border-bottom: 1px solid var(--border-hairline, #e2e8f0);
    color: var(--text-muted, #475569);
}

.inst-spec-table tr:hover td {
    background: #f8fafc;
}

/* Paired Direct Trader Tiles */
.inst-trader-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.inst-trader-tile {
    background: #ffffff;
    border: 1px solid var(--border-hairline, #e2e8f0);
    border-left: 4px solid var(--primary, #1d4ed8);
    border-radius: 6px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    transition: transform 0.2s, box-shadow 0.2s;
}

.inst-trader-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.inst-trader-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.inst-trader-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main, #0f172a);
}

.inst-trader-tag {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary, #1d4ed8);
    background: #eff6ff;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.inst-trader-role {
    font-size: 0.9rem;
    color: var(--text-muted, #475569);
    margin-bottom: 1rem;
}

.inst-trader-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.inst-trader-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.45rem 0.9rem;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s;
}

.inst-trader-btn-phone {
    background: var(--bg-muted, #f1f5f9);
    color: var(--text-main, #0f172a);
    border: 1px solid var(--border-hairline, #e2e8f0);
}

.inst-trader-btn-phone:hover {
    background: #e2e8f0;
    color: var(--text-main, #0f172a);
}

.inst-trader-btn-wa {
    background: #25d366;
    color: #ffffff;
}

.inst-trader-btn-wa:hover {
    background: #1da851;
    color: #ffffff;
}

/* Callout Banners */
.inst-callout-banner {
    background: #ffffff;
    border: 1px solid var(--border-hairline, #e2e8f0);
    border-radius: 8px;
    padding: 2.5rem;
    margin: 3rem 0;
    position: relative;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.inst-callout-buyer {
    border-left: 4px solid var(--primary, #1d4ed8);
}

.inst-callout-supplier {
    border-left: 4px solid var(--accent-rust, #c25e34);
}

@media (max-width: 992px) {
    .inst-milestone-pipeline { grid-template-columns: 1fr; }
    .inst-milestone-step { border-right: none; border-bottom: 1px solid var(--border-hairline, #e2e8f0); }
    .inst-milestone-step:last-child { border-bottom: none; }
}

/* --- Responsive 2.0 --- */
@media (max-width: 1200px) {
    .hero h1 { font-size: 4.5rem; }
    .bento-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
    .bento-1 { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 992px) {
    section { padding: 2.5rem 0; }
    .hero h1 { font-size: 3.5rem; }
    
    .mobile-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        background: #ffffff;
        color: #0f172a !important;
        border: 1px solid var(--border-hairline, #e2e8f0);
        border-radius: 6px;
        cursor: pointer;
        font-size: 1.15rem;
        z-index: 1002;
        padding: 0;
        transition: all 0.2s ease;
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
    }

    .mobile-toggle:hover {
        background: #f8fafc;
        border-color: #cbd5e1;
        color: var(--primary, #1d4ed8) !important;
    }

    header.scrolled .mobile-toggle {
        color: #0f172a !important;
        background: #ffffff;
        border-color: var(--border-hairline, #e2e8f0);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -340px;
        width: 320px;
        max-width: 85vw;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        gap: 0.35rem;
        padding: 5.5rem 1.5rem 2.5rem;
        box-shadow: -12px 0 35px rgba(15, 23, 42, 0.12);
        border-left: 1px solid var(--border-hairline, #e2e8f0);
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1001;
        text-align: left;
        align-items: stretch;
        border-radius: 0;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-family: var(--font-sans, 'Inter', sans-serif);
        font-size: 0.92rem;
        font-weight: 600;
        color: #0f172a !important;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        width: 100%;
        padding: 0.85rem 1rem;
        border-radius: 6px;
        border-bottom: 1px solid #f1f5f9;
        border-left: 3px solid transparent;
        transition: all 0.15s ease;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .nav-links a:hover {
        background: #f8fafc;
        color: var(--primary, #1d4ed8) !important;
        border-left-color: #cbd5e1;
    }
    
    .nav-links a.active {
        background: #eff6ff;
        color: var(--primary, #1d4ed8) !important;
        border-left: 3px solid transparent;
        font-weight: 700;
    }

    
    .nav-links a:last-of-type {
        border-bottom: none;
    }
    
    .nav-links .btn-nav-contact {
        background: var(--primary, #1d4ed8) !important;
        border: 1px solid var(--primary, #1d4ed8) !important;
        color: #ffffff !important;
        margin-top: 1.25rem;
        font-size: 0.85rem !important;
        font-weight: 700 !important;
        padding: 0.85rem 1.5rem !important;
        text-align: center;
        justify-content: center;
        border-radius: 6px !important;
        box-shadow: 0 4px 14px rgba(29, 78, 216, 0.3) !important;
        letter-spacing: 0.06em !important;
    }

    .nav-links .btn-nav-contact:hover {
        background: var(--primary-hover, #1e40af) !important;
        border-color: var(--primary-hover, #1e40af) !important;
        color: #ffffff !important;
        transform: translateY(-1px);
        box-shadow: 0 6px 18px rgba(29, 78, 216, 0.4) !important;
    }

    /* Fix: when Contact is the active page, keep white text on blue bg — 
       the generic a.active rule was overriding to blue text on blue bg */
    .nav-links .btn-nav-contact.active {
        background: var(--primary, #1d4ed8) !important;
        border-color: var(--primary, #1d4ed8) !important;
        color: #ffffff !important;
        border-left-color: var(--primary, #1d4ed8) !important;
    }

    .nav-links::after { display: none; }


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

@media (max-width: 768px) {
    .container { padding: 0 1.5rem; }
    .hero h1 { font-size: 2.8rem; }
    .hero p { font-size: 1.1rem; }
    .hero-content { padding-top: 140px; }
    
    .hero-badge {
        font-size: 0.7rem;
        padding: 0.4rem 1rem;
        letter-spacing: 0.1em;
        white-space: nowrap;
        margin-bottom: 1.5rem;
    }
    
    .section-title-wrapper h2 { font-size: 2.5rem; }
    
    .bento-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .bento-1, .bento-2, .bento-3, .bento-4 { grid-column: span 1; grid-row: span 1; height: auto; min-height: 250px; }
    
    .card-stack { grid-template-columns: 1fr; }
    .modern-card { margin-bottom: 2rem; }
    
    /* About Section Fixes */
    .about-preview-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
        padding: 1.5rem !important; /* Reduced padding to prevent overflow */
        border-radius: var(--radius-md);
    }

    .about-preview-heading {
        font-size: 2.2rem !important; /* Smaller heading on mobile */
        line-height: 1.1;
    }

    .about-stat-row {
        gap: 1.5rem !important; /* Compact stats */
        flex-wrap: wrap;
    }

    .about-stat h3 {
        font-size: 1.8rem !important;
    }
    
    section[style*="margin-top: -60px"] {
        margin-top: 0 !important;
    }
    
    .about-goals {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .about-row {
        grid-template-columns: 1fr !important;
        gap: 4rem !important;
    }
    
    .about-row > div:last-child {
        padding-right: 0 !important;
    }
    
    .about-row .about-content h2 {
        font-size: 2.8rem !important;
    }
    
    .dark-section {
        margin: 0 1rem;
        border-radius: 30px;
        padding: 4rem 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-btns {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }

    /* Product Page Mobile Fixes */
    .product-row {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
        margin-bottom: 4rem !important;
    }

    .product-row-reverse {
        display: flex;
        flex-direction: column-reverse;
    }

    .product-categories {
        grid-template-columns: 1fr !important;
    }

    .product-row img {
        margin-bottom: 2rem;
    }

    /* Domains Grid — stack on mobile */
    .domains-grid {
        grid-template-columns: 1fr !important;
    }

    /* Hide quote box on mobile to prevent bento overlap */
    .quote-box {
        display: none !important;
    }

    /* Services Page — stack 2-col grid on mobile */
    .services-grid {
        grid-template-columns: 1fr !important;
    }

    /* Contact Page — stack sidebar + form on mobile */
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }

    /* About Page — bottom spacing so section doesn't touch footer */
    .about-row-section {
        padding-bottom: 3rem !important;
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2.2rem; }
    .section-title-wrapper h2 { font-size: 2rem; }
}

/* ==============================================
   INDEX PAGE — ABOUT PREVIEW SECTION
   ============================================== */
.about-preview-section { padding: 7rem 0; background: #f8fafc; }

.capabilities-section {
    padding: 7rem 0;
    background: #f1f5fb;
}

.capabilities-section .section-title-wrapper {
    text-align: center;
    margin-bottom: 1rem;
}


.about-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(40px);
    border-radius: var(--radius-lg);
    padding: 4rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--glass-border);
}

.about-preview-heading {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-top: 1rem;
}

.about-preview-text {
    margin-top: 1.5rem;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-img-col-preview {
    position: relative;
}

.about-preview-img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    display: block;
}

.about-stat-row {
    display: flex;
    gap: 3rem;
    margin-top: 2.5rem;
}

.about-stat h3 {
    font-size: 2.2rem;
    color: var(--primary);
    font-weight: 800;
}

.about-stat p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* ==============================================
   INDEX PAGE — CAPABILITIES GRID
   ============================================== */
.capabilities-title {
    text-align: center;
    margin-bottom: 3.5rem;
}

.capabilities-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-top: 0.75rem;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
}

.capability-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    border: 1px solid #e2e8f0;
    transition: transform 0.25s, box-shadow 0.25s;
}

.capability-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.capability-card.capability-card-dark {
    background: var(--dark);
    border-color: transparent;
}

.capability-card.capability-card-dark h3 { color: white !important; }
.capability-card.capability-card-dark p  { color: rgba(255,255,255,0.65); }

.capability-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(99,102,241,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.capability-icon i {
    font-size: 1.4rem;
    color: var(--primary);
}

.capability-card.capability-card-dark .capability-icon {
    background: rgba(99,102,241,0.2);
}

.capability-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.capability-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
}

/* Mobile — stack to 1 column */
@media (max-width: 640px) {
    .capabilities-grid { grid-template-columns: 1fr; }
}

/* ==============================================
   INDEX PAGE — DOMAINS SECTION
   ============================================== */
.dark-section { background: var(--dark); padding: 7rem 0; }

.domains-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.domain-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 0.25s, border-color 0.25s;
}
.domain-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
}

.domain-img { height: 200px; overflow: hidden; }
.domain-img img { width: 100%; height: 100%; object-fit: cover; }

.domain-content { padding: 1.75rem; }
.domain-content h3 { color: white; margin-bottom: 0.75rem; font-size: 1.2rem; }
.domain-content p  { color: rgba(255,255,255,0.6); font-size: 0.95rem; line-height: 1.7; margin-bottom: 1.25rem; }

.domain-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: gap 0.2s;
}
.domain-link:hover { gap: 0.85rem; }

.domains-title  { text-align: center; margin-bottom: 3rem; }
.domains-tag    { color: #a5b4fc; }
.domains-heading { color: white; margin-top: 0.5rem; }
.domains-subtitle {
    color: rgba(255,255,255,0.55);
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0.75rem auto 0;
}

/* ==============================================
   INDEX PAGE — FINAL CTA
   ============================================== */
.final-cta-box {
    background: linear-gradient(135deg, var(--dark), #1e1b4b);
    border-radius: var(--radius-lg);
    padding: 5rem;
    text-align: center;
    color: white;
    margin: 5rem 0;
}
.final-cta-box h2 { font-size: 2.8rem; margin-bottom: 1rem; }
.final-cta-box p  { color: rgba(255,255,255,0.65); margin-bottom: 2.5rem; font-size: 1.1rem; }

/* ==============================================
   INDEX PAGE — QUOTE BOX
   ============================================== */
.index-quote-box {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background: var(--primary);
    color: white;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    max-width: 280px;
    font-size: 0.9rem;
    line-height: 1.6;
    box-shadow: var(--shadow-xl);
}
.index-quote-box i { font-size: 1.5rem; opacity: 0.5; margin-bottom: 0.5rem; display: block; }

/* ==============================================
   PAGE HERO (inner pages fallback)
   ============================================== */
.page-hero {
    background: var(--bg-canvas, #f8fafc);
    padding: 8.5rem 0 4.5rem;
    text-align: center;
    color: var(--text-main, #0f172a);
    border-bottom: 1px solid var(--border-hairline, #e2e8f0);
}

.page-hero h1 {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-main, #0f172a);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.page-hero p {
    font-size: 1.15rem;
    color: var(--text-muted, #475569);
    max-width: 720px;
    margin: 0 auto;
}

/* ==============================================
   CTA SECTION (shared across pages)
   ============================================== */
.cta-section {
    padding: 5rem 0;
    text-align: center;
    background: linear-gradient(135deg, var(--dark) 0%, #1e1b4b 100%);
}

.cta-section h2 {
    font-size: 3rem;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-section p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.cta-btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 1.1rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    box-shadow: 0 8px 30px var(--primary-glow);
    transition: transform 0.2s;
}

.cta-btn:hover {
    transform: translateY(-3px);
}

/* ==============================================
   ABOUT PAGE
   ============================================== */
.about-heading {
    font-size: 3.5rem;
    margin-bottom: 2.5rem;
}

.about-body-text {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.about-goals {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 4rem;
}

.goal-card {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
}

.goal-icon {
    width: 50px;
    height: 50px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.goal-card h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.goal-card p {
    font-size: 1rem;
    color: var(--text-muted);
}

.about-img-col {
    position: relative;
    padding-right: 2rem;
}

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

.about-img-wrapper img {
    width: 100%;
    height: auto;
    transform: scale(1.01);
}

.about-years-badge {
    position: absolute;
    bottom: -40px;
    right: -20px;
    background: var(--primary);
    color: white;
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    text-align: center;
}

.about-years-badge h3 {
    color: white;
    font-size: 3rem;
}

.about-years-badge p {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
}

/* ==============================================
   BRANDS PAGE
   ============================================== */
.brands-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.brand-item {
    padding: 4rem 0;
}

.brand-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.brand-logo {
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.brand-detail h2 {
    margin-bottom: 1.25rem;
    font-size: 2.6rem;
    color: var(--dark);
    line-height: 1.15;
}

.brand-detail p {
    color: var(--text-muted);
    line-height: 1.9;
    margin: 0;
    font-size: 1.15rem;
}

/* ==============================================
   SERVICES PAGE
   ============================================== */
.services-bg {
    background: #f8f9fc;
}

.service-card {
    background: white;
    padding: 3.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-4px);
}

.service-icon-box {
    width: 64px;
    height: 64px;
    background: rgba(99, 102, 241, 0.08);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.6rem;
    margin-bottom: 2rem;
}

.service-card h2 {
    margin-bottom: 1.25rem;
    font-size: 1.6rem;
    color: var(--dark);
}

.service-card > p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 2rem;
}

.chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.chip {
    background: rgba(99, 102, 241, 0.08);
    color: var(--text-main);
    padding: 0.45rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.chip i {
    margin-right: 0.4rem;
    color: var(--primary);
}

/* ==============================================
   PRODUCTS PAGE
   ============================================== */
.product-section-alt {
    background: var(--light);
}

.product-section-tag {
    text-align: left;
}

.product-heading {
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

.product-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.product-img-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.product-img-wrapper img {
    width: 100%;
    height: auto;
}

.category-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    border-left: 6px solid var(--primary);
}

.category-card h4 {
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.category-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ==============================================
   INDEX PAGE
   ============================================== */
.about-preview-section {
    background-image: var(--pattern-topo);
}

.about-preview-heading {
    font-size: 3.5rem;
    margin-top: 1rem;
}

.about-preview-text {
    margin-top: 2rem;
    color: var(--text-muted);
}

.about-preview-img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
}

.bento-dark {
    background: var(--dark);
    color: white;
}

.bento-dark h3 {
    color: white;
}

.bento-dark p {
    color: rgba(255, 255, 255, 0.7);
}

.bento-dark i {
    color: var(--primary);
}

.domains-title {
    margin-bottom: 3rem;
}

.domains-tag {
    color: #a5b4fc;
}

.domains-heading {
    color: white;
}

.domains-subtitle {
    color: rgba(255, 255, 255, 0.55);
    font-size: 1.1rem;
    max-width: 560px;
    margin: 1rem auto 0;
}

/* Cleaned up duplicate about-stat-row rules */

.index-quote-box {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--dark);
    padding: 2rem;
    border-radius: var(--radius-md);
    color: white;
    box-shadow: var(--shadow-xl);
    max-width: 280px;
}

.index-quote-box i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
    display: block;
}

.index-quote-box p {
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.6;
}

.domain-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

/* ==============================================
   CONTACT PAGE
   ============================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
    padding: 5rem 0;
}

.contact-side-heading {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    color: var(--dark);
}

.contact-info-stack {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-info-item {
    display: flex;
    gap: 1.25rem;
}

.contact-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.contact-info-item h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--dark);
}

.contact-info-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #25d366;
    color: white;
    padding: 1rem 1.75rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, background 0.2s;
    margin-bottom: 3rem;
}

.whatsapp-btn:hover {
    background: #128c7e;
    transform: translateY(-2px);
    color: white;
}

.business-hours-box {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.business-hours-box h4 {
    margin-bottom: 1.25rem;
    color: var(--dark);
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-row.closed span:last-child {
    color: #ef4444;
    font-weight: 600;
}

.contact-form-card {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
}

.contact-form-card h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--dark);
}

.form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 640px) {
    .form-row-2col {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .contact-form-card {
        padding: 2rem;
    }
}



/* Header UI Elements - Mobile toggle handled in Responsive Header section */


.domain-img {
    height: 220px;
    overflow: hidden;
}

.domain-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.domain-card:hover .domain-img img {
    transform: scale(1.05);
}

.domain-content {
    padding: 2rem;
}

.domain-content h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.domain-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.domain-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
}

.domain-link:hover {
    gap: 0.75rem;
}

.final-cta-box {
    background: linear-gradient(135deg, var(--dark) 0%, #1e1b4b 100%);
    padding: 5rem 4rem;
    border-radius: var(--radius-lg);
    text-align: center;
}

.final-cta-box h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1.25rem;
}

.final-cta-box p {
    color: rgba(255, 255, 255, 0.65);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-size: 1.15rem;
    line-height: 1.8;
}

/* ==============================================
   CONTACT PAGE
   ============================================== */
.contact-info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon-box {
    width: 44px;
    height: 44px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1d4ed8;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-info-item h4 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.contact-info-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-info-stack {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-bottom: 2.5rem;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: #25D366;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 2rem;
}

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

.whatsapp-btn i {
    font-size: 1.4rem;
}

.business-hours-box {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.business-hours-box h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.hours-row span:last-child {
    color: var(--text-main);
    font-weight: 500;
}

.hours-row.closed span:last-child {
    color: #ef4444;
    font-weight: 600;
}

.contact-form-card {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.contact-form-card h3 {
    margin-bottom: 2rem;
    font-size: 1.6rem;
    color: var(--dark);
}

.contact-side-heading {
    margin-bottom: 2rem;
    font-size: 2rem;
}

.btn-full {
    width: 100%;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.services-bg {
    background: #f8f9fc;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

@media (max-width: 768px) {
    .about-goals { grid-template-columns: 1fr !important; gap: 2rem !important; }
    .about-img-col { padding-right: 0 !important; }
    .about-years-badge { display: none; }
    .about-stat-row { gap: 1.5rem; }
    .form-row-2col { grid-template-columns: 1fr; }
    .brand-detail h2 { font-size: 2rem; }
    .product-heading { font-size: 2.5rem; }
    .page-hero h1 { font-size: 2.8rem; }
}

/* =========================================================
 * Merak Global - Database Migration Dashboard & Security Screens
 * ========================================================= */

/* --- Migration Security Error Pages (403 / 500) --- */
body.migration-error-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: radial-gradient(ellipse at top, #0f172a 0%, #020617 100%);
    color: #f8fafc;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.migration-error-card {
    background: rgba(30, 41, 59, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5), 0 0 40px rgba(239, 68, 68, 0.25);
    max-width: 520px;
    width: 100%;
    padding: 2.5rem 2rem;
    text-align: center;
}

.migration-error-card .brand-logo { margin-bottom: 2rem; }
.migration-error-card .brand-logo img { height: 36px; width: auto; }

.migration-error-card .icon-badge {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 1.5rem auto;
}

.migration-error-card h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.migration-error-card p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.migration-error-card .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.migration-error-card .btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

/* --- Migration Dashboard Page --- */
body.migration-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #020617;
    background-image: 
        radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(16, 185, 129, 0.1) 0px, transparent 50%),
        radial-gradient(at 50% 100%, rgba(15, 23, 42, 0.8) 0px, transparent 50%);
    color: #f8fafc;
    min-height: 100vh;
    padding: 3rem 1.5rem;
    display: flex;
    justify-content: center;
}

.migration-wrapper {
    width: 100%;
    max-width: 980px;
}

/* Header Brand */
body.migration-page header,
.migration-header-brand {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    z-index: 10 !important;
    padding: 0 0 2rem 0 !important;
    margin-bottom: 2.5rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: transparent !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 1.5rem !important;
}

.migration-brand-box {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.migration-brand-box img {
    height: 38px;
    width: auto;
}

.migration-title-block h1 {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: white;
}

.migration-title-block p {
    font-size: 0.85rem;
    color: #94a3b8;
}

.migration-engine-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #a5b4fc;
    padding: 0.45rem 0.9rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* Status Banner */
.migration-status-banner {
    background: rgba(15, 23, 42, 0.75);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.5);
}

.migration-status-banner.success {
    border-color: rgba(16, 185, 129, 0.35);
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.5), 0 0 35px rgba(16, 185, 129, 0.25);
}

.migration-status-banner.error {
    border-color: rgba(244, 63, 94, 0.35);
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.5), 0 0 35px rgba(244, 63, 94, 0.25);
}

.migration-banner-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.migration-status-banner.success .migration-banner-icon {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #10b981;
}

.migration-status-banner.error .migration-banner-icon {
    background: rgba(244, 63, 94, 0.15);
    border: 1px solid rgba(244, 63, 94, 0.4);
    color: #f43f5e;
}

.migration-banner-content h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    letter-spacing: -0.02em;
    color: white;
}

.migration-banner-content p {
    color: #94a3b8;
    font-size: 0.92rem;
    line-height: 1.5;
}

/* Metric Cards */
.migration-metric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.migration-metric-card {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.25s ease;
}

.migration-metric-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.migration-metric-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.migration-metric-val {
    font-size: 2rem;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    line-height: 1;
}

.migration-metric-card.executed .migration-metric-val { color: #10b981; }
.migration-metric-card.skipped .migration-metric-val { color: #818cf8; }
.migration-metric-card.errors .migration-metric-val { color: #f43f5e; }
.migration-metric-card.total .migration-metric-val { color: white; }

/* Migration Logs Table Card */
.migration-logs-card {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(16px);
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.migration-card-header {
    padding: 1.25rem 1.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.migration-card-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.migration-table-responsive {
    width: 100%;
    overflow-x: auto;
}

.migration-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.88rem;
}

.migration-table th {
    padding: 0.9rem 1.75rem;
    background: rgba(255, 255, 255, 0.02);
    color: #94a3b8;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.migration-table td {
    padding: 1rem 1.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: middle;
}

.migration-table tr:last-child td { border-bottom: none; }
.migration-table tr:hover td { background: rgba(255, 255, 255, 0.02); }

.migration-key-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
    background: rgba(255, 255, 255, 0.06);
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: inline-block;
}

.migration-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.migration-status-pill.executed {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.migration-status-pill.skipped {
    background: rgba(99, 102, 241, 0.12);
    color: #a5b4fc;
    border: 1px solid rgba(99, 102, 241, 0.25);
}

.migration-status-pill.error {
    background: rgba(244, 63, 94, 0.15);
    color: #fb7185;
    border: 1px solid rgba(244, 63, 94, 0.3);
}

.migration-msg-text {
    color: #94a3b8;
    font-size: 0.85rem;
}

/* Debug Diagnostic Card */
.migration-debug-card {
    background: rgba(2, 6, 23, 0.7);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 20px;
    padding: 1.5rem 1.75rem;
    margin-bottom: 2rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
    color: #cbd5e1;
    line-height: 1.6;
}

.migration-debug-card h4 {
    color: #a5b4fc;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.migration-debug-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.75rem;
}

.migration-debug-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 0.6rem 0.9rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.migration-debug-key {
    color: #94a3b8;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.2rem;
}

/* Actions Footer & Buttons */
.migration-actions-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.migration-btn-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.migration-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.4rem;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
}

.migration-btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
}

.migration-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.35);
    color: white;
}

.migration-btn-outline {
    background: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.migration-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.25);
}

.migration-copyright {
    color: #94a3b8;
    font-size: 0.8rem;
}

@media (max-width: 640px) {
    body.migration-page { padding: 1.5rem 1rem; }
    .migration-status-banner { flex-direction: column; text-align: center; }
    .migration-actions-footer { flex-direction: column; align-items: stretch; text-align: center; }
    .migration-btn-group { justify-content: center; }
}


/* =========================================================================
   HOMEPAGE INSTITUTIONAL SYSTEM & COMPONENTS (Migrated from pages/index.php)
   ========================================================================= */
/* ==========================================================================
   MERAK GLOBAL - MODERN EUROPEAN COMMODITY TRADING DESIGN SYSTEM
   Clean, institutional light theme with high typographic hierarchy & zero AI fluff.
   ========================================================================== */

.eu-trade-home {
    background-color: var(--bg-canvas, #ffffff);
    color: var(--text-main, #0f172a);
    font-family: var(--font-sans, 'Inter', system-ui, -apple-system, sans-serif);
    line-height: 1.6;
}

/* 1. Hero Section: Darker Side Background Transition / Slider */
.eu-hero-section {
    position: relative;
    min-height: 82vh;
    display: flex;
    align-items: center;
    padding: 8.5rem 0 5.5rem;
    overflow: hidden;
    background: #090d16;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-slider-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-bg-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    overflow: hidden;
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity;
}

.hero-bg-slide.slide-prev {
    opacity: 1;
    z-index: 2;
}

.hero-bg-slide.active {
    opacity: 1;
    z-index: 3;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
    transition: transform 7s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.hero-bg-slide.active .hero-bg-img {
    transform: scale(1);
}

/* Darker Gradient Overlay on the content side */
.hero-dark-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    background: linear-gradient(
        90deg,
        rgba(9, 13, 22, 0.96) 0%,
        rgba(9, 13, 22, 0.90) 45%,
        rgba(9, 13, 22, 0.72) 75%,
        rgba(9, 13, 22, 0.58) 100%
    );
    pointer-events: none;
}

@media (max-width: 900px) {
    .hero-dark-overlay {
        background: linear-gradient(
            180deg,
            rgba(9, 13, 22, 0.95) 0%,
            rgba(9, 13, 22, 0.88) 60%,
            rgba(9, 13, 22, 0.80) 100%
        );
    }
}

.hero-container-relative {
    position: relative;
    z-index: 5;
    width: 100%;
}

.eu-hero-content-wrap {
    max-width: 780px;
    position: relative;
    min-height: 380px;
}

.eu-hero-slide-pane {
    display: none;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.eu-hero-slide-pane.slide-out {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: block;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.32s cubic-bezier(0.4, 0, 1, 1), transform 0.32s cubic-bezier(0.4, 0, 1, 1);
}

.eu-hero-slide-pane.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.eu-hero-slide-pane.active .eu-kicker-tag {
    animation: heroItemFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.04s backwards;
}

.eu-hero-slide-pane.active .eu-hero-headline {
    animation: heroItemFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.10s backwards;
}

.eu-hero-slide-pane.active .eu-hero-lead {
    animation: heroItemFadeIn 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.16s backwards;
}

.eu-hero-slide-pane.active .eu-hero-actions {
    animation: heroItemFadeIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.22s backwards;
}

@keyframes heroItemFadeIn {
    0% {
        opacity: 0;
        transform: translateY(12px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.eu-kicker-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #60a5fa;
    background: rgba(30, 64, 175, 0.25);
    border: 1px solid rgba(96, 165, 250, 0.35);
    padding: 0.4rem 0.9rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: #60a5fa;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.3);
}

.eu-hero-headline {
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: 1.35rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
}

.eu-hero-lead {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #cbd5e1;
    margin-bottom: 2.35rem;
    max-width: 680px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.eu-hero-actions {
    display: flex;
    gap: 1.15rem;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 2.5rem;
}

.btn-eu-primary {
    background: var(--primary, #1d4ed8);
    color: #ffffff !important;
    font-family: var(--font-sans, 'Inter', sans-serif);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.9rem 1.85rem;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    border: 1px solid var(--primary, #1d4ed8);
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(29, 78, 216, 0.35);
}

.btn-eu-primary:hover {
    background: var(--primary-hover, #1e40af);
    border-color: var(--primary-hover, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(29, 78, 216, 0.5);
    color: #ffffff !important;
}

.btn-eu-outline-light {
    background: rgba(255, 255, 255, 0.08);
    color: #f8fafc !important;
    font-family: var(--font-sans, 'Inter', sans-serif);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.9rem 1.85rem;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
    transition: all 0.2s ease;
}

.btn-eu-outline-light:hover {
    background: #ffffff;
    color: #0f172a !important;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-eu-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #f8fafc !important;
    font-family: var(--font-sans, 'Inter', sans-serif);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.9rem 1.85rem;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
    transition: all 0.2s ease;
}

.btn-eu-secondary:hover {
    background: #ffffff;
    color: #0f172a !important;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-eu-rust {
    background: var(--accent-rust, #c25e34);
    color: #ffffff !important;
    font-family: var(--font-sans, 'Inter', sans-serif);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.9rem 1.85rem;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    border: 1px solid var(--accent-rust, #c25e34);
    transition: all 0.2s ease;
}

.btn-eu-rust:hover {
    background: var(--accent-rust-hover, #a34823);
    border-color: var(--accent-rust-hover, #a34823);
    transform: translateY(-2px);
}

.eu-hero-gateway-strip {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.82rem;
}

.gateway-label {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
}

.gateway-tags {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    color: #60a5fa;
    font-weight: 600;
}

/* Slide Controls */
.hero-slider-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2.5rem;
    max-width: 780px;
}

.hero-slider-dots {
    display: flex;
    gap: 0.65rem;
    align-items: center;
}

.hero-dot {
    width: 32px;
    height: 5px;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    border-radius: 3px;
    cursor: pointer;
    padding: 0;
    transition: width 0.35s ease, background-color 0.35s ease;
    position: relative;
    overflow: hidden;
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.45);
}

.hero-dot.active {
    width: 54px;
    background: rgba(255, 255, 255, 0.35);
}

.hero-dot.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: #60a5fa;
    border-radius: 3px;
    animation: heroDotProgress 5s linear forwards;
}

@keyframes heroDotProgress {
    0% { transform: scaleX(0); transform-origin: left; }
    100% { transform: scaleX(1); transform-origin: left; }
}

.hero-slider-counter-wrap {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.hero-arrow {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #cbd5e1;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    backdrop-filter: blur(4px);
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: #60a5fa;
    color: #ffffff;
    transform: translateY(-1px);
}

.hero-arrow:active {
    transform: translateY(0);
}

.hero-slider-counter {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.78rem;
    color: #94a3b8;
    font-weight: 600;
    letter-spacing: 0.05em;
    user-select: none;
    min-width: 54px;
    text-align: center;
}

.hero-slider-counter #heroCurrentSlide {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
}

.hero-slider-counter .counter-total {
    color: #64748b;
}

/* 2. Understated 4-Column Stats Line */
.eu-stats-section {
    background: #ffffff;
    border-bottom: 1px solid var(--border-hairline, #e2e8f0);
    padding: 2.75rem 0;
}

.eu-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.eu-stat-item {
    border-left: 1px solid var(--border-hairline, #e2e8f0);
    padding-left: 1.5rem;
}

.eu-stats-grid .eu-stat-item:first-child {
    border-left: none;
    padding-left: 0;
}

.eu-stat-val {
    display: block;
    font-size: 2.4rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 0.4rem;
}

.eu-stat-lbl {
    display: block;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary, #1e40af);
    margin-bottom: 0.35rem;
}

.eu-stat-desc {
    font-size: 0.88rem;
    color: var(--text-muted, #475569);
    line-height: 1.45;
    margin: 0;
}

/* 3. The 5-Step Continuous Horizontal Milestone Pipeline */
.eu-protocol-section {
    background: var(--bg-subtle, #f8f9fa);
    border-bottom: 1px solid var(--border-hairline, #e2e8f0);
    padding: 5.5rem 0;
}

.eu-section-head {
    max-width: 760px;
    margin-bottom: 3.5rem;
}

.eu-section-eyebrow {
    display: block;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary, #1e40af);
    margin-bottom: 0.6rem;
}

.eu-section-title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 0.85rem;
}

.eu-section-desc {
    font-size: 1.05rem;
    color: var(--text-muted, #475569);
    line-height: 1.65;
    margin: 0;
}

/* Process Summary Strip for Pipeline Clarity */
.process-summary-strip {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: #ffffff;
    border: 1px solid var(--border-hairline, #e2e8f0);
    border-radius: 6px;
    padding: 1rem 1.75rem;
    margin-bottom: 3rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.process-strip-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.process-strip-item .strip-num {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary, #1e40af);
    background: var(--primary-subtle, #eff6ff);
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    border: 1px solid rgba(30, 64, 175, 0.2);
}

.process-strip-item .strip-label {
    font-weight: 700;
    font-size: 0.95rem;
    color: #0f172a;
}

.process-strip-arrow {
    color: #94a3b8;
    font-size: 0.85rem;
}

/* Continuous Milestone Pipeline Bar */
.milestone-pipeline-bar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: #ffffff;
    border: 1px solid var(--border-hairline, #e2e8f0);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}

.milestone-node {
    padding: 2.25rem 1.75rem;
    border-right: 1px solid var(--border-hairline, #e2e8f0);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: background-color 0.2s ease;
}

.milestone-node:last-child {
    border-right: none;
}

.milestone-node:hover {
    background-color: #fafbfc;
}

.milestone-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1rem;
}

.milestone-num {
    font-size: 2.25rem;
    font-weight: 900;
    color: #cbd5e1;
    line-height: 1;
    letter-spacing: -0.04em;
    transition: color 0.2s ease;
}

.milestone-node:hover .milestone-num {
    color: var(--primary, #1e40af);
}

.milestone-code {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--primary, #1e40af);
    background: var(--primary-subtle, #eff6ff);
    padding: 0.2rem 0.5rem;
    border-radius: 2px;
}

.milestone-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.65rem;
    line-height: 1.3;
}

.milestone-desc {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-muted, #475569);
    margin: 0;
}

/* 4. Commercial Verticals (3 Editorial Trade Tiles) */
.eu-products-section {
    background: #ffffff;
    border-bottom: 1px solid var(--border-hairline, #e2e8f0);
    padding: 5.5rem 0;
}

.verticals-tiles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.vertical-trade-tile {
    background: #ffffff;
    border: 1px solid var(--border-hairline, #e2e8f0);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.vertical-trade-tile:hover {
    border-color: #cbd5e1;
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -10px rgba(15, 23, 42, 0.08);
}

.trade-tile-link-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.trade-tile-media {
    position: relative;
    width: 100%;
    height: 230px;
    overflow: hidden;
    background: #0f172a;
}

.trade-tile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.vertical-trade-tile:hover .trade-tile-img {
    transform: scale(1.04);
}

.trade-tile-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.45) 100%);
    pointer-events: none;
}

.trade-tile-num {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
}

.trade-tile-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.trade-tile-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    margin: 0 0 0.75rem 0;
    letter-spacing: -0.01em;
    transition: color 0.2s ease;
}

.vertical-trade-tile:hover .trade-tile-title {
    color: var(--color-primary, #1d4ed8);
}

.trade-tile-desc {
    font-size: 0.9rem;
    color: var(--text-muted, #475569);
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
    flex: 1;
}

.trade-tile-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-primary, #1d4ed8);
    margin-top: auto;
    transition: gap 0.2s ease;
}

.trade-tile-action i {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.vertical-trade-tile:hover .trade-tile-action {
    gap: 0.75rem;
}

.vertical-trade-tile:hover .trade-tile-action i {
    transform: translateX(3px);
}

.verticals-bottom-bar {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.verticals-catalog-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1.6rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
    background: #ffffff;
    border: 1px solid var(--border-hairline, #e2e8f0);
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.verticals-catalog-btn:hover {
    background-color: var(--bg-canvas, #f8fafc);
    border-color: #94a3b8;
    color: var(--color-primary, #1d4ed8);
}

.verticals-catalog-btn i {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.verticals-catalog-btn:hover i {
    transform: translateX(3px);
}

/* 5. Why MERAK GLOBAL? (Trust Layer 6-Card Grid) */
.eu-trust-section {
    background: var(--bg-subtle, #f8f9fa);
    border-bottom: 1px solid var(--border-hairline, #e2e8f0);
    padding: 5.5rem 0;
}

.eu-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.eu-trust-card {
    background: #ffffff;
    border: 1px solid var(--border-hairline, #e2e8f0);
    border-radius: 8px;
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.02);
    transition: all 0.2s ease;
}

.eu-trust-card:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.trust-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.trust-index {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--primary, #1e40af);
}

.trust-icon {
    font-size: 1.25rem;
    color: var(--text-muted, #475569);
}

.eu-trust-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.eu-trust-card p {
    font-size: 0.94rem;
    color: var(--text-muted, #475569);
    line-height: 1.6;
    margin: 0;
}

/* 6. Yumm’G Consumer Brand CPG Showcase */
.eu-cpg-section {
    background: #ffffff;
    border-bottom: 1px solid var(--border-hairline, #e2e8f0);
    padding: 5.5rem 0;
}

.cpg-showcase-box {
    background: #f8f9fa;
    border: 1px solid var(--border-hairline, #e2e8f0);
    border-radius: 8px;
    padding: 3.5rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3.5rem;
    align-items: center;
}

.cpg-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-rust, #c25e34);
    margin-bottom: 0.75rem;
}

.cpg-title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.cpg-tagline {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary, #1e40af);
    margin-bottom: 1.25rem;
}

.cpg-body {
    font-size: 1rem;
    color: var(--text-muted, #475569);
    line-height: 1.68;
    margin-bottom: 2rem;
}

.cpg-pillars-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.25rem;
}

.cpg-pillar-row {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.cpg-pillar-row i {
    color: var(--accent-rust, #c25e34);
    margin-top: 0.25rem;
    font-size: 0.95rem;
}

.cpg-pillar-row strong {
    color: #0f172a;
    font-weight: 600;
}

.cpg-pillar-row span {
    display: block;
    font-size: 0.88rem;
    color: var(--text-muted, #475569);
}

.cpg-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cpg-spec-card {
    background: #ffffff;
    border: 1px solid var(--border-hairline, #e2e8f0);
    border-radius: 6px;
    padding: 2.25rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.cpg-spec-card h4 {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0f172a;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-hairline, #e2e8f0);
    margin-bottom: 1.25rem;
}

.cpg-spec-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.cpg-spec-list li .cpg-spec-lbl {
    display: block;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted, #475569);
    margin-bottom: 0.2rem;
}

.cpg-spec-list li .cpg-spec-data {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
}

/* 7. Closing Commercial RFQ Bar & Named Desk Contacts */
.eu-rfq-section {
    background: var(--bg-subtle, #f8f9fa);
    padding: 5.5rem 0 6.5rem;
}

.rfq-desk-card {
    background: #ffffff;
    border: 1px solid var(--border-hairline, #e2e8f0);
    border-top: 4px solid var(--primary, #1e40af);
    border-radius: 8px;
    padding: 3.5rem;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
}

.rfq-card-head {
    max-width: 760px;
    margin-bottom: 3rem;
}

.rfq-card-head h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.rfq-card-head p {
    font-size: 1.05rem;
    color: var(--text-muted, #475569);
    line-height: 1.6;
    margin: 0;
}

.rfq-desks-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.desk-officer-card {
    background: #f8f9fa;
    border: 1px solid var(--border-hairline, #e2e8f0);
    border-radius: 6px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.officer-meta {
    margin-bottom: 1.5rem;
}

.officer-badge {
    display: inline-block;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary, #1e40af);
    background: var(--primary-subtle, #eff6ff);
    padding: 0.25rem 0.6rem;
    border-radius: 3px;
    margin-bottom: 0.75rem;
}

.officer-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.officer-role {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted, #475569);
    margin-bottom: 0.5rem;
}

.officer-focus {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.45;
}

.officer-channels {
    list-style: none;
    padding: 1rem 0;
    margin: 0 0 1.5rem 0;
    border-top: 1px solid var(--border-hairline, #e2e8f0);
    border-bottom: 1px solid var(--border-hairline, #e2e8f0);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.86rem;
}

.officer-channels li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: #334155;
}

.officer-channels li i {
    color: var(--primary, #1e40af);
    width: 16px;
}

.officer-channels li a {
    color: #0f172a;
    font-weight: 600;
}

.officer-channels li a:hover {
    color: var(--primary, #1e40af);
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .eu-hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .eu-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .eu-stats-grid .eu-stat-item:nth-child(3) {
        border-left: none;
        padding-left: 0;
    }
    .milestone-pipeline-bar {
        grid-template-columns: 1fr;
    }
    .milestone-node {
        border-right: none;
        border-bottom: 1px solid var(--border-hairline, #e2e8f0);
    }
    .verticals-tiles-grid,
    .eu-products-grid,
    .eu-trust-grid {
        grid-template-columns: 1fr;
    }
    .cpg-showcase-box {
        grid-template-columns: 1fr;
        padding: 2.5rem;
    }
    .rfq-desks-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .eu-hero-section {
        padding: 7rem 0 3.5rem;
    }
    .eu-stats-grid {
        grid-template-columns: 1fr;
    }
    .eu-stat-item {
        border-left: none;
        padding-left: 0;
    }
    .rfq-desk-card {
        padding: 2rem 1.5rem;
    }
    .process-summary-strip {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    .process-strip-arrow {
        display: none;
    }
}

/* =========================================================================
   INSTITUTIONAL TRADE DESK & INTAKE SYSTEM (Migrated from pages/contact.php)
   ========================================================================= */
/* ==========================================================================
   MERAK GLOBAL - INSTITUTIONAL EUROPEAN CONTACT & INTAKE DESIGN SYSTEM
   ========================================================================== */
.mercantile-contact-page {
    background-color: var(--bg-canvas, #f8fafc);
    color: var(--text-main, #0f172a);
    min-height: 100vh;
    font-family: var(--font-sans, 'Inter', sans-serif);
}

/* 1. Daylight Hero Section */
.contact-hero {
    background: var(--bg-subtle, #f8fafc);
    border-bottom: 1px solid var(--border-hairline, #e2e8f0);
    padding: 8.5rem 0 4.5rem;
    color: var(--text-main, #0f172a);
    position: relative;
}

.contact-hero-content {
    max-width: 900px;
}

.contact-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary, #1d4ed8);
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 0.35rem 0.85rem;
    border-radius: 4px;
    margin-bottom: 1.25rem;
}

.contact-hero h1 {
    font-family: var(--font-serif, 'Auxilia Black', sans-serif);
    font-size: clamp(2.3rem, 4vw, 3.4rem);
    font-weight: 900;
    color: var(--text-main, #0f172a);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.15rem;
}

.contact-hero-lead {
    font-size: 1.15rem;
    color: var(--text-muted, #475569);
    max-width: 780px;
    line-height: 1.65;
    margin-bottom: 2.25rem;
}

.contact-metrics-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-hairline, #e2e8f0);
}

.contact-metric-item {
    border-left: 3px solid var(--primary, #1d4ed8);
    padding-left: 1.25rem;
}

.contact-metric-val {
    display: block;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-main, #0f172a);
    line-height: 1.1;
    margin-bottom: 0.3rem;
}

.contact-metric-lbl {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted, #475569);
}

/* 2. Main Section & Grid Layout */
.contact-main-section {
    padding: 4.5rem 0 6rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.65fr;
    gap: 3.5rem;
    align-items: start;
}

/* Left Sidebar Channels */
.contact-sidebar-header {
    margin-bottom: 2rem;
}

.contact-eyebrow {
    display: block;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary, #1d4ed8);
    margin-bottom: 0.5rem;
}

.contact-sidebar-title {
    font-family: var(--font-serif, 'Auxilia Black', sans-serif);
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-main, #0f172a);
    line-height: 1.2;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.contact-sidebar-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted, #475569);
}

.trade-channel-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.trade-channel-card {
    background: #ffffff;
    border: 1px solid var(--border-hairline, #e2e8f0);
    border-left: 4px solid var(--primary, #1d4ed8);
    border-radius: 6px;
    padding: 1.25rem 1.4rem;
    display: flex;
    align-items: flex-start;
    gap: 1.15rem;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.trade-channel-card:hover {
    border-color: var(--primary, #1d4ed8);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
    transform: translateY(-1px);
}

.channel-icon-box {
    width: 44px;
    height: 44px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary, #1d4ed8);
    font-size: 1.15rem;
    flex-shrink: 0;
}

.channel-info {
    flex: 1;
}

.channel-label {
    display: block;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary, #1d4ed8);
    margin-bottom: 0.3rem;
}

.channel-val {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main, #0f172a);
    line-height: 1.45;
    margin: 0;
}

.channel-val a {
    color: var(--text-main, #0f172a);
    transition: color 0.2s ease;
}

.channel-val a:hover {
    color: var(--primary, #1d4ed8);
    text-decoration: underline;
}

/* Institutional WhatsApp Line */
.mercantile-whatsapp-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #25d366;
    border: 1px solid #1ebe5d;
    border-radius: 6px;
    padding: 1.15rem 1.4rem;
    color: #ffffff;
    text-decoration: none;
    margin-bottom: 1.75rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.2);
}

.mercantile-whatsapp-card:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.whatsapp-icon-circle {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.whatsapp-text {
    flex: 1;
}

.whatsapp-text strong {
    display: block;
    font-size: 0.96rem;
    color: #ffffff;
    margin-bottom: 0.15rem;
}

.whatsapp-text span {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
}

.whatsapp-arrow {
    color: #ffffff;
    font-size: 0.9rem;
    transition: transform 0.2s ease;
}

.mercantile-whatsapp-card:hover .whatsapp-arrow {
    transform: translateX(4px);
}

/* Desk Operating Hours Ledger */
.trade-hours-ledger {
    background: #ffffff;
    border: 1px solid var(--border-hairline, #e2e8f0);
    border-top: 3px solid var(--primary, #1d4ed8);
    border-radius: 6px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.ledger-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.15rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-hairline, #e2e8f0);
}

.ledger-header h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main, #0f172a);
    margin: 0;
}

.ledger-tz {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary, #1d4ed8);
    background: #eff6ff;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
}

.ledger-rows {
    display: flex;
    flex-direction: column;
}

.ledger-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 0;
    border-bottom: 1px dashed var(--border-hairline, #e2e8f0);
    font-size: 0.88rem;
}

.ledger-row:last-child {
    border-bottom: none;
}

.ledger-day {
    color: var(--text-muted, #475569);
    font-weight: 500;
}

.ledger-time {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.82rem;
    color: var(--text-main, #0f172a);
    font-weight: 600;
}

.ledger-row.ledger-closed .ledger-status {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--accent-rust, #c25e34);
}

.ledger-footer {
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border-hairline, #e2e8f0);
    font-size: 0.78rem;
    color: var(--text-muted, #475569);
    line-height: 1.45;
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
}

.ledger-footer i {
    color: var(--primary, #1d4ed8);
    margin-top: 0.15rem;
    font-size: 0.85rem;
}

/* 3. Form Card & Intake Tabs */
.contact-form-card {
    background: #ffffff;
    border: 1px solid var(--border-hairline, #e2e8f0);
    border-top: 4px solid var(--primary, #1d4ed8);
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.intake-tab-bar {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-hairline, #e2e8f0);
    padding-bottom: 0.85rem;
    overflow-x: auto;
}

.intake-tab-btn {
    background: var(--bg-muted, #f1f5f9);
    border: 1px solid var(--border-hairline, #e2e8f0);
    border-radius: 4px;
    padding: 0.65rem 1.15rem;
    font-family: var(--font-sans, 'Inter', sans-serif);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted, #475569);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.intake-tab-btn:hover {
    background: #e2e8f0;
    color: var(--text-main, #0f172a);
}

.intake-tab-btn.active {
    background: var(--primary, #1d4ed8);
    color: #ffffff;
    border-color: var(--primary, #1d4ed8);
    box-shadow: 0 2px 6px rgba(29, 78, 216, 0.2);
}

.intake-tab-btn.active i {
    color: #ffffff;
}

/* Tab Intro Cards */
.tab-intro-card {
    background: var(--bg-muted, #f1f5f9);
    border: 1px solid var(--border-hairline, #e2e8f0);
    border-left: 4px solid var(--primary, #1d4ed8);
    border-radius: 6px;
    padding: 1.5rem 1.75rem;
    margin-bottom: 2rem;
}

.intro-eyebrow-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.intro-eyebrow {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary, #1d4ed8);
}

.intro-meta-badge {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary, #1d4ed8);
    background: #eff6ff;
    padding: 0.25rem 0.65rem;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.intro-heading {
    font-family: var(--font-serif, 'Auxilia Black', sans-serif);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-main, #0f172a);
    line-height: 1.3;
    margin: 0.25rem 0 0.75rem;
}

.intro-lead {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted, #475569);
    margin-bottom: 1.15rem;
}

.intro-lead strong {
    color: var(--text-main, #0f172a);
    font-weight: 700;
}

.intro-capabilities-box {
    background: #ffffff;
    border: 1px solid var(--border-hairline, #e2e8f0);
    border-radius: 4px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.15rem;
}

.capabilities-title {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main, #0f172a);
    margin-bottom: 0.65rem;
}

.tab-intro-card .capability-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.6rem;
    margin: 0;
}

.tab-intro-card .cap-pill {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--text-main, #0f172a);
    background: var(--bg-muted, #f1f5f9);
    border: 1px solid var(--border-hairline, #e2e8f0);
    padding: 0.3rem 0.65rem;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.2s ease;
}

.tab-intro-card .cap-pill i {
    color: var(--primary, #1d4ed8);
    font-size: 0.7rem;
}

.intro-prompt-bar {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.92rem;
    color: var(--text-main, #0f172a);
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    line-height: 1.4;
}

.intro-prompt-bar i {
    color: var(--primary, #1d4ed8);
    font-size: 1.05rem;
}

/* Form Controls */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-main, #0f172a);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--border-hairline, #e2e8f0);
    border-radius: 4px;
    padding: 0.85rem 1rem;
    font-family: var(--font-sans, 'Inter', sans-serif);
    font-size: 0.95rem;
    color: var(--text-main, #0f172a);
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-control:focus {
    background: #ffffff;
    border-color: var(--primary, #1d4ed8);
    outline: none;
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15);
}

.form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.btn-submit-trade {
    width: 100%;
    background: var(--primary, #1d4ed8);
    border: 1px solid var(--primary, #1d4ed8);
    color: #ffffff;
    font-family: var(--font-sans, 'Inter', sans-serif);
    font-size: 1rem;
    font-weight: 700;
    padding: 1.1rem 1.75rem;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(29, 78, 216, 0.2);
}

.btn-submit-trade:hover {
    background: var(--primary-hover, #1e40af);
    border-color: var(--primary-hover, #1e40af);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.3);
}

.alert-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 1rem 1.25rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 600;
}

.alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 1rem 1.25rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 600;
}

@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .contact-metrics-bar {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .intake-tab-bar {
        flex-direction: column;
        border-bottom: none;
        padding-bottom: 0;
    }
    .intake-tab-btn {
        width: 100%;
        justify-content: flex-start;
    }
    .form-row-2col {
        grid-template-columns: 1fr;
    }
}

/* =========================================================================
   CATALOG & ASSAY SPECIFICATION SYSTEM (Migrated from pages/products.php)
   ========================================================================= */
/* Products Tab Button Styles */
.inst-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.15rem;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 4px;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted, #475569);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.inst-tab-btn:hover {
    color: var(--primary, #1d4ed8);
    background: var(--bg-muted, #f1f5f9);
}

.inst-tab-btn.active {
    color: #ffffff;
    background: var(--primary, #1d4ed8);
}

.inst-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.15rem 0.45rem;
    border-radius: 3px;
    font-size: 0.72rem;
    background: rgba(0, 0, 0, 0.08);
}

.inst-tab-btn.active .inst-tab-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

@media (max-width: 860px) {
    .spec-manifest-card > div:nth-child(2) {
        grid-template-columns: 1fr !important;
    }
}


/* ==========================================================================
   INSTITUTIONAL SHARED UTILITY & LAYOUT SYSTEM
   Replacing inline styles across trading, about, brands, global-sourcing, products
   ========================================================================== */

.inst-page-shell {
    background-color: var(--bg-canvas, #f8fafc);
    color: var(--text-main, #0f172a);
    min-height: 100vh;
}

.inst-meta-track {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-hairline, #e2e8f0);
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.8rem;
    color: var(--text-muted, #475569);
}

.inst-meta-item strong {
    color: var(--text-main, #0f172a);
}

.inst-page-main {
    padding: 4rem 0 5rem;
}

.inst-page-main--compact {
    padding: 3.5rem 0 4rem;
}

/* Pillar Cards & Grids */
.inst-pillar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.inst-pillar-grid--corridors {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
}

.inst-pillar-card {
    background: #ffffff;
    border: 1px solid var(--border-hairline, #e2e8f0);
    border-top: 4px solid var(--primary, #1d4ed8);
    border-radius: 8px;
    padding: 2.25rem 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.inst-pillar-card--rust {
    border-top-color: var(--accent-rust, #c25e34);
}

.inst-pillar-card--left-border {
    border-top: 1px solid var(--border-hairline, #e2e8f0);
    border-left: 4px solid var(--primary, #1d4ed8);
    padding: 2rem;
}

.inst-pillar-card--left-border-rust {
    border-top: 1px solid var(--border-hairline, #e2e8f0);
    border-left: 4px solid var(--accent-rust, #c25e34);
    padding: 2rem;
}

.inst-pillar-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.inst-pillar-icon {
    font-size: 1.8rem;
    color: var(--primary, #1d4ed8);
    margin-bottom: 1rem;
}

.inst-pillar-icon--rust {
    color: var(--accent-rust, #c25e34);
}

.inst-pillar-kicker {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary, #1d4ed8);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.35rem;
    letter-spacing: 0.05em;
}

.inst-pillar-kicker--rust {
    color: var(--accent-rust, #c25e34);
}

.inst-pillar-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-main, #0f172a);
    margin-bottom: 0.75rem;
    line-height: 1.25;
}

.inst-pillar-desc {
    font-size: 0.95rem;
    color: var(--text-muted, #475569);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.inst-pillar-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--border-hairline, #e2e8f0);
    padding-top: 1rem;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.8rem;
    color: var(--text-main, #0f172a);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.inst-pillar-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.inst-pillar-list li i {
    color: var(--primary, #1d4ed8);
}

.inst-pillar-list--rust li i {
    color: var(--accent-rust, #c25e34);
}

/* Manifest Box & Table Containers */
.inst-manifest-box {
    background: #ffffff;
    border: 1px solid var(--border-hairline, #e2e8f0);
    border-radius: 8px;
    padding: 2.5rem;
    margin-bottom: 4rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.inst-manifest-box--compact {
    padding: 2rem;
    margin-bottom: 2rem;
}

.inst-manifest-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.inst-table-responsive {
    overflow-x: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

/* Section Headings */
.inst-section-kicker {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary, #1d4ed8);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.4rem;
}

.inst-section-kicker--rust {
    color: var(--accent-rust, #c25e34);
}

.inst-section-title {
    font-family: var(--font-serif, 'Auxilia Black', sans-serif);
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-main, #0f172a);
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.inst-section-subtitle {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.78rem;
    color: var(--text-muted, #475569);
}

/* Trader & Desk Grid */
.inst-trader-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.inst-trader-tile {
    background: #ffffff;
    border: 1px solid var(--border-hairline, #e2e8f0);
    border-left: 4px solid var(--primary, #1d4ed8);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.inst-trader-tile--rust {
    border-left-color: var(--accent-rust, #c25e34);
}

.inst-trader-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.inst-trader-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-main, #0f172a);
    display: block;
}

.inst-trader-title {
    font-size: 0.8rem;
    color: var(--text-muted, #475569);
    font-weight: 500;
}

.inst-trader-tag {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    background: #eff6ff;
    color: var(--primary, #1d4ed8);
}

.inst-trader-tag--rust {
    background: #fff7ed;
    color: var(--accent-rust, #c25e34);
}

.inst-trader-contact {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.8rem;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-hairline, #e2e8f0);
}

.inst-trader-contact a {
    color: var(--text-main, #0f172a);
    text-decoration: none;
    transition: color 0.2s;
}

.inst-trader-contact a:hover {
    color: var(--primary, #1d4ed8);
}

/* Metrics Bar (About Us) */
.inst-metrics-bar {
    background: #ffffff;
    border-bottom: 1px solid var(--border-hairline, #e2e8f0);
    padding: 1.75rem 0;
}

.inst-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.inst-metric-cell {
    border-left: 3px solid var(--primary, #1d4ed8);
    padding-left: 1.25rem;
}

.inst-metric-cell--rust {
    border-left-color: var(--accent-rust, #c25e34);
}

.inst-metric-val {
    display: block;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main, #0f172a);
    line-height: 1;
}

.inst-metric-lbl {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted, #475569);
    margin-top: 0.35rem;
}

/* Split Grid (About Us Overview) */
.inst-split-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: start;
}

.inst-card-aside {
    background: #ffffff;
    border: 1px solid var(--border-hairline, #e2e8f0);
    border-radius: 8px;
    padding: 2.25rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

/* Timeline & Milestones */
.inst-timeline-track {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.inst-timeline-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.inst-timeline-year {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary, #1d4ed8);
    min-width: 60px;
}

.inst-timeline-content {
    border-left: 2px solid var(--border-hairline, #e2e8f0);
    padding-left: 1.5rem;
    padding-bottom: 0.5rem;
}

.inst-timeline-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main, #0f172a);
    margin-bottom: 0.25rem;
}

.inst-timeline-desc {
    font-size: 0.88rem;
    color: var(--text-muted, #475569);
    line-height: 1.5;
}

/* Product Manifest Filterbar & Navigation (products.php) */
.inst-products-filterbar {
    background: #ffffff;
    border-bottom: 1px solid var(--border-hairline, #e2e8f0);
    position: sticky;
    top: 68px;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.inst-products-tabs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.75rem 0;
}

/* =========================================================================
   COMMERCIAL PRODUCT CATALOG (3-Column Grid System & Cards)
   ========================================================================= */

.inst-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-bottom: 3.5rem;
}

@media (max-width: 1080px) {
    .inst-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 720px) {
    .inst-products-grid {
        grid-template-columns: 1fr;
    }
}

.product-commercial-card {
    background: #ffffff;
    border: 1px solid var(--border-hairline, #e2e8f0);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-commercial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

.product-commercial-card.is-hidden,
.spec-manifest-card.is-hidden {
    display: none !important;
}

/* Card Media Header */
.product-card-media {
    position: relative;
    width: 100%;
    height: 190px;
    background: #f1f5f9;
    overflow: hidden;
}

.product-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.product-commercial-card:hover .product-card-img {
    transform: scale(1.03);
}

.product-card-category-badge {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #ffffff;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.3rem 0.65rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Card Content Area */
.product-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card-header {
    margin-bottom: 0.6rem;
}

.product-card-title {
    font-family: var(--font-serif, 'Auxilia Black', sans-serif);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main, #0f172a);
    margin-bottom: 0.35rem;
    line-height: 1.3;
}

.product-card-origin {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary, #1d4ed8);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.product-card-tagline {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted, #475569);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.product-card-desc {
    font-size: 0.86rem;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 1.25rem;
}

/* Commercial Parameters */
.product-commercial-params {
    background: #f8fafc;
    border: 1px solid var(--border-hairline, #e2e8f0);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.product-param-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    gap: 0.5rem;
}

.product-param-row .param-label {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    color: var(--text-muted, #475569);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.product-param-row .param-value {
    font-weight: 700;
    color: var(--text-main, #0f172a);
    text-align: right;
}

/* Collapsible Specifications Drawer */
.product-specs-drawer {
    border: 1px solid var(--border-hairline, #e2e8f0);
    border-radius: 6px;
    margin-bottom: 1.25rem;
    background: #ffffff;
    overflow: hidden;
}

.product-specs-toggle {
    padding: 0.65rem 0.9rem;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary, #1d4ed8);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    list-style: none;
    background: #fafafa;
    transition: background 0.15s ease;
}

.product-specs-toggle::-webkit-details-marker {
    display: none;
}

.product-specs-toggle:hover {
    background: #f1f5f9;
}

.product-specs-toggle .drawer-icon {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}

.product-specs-drawer[open] .product-specs-toggle .drawer-icon {
    transform: rotate(180deg);
}

.product-specs-body {
    padding: 0;
    border-top: 1px solid var(--border-hairline, #e2e8f0);
}

.product-specs-body .inst-spec-table {
    margin: 0;
    width: 100%;
}

.product-specs-body .inst-spec-table td {
    padding: 0.45rem 0.75rem;
    font-size: 0.75rem;
}

.product-specs-body .inst-spec-table .spec-key-cell {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-weight: 600;
    color: var(--text-muted, #475569);
    width: 50%;
}

.product-specs-body .inst-spec-table .spec-val-cell {
    font-weight: 700;
    color: var(--text-main, #0f172a);
}

/* Card Footer CTA */
.product-card-footer {
    margin-top: auto;
    padding-top: 0.75rem;
}

.btn-product-rfq {
    width: 100%;
    justify-content: center;
    font-size: 0.84rem;
    padding: 0.65rem 1rem;
}

/* Legacy spec-manifest classes retained for compatibility */
.spec-manifest-card {
    background: #ffffff;
    border: 1px solid var(--border-hairline, #e2e8f0);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.spec-manifest-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.75rem;
    background: var(--bg-muted, #f1f5f9);
    border-bottom: 1px solid var(--border-hairline, #e2e8f0);
    flex-wrap: wrap;
    gap: 0.75rem;
}

.spec-manifest-badge {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--primary, #1d4ed8);
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 0.2rem 0.6rem;
    border-radius: 3px;
    text-transform: uppercase;
}

.spec-manifest-ref {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.76rem;
    color: var(--text-muted, #475569);
}

.spec-manifest-origin {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-main, #0f172a);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.spec-manifest-body {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 2.5rem;
    padding: 2rem;
}

.spec-manifest-thumb {
    width: 100%;
    height: 220px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-hairline, #e2e8f0);
    background: #f8fafc;
    margin-bottom: 1.25rem;
}

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

.spec-manifest-packbox {
    background: var(--bg-muted, #f1f5f9);
    border: 1px solid var(--border-hairline, #e2e8f0);
    border-radius: 6px;
    padding: 0.85rem 1rem;
    font-size: 0.85rem;
    line-height: 1.5;
}

.spec-manifest-packtitle {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.72rem;
    text-transform: uppercase;
    color: var(--primary, #1d4ed8);
    display: block;
    margin-bottom: 0.25rem;
}

.spec-manifest-title {
    font-family: var(--font-serif, 'Auxilia Black', sans-serif);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-main, #0f172a);
    margin-bottom: 0.35rem;
    line-height: 1.2;
}

.spec-manifest-desc {
    font-size: 0.95rem;
    color: var(--text-muted, #475569);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.spec-manifest-param-title {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-main, #0f172a);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
    display: block;
}

.spec-manifest-bottombar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem;
    background: #ffffff;
    border-top: 1px solid var(--border-hairline, #e2e8f0);
    flex-wrap: wrap;
    gap: 1rem;
}

.inst-spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.inst-spec-table th {
    background: var(--bg-muted, #f1f5f9);
    padding: 0.6rem 1rem;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-main, #0f172a);
    text-align: left;
    border: 1px solid var(--border-hairline, #e2e8f0);
}

.inst-spec-table td {
    padding: 0.6rem 1rem;
    border: 1px solid var(--border-hairline, #e2e8f0);
    color: var(--text-muted, #475569);
    vertical-align: middle;
}

.inst-spec-table tr:nth-child(even) td {
    background: #fafafa;
}

.inst-empty-card {
    background: #ffffff;
    border: 1px solid var(--border-hairline, #e2e8f0);
    border-radius: 8px;
    padding: 3rem;
    text-align: center;
}

/* Institutional Button Standards */
.inst-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary, #1d4ed8);
    color: #ffffff;
    padding: 0.7rem 1.4rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    border: 1px solid var(--primary, #1d4ed8);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
    cursor: pointer;
}

.inst-btn-primary:hover {
    background: #1e40af;
    border-color: #1e40af;
    color: #ffffff;
    transform: translateY(-1px);
}

.inst-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    color: var(--text-main, #0f172a);
    padding: 0.7rem 1.4rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    border: 1px solid var(--border-hairline, #e2e8f0);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
    cursor: pointer;
}

.inst-btn-secondary:hover {
    background: var(--bg-muted, #f1f5f9);
    border-color: #cbd5e1;
    color: var(--text-main, #0f172a);
    transform: translateY(-1px);
}

.brand-showcase-badge {
    background: #f8fafc;
    border: 1px solid var(--border-hairline, #e2e8f0);
    border-radius: 8px;
    padding: 1.5rem 1.25rem;
}

/* Direct Responsive overrides */
@media (max-width: 900px) {
    .inst-split-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .spec-manifest-body {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Direct Desk Traders Contact Widget */
.direct-trader-box {
    background: #ffffff;
    border: 1px solid var(--border-hairline, #e2e8f0);
    border-radius: 6px;
    padding: 1.15rem 1.25rem;
    margin-bottom: 1.5rem;
}

.direct-trader-label {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary, #1d4ed8);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.75rem;
}

.direct-trader-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border-hairline, #e2e8f0);
}

.direct-trader-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.direct-trader-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.direct-trader-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-main, #0f172a);
}

.direct-trader-role {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
}

.direct-trader-role--primary {
    color: var(--primary, #1d4ed8);
}

.direct-trader-role--rust {
    color: var(--accent-rust, #c25e34);
}

.direct-trader-link {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.85rem;
    color: var(--text-muted, #475569);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    transition: color 0.15s ease;
}

.direct-trader-link:hover {
    color: var(--primary, #1d4ed8);
}

.tab-intro-card.tab-hidden {
    display: none;
}

/* =========================================================================
   MAINTENANCE HOLDING PAGE (HTTP 503 SERVICE NOTICE)
   ========================================================================= */
.maintenance-body {
    background-color: var(--bg-canvas, #f8fafc);
    color: var(--text-main, #0f172a);
    font-family: var(--font-sans, 'Inter', sans-serif);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

.maintenance-main-flow {
    flex: 1 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8.5rem 1.5rem 5rem;
    width: 100%;
}

.maintenance-content-box {
    max-width: 680px;
    width: 100%;
    margin: 0 auto;
    background-color: #ffffff;
    border: 1px solid var(--border-hairline, #e2e8f0);
    border-radius: 12px;
    padding: 3rem 2.5rem;
    box-shadow: 0 4px 24px -4px rgba(15, 23, 42, 0.06);
    text-align: center;
}

.maintenance-status-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background-color: rgba(29, 78, 216, 0.08);
    color: var(--color-primary, #1d4ed8);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.maintenance-title {
    font-size: 2.15rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin: 0 0 1rem 0;
}

.maintenance-subtext {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--text-muted, #475569);
    margin: 0 auto 2.25rem auto;
    max-width: 540px;
}

.maintenance-contact-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    text-align: left;
    background-color: var(--bg-canvas, #f8fafc);
    border: 1px solid var(--border-hairline, #e2e8f0);
    border-radius: 8px;
    padding: 1.5rem;
}

.maint-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.maint-contact-address {
    grid-column: 1 / -1;
    padding-top: 1rem;
    border-top: 1px solid var(--border-hairline, #e2e8f0);
}

.maint-contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: #ffffff;
    border: 1px solid var(--border-hairline, #e2e8f0);
    color: var(--color-primary, #1d4ed8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.maint-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.maint-contact-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted, #64748b);
}

.maint-contact-val {
    font-size: 0.92rem;
    color: #1e293b;
    line-height: 1.45;
    word-break: break-word;
}

.maint-contact-link {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-weight: 600;
    color: var(--color-primary, #1d4ed8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.maint-contact-link:hover {
    color: var(--primary-hover, #1e40af);
    text-decoration: underline;
}

footer.maintenance-footer-bottom {
    padding: 1.5rem 0;
    background: var(--footer-bg, #090d16);
    border-top: 1px solid var(--footer-border, #1e293b);
}

footer.maintenance-footer-bottom .footer-bottom {
    padding-top: 0;
    border-top: none;
}

@media (max-width: 640px) {
    .maintenance-main-flow {
        padding: 6.5rem 1rem 3.5rem;
    }
    .maintenance-content-box {
        padding: 2rem 1.25rem;
        border-radius: 10px;
    }
    .maintenance-status-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 1.25rem;
    }
    .maintenance-title {
        font-size: 1.55rem;
    }
    .maintenance-subtext {
        font-size: 0.92rem;
        margin-bottom: 1.75rem;
    }
    .maintenance-contact-block {
        grid-template-columns: 1fr;
        padding: 1.25rem;
        gap: 1rem;
    }
    .maint-contact-address {
        grid-column: auto;
    }
}

@media (max-width: 400px) {
    .maintenance-content-box {
        padding: 1.5rem 1rem;
    }
    .maintenance-title {
        font-size: 1.4rem;
    }
    .maint-contact-link {
        font-size: 0.86rem;
    }
}