/**
 * McAfee Air & Plumbing — ACF Template Section CSS.
 *
 * Styles the section wrappers, grids, and structural elements emitted by
 * inc/template-helpers.php. The existing style.css still owns the section
 * "look and feel" (gradients, paddings, hero overlays) — this file adds the
 * grid/container/layout rules that previously came from WPBakery's
 * .vc_col-sm-*, .vc_column-inner, and .wpb_wrapper grid system, plus rules
 * for class names the helpers introduce that didn't exist in style.css.
 *
 * Loaded on every ACF-driven template (front, service-landing, service-detail,
 * legal, page, faq, about) via functions.php.
 */

/* ============================================
   GLOBAL CONTAINER + GRID PRIMITIVES
   (NOTE: .repair-stats-row, .cta-buttons are deliberately omitted here —
    style.css already styles them as a centered flex row; overriding with
    grid breaks the hero centering on the front page.)
   ============================================ */
.value-cards-grid,
.warning-grid-modern,
.services-hub-grid,
.process-steps-list,
.trust-badges-container,
.membership-grid,
.decision-grid,
.offer-features,
.promo-banner-inner {
    display: grid;
    gap: 24px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   HERO OVERLAY — Force absolute positioning everywhere
   style.css line 186 emits `.careers-hero-section > * { position: relative; z-index: 2 }`
   which targets the overlay div (it's a direct child of the section) and
   silently overrides the overlay's `position: absolute`. Same specificity,
   later rule wins, so the overlay collapses to 0 height and disappears.
   This block forces the overlay back to its intended full-bleed absolute
   layout with !important, identical rgba(0,0,0,0.6) backdrop across every
   hero variant in the site.
   ============================================ */
.repair-hero-overlay,
.maintenance-hero-overlay,
.drain-hero-overlay,
.careers-hero-overlay,
.faq-hero-overlay,
.about-hero-overlay,
.home-hero-section .repair-hero-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: auto !important;
    height: auto !important;
    background: rgba(0, 0, 0, 0.6) !important;
    z-index: 1 !important;
}

/* ============================================
   HERO — Width + centering fixes for ACF templates
   style.css makes `.careers-hero-section` (and its variants) a flex
   container with `display: flex; align-items: center`. The original
   WPBakery markup put a `.wpb_column.vc_col-sm-12` between the section
   and the content, which gave the inner stack a full-width flex item to
   live in. Our helpers omit that wrapper, so the inner `.vc_column-inner`
   shrinks to content width and the whole hero ends up left-aligned.
   Force the inner wrapper to flex:1 so it spans the full width again.
   ============================================ */
.repair-hero-section > .vc_column-inner,
.maintenance-hero-section > .vc_column-inner,
.drain-hero-section > .vc_column-inner,
.careers-hero-section > .vc_column-inner {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
}

/* The actual content stack — centre-aligned column with a sensible cap. */
.repair-hero-section .repair-hero-content,
.repair-hero-section .careers-hero-content,
.front-hero-section .repair-hero-content {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Hero stats row — keep style.css's flex behaviour. The flex column on
   .repair-hero-content above means the row will auto-centre horizontally;
   we just tweak the vertical spacing. */
.repair-hero-section .repair-stats-row {
    margin-top: 30px;
    margin-bottom: 30px;
    width: 100%;
}
.repair-hero-section .repair-stat { text-align: center; }

/* Hero CTA row wrapper — block 896 emits two <a class="hero-phone-cta">
   anchors back-to-back. style.css owns the button styling itself (red
   pill + secondary outline). All we do here is make sure they sit on the
   same row, centered, with consistent spacing — and that both buttons
   share the same height so the primary doesn't shrink relative to the
   explicitly-60px secondary. */
.repair-hero-cta {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
    width: 100%;
}
.repair-hero-cta .hero-phone-cta {
    height: 60px;
    gap: 8px;
}
.repair-hero-cta .hero-phone-cta br { display: none; }

/* WPBakery icon wrapper inside the CTA. The vc_icon_element wraps the
   actual icon in 3 nested divs that each get their own line-height +
   margin from js_composer's CSS, which inflates the button height.
   Flatten the wrappers so only the inner <span class="vc_icon_element-icon">
   contributes to layout. */
.repair-hero-cta .hero-phone-cta .vc_icon_element,
.repair-hero-cta .hero-phone-cta .vc_icon_element-outer,
.repair-hero-cta .hero-phone-cta .vc_icon_element-inner {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 18px;
    line-height: 1 !important;
    height: 18px !important;
    min-width: 18px !important;
    width: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
    background: transparent !important;
}
.repair-hero-cta .hero-phone-cta .vc_icon_element-icon {
    color: #fff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    height: 18px !important;
    line-height: 18px !important;
    left: auto !important;
    margin: 0 !important;
    position: static !important;
    top: auto !important;
    transform: none !important;
    width: 18px !important;
}

.repair-hero-cta .hero-phone-cta > i,
.repair-hero-cta .hero-phone-cta .fa {
    flex: 0 0 18px;
    line-height: 1 !important;
}

/* ============================================
   REPAIR INTRO SECTION (Value cards 3-up)
   ============================================ */
.repair-intro-section {
    padding: 80px 20px;
    background: #fff;
}
.intro-header {
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
}
.intro-header .section-badge {
    display: inline-block;
    background: rgba(235, 28, 41, 0.1);
    color: #eb1c29;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}
.intro-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin: 0 0 16px;
    color: #1a1a1a;
}
.intro-header p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}
.value-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.value-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: #eb1c29;
}
.value-card .value-icon {
    display: inline-flex;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(235, 28, 41, 0.08);
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.value-card .value-icon i,
.value-card .value-icon span.vc_icon_element-icon {
    font-size: 1.75rem;
    color: #eb1c29 !important;
}
.value-card h3 {
    margin: 0 0 12px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
}
.value-card p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   SERVICE LANDING CARDS
   ============================================ */
.repair-services-section {
    padding: clamp(64px, 6vw, 96px) 0;
}

.repair-services-section > .vc_column-inner {
    box-sizing: border-box;
    width: 100%;
    max-width: var(--mc-container-max, 1480px);
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(16px, 3vw, 32px);
    padding-right: clamp(16px, 3vw, 32px);
}

.repair-services-section .services-container {
    max-width: 1200px;
}

.repair-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1100px) {
    .repair-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .repair-services-grid {
        grid-template-columns: 1fr;
    }
}

