/* ============================================
   MOTIVA.PL - INDUSTRIAL PROFESSIONAL STYLES
   Brand Guidelines Compliant
   ============================================ */

/* === CSS VARIABLES === */
:root {
    /* Core Colors - Oil Black Theme */
    --oil-black: #0B0E11;
    --graphite-900: #111827;
    --graphite-700: #1F2937;
    --graphite: #2B2F33;
    --steel: #E5E7EB;
    --white: #FFFFFF;
    
    /* Accent Colors */
    --gold: #C4A24A;
    --safety-orange: #FF6B00;
    --leaf-green: #2E7D32;
    
    /* Division Colors */
    --build-accent: #FF6B00;
    --build-bg: #2B2F33;
    --oil-accent: #C4A24A;
    --oil-bg: #0B0E11;
    --agro-accent: #2E7D32;
    --agro-bg: #2F6B3E;
    
    /* Semantic */
    --color-background: var(--oil-black);
    --color-surface: var(--graphite-700);
    --color-text: var(--white);
    --color-text-secondary: var(--steel);
    --color-border: var(--graphite);
    
    /* Typography */
    --font-heading: 'IBM Plex Sans', -apple-system, 'Segoe UI', 'Roboto', 'Arial', sans-serif;
    --font-body: 'Source Sans 3', -apple-system, 'Segoe UI', 'Roboto', 'Arial', sans-serif;
    --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', 'Menlo', 'Consolas', monospace;
    
    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;
    --spacing-4xl: 96px;
    
    /* Layout */
    --container-max: 1200px;
    --header-height: 80px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
}

/* Light sections override */
.section-light {
    --color-background: var(--white);
    --color-surface: var(--steel);
    --color-text: var(--graphite-900);
    --color-text-secondary: var(--graphite-700);
    --color-border: var(--steel);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    color: var(--white);
    background: var(--oil-black);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.mono {
    font-family: var(--font-mono);
    font-weight: 500;
    font-variant-numeric: tabular-nums lining-nums slashed-zero;
}

/* === LAYOUT === */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.section {
    padding: var(--spacing-4xl) 0;
}

.section-dark {
    background: var(--oil-black);
    color: var(--white);
}

.section-hero-bg {
    position: relative;
    background: var(--oil-black);
    color: var(--white);
}

.section-hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--oil-black) 0%, var(--graphite-700) 100%);
    opacity: 0.8;
    z-index: 0;
}

.section-hero-bg .container {
    position: relative;
    z-index: 1;
}

.section-light {
    background: var(--white);
    color: var(--graphite-900);
}

/* === HEADER CANVAS === */
#headerCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 999;
    pointer-events: none;
    opacity: 0.3;
}

/* === ORBITAL NAVIGATION === */
.nav-orbital {
    position: fixed;
    right: var(--spacing-lg);
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-items {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    position: relative;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--steel);
    transition: all var(--transition-base);
}

.nav-dot {
    width: 10px;
    height: 10px;
    background: var(--graphite);
    border: 2px solid var(--graphite);
    border-radius: 50%;
    transition: all var(--transition-base);
    position: relative;
}

.nav-label {
    position: absolute;
    right: calc(100% + var(--spacing-md));
    white-space: nowrap;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    opacity: 0;
    transform: translateX(10px);
    transition: all var(--transition-base);
    pointer-events: none;
    background: var(--graphite-700);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 2px;
    border: 1px solid var(--graphite);
}

.nav-item:hover .nav-label,
.nav-item.active .nav-label {
    opacity: 1;
    transform: translateX(0);
}

.nav-item.active .nav-dot {
    background: var(--gold);
    border-color: var(--gold);
    transform: scale(1.3);
}

.nav-item:hover .nav-dot {
    border-color: var(--gold);
}

