@charset "UTF-8";

:root {
    --color-primary: #334155;
    --color-secondary: #475569;
    --color-accent: #059669;
    --color-accent-strong: #047857;
    --color-background: #f8fafc;
    --color-surface: #ffffff;
    --color-surface-soft: #f1f5f9;
    --color-foreground: #0f172a;
    --color-foreground-soft: #1e293b;
    --color-muted: #526176;
    --color-border: #d9e2ec;
    --color-border-strong: #bac7d3;
    --color-dark: #0f172a;
    --color-dark-soft: #17202c;
    --color-on-dark: #e2e8f0;
    --shadow-soft: 0 16px 45px rgba(15, 23, 42, 0.08);
    --shadow-strong: 0 24px 80px rgba(15, 23, 42, 0.18);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --container: 1200px;
    --header-height: 92px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Source Sans 3", Arial, sans-serif;
    color: var(--color-foreground);
    background: var(--color-background);
    line-height: 1.6;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
    background-size: 34px 34px;
    pointer-events: none;
    z-index: -1;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a,
input,
textarea,
select {
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

:focus-visible {
    outline: 3px solid rgba(5, 150, 105, 0.28);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -56px;
    z-index: 100;
    padding: 12px 16px;
    border-radius: 999px;
    background: var(--color-accent);
    color: #ffffff;
    font-weight: 700;
}

.skip-link:focus {
    top: 16px;
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}

.narrow {
    width: min(860px, calc(100% - 40px));
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
}

.site-header--overlay {
    position: absolute;
    inset: 0 0 auto;
}

.site-header--solid {
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.14);
}

.topbar {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.brand-mark {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
    color: #ffffff;
    font-family: "Lexend", sans-serif;
    font-weight: 700;
    letter-spacing: 0.14em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.site-header--solid .brand-mark {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
}

.brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand-text strong,
.brand-text span {
    font-family: "Lexend", sans-serif;
    color: #ffffff;
    overflow-wrap: anywhere;
}

.brand-text strong {
    font-size: 0.98rem;
    letter-spacing: 0.02em;
}

.brand-text span {
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    opacity: 0.74;
}

.site-nav,
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-nav {
    flex-wrap: wrap;
    justify-content: center;
}

.site-nav a,
.header-phone,
.lang-switch {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
}

.site-nav a:hover,
.header-phone:hover,
.lang-switch:hover {
    background: rgba(255, 255, 255, 0.12);
}

.lang-switch {
    min-width: 52px;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: end;
    padding: calc(var(--header-height) + 46px) 0 88px;
    color: #ffffff;
    overflow: hidden;
    background: #0f172a;
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, rgba(15, 23, 42, 0.82) 8%, rgba(15, 23, 42, 0.56) 40%, rgba(15, 23, 42, 0.28) 100%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.32) 74%, rgba(15, 23, 42, 0.86) 100%),
        url("../images/factory-hero.svg") center center / cover no-repeat;
}

.hero-backdrop::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 220px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0), rgba(15, 23, 42, 0.84));
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 420px);
    gap: 32px;
    align-items: end;
}

.hero-copy {
    max-width: 760px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    font-family: "Lexend", sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #d7f5eb;
}

.eyebrow::before {
    content: "";
    width: 42px;
    height: 1px;
    background: currentColor;
}

.eyebrow-dark {
    color: var(--color-accent-strong);
}

.hero h1,
.section-heading h2,
.page-hero h1 {
    margin: 0;
    font-family: "Lexend", sans-serif;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.hero h1 {
    max-width: 920px;
    font-size: clamp(2.9rem, 6vw, 5.6rem);
}

.hero-lead {
    max-width: 720px;
    margin: 24px 0 0;
    font-size: 1.18rem;
    color: rgba(255, 255, 255, 0.84);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    min-width: 190px;
    padding: 14px 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    cursor: pointer;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: var(--color-accent);
    color: #ffffff;
    box-shadow: 0 18px 42px rgba(5, 150, 105, 0.24);
}

.button-primary:hover {
    background: var(--color-accent-strong);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.18);
}

.button-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
}

.trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.trust-strip span {
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    font-weight: 600;
}

