:root {
    --ink: #14202b;
    --muted: #5e6b78;
    --bg: #ffffff;
    --soft: #f4f6f8;
    --line: #dfe5ea;
    --brand: #f4b000;
    --brand-dark: #9a6500;
    --navy: #101a24;
    --navy-2: #182636;
    --white: #ffffff;
    --radius: 18px;
    --shadow: 0 18px 50px rgba(16, 26, 36, .12);
    --max: 1180px;
}

* { 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.6;
    font-size: 16px;
}

a { color: inherit; }
img { max-width: 100%; height: auto; }

.container {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
}

.narrow { max-width: 880px; }

.skip-link {
    position: absolute;
    left: -999px;
    top: 8px;
    background: var(--navy);
    color: var(--white);
    padding: 10px 14px;
    z-index: 1000;
}

.skip-link:focus { left: 8px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 82px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--brand);
    color: #171717;
    font-weight: 800;
    letter-spacing: -.5px;
}

.brand-text strong {
    display: block;
    font-size: 1.12rem;
    line-height: 1.1;
}

.brand-text small {
    display: block;
    color: var(--muted);
    font-size: .78rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: .93rem;
}

.site-nav a {
    text-decoration: none;
    padding: 10px 11px;
    border-radius: 999px;
    color: var(--ink);
}

.site-nav a:hover,
.site-nav a.active {
    background: var(--soft);
}

.site-nav .nav-cta {
    background: var(--navy);
    color: var(--white);
    margin-left: 6px;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta.active {
    background: var(--brand);
    color: #171717;
}

.menu-toggle { display: none; }

.hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    padding: clamp(70px, 10vw, 128px) 0;
    background: var(--navy);
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(16,26,36,.92) 0%, rgba(16,26,36,.78) 48%, rgba(16,26,36,.38) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
    gap: 42px;
    align-items: center;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .16em;
    color: var(--brand-dark);
    font-weight: 800;
    font-size: .78rem;
    margin: 0 0 10px;
}

.hero .eyebrow,
.section-dark .eyebrow {
    color: var(--brand);
}

h1, h2, h3 {
    line-height: 1.14;
    margin: 0 0 16px;
}

h1 {
    font-size: clamp(2.3rem, 5vw, 4.6rem);
    letter-spacing: -.045em;
}

h2 {
    font-size: clamp(1.75rem, 3vw, 2.65rem);
    letter-spacing: -.03em;
}

h3 { font-size: 1.24rem; }

p { margin: 0 0 16px; }

.lead {
    font-size: clamp(1.08rem, 2vw, 1.35rem);
    color: rgba(255,255,255,.86);
    max-width: 750px;
}

.page-hero .lead { color: #dbe4ec; }

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--brand);
    color: #151515;
}

.btn-primary:hover { filter: brightness(.96); }

.btn-secondary {
    border-color: rgba(255,255,255,.35);
    color: var(--white);
}

.btn-secondary:hover {
    background: rgba(255,255,255,.1);
}

.btn-light {
    background: var(--white);
    color: var(--navy);
}

.hero-card {
    background: rgba(16,26,36,.72);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(6px);
}

.hero-card h2 { font-size: 1.65rem; }

.check-list,
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-list li,
.feature-list li {
    position: relative;
    padding-left: 28px;
    margin: 0 0 12px;
}

.check-list li::before,
.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .45em;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: inset 0 0 0 3px rgba(0,0,0,.12);
}

.compact li { margin-bottom: 8px; }

.section {
    padding: clamp(58px, 8vw, 92px) 0;
}

.section-muted { background: var(--soft); }

.section-dark {
    background: var(--navy);
    color: var(--white);
}

.section-dark p {
    color: rgba(255,255,255,.78);
}

.two-col {
    display: grid;
    grid-template-columns: minmax(250px, .85fr) minmax(0, 1.15fr);
    gap: 42px;
}

.card-grid {
    display: grid;
    gap: 22px;
    margin-top: 28px;
}

.card-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.location-grid article,
.card-grid article {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: 0 8px 28px rgba(16, 26, 36, .06);
}