/* === HEADER === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(11, 14, 17, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--graphite);
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: var(--spacing-xl);
}

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

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

.nav-main {
    display: flex;
    gap: var(--spacing-xl);
}

.nav-link {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--steel);
    padding: var(--spacing-sm) 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width var(--transition-base);
}

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

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

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 32px;
    height: 32px;
    padding: 4px;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
    transition: all var(--transition-base);
}

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

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

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

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--oil-black);
    z-index: 999;
    padding: var(--spacing-xl);
}

.mobile-menu.active {
    display: block;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    color: var(--white);
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--graphite);
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 14px 28px;
    border-radius: 2px;
    transition: all var(--transition-base);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: #D4B254;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--graphite);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-full {
    width: 100%;
}

.btn-division {
    background: transparent;
    border: 1px solid currentColor;
    font-size: 14px;
    padding: 12px 24px;
}

.btn-build {
    color: var(--safety-orange);
}

.btn-build:hover {
    background: var(--safety-orange);
    color: var(--white);
}

.btn-oil {
    color: var(--gold);
}

.btn-oil:hover {
    background: var(--gold);
    color: var(--oil-black);
}

.btn-agro {
    color: var(--leaf-green);
}

.btn-agro:hover {
    background: var(--leaf-green);
    color: var(--white);
}

.btn-bhp {
    color: #E53935;
}

.btn-bhp:hover {
    background: #E53935;
    color: var(--white);
}

.btn-garden {
    color: #43A047;
}

.btn-garden:hover {
    background: #43A047;
    color: var(--white);
}

/* === HERO === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--oil-black);
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--oil-black) 0%, var(--graphite-700) 100%);
    opacity: 0.6;
    z-index: 1;
}

.hero-3d-container {
    position: absolute;
    inset: 0;
    perspective: 1000px;
    z-index: 0;
    pointer-events: none;
}

.hero-layer {
    position: absolute;
    inset: 0;
}

.geometric-shape {
    position: absolute;
    opacity: 0.15;
    animation: float-shapes 20s ease-in-out infinite;
    filter: blur(1px);
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(196, 162, 74, 0.3) 0%, rgba(196, 162, 74, 0) 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.3) 0%, rgba(46, 125, 50, 0) 100%);
    border-radius: 50% 50% 20% 80%;
    top: 50%;
    right: -5%;
    animation-delay: -7s;
}

.shape-3 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.3) 0%, rgba(255, 107, 0, 0) 100%);
    border-radius: 70% 30% 30% 70% / 60% 40% 60% 40%;
    bottom: 10%;
    left: 50%;
    animation-delay: -14s;
}

@keyframes float-shapes {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(50px, -40px) rotate(90deg) scale(1.1);
    }
    50% {
        transform: translate(-40px, 50px) rotate(180deg) scale(0.9);
    }
    75% {
        transform: translate(40px, 40px) rotate(270deg) scale(1.05);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    padding: var(--spacing-3xl) 0;
}

.hero-label {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold);
    margin-bottom: var(--spacing-md);
}

.hero-title {
    font-size: clamp(32px, 5vw, 44px);
    line-height: 1.15;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--spacing-lg);
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: var(--steel);
    margin-bottom: var(--spacing-xl);
}

.hero-promise {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.promise-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    color: var(--steel);
    font-size: 14px;
}

.promise-item .icon {
    width: 20px;
    height: 20px;
    color: var(--gold);
    flex-shrink: 0;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo {
    max-width: 320px;
    width: 100%;
    height: auto;
}

/* === SECTION STYLES === */
.section-label {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold);
    margin-bottom: var(--spacing-sm);
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: start;
}

.text-body {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
}

/* Stats */
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--graphite);
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 12px;
    color: var(--steel);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.feature-card {
    background: var(--graphite-700);
    border: 1px solid var(--graphite);
    padding: var(--spacing-lg);
    transition: border-color var(--transition-base);
}

.feature-card:hover {
    border-color: var(--gold);
}

.feature-icon {
    width: 32px;
    height: 32px;
    color: var(--gold);
    margin-bottom: var(--spacing-md);
}

.feature-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--white);
}

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

/* === DIVISIONS === */
.divisions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

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

@media (max-width: 1200px) {
    .divisions-grid.divisions-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .divisions-grid.divisions-4 {
        grid-template-columns: 1fr;
    }
}

.division-card {
    background: var(--graphite-900);
    border: 1px solid var(--graphite);
    padding: var(--spacing-xl);
    transition: border-color var(--transition-base);
}

.division-card:hover {
    border-color: currentColor;
}