.repair-service-card .service-icon-header > i,
.maintenance-service-card .service-icon-header > i,
.drain-service-card .service-icon-header > i {
    display: inline-block;
    margin: 0 auto 20px;
    color: #fff !important;
    font-size: 70px !important;
    line-height: 1 !important;
}

.service-feature-list li > i {
    display: none !important;
}

/* ============================================
   WARNING SIGNS GRID
   ============================================ */
.warning-signs-section,
.front-diff-section {
    background: #f8f9fa;
    padding: clamp(64px, 6vw, 96px) 0;
}

.warning-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.warning-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}
.warning-header .section-badge {
    display: inline-block;
    background: rgba(235, 28, 41, 0.1);
    color: #eb1c29;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}
.warning-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin: 0 0 16px;
}
.warning-header p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.6;
}
.warning-grid-modern {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    max-width: 100%;
}

/* Icon inside the 60×60 warning circle. WPBakery's vc_icon_element-size-sm
   only renders 1.6em (~25 px) which gets lost in the circle. Bump it. */
.warning-icon-wrapper .vc_icon_element-icon,
.warning-icon-wrapper i {
    font-size: 26px !important;
    line-height: 1 !important;
    color: #eb1c29 !important;
}
.warning-icon-wrapper .vc_icon_element-outer,
.warning-icon-wrapper .vc_icon_element-inner {
    width: auto !important;
    height: auto !important;
    line-height: 1 !important;
    margin: 0 !important;
    background: transparent !important;
}
.warning-icon-wrapper .vc_icon_element-inner { display: inline-flex; align-items: center; justify-content: center; }

/* ============================================
   SERVICES SHOWCASE (HUB) GRID
   ============================================ */
.services-showcase-section {
    background: #f8f9fa;
}
.showcase-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}
.showcase-header .section-badge {
    display: inline-block;
    background: rgba(235, 28, 41, 0.1);
    color: #eb1c29;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}
.showcase-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin: 0 0 16px;
}
.showcase-header .services-intro,
.services-intro {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.6;
}
.services-hub-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    align-items: stretch;
    max-width: 1200px;
}
.service-hub-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
}
.card-icon-header {
    padding: 28px 24px 20px;
    text-align: center;
    color: #fff;
}
.card-icon-header.primary-red {
    background: linear-gradient(135deg, #eb1c29 0%, #d01520 100%);
}
.card-icon-header.dark-black {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
}
.card-icon-header.gradient-red-black {
    background: linear-gradient(135deg, #eb1c29 0%, #1a1a1a 100%);
}
.card-icon-header .vc_icon_element-icon,
.card-icon-header i {
    font-size: 2.25rem;
    color: #fff !important;
    margin-bottom: 12px;
    display: inline-block;
}
.card-icon-header h3,
.card-icon-header .card-title {
    color: #fff;
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
}
.card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.card-body .service-description {
    color: #444;
    line-height: 1.6;
    margin: 0 0 16px;
}
.service-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}
.service-highlights li {
    padding: 6px 0 6px 24px;
    position: relative;
    color: #333;
}
.service-highlights li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free", "FontAwesome";
    font-weight: 900;
    color: #eb1c29;
    position: absolute;
    left: 0;
    top: 7px;
    font-size: 0.85rem;
}
.service-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #eb1c29;
    color: #fff !important;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    margin-top: auto;
    align-self: flex-start;
    transition: background 0.2s ease;
}
.service-cta-button:hover { background: #c8141f; }

/* ============================================
   PROCESS STEPS
   ============================================ */
.repair-process-section {
    padding: 80px 20px;
    background: #f8f9fa;
}
.process-content {
    max-width: 1200px;
    margin: 0 auto;
}
.process-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr);
    gap: 48px;
    align-items: start;
}
.process-content--main {
    max-width: none;
    margin: 0;
}
.repair-process-section--has-aside .process-header {
    text-align: left;
    max-width: none;
    margin: 0 0 28px;
}
.repair-process-section--has-aside .process-steps-list {
    display: block;
    margin: 0;
    max-width: none;
}
.repair-process-section--has-aside .process-step-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    text-align: left;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    margin: 0 0 18px;
}
.repair-process-section--has-aside .step-number-circle {
    width: 34px;
    height: 34px;
    margin: 2px 0 0;
    font-size: 0.95rem;
    flex: 0 0 34px;
}
.repair-process-section--has-aside .step-content h3 {
    margin-bottom: 5px;
}
.process-aside {
    min-width: 0;
}
.process-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.process-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin: 0 0 16px;
}
.process-intro {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.6;
}
.process-steps-list {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-bottom: 60px;
}
.process-step-item {
    background: #fff;
    border-radius: 12px;
    padding: 28px 22px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}
.step-number-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #eb1c29 0%, #d01520 100%);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}
.process-step-item h3,
.process-step-item h4 {
    margin: 0 0 10px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a1a;
}
.process-step-item p {
    color: #555;
    line-height: 1.55;
    margin: 0;
}
.before-after-box {
    background: #fff;
    border-radius: 8px;
    padding: 34px 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}
.before-after-box h3 {
    text-align: center;
    margin: 0 0 26px;
    font-size: 1.25rem;
    font-weight: 800;
}
.before-after-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}
.before-section h4,
.after-section h4 {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0 12px;
}
.comparison-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.comparison-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 10px;
    color: #555;
    font-size: 0.92rem;
}
.comparison-list li::before {
    content: "x";
    position: absolute;
    left: 0;
    top: 0;
    color: #eb1c29;
    font-weight: 800;
}
.comparison-list.positive li::before {
    content: "\2713";
    color: #38a169;
}
.stats-row {
    display: flex;
    justify-content: center;
    gap: 42px;
    border-top: 1px solid #eee;
    margin-top: 26px;
    padding-top: 22px;
}
.mini-stat {
    text-align: center;
}
.mini-stat .stat-num {
    color: #eb1c29;
    font-size: 1.7rem;
    font-weight: 800;
}
.mini-stat .stat-text {
    color: #666;
    font-size: 0.82rem;
}

/* Trust badges row (3-up) */
.trust-badges-container {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-top: 30px;
}
.trust-badge {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 22px 20px;
    text-align: center;
}
.trust-badge i {
    font-size: 1.75rem;
    color: #eb1c29;
    margin-bottom: 12px;
    display: inline-block;
}
.trust-badge h4 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 700;
}
.trust-badge p {
    color: #555;
    line-height: 1.5;
    margin: 0;
    font-size: 0.95rem;
}

/* ============================================
   SPECIAL OFFER
   ============================================ */
.repair-offer-section {
    padding: 84px 20px;
    background: #fff;
}
.offer-container {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}
.offer-header {
    margin-bottom: 28px;
}
.offer-header h2 {
    font-size: 2.15rem;
    font-weight: 800;
    margin: 0 0 10px;
}
.offer-intro {
    color: #666;
    margin: 0;
}
.offer-box {
    max-width: 650px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #f1f1f1;
    border-radius: 8px;
    padding: 40px 38px;
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.08);
}
.price-badge {
    margin-bottom: 24px;
}
.price-label,
.price-savings {
    display: block;
    color: #777;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.price-amount {
    display: block;
    color: #eb1c29;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.05;
    margin: 6px 0;
}
.offer-content h3 {
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 18px;
}
.offer-features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 22px;
    text-align: left;
    margin: 0 auto 22px;
}
.offer-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #333;
    font-size: 0.92rem;
    line-height: 1.35;
}
.offer-item i {
    color: #eb1c29;
    font-size: 0.85rem;
    margin-top: 3px;
    flex-shrink: 0;
}
.offer-disclaimer {
    color: #777;
    font-size: 0.78rem;
    margin: 0 0 24px;
}
.offer-action {
    background: #fafafa;
    border-radius: 6px;
    padding: 22px;
}
.offer-action p {
    margin: 0 0 8px;
    color: #555;
}
.offer-phone-link {
    color: #eb1c29;
    font-size: 1.25rem;
    font-weight: 800;
    text-decoration: none;
}

/* ============================================
   MEMBERSHIP SECTION
   ============================================ */
.membership-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    color: #fff;
}
.membership-container {
    max-width: 1200px;
    margin: 0 auto;
}
.membership-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}
.membership-header .section-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}
.membership-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin: 0 0 16px;
    color: #fff;
}
.membership-header p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}
.membership-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.membership-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 28px 22px;
    text-align: center;
}
.membership-icon-wrapper {
    display: inline-flex;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(235, 28, 41, 0.2);
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.membership-icon-wrapper i {
    font-size: 1.5rem;
    color: #eb1c29;
}
.membership-box h3,
.membership-box h4 {
    color: #fff;
    margin: 0 0 10px;
    font-size: 1.1rem;
    font-weight: 700;
}
.membership-box p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.55;
    margin: 0;
    font-size: 0.95rem;
}
.membership-cta {
    text-align: center;
    margin-top: 36px;
}

/* ============================================
   FINAL CTA
   ============================================ */
.cta-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 20px;
}
.cta-container h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin: 0 0 16px;
    color: #fff;
}
.cta-container > p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0 0 28px;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 12px;
    flex-wrap: wrap;
    max-width: 100%;
}
@media (max-width: 640px) {
    .cta-buttons { flex-direction: column; align-items: center; }
}
.cta-note {
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* ============================================
   QUICK DECISION (Quick FAQ)
   ============================================ */
.decision-helper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
}
.decision-header {
    text-align: center;
    margin-bottom: 40px;
}
.decision-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin: 0 0 12px;
    color: #1a1a1a;
}
.decision-header p {
    color: #555;
    font-size: 1.05rem;
}
.decision-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
}
.decision-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.decision-item .decision-question {
    margin: 0 0 12px;
    font-size: 1.1rem;
    font-weight: 700;
}
.decision-item .decision-answer {
    color: #555;
    line-height: 1.55;
    margin-bottom: 12px;
}

@media (max-width: 900px) {
    .process-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }
    .offer-features,
    .decision-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .before-after-grid {
        grid-template-columns: 1fr;
    }
    .stats-row {
        gap: 22px;
    }
    .offer-box {
        padding: 30px 22px;
    }
}

/* ============================================
   PROMO BANNER
   ============================================ */
.promo-banner-inner {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    max-width: 1200px;
    padding: 0 20px;
}
.promo-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    text-align: center;
    color: #fff;
}
.promo-item i {
    font-size: 1.5rem;
    color: #fff;
    flex-shrink: 0;
    margin-top: 4px;
}
.promo-item__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    line-height: 1;
}
.promo-item__icon i {
    font-size: 40px !important;
    margin: 0;
}
.promo-item h3,
.promo-item h4 {
    color: #fff;
    margin: 0 0 4px;
    font-size: 1.05rem;
}
.promo-item p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.45;
}

/* ============================================
   SERVICE AREA CITIES LIST
   ============================================ */
