:root {
    --ink: #111827;
    --muted: #5b6472;
    --panel: #ffffff;
    --line: #d8dee8;
    --field: #f5f7fa;
    --navy: #14213d;
    --steel: #3f5368;
    --gold: #d99a2b;
    --red: #9b1c31;
    --bg: #f3f5f8;
    --shadow: 0 18px 60px rgba(15, 23, 42, .14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.55;
}

a {
    color: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px clamp(18px, 4vw, 56px);
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid rgba(216, 222, 232, .9);
    backdrop-filter: blur(12px);
}

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

.brand-mark {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: var(--navy);
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    border-bottom: 4px solid var(--gold);
}

.brand strong,
.brand small {
    display: block;
}

.brand small {
    color: var(--muted);
    font-size: 12px;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
    font-size: 14px;
    font-weight: 700;
}

.nav a {
    text-decoration: none;
    color: #263244;
}

.nav-cta {
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--gold);
    color: #1d1305 !important;
}

.hero {
    position: relative;
    min-height: 720px;
    display: grid;
    align-items: end;
    isolation: isolate;
}

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

.hero-media {
    background-image: url("assets/mobile-field-service.jpg");
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-overlay {
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(11, 18, 32, .94) 0%, rgba(11, 18, 32, .74) 43%, rgba(11, 18, 32, .18) 100%),
        linear-gradient(0deg, rgba(11, 18, 32, .78) 0%, rgba(11, 18, 32, 0) 38%);
}

.hero-content {
    width: min(760px, calc(100% - 36px));
    margin: 0 0 clamp(48px, 8vw, 92px) clamp(18px, 7vw, 96px);
    color: #fff;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.eyebrow.dark {
    color: var(--red);
}

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

h1 {
    max-width: 720px;
    margin-bottom: 18px;
    font-size: clamp(42px, 6vw, 74px);
    line-height: .98;
    letter-spacing: 0;
}

h2 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.05;
    letter-spacing: 0;
    margin-bottom: 16px;
}

h3 {
    margin-bottom: 8px;
    font-size: 18px;
}

.hero-copy {
    max-width: 640px;
    color: rgba(255, 255, 255, .86);
    font-size: 19px;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 18px;
    border: 0;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform .16s ease, background .16s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button.primary {
    background: var(--gold);
    color: #211504;
}

.button.secondary {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .42);
    background: rgba(255, 255, 255, .08);
}

.notice-band {
    padding: 18px clamp(18px, 7vw, 96px);
    background: var(--navy);
    color: #fff;
    border-top: 4px solid var(--gold);
}

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

.split {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: clamp(36px, 6vw, 76px);
    align-items: start;
}

.split > div:first-child p:not(.eyebrow),
.contact-section > div:first-child p:not(.eyebrow),
.about p {
    color: var(--muted);
    font-size: 17px;
}

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

.service-grid article {
    min-height: 154px;
    padding: 22px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
}

.service-grid p {
    margin-bottom: 0;
    color: var(--muted);
}

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

.image-band img {
    width: 100%;
    height: 340px;
    object-fit: cover;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 28px;
}

.section-intro {
    color: var(--muted);
    font-size: 17px;
}

.equipment-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.equipment-list span {
    min-height: 52px;
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border-left: 4px solid var(--gold);
    background: #fff;
    font-weight: 800;
}

.about {
    display: grid;
    grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
    gap: clamp(32px, 6vw, 74px);
    align-items: center;
    background: #fff;
}

.about-photo {
    min-height: 560px;
    background-image: url("assets/line-boring.jpg");
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.proof-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.proof-points div {
    padding: 18px;
    border-radius: 8px;
    background: var(--bg);
    border: 1px solid var(--line);
}

.proof-points strong,
.proof-points span {
    display: block;
}

.proof-points span {
    margin-top: 6px;
    color: var(--muted);
    font-size: 14px;
}

.contact-section {
    display: grid;
    grid-template-columns: minmax(260px, .72fr) minmax(0, 1fr);
    gap: clamp(32px, 6vw, 76px);
    align-items: start;
}

.contact-direct {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.contact-direct a {
    color: var(--navy);
    font-weight: 800;
}

.contact-form {
    padding: clamp(22px, 4vw, 34px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

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

.form-row {
    display: grid;
    gap: 7px;
    margin-bottom: 14px;
}

label {
    color: #263244;
    font-size: 13px;
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 12px;
    border: 1px solid #c8d0dc;
    border-radius: 8px;
    background: var(--field);
    color: var(--ink);
    font: inherit;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(217, 154, 43, .26);
    border-color: var(--gold);
}

.hidden-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.align-end {
    align-items: end;
}

.turnstile-row {
    min-height: 65px;
    margin: 6px 0 14px;
}

.submit {
    width: 100%;
    margin-bottom: 14px;
}

.form-status {
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: 800;
}

.form-status.success {
    background: #e7f7ed;
    color: #155d2d;
}

.form-status.error {
    background: #fff0f0;
    color: #8a1522;
}

.footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 24px clamp(18px, 7vw, 96px);
    background: #0f172a;
    color: rgba(255, 255, 255, .78);
}

.footer p {
    margin: 0;
}

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

@media (max-width: 900px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .nav {
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .hero {
        min-height: 650px;
    }

    .hero-overlay {
        background: linear-gradient(90deg, rgba(11, 18, 32, .94), rgba(11, 18, 32, .52));
    }

    .split,
    .about,
    .contact-section {
        grid-template-columns: 1fr;
    }

    .about-photo {
        min-height: 380px;
    }

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

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

    .nav {
        gap: 14px;
        font-size: 13px;
    }

    .nav-cta {
        padding: 8px 10px;
        white-space: nowrap;
    }

    .hero-content {
        margin-left: 18px;
    }

    h1 {
        font-size: 40px;
    }

    .hero-copy {
        font-size: 17px;
    }

    .service-grid,
    .image-band,
    .equipment-list,
    .proof-points,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .image-band img {
        height: 230px;
    }

    .footer {
        flex-direction: column;
    }
}
