/* Abraham AC visual-audit repairs (2026-08-13).
 * This late, scoped layer resolves cross-template cascade conflicts without
 * changing the PPC landing page's isolated design. */

/* Homepage offer: preserve readable contrast over the dark hero even when an
 * older generic promo selector has greater specificity. */
body.home .abe-hero__promo .abe-hero__promo-sub {
    color: #fff !important;
}

/* One action hierarchy: orange booking primary, navy phone secondary, white
 * outline tertiary. The compact radius remains pill-shaped sitewide. */
.abraham-quick-answer__actions a,
.abraham-ac-repair-launch__actions a,
.abraham-mobile-leadbar a {
    border-radius: 999px;
}

.abraham-quick-answer__actions a:first-child,
.abraham-ac-repair-launch__actions a:first-child,
.abraham-mobile-leadbar__book {
    background: #ff5f1f;
    color: #011635;
}

.abraham-quick-answer__actions a:nth-child(2),
.abraham-ac-repair-launch__actions a:nth-child(2) {
    background: #fff;
    border: 2px solid #042452;
    color: #042452;
}

.abraham-quick-answer__actions a:last-child,
.abraham-ac-repair-launch__actions a:last-child,
.abraham-mobile-leadbar__call {
    background: #042452;
    color: #fff;
}

.abraham-quick-answer__actions a[href^="tel:"],
.abraham-ac-repair-launch__actions a[href^="tel:"] {
    gap: .25em;
}

/* Full testimonial copy remains part of the page flow. No nested vertical
 * scroll region means touch-wheel gestures always continue the document. */
body.home .testimonial-slide-item__description {
    max-height: none;
    overflow: visible;
    padding-right: 0;
}

body.home .testimonial-slide-item__description p {
    color: #333;
}