.section-muted .card-grid article {
    background: var(--white);
}

.service-card a,
.location-grid a,
.text-link {
    color: var(--brand-dark);
    font-weight: 800;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.cta-band h2 { margin-bottom: 8px; }

.page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 68%, #6a4600 100%);
    color: var(--white);
    padding: clamp(66px, 9vw, 110px) 0;
}

.page-hero h1 { max-width: 920px; }

.quote-form {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(20px, 4vw, 34px);
    box-shadow: var(--shadow);
    margin-top: 24px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

label {
    display: block;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 16px;
}

input,
select,
textarea {
    width: 100%;
    margin-top: 7px;
    border: 1px solid #ccd6df;
    border-radius: 12px;
    padding: 12px 13px;
    font: inherit;
    color: var(--ink);
    background: #fff;
}

textarea { resize: vertical; }

.hidden-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.notice {
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 22px;
    border: 1px solid var(--line);
}

.notice.success {
    background: #edf8ef;
    border-color: #b7dfbd;
}

.notice.warning {
    background: #fff8e1;
    border-color: #f3d36d;
}

.notice.error {
    background: #fdecec;
    border-color: #f0b4b4;
}

.notice h2 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.content-page h2 { margin-top: 30px; }

.content-page ul { padding-left: 22px; }

.content-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
    margin: 30px 0;
    box-shadow: 0 8px 28px rgba(16, 26, 36, .08);
}

.site-footer {
    background: #0b121a;
    color: var(--white);
    padding: 54px 0 24px;
}

.site-footer a { color: var(--white); }

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr 1fr;
    gap: 28px;
}

.footer-brand {
    display: inline-block;
    font-size: 1.35rem;
    font-weight: 900;
    text-decoration: none;
    margin-bottom: 10px;
}

.site-footer h2 {
    font-size: 1rem;
    letter-spacing: .02em;
}

.site-footer p,
.site-footer li {
    color: rgba(255,255,255,.72);
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer li { margin-bottom: 8px; }

.site-footer .small { font-size: .88rem; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    margin-top: 36px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    font-size: .92rem;
}

.footer-bottom p { margin: 0; }

.jotform-wrapper {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-top: 24px;
}

.jotform-embed {
    width: 100%;
    min-height: 980px;
    border: 0;
    display: block;
}

.jotform-placeholder {
    background: var(--white);
    border: 1px dashed #aeb8c2;
    border-radius: var(--radius);
    padding: clamp(22px, 4vw, 34px);
    box-shadow: var(--shadow);
    margin-top: 24px;
}

.jotform-placeholder h2 { margin-bottom: 10px; }

.jotform-placeholder pre {
    white-space: pre-wrap;
    background: #f4f7f9;
    border-radius: 12px;
    padding: 14px;
    overflow-x: auto;
}

.form-note {
    font-size: .95rem;
    margin-top: 12px;
}

@media (max-width: 980px) {
    .menu-toggle {
        display: inline-flex;
        border: 1px solid var(--line);
        background: #fff;
        border-radius: 999px;
        padding: 10px 14px;
        font-weight: 800;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 82px;
        left: 16px;
        right: 16px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        padding: 12px;
        flex-direction: column;
        align-items: stretch;
    }

    .site-nav.open { display: flex; }

    .site-nav a { border-radius: 12px; }

    .site-nav .nav-cta {
        margin-left: 0;
        text-align: center;
    }

    .hero-bg-image {
        object-position: center center;
    }

    .hero-grid,
    .two-col,
    .card-grid.three,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cta-band {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(100% - 24px, var(--max));
    }

    .header-inner { min-height: 72px; }

    .site-nav { top: 72px; }

    .brand-text small { display: none; }

    .hero {
        padding: 58px 0;
    }

    .hero-bg-image {
        object-position: center center;
    }

    .hero-overlay {
        background: linear-gradient(180deg, rgba(16,26,36,.94) 0%, rgba(16,26,36,.86) 55%, rgba(16,26,36,.72) 100%);
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
    }

    .footer-bottom {
        display: block;
    }

    .footer-bottom p + p {
        margin-top: 10px;
    }
}