.repair-area-section {
    padding: 80px 20px;
    background: #fff;
}
.repair-area-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}
.repair-area-head {
    margin-bottom: 36px;
}
.repair-area-head h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin: 0 0 12px;
}
.repair-area-cities {
    list-style: none;
    padding: 0;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    max-width: 900px;
}
.repair-area-cities li {
    padding: 10px 14px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #1a1a1a;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}
.repair-area-cities li i {
    color: #eb1c29;
}

/* ============================================
   EMERGENCY BANNER (mcafee-emergency-banner)
   inner content layout — style.css owns the background + outer padding.
   ============================================ */
.emergency-modern-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}
.emergency-left {
    display: flex;
    gap: 18px;
    align-items: center;
    color: #fff;
}
.emergency-banner-modern .emergency-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 70px;
    width: 70px;
    height: 70px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1;
}
.emergency-banner-modern .emergency-icon i {
    display: block;
    font-size: 70px !important;
    line-height: 1 !important;
    margin: 0;
    color: rgba(255, 255, 255, 0.9) !important;
}
.emergency-banner-modern .emergency-left .vc_icon_element-outer,
.emergency-banner-modern .emergency-left .vc_icon_element-inner {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 70px;
    width: 70px !important;
    height: 70px !important;
    line-height: 70px !important;
    margin: 0 !important;
}
.emergency-banner-modern .emergency-left .vc_icon_element-icon {
    position: static !important;
    display: block;
    width: 70px !important;
    height: 70px !important;
    font-size: 70px !important;
    line-height: 70px !important;
    color: rgba(255, 255, 255, 0.9) !important;
}
.emergency-left h3 {
    color: #fff;
    margin: 0 0 4px;
    font-size: 1.25rem;
    font-weight: 700;
}
.emergency-left p {
    color: rgba(255, 255, 255, 0.92);
    margin: 0;
}
.emergency-right {
    display: flex;
    justify-content: flex-end;
    text-align: right;
}
.emergency-number {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
}
.emergency-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 64px;
    margin-top: 0;
    padding: 18px 32px;
    background: #fff;
    color: #eb1c29 !important;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.2s ease;
}
.emergency-btn i {
    color: #eb1c29 !important;
    font-size: 1rem;
    line-height: 1;
}
.emergency-btn__label,
.emergency-btn__phone {
    display: inline-block;
}
.emergency-btn__phone {
    letter-spacing: 0.01em;
}
.emergency-btn:hover {
    background: rgba(255, 255, 255, 0.92);
    transform: translateY(-1px);
}
@media (max-width: 640px) {
    .emergency-modern-content {
        justify-content: center;
        text-align: center;
    }
    .emergency-left { flex-direction: column; }
    .emergency-right {
        justify-content: center;
        text-align: center;
        width: 100%;
    }
    .emergency-btn {
        width: 100%;
        max-width: 340px;
        min-height: 60px;
        padding: 16px 24px;
    }
}

/* ============================================
   TESTIMONIALS SECTION (intro line)
   ============================================ */
.testimonials-section .testimonials-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 32px;
}
.testimonials-header .section-badge {
    display: inline-block;
    background: rgba(235, 28, 41, 0.1);
    color: #eb1c29;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}
.testimonials-header h2,
.testimonials-header h3 {
    font-size: 2.25rem;
    font-weight: 800;
    margin: 0 0 12px;
}
.testimonials-section .testimonials-intro,
.testimonials-section .testimonials-header p {
    color: #555;
    line-height: 1.6;
}

/* ============================================
   LEGAL TEMPLATE
   ============================================ */
.mcafee-legal { background: #fff; }
.mcafee-legal .legal-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 20px;
}
.mcafee-legal .legal-header { padding: 60px 0 30px; }
.mcafee-legal .legal-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 12px;
}
.mcafee-legal .legal-last-updated {
    color: #777;
    font-size: 0.95rem;
    margin: 0 0 20px;
}
.mcafee-legal .legal-intro {
    color: #444;
    line-height: 1.65;
    font-size: 1.05rem;
}
.mcafee-legal .legal-body { padding-bottom: 60px; }
.mcafee-legal .legal-prose,
.mcafee-legal .legal-prose * {
    line-height: 1.7;
}
.mcafee-legal .legal-prose h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 36px 0 14px;
}
.mcafee-legal .legal-prose h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 28px 0 10px;
}
.mcafee-legal .legal-prose ul,
.mcafee-legal .legal-prose ol { margin: 12px 0 16px 22px; padding-left: 20px; }
.mcafee-legal .legal-prose p { margin: 0 0 14px; color: #333; }
.mcafee-legal .legal-form { padding: 0 0 60px; }
.mcafee-legal .legal-contact { padding: 30px 0 60px; }
.mcafee-legal .legal-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mcafee-legal .legal-contact li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ============================================
   PAGE (flex) — Rich text / two-col / form chrome
   ============================================ */
.mcafee-page .page-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
.mcafee-page .page-rich-text { padding: 60px 0; }
.mcafee-page .page-rich-text__title {
    font-size: 2.25rem;
    font-weight: 800;
    margin: 16px 0 18px;
}
.mcafee-page .page-prose {
    color: #333;
    line-height: 1.7;
}
.mcafee-page .page-prose p { margin: 0 0 14px; }
.mcafee-page .page-prose h2 { font-size: 1.65rem; margin: 32px 0 14px; }

.mcafee-page .page-two-col__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 60px 0;
}
.mcafee-page .page-two-col--left .page-two-col__inner {
    grid-template-areas: "media text";
}
.mcafee-page .page-two-col--right .page-two-col__inner {
    grid-template-areas: "text media";
}
.mcafee-page .page-two-col__text { grid-area: text; }
.mcafee-page .page-two-col__media { grid-area: media; }
.mcafee-page .page-two-col__media img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}
.mcafee-page .page-two-col__features {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
}
.mcafee-page .page-two-col__features li {
    padding: 6px 0 6px 24px;
    position: relative;
}
.mcafee-page .page-two-col__features li i {
    color: #eb1c29;
    position: absolute;
    left: 0;
    top: 9px;
}
@media (max-width: 768px) {
    .mcafee-page .page-two-col__inner {
        grid-template-columns: 1fr;
        grid-template-areas: "text" "media" !important;
    }
}

