:root {
    --primary: #0754b8;
    --primary-hover: #06479b;
    --primary-dark: #062f70;
    --navy: #032d69;
    --deep-navy: #032452;
    --accent: #1683de;
    --light-blue: #edf5ff;
    --pale-blue: #f7faff;
    --section-bg: #f6f8fb;
    --white: #ffffff;
    --border: #dce5ef;
    --border-strong: #cbd8e8;
    --text-main: #102e67;
    --text-body: #34435e;
    --text-muted: #748198;
    --success: #16834b;
    --container-width: 1820px;
    --wide-width: 2200px;
    --card-radius: 8px;
    --shadow-soft: 0 10px 28px rgba(14, 53, 105, 0.07);
    --shadow-card: 0 18px 42px rgba(14, 53, 105, 0.11);
    --focus-ring: 0 0 0 3px rgba(7, 84, 184, 0.2);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--text-body);
    background: var(--white);
    font-family: Inter, Arial, "Helvetica Neue", sans-serif;
    line-height: 1.55;
    overflow-wrap: anywhere;
    word-break: normal;
}

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

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

svg,
img {
    display: block;
}

img {
    max-width: 100%;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1,
h2,
h3,
p {
    margin: 0;
}

.container {
    width: min(100% - 56px, var(--container-width));
    margin-inline: auto;
}

@media (min-width: 2100px) {
    .container {
        width: min(100% - 72px, var(--wide-width));
    }
}

a:focus-visible,
button:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

.button {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 28px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1.15;
    text-align: center;
    text-transform: uppercase;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.button:active,
.stat-card:active,
.certificate-card:active {
    transform: translateY(1px);
}

.button--primary,
.button--footer {
    color: var(--white);
    background: var(--primary);
    border-color: var(--primary);
}

.button--primary:hover,
.button--primary:focus-visible,
.button--footer:hover,
.button--footer:focus-visible {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    box-shadow: 0 12px 26px rgba(7, 84, 184, 0.22);
}

.button--cta-outline {
    color: var(--white);
    background: transparent;
    border-color: rgba(255, 255, 255, 0.78);
}

.button--cta-outline:hover,
.button--cta-outline:focus-visible {
    background: rgba(255, 255, 255, 0.14);
    border-color: var(--white);
}

.button--cta-white {
    color: var(--primary);
    background: var(--white);
    border-color: var(--white);
}

.button--cta-white:hover,
.button--cta-white:focus-visible {
    color: var(--primary-hover);
    background: #eaf4ff;
}

.about-cta .button {
    text-transform: none;
}

.image-placeholder {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--card-radius);
    background:
        radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.9), transparent 18%),
        radial-gradient(circle at 75% 30%, rgba(7, 84, 184, 0.12), transparent 25%),
        linear-gradient(135deg, #f8fbff 0%, #e8f2fd 48%, #d7e7f5 100%);
}

