/* Unified marketing overrides for shared buttons and full-bleed hero imagery. */

body:not(.estimate-page):not(.consultation-page) {
    --cf-cta-cluster-width: min(80vw, calc(100vw - 2rem));
    --cf-hero-readable-width: min(100%, 42rem);
}

button,
input,
textarea,
select {
    font-family: var(--body);
}

nav .btn.btn-nav-estimate,
.hero-actions .btn.btn-gold,
.cta-buttons .btn.btn-gold {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy-dark);
}

.logo .logo-mark {
    width: auto;
    height: clamp(3.35rem, 5vw, 4.35rem);
    display: block;
    flex: 0 0 auto;
    object-fit: contain;
}

.logo .logo-picture,
.hero-brand-picture,
.cta-brand-picture,
.standalone-logo-picture {
    display: block;
    line-height: 0;
}

.logo .logo-picture {
    flex: 0 0 auto;
}

.logo .logo-text {
    display: none !important;
}

nav .btn,
.hero-actions .btn,
.cta-buttons .btn,
.homepage-intake-launcher-actions .btn,
.homepage-intake-footer .btn,
.homepage-intake-results-actions .btn {
    box-shadow:
        0 5px 0 rgba(8, 18, 29, 0.24),
        0 14px 24px rgba(18, 40, 64, 0.14);
    transform: translateY(0);
}

nav .btn:hover,
.hero-actions .btn:hover,
.cta-buttons .btn:hover,
.homepage-intake-launcher-actions .btn:hover,
.homepage-intake-footer .btn:hover,
.homepage-intake-results-actions .btn:hover {
    box-shadow:
        0 7px 0 rgba(8, 18, 29, 0.22),
        0 18px 30px rgba(18, 40, 64, 0.18);
}

nav .btn:active,
.hero-actions .btn:active,
.cta-buttons .btn:active,
.homepage-intake-launcher-actions .btn:active,
.homepage-intake-footer .btn:active,
.homepage-intake-results-actions .btn:active {
    box-shadow:
        0 2px 0 rgba(8, 18, 29, 0.24),
        0 8px 16px rgba(18, 40, 64, 0.14);
    transform: translateY(2px);
}

.homepage-intake-footer .btn:disabled,
.homepage-intake-results-actions .btn:disabled {
    box-shadow: none;
    transform: none;
}

nav .btn.btn-nav-estimate:hover,
.hero-actions .btn.btn-gold:hover,
.cta-buttons .btn.btn-gold:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    color: var(--navy-dark);
}

nav .btn.btn-primary,
.hero-actions .btn.btn-primary,
.cta-buttons .btn.btn-primary,
.homepage-intake-launcher-actions .btn.btn-primary {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

nav .btn.btn-primary:hover,
.hero-actions .btn.btn-primary:hover,
.cta-buttons .btn.btn-primary:hover,
.homepage-intake-launcher-actions .btn.btn-primary:hover {
    background: var(--navy-light);
    border-color: var(--navy-light);
    color: var(--white);
}

nav .btn.btn-primary.btn-on-dark,
.hero-actions .btn.btn-primary.btn-on-dark,
.cta-buttons .btn.btn-primary.btn-on-dark,
.homepage-intake-launcher-actions .btn.btn-primary {
    border-color: rgba(173, 186, 199, 0.72);
}

nav .btn.btn-primary.btn-on-dark:hover,
.hero-actions .btn.btn-primary.btn-on-dark:hover,
.cta-buttons .btn.btn-primary.btn-on-dark:hover,
.homepage-intake-launcher-actions .btn.btn-primary:hover {
    border-color: rgba(173, 186, 199, 0.92);
}

nav .btn.btn-outline,
.btn-on-dark.btn-outline {
    background: var(--white);
    border-color: var(--white);
    color: var(--navy);
}

nav .btn.btn-outline:hover,
.btn-on-dark.btn-outline:hover {
    background: var(--snow);
    border-color: var(--white);
    color: var(--navy-dark);
}

nav .btn.btn-outline[data-contact-chooser],
.hero-actions .btn.btn-outline[data-contact-chooser],
.homepage-intake-launcher-actions .btn.btn-outline[data-contact-chooser],
.cta-buttons .btn.btn-outline[data-contact-chooser],
.btn-on-dark.btn-outline[data-contact-chooser] {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.92);
    color: var(--white);
}

