/* 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;
}

/* Industry Content */
.industry-content {
    max-width: 900px;
    margin: 0 auto;
}

.industry-description h2 {
    color: var(--primary-navy);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    margin-top: 0;
}

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

.industry-richtext p {
    margin-bottom: var(--space-md);
    margin-top: 0;
}

.industry-richtext p:first-child {
    margin-top: 0;
}

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

.industry-richtext h3,
.industry-richtext h4 {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
    color: var(--primary-navy);
}

.industry-richtext h3:first-child,
.industry-richtext h4:first-child {
    margin-top: 0;
}

.industry-richtext ul,
.industry-richtext ol {
    margin-top: var(--space-md);
    margin-bottom: var(--space-md);
    padding-left: var(--space-lg);
}

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

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

.applications-content {
    max-width: 100%;
    margin: 0 auto;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    align-items: start;
}

.applications-column {
    background: var(--pure-white);
    padding: var(--space-lg);
    border-radius: 8px;
    border: 1px solid var(--mid-gray);
    transition: all 0.3s;
}

.applications-column:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-orange);
}

.applications-column h3,
.applications-column h4 {
    color: var(--primary-navy);
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--accent-orange);
}

.applications-column p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: var(--space-md);
    font-size: 1rem;
}

.applications-column p:last-child {
    margin-bottom: 0;
}

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

.applications-column ul,
.applications-column ol {
    margin-top: var(--space-md);
    margin-bottom: var(--space-md);
    padding-left: var(--space-lg);
    color: var(--text-dark);
}

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

.applications-column hr {
    margin: var(--space-lg) 0;
    border: none;
    border-top: 1px solid var(--mid-gray);
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.product-card {
    background: var(--pure-white);
    border: 1px solid var(--mid-gray);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

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

.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--light-gray);
}

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

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

.product-content {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

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

.product-excerpt {
    color: var(--text-gray);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: var(--space-sm);
    margin-top: 0;
}

.product-description {
    color: var(--text-dark);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: var(--space-md);
    margin-top: 0;
}

.product-content .btn {
    margin-top: auto;
    align-self: flex-start;
}

/* Benefits Section */
.industry-benefits {
    background: #f5f5f5;
}

.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-bottom: var(--space-md);
    margin-top: 0;
}

.benefits-richtext p:first-child {
    margin-top: 0;
}

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

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

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

/* 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 - как на front-page */
.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;
}

/* Export Geography Section */
.export-geography {
    background: var(--light-gray);
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
}

.export-geography .section-header {
    margin-bottom: var(--space-xxl);
}

.export-geography .section-eyebrow {
    color: var(--accent-orange);
}

.export-geography .section-title {
    color: var(--primary-navy);
}

.geography-content {
    max-width: 1200px;
    margin: 0 auto;
}

.geography-regions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.geography-region-card {
    background: var(--pure-white);
    border: 2px solid var(--mid-gray);
    border-radius: 12px;
    padding: var(--space-xl);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.geography-region-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-orange);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.geography-region-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-orange);
}

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

.geography-region-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.geography-region-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent-orange) 0%, #d96f02 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.5rem;
    color: var(--pure-white);
    font-weight: 700;
}

.geography-region-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin: 0;
    line-height: 1.2;
}

.geography-region-countries {
    color: var(--text-gray);
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--mid-gray);
}

.geography-region-description {
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 0.9375rem;
    margin: 0;
}

.geography-region-description strong {
    color: var(--accent-orange);
    font-weight: 600;
}

/* Альтернативный стиль - если контент в HTML формате (fallback) */
.geography-content h3,
.geography-content h4 {
    color: var(--primary-navy);
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

.geography-content h3:first-child,
.geography-content h4:first-child {
    margin-top: 0;
}

.geography-content p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: var(--space-md);
    font-size: 1rem;
}

.geography-content strong {
    color: var(--accent-orange);
    font-weight: 600;
}

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

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

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

    .applications-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }

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

@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;
    }

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

    .applications-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

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

    .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;
    }

    .geography-regions {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .geography-region-card {
        padding: var(--space-lg);
    }

    .geography-region-title {
        font-size: 1.25rem;
    }

    .geography-region-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .geography-content h3,
    .geography-content h4 {
        font-size: 1.25rem;
    }

    .geography-content p,
    .geography-content li {
        font-size: 1rem;
    }
}