.image-placeholder::before,
.image-placeholder::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.image-placeholder::before {
    inset: 0;
    background-image:
        linear-gradient(rgba(7, 84, 184, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(7, 84, 184, 0.08) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: 0.22;
}

.image-placeholder::after {
    right: -60px;
    bottom: -76px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: rgba(7, 84, 184, 0.13);
}

.value-icon svg,
.stat-card svg,
.timeline-icon svg,
.certificate-card svg,
.social-links svg,
.back-to-top svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.company-overview,
.company-statistics,
.company-values,
.company-timeline,
.production-export,
.certificates-section,
.about-cta {
    padding: 60px 0;
}

.company-overview,
.company-values,
.production-export {
    background: var(--white);
}

.company-statistics,
.company-timeline,
.certificates-section {
    background: var(--section-bg);
}

.section-title,
.company-overview h2,
.company-statistics h2,
.company-values h2,
.company-timeline h2,
.production-export h2,
.certificates-section h2 {
    margin-bottom: 22px;
    color: var(--text-main);
    font-size: 24px;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 40px;
    align-items: center;
}

.factory-image {
    overflow: hidden;
    aspect-ratio: 1.23 / 1;
    min-height: 360px;
    box-shadow: var(--shadow-card);
}

.factory-image img,
.production-image img,
.export-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overview-content {
    min-width: 0;
}

.overview-content p {
    margin-bottom: 14px;
    color: var(--text-body);
    font-size: 15px;
    line-height: 1.55;
}

.overview-content p:last-child {
    margin-bottom: 0;
}

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.stat-card {
    min-height: 0;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 8px;
    padding: 22px 18px;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover,
.stat-card:focus-within {
    border-color: rgba(7, 84, 184, 0.45);
    box-shadow: var(--shadow-card);
    transform: translateY(-3px);
}

.stat-card svg {
    width: 34px;
    height: 34px;
    color: var(--primary);
}

.stat-card strong {
    min-height: 0;
    display: flex;
    align-items: center;
    color: var(--primary-dark);
    font-size: 24px;
    line-height: 1.1;
    font-weight: 900;
}

.stat-card span {
    max-width: 360px;
    color: var(--text-body);
    font-size: 13px;
    line-height: 1.38;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.value-card {
    min-height: 0;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.value-card:hover {
    border-color: rgba(7, 84, 184, 0.44);
    background: var(--pale-blue);
    box-shadow: var(--shadow-card);
    transform: translateY(-3px);
}

.value-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--light-blue);
    border-radius: 8px;
}

.value-icon svg {
    width: 28px;
    height: 28px;
}

.value-card h3 {
    margin-bottom: 6px;
    color: var(--primary-dark);
    font-size: 16px;
    line-height: 1.2;
    font-weight: 900;
}

.value-card p {
    color: var(--text-body);
    font-size: 13px;
    line-height: 1.5;
}

.timeline-list {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.timeline-list::before {
    content: "";
    position: absolute;
    left: 9%;
    right: 9%;
    top: 36px;
    height: 2px;
    background: #a9c6e7;
}

.timeline-item {
    position: relative;
    z-index: 1;
    min-height: 0;
    display: grid;
    justify-items: center;
    align-content: start;
    padding: 0 12px 12px;
    text-align: center;
    opacity: 1;
    transform: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.timeline-item.is-visible,
.no-motion .timeline-item {
    opacity: 1;
    transform: none;
}

.timeline-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    color: var(--primary);
    background: var(--white);
    border: 1px solid #9fc1e8;
    border-radius: 50%;
    box-shadow: 0 0 0 6px var(--section-bg);
}

.timeline-icon svg {
    width: 22px;
    height: 22px;
}

.timeline-item time {
    margin-bottom: 4px;
    color: var(--primary-dark);
    font-size: 18px;
    font-weight: 900;
}

.timeline-item h3 {
    margin-bottom: 5px;
    color: var(--primary-dark);
    font-size: 14px;
    line-height: 1.25;
    font-weight: 900;
}

.timeline-item p {
    max-width: 390px;
    color: var(--text-body);
    font-size: 13px;
    line-height: 1.5;
}

.production-export__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(400px, 0.94fr);
    gap: 40px;
    align-items: stretch;
}

.production-panel,
.export-panel {
    min-width: 0;
}

.production-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.production-card {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-soft);
}

.production-image {
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1.78 / 1;
    border: 0;
    border-radius: 0;
}

.production-card h3 {
    min-height: 0;
    display: grid;
    align-items: center;
    padding: 14px 16px 6px;
    color: var(--primary-dark);
    font-size: 15px;
    line-height: 1.22;
    font-weight: 900;
}

.production-card p {
    padding: 0 16px 16px;
    color: var(--text-body);
    font-size: 13px;
    line-height: 1.5;
}

.export-panel {
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-card);
}

.export-panel h2 {
    margin-bottom: 34px;
}

.export-content {
    display: grid;
    gap: 20px;
}

.export-map {
    overflow: hidden;
    aspect-ratio: 1.25 / 1;
    min-height: 220px;
}

.export-map svg {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
}

.export-land {
    fill: rgba(255, 255, 255, 0.74);
}

.export-route {
    fill: none;
    stroke: var(--primary);
    stroke-width: 2.8;
}

.route-two {
    stroke-opacity: 0.72;
}

.route-three {
    stroke-opacity: 0.55;
}

.export-point {
    fill: var(--primary);
    stroke: var(--white);
    stroke-width: 4;
}

.export-map text {
    fill: var(--primary-dark);
    font-size: 15px;
    font-weight: 850;
}

.export-list {
    display: grid;
    gap: 10px;
}

.export-list li {
    position: relative;
    padding-left: 26px;
    color: var(--text-body);
    font-size: 13px;
    line-height: 1.4;
}

.export-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
}