nav .btn.btn-outline[data-contact-chooser]:hover,
.hero-actions .btn.btn-outline[data-contact-chooser]:hover,
.homepage-intake-launcher-actions .btn.btn-outline[data-contact-chooser]:hover,
.cta-buttons .btn.btn-outline[data-contact-chooser]:hover,
.btn-on-dark.btn-outline[data-contact-chooser]:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
    color: var(--white);
}

.nav-cta-label-desktop {
    display: inline;
}

.nav-cta-label-tablet {
    display: none;
}

.nav-right {
    min-width: 0;
}

.btn.btn-nav-cta {
    --nav-cta-gap: 0.375rem;
    min-height: 46px;
    border-width: 2px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--nav-cta-gap);
    flex-wrap: nowrap;
}

.btn.btn-nav-cta .hp-icon {
    width: 1.05rem;
    height: 1.05rem;
    flex: 0 0 auto;
}

.btn.btn-nav-cta .nav-cta-label {
    white-space: nowrap;
    line-height: 1;
}

.hero-actions,
.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

body:not(.estimate-page):not(.consultation-page) .hero-actions,
body:not(.estimate-page):not(.consultation-page) .cta-buttons {
    width: var(--cf-cta-cluster-width);
    inline-size: var(--cf-cta-cluster-width);
    max-width: none;
    max-inline-size: none;
    margin: 0 auto;
    margin-inline: auto;
    position: static;
    left: auto;
    right: auto;
    inset-inline: auto;
    transform: none;
    flex-direction: column;
    align-items: stretch;
    justify-self: center;
    align-self: center;
    box-sizing: border-box;
}

body:not(.estimate-page):not(.consultation-page) .hero-actions .btn,
body:not(.estimate-page):not(.consultation-page) .cta-buttons .btn {
    width: 100%;
    min-width: 0;
    min-height: 56px;
    justify-content: center;
}

.cta-buttons .btn {
    width: 100%;
    min-width: 0;
    min-height: 56px;
}

body:not(.estimate-page):not(.consultation-page) .hero-review,
body:not(.estimate-page):not(.consultation-page) .hero-review--hero,
body:not(.estimate-page):not(.consultation-page) .hero-review--cta,
body:not(.estimate-page):not(.consultation-page) .hero:has(.hero-page-icon) .hero-review,
body:not(.estimate-page):not(.consultation-page) .hero:has(.section-icon) .hero-review {
    width: var(--cf-cta-cluster-width);
    inline-size: var(--cf-cta-cluster-width);
    max-width: none;
    max-inline-size: none;
    box-sizing: border-box;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
    position: static;
    left: auto;
    right: auto;
    inset-inline: auto;
    transform: none;
    justify-self: center;
    align-self: center;
}

body:not(.estimate-page):not(.consultation-page) .hero-review {
    container-type: inline-size;
}

body:not(.estimate-page):not(.consultation-page) .hero-review-name {
    color: var(--steel);
    font-weight: 700;
    white-space: nowrap;
}

body:not(.estimate-page):not(.consultation-page) .hero-review--hero .hero-review-name {
    color: rgba(255, 255, 255, 0.92);
}

@container (max-width: 42rem) {
    .hero-review .hero-review-divider--quote {
        display: none;
    }

    .hero-review .hero-review-quote {
        flex: 0 0 100%;
    }
}

body:not(.estimate-page):not(.consultation-page) .hero-review.hero-review--quote-stacked .hero-review-divider--quote {
    display: none;
}

body:not(.estimate-page):not(.consultation-page) .hero-review.hero-review--quote-stacked .hero-review-quote {
    flex: 0 0 100%;
}

body:not(.estimate-page):not(.consultation-page) .homepage-intake-launcher-actions {
    width: var(--cf-cta-cluster-width);
    inline-size: var(--cf-cta-cluster-width);
    max-width: none;
    max-inline-size: none;
    margin-left: auto;
    margin-right: auto;
    margin-inline: auto;
    position: static;
    left: auto;
    right: auto;
    inset-inline: auto;
    transform: none;
    justify-self: center;
    align-self: center;
    box-sizing: border-box;
}