.division-build { color: var(--safety-orange); }
.division-oil { color: var(--gold); }
.division-agro { color: var(--leaf-green); }
.division-bhp { color: #E53935; }
.division-garden { color: #43A047; }

.division-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.division-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid currentColor;
}

.division-icon svg {
    width: 24px;
    height: 24px;
}

.division-label {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.division-title {
    font-size: 22px;
    margin-bottom: var(--spacing-md);
    color: var(--white);
}

.division-text {
    font-size: 14px;
    color: var(--steel);
    margin-bottom: var(--spacing-lg);
    font-style: italic;
}

.division-list {
    list-style: none;
    margin-bottom: var(--spacing-xl);
}

.division-list li {
    font-size: 14px;
    color: var(--steel);
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--graphite);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.division-list li::before {
    content: '—';
    color: inherit;
    opacity: 0.5;
}

.division-cta {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.division-cta .btn-small {
    padding: 8px 16px;
    font-size: 12px;
}

/* Brand tags */
.division-brands {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-lg);
}

.brand-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    color: var(--steel);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* === BRANDS SECTION === */
.brands-section .section-header {
    max-width: 700px;
    margin: 0 auto var(--spacing-3xl);
    text-align: center;
}

.section-desc {
    font-size: 16px;
    color: var(--steel);
    line-height: 1.6;
    margin-top: var(--spacing-md);
}

.brands-category {
    margin-bottom: var(--spacing-3xl);
}

.brands-category:last-child {
    margin-bottom: 0;
}

.brands-category-title {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid var(--graphite);
}

.category-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.category-dot.oil {
    background: var(--gold);
    box-shadow: 0 0 10px var(--gold);
}

.category-dot.garden {
    background: #43A047;
    box-shadow: 0 0 10px #43A047;
}

.category-dot.auto {
    background: #2196F3;
    box-shadow: 0 0 10px #2196F3;
}

/* === PARTNERS GRID === */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--spacing-md);
    align-items: center;
}

.partner-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.08) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.partner-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--gold) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.partner-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(196, 162, 74, 0.15);
}

.partner-item:hover::before {
    opacity: 0.05;
}

.partner-img {
    max-width: 100%;
    max-height: 55px;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.3) contrast(0.9);
    opacity: 0.65;
    transition: all var(--transition-base);
    position: relative;
    z-index: 1;
}

.partner-item:hover .partner-img {
    filter: grayscale(0%) brightness(1) contrast(1);
    opacity: 1;
    transform: scale(1.05);
}

/* Text logos for our brands */
.partner-item.partner-text {
    background: linear-gradient(135deg, var(--gold) 0%, rgba(196, 162, 74, 0.3) 100%);
    border-color: var(--gold);
}

.partner-logo-text {
    text-align: center;
}

.logo-text-brand {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--oil-black);
    letter-spacing: 0.08em;
    line-height: 1;
    margin-bottom: 4px;
}

.logo-text-sub {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    color: rgba(11, 14, 17, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.partner-item.partner-text:hover {
    background: linear-gradient(135deg, #D4B254 0%, var(--gold) 100%);
    transform: translateY(-6px);
}

/* Featured partner (AgroTech) */
.partner-item.partner-featured {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.15) 100%);
    border-color: var(--gold);
}

.partner-img-featured {
    filter: none !important;
    opacity: 1 !important;
}

.partner-item.partner-featured:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.2) 100%);
    border-color: #D4B254;
}

@media (max-width: 1200px) {
    .partners-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 992px) {
    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .partner-item {
        height: 75px;
    }
    
    .partner-img {
        max-height: 45px;
    }
    
    .brands-category-title {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }
    
    .partner-item {
        height: 65px;
        padding: var(--spacing-sm);
    }
    
    .partner-img {
        max-height: 38px;
    }
}

/* === SPECS === */
.specs-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.specs-table-wrapper {
    overflow-x: auto;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.specs-table th,
.specs-table td {
    text-align: left;
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--graphite);
}

.specs-table th {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--steel);
    background: var(--graphite-700);
}

.specs-table td {
    color: var(--white);
}

.specs-table tbody tr:hover {
    background: var(--graphite-700);
}

/* Badges */
.badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border: 1px solid currentColor;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-build { color: var(--safety-orange); }
.badge-oil { color: var(--gold); }
.badge-agro { color: var(--leaf-green); }