.hero-panel,
.service-card,
.process-card,
.metric-card,
.application-card,
.gallery-card,
.compliance-card,
.policy-card,
.map-frame,
.contact-panel {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    box-shadow: var(--shadow-soft);
}

.hero-panel {
    padding: 28px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    color: var(--color-foreground);
    border-color: rgba(255, 255, 255, 0.34);
}

.panel-badge {
    display: inline-block;
    margin-bottom: 18px;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(5, 150, 105, 0.12);
    color: var(--color-accent-strong);
    font-family: "Lexend", sans-serif;
    font-size: 0.74rem;
    letter-spacing: 0.14em;
}

.hero-panel h2 {
    margin: 0 0 18px;
    font-family: "Lexend", sans-serif;
    font-size: 1.48rem;
}

.detail-list {
    margin: 0;
    display: grid;
    gap: 14px;
}

.detail-list div {
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(51, 65, 85, 0.12);
}

.detail-list div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.detail-list dt {
    margin-bottom: 6px;
    color: var(--color-muted);
    font-weight: 700;
}

.detail-list dd {
    margin: 0;
    color: var(--color-foreground-soft);
    font-weight: 600;
}

.panel-note {
    margin: 18px 0 0;
    color: var(--color-muted);
}

.section,
.page-hero {
    padding: 88px 0;
}

.section-intro {
    position: relative;
    z-index: 1;
    margin-top: -42px;
}

.section-grid,
.compliance-grid,
.map-grid {
    display: grid;
    gap: 30px;
}

.section-grid,
.compliance-grid {
    align-items: start;
}

.map-grid {
    align-items: stretch;
}

.section-grid,
.map-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
}

.compliance-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.section-heading {
    max-width: 760px;
}

.section-heading--center,
.application-heading {
    text-align: center;
    margin-inline: auto;
}

.section-heading h2,
.page-hero h1,
.contact-panel h2 {
    font-size: clamp(2rem, 4vw, 3.25rem);
}

.section-heading p,
.application-heading p,
.contact-panel p,
.policy-card p,
.policy-card li {
    margin: 18px 0 0;
    font-size: 1.02rem;
    color: var(--color-muted);
}

.metric-grid,
.service-grid,
.process-grid,
.application-grid,
.gallery-grid,
.footer-grid,
.compliance-cards {
    display: grid;
    gap: 18px;
}

.metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric-card,
.service-card,
.process-card,
.application-card,
.gallery-card {
    padding: 24px;
}

.metric-card strong,
.process-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: rgba(5, 150, 105, 0.12);
    color: var(--color-accent-strong);
    font-family: "Lexend", sans-serif;
    font-weight: 700;
}

.metric-card span,
.service-card h3,
.process-card h3,
.application-card h3,
.policy-card h2,
.footer-grid h3,
.compliance-card h3 {
    margin: 0;
    font-family: "Lexend", sans-serif;
}

.metric-card span {
    display: block;
    color: var(--color-foreground);
    font-size: 1.08rem;
}

.metric-card p,
.service-card p,
.process-card p,
.application-card p {
    margin: 12px 0 0;
    color: var(--color-muted);
}

.section-slate {
    background: linear-gradient(180deg, #f3f7fa 0%, #edf3f8 100%);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.service-grid {
    margin-top: 34px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before,
.application-card::before,
.policy-card::before,
.contact-panel::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), rgba(5, 150, 105, 0));
}

.process-grid {
    margin-top: 34px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.section-application {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(241, 245, 249, 0.94), rgba(241, 245, 249, 0.94)),
        radial-gradient(circle at right center, rgba(148, 163, 184, 0.18), transparent 30%);
}

.background-word {
    display: block;
    margin-bottom: -10px;
    font-family: "Lexend", sans-serif;
    font-size: clamp(4rem, 12vw, 8.5rem);
    font-weight: 700;
    letter-spacing: -0.06em;
    color: rgba(148, 163, 184, 0.18);
}