.mcafee-page .page-form-section { padding: 60px 0; }
.mcafee-page .page-form-section__title {
    font-size: 2.25rem;
    font-weight: 800;
    margin: 0 0 16px;
    text-align: center;
}
.mcafee-page .page-form-section__intro {
    color: #555;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 28px;
}
.mcafee-page .page-card-grid-section { padding: 60px 0; }
.mcafee-page .page-block-embed { padding: 40px 0; }
.mcafee-page .page-raw-html { padding: 0; }

.page-blog-listing {
    padding: 60px 0;
    background: #fff;
}
.page-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}
.page-blog-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}
.page-blog-card__image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}
.page-blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.page-blog-card__body {
    padding: 22px;
}
.page-blog-card__title {
    margin: 0 0 12px;
    font-size: 1.25rem;
    line-height: 1.3;
}
.page-blog-card__title a {
    color: #111;
    text-decoration: none;
}
.page-blog-card__excerpt {
    color: #555;
    line-height: 1.6;
}
.page-blog-pagination {
    margin-top: 32px;
    text-align: center;
}

/* ============================================
   SERVICE AREA — Linked city affordance
   When a per-page city has a match in the Service Area registry, the helper
   wraps it in <a> and adds the --linked modifier. Give it a subtle hover so
   visitors discover it's clickable without disturbing the unlinked rows.
   ============================================ */
.mcafee-area-item--linked a {
    color: inherit;
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
    transition: color 0.15s ease;
}
.mcafee-area-item--linked {
    transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.mcafee-area-item--linked:hover,
.mcafee-area-item--linked:focus-within {
    background: rgba(235, 28, 41, 0.08);
    transform: translateY(-1px);
    box-shadow: 0 6px 14px -10px rgba(235, 28, 41, 0.4);
    cursor: pointer;
}
.mcafee-area-item--linked:hover a,
.mcafee-area-item--linked:focus-within a {
    color: #eb1c29;
}

/* ============================================================
 * Hero breadcrumbs — centered above the badge.
 * Applies to every template whose hero uses .mcafee-hero-breadcrumbs
 * (service area hub/city, service landing/detail, page, about, faq,
 * contact). Front-page intentionally omits breadcrumbs.
 * ============================================================ */
.mcafee-hero-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 0 auto 16px;
    font-size: 1.3rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.92);
    max-width: 100%;
    text-align: center;
}

.mcafee-hero-breadcrumbs .mcafee-crumb {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease;
}

.mcafee-hero-breadcrumbs a.mcafee-crumb:hover,
.mcafee-hero-breadcrumbs a.mcafee-crumb:focus-visible {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.mcafee-hero-breadcrumbs .mcafee-crumb--current {
    color: #fff;
    font-weight: 600;
}

.mcafee-hero-breadcrumbs .mcafee-crumb-sep {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.3rem;
    line-height: 1;
}

@media (max-width: 640px) {
    .mcafee-hero-breadcrumbs {
        font-size: 1.25rem;
        gap: 6px;
    }
    .mcafee-hero-breadcrumbs .mcafee-crumb-sep {
        font-size: 1.25rem;
    }
}
