:root {
    --ink: #172033;
    --muted: #667085;
    --line: #d8dee8;
    --bg: #f5f7fa;
    --panel: #ffffff;
    --brand: #0b4f7a;
    --brand-strong: #083d5f;
    --accent: #b42318;
    --steel: #344054;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--panel);
    font-family: "Roboto", Arial, "Helvetica Neue", sans-serif;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

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

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

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

.skip-link {
    position: absolute;
    left: 16px;
    top: -80px;
    z-index: 100;
    background: var(--brand);
    color: #fff;
    padding: 10px 14px;
}

.skip-link:focus {
    top: 16px;
}

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

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.brand img,
.footer-brand img {
    border-radius: 8px;
}

.brand small {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.site-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 2px;
}

.site-nav a {
    padding: 10px 12px;
    color: var(--steel);
    font-size: 0.95rem;
    font-weight: 700;
    border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--brand);
    border-color: var(--brand);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.language-switcher {
    display: flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
}

.language-switcher a {
    min-width: 40px;
    padding: 7px 9px;
    text-align: center;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.language-switcher a.active {
    background: var(--brand);
    color: #fff;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
}

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

.hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #101828;
}

.hero-media {
    position: absolute;
    inset: 0;
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 20, 34, 0.88), rgba(10, 20, 34, 0.5), rgba(10, 20, 34, 0.18));
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 120px 0 96px;
    color: #fff;
}

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

.hero .eyebrow {
    color: #ffb4ab;
}

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

h1 {
    max-width: 760px;
    margin-bottom: 18px;
    font-size: clamp(2.6rem, 6vw, 5.4rem);
    line-height: 1.02;
    letter-spacing: 0;
}

.hero-lead {
    max-width: 620px;
    margin-bottom: 28px;
    color: #e5e7eb;
    font-size: 1.25rem;
}

.hero-actions,
.section-title,
.cta-section .container {
    display: grid;
    gap: 14px;
}

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

.btn.primary {
    background: var(--accent);
    color: #fff;
}

.btn.secondary {
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
}

.section {
    padding: 84px 0;
}

.page-hero {
    padding-top: 56px;
}

.band {
    background: var(--bg);
}

.section-title {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-title h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.15;
}

.section-title p:not(.eyebrow) {
    color: var(--muted);
    font-size: 1.05rem;
}

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

.info-card,
.capability-grid article {
    min-height: 190px;
    padding: 24px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.info-card h3,
.capability-grid h2 {
    margin-bottom: 8px;
    font-size: 1.12rem;
}

.info-card p,
.capability-grid p {
    margin-bottom: 0;
    color: var(--muted);
}

.card-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    background: #e6f2f8;
    color: var(--brand);
    font-weight: 900;
}

.split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 44px;
    align-items: center;
}

.section-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

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

.check-grid span,
.feature-list li {
    display: block;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-left: 4px solid var(--brand);
    border-radius: 6px;
    font-weight: 700;
}

.process-flow {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
    padding: 0;
    counter-reset: flow;
    list-style: none;
}

.process-flow li {
    min-height: 118px;
    padding: 16px;
    background: var(--brand);
    color: #fff;
    border-radius: 8px;
    font-weight: 800;
}

.process-flow li::before {
    counter-increment: flow;
    content: counter(flow, decimal-leading-zero);
    display: block;
    margin-bottom: 18px;
    color: #b9e6fe;
    font-size: 0.82rem;
}

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

.image-grid figure {
    margin: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}

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

.image-grid figcaption {
    padding: 14px 16px;
    font-weight: 800;
}

.feature-list {
    display: grid;
    gap: 10px;
    padding: 0;
    list-style: none;
}

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

.profile-list {
    display: grid;
    gap: 12px;
}

