/* Service Full Width template (single-service-fullwidth.php) */

.rhf-sf-text p {
    margin-bottom: 18px;
    font-size: 17px;
    line-height: 1.75;
}

.rhf-sf-text p:last-child {
    margin-bottom: 0;
}

/* Intro collage: same image shapes on every service */
.rhf-sf-intro__images img {
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.rhf-sf-intro__images .img-lg img {
    height: 520px;
}

.rhf-sf-intro__images .aabout-img:not(.img-lg) img {
    height: 245px;
}

/* CTA banner */
.rhf-sf-cta .section-title {
    font-size: 44px;
    line-height: 1.2;
}

.rhf-sf-cta .rhf-search {
    margin-top: 10px;
}

/* Emergency section + options checklist */
@media (min-width: 992px) {
    .rhf-sf-emergency .pr-lg-30 {
        padding-right: 30px;
    }
}

.rhf-sf-list {
    padding: 45px 40px;
    border-radius: 10px;
    border-top: 4px solid #f7b118;
}

.rhf-sf-list__title {
    margin-bottom: 25px;
    font-size: 24px;
    line-height: 1.3;
    color: #151735;
}

.rhf-sf-list__items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rhf-sf-list__items li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: #151735;
}

.rhf-sf-list__items i {
    margin-top: 3px;
    color: #f7b118;
}

/* Alternating image + text blocks */
.rhf-sf-block {
    margin-bottom: 70px;
}

.rhf-sf-block__img {
    position: relative;
    margin-bottom: 30px;
}

.rhf-sf-block__img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(21, 23, 53, 0.12);
}

.rhf-sf-block__num {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 64px;
    height: 64px;
    font-size: 24px;
    font-weight: 700;
    line-height: 64px;
    text-align: center;
    color: #151735;
    background: #f7b118;
    border-radius: 8px;
}

.flex-lg-row-reverse .rhf-sf-block__num {
    left: auto;
    right: 20px;
}

@media (min-width: 992px) {
    .rhf-sf-block__text {
        padding: 0 30px;
    }
}

.rhf-sf-block__title {
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 16px;
    font-size: 30px;
    line-height: 1.25;
    color: #151735;
}

.rhf-sf-block__title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: #f7b118;
}

/* FAQ */
.rhf-sf-faq__img img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 10px;
}

.rhf-sf-faq .accordion-header {
    margin: 0;
    font-size: inherit;
}

/* Our services grid */
.rhf-sf-service {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 24px;
    background: #fff;
    border: 1px solid #e6e9f0;
    border-radius: 10px;
    transition: all 0.3s ease-out;
}

.rhf-sf-service:hover {
    border-color: #f7b118;
    box-shadow: 0 12px 30px rgba(21, 23, 53, 0.1);
    transform: translateY(-3px);
}

.rhf-sf-service__icon {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    font-size: 20px;
    line-height: 52px;
    text-align: center;
    color: #151735;
    background: #fef6e4;
    border-radius: 50%;
    transition: all 0.3s ease-out;
}

.rhf-sf-service:hover .rhf-sf-service__icon {
    background: #f7b118;
}

.rhf-sf-service__title {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    color: #151735;
}

.rhf-sf-service__arrow {
    color: #f7b118;
}

/* Service areas chips */
.rhf-sf-areas__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rhf-sf-areas__list a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #151735;
    background: #fff;
    border: 1px solid #e6e9f0;
    border-radius: 30px;
    transition: all 0.3s ease-out;
}

.rhf-sf-areas__list a i {
    color: #f7b118;
}

.rhf-sf-areas__list a:hover {
    border-color: #f7b118;
    background: #fef6e4;
}

/* Tablet / phone */
@media (max-width: 991px) {
    .rhf-sf-intro__images .img-lg img,
    .rhf-sf-faq__img img {
        height: 380px;
    }

    .rhf-sf-block__img img {
        height: 320px;
    }

    .rhf-sf-cta .section-title {
        font-size: 34px;
    }
}