body:not(.estimate-page):not(.consultation-page) .social-icons {
    width: var(--cf-cta-cluster-width);
    inline-size: var(--cf-cta-cluster-width);
    max-width: none;
    max-inline-size: none;
    margin-left: auto;
    margin-right: auto;
    margin-inline: auto;
    position: static;
    left: auto;
    right: auto;
    inset-inline: auto;
    transform: none;
    justify-self: center;
    align-self: center;
    box-sizing: border-box;
}

body:not(.estimate-page):not(.consultation-page) .footer-quote {
    width: var(--cf-cta-cluster-width);
    inline-size: var(--cf-cta-cluster-width);
    max-width: none;
    max-inline-size: none;
    margin-left: auto;
    margin-right: auto;
    margin-inline: auto;
    position: static;
    left: auto;
    right: auto;
    inset-inline: auto;
    transform: none;
    justify-self: center;
    align-self: center;
    box-sizing: border-box;
}

body:not(.estimate-page):not(.consultation-page) {
    --cf-section-y: clamp(3.5rem, 5.2vw, 5rem);
    --cf-section-stack-gap: clamp(1.35rem, 2.3vw, 1.75rem);
    --cf-hero-stack-gap: clamp(0.8rem, 1.6vw, 1rem);
    --cf-hero-picture-y: var(--cf-section-y);
    --cf-hero-logo-optical-shift: clamp(2.15rem, 3.35vw, 2.65rem);
    --cf-footer-pad-top: var(--cf-section-y);
    --cf-footer-pad-bottom: var(--cf-section-y);
    --cf-footer-stack-gap: clamp(2rem, 3.7vw, 2.75rem);
}