/* Specs Info */
.specs-info {
    background: var(--graphite-700);
    border: 1px solid var(--graphite);
    padding: var(--spacing-xl);
}

.specs-info-title {
    font-size: 18px;
    margin-bottom: var(--spacing-lg);
    color: var(--white);
}

.specs-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.specs-item {
    display: flex;
    gap: var(--spacing-md);
}

.specs-icon {
    width: 24px;
    height: 24px;
    color: var(--gold);
    flex-shrink: 0;
}

.specs-item strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--spacing-xs);
}

.specs-item p {
    font-size: 13px;
    color: var(--steel);
}

/* === CONTACT === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-3xl);
    align-items: start;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
}

.contact-icon {
    width: 24px;
    height: 24px;
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-label {
    display: block;
    font-size: 12px;
    color: var(--steel);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-xs);
}

.contact-value {
    font-size: 16px;
    font-weight: 500;
    color: var(--white);
    transition: color var(--transition-fast);
}

a.contact-value:hover {
    color: var(--gold);
}

/* Form */
.contact-form-wrapper {
    background: var(--graphite-700);
    padding: var(--spacing-xl);
    border: 1px solid var(--graphite);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 16px;
    padding: 12px 16px;
    background: var(--graphite-900);
    border: 1px solid var(--graphite);
    color: var(--white);
    transition: border-color var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--steel);
    opacity: 0.6;
}

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

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

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23C4A24A' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--graphite-900);
    color: var(--white);
}

/* === FOOTER === */
.footer {
    background: var(--oil-black);
    color: var(--white);
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
    border-top: 1px solid var(--graphite);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    margin-bottom: var(--spacing-xl);
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: var(--spacing-md);
}

.footer-tagline {
    font-size: 14px;
    color: var(--steel);
    max-width: 300px;
}

.footer-links {
    display: flex;
    gap: var(--spacing-3xl);
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-heading {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gold);
    margin-bottom: var(--spacing-sm);
}

.footer-link {
    font-size: 14px;
    color: var(--steel);
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--graphite);
}

.footer-copyright {
    font-size: 13px;
    color: var(--steel);
}

/* === ICONS === */
.icon {
    display: inline-block;
    vertical-align: middle;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* === SEARCH SECTION === */
.search-section {
    padding: var(--spacing-2xl) 0;
}

.search-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.search-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--steel);
    margin-bottom: var(--spacing-sm);
    text-align: center;
}

.search-box {
    display: flex;
    gap: var(--spacing-md);
    background: var(--graphite-700);
    border: 1px solid var(--graphite);
    padding: var(--spacing-md);
    border-radius: 2px;
}

.search-input {
    flex: 1;
    font-family: var(--font-body);
    font-size: 16px;
    padding: 14px 16px;
    background: var(--graphite-900);
    border: 1px solid var(--graphite);
    color: var(--white);
    border-radius: 2px;
}

.search-input:focus {
    outline: none;
    border-color: var(--gold);
}

.search-btn {
    white-space: nowrap;
}

.search-empty {
    margin-top: var(--spacing-md);
    text-align: center;
    color: var(--steel);
    font-size: 14px;
}

.search-empty a {
    color: var(--gold);
}

.hero-microcopy {
    margin-top: var(--spacing-md);
    font-size: 12px;
    color: var(--steel);
    text-align: center;
}

/* === WHY MOTIVA === */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
    margin: var(--spacing-3xl) 0;
}

.why-item {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--graphite-700);
    border: 1px solid var(--graphite);
    border-radius: 2px;
}

.why-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: var(--spacing-md);
    line-height: 1;
}

.why-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--white);
}

.why-text {
    font-size: 14px;
    color: var(--steel);
}

.why-cta {
    text-align: center;
    margin-top: var(--spacing-xl);
}

/* === DOCUMENTS === */
.documents-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.documents-content .section-title {
    margin-bottom: var(--spacing-md);
}

.documents-content .text-body {
    margin-bottom: var(--spacing-xl);
}

.documents-types {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.doc-type {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: var(--graphite-700);
    border: 1px solid var(--graphite);
    border-radius: 2px;
}

.doc-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold);
    color: var(--oil-black);
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 700;
    border-radius: 2px;
}

