/* ==========================================================================
   1. GLOBAL & RESET
   ========================================================================== */

:root {
    --brand-red: #b3231f;
    --brand-red-deep: #8f1b18;
}

body {
    padding-bottom: 0 !important;
}

/* Disable line breaks on tablet & mobile */
@media (max-width: 1024px) {
    br {
        display: none;
    }
}

/* Text utility classes */
span.black-text {
    color: #1A1A1A;
}

span.white-text {
    color: #ffffff;
}

span.red-text {
    color: #D32F2F;
}

.text a {
    text-decoration: underline;
    text-underline-offset: 6px;
}

.red-gradient .elementor-heading-title {
    background: linear-gradient(90deg, #C20000 0%, #FF5959 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}


/* ==========================================================================
   2. HEADER & NAVIGATION
   ========================================================================== */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.main-header.scrolled {
    background: #ffffff !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Base menu link */
.header-menu .elementskit-navbar-nav > li > a {
    position: relative;
    padding-bottom: 8px;
}

/* Underline indicator */
.header-menu .elementskit-navbar-nav > li > a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #ffffff;
    transform: translateX(-50%);
    transition: width 0.35s ease;
}

/* Hover & Active menu */
.header-menu .elementskit-navbar-nav > li > a:hover::after,
.header-menu .elementskit-navbar-nav > li.current-menu-item > a::after,
.header-menu .elementskit-navbar-nav > li.current_page_item > a::after {
    width: 100%;
}


/* ==========================================================================
   3. BORDER & CONTAINER STYLES
   ========================================================================== */

/* Gradient Bordered Div */
.bordered-div {
    position: relative;
    border: none !important;
    background: transparent;
}

.bordered-div::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px; /* border thickness */
    border-radius: inherit;
    background: linear-gradient(90deg, #C20000, #FF5959);

    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
}

.bordered-div-hover:hover {
    border: 1px solid transparent !important;
    border-radius: 15px !important;
    background: 
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(90deg, #C20000 0%, #FF5959 100%) border-box !important;
}

/* Dashed Border Box */
.dashed-border {
    position: relative;
    border-radius: 18px;
    background-color: #ffffff;
    background-image: 
        repeating-linear-gradient(90deg, #D32F2F 0, #D32F2F 12px, transparent 12px, transparent 22px),
        repeating-linear-gradient(90deg, #D32F2F 0, #D32F2F 12px, transparent 12px, transparent 22px),
        repeating-linear-gradient(0deg, #D32F2F 0, #D32F2F 12px, transparent 12px, transparent 22px),
        repeating-linear-gradient(0deg, #D32F2F 0, #D32F2F 12px, transparent 12px, transparent 22px);
    background-position:
        top left,
        bottom left,
        top left,
        top right;
    background-size:
        100% 2px,
        100% 2px,
        2px 100%,
        2px 100%;
    background-repeat: no-repeat;
}


/* ==========================================================================
   4. GLASS TRUST BOXES
   ========================================================================== */

.trust-box {
    position: relative;
    overflow: hidden;
    background: rgba(56, 56, 56, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 30px;
    border: none;
    transition: all 0.3s ease;
}

.trust-box:hover {
    transform: translateY(-4px);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.trust-box::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(
        140deg,
        rgba(255, 255, 255, 0.25),
        rgba(255, 255, 255, 0.08),
        rgba(255, 255, 255, 0.25)
    );
    -webkit-mask: 
        linear-gradient(#000 0 0) content-box, 
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: 
        linear-gradient(#000 0 0) content-box, 
        linear-gradient(#000 0 0);
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

.trust-box .trust-icon-box svg path {
    transition: stroke 0.3s ease;
}

.trust-box .trust-icon-box h3,
.trust-box .trust-icon-box p {
    transition: color 0.3s ease;
}

.trust-box .elementor-widget-container {
    position: relative;
    z-index: 2;
}

/* Sweep shine effect */
.trust-box::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.12),
        transparent
    );
    transform: skewX(-20deg);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}

.trust-box:nth-child(1)::after { animation: shine 8s infinite 0s; }
.trust-box:nth-child(2)::after { animation: shine 8s infinite 2s; }
.trust-box:nth-child(3)::after { animation: shine 8s infinite 4s; }
.trust-box:nth-child(4)::after { animation: shine 8s infinite 6s; }

@keyframes shine {
    0% {
        left: -120%;
        opacity: 0;
    }
    15% {
        opacity: 0.6;
    }
    50% {
        left: 120%;
        opacity: 0.4;
    }
    100% {
        left: 120%;
        opacity: 0;
    }
}


/* ==========================================================================
   5. SERVICES & BENEFITS SLIDERS
   ========================================================================== */

/* Main slider wrapper */
.services-slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    min-width: 0;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: visible !important;
}

/* Swiper slider container */
.services-slider-wrapper .services-swiper {
    position: relative;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    padding: 30px 0 50px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.services-swiper.no-swiper {
    padding: 10px 0px !important;
}

.services-slider-wrapper .swiper-wrapper {
    box-sizing: border-box;
    max-width: none;
}

.services-slider-wrapper .swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    min-width: 0;
}

/* Base Service Card */
.service-card {
    background: #000000;
    border-radius: 14px;
    border: 1px solid #3a3a3a;
    transition: all 0.35s ease;
    max-width: 420px;
    width: 100%;
    padding: 36px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    opacity: 0.6;
    transition: opacity 0.35s ease;
}

.service-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16.88px;
    line-height: 25.31px;
    color: #ffffff;
    margin-bottom: 10px;
}

.service-card .service-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Excerpt with smooth expand and fade overlay */
.service-excerpt {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 13.13px;
    line-height: 22.31px;
    color: #ffffff;
    opacity: 0.85;
    max-height: 66px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.45s ease, opacity 0.3s ease;
}

.service-excerpt::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 30px;
    background: linear-gradient(to bottom, transparent, #000000);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Card Hover & Active States */
.service-card:hover,
.services-swiper .swiper-slide-active .service-card,
.services-slider-wrapper.no-slider .service-card.active {
    border: 1px solid transparent !important;
    background:
        linear-gradient(#000000, #000000) padding-box,
        linear-gradient(90deg, #C20000 0%, #FF5959 100%) border-box !important;
}

.service-card:hover .service-icon img,
.services-swiper .swiper-slide-active .service-icon img,
.services-slider-wrapper.no-slider .service-card.active .service-icon img {
    opacity: 1;
}

.service-card:hover .service-title,
.service-card:hover .service-title a,
.services-swiper .swiper-slide-active .service-title,
.services-swiper .swiper-slide-active .service-title a,
.services-slider-wrapper.no-slider .service-card.active .service-title {
    color: #FF5959;
}

.service-card:hover .service-excerpt {
    max-height: 200px;
    opacity: 1;
}

.service-card:hover .service-excerpt::after {
    opacity: 0;
}

.services-swiper .swiper-slide-active .service-excerpt,
.services-slider-wrapper.no-slider .service-card.active .service-excerpt {
    opacity: 1;
}

/* Normal Grid layout for <= 3 items */
.services-slider-wrapper.no-slider .swiper-wrapper {
    display: flex;
    gap: 24px;
    justify-content: center;
}

.services-slider-wrapper.no-slider .swiper-slide {
    width: 33.33%;
    flex: 0 0 33.33%;
}

@media (max-width: 767px) {
    .services-slider-wrapper.no-slider .swiper-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .services-slider-wrapper.no-slider .swiper-slide {
        width: 100%;
        flex: 0 0 100%;
    }
}

/* Card Media & Centering Options */
.content-center .service-card {
    align-items: center;
    text-align: center;
    padding: 26px;
}

.content-center .service-image {
    display: flex;
    justify-content: center;
    margin: 0 auto 15px;
    border: 1px solid #626262;
    border-radius: 15px;
}

.content-center .service-btn {
    margin-left: auto;
    margin-right: auto;
}

.service-image {
    width: 100%;
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 14px;
}

.service-image.is-img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 14px;
}

.service-image.is-svg img {
    width: 80px;
    height: auto;
    margin: 0 auto;
    display: block;
}

.service-image.is-svg.img-left img {
    margin: 0;
}

.service-btn {
    display: inline-block;
    margin-top: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 25.31px;
    letter-spacing: 0;
    text-align: center;
    color: #ffffff !important;
    cursor: pointer;
    transition: color 0.3s ease;
}

.service-btn:hover {
    color: #D32F2F !important;
}

/* Slider Navigation Arrows */
.custom-prev,
.custom-next,
.services-slider-wrapper .custom-prev,
.services-slider-wrapper .custom-next {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.custom-prev,
.services-slider-wrapper .custom-prev {
    left: -30px !important;
}

.custom-next,
.services-slider-wrapper .custom-next {
    right: -30px !important;
}

.custom-prev::after,
.custom-next::after,
.services-slider-wrapper .custom-prev::after,
.services-slider-wrapper .custom-next::after {
    content: "";
    width: 18px;
    height: 18px;
    display: block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.custom-prev::after,
.services-slider-wrapper .custom-prev::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E");
}

.custom-next::after,
.services-slider-wrapper .custom-next::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E");
}

.custom-prev:hover,
.custom-next:hover,
.services-slider-wrapper .custom-prev:hover,
.services-slider-wrapper .custom-next:hover {
    border: 1px solid transparent;
    background:
        linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)) padding-box,
        linear-gradient(90deg, #C20000, #FF5959) border-box;
    transform: translateY(-50%) scale(1.08);
}

/* Swiper Pagination Bullets */
.services-swiper .swiper-pagination,
.coupon-loop .swiper-pagination {
    position: relative;
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 5px;
    align-items: center;
}

.coupon-loop .swiper-pagination {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    bottom: -40px;
    width: max-content;
}

.services-swiper .swiper-pagination-bullet,
.coupon-loop .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    background: #3a3a3a;
    opacity: 1;
    transition: all 0.3s ease;
}

.services-swiper .swiper-pagination-bullet-active,
.coupon-loop .swiper-pagination-bullet-active {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(90deg, #C20000 0%, #FF5959 100%);
}


/* ==========================================================================
   6. BENEFITS SLIDER (WHITE & DARK THEMES)
   ========================================================================== */

/* White Style */
.benefits-slider-wrapper .service-card {
    background: #ffffff !important;
    border-radius: 14px;
    border: 1px solid #626262;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0px 1.88px 15px 0px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
}

.benefits-slider-wrapper .service-card:hover,
.benefits-slider-wrapper .swiper-slide-active .service-card,
.benefits-slider-wrapper .service-card.active,
.benefits-slider-wrapper.no-slider .service-card.active {
    border: 1px solid transparent !important;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(90deg, #C20000 0%, #FF5959 100%) border-box !important;
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.benefits-slider-wrapper .service-title {
    color: #1A1A1A !important;
    transition: all 0.3s ease;
}

.benefits-slider-wrapper .service-excerpt {
    color: #1A1A1A !important;
    max-height: 66px;
    overflow: hidden;
    position: relative;
    transition: 
        max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.3s ease,
        transform 0.3s ease;
    opacity: 0.8;
}

.benefits-slider-wrapper .service-excerpt::after {
    background: linear-gradient(to bottom, transparent, #ffffff);
}

.benefits-slider-wrapper .service-card:hover .service-excerpt {
    max-height: 220px;
    opacity: 1;
    transform: translateY(2px);
}

.benefits-slider-wrapper .service-card:hover .service-excerpt::after {
    opacity: 0;
}

.benefits-slider-wrapper .service-icon img {
    opacity: 0.7;
    transition: all 0.3s ease;
}

.benefits-slider-wrapper .service-card:hover .service-icon img,
.benefits-slider-wrapper .swiper-slide-active .service-icon img {
    opacity: 1;
}

.benefits-slider-wrapper .custom-prev,
.benefits-slider-wrapper .custom-next {
    background: #ffffff;
    border: 1px solid #1A1A1A;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.benefits-slider-wrapper .custom-prev::after,
.benefits-slider-wrapper .custom-next::after {
    filter: brightness(0);
}

.benefits-slider-wrapper .custom-prev:hover,
.benefits-slider-wrapper .custom-next:hover {
    border: 1px solid transparent;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(90deg, #C20000, #FF5959) border-box;
    transform: scale(1.08);
}

/* Dark Theme */
.benefits-slider-wrapper.benefits-dark .service-card {
    background: #000000 !important;
    border: 1px solid #3a3a3a;
    box-shadow: none;
}

.benefits-slider-wrapper.benefits-dark .service-title,
.benefits-slider-wrapper.benefits-dark .service-excerpt {
    color: #ffffff !important;
}

.benefits-slider-wrapper.benefits-dark .service-excerpt::after {
    background: linear-gradient(to bottom, transparent, #000000);
}

.benefits-slider-wrapper.benefits-dark .service-card:hover,
.benefits-slider-wrapper.benefits-dark .swiper-slide-active .service-card,
.benefits-slider-wrapper.benefits-dark .service-card.active {
    border: 1px solid transparent !important;
    background:
        linear-gradient(#000000, #000000) padding-box,
        linear-gradient(90deg, #C20000 0%, #FF5959 100%) border-box !important;
}

.benefits-slider-wrapper.benefits-dark .custom-prev,
.benefits-slider-wrapper.benefits-dark .custom-next {
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.benefits-slider-wrapper.benefits-dark .custom-prev::after,
.benefits-slider-wrapper.benefits-dark .custom-next::after {
    filter: none;
}


/* ==========================================================================
   7. TESTIMONIALS & LISTS
   ========================================================================== */

.testimonial-grid {
    display: grid;
    width: 100%;
    gap: 24px;
    align-items: stretch;
}

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

.testimonial-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-author {
    color: #000000;
    margin-top: 10px;
    font-weight: 400;
    font-size: 15px;
    line-height: 22.31px;
}

.testimonial-slider-wrapper .testimonial-card,
.testimonial-grid .testimonial-card {
    width: 100%;
    max-width: none;
    min-width: 0;
    min-height: 100%;
    height: 100%;
    box-sizing: border-box;
    margin: 0;
}

.testimonial-grid .service-author,
.testimonial-grid .testimonial-author {
    margin-top: auto;
}

.testimonial-slider-wrapper .swiper-slide {
    display: flex;
    height: auto;
}

.testimonial-slider-wrapper .swiper-slide .testimonial-card {
    flex: 1;
}

.testimonial-slider-wrapper .services-swiper,
.testimonial-slider-wrapper .swiper,
.testimonial-slider-wrapper .swiper-wrapper {
    width: 100%;
}

@media (max-width: 991px) {
    .testimonial-grid.columns-2,
    .testimonial-grid.columns-3 {
        grid-template-columns: 1fr;
    }
}

/* Service Ordered List Step Counter */
.service-desc ol {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
    counter-reset: item;
}

.service-desc ol li {
    position: relative;
    padding-left: 60px;
    margin-bottom: 10px;
}

.service-desc ol li::after {
    content: '';
    position: absolute;
    left: 18px;
    top: 36px;
    bottom: -25px;
    width: 2px;
    background: #D32F2F;
}

.service-desc ol li:last-child::after {
    display: none;
}

.service-desc ol li::before {
    content: counter(item);
    counter-increment: item;
    position: absolute;
    left: 0;
    top: 0;
    width: 36px;
    height: 36px;
    border: 2px solid #D32F2F;
    border-radius: 50%;
    text-align: center;
    line-height: 34px;
    font-weight: 600;
    color: #D32F2F;
    background: #ffffff;
    font-size: 14px;
}

/* Red bullet point list */
.text.service-desc.red-point ul {
    list-style: none;
    padding-left: 20px;
}

.text.service-desc.red-point ul li {
    position: relative;
    padding-left: 18px;
}

.text.service-desc.red-point ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(90deg, #C20000 0%, #FF5959 100%);
}

.text.service-desc.red-point ul li strong {
    background: linear-gradient(90deg, #C20000 0%, #FF5959 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Plumbing service list */
.plumbing-service-list li {
    background: #ffffff;
    border: 2px solid #eeeeee;
    border-radius: 15px;
    padding: 15px !important;
    box-shadow: 0px 1.88px 11.25px rgba(0, 0, 0, 0.06);
    transition:
        border-color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.plumbing-service-list li .elementor-icon-list-icon {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    transform-origin: center;
}

.plumbing-service-list li:hover {
    border-color: #D32F2F;
    box-shadow: 0 8px 20px rgba(211, 47, 47, 0.12);
}

.plumbing-service-list li:hover .elementor-icon-list-icon {
    transform: scale(1.12);
}


/* ==========================================================================
   8. FORMS & INPUT CONTROLS
   ========================================================================== */

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.form-col {
    width: 100%;
}

.form-row > span,
.form-row > .wpcf7-form-control-wrap {
    grid-column: 1 / -1;
}

.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.wpcf7-form-control,
input[type="date"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="url"],
select,
textarea {
    width: 100%;
    box-sizing: border-box;
    background: #F7F7F7;
    border: none;
    border-top: 0.94px solid #E5E7EB;
    border-radius: 11.25px;
    padding: 16px 18px;
    font-family: 'Inter', sans-serif;
}

.wpcf7 select {
    width: 100%;
    background: #F7F7F7;
    border: none;
    border-top: 0.94px solid #E5E7EB;
    border-radius: 11.25px;
    padding: 16px 40px 16px 18px;
    font-family: 'Inter', sans-serif;
    color: #99A1AF;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2399A1AF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 14px;
}

.wpcf7 select:focus,
.wpcf7-form-control:focus {
    outline: none;
    border-top: 0.94px solid #D32F2F;
}

.wpcf7 select:focus {
    color: #000000;
}

.wpcf7 select option {
    color: #000000;
}

.wpcf7 textarea {
    height: 120px;
    resize: none;
}

.form-row.submit-row {
    grid-template-columns: 1fr;
}

.send-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #D32F2F;
    color: #ffffff;
    border: none;
    border-radius: 11.25px;
    padding: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: 22.5px;
    cursor: pointer;
    box-shadow:
        0px 3.75px 5.63px -3.75px rgba(255, 201, 201, 0.4),
        0px 9.38px 14.06px -2.81px rgba(255, 201, 201, 0.4);
    transition: background-color 0.3s ease;
}

.send-btn:hover {
    background-color: #000000;
}

.send-btn img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}

.form-consent {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 10.31px;
    line-height: 16.76px;
    letter-spacing: 0;
    color: #99A1AF;
    margin-top: 12px;
}

.form-consent a {
    color: #D32F2F;
    text-decoration: underline;
}

@media (max-width: 767px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   9. CALENDLY SIDEBAR & CHAT WIDGET
   ========================================================================== */

.custom-calendly-sidebar {
    position: fixed;
    inset: 0;
    z-index: 999999;
    pointer-events: none;
    overflow: hidden;
}

.custom-calendly-sidebar.active {
    pointer-events: auto;
}

.custom-calendly-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    opacity: 0;
    backdrop-filter: blur(0px);
    transition:
        opacity 0.45s ease,
        backdrop-filter 0.45s ease,
        background 0.45s ease;
}

.custom-calendly-sidebar.active .custom-calendly-overlay {
    opacity: 1;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
}

.custom-calendly-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    max-width: 100%;
    height: 100%;
    background: #ffffff;
    overflow: hidden;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.18);
    transform: translateX(100%) scale(0.96);
    opacity: 0;
    transition:
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.45s ease;
    will-change: transform, opacity;
    display: flex;
    justify-content: center;
    padding: 0 !important;
}

.custom-calendly-sidebar.active .custom-calendly-panel {
    transform: translateX(0) scale(1);
    opacity: 1;
}

.custom-calendly-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 100;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.85);
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        transform 0.35s ease,
        background 0.35s ease;
}

.custom-calendly-close:hover {
    background: #d32f2f;
    transform: rotate(90deg) scale(1.08);
}

#custom-calendly-widget {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
}

#custom-calendly-widget iframe {
    width: 100% !important;
    height: 100vh !important;
    border: none !important;
}

@media (max-width: 767px) {
    .custom-calendly-panel {
        width: 100%;
        transform: translateY(100%);
    }

    .custom-calendly-sidebar.active .custom-calendly-panel {
        transform: translateY(0);
    }
}

/* Chat window positioning */
#tidio-chat,
#tidio-chat iframe {
    bottom: -2.5em !important;
    right: -1em !important;
}

@media (max-width: 767px) {
    #tidio-chat,
    #tidio-chat iframe {
        bottom: 3em !important;
        right: 1em !important;
    }
}


/* ==========================================================================
   10. FLOATING ACTION BAR
   ========================================================================== */

.floating-bar {
    position: fixed;
    bottom: 0;
    right: 5em;
    left: auto;
    width: auto;
    z-index: 99999;
    border-radius: 12px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    transform: translateY(100%);
    opacity: 0;
    animation: slideUpBar 0.5s ease forwards;
}

@keyframes slideUpBar {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.floating-bar .elementor-icon-list-items {
    display: flex;
}

.floating-bar .elementor-icon-list-item {
    flex: 1;
    min-width: 70px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    background: linear-gradient(135deg, #D32F2F, #B71C1C);
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    position: relative;
}

.floating-bar .elementor-icon-list-item:last-child {
    border-right: none;
}

.floating-bar .elementor-icon-list-item > a {
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 12px 8px;
    text-decoration: none;
}

.floating-bar .elementor-icon-list-icon {
    margin-bottom: 8px;
}

.floating-bar .elementor-icon-list-icon i,
.floating-bar .elementor-icon-list-icon svg {
    transition: transform 0.3s ease;
}

.floating-bar .elementor-icon-list-text {
    transition: all 0.3s ease;
}

.floating-bar .elementor-icon-list-item:first-child {
    border-top-left-radius: 12px;
}

.floating-bar .elementor-icon-list-item:last-child {
    border-top-right-radius: 12px;
}

.floating-bar .elementor-icon-list-item:hover {
    background: linear-gradient(135deg, #ff3d3d, #c62828);
    transform: scale(1.03);
    transform-origin: bottom center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

@media (max-width: 767px) {
    .floating-bar {
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
    }

    .floating-bar .elementor-widget-container,
    .floating-bar .elementor-icon-list,
    .floating-bar .elementor-icon-list-items {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
    }

    .floating-bar .elementor-icon-list-item {
        flex: 1 !important;
        min-width: 0 !important;
    }

    .floating-bar .elementor-icon-list-item > a {
        padding: 8px 4px;
    }

    .floating-bar .elementor-icon-list-text {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}


/* ==========================================================================
   11. SITEMAP, BLOG & POST NAVIGATION
   ========================================================================== */

.custom-sitemap ul,
.custom-sitemap li {
    list-style: none !important;
}

.custom-sitemap li::marker {
    display: none !important;
    content: '' !important;
}

.custom-sitemap ul {
    padding-left: 24px;
    margin: 12px 0 0;
}

.custom-sitemap li {
    margin-bottom: 10px;
    position: relative;
}

.custom-sitemap a {
    color: #000000;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
    font-size: 15px !important;
    font-weight: 400;
    line-height: 1.6;
}

.custom-sitemap a:hover {
    color: #d32f2f;
    transform: translateX(8px);
}

.custom-sitemap a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: #d32f2f;
    transition: width 0.3s ease;
}

.custom-sitemap a:hover::after {
    width: 100%;
}

.custom-sitemap h2 {
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 600;
}

.custom-sitemap .month-item {
    margin-bottom: 18px;
    font-size: 18px;
    font-weight: 600;
}

.custom-sitemap .month-title {
    display: block;
    margin-bottom: 12px;
}

.custom-sitemap .child-item {
    position: relative;
    padding-left: 22px;
}

.custom-sitemap .child-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 12px;
    height: 3px;
    background: #d32f2f;
    border-radius: 20px;
}

.custom-sitemap .child-item::after {
    display: none;
}

.custom-sitemap .child-item > ul {
    margin-top: 12px;
    padding-left: 28px;
}

.custom-sitemap ul ul ul {
    margin-top: 14px;
    padding-left: 30px;
}

.custom-sitemap > .top-parent-list {
    padding-left: 0 !important;
}

/* Breadcrumb */
.rank-math-breadcrumb {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 27px;
    color: #000000;
}

.rank-math-breadcrumb p {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px;
}

.rank-math-breadcrumb a,
.rank-math-breadcrumb .last {
    color: #000000;
    text-decoration: underline;
    text-underline-offset: 4px; 
    text-decoration-thickness: 1px;
    transition: all 0.3s ease;
}

.rank-math-breadcrumb a:hover,
.rank-math-breadcrumb .last {
    color: #D32F2F;
}

.rank-math-breadcrumb .separator {
    color: #000000;
    margin: 0 4px;
}

/* Blog Listing */
.blog-item .blog-img {
    position: relative;
    overflow: hidden;
}

.blog-item .blog-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #D32F2F;
    border-radius: 25px;
    opacity: 0;
    transition: 0.3s ease;
    pointer-events: none;
}

.blog-item:hover .blog-img::after {
    opacity: 0.6;
}

.blogs-grid .elementor-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.blogs-grid .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.3s ease;
    border: 2px solid #D32F2F;
}

.blogs-grid .page-numbers.current,
.blogs-grid .page-numbers:hover {
    background-color: #D32F2F;
    color: #ffffff;
}

/* Post Navigation & Meta */
.post-meta .elementor-icon-list-item a {
    justify-content: flex-end !important;
}

.post-navigation {
    width: 100%;
}

.post-navigation .elementor-post-navigation {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.post-navigation .elementor-post-navigation__link {
    width: auto !important;
    overflow: unset;
    text-overflow: unset;
    display: flex;
    justify-content: center;
}

.post-navigation .elementor-post-navigation__link a {
    background: #D32F2F;
    box-shadow: 
        0px 3.75px 5.63px -3.75px rgba(130, 24, 26, 0.3),
        0px 9.38px 14.06px -2.81px rgba(130, 24, 26, 0.3);
    padding: 14px 22px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.35s ease;
}

.post-navigation .elementor-post-navigation__link a:hover {
    background: #000000;
}

.post-navigation .post-navigation__arrow-wrapper {
    transition: transform 0.35s ease;
    display: flex;
    align-items: center;
}

.post-navigation .post-navigation__arrow-wrapper svg {
    transition: all 0.35s ease;
}

.post-navigation .elementor-post-navigation__prev a:hover .post-navigation__arrow-wrapper {
    transform: translateX(-5px);
}

.post-navigation .elementor-post-navigation__next a:hover .post-navigation__arrow-wrapper {
    transform: translateX(5px);
}


/* ==========================================================================
   12. VAR-2 ANIMATED GLOW BUTTONS
   ========================================================================== */

.var-2 a.elementor-button.white-btn,
.var-2 a.elementor-button.red-btn {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid transparent !important;
    transition:
        transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 0.3s ease,
        color 0.35s ease 0.1s,
        border-color 0.35s ease;
}

.var-2 a.elementor-button.white-btn .elementor-button-content-wrapper,
.var-2 a.elementor-button.red-btn .elementor-button-content-wrapper,
.var-2 a.elementor-button.white-btn .elementor-button-text,
.var-2 a.elementor-button.red-btn .elementor-button-text {
    position: relative;
    z-index: 2;
    transition: color 0.35s ease 0.1s;
}

/* Hover Fill animation */
.var-2 a.elementor-button.white-btn::before,
.var-2 a.elementor-button.red-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    transform-origin: left center;
    transform: scaleX(0);
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
    pointer-events: none;
}

.var-2 a.elementor-button.white-btn:hover::before,
.var-2 a.elementor-button.red-btn:hover::before {
    transform: scaleX(1);
}

/* Traveling Glow Dot */
.var-2 a.elementor-button.white-btn::after,
.var-2 a.elementor-button.red-btn::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--dot-color);
    z-index: 1;
    pointer-events: none;
    left: 0%;
    top: 0%;
    transform: translate(-50%, -50%);
    animation: var2-glow-travel 5s linear infinite;
    transition: background-color 0.35s ease;
}

@keyframes var2-glow-travel {
    0%   { left: 0%;   top: 0%; }
    25%  { left: 100%; top: 0%; }
    50%  { left: 100%; top: 100%; }
    75%  { left: 0%;   top: 100%; }
    100% { left: 0%;   top: 0%; }
}

/* White Button */
.var-2 a.elementor-button.white-btn {
    --dot-color: var(--brand-red);
    background-color: #ffffff;
    color: var(--brand-red) !important;
    border-color: rgba(179, 35, 31, 0.18) !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.var-2 a.elementor-button.white-btn::before {
    background: var(--brand-red);
}

.var-2 a.elementor-button.white-btn,
.var-2 a.elementor-button.white-btn .elementor-button-text {
    color: var(--brand-red) !important;
}

.var-2 a.elementor-button.white-btn:hover {
    --dot-color: #ffffff;
    color: #ffffff !important;
    border-color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -10px rgba(179, 35, 31, 0.5);
}

.var-2 a.elementor-button.white-btn:hover .elementor-button-text {
    color: #ffffff !important;
}

/* Red Button */
.var-2 a.elementor-button.red-btn {
    --dot-color: #ffffff;
    background-color: var(--brand-red);
    color: #ffffff !important;
    border-color: var(--brand-red) !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.var-2 a.elementor-button.red-btn::before {
    background: #ffffff;
}

.var-2 a.elementor-button.red-btn,
.var-2 a.elementor-button.red-btn .elementor-button-text {
    color: #ffffff !important;
}

.var-2 a.elementor-button.red-btn:hover {
    --dot-color: var(--brand-red);
    color: var(--brand-red) !important;
    border-color: var(--brand-red) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -10px rgba(179, 35, 31, 0.35);
}

.var-2 a.elementor-button.red-btn:hover .elementor-button-text {
    color: var(--brand-red) !important;
}

/* VAR-2 Button SVG Icons */
.var-2 a.elementor-button.white-btn .elementor-button-icon svg,
.var-2 a.elementor-button.red-btn .elementor-button-icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
    color: currentColor;
    transition: fill 0.35s ease, color 0.35s ease;
}

.var-2 a.elementor-button.white-btn .elementor-button-icon svg path,
.var-2 a.elementor-button.red-btn .elementor-button-icon svg path {
    fill: currentColor;
    transition: fill 0.35s ease;
}

@media (prefers-reduced-motion: reduce) {
    .var-2 a.elementor-button.white-btn::after,
    .var-2 a.elementor-button.red-btn::after {
        animation: none;
    }

    .var-2 a.elementor-button.white-btn::before,
    .var-2 a.elementor-button.red-btn::before,
    .var-2 a.elementor-button.white-btn,
    .var-2 a.elementor-button.red-btn {
        transition: none;
    }
}


/* ==========================================================================
   13. MISCELLANEOUS UTILITIES & CAROUSELS
   ========================================================================== */

/* Custom Scroll Container */
.scroll-txt {
    max-height: 220px;
    overflow-y: auto;
    padding-right: 12px;
    scrollbar-width: thin;
    scrollbar-color: #ffffff rgba(255, 255, 255, 0.25);
}

.scroll-txt::-webkit-scrollbar {
    width: 4px;
}

.scroll-txt::-webkit-scrollbar-button,
.scroll-txt::-webkit-scrollbar-button:single-button {
    display: none;
    width: 0;
    height: 0;
}

.scroll-txt::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 10px;
}

.scroll-txt::-webkit-scrollbar-thumb {
    background: #ffffff;
    border-radius: 10px;
}

.scroll-txt::-webkit-scrollbar-corner {
    background: transparent;
}

/* Discount Box Pulse Animation */
.discount-box .elementor-icon-box-title {
    color: #000000;
    font-weight: 800;
    animation:
        discountColor 2s ease-in-out infinite alternate,
        discountPulse 2s ease-in-out infinite;
}

@keyframes discountColor {
    0%   { color: #000000; }
    100% { color: #D32F2F; }
}

@keyframes discountPulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.05); }
}

/* Accordion */
.faq-accordion > .e-n-accordion > .e-n-accordion-item[open] > .e-n-accordion-item-title {
    border-radius: 15px 15px 0px 0px;
}

.cta-box h3,
.center-icon-box h3,
.sign-boxes h3.elementor-image-box-title {
    margin-top: 0px !important;
}

.sign-boxes a:hover {
    color: #d32f2f;
}

.sign-boxes figure.elementor-image-box-img img {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.sign-boxes:hover figure.elementor-image-box-img img {
    opacity: 1;
}

/* Location Pills */
.location-wrapper {
    width: 100%;
}

.location-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-height: 110px;
    overflow: hidden;
    transition: 0.3s;
}

.location-container.expanded {
    max-height: 120px;
    overflow-y: auto;
    padding-right: 5px;
}

.location-pill {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 12.19px;
    line-height: 18.28px;
    color: #555555;
    background: #F7F7F7;
    border-radius: 50px;
    padding: 6px 14px;
    cursor: pointer;
    transition: 0.2s;
}

.location-pill:hover {
    color: #D32F2F;
    background: #FEF2F2;
}

.extra-location {
    display: none;
}

.location-container.expanded .extra-location {
    display: inline-block;
}

.location-more {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 12.19px;
    line-height: 18.28px;
    color: #D32F2F;
    background: #FEF2F2;
    border-radius: 50px;
    padding: 6px 14px;
    cursor: pointer;
}

.location-container.expanded .location-more {
    display: none;
}

.location-container::-webkit-scrollbar {
    width: 6px;
}

.location-container::-webkit-scrollbar-thumb {
    background: #dddddd;
    border-radius: 10px;
}

.show-all-locations .location-container {
    max-height: none !important;
    overflow: visible !important;
}

/* White FAQ Overlay Background */
.white-faq {
    position: relative;
    background: #ffffff;
    overflow: hidden;
}

.white-faq::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("https://abostonplumber.com/wp-content/uploads/2026/03/faq-bg.png") center/cover no-repeat;
    mix-blend-mode: exclusion;
    opacity: 1;
    pointer-events: none;
    z-index: 1;
}

.white-faq > * {
    position: relative;
    z-index: 2;
}

/* Team Carousel Navigation */
.team-carousel .elementor-swiper-button svg {
    fill: none !important;
}

.team-carousel .elementor-swiper-button svg rect {
    fill: #ffffff !important;
    stroke: #D32F2F !important;
    transition: fill 0.3s ease, stroke 0.3s ease !important;
}

.team-carousel .elementor-swiper-button svg path {
    fill: #D32F2F !important;
    transition: fill 0.3s ease !important;
}

.team-carousel .elementor-swiper-button:hover svg rect {
    fill: #D32F2F !important;
    stroke: #D32F2F !important;
}

.team-carousel .elementor-swiper-button:hover svg path {
    fill: #ffffff !important;
}

.call-btn span.elementor-button-text {
    text-align: left;
}

.call-btn .elementor-button-icon svg {
    height: auto;
    width: 25px;
}

.request-form h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 37.5px;
    line-height: 56px;
    text-align: center;
    color: #000000;
    margin-bottom: 50px;
    text-transform: uppercase;
}

/* Spacing Responsive Tweaks */
@media (max-width: 1024px) {
    .first-section-spacing {
        padding: 6em 2em 2em 2em !important;
        min-height: 100vh !important;
    }
}

@media (max-width: 767px) {
    .first-section-spacing {
        padding: 8em 2em 2em 2em !important;
        min-height: 100vh !important;
    }
}