body:not(.estimate-page):not(.consultation-page) main > section:not(#hero),
body:not(.estimate-page):not(.consultation-page) .cf-marketing-hub-section,
body:not(.estimate-page):not(.consultation-page) .cf-crime-hub-section {
    padding-top: var(--cf-section-y) !important;
    padding-bottom: var(--cf-section-y) !important;
}

body:not(.estimate-page):not(.consultation-page) main > section:not(#hero) > .section-container > .section-header,
body:not(.estimate-page):not(.consultation-page) main > section:not(#hero) > .section-header,
body:not(.estimate-page):not(.consultation-page) .cf-marketing-hub-section .section-header,
body:not(.estimate-page):not(.consultation-page) .cf-crime-hub-section .section-header {
    display: grid !important;
    gap: var(--cf-section-stack-gap) !important;
    margin: 0 auto !important;
}

body:not(.estimate-page):not(.consultation-page) main > section:not(#hero) > .section-container > .section-header:not(:last-child),
body:not(.estimate-page):not(.consultation-page) main > section:not(#hero) > .section-header:not(:last-child),
body:not(.estimate-page):not(.consultation-page) .cf-marketing-hub-section .section-header:not(:last-child),
body:not(.estimate-page):not(.consultation-page) .cf-crime-hub-section .section-header:not(:last-child) {
    margin-bottom: var(--cf-section-stack-gap) !important;
}

body:not(.estimate-page):not(.consultation-page) main > section:not(#hero) .section-icon--banner,
body:not(.estimate-page):not(.consultation-page) .cf-marketing-hub-section .section-icon--banner,
body:not(.estimate-page):not(.consultation-page) .cf-crime-hub-section .section-icon--banner,
body:not(.estimate-page):not(.consultation-page) .service-area .section-icon--map {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

body:not(.estimate-page):not(.consultation-page) main > section:not(#hero) .section-icon.section-icon--banner,
body:not(.estimate-page):not(.consultation-page) .cf-marketing-hub-section .section-icon.section-icon--banner,
body:not(.estimate-page):not(.consultation-page) .cf-crime-hub-section .section-icon.section-icon--banner {
    width: 100% !important;
    height: clamp(13rem, 24vw, 19rem) !important;
    min-height: clamp(13rem, 24vw, 19rem) !important;
    display: block !important;
    border-radius: 28px !important;
    overflow: hidden !important;
    box-shadow: 0 18px 42px rgba(18, 40, 64, 0.16) !important;
    background: rgba(18, 40, 64, 0.08) !important;
    position: relative !important;
}

body:not(.estimate-page):not(.consultation-page) main > section:not(#hero) .section-icon.section-icon--banner::after,
body:not(.estimate-page):not(.consultation-page) .cf-marketing-hub-section .section-icon.section-icon--banner::after,
body:not(.estimate-page):not(.consultation-page) .cf-crime-hub-section .section-icon.section-icon--banner::after {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    pointer-events: none !important;
    background:
        linear-gradient(180deg, rgba(8, 18, 29, 0.08) 0%, rgba(8, 18, 29, 0.54) 60%, rgba(8, 18, 29, 0.8) 100%),
        linear-gradient(135deg, rgba(18, 40, 64, 0.14) 0%, rgba(201, 162, 39, 0.1) 100%) !important;
}

body:not(.estimate-page):not(.consultation-page) main > section:not(#hero) .section-icon.section-icon--banner .section-icon-image,
body:not(.estimate-page):not(.consultation-page) .cf-marketing-hub-section .section-icon.section-icon--banner .section-icon-image,
body:not(.estimate-page):not(.consultation-page) .cf-crime-hub-section .section-icon.section-icon--banner .section-icon-image {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
}

body:not(.estimate-page):not(.consultation-page) main > section:not(#hero) .section-icon.section-icon--banner .section-title--banner,
body:not(.estimate-page):not(.consultation-page) .cf-marketing-hub-section .section-icon.section-icon--banner .section-title--banner,
body:not(.estimate-page):not(.consultation-page) .cf-crime-hub-section .section-icon.section-icon--banner .section-title--banner {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: min(calc(100% - 3rem), 38rem) !important;
    z-index: 2 !important;
    margin: 0 !important;
    color: var(--white) !important;
    text-align: center !important;
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.35) !important;
}

body:not(.estimate-page):not(.consultation-page) main > section:not(#hero) .section-title--banner::before,
body:not(.estimate-page):not(.consultation-page) .cf-marketing-hub-section .section-title--banner::before,
body:not(.estimate-page):not(.consultation-page) .cf-crime-hub-section .section-title--banner::before {
    content: none !important;
}

body:not(.estimate-page):not(.consultation-page) main > section:not(#hero) .section-subtitle,
body:not(.estimate-page):not(.consultation-page) .cf-marketing-hub-section .section-subtitle,
body:not(.estimate-page):not(.consultation-page) .cf-crime-hub-section .section-subtitle {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

body:not(.estimate-page):not(.consultation-page) .section-copy {
    display: grid;
    gap: 1rem;
    width: min(100%, 54rem);
    margin: 0 auto;
    color: var(--text);
    text-align: left;
}

body:not(.estimate-page):not(.consultation-page) .section-copy p,
body:not(.estimate-page):not(.consultation-page) .section-copy li {
    margin: 0;
    color: var(--text);
    font-size: clamp(1rem, 1.5vw, 1.08rem);
    line-height: 1.72;
}

body:not(.estimate-page):not(.consultation-page) .section-copy p + p {
    margin-top: 0.25rem;
}

body:not(.estimate-page):not(.consultation-page) .section-copy ul {
    display: grid;
    gap: 0.7rem;
    width: min(100%, 48rem);
    margin: 0 auto;
    padding-left: 1.2rem;
}

body:not(.estimate-page):not(.consultation-page) .section-copy strong,
body:not(.estimate-page):not(.consultation-page) .section-copy h3 {
    color: var(--navy);
    font-weight: 800;
}

body:not(.estimate-page):not(.consultation-page) .section-copy a {
    color: var(--navy);
    font-weight: 700;
}

body:not(.estimate-page):not(.consultation-page) .section-copy .cf-article-byline,
body:not(.estimate-page):not(.consultation-page) .section-copy .cf-inline-sources {
    color: var(--muted);
    font-size: 0.95rem;
    text-align: center;
}

body:not(.estimate-page):not(.consultation-page) .section-copy .cf-education-list {
    display: grid;
    gap: 1rem;
}

body:not(.estimate-page):not(.consultation-page) .section-copy .cf-resource-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

body:not(.estimate-page):not(.consultation-page) .section-copy .cf-resource-card,
body:not(.estimate-page):not(.consultation-page) .section-copy .cf-faq-item,
body:not(.estimate-page):not(.consultation-page) .section-copy .guide-callout {
    background: var(--white);
    border: 1px solid rgba(13, 45, 82, 0.1);
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(18, 40, 64, 0.08);
    padding: 1rem;
}

body:not(.estimate-page):not(.consultation-page) .section-copy .cf-resource-card h3,
body:not(.estimate-page):not(.consultation-page) .section-copy .cf-faq-item h3 {
    margin: 0 0 0.5rem;
}

body:not(.estimate-page):not(.consultation-page) .section-copy .guide-callout {
    line-height: 1.65;
    text-align: center;
}

body:not(.estimate-page):not(.consultation-page) main > section.reviews .section-copy .cf-resource-card,
body:not(.estimate-page):not(.consultation-page) main > section.reviews .section-copy .cf-faq-item,
body:not(.estimate-page):not(.consultation-page) main > section.reviews .section-copy .guide-callout {
    background: rgba(255, 255, 255, 0.82);
}

@media (max-width: 820px) {
    body:not(.estimate-page):not(.consultation-page) .section-copy .cf-resource-grid {
        grid-template-columns: 1fr;
    }
}

body:not(.estimate-page):not(.consultation-page) main > section:not(#hero) .section-actions,
body:not(.estimate-page):not(.consultation-page) .cf-marketing-hub-section .section-actions,
body:not(.estimate-page):not(.consultation-page) .cf-crime-hub-section .section-actions {
    margin-top: 0 !important;
}

body:not(.estimate-page):not(.consultation-page) main > section:not(#hero) .section-actions .btn,
body:not(.estimate-page):not(.consultation-page) .cf-marketing-hub-section .section-actions .btn,
body:not(.estimate-page):not(.consultation-page) .cf-crime-hub-section .section-actions .btn {
    width: min(100%, 20rem);
    min-height: 52px;
    justify-content: center;
}

body:not(.estimate-page):not(.consultation-page) footer,
footer.site-footer--legal-only {
    display: grid;
    justify-items: center;
    gap: var(--cf-footer-stack-gap, clamp(2rem, 3.7vw, 2.75rem));
    padding: var(--cf-footer-pad-top, clamp(3.5rem, 5.2vw, 5rem)) var(--gf-pad-x, clamp(1.25rem, 4vw, 4rem)) var(--cf-footer-pad-bottom, clamp(3.5rem, 5.2vw, 5rem)) !important;
}

body:not(.estimate-page):not(.consultation-page) footer .social-icons,
body:not(.estimate-page):not(.consultation-page) footer .footer-quote,
body:not(.estimate-page):not(.consultation-page) footer .footer-bottom,
footer.site-footer--legal-only .footer-bottom {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

body:not(.estimate-page):not(.consultation-page) footer .footer-quote {
    padding-top: 0 !important;
}

body:not(.estimate-page):not(.consultation-page) footer .footer-bottom,
footer.site-footer--legal-only .footer-bottom {
    width: var(--cf-cta-cluster-width, min(80vw, calc(100vw - 2rem)));
    inline-size: var(--cf-cta-cluster-width, min(80vw, calc(100vw - 2rem)));
    max-width: none;
    max-inline-size: none;
    box-sizing: border-box;
    padding-top: var(--cf-section-stack-gap, clamp(1.35rem, 2.3vw, 1.75rem)) !important;
}

.cta-content--steps {
    display: grid;
    gap: var(--cf-section-stack-gap, 1.25rem);
    margin-top: 0 !important;
    place-items: center;
    width: var(--cf-cta-cluster-width);
    inline-size: var(--cf-cta-cluster-width);
    max-width: none;
    max-inline-size: none;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    margin-inline: auto;
    position: relative;
    left: auto;
    right: auto;
    inset-inline: auto;
    transform: none;
}

.cta-content--steps > .cta-brand-picture {
    justify-self: center;
    margin: 0;
}

.cta-brand-mark {
    display: block;
    width: clamp(7.5rem, 12vw, 10rem);
    max-width: min(55vw, 10rem);
    height: auto;
    margin: 0 auto;
    filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.36));
}

.cta-content--steps > .cta-buttons,
.cta-content--steps > .hero-review.hero-review--cta {
    width: 100%;
    inline-size: 100%;
    max-width: none;
    max-inline-size: none;
    justify-self: center;
    align-self: center;
}

.cta-content--steps .hero-review.hero-review--cta {
    order: 2;
    justify-self: center;
    margin: 0 auto;
    background: #f0f3f6;
    border-color: rgba(173, 186, 199, 0.75);
    color: var(--navy);
}

.cta-content--steps .hero-review.hero-review--cta .hero-review-divider,
.cta-content--steps .hero-review.hero-review--cta .hero-review-name,
.cta-content--steps .hero-review.hero-review--cta .hero-review-quote {
    color: var(--steel);
}

body:not(.estimate-page):not(.consultation-page) main > section.services:not(#hero):not(.cta-section) {
    background: var(--white) !important;
}

body:not(.estimate-page):not(.consultation-page) main > section.reviews:not(#hero):not(.cta-section) {
    background: var(--snow) !important;
}

.cta-section {
    isolation: isolate;
    background: var(--navy-dark) !important;
    display: grid !important;
    justify-items: center !important;
    padding-top: var(--cf-section-y) !important;
    padding-bottom: var(--cf-section-y) !important;
}

.cta-section::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(135deg, rgba(8, 18, 29, 0.92) 0%, rgba(18, 40, 64, 0.88) 54%, rgba(8, 18, 29, 0.94) 100%),
        url('/images/homepage-intake/results.jpg') center/cover no-repeat;
}

.cta-content--steps {
    position: relative;
    z-index: 1;
}

/*
 * Authoritative marketing cluster alignment.
 * Older extracted page CSS still defines narrower CTA/footer wrappers, so this
 * final shared contract keeps hero, bottom CTA, review, social, quote, and
 * footer clusters centered from the same responsive width token.
 */
body:not(.estimate-page):not(.consultation-page) #hero .homepage-intake-launcher-actions,
body:not(.estimate-page):not(.consultation-page) #hero .hero-review--hero,
body:not(.estimate-page):not(.consultation-page) .cta-section > .cta-content--steps,
body:not(.estimate-page):not(.consultation-page) .cta-section .cta-buttons,
body:not(.estimate-page):not(.consultation-page) .cta-section .hero-review--cta,
body:not(.estimate-page):not(.consultation-page) footer .social-icons,
body:not(.estimate-page):not(.consultation-page) footer .footer-quote,
body:not(.estimate-page):not(.consultation-page) footer .footer-bottom,
footer.site-footer--legal-only .footer-bottom {
    width: var(--cf-cta-cluster-width, min(80vw, calc(100vw - 2rem))) !important;
    inline-size: var(--cf-cta-cluster-width, min(80vw, calc(100vw - 2rem))) !important;
    max-width: none !important;
    max-inline-size: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-inline: auto !important;
    left: auto !important;
    right: auto !important;
    inset-inline: auto !important;
    transform: none !important;
    box-sizing: border-box !important;
    justify-self: center !important;
    align-self: center !important;
}

body:not(.estimate-page):not(.consultation-page) .cta-section > .cta-content--steps,
body:not(.estimate-page):not(.consultation-page) .cta-section .cta-buttons,
body:not(.estimate-page):not(.consultation-page) footer,
footer.site-footer--legal-only {
    justify-content: center !important;
    justify-items: center !important;
    text-align: center;
}

.service-area .section-icon--map {
    width: 100%;
    height: clamp(13rem, 24vw, 19rem);
    display: block;
    margin: 0 auto 1.35rem;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(18, 40, 64, 0.16);
    background: var(--navy-dark);
    position: relative;
}

.service-area .section-icon--map::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(8, 18, 29, 0.28) 0%, rgba(8, 18, 29, 0.72) 62%, rgba(8, 18, 29, 0.9) 100%),
        linear-gradient(135deg, rgba(18, 40, 64, 0.44) 0%, rgba(201, 162, 39, 0.16) 100%);
}

.service-area .section-icon--map .section-map-image,
.service-area .section-icon--map #locations-map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    filter: saturate(0.85) contrast(1.08) brightness(0.72);
    z-index: 0;
}

.service-area .section-icon--map .section-title--banner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(calc(100% - 3rem), 38rem);
    z-index: 2;
    margin: 0;
    color: var(--white);
    font-family: var(--heading);
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-align: center;
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.hero {
    padding: 0 !important;
    background: var(--navy-dark);
}

.hero-container {
    width: 100%;
    max-width: none !important;
}

.hero-content {
    width: 100%;
}

.hero-brand-mark {
    order: 0;
    display: block;
    width: clamp(7rem, 14vw, 12rem);
    max-width: min(78vw, 13rem);
    height: auto;
    margin: 0 auto 1rem;
    filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.36));
}

.homepage-intake-visual-copy .hero-brand-mark,
.hero-brand-lockup--primary .hero-brand-mark {
    width: clamp(7.5rem, 15vw, 13.5rem);
    margin-bottom: 0;
}

.homepage-intake-visual-copy .hero-brand-picture {
    margin-bottom: calc(var(--cf-hero-logo-optical-shift, 0rem) * -1);
    transform: translateY(calc(var(--cf-hero-logo-optical-shift, 0rem) * -1));
}

#hero .homepage-intake-shell--launcher .homepage-intake-visual-copy {
    width: var(--cf-cta-cluster-width);
    max-width: none;
    box-sizing: border-box;
    gap: var(--cf-hero-stack-gap);
}

#hero .homepage-intake-shell--launcher .homepage-intake-visual-title--hero {
    width: var(--cf-hero-readable-width);
    justify-self: center;
}

#hero .homepage-intake-shell--launcher .homepage-intake-visual-text--hero {
    width: var(--cf-hero-readable-width);
    justify-self: center;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(0.95rem, 1.5vw, 1.08rem);
    line-height: 1.55;
    text-align: center;
    text-wrap: balance;
}

#hero .homepage-intake-shell--launcher .hero-review--hero {
    margin-top: calc(var(--cf-section-stack-gap) - var(--cf-hero-stack-gap));
}

.hero:has(.hero-page-icon) .hero-content,
.hero:has(.section-icon) .hero-content {
    position: relative;
    min-height: clamp(24rem, 50vw, 38rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    isolation: isolate;
    overflow: hidden;
    padding: var(--cf-section-y) 2rem;
    text-align: center;
}

.hero .hero-page-icon,
.hero .section-icon {
    position: absolute !important;
    inset: 0;
    z-index: -2;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.hero .hero-page-icon::after,
.hero .section-icon::after {
    content: '' !important;
    position: absolute;
    inset: 0;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    border-radius: 0 !important;
    background:
        linear-gradient(180deg, rgba(8, 18, 29, 0.18) 0%, rgba(8, 18, 29, 0.7) 67%, rgba(8, 18, 29, 0.86) 100%),
        linear-gradient(135deg, rgba(18, 40, 64, 0.22) 0%, rgba(201, 162, 39, 0.16) 100%) !important;
}

.hero .hero-page-icon-image,
.hero .section-icon-image {
    width: 100% !important;
    height: 100% !important;
    display: block;
    object-fit: cover;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.hero:has(.hero-page-icon) h1,
.hero:has(.section-icon) h1,
.hero:has(.hero-page-icon) h1 span,
.hero:has(.section-icon) h1 span {
    order: 1;
    color: var(--white) !important;
    text-shadow: 0 12px 34px rgba(0, 0, 0, 0.38);
}

.hero:has(.hero-page-icon) .hero-text,
.hero:has(.section-icon) .hero-text {
    display: none !important;
}

.hero:has(.hero-page-icon) .hero-actions,
.hero:has(.section-icon) .hero-actions {
    order: 2;
    width: var(--cf-cta-cluster-width);
    max-width: none;
    margin: 1.2rem auto 0;
    flex-direction: column;
    align-items: stretch;
}

.hero:has(.hero-page-icon) .hero-actions .btn,
.hero:has(.section-icon) .hero-actions .btn {
    width: 100%;
    min-width: 0;
    min-height: 56px;
}

.hero:has(.hero-page-icon) .hero-review,
.hero:has(.section-icon) .hero-review {
    order: 3;
    margin-top: 1.1rem;
    background: rgba(8, 18, 29, 0.42);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero:has(.hero-page-icon) .hero-review .hero-review-score,
.hero:has(.hero-page-icon) .hero-review .hero-review-divider,
.hero:has(.hero-page-icon) .hero-review .hero-review-name,
.hero:has(.hero-page-icon) .hero-review .hero-review-quote,
.hero:has(.section-icon) .hero-review .hero-review-score,
.hero:has(.section-icon) .hero-review .hero-review-divider,
.hero:has(.section-icon) .hero-review .hero-review-name,
.hero:has(.section-icon) .hero-review .hero-review-quote {
    color: rgba(255, 255, 255, 0.9);
}

#hero:has(.homepage-intake--launcher) .hero-content {
    min-height: auto;
    padding: 0;
}

#hero .homepage-intake--launcher {
    margin: 0;
}

#hero .homepage-intake-shell--launcher {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: var(--white);
}

#hero .homepage-intake-shell--launcher .homepage-intake-visual {
    min-height: clamp(23rem, 52vw, 39rem);
    border-radius: 0;
    padding-top: var(--cf-hero-picture-y, clamp(2.5rem, 4vw, 3.5rem));
    padding-bottom: var(--cf-hero-picture-y, clamp(2.5rem, 4vw, 3.5rem));
    box-sizing: border-box;
}

#hero .homepage-intake-shell--launcher .homepage-intake-panel--launcher {
    border-radius: 0;
}

.service-overlay {
    background: #f0f3f6 !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    animation: none !important;
}

.service-overlay-close {
    top: -0.75rem !important;
    right: -0.75rem !important;
}

@media (max-width: 1280px) {
    nav {
        padding-left: clamp(1rem, 2vw, 2rem) !important;
        padding-right: clamp(1rem, 2vw, 2rem) !important;
    }

    .logo-text,
    .nav-links {
        display: none !important;
    }

    .hamburger {
        display: block !important;
        order: 3;
        flex: 0 0 auto;
    }

    .nav-right {
        order: 2;
        flex: 1 1 auto;
        justify-content: center;
        gap: 0.75rem;
    }

    .btn.btn-nav-cta {
        flex: 1 1 0;
        min-width: 0;
        max-width: 15rem;
        padding: 0.65rem 1rem;
        font-size: 0.9rem;
        gap: var(--nav-cta-gap);
    }

    .nav-cta-label-desktop {
        display: none !important;
    }

    .nav-cta-label-tablet {
        display: inline !important;
    }
}

@media (max-width: 768px) {
    nav {
        gap: 0.55rem !important;
        border-top: 0 !important;
        box-shadow: none;
    }

    nav::before,
    nav::after {
        content: none !important;
        display: none !important;
    }

    .nav-right {
        flex: 1 1 auto;
        justify-content: flex-end;
        gap: 0.45rem;
        min-width: 0;
    }

    .btn.btn-nav-cta {
        flex: 1 1 0;
        min-width: 0;
        max-width: 11rem;
        padding: 0.58rem 0.75rem;
        font-size: 0.82rem;
        gap: var(--nav-cta-gap);
    }

    .btn.btn-nav-cta .hp-icon {
        width: 1.05rem;
        height: 1.05rem;
    }

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

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

@media (max-width: 640px) {
    .nav-right {
        flex: 0 1 auto;
    }

    .btn.btn-nav-cta {
        width: 46px;
        min-width: 46px;
        max-width: 46px;
        height: 46px;
        padding: 0.5rem;
        flex: 0 0 46px;
        gap: 0;
    }

    .btn.btn-nav-cta .hp-icon {
        width: 1.15rem;
        height: 1.15rem;
    }

    .btn.btn-nav-cta .nav-cta-label {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .nav-right {
        flex: 0 1 auto;
    }

    .btn.btn-nav-cta {
        width: 46px;
        min-width: 46px;
        max-width: 46px;
        height: 46px;
        padding: 0.5rem;
        flex: 0 0 46px;
        gap: 0;
    }

    .btn.btn-nav-cta .hp-icon {
        width: 1.15rem;
        height: 1.15rem;
    }

    .btn.btn-nav-cta .nav-cta-label {
        display: none !important;
    }
}
