:root {
    --bg: #f4f8fc;
    --surface: #ffffff;
    --surface-alt: #e8f2fa;
    --surface-strong: #0f2840;
    --text: #132538;
    --text-muted: #445f77;
    --border: #c8d8e7;
    --primary: #005f73;
    --primary-dark: #004855;
    --secondary: #13467a;
    --accent: #0d8a4f;
    --radius: 14px;
    --shadow-soft: 0 12px 26px rgba(16, 45, 72, 0.08);
    --shadow-strong: 0 18px 40px rgba(11, 38, 61, 0.15);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: radial-gradient(circle at 10% 0%, #f7fbff 0%, var(--bg) 45%);
    line-height: 1.65;
}

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

a:hover,
a:focus-visible {
    color: #0d3158;
}

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

.container {
    width: min(1140px, calc(100% - 2rem));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
    z-index: 9999;
    background: #fff;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 2px solid var(--secondary);
}

.top-trust-bar {
    background: var(--surface-strong);
    color: #d5e8fb;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.top-trust-bar__inner {
    padding: 0.45rem 0;
}

.top-trust-bar p {
    margin: 0;
    font-size: 0.84rem;
    letter-spacing: 0.01em;
}

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

.site-header__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.85rem 0;
}

.brand a {
    text-decoration: none;
    color: inherit;
    display: inline-flex;
    flex-direction: column;
    gap: 0.12rem;
}

.brand__name {
    font-size: 1.07rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.brand__tagline {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.menu-toggle {
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    padding: 0.5rem 0.7rem;
    border-radius: 8px;
    font-weight: 700;
}

.menu-toggle:focus-visible,
.btn:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.accordion-trigger:focus-visible {
    outline: 3px solid #1b7ac7;
    outline-offset: 2px;
}

.primary-nav {
    grid-column: 1 / -1;
    display: none;
}

.primary-nav.is-open {
    display: block;
}

.menu,
.footer-menu,
.wp-page-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 0.35rem 0 0.2rem;
}

.menu a,
.footer-menu a,
.wp-page-menu a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
}

.header-actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.52rem 0.9rem;
    background: #fff;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
}