.doc-type span {
    font-size: 16px;
    font-weight: 500;
    color: var(--white);
}

/* === LOGISTICS === */
.logistics-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin: var(--spacing-xl) 0;
}

.logistics-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--graphite-700);
    border: 1px solid var(--graphite);
    border-radius: 2px;
}

.logistics-feature .icon {
    width: 24px;
    height: 24px;
    color: var(--gold);
    flex-shrink: 0;
}

.logistics-visual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.logistics-item {
    padding: var(--spacing-lg);
    background: var(--graphite-700);
    border: 1px solid var(--graphite);
    border-radius: 2px;
    text-align: center;
}

.logistics-label {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 600;
    color: var(--gold);
}

.logistics-cta {
    margin-top: var(--spacing-lg);
}

/* === FOOTER UPDATES === */
.footer-contact {
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid var(--graphite);
}

.footer-contact-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.footer-contact-text {
    font-size: 14px;
    color: var(--steel);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.footer-contact-text a {
    color: var(--gold);
    transition: color var(--transition-fast);
}

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

.btn-small {
    padding: 10px 20px;
    font-size: 14px;
}

/* === FORM PRIVACY === */
.form-privacy {
    font-size: 12px;
    color: var(--steel);
    text-align: center;
    margin-top: var(--spacing-md);
    line-height: 1.5;
}

.form-privacy a {
    color: var(--gold);
}

/* === DOCUMENT LINKS === */
.doc-link {
    color: var(--gold);
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 4px 8px;
    border: 1px solid var(--gold);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.doc-link:hover {
    background: var(--gold);
    color: var(--oil-black);
}

/* === FEATURE ITEMS === */
.feature-item {
    margin-bottom: var(--spacing-lg);
}

.feature-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--gold);
    margin-bottom: var(--spacing-xs);
}

.feature-item .text-body {
    margin-bottom: 0;
}

/* === PAGE HERO === */
.page-hero {
    min-height: 40vh;
    padding-top: calc(var(--header-height) + var(--spacing-3xl));
    padding-bottom: var(--spacing-3xl);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-hero .hero-title {
    margin-bottom: var(--spacing-md);
}

.page-hero .hero-subtitle {
    max-width: 800px;
    margin: 0 auto;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-logo {
        max-width: 200px;
    }
    
    .hero-promise {
        align-items: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .section-grid {
        grid-template-columns: 1fr;
    }
    
    .divisions-grid {
        grid-template-columns: 1fr;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }
    
    .nav-orbital {
        display: none;
    }
    
    .nav-main,
    .header .btn {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .stats-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: var(--spacing-xl);
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .logistics-visual {
        grid-template-columns: 1fr;
    }
    
    .documents-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .search-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
}

/* ============================================
   AGROOIL PAGE
   ============================================ */

.agrooil-hero {
    background:
        linear-gradient(135deg, rgba(11, 14, 17, 0.92) 0%, rgba(31, 41, 55, 0.85) 100%),
        url('../products/agrooil/images/page-header.jpg') center/cover no-repeat;
}

.nav-link-active {
    color: var(--gold) !important;
}

.nav-link-active::after {
    content: '';
    display: block;
    height: 2px;
    background: var(--gold);
    margin-top: 4px;
}

/* Product search */
.product-search {
    max-width: 720px;
    margin: 0 auto var(--spacing-3xl);
    position: relative;
}

.product-search input {
    width: 100%;
    padding: 16px 20px;
    background: var(--graphite-900);
    border: 1px solid var(--graphite);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 15px;
    border-radius: 4px;
    outline: none;
    transition: border-color var(--transition-fast);
}

.product-search input:focus {
    border-color: var(--gold);
}

.product-search input::placeholder {
    color: var(--steel);
    opacity: 0.6;
}

.product-empty {
    text-align: center;
    color: var(--steel);
    padding: var(--spacing-2xl) 0;
    font-style: italic;
}

/* Product section */
.product-section {
    padding-top: var(--spacing-3xl);
}

/* Product list */
.product-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.product-row {
    display: grid;
    grid-template-columns: 200px 1fr 160px;
    gap: var(--spacing-2xl);
    align-items: start;
    padding: var(--spacing-2xl) 0;
    border-bottom: 1px solid var(--graphite);
}

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

.product-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    background: var(--graphite-900);
    border: 1px solid var(--graphite);
    border-radius: 4px;
    min-height: 240px;
    transition: border-color var(--transition-base), transform var(--transition-base);
}

.product-image:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
}

.product-image img {
    max-width: 100%;
    max-height: 240px;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
}

.product-info {
    min-width: 0;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: var(--spacing-md);
    letter-spacing: 0.01em;
}

.product-name strong {
    font-weight: 700;
}

.product-desc {
    color: var(--steel);
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: var(--spacing-md);
}

.product-note {
    color: var(--gold);
    font-size: 13px;
    margin-bottom: var(--spacing-md);
    opacity: 0.85;
}

.product-spec-line {
    color: var(--white);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--graphite-900);
    border-left: 3px solid var(--gold);
    border-radius: 0 2px 2px 0;
}

