:root {
    --primary: #383995;
    --primary-dark: #25266f;
    --secondary: #4b4fa8;
    --accent: #e51e2a;
    --tint: #f1f2fa;
    --neutral: #f7f8fa;
    --text: #1f2933;
    --muted: #657181;
    --border: #d9dee8;
    --white: #ffffff;
    --shadow: 0 16px 40px rgba(31, 41, 51, 0.1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    background: var(--white);
}

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

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

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 12px;
    padding: 8px 12px;
    background: var(--primary-dark);
    color: var(--white);
    z-index: 10;
}

.skip-link:focus {
    left: 12px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 5;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(8px);
}

.header-inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 230px;
}

.brand img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.brand strong {
    display: block;
    color: var(--primary-dark);
    font-size: 1.1rem;
    line-height: 1.1;
}

.brand small {
    display: block;
    max-width: 260px;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.35;
}

.menu-wrap {
    display: flex;
    align-items: center;
    gap: 18px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.site-nav a,
.lang-switch {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 8px 10px;
    border-radius: 6px;
    color: var(--primary-dark);
    font-size: 0.9rem;
    font-weight: 700;
}

.site-nav a:hover,
.site-nav a.is-active,
.lang-switch {
    background: var(--tint);
}

.lang-switch {
    border: 1px solid var(--border);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--white);
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--primary-dark);
}

.hero {
    padding: 64px 0 42px;
    background: linear-gradient(180deg, var(--tint), var(--white));
}

.hero-grid,
.split,
.intro-grid,
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}

.hero-copy h1,
.page-hero h1 {
    max-width: 780px;
    margin: 0;
    color: var(--primary-dark);
    font-size: clamp(2rem, 5vw, 3.75rem);
    line-height: 1.08;
}

.hero-copy p,
.page-hero p {
    max-width: 680px;
    color: var(--muted);
    font-size: 1.05rem;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 6px;
    border: 1px solid transparent;
    font-weight: 800;
}

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

.btn-secondary {
    background: var(--white);
    color: var(--primary-dark);
    border-color: var(--border);
}

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

.hero-panel {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: var(--primary-dark);
    box-shadow: var(--shadow);
}

.hero-panel img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.capacity-card {
    position: absolute;
    left: 18px;
    bottom: 18px;
    max-width: calc(100% - 36px);
    padding: 14px 16px;
    border-left: 4px solid var(--accent);
    background: rgba(255, 255, 255, 0.94);
}

.capacity-card span {
    display: block;
    color: var(--muted);
    font-weight: 700;
}

.capacity-card strong {
    display: block;
    color: var(--primary-dark);
    font-size: 1.35rem;
}

.section {
    padding: 56px 0;
}

.section-muted {
    background: var(--neutral);
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.section h2,
.section-head h2 {
    margin: 0 0 12px;
    color: var(--primary-dark);
    font-size: 1.9rem;
    line-height: 1.2;
}

.section-head a {
    color: var(--accent);
    font-weight: 800;
}

.facts,
.card-grid,
.capabilities-grid,
.gallery-grid {
    display: grid;
    gap: 18px;
}

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

.facts article,
.industry-card,
.operation-card,
.capacity-feature,
.form-panel,
.detail-card,
.product-card {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--white);
}

.facts article {
    padding: 18px;
}

.facts strong {
    display: block;
    color: var(--primary);
    font-size: 1.45rem;
}

.facts span {
    color: var(--muted);
}

.card-grid {
    grid-template-columns: minmax(0, 1fr);
}

.product-card,
.detail-card {
    overflow: hidden;
}

.product-card img,
.detail-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.product-card div,
.detail-card div,
.industry-card,
.operation-card {
    padding: 20px;
}

.product-card h3,
.detail-card h2,
.industry-card h2,
.operation-card h2 {
    margin: 0 0 8px;
    color: var(--primary-dark);
}

