:root {
    --navy: #16354b;
    --navy-deep: #10293b;
    --blue: #247da0;
    --blue-light: #e9f4f8;
    --orange: #e3a34e;
    --ink: #243544;
    --muted: #5f6f7c;
    --white: #ffffff;
    --light: #f4f7f9;
    --border: #dce4e9;
    --shadow: 0 12px 34px rgba(16, 41, 59, 0.09);
    --radius: 12px;
    --container: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--blue);
    text-decoration: none;
}

a:hover {
    color: var(--navy-deep);
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 4px;
}

h1, h2, h3 {
    color: var(--navy-deep);
    line-height: 1.2;
    margin-top: 0;
}

h1 {
    font-size: clamp(2.25rem, 5vw, 4rem);
    letter-spacing: -0.04em;
}

h2 {
    font-size: clamp(1.7rem, 3vw, 2.55rem);
    letter-spacing: -0.025em;
}

h3 {
    font-size: 1.25rem;
}

p {
    margin-top: 0;
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 8px;
    z-index: 2000;
    padding: 10px 16px;
    color: var(--white);
    background: var(--navy);
}

.skip-link:focus {
    left: 8px;
}

.emergency-bar {
    color: var(--white);
    background: var(--navy-deep);
    font-size: 0.87rem;
}

.emergency-bar-inner {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-block: 7px;
}

.emergency-link {
    color: #f5c982;
    font-weight: 700;
    white-space: nowrap;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 18px rgba(16, 41, 59, 0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 86px;
    gap: 26px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--navy);
    flex-shrink: 0;
}

.brand:hover {
    color: var(--navy);
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    color: var(--white);
    background: var(--navy);
    border-bottom: 4px solid var(--orange);
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text strong {
    font-size: 1.45rem;
    letter-spacing: -0.04em;
}

.brand-text > span {
    margin-top: 5px;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.2em;
}

.primary-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(14px, 2vw, 28px);
}

.primary-nav a {
    color: var(--ink);
    font-size: 0.94rem;
    font-weight: 700;
    white-space: nowrap;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
    color: var(--blue);
}

.primary-nav .nav-contact {
    padding: 11px 17px;
    color: var(--white);
    background: var(--navy);
    border-radius: 6px;
}

.primary-nav .nav-contact:hover {
    color: var(--white);
    background: var(--blue);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--navy);
}

.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 590px;
    overflow: hidden;
    color: var(--white);
    background: var(--navy-deep);
}

.hero-image,
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-image {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #29495b;
}

.hero-overlay {
    background: linear-gradient(
        90deg,
        rgba(12, 32, 46, 0.94) 0%,
        rgba(12, 32, 46, 0.79) 54%,
        rgba(12, 32, 46, 0.25) 100%
    );
}