.export-list li::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 9px;
    width: 9px;
    height: 5px;
    border-left: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: rotate(-45deg);
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.certificate-card,
.certificate-help {
    min-height: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-soft);
}

.certificate-card {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 8px;
    padding: 20px 16px;
    color: var(--text-body);
    text-align: center;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.certificate-card:hover,
.certificate-card:focus-visible {
    border-color: rgba(7, 84, 184, 0.5);
    background: var(--pale-blue);
    box-shadow: var(--shadow-card);
    transform: translateY(-3px);
}

.certificate-card svg {
    width: 30px;
    height: 30px;
    color: var(--primary);
}

.certificate-card text {
    fill: var(--primary);
    font-size: 6px;
    font-weight: 850;
    stroke: none;
}

.certificate-card strong {
    color: var(--primary-dark);
    font-size: 15px;
    line-height: 1.2;
}

.certificate-card span {
    max-width: 300px;
    color: var(--text-body);
    font-size: 12px;
    line-height: 1.42;
}

.certificate-help {
    display: grid;
    align-content: center;
    padding: 22px;
    background: linear-gradient(135deg, var(--light-blue), #f7fbff);
}

.certificate-help h3 {
    margin-bottom: 8px;
    color: var(--primary-dark);
    font-size: 16px;
    line-height: 1.2;
}

.certificate-help p {
    margin-bottom: 12px;
    color: var(--text-body);
    font-size: 13px;
    line-height: 1.5;
}

.certificate-help a {
    color: var(--primary);
    font-size: 13px;
    font-weight: 900;
}

.certificate-help a:hover,
.certificate-help a:focus-visible {
    color: var(--primary-hover);
    text-decoration: underline;
}

.about-cta {
    padding-bottom: 70px;
    background: var(--white);
}

.about-cta__card {
    position: relative;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    overflow: hidden;
    padding: 32px 40px;
    color: var(--white);
    background:
        linear-gradient(100deg, rgba(3, 36, 82, 0.98), rgba(6, 47, 112, 0.9)),
        url("/assets/imgs/about/quality-control-laboratory-chemical-testing.png");
    background-position: center;
    background-size: cover;
    border-radius: var(--card-radius);
}

.about-cta__content,
.about-cta__actions {
    position: relative;
    z-index: 2;
}

.about-cta h2 {
    max-width: 860px;
    margin-bottom: 10px;
    font-size: 24px;
    line-height: 1.15;
    font-weight: 900;
}

.about-cta p {
    max-width: 860px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
    line-height: 1.5;
}

.about-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: flex-end;
}

.cta-image {
    display: none;
}

.site-footer {
    color: rgba(255, 255, 255, 0.84);
    background: linear-gradient(120deg, var(--deep-navy), #053b83);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.55fr repeat(5, minmax(0, 1fr));
    gap: 36px;
    padding: 46px 0 42px;
}

.footer-brand p {
    max-width: 360px;
    margin: 16px 0 18px;
    font-size: 15px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
}

.social-links a:hover,
.social-links a:focus-visible {
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
}

.social-links svg {
    width: 18px;
    height: 18px;
}

.footer-column {
    font-style: normal;
}

.footer-column__title {
    min-height: 28px;
    margin-bottom: 14px;
    padding: 0;
    color: var(--white);
    background: transparent;
    border: 0;
    font-size: 15px;
    font-weight: 900;
    text-align: left;
}

.footer-column li {
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.45;
}

.footer-column a:hover,
.footer-column a:focus-visible,
.footer-bottom a:hover,
.footer-bottom a:focus-visible {
    color: var(--white);
    text-decoration: underline;
}

.button--footer {
    min-height: 42px;
    margin-top: 12px;
    color: var(--white);
    background: transparent;
    border-color: rgba(255, 255, 255, 0.45);
    font-size: 13px;
}

.button--footer:hover,
.button--footer:focus-visible {
    color: var(--deep-navy);
    background: var(--white);
    border-color: var(--white);
}

.footer-bottom {
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.64);
    font-size: 13px;
}

.footer-bottom div {
    display: flex;
    gap: 36px;
}

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 900;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: var(--primary);
    border: 0;
    border-radius: 6px;
    box-shadow: var(--shadow-card);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
    background: var(--primary-hover);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 1280px) {
    .overview-grid,
    .production-export__grid {
        gap: 42px;
    }

    .statistics-grid,
    .certificates-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-main {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .company-overview,
    .company-statistics,
    .company-values,
    .company-timeline,
    .production-export,
    .certificates-section,
    .about-cta {
        padding: 44px 0;
    }

    .overview-grid,
    .production-export__grid,
    .about-cta__card {
        grid-template-columns: 1fr;
    }

    .section-title,
    .company-overview h2,
    .company-statistics h2,
    .company-values h2,
    .company-timeline h2,
    .production-export h2,
    .certificates-section h2 {
        font-size: 22px;
    }

    .factory-image {
        min-height: 260px;
    }

    .values-grid,
    .production-grid {
        grid-template-columns: 1fr;
    }

    .timeline-list {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-left: 86px;
    }

    .timeline-list::before {
        left: 35px;
        right: auto;
        top: 0;
        bottom: 0;
        width: 2px;
        height: auto;
    }

    .timeline-item {
        min-height: 0;
        justify-items: start;
        padding: 0 0 0;
        text-align: left;
    }

    .timeline-icon {
        position: absolute;
        left: -86px;
        top: 0;
        box-shadow: 0 0 0 8px var(--section-bg);
    }

    .timeline-item p {
        max-width: none;
    }

    .export-panel {
        padding: 24px;
    }

    .about-cta__actions {
        justify-content: flex-start;
    }

    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        width: min(100% - 36px, var(--container-width));
    }

    .company-overview,
    .company-statistics,
    .company-values,
    .company-timeline,
    .production-export,
    .certificates-section,
    .about-cta {
        padding: 32px 0;
    }

    .button {
        width: 100%;
        min-height: 50px;
        font-size: 14px;
    }

    .statistics-grid,
    .certificates-grid {
        grid-template-columns: 1fr;
    }

    .factory-image,
    .export-map {
        min-height: 260px;
    }

    .section-title,
    .company-overview h2,
    .company-statistics h2,
    .company-values h2,
    .company-timeline h2,
    .production-export h2,
    .certificates-section h2 {
        margin-bottom: 16px;
        font-size: 18px;
    }

    .overview-content p,
    .export-list li,
    .about-cta p {
        font-size: 13px;
    }

    .stat-card,
    .certificate-card,
    .certificate-help {
        min-height: 0;
        padding: 26px 22px;
    }

    .stat-card strong {
        min-height: 0;
        font-size: 22px;
    }

    .stat-card span,
    .value-card p,
    .production-card p,
    .certificate-card span,
    .certificate-help p,
    .timeline-item p {
        font-size: 12px;
    }

    .value-card {
        min-height: 0;
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 16px;
        padding: 24px;
    }

    .value-icon {
        width: 52px;
        height: 52px;
    }

    .value-icon svg {
        width: 32px;
        height: 32px;
    }

    .value-card h3,
    .production-card h3,
    .certificate-help h3 {
        font-size: 14px;
    }

    .production-card h3 {
        min-height: 0;
        padding: 20px 20px 8px;
    }

    .production-card p {
        padding: 0 20px 22px;
    }

    .export-panel {
        padding: 18px;
    }

    .about-cta__card {
        min-height: 0;
        padding: 22px 18px;
    }

    .about-cta h2 {
        font-size: 18px;
    }

    .about-cta__actions {
        display: grid;
        gap: 12px;
    }

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

    .footer-brand,
    .footer-contacts {
        padding-bottom: 18px;
    }

    .footer-column {
        border-top: 1px solid rgba(255, 255, 255, 0.16);
    }

    .footer-column__title {
        width: 100%;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 0;
    }

    .footer-column ul {
        display: none;
        padding-bottom: 12px;
    }

    .footer-column.is-open ul {
        display: block;
    }

    .footer-bottom {
        display: grid;
    }

    .footer-bottom div {
        display: grid;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .container {
        width: min(100% - 28px, var(--container-width));
    }

    .value-card {
        grid-template-columns: 1fr;
    }

    .timeline-list {
        padding-left: 66px;
    }

    .timeline-icon {
        left: -66px;
        width: 52px;
        height: 52px;
    }

    .timeline-icon svg {
        width: 26px;
        height: 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .timeline-item {
        opacity: 1;
        transform: none;
    }
}
