/* Industries Page */

:root {
    --primary-navy: #3E3E3E;
    --accent-orange: #F27E03;
    --pure-white: #FFFFFF;
    --light-gray: #ECECEC;
    --mid-gray: #D0D0D0;
    --text-dark: #3E3E3E;
    --text-gray: #6B6B6B;
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-xxl: 64px;
    --space-xxxl: 96px;
}

/* Hero Section */
.hero--industries {
    margin-top: 80px;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-parallax-bg {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 140%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
    z-index: 0;
}

.hero--industries::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.7) 100%);
    z-index: 1;
}

.hero-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 800px;
}

.hero-eyebrow {
    color: var(--accent-orange);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: var(--space-sm);
    position: relative;
    z-index: 2;
}

.hero-title {
    color: var(--text-dark);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    color: var(--text-dark);
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: var(--space-xl);
    position: relative;
    z-index: 2;
}

/* Container & Section */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
}

.section {
    padding: var(--space-xxxl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xxl);
}

.section-eyebrow {
    color: var(--accent-orange);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: var(--space-sm);
}

.section-title {
    color: var(--primary-navy);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    color: var(--text-gray);
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ===================== */
/* Zigzag Layout (Applications & Benefits) */
/* ===================== */

.applications-zigzag,
.benefits-zigzag {
    max-width: 1000px;
    margin: 0 auto;
    counter-reset: zigzag-counter;
    display: flex;
    flex-direction: column;
    gap: var(--space-xxl);
}

.zigzag-item {
    position: relative;
    counter-increment: zigzag-counter;
    padding-right: 180px;
}

.zigzag-item::after {
    content: counter(zigzag-counter, decimal-leading-zero);
    position: absolute;
    top: 0;
    right: 0;
    width: 160px;
    text-align: center;
    font-size: 5rem;
    font-weight: 800;
    color: var(--accent-orange);
    opacity: 0.15;
    line-height: 1;
    user-select: none;
    pointer-events: none;
}

.zigzag-item--reversed {
    padding-right: 0;
    padding-left: 180px;
}

.zigzag-item--reversed::after {
    right: auto;
    left: 0;
}

.zigzag-title {
    color: var(--primary-navy);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 var(--space-md) 0;
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--accent-orange);
}

.zigzag-body {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1rem;
    overflow: hidden;
}

.zigzag-body p {
    margin: 0 0 var(--space-md) 0;
}

.zigzag-body p:last-child {
    margin-bottom: 0;
}

.zigzag-body ul,
.zigzag-body ol {
    margin: var(--space-md) 0;
    padding-left: var(--space-lg);
}

.zigzag-body li {
    margin-bottom: var(--space-xs);
    line-height: 1.6;
}

.zigzag-body strong {
    color: var(--primary-navy);
    font-weight: 600;
}

/* Section backgrounds */
.industry-applications {
    background: #f5f5f5;
}

.industry-benefits {
    background: #f5f5f5;
}

/* Benefits fallback (no headings) */
.benefits-content {
    max-width: 900px;
    margin: 0 auto;
}

.benefits-richtext {
    line-height: 1.8;
    color: var(--text-dark);
    font-size: 1rem;
}

.benefits-richtext p {
    margin: 0 0 var(--space-md) 0;
}

.benefits-richtext p:last-child {
    margin-bottom: 0;
}

.benefits-richtext ul,
.benefits-richtext ol {
    margin: var(--space-md) 0;
    padding-left: var(--space-lg);
}

.benefits-richtext li {
    margin-bottom: var(--space-xs);
}

/* ===================== */
/* Products — Horizontal Cards */
/* ===================== */

.products-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.product-card-horizontal {
    display: grid;
    grid-template-columns: 2fr 3fr;
    background: var(--pure-white);
    border: 1px solid var(--mid-gray);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.product-card-horizontal:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 43, 73, 0.1);
    border-color: var(--accent-orange);
}

.product-card-horizontal__image {
    min-height: 220px;
    overflow: hidden;
    background: var(--light-gray);
}

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

.product-card-horizontal:hover .product-card-horizontal__image img {
    transform: scale(1.05);
}

.product-card-horizontal__content {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-card-horizontal__content h3 {
    color: var(--primary-navy);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 var(--space-sm) 0;
}

.product-card-horizontal__content p {
    color: var(--text-gray);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0 0 var(--space-md) 0;
}

.product-card-horizontal__content .btn {
    align-self: flex-start;
}

/* ===================== */
/* Geography — Horizontal Cards */
/* ===================== */

.geography-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.geo-card-horizontal {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: var(--space-lg);
    background: var(--pure-white);
    border: 1px solid var(--mid-gray);
    border-radius: 8px;
    padding: var(--space-lg);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    position: relative;
}

.geo-card-horizontal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent-orange);
    border-radius: 8px 0 0 8px;
    transform: scaleY(0);
    transition: transform 0.3s;
}

.geo-card-horizontal:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-orange);
}

.geo-card-horizontal:hover::before {
    transform: scaleY(1);
}

.geo-card-horizontal__icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent-orange) 0%, #d96f02 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
    align-self: start;
    margin-top: var(--space-xs);
}

.geo-card-horizontal__content h3 {
    color: var(--primary-navy);
    font-size: 1.375rem;
    font-weight: 700;
    margin: 0 0 var(--space-sm) 0;
}

.geo-card-horizontal__countries {
    color: var(--accent-orange);
    font-size: 0.9375rem;
    font-weight: 600;
    margin: 0 0 var(--space-sm) 0;
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--mid-gray);
}

.geo-card-horizontal__desc {
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 0.9375rem;
}

.geo-card-horizontal__desc p {
    margin: 0 0 var(--space-sm) 0;
}

.geo-card-horizontal__desc p:last-child {
    margin-bottom: 0;
}

.geo-card-horizontal__desc strong {
    color: var(--accent-orange);
    font-weight: 600;
}

.geography-fallback {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    color: var(--text-dark);
}

/* Section background */
.export-geography {
    background: var(--light-gray);
}

/* ===================== */
/* Button styles */
/* ===================== */

.btn {
    padding: 14px 28px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s;
    font-size: 15px;
    display: inline-block;
}

.btn-primary {
    background: var(--accent-orange);
    color: var(--pure-white);
}

.btn-primary:hover {
    background: #d96f02;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(242, 126, 3, 0.3);
}

/* ===================== */
/* Contact Section */
/* ===================== */

.section .contact-section,
.container .contact-section,
.contact-section {
    background: #F27E03;
    padding: var(--space-xxl) 0;
    border-radius: 0;
    color: #FFFFFF;
    text-align: center;
    margin-top: 0;
    margin-bottom: 0;
}

.section:has(.contact-section) {
    padding-bottom: var(--space-xxxl);
}

.section:last-of-type .container {
    padding-bottom: 0;
}

.section .contact-section h2,
.container .contact-section h2,
.contact-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    margin-top: 0;
    color: #FFFFFF;
}

.section .contact-section p,
.container .contact-section p,
.contact-section p {
    font-size: 1.125rem;
    margin-bottom: var(--space-xl);
    margin-top: 0;
    opacity: 0.95;
    color: #FFFFFF;
}

.section .contact-section .btn,
.container .contact-section .btn,
.contact-section .btn {
    background: #FFFFFF;
    color: #F27E03;
}

.section .contact-section .btn:hover,
.container .contact-section .btn:hover,
.contact-section .btn:hover {
    background: #3E3E3E;
    color: #FFFFFF;
}

/* ===================== */
/* Responsive */
/* ===================== */

@media (max-width: 1024px) {
    .hero-container,
    .container {
        padding: 0 40px;
    }

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

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

    .zigzag-item {
        padding-right: 140px;
    }

    .zigzag-item--reversed {
        padding-right: 0;
        padding-left: 140px;
    }

    .zigzag-item::after {
        width: 120px;
        font-size: 4rem;
    }
}

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

    .hero--industries {
        min-height: 400px;
        padding: var(--space-xxl) 0;
    }

    .hero-parallax-bg {
        background-attachment: scroll;
    }

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

    .section-title {
        font-size: 1.75rem;
    }

    /* Zigzag -> no number on mobile, full width */
    .zigzag-item,
    .zigzag-item--reversed {
        padding-left: 0;
        padding-right: 0;
    }

    .zigzag-item::after,
    .zigzag-item--reversed::after {
        display: none;
    }

    /* Products -> stack vertically */
    .product-card-horizontal {
        grid-template-columns: 1fr;
    }

    .product-card-horizontal__image {
        min-height: 180px;
        max-height: 240px;
    }

    /* Geography -> stack vertically */
    .geo-card-horizontal {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .geo-card-horizontal__icon {
        align-self: center;
    }

    .geo-card-horizontal__content {
        text-align: center;
    }

    /* Contact */
    .section .contact-section,
    .container .contact-section,
    .contact-section {
        padding: var(--space-xl) 0;
    }

    .section .contact-section h2,
    .container .contact-section h2,
    .contact-section h2 {
        font-size: 2rem;
    }

    .section .contact-section p,
    .container .contact-section p,
    .contact-section p {
        font-size: 1rem;
    }
}