.hero-content {
    padding-block: 80px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero .eyebrow,
.cta-section .eyebrow {
    color: #f5c982;
}

.hero h1 {
    max-width: 820px;
    margin-bottom: 22px;
    color: var(--white);
}

.hero-lead {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(1.05rem, 1.6vw, 1.22rem);
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 21px;
    border: 2px solid transparent;
    border-radius: 6px;
    font: inherit;
    font-weight: 800;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

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

.button-primary {
    color: var(--white);
    background: var(--blue);
}

.button-primary:hover {
    color: var(--white);
    background: #1b6888;
}

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

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

.button-outline {
    color: var(--white);
    background: transparent;
    border-color: rgba(255, 255, 255, 0.75);
}

.button-outline:hover {
    color: var(--navy);
    background: var(--white);
}

.button-light {
    color: var(--navy);
    background: var(--white);
}

.button-light:hover {
    color: var(--navy);
    background: #edf4f7;
}

.hero-license {
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.88rem;
}

.trust-strip {
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding-block: 25px;
}

.trust-grid > div {
    display: flex;
    flex-direction: column;
    padding-left: 17px;
    border-left: 3px solid var(--orange);
}

.trust-grid strong {
    color: var(--navy);
    font-size: 0.96rem;
}

.trust-grid span {
    color: var(--muted);
    font-size: 0.86rem;
}

.section {
    padding-block: 82px;
}

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

.section-light {
    background: var(--light);
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-heading h2 {
    margin-bottom: 16px;
}

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

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

.service-card,
.resource-card,
.info-card {
    padding: 29px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 5px 18px rgba(16, 41, 59, 0.035);
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-card p,
.resource-card p,
.info-card p {
    color: var(--muted);
}

.card-icon {
    display: grid;
    place-items: center;
    width: 45px;
    height: 45px;
    margin-bottom: 23px;
    color: var(--navy);
    background: #edf4f7;
    border-radius: 8px;
    font-weight: 800;
}

.service-card h3,
.resource-card h3 {
    margin-bottom: 12px;
}

.service-card p {
    flex: 1;
}

.text-link {
    display: inline-block;
    margin-top: 7px;
    color: var(--blue);
    font-weight: 800;
}

.text-link::after {
    content: " →";
}

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

.center-action {
    display: flex;
    justify-content: center;
    margin-top: 38px;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
    gap: 60px;
}

.split-copy > p {
    color: var(--muted);
}

.process-panel,
.service-area-panel {
    padding: 34px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.process-panel h3,
.service-area-panel h3 {
    margin-bottom: 27px;
}

.process-list {
    display: grid;
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.process-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.process-list li > span {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    color: var(--white);
    background: var(--blue);
    border-radius: 50%;
    font-weight: 800;
}

.process-list strong {
    display: block;
    color: var(--navy);
}

.process-list p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 0.94rem;
}

.small-note {
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 0.84rem;
}

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

.resource-card {
    padding: 29px;
}

.resource-label {
    display: inline-block;
    margin-bottom: 13px;
    color: #875514;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.resource-card p {
    margin-bottom: 10px;
}

.cta-section {
    padding-block: 64px;
    color: var(--white);
    background: var(--navy);
}

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

.cta-inner h2 {
    margin-bottom: 13px;
    color: var(--white);
}

.cta-inner p {
    max-width: 680px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.84);
}

.cta-actions {
    flex-shrink: 0;
    margin-top: 0;
}

.page-hero {
    padding-block: 75px;
    background: linear-gradient(120deg, #eaf2f6, #f8fafb);
    border-bottom: 1px solid var(--border);
}

.page-hero h1 {
    max-width: 850px;
    margin-bottom: 17px;
}

.page-hero p {
    max-width: 760px;
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 1.08rem;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--muted);
    font-size: 0.88rem;
}

.breadcrumbs a {
    font-weight: 700;
}

.narrow-content {
    max-width: 850px;
}

.narrow-content > p {
    color: var(--muted);
}

.notice-panel,
.disclaimer-panel {
    margin-top: 28px;
    padding: 24px;
    background: #edf5f8;
    border-left: 4px solid var(--blue);
    border-radius: 5px;
}

.notice-panel p:last-child,
.disclaimer-panel p:last-child {
    margin-bottom: 0;
}

.three-column-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.info-card {
    box-shadow: none;
}

.info-card h3 {
    margin-bottom: 13px;
}

.info-card p {
    margin-bottom: 0;
}

.check-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding-left: 22px;
}

.check-list li::marker {
    color: var(--blue);
}

.service-detail-list {
    display: grid;
    gap: 0;
}

.service-detail {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 28px;
    padding: 42px 0;
    border-bottom: 1px solid var(--border);
    scroll-margin-top: 110px;
}

.service-detail:first-child {
    padding-top: 0;
}

.service-detail:last-child {
    border-bottom: 0;
}

.detail-number {
    color: var(--blue);
    font-size: 2.2rem;
    font-weight: 800;
}

.service-detail h2 {
    margin-bottom: 17px;
    font-size: 1.75rem;
}

.service-detail p {
    max-width: 850px;
    color: var(--muted);
}

.resource-index {
    padding: 30px;
    margin-bottom: 48px;
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.resource-index h2 {
    margin-bottom: 10px;
    font-size: 1.7rem;
}

.resource-index p {
    color: var(--muted);
}

.resource-index-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.resource-index-links a {
    padding: 12px 15px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-weight: 700;
}

.resource-index-links a:hover {
    border-color: var(--blue);
}

.resource-article {
    max-width: 900px;
    padding: 35px 0 42px;
    margin: 0 auto;
    border-bottom: 1px solid var(--border);
    scroll-margin-top: 110px;
}

.resource-article h2 {
    margin-bottom: 18px;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.resource-article h3 {
    margin-top: 27px;
    margin-bottom: 12px;
    font-size: 1.12rem;
}

.resource-article p,
.resource-article li {
    color: var(--muted);
}

.resource-article li {
    padding-left: 5px;
    margin-bottom: 8px;
}

.resource-article li::marker {
    color: var(--blue);
}

.resource-article ol,
.resource-article ul {
    padding-left: 25px;
}

.resource-article .notice-panel p {
    color: var(--ink);
}

.source-link {
    padding-top: 12px;
    font-size: 0.9rem;
}

.source-link a {
    font-weight: 700;
    text-decoration: underline;
}

.disclaimer-panel {
    max-width: 900px;
    margin: 42px auto 0;
}

.disclaimer-panel h2 {
    font-size: 1.45rem;
}

.site-footer {
    color: rgba(255, 255, 255, 0.82);
    background: #10293b;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 0.9fr;
    gap: 38px;
    padding-block: 58px;
}

.brand-footer {
    margin-bottom: 22px;
    color: var(--white);
}

.brand-footer:hover {
    color: var(--white);
}

.brand-footer .brand-mark {
    color: var(--navy);
    background: #f5c982;
    border-bottom-color: var(--white);
}

.brand-footer .brand-text strong {
    color: var(--white);
}

.footer-brand > p,
.footer-column p {
    font-size: 0.91rem;
}

.footer-brand > p {
    max-width: 340px;
}

.footer-brand .license {
    margin-top: 23px;
    padding-top: 19px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-column h2 {
    margin-bottom: 22px;
    color: var(--white);
    font-size: 1.05rem;
    letter-spacing: 0;
}

.footer-column p {
    margin-bottom: 19px;
}

.footer-column a {
    display: block;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.82);
    overflow-wrap: anywhere;
}

.footer-column a:hover {
    color: #f5c982;
}

.footer-column strong {
    color: var(--white);
}

.footer-note {
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.82rem !important;
}

.phone-number {
    color: inherit;
}

.call-button.is-desktop {
    opacity: 0.88;
    cursor: default;
}

.footer-bottom {
    background: #0b2030;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-block: 17px;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
}

@media (max-width: 1000px) {
    .header-inner {
        gap: 15px;
    }

    .primary-nav {
        gap: 14px;
    }

    .primary-nav a {
        font-size: 0.87rem;
    }

    .brand-text strong {
        font-size: 1.25rem;
    }

    .brand-mark {
        width: 43px;
        height: 43px;
    }

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

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

    .cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 760px) {
    html {
        scroll-padding-top: 80px;
    }

    .container {
        width: min(100% - 30px, var(--container));
    }

    .emergency-bar-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
        padding-block: 8px;
    }

    .emergency-link {
        white-space: normal;
    }

    .header-inner {
        min-height: 75px;
    }

    .nav-toggle {
        display: block;
        flex-shrink: 0;
    }

    .primary-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: 12px 20px 20px;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 15px 22px rgba(16, 41, 59, 0.12);
    }

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

    .primary-nav a {
        padding: 13px 5px;
        border-bottom: 1px solid var(--border);
        font-size: 1rem;
    }

    .primary-nav .nav-contact {
        margin-top: 12px;
        padding: 12px 15px;
        text-align: center;
        border: 0;
    }

    .hero {
        min-height: 540px;
    }

    .hero-overlay {
        background: rgba(12, 32, 46, 0.78);
    }

    .hero-content {
        padding-block: 65px;
    }

    .hero-actions,
    .cta-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .button,
    .cta-actions .button {
        width: 100%;
    }

    .trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 15px;
    }

    .section {
        padding-block: 60px;
    }

    .section-heading {
        margin-bottom: 30px;
        text-align: left;
    }

    .service-grid,
    .resource-grid,
    .three-column-grid,
    .split-layout {
        grid-template-columns: 1fr;
    }

    .split-layout {
        gap: 30px;
    }

    .service-card,
    .resource-card,
    .info-card {
        padding: 24px;
    }

    .process-panel,
    .service-area-panel {
        padding: 25px;
    }

    .page-hero {
        padding-block: 55px;
    }

    .service-detail {
        grid-template-columns: 46px minmax(0, 1fr);
        gap: 15px;
        padding-block: 30px;
    }

    .detail-number {
        font-size: 1.5rem;
    }

    .service-detail h2 {
        font-size: 1.45rem;
    }

    .resource-index {
        padding: 22px;
    }

    .resource-index-links {
        grid-template-columns: 1fr;
    }

    .resource-article {
        padding-block: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-block: 42px;
    }

    .footer-bottom-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

.phone-number {
    color: inherit;
    text-decoration: none;
}

.footer-column .phone-number:hover {
    color: #f5c982;
    text-decoration: underline;
}

.footer-column .phone-number:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 4px;
}




/* ==========================================
   SCROLL-LINKED CONTENT MOVEMENT
   ========================================== */

.scroll-motion {
    --motion-x: 0px;
    --motion-y: 0px;
    --motion-opacity: 1;

    opacity: var(--motion-opacity);

    transform: translate3d(
        var(--motion-x),
        var(--motion-y),
        0
    );

    will-change: transform, opacity;
}

/* Keep the hero stationary. */

.hero {
    transform: none;
}

/* Keep the header and navigation independent. */

.site-header,
.emergency-bar {
    transform: none !important;
}

/* Mobile: reduce the amount of movement. */

@media (max-width: 760px) {
    .scroll-motion {
        will-change: auto;
    }
}

/* Accessibility. */

@media (prefers-reduced-motion: reduce) {
    .scroll-motion {
        transform: none !important;
        opacity: 1 !important;
        will-change: auto;
    }
}