.application-grid {
    margin-top: 36px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.application-card {
    min-height: 100%;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(6px);
}

.gallery-grid {
    margin-top: 36px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.gallery-card {
    padding: 0;
    overflow: hidden;
}

.gallery-card img {
    width: 100%;
    height: 360px;
    object-fit: cover;
}

.gallery-card-body {
    padding: 22px 24px 24px;
}

.gallery-card h3 {
    margin: 0;
    font-family: "Lexend", sans-serif;
}

.gallery-card p {
    margin: 12px 0 0;
    color: var(--color-muted);
}

.compliance-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compliance-card {
    padding: 24px;
}

.compliance-card ul,
.policy-card ul {
    margin: 18px 0 0;
    padding-left: 18px;
    color: var(--color-muted);
}

.link-stack {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.link-stack a {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    background: var(--color-surface-soft);
    font-weight: 700;
}

.link-stack a:hover {
    border-color: var(--color-accent);
    color: var(--color-accent-strong);
}

.map-frame,
.contact-panel {
    overflow: hidden;
}

.map-frame {
    padding: 18px;
    min-height: 100%;
    display: flex;
    background: linear-gradient(180deg, #dce5ef 0%, #eff4f8 100%);
}

.map-frame img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    border-radius: calc(var(--radius-lg) - 10px);
}

.contact-panel {
    position: relative;
    padding: 28px;
}

.contact-list {
    margin-top: 22px;
    font-style: normal;
}

.contact-list p {
    display: grid;
    gap: 4px;
    margin: 0 0 16px;
}

.contact-list strong {
    font-family: "Lexend", sans-serif;
    color: var(--color-foreground);
}

.contact-list span,
.contact-list a {
    color: var(--color-muted);
}

.page-policy {
    background: linear-gradient(180deg, #f8fafc 0%, #eef4f8 100%);
}

.page-hero {
    padding-top: calc(var(--header-height) + 34px);
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.88)),
        url("../images/factory-hero.svg") center center / cover no-repeat;
    color: #ffffff;
}

.policy-stack {
    display: grid;
    gap: 20px;
}

.policy-card {
    position: relative;
    padding: 28px;
}

.site-footer {
    background: linear-gradient(180deg, var(--color-dark) 0%, #0b1220 100%);
    color: var(--color-on-dark);
}

.footer-grid {
    grid-template-columns: 1.2fr 0.9fr 0.9fr 1fr;
    padding: 44px 0 26px;
}

.footer-title {
    margin: 0;
    font-family: "Lexend", sans-serif;
    font-size: 1.08rem;
}

.footer-subtitle,
.footer-copy,
.footer-grid span {
    color: rgba(226, 232, 240, 0.72);
}

.footer-subtitle,
.footer-copy {
    margin: 8px 0 0;
}

.footer-grid h3 {
    margin-bottom: 14px;
    font-size: 1rem;
    color: #ffffff;
}

.footer-grid a,
.footer-grid span {
    display: block;
    margin-top: 10px;
}

.footer-grid a:hover {
    color: #ffffff;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 0 28px;
    border-top: 1px solid rgba(226, 232, 240, 0.12);
    color: rgba(226, 232, 240, 0.64);
    font-size: 0.95rem;
}

#company,
#services,
#process,
#support,
#contact {
    scroll-margin-top: calc(var(--header-height) + 12px);
}

@media (max-width: 1180px) {
    .hero-grid,
    .section-grid,
    .map-grid,
    .compliance-grid,
    .compliance-cards,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .service-grid,
    .application-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .container,
    .narrow {
        width: min(100% - 24px, var(--container));
    }

    .topbar {
        padding: 18px 0;
        align-items: flex-start;
        flex-direction: column;
    }

    .site-nav,
    .header-actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .hero {
        min-height: auto;
        padding: calc(var(--header-height) + 110px) 0 70px;
    }

    .hero h1 {
        font-size: clamp(2.4rem, 11vw, 4rem);
    }

    .hero-lead {
        font-size: 1.05rem;
    }

    .metric-grid,
    .service-grid,
    .process-grid,
    .application-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-card img {
        height: 300px;
    }

    .button {
        width: 100%;
    }

    .hero-panel,
    .metric-card,
    .service-card,
    .process-card,
    .application-card,
    .compliance-card,
    .policy-card,
    .contact-panel {
        padding: 22px;
    }

    .section,
    .page-hero {
        padding: 70px 0;
    }

    .background-word {
        font-size: clamp(3rem, 16vw, 5rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
