:root {
    --ink: #212529;
    --muted: #6c757d;
    --line: #dee2e6;
    --panel: #f8f9fa;
    --blue: #1440B8;
    --blue-dark: #0056b3;
    --green: #447A43;
    --nav-dark: #212529;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: "Roboto", Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

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

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--nav-dark);
    border-bottom: 3px solid #c7b400;
}

.nav-wrap {
    width: 100%;
    min-height: 60px;
    margin: 0 auto;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
    color: var(--white);
    font-size: 1.25rem;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 0;
    margin-left: auto;
    font-size: 1rem;
    line-height: 1.5;
}

.nav-links a {
    display: flex;
    min-height: 60px;
    align-items: center;
    padding: 8px;
    color: rgba(255, 255, 255, 0.58);
    text-decoration: none;
}

.nav-links a.active {
    color: var(--white);
}

.nav-links a:hover {
    color: rgba(255, 255, 255, 0.78);
}

.button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: 4px;
    background: var(--blue);
    color: var(--white);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
}

.button:hover {
    background: var(--blue-dark);
}

.button.light {
    border-color: var(--line);
    background: var(--white);
    color: var(--ink);
}

.button.light:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.hero {
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(9, 22, 33, 0.9) 0%, rgba(9, 22, 33, 0.72) 48%, rgba(9, 22, 33, 0.28) 100%),
        var(--hero-image) center / cover no-repeat;
}

.hero-inner,
.section-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.hero-inner {
    min-height: 440px;
    display: flex;
    align-items: center;
    padding: clamp(48px, 8vw, 96px) 0;
}

.hero-content {
    max-width: 760px;
}

.eyebrow,
.section-kicker {
    margin: 0 0 10px;
    color: #8fd5ff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    letter-spacing: 0;
}

h1 {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(2.15rem, 4vw, 4rem);
    font-weight: 700;
    line-height: 1.08;
}

.hero-lede {
    max-width: 710px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1.02rem, 1.75vw, 1.2rem);
    line-height: 1.55;
}

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

.section {
    padding: clamp(58px, 8vw, 96px) 0;
}

.section.alt {
    background: var(--panel);
}

.section.dark {
    background: var(--nav-dark);
    color: var(--white);
}

.section.dark p,
.section.dark .section-kicker {
    color: rgba(255, 255, 255, 0.76);
}

.section-heading {
    max-width: 780px;
    margin-bottom: 32px;
}

.section-kicker {
    color: var(--blue);
}

h2 {
    margin: 0;
    font-size: clamp(1.85rem, 3.2vw, 2.8rem);
    font-weight: 700;
    line-height: 1.14;
}

h3 {
    margin: 0 0 8px;
    font-size: 1.22rem;
    font-weight: 700;
    line-height: 1.22;
}

.section-heading p,
.lead {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 1.04rem;
}

.grid-2,
.grid-3,
.grid-4 {
    display: grid;
    gap: 18px;
}

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

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

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

.card,
.service-link {
    min-height: 100%;
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--white);
}

.card {
    padding: 22px;
}

.card p,
.service-link p {
    margin: 0;
    color: #000000;
}

.service-link {
    color: var(--ink);
    text-decoration: none;
}

.service-link img {
    width: 100%;
    height: 142px;
    padding: 14px 14px 0;
    object-fit: contain;
    background: var(--white);
}

.service-link-body {
    padding: 16px 16px 18px;
}

.service-link:hover h3 {
    text-decoration: underline;
}

.industry-card {
    overflow: hidden;
    min-height: 100%;
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--white);
    color: var(--ink);
    text-decoration: none;
    scroll-margin-top: 92px;
}

.industry-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    background: var(--panel);
}

.industry-card-body {
    padding: 18px;
}

.industry-card h3 {
    margin-bottom: 10px;
}

.industry-card p {
    margin: 0;
    color: var(--muted);
}

.industry-card:hover h3 {
    text-decoration: underline;
}

.detail-list,
.process-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.detail-list li {
    position: relative;
    margin: 0 0 12px;
    padding-left: 22px;
    color: var(--muted);
}

.detail-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--green);
}

.process-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid var(--line);
    background: var(--line);
}

.process-step {
    min-height: 150px;
    padding: 22px;
    background: var(--white);
}

.process-step span {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border-radius: 50%;
    background: var(--blue);
    color: var(--white);
    font-weight: 700;
}

.split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 32px;
    align-items: start;
}

.media-panel {
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--white);
}

.media-panel img {
    width: 100%;
    min-height: 280px;
    object-fit: cover;
}

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

.cta-panel p {
    max-width: 680px;
    margin: 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: 38px;
    align-items: start;
}

.contact-copy {
    max-width: 620px;
}

.contact-form-panel {
    border: 1px solid var(--line);
    background: var(--white);
    padding: clamp(22px, 4vw, 34px);
}

.contact-form {
    display: grid;
    gap: 18px;
}

.field {
    display: grid;
    gap: 6px;
}

.field label {
    color: var(--ink);
    font-size: 0.94rem;
    font-weight: 700;
}

.field input,
.field textarea {
    width: 100%;
    border: 1px solid #cfd4da;
    border-radius: 0;
    background: var(--white);
    color: var(--ink);
    font: inherit;
    line-height: 1.45;
}

.field input {
    min-height: 46px;
    padding: 10px 12px;
}

.field textarea {
    min-height: 170px;
    resize: vertical;
    padding: 12px;
}

.field input:focus,
.field textarea:focus {
    border-color: var(--blue);
    outline: 2px solid rgba(20, 64, 184, 0.16);
    outline-offset: 0;
}

.hp-field {
    display: none;
}

.form-submit {
    width: fit-content;
    min-width: 170px;
    margin-top: 4px;
}

.form-status {
    border: 1px solid var(--line);
    margin-top: 18px;
    padding: 18px;
}

.form-status h3,
.form-status p,
.form-status ul {
    margin-top: 0;
}

.form-status p,
.form-status li {
    color: var(--muted);
}

.form-status.success {
    border-color: rgba(68, 122, 67, 0.4);
    background: rgba(68, 122, 67, 0.08);
}

.form-status.error {
    border-color: rgba(180, 47, 47, 0.35);
    background: rgba(180, 47, 47, 0.08);
}

.site-footer {
    padding: 42px 0;
    background: var(--nav-dark);
    color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 28px;
}

.footer-grid h3 {
    color: var(--white);
}

.footer-grid a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
}

.footer-grid a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.copyright {
    width: min(1180px, calc(100% - 32px));
    margin: 28px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.9rem;
}

@media (max-width: 980px) {
    .nav-wrap {
        min-height: auto;
        padding: 14px 12px;
        align-items: flex-start;
        flex-direction: column;
    }

    .nav-links {
        width: 100%;
        flex-wrap: wrap;
        overflow: visible;
        font-size: 0.95rem;
    }

    .nav-links a {
        min-height: auto;
        padding: 4px 12px 4px 0;
    }

    .hero-inner {
        min-height: auto;
    }

    .grid-2,
    .grid-3,
    .grid-4,
    .contact-layout,
    .process-list,
    .split,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .process-step {
        min-height: auto;
    }
}

@media (max-width: 620px) {
    .site-header {
        position: static;
    }

    h1 {
        font-size: 2.02rem;
    }

    .button {
        width: 100%;
    }

    .form-submit {
        width: 100%;
    }

    .service-link img {
        height: 160px;
    }
}