@media (max-width: 1199px) {
    body.home .testimonial-slider.fx-slider {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    body.home .testimonial-slider.fx-slider::-webkit-scrollbar {
        display: none;
    }
}

@media (min-width: 1200px) {
    body.home .testimonials__wrapper {
        display: block;
        height: auto;
        max-width: 1260px;
        padding: 0 32px;
        width: 100%;
    }

    body.home .testimonials__heading {
        left: auto;
        margin: 0 auto 36px;
        padding: 0;
        position: relative;
        text-align: center;
        top: auto;
        transform: none;
        width: auto;
    }

    body.home .testimonials__heading h2 {
        font-size: clamp(34px, 3.4vw, 48px);
        line-height: 1.08;
    }

    body.home .testimonials__heading h2 span {
        display: inline;
        font-size: inherit;
        letter-spacing: inherit;
    }

    body.home .testimonial-man-image {
        display: none;
    }

    body.home .testimonial-slider.fx-slider {
        display: grid;
        gap: 28px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin: 0;
        padding: 0;
    }

    body.home .testimonial-slider.fx-slider .testimonial-slide {
        bottom: auto;
        left: auto;
        position: static;
        right: auto;
        top: auto;
        width: auto;
    }

    body.home .testimonial-slide-item {
        height: 100%;
    }
}

/* Header offer content wraps as two coherent units. */
.header-notification-bar__content {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 2px .55em;
    justify-content: center;
}

.header-notification-bar__message,
.header-notification-bar__link {
    display: inline-flex;
    align-items: center;
}

.header-notification-bar__link {
    gap: .3em;
    white-space: nowrap;
}

/* Bullets align to the first line instead of a fixed pixel offset. */
.accordian-location-links__col ul li::before,
.footer-seo-services__nav li::before,
.footer-main ul li::before {
    top: .82em;
    transform: translateY(-50%);
}

/* Native details and the bespoke Abraham FAQ now share the brand's circular
 * plus/minus affordance. */
.abraham-faq-question,
.abraham-hvac-calc-faq summary,
.abraham-broward-faq summary {
    list-style: none;
    padding-right: 52px;
    position: relative;
}

.abraham-faq-question::-webkit-details-marker,
.abraham-hvac-calc-faq summary::-webkit-details-marker,
.abraham-broward-faq summary::-webkit-details-marker {
    display: none;
}

.abraham-faq-question::after,
.abraham-hvac-calc-faq summary::after,
.abraham-broward-faq summary::after {
    align-items: center;
    background: #ff5f1f;
    border-radius: 50%;
    color: #011635;
    content: "+";
    display: inline-flex;
    font-size: 24px;
    font-weight: 800;
    height: 36px;
    justify-content: center;
    line-height: 1;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
}

details[open] > .abraham-faq-question::after,
.abraham-hvac-calc-faq[open] summary::after,
.abraham-broward-faq[open] summary::after {
    content: "−";
}

/* Stable icon / label / arrow slots for one- and two-line service cards. */
body.home .half-image-half-accordian-links .accordian-icon-links a.a-icon-links {
    align-items: center;
    display: grid;
    gap: 6px;
    grid-template-rows: 48px minmax(2.4em, auto) 20px;
    justify-items: center;
}

body.home .half-image-half-accordian-links .accordian-icon-links a.a-icon-links i,
body.home .half-image-half-accordian-links .accordian-icon-links a.a-icon-links::after {
    left: auto;
    position: static;
    right: auto;
    top: auto;
    transform: none;
}

/* Blog index: cards remain useful and scannable while each query page is
 * intentionally bounded in PHP. */
.blog-listing {
    row-gap: 28px;
}

.blog-post__item {
    margin-bottom: 0;
}

.blog-post__title {
    text-wrap: balance;
}

/* The topical footer's full presentation is deferred on fast first paint.
 * Keep its initial state accessible so links never flash orange on the light
 * page background while that non-critical bundle is waiting to activate. */
.footer-seo-services {
    background: #0b1b3f;
    color: #fff;
}

.footer-seo-services h2 {
    color: #fff;
}

.footer-seo-services p {
    color: #dfe8f5;
}

.footer-seo-services__nav a {
    color: #fff;
    text-decoration-color: rgba(255, 255, 255, .38);
}

.footer-seo-services__nav a:hover,
.footer-seo-services__nav a:focus-visible {
    color: #ffd45c;
    text-decoration-color: currentcolor;
}

@media (max-width: 1024px) {
    .nav-primary ul .mobile-contact-us {
        box-sizing: border-box;
        margin: 18px 20px;
        max-width: calc(100% - 40px);
        padding: 22px 18px;
        width: calc(100% - 40px);
    }

    .nav-primary ul .mobile-contact-us > .container {
        box-sizing: border-box;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }

    .nav-primary ul .mobile-contact-us .header-phone,
    .nav-primary ul .mobile-contact-us .header-phone a,
    .nav-primary ul .mobile-contact-us .header-phone span {
        color: #fff;
    }
}

@media (max-width: 760px) {
    .abraham-mobile-leadbar {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .abraham-mobile-leadbar__book {
        border-radius: 999px;
        white-space: nowrap;
    }

    .abraham-mobile-leadbar__book-label {
        display: inline;
    }
}

@media (max-width: 600px) {
    .masthead--innerpage__text h1,
    .masthead--innerpage h1 {
        font-size: clamp(31px, 8.6vw, 40px);
        line-height: 1.08;
        overflow-wrap: normal;
        text-wrap: balance;
    }

    .header-notification-bar__content {
        line-height: 1.25;
    }

    body.home .full-width-cta,
    body:not(.home) .full-width-cta {
        padding: 48px 0 228px !important;
    }

    body.home .full-width-cta__text,
    body:not(.home) .full-width-cta__text {
        position: static !important;
    }

    body.home .full-width-cta__content,
    body:not(.home) .full-width-cta__content {
        position: static !important;
    }

    body.home .full-width-cta__man-image,
    body:not(.home) .full-width-cta__man-image {
        bottom: -34px !important;
        height: 240px !important;
        left: 50% !important;
        max-width: none !important;
        object-fit: contain;
        position: absolute !important;
        right: auto !important;
        transform: translate(-50%, 0) !important;
        width: min(240px, 62vw) !important;
    }

    body.home .full-width-cta__highlight-text,
    body.home .full-width-cta__highlight-text::after,
    body:not(.home) .full-width-cta__highlight-text,
    body:not(.home) .full-width-cta__highlight-text::after {
        font-size: clamp(24px, 7vw, 31px);
    }
}

@media (prefers-reduced-motion: reduce) {
    html.rf-reveal-on body.home .rf-reveal,
    html.rf-reveal-on body.home .rf-reveal--stagger.is-visible > * {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}