.product-spec-line strong {
    color: var(--gold);
    font-weight: 600;
}

/* Product specs table */
.product-specs-wrap {
    overflow-x: auto;
    margin-bottom: var(--spacing-md);
    border-radius: 4px;
}

.product-specs {
    width: 100%;
    border-collapse: collapse;
    background: var(--graphite-900);
    border: 1px solid var(--graphite);
    border-radius: 4px;
    overflow: hidden;
    font-size: 13px;
    margin-bottom: var(--spacing-md);
}

.product-specs th,
.product-specs td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid var(--graphite);
    color: var(--steel);
}

.product-specs th {
    background: var(--graphite-700);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.product-specs td.mono {
    color: var(--white);
    font-family: var(--font-mono);
    text-align: right;
    white-space: nowrap;
}

.product-specs th.mono {
    text-align: center;
    font-family: var(--font-mono);
    color: var(--gold);
}

.product-specs-wide td.mono,
.product-specs-wide th.mono {
    text-align: center;
}

.product-specs tbody tr:last-child td {
    border-bottom: none;
}

.product-specs tbody tr:hover {
    background: rgba(196, 162, 74, 0.04);
}

.product-packaging {
    font-size: 13px;
    color: var(--steel);
    padding: var(--spacing-sm) 0;
    margin-top: var(--spacing-sm);
}

.product-packaging strong {
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-right: 6px;
}

/* PDF Download card */
.product-download {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.pdf-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    width: 100%;
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--graphite-900);
    border: 1px solid var(--graphite);
    color: var(--steel);
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    transition: all var(--transition-base);
    position: sticky;
    top: calc(var(--header-height) + var(--spacing-lg));
}

.pdf-card:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(196, 162, 74, 0.15);
}

.pdf-icon {
    width: 44px;
    height: 44px;
    color: currentColor;
}

.pdf-label {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.02em;
    color: currentColor;
}

/* CTA block */
.cta-block {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.cta-block .hero-cta {
    justify-content: center;
    margin-top: var(--spacing-xl);
}

/* AgroOil responsive */
@media (max-width: 1024px) {
    .product-row {
        grid-template-columns: 160px 1fr 140px;
        gap: var(--spacing-xl);
    }

    .product-image {
        min-height: 200px;
    }

    .product-image img {
        max-height: 200px;
    }

    .pdf-card {
        padding: var(--spacing-lg) var(--spacing-sm);
    }
}

@media (max-width: 768px) {
    .product-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        padding: var(--spacing-xl) 0;
    }

    .product-image {
        max-width: 220px;
        margin: 0 auto;
        min-height: 220px;
    }

    .product-download {
        justify-content: center;
    }

    .pdf-card {
        position: static;
        flex-direction: row;
        max-width: 320px;
        margin: 0 auto;
        padding: var(--spacing-md) var(--spacing-lg);
        gap: var(--spacing-md);
    }

    .pdf-icon {
        width: 32px;
        height: 32px;
        flex-shrink: 0;
    }

    .pdf-label {
        text-align: left;
    }

    .product-name {
        font-size: 20px;
    }

    .product-specs th,
    .product-specs td {
        padding: 8px 10px;
        font-size: 12px;
    }
}