@media (max-width: 575px) {
    .rhf-sf-list {
        padding: 30px 22px;
    }

    .rhf-sf-list__items {
        grid-template-columns: 1fr;
    }

    .rhf-sf-intro__images .img-lg img,
    .rhf-sf-intro__images .aabout-img:not(.img-lg) img,
    .rhf-sf-faq__img img,
    .rhf-sf-block__img img {
        height: 240px;
    }

    .rhf-sf-block {
        margin-bottom: 40px;
    }

    .rhf-sf-block__title {
        font-size: 24px;
    }

    .rhf-sf-cta .section-title {
        font-size: 26px;
    }
}

/* Contact info + live agent band (location service pages) */
.rhf-sf-contact__title {
    margin-bottom: 18px;
    font-size: 28px;
    color: #fff;
}

.rhf-sf-contact__title span {
    color: #f7b118;
}

.rhf-sf-contact__info ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.rhf-sf-contact__info li {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.rhf-sf-contact__info li i {
    width: 44px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    color: #151735;
    background: #f7b118;
    border-radius: 50%;
}

.rhf-sf-contact__info a {
    color: #fff;
}

.rhf-sf-contact__info a:hover {
    color: #f7b118;
}

.rhf-sf-contact__agent {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}

.rhf-sf-contact__agent p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
}

.rhf-sf-contact__agent .avideo-btn {
    flex: 0 0 auto;
}

@media (max-width: 575px) {
    .rhf-sf-contact__agent {
        flex-direction: column;
        gap: 24px;
        padding: 30px 22px;
        text-align: center;
    }
}

/* Search cards: this service elsewhere / other services here */
.rhf-sf-find__card {
    height: calc(100% - 30px);
    padding: 40px;
    background: #fff;
    border: 1px solid #e6e9f0;
    border-top: 4px solid #f7b118;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(21, 23, 53, 0.06);
}

.rhf-sf-find__icon {
    display: inline-block;
    width: 56px;
    height: 56px;
    margin-bottom: 18px;
    font-size: 22px;
    line-height: 56px;
    text-align: center;
    color: #151735;
    background: #fef6e4;
    border-radius: 50%;
}

.rhf-sf-find__title {
    margin-bottom: 22px;
    font-size: 24px;
    line-height: 1.3;
    color: #151735;
}

/* Inside a card the search form sits flat (no second shadow/box) */
.rhf-sf-find__card .rhf-search {
    max-width: none;
    padding: 0;
    box-shadow: none;
    background: transparent;
}

/* Banner search on the main service page */
.rhf-sf-cta .rhf-search {
    margin-top: 10px;
}

@media (max-width: 575px) {
    .rhf-sf-find__card {
        padding: 28px 20px;
    }
}

/* =====================================================================
   Static sample layout (template-parts/rhf-service-sample-layout.php)
   ===================================================================== */

/* Emergency section: Home 3 "Why Choose Us" look, image sits on the section bottom */
.rhf-sf-emergency {
    background-color: #ffffff;
    background-image: repeating-linear-gradient(135deg, rgba(21, 23, 53, 0.025) 0 2px, transparent 2px 9px);
}

.rhf-sf-emergency__img {
    text-align: center;
}

.rhf-sf-emergency__img img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* Options: boxes jump to their card */
.rhf-sf-options__link {
    display: block;
    margin-bottom: 24px;
    text-decoration: none;
}

.rhf-sf-options__link h5 {
    height: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
}

.rhf-sf-options__link:hover h5 {
    background: #f7b118;
    border-color: #f7b118;
    color: #151735;
}

html {
    scroll-behavior: smooth;
}

/* Why choose: Home 3 blue / orange icon rings with pulse */
.rhf-sf-choose .achoose {
    display: flex;
    align-items: flex-start;
}

.rhf-sf-choose .achoose__icon {
    flex: 0 0 auto;
    float: none;
}

.rhf-sf-choose .achoose__icon.rhf-blue {
    background: #2b6cf6;
    border-color: #a8c4fb;
    animation: rhf-pulse-blue 6s infinite;
}

.rhf-sf-choose .achoose__icon.rhf-orange {
    background: #ff6a13;
    border-color: #ffc19d;
    animation: rhf-pulse-orange 6s infinite;
}

