:root {
    --navy: #12345a;
    --navy-dark: #0b2038;
    --orange: #f47b20;
    --blue: #5db8e8;
    --ink: #152238;
    --muted: #5d6a7a;
    --line: #d9e2ea;
    --soft: #f3f7fa;
    --white: #ffffff;
    --shadow: 0 16px 40px rgba(18, 52, 90, 0.12);
}

* {
    box-sizing: border-box;
}

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

a {
    color: var(--navy);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

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

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

.narrow {
    width: min(780px, calc(100% - 32px));
}

.utility-bar {
    color: var(--white);
    background: var(--navy-dark);
    font-size: 0.92rem;
}

.utility-inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
}

.utility-inner a {
    color: var(--white);
    font-weight: 700;
    text-decoration: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 14px 0;
}

.site-logo img,
.custom-logo-link img {
    display: block;
    width: min(260px, 52vw);
    max-height: 76px;
    object-fit: contain;
}

.primary-nav ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.primary-nav a {
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
}

.primary-nav a:hover {
    color: var(--orange);
}

.menu-toggle {
    display: none;
    min-height: 42px;
    padding: 0 14px;
    color: var(--navy);
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 6px;
    font-weight: 700;
}

.button,
button.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    color: var(--white);
    background: var(--navy);
    border: 0;
    border-radius: 6px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

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

.button-accent {
    background: var(--orange);
}

.button-accent:hover {
    background: #d96616;
}

.hero {
    color: var(--white);
    background:
        linear-gradient(105deg, rgba(11, 32, 56, 0.95), rgba(18, 52, 90, 0.82)),
        radial-gradient(circle at 84% 12%, rgba(93, 184, 232, 0.5), transparent 28%),
        var(--navy);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
    align-items: center;
    gap: 42px;
    min-height: 690px;
    padding: 70px 0;
}

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

h1,
h2,
h3 {
    margin: 0 0 14px;
    color: inherit;
    line-height: 1.1;
}

h1 {
    font-size: clamp(2.35rem, 6vw, 4.7rem);
    max-width: 760px;
}

h2 {
    font-size: clamp(1.65rem, 3vw, 2.55rem);
}

h3 {
    font-size: 1.2rem;
}

.hero-text {
    max-width: 650px;
    margin: 0 0 28px;
    color: #e5eef6;
    font-size: 1.18rem;
}

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

.phone-link {
    color: var(--white);
    font-weight: 900;
    text-decoration: none;
}

.hero-panel,
.quote-panel,
.info-panel {
    padding: 26px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.hero-panel h2 {
    color: var(--navy);
}

.quote-form label {
    display: grid;
    gap: 6px;
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 800;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 16px;
}

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

input,
select,
textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid #bdc9d4;
    border-radius: 6px;
    font: inherit;
}

textarea {
    resize: vertical;
}

.form-note {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 0.82rem;
}

.proof-strip {
    background: var(--soft);
    border-bottom: 1px solid var(--line);
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    padding: 18px 0;
}

.proof-grid span {
    color: var(--navy);
    font-size: 0.88rem;
    font-weight: 900;
}

.section,
.page-hero {
    padding: 72px 0;
}

.page-hero {
    color: var(--white);
    background: linear-gradient(115deg, var(--navy-dark), var(--navy));
}

.page-hero p:not(.eyebrow) {
    color: #e8f0f7;
    font-size: 1.12rem;
}

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

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

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

.card-grid {
    display: grid;
    gap: 18px;
}

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

.service-card,
.post-card {
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(18, 52, 90, 0.08);
}

.service-card h3,
.service-list h2,
.info-panel h2,
.info-panel h3 {
    color: var(--navy);
}

.service-card a {
    color: var(--orange);
    font-weight: 900;
}

.split {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 44px;
    align-items: start;
}

.check-list {
    display: grid;
    gap: 14px;
}

.check-list p {
    margin: 0;
    padding: 16px;
    background: var(--white);
    border-left: 5px solid var(--orange);
    border-radius: 6px;
}

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

.steps div {
    padding: 22px;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.steps span {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 14px;
    color: var(--white);
    background: var(--orange);
    border-radius: 999px;
    font-weight: 900;
}

.final-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
}

.service-list {
    display: grid;
    gap: 20px;
}

.service-list article {
    display: grid;
    grid-template-columns: minmax(220px, 0.7fr) 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(18, 52, 90, 0.08);
}

.service-list ul {
    margin: 0;
}

.city-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.city-grid span {
    padding: 18px;
    color: var(--navy);
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 6px;
    font-weight: 900;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 28px;
}

.page-content h1 {
    color: var(--navy);
}

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

.site-footer {
    padding: 46px 0 20px;
    color: #dbe6ef;
    background: var(--navy-dark);
}

.site-footer a {
    color: var(--white);
}

.site-footer h2 {
    color: var(--white);
    font-size: 1.1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.7fr 1fr;
    gap: 36px;
}

.footer-grid .site-logo img,
.footer-grid .custom-logo-link img {
    padding: 8px;
    background: var(--white);
    border-radius: 6px;
}

.footer-bottom {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.9rem;
}

@media (max-width: 960px) {
    .header-inner {
        grid-template-columns: auto auto;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        justify-self: end;
    }

    .primary-nav,
    .header-cta {
        display: none;
    }

    .primary-nav.is-open {
        display: block;
        grid-column: 1 / -1;
    }

    .primary-nav.is-open ul {
        display: grid;
        justify-content: stretch;
        gap: 0;
        border: 1px solid var(--line);
        border-radius: 8px;
        overflow: hidden;
    }

    .primary-nav.is-open a {
        display: block;
        padding: 13px 14px;
        background: var(--white);
        border-bottom: 1px solid var(--line);
    }

    .hero-grid,
    .split,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        min-height: 0;
        padding: 52px 0;
    }

    .proof-grid,
    .card-grid.three,
    .steps,
    .city-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-list article {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .utility-inner,
    .hero-actions,
    .final-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .form-grid,
    .proof-grid,
    .card-grid.three,
    .steps,
    .city-grid {
        grid-template-columns: 1fr;
    }

    .section,
    .page-hero {
        padding: 52px 0;
    }

    .hero-panel,
    .quote-panel,
    .info-panel,
    .service-card,
    .service-list article {
        padding: 20px;
    }

    .button,
    button.button {
        width: 100%;
    }
}