.btn-outline:hover {
    border-color: var(--secondary);
    color: var(--secondary);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    line-height: 1;
    padding: 0.78rem 1.15rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

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

.btn-small {
    padding: 0.6rem 0.98rem;
    font-size: 0.94rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #007287 100%);
    color: #fff;
    box-shadow: 0 10px 18px rgba(0, 95, 115, 0.24);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #005e72 100%);
    color: #fff;
}

.btn-secondary {
    border-color: var(--secondary);
    color: var(--secondary);
    background: #fff;
}

.btn-tertiary {
    background: var(--surface-alt);
    border-color: var(--border);
    color: var(--text);
    font-weight: 700;
    padding: 0.6rem 0.9rem;
}

.btn-large {
    padding: 1rem 1.6rem;
    font-size: 1.08rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.section {
    padding: clamp(2.3rem, 5vw, 3.8rem) 0;
}

.section-tight {
    padding-top: 1.2rem;
    padding-bottom: 1.8rem;
}

.section-alt {
    background: linear-gradient(180deg, #eef5fc 0%, var(--surface-alt) 100%);
}

.section-header {
    margin-bottom: 1.2rem;
}

.section-header-center {
    text-align: center;
    max-width: 820px;
    margin-inline: auto;
    margin-bottom: 1.35rem;
}

.section-header h2 {
    margin: 0;
    font-size: clamp(1.55rem, 2.6vw, 2.15rem);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.section-header p {
    margin: 0.55rem 0 0;
    color: var(--text-muted);
}

.hev-hero {
    background: radial-gradient(circle at 100% 0%, #dceffc 0%, #e8f5fa 30%, #f7fcff 72%);
    border-bottom: 1px solid var(--border);
}

.hev-hero__inner {
    padding: clamp(2.8rem, 7vw, 5.2rem) 0;
}

.hev-hero__eyebrow {
    margin: 0;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--secondary);
    font-size: 0.76rem;
}

.hev-hero h1 {
    margin: 0.55rem 0;
    font-size: clamp(2rem, 4.6vw, 3.35rem);
    line-height: 1.08;
    max-width: 15ch;
}

.hev-hero__subtitle {
    max-width: 760px;
    margin: 0;
    font-size: clamp(1.05rem, 2.2vw, 1.34rem);
    color: var(--text-muted);
}

.hev-hero__highlights {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.4rem;
}

.hev-hero__highlights li {
    position: relative;
    padding-left: 1.2rem;
    font-weight: 600;
    color: #1b3f60;
}

.hev-hero__highlights li::before {
    content: "";
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--accent);
    position: absolute;
    left: 0;
    top: 0.53rem;
}

.hev-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.25rem;
}

.hev-hero__note {
    margin: 0.85rem 0 0;
    font-size: 0.9rem;
    color: #3d5d77;
}

.hev-hero__trust-badges {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.hev-hero__trust-badges li {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.35rem 0.72rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
}

.hev-hero__response-time {
    margin: 0.8rem 0 0;
    font-size: 0.88rem;
    color: var(--accent);
    font-weight: 700;
}

.trust-strip {
    display: grid;
    gap: 0.85rem;
}

.trust-strip article,
.steps-grid li,
.card,
.content-wrap,
.accordion-item,
.hev-cta-band,
.hev-disclaimer .container,
.cost-guide-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.trust-strip article {
    padding: 1rem;
}

.trust-strip h2 {
    margin: 0 0 0.3rem;
    font-size: 1.08rem;
}

.steps-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.95rem;
}

.steps-grid li {
    padding: 1.1rem;
}

.steps-grid h3 {
    margin-top: 0;
    margin-bottom: 0.45rem;
    color: var(--secondary);
}

.steps-cta {
    margin-top: 1.5rem;
    text-align: center;
}

.cards-grid {
    display: grid;
    gap: 1rem;
}

.card {
    padding: 1rem;
}

.card h2,
.card h3 {
    margin-top: 0;
    margin-bottom: 0.45rem;
    line-height: 1.25;
}

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

.card-service {
    display: grid;
    gap: 0.75rem;
}

.cost-guide-card {
    padding: 1.2rem;
}

.area-list,
.resource-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.area-list a,
.resource-links a {
    display: block;
    padding: 0.85rem 0.95rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
}

.area-list-enhanced a {
    text-align: center;
}

.hev-lead-form {
    scroll-margin-top: 7rem;
}

.form-eyebrow {
    margin: 0 0 0.3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--secondary);
    font-size: 0.78rem;
    text-align: center;
}

.form-optional {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.required {
    color: #c0392b;
}

.lead-form-points {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: grid;
    gap: 0.45rem;
}

.lead-form-points li {
    background: #edf5fc;
    border: 1px solid #d7e6f3;
    border-radius: 9px;
    padding: 0.55rem 0.75rem;
    font-size: 0.94rem;
    color: #305269;
}

.form-response-time {
    margin: 0 0 1rem;
    text-align: center;
    color: var(--accent);
    font-weight: 700;
}

.quote-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.1rem;
    box-shadow: var(--shadow-soft);
}

.hev-lead-form-compact .quote-form {
    padding-top: 0.9rem;
}

.form-grid {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.form-grid p {
    margin: 0;
}

.form-grid label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 9px;
    padding: 0.66rem 0.7rem;
    font: inherit;
    background: #fff;
}

.form-span-2 {
    grid-column: 1 / -1;
}

.form-note,
.form-error,
.form-success,
.post-meta,
.footer-note {
    color: var(--text-muted);
    margin-top: 0.75rem;
}

.form-error {
    color: #8a2323;
    font-weight: 700;
}

.form-success {
    color: #136a36;
    font-weight: 700;
}

.accordion {
    display: grid;
    gap: 0.7rem;
}

.accordion-item {
    overflow: hidden;
}

.accordion-trigger {
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    color: var(--text);
    font: inherit;
    font-weight: 700;
    padding: 1rem;
    cursor: pointer;
}

.accordion-trigger::after {
    content: "+";
    float: right;
    font-weight: 700;
}

.accordion-trigger[aria-expanded="true"]::after {
    content: "-";
}

.accordion-panel {
    padding: 0 1rem 1rem;
}

.content-wrap {
    padding: 1.2rem;
}

.content-wrap h2,
.content-wrap h3 {
    line-height: 1.25;
}

.content-wrap ul {
    padding-left: 1.2rem;
}

.hev-cta-band {
    padding: 1.7rem;
    border-color: #afc9df;
}

.cta-kicker {
    margin: 0;
    color: var(--secondary);
    text-transform: uppercase;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    font-weight: 800;
}

.hev-cta-band h2 {
    margin-top: 0.4rem;
    margin-bottom: 0.35rem;
}

.cta-actions {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
}

.cta-reassurance {
    margin: 0.8rem 0 0;
    font-size: 0.88rem;
    color: var(--text-muted);
    text-align: center;
}

.hev-disclaimer {
    padding: 2rem 0 2.9rem;
}

.hev-disclaimer h2 {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.hev-disclaimer .container {
    padding: 1.1rem;
    border-left: 5px solid var(--primary);
}

.hev-disclaimer p {
    margin: 0.4rem 0;
}

.site-footer {
    background: #0b1f33;
    color: #d9e8f5;
}

.site-footer a {
    color: #d9e8f5;
}

.site-footer__inner {
    display: grid;
    gap: 1rem;
    padding: 2rem 0;
}

.footer-brand {
    margin: 0 0 0.5rem;
    font-weight: 800;
    color: #fff;
}

.footer-menu,
.wp-page-menu {
    display: grid;
    gap: 0.45rem;
}

.site-footer__base {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.95rem 1rem 1.4rem;
}

.mobile-cta-button {
    position: fixed;
    bottom: 0.9rem;
    left: 0.9rem;
    right: 0.9rem;
    z-index: 95;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 999px;
    padding: 0.92rem;
    box-shadow: var(--shadow-strong);
}

.screen-reader-text {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (min-width: 760px) {
    .menu-toggle {
        display: none;
    }

    .site-header__inner {
        grid-template-columns: auto 1fr auto;
        gap: 1rem;
    }

    .primary-nav {
        display: block;
        grid-column: auto;
    }

    .menu {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
        padding-top: 0;
    }

    .header-actions {
        grid-column: auto;
        justify-content: flex-end;
    }

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

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

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

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

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

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

    .site-footer__inner {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .mobile-cta-button {
        display: none;
    }
}