.profile-list div {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

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

.profile-list dd {
    margin: 0;
}

.breadcrumb {
    padding-top: 28px;
    display: flex;
    gap: 10px;
    color: var(--muted);
    font-size: 0.92rem;
}

.breadcrumb a {
    color: var(--brand);
    font-weight: 800;
}

.cta-section {
    padding: 74px 0;
    background: var(--brand-strong);
    color: #fff;
}

.cta-section p {
    max-width: 760px;
    color: #d8e7ef;
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 40px;
    align-items: start;
}

.contact-form {
    display: grid;
    gap: 16px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

.contact-form label {
    display: grid;
    gap: 7px;
    color: var(--steel);
    font-weight: 800;
}

.contact-form label span {
    color: var(--accent);
    font-size: 0.78rem;
}

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

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

.notice,
.note {
    padding: 12px 14px;
    border-radius: 6px;
}

.note {
    background: #eef6fb;
    color: var(--steel);
}

.notice.success {
    background: #ecfdf3;
    color: #027a48;
}

.notice.error {
    background: #fef3f2;
    color: #b42318;
}

.site-footer {
    background: #101828;
    color: #d0d5dd;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 1fr;
    gap: 36px;
    padding: 48px 0;
}

.site-footer h2 {
    color: #fff;
    font-size: 1rem;
}

.site-footer ul {
    padding: 0;
    list-style: none;
}

.footer-brand {
    color: #fff;
}

.footer-link {
    color: #fff;
    font-weight: 800;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 16px 0;
    color: #98a2b3;
    font-size: 0.9rem;
}

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

    .site-nav {
        position: absolute;
        left: 16px;
        right: 16px;
        top: 76px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 8px;
        box-shadow: var(--shadow);
    }

    .site-nav.open {
        display: flex;
    }

    .site-nav a {
        border-bottom: 1px solid var(--line);
        padding: 14px 16px;
    }

    .card-grid,
    .capability-grid,
    .content-grid,
    .image-grid,
    .split,
    .contact-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    .equipment-card,
    .detail-specs,
    .detail-note-grid {
        grid-template-columns: 1fr;
    }
}

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

    .brand span {
        display: none;
    }

    .hero {
        min-height: 560px;
    }

    .hero-content {
        padding: 96px 0 72px;
    }

    .section {
        padding: 58px 0;
    }

    .check-grid,
    .process-flow {
        grid-template-columns: 1fr;
    }

    .profile-list div {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

/* Polish pass: brand, motion, hover states */
.site-header {
    transition: box-shadow 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(216, 222, 232, 0.72);
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
}

.brand {
    min-width: 250px;
}

.brand-logo-wrap {
    width: 96px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 auto;
}

.brand-logo-wrap img {
    width: auto;
    height: auto;
    max-width: 96px;
    max-height: 52px;
    object-fit: contain;
    border-radius: 0;
}

.footer-logo-wrap {
    width: 54px;
    height: 40px;
    display: flex;
    align-items: center;
}

.footer-logo-wrap img {
    width: auto;
    height: auto;
    max-width: 54px;
    max-height: 38px;
    object-fit: contain;
    border-radius: 0;
}

.brand strong {
    display: block;
    line-height: 1.05;
    font-size: 1.12rem;
    font-weight: 900;
}

.site-nav a,
.language-switcher a,
.btn,
.info-card,
.capability-grid article,
.check-grid span,
.feature-list li,
.image-grid figure,
.contact-form input,
.contact-form textarea {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.site-nav a {
    position: relative;
    border-bottom: 0;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 4px;
    height: 2px;
    background: var(--brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
    transform: scaleX(1);
}

.language-switcher a:hover {
    background: #e6f2f8;
    color: var(--brand);
}

.language-switcher a.active:hover {
    background: var(--brand);
    color: #fff;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(16, 24, 40, 0.18);
}

.btn.primary:hover {
    background: #c83225;
}

.btn.secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.88);
}

.info-card:hover,
.capability-grid article:hover {
    transform: translateY(-4px);
    border-color: rgba(11, 79, 122, 0.28);
    box-shadow: 0 16px 34px rgba(16, 24, 40, 0.10);
}

.check-grid span:hover,
.feature-list li:hover {
    transform: translateX(3px);
    border-color: rgba(11, 79, 122, 0.28);
}

.image-grid figure:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(16, 24, 40, 0.12);
}

.image-grid figure img,
.section-image {
    transition: transform 0.24s ease, filter 0.24s ease, box-shadow 0.24s ease;
}

.image-grid figure:hover img {
    transform: scale(1.025);
}

.section-image:hover {
    filter: saturate(1.04) contrast(1.02);
    box-shadow: 0 22px 52px rgba(16, 24, 40, 0.16);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(11, 79, 122, 0.12);
}

.empty-state {
    padding: 28px;
    background: #eef6fb;
    border: 1px solid rgba(11, 79, 122, 0.16);
    border-radius: 8px;
    color: var(--steel);
    font-weight: 700;
}

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

.content-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.content-card:hover,
.equipment-card:hover {
    transform: translateY(-4px);
    border-color: rgba(11, 79, 122, 0.28);
    box-shadow: 0 16px 34px rgba(16, 24, 40, 0.11);
}

.content-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: var(--bg);
}

.content-card-body {
    padding: 20px;
}

.content-card h2,
.equipment-card h2 {
    margin-bottom: 8px;
    font-size: 1.18rem;
    line-height: 1.25;
}

.content-card p,
.equipment-card p {
    color: var(--muted);
}

.content-meta {
    margin-bottom: 8px;
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.tag-row span {
    display: inline-flex;
    padding: 5px 9px;
    background: #eef6fb;
    color: var(--brand);
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 800;
}

.equipment-list {
    display: grid;
    gap: 18px;
}

.equipment-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.equipment-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 8px;
    background: var(--bg);
}

.spec-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    margin: 16px 0;
}

.spec-list div {
    padding: 12px;
    background: var(--bg);
    border-radius: 6px;
}

.spec-list dt {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.spec-list dd {
    margin: 4px 0 0;
    font-weight: 800;
}

.detail-layout {
    max-width: 920px;
}

.detail-article h1 {
    max-width: 900px;
    color: var(--ink);
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.detail-lead {
    color: var(--muted);
    font-size: 1.15rem;
}

.detail-image {
    width: 100%;
    max-height: 520px;
    margin: 24px 0;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.detail-specs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.detail-note-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.detail-note-grid section {
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.detail-note-grid h2 {
    font-size: 1rem;
}

.rich-text {
    margin: 24px 0;
    color: var(--steel);
    font-size: 1.04rem;
}

.text-link {
    color: var(--brand);
    font-weight: 900;
}

@media (max-width: 980px) {
    .brand {
        min-width: 0;
    }

    .site-nav {
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity 0.18s ease, transform 0.18s ease;
    }

    .site-nav.open {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 620px) {
    .brand-logo-wrap {
        width: 86px;
        height: 52px;
    }

    .brand-logo-wrap img {
        max-width: 86px;
        max-height: 48px;
    }
}