@keyframes rhf-pulse-blue {
    0% { box-shadow: 0 0 0 0 rgba(43, 108, 246, 0.6); }
    50% { box-shadow: 0 0 0 30px rgba(43, 108, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(43, 108, 246, 0); }
}

@keyframes rhf-pulse-orange {
    0% { box-shadow: 0 0 0 0 rgba(255, 106, 19, 0.6); }
    50% { box-shadow: 0 0 0 30px rgba(255, 106, 19, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 106, 19, 0); }
}

/* FAQ: Home 2 layout; image kept inside its column */
.rhf-sf-faq2 .afaq__img img {
    max-width: 100%;
    height: auto;
    margin-left: 0;
}

.rhf-sf-faq2 .accordion-header {
    margin: 0;
    font-size: inherit;
}

@media (max-width: 991px) {
    .rhf-sf-emergency .choose--content__3 {
        padding-top: 0;
        padding-bottom: 40px;
    }
}

@media (max-width: 767px) {
    .rhf-sf-choose .achoose {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* Why choose: 4 boxes in a row (icon on top, centred text) */
.rhf-sf-choose .rhf-sf-choose__box {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    padding: 45px 28px 38px;
    text-align: center;
    background: #fff;
    border: 1px solid #e6e9f0;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(21, 23, 53, 0.06);
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

.rhf-sf-choose .rhf-sf-choose__box:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(21, 23, 53, 0.12);
}

.rhf-sf-choose .rhf-sf-choose__box .achoose__icon {
    margin: 0 0 28px;
}

.rhf-sf-choose .rhf-sf-choose__box .achoose__text--title {
    margin-bottom: 12px;
    font-size: 24px;
}

/* Intro: single round image with yellow border */
.rhf-sf-intro__image {
    text-align: center;
}

.rhf-sf-intro__image img {
    width: 100%;
    max-width: 520px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 5px solid #f7b118;
    border-radius: 50%;
}

/* "View Services" jumps here: keep the heading clear of the fixed header */
#rhf-options {
    scroll-margin-top: 100px;
}

/* Zig-zag service cards (look of the former stacked cards, no sticky/stacking):
   odd = light card, image left; even = dark card, image right */
.rhf-zz {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.rhf-zz__card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 420px;
    overflow: hidden;
    background: #fff;
    color: #151735;
    border: 1px solid #e6e9f0;
    border-radius: 16px;
    box-shadow: 0 18px 40px -18px rgba(21, 23, 53, 0.35);
    scroll-margin-top: 120px; /* option boxes jump here; clear the fixed header */
}

.rhf-zz__card:nth-child(even) {
    background: #151735;
    color: #fff;
    border-color: transparent;
}

.rhf-zz__media {
    position: relative;
    min-height: 320px;
    background: #dfe3ea;
}

.rhf-zz__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rhf-zz__card:nth-child(even) .rhf-zz__media {
    order: 2;
}

.rhf-zz__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding: 48px 52px;
}

.rhf-zz__num {
    align-self: flex-start;
    padding: 4px 14px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #151735;
    background: #f7b118;
    border-radius: 20px;
}

.rhf-zz__title {
    margin: 0;
    font-size: 30px;
    line-height: 1.2;
    color: inherit;
}

.rhf-zz__text {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: inherit;
    opacity: 0.9;
}

@media (max-width: 991px) {
    .rhf-zz {
        gap: 30px;
    }

    .rhf-zz__card {
        grid-template-columns: 1fr;
        min-height: 0;
        scroll-margin-top: 90px;
    }

    .rhf-zz__card .rhf-zz__media,
    .rhf-zz__card:nth-child(even) .rhf-zz__media {
        order: 1;
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .rhf-zz__body {
        padding: 30px 24px;
    }

    .rhf-zz__title {
        font-size: 24px;
    }
}

/* Lists inside text sections (e.g. Pest Control's species list): 2 columns, yellow markers */
.rhf-sf-text ul,
.rhf-zz__body ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 28px;
    margin: 4px 0 20px;
    padding: 0;
    list-style: none;
}

.rhf-sf-text ul li,
.rhf-zz__body ul li {
    position: relative;
    padding-left: 20px;
    font-size: 16px;
    line-height: 1.5;
}

.rhf-sf-text ul li::before,
.rhf-zz__body ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: #f7b118;
    border-radius: 50%;
}

@media (max-width: 575px) {
    .rhf-sf-text ul,
    .rhf-zz__body ul {
        grid-template-columns: 1fr;
    }
}