.detail-card h3 {
    margin: 18px 0 6px;
    color: var(--primary);
    font-size: 1rem;
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pill-list span {
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--tint);
    color: var(--primary-dark);
    font-weight: 800;
}

.cta-band {
    padding: 42px 0;
    background: var(--primary-dark);
    color: var(--white);
}

.cta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.cta-inner h2 {
    margin: 0;
    max-width: 720px;
    font-size: 1.8rem;
}

.page-hero {
    padding: 54px 0;
    background: var(--tint);
}

.info-list {
    display: grid;
    gap: 14px;
    margin: 0;
}

.info-list div {
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.info-list dt {
    color: var(--muted);
    font-weight: 800;
}

.info-list dd {
    margin: 4px 0 0;
}

.rounded-media {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
}

.capabilities-grid {
    grid-template-columns: minmax(0, 1fr);
}

.capacity-feature {
    padding: 24px;
    background: var(--primary);
    color: var(--white);
}

.capacity-feature span,
.capacity-feature p {
    color: rgba(255, 255, 255, 0.82);
}

.capacity-feature strong {
    display: block;
    margin: 8px 0;
    font-size: 2rem;
    line-height: 1.1;
}

.gallery-grid {
    grid-template-columns: minmax(0, 1fr);
}

.gallery-grid figure {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--white);
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.gallery-grid figcaption {
    padding: 12px 14px;
    color: var(--primary-dark);
    font-weight: 800;
}

.map-placeholder {
    min-height: 220px;
    display: grid;
    place-items: center;
    margin-top: 22px;
    padding: 24px;
    border: 1px dashed var(--secondary);
    border-radius: 8px;
    background: var(--tint);
    color: var(--primary-dark);
    text-align: center;
    font-weight: 800;
}

.narrow {
    max-width: 820px;
}

.form-panel {
    padding: 22px;
}

.form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
}

label {
    display: grid;
    gap: 6px;
    color: var(--primary-dark);
    font-weight: 800;
}

input,
textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 11px 12px;
    color: var(--text);
    font: inherit;
}

textarea {
    resize: vertical;
}

input:focus,
textarea:focus {
    outline: 3px solid rgba(56, 57, 149, 0.18);
    border-color: var(--primary);
}

.form-panel .btn {
    margin-top: 18px;
}

.form-message {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 6px;
    font-weight: 800;
}

.form-message.success {
    background: #e8f6ed;
    color: #176b3a;
}

.form-message.error {
    background: #fff0f1;
    color: #9f1721;
}

.hp {
    position: absolute;
    left: -9999px;
}

.site-footer {
    padding: 42px 0 20px;
    background: var(--primary-dark);
    color: var(--white);
}

.footer-grid {
    display: grid;
    gap: 28px;
}

.footer-logo {
    margin-bottom: 12px;
    background: var(--white);
}

.site-footer h2 {
    margin: 0 0 12px;
    font-size: 1rem;
}

.site-footer p,
.footer-bottom {
    color: rgba(255, 255, 255, 0.78);
}

.footer-link {
    color: var(--white);
    font-weight: 800;
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.9rem;
}

@media (min-width: 680px) {
    .hero-grid,
    .split,
    .intro-grid,
    .contact-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .card-grid.two,
    .card-grid.four,
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

    .full {
        grid-column: 1 / -1;
    }
}

@media (min-width: 960px) {
    .card-grid.four {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .nav-toggle {
        display: block;
    }

    .menu-wrap {
        position: absolute;
        left: 16px;
        right: 16px;
        top: 88px;
        display: none;
        padding: 16px;
        border: 1px solid var(--border);
        border-radius: 8px;
        background: var(--white);
        box-shadow: var(--shadow);
    }

    .menu-wrap.is-open {
        display: grid;
        gap: 12px;
    }

    .site-nav {
        display: grid;
        gap: 4px;
    }
}

@media (max-width: 520px) {
    .container {
        width: min(100% - 24px, 1120px);
    }

    .brand small {
        display: none;
    }

    .facts {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero {
        padding-top: 38px;
    }
}

