/* Additions for the static build (the original theme CSS stays untouched in style.min.css). */

/* Contact Form 7 replacement */
.hp-field{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}
.lead-form .wpcf7-list-item{display:inline-block;margin:0}
.lead-form .wpcf7-list-item-label::before,.lead-form .wpcf7-list-item-label::after{content:none}
.lead-form .wpcf7-not-valid{border-color:#f53f3d!important}
.lead-form label.is-invalid .wpcf7-list-item-label{color:#f53f3d}
.lead-form.submitting [type=submit]{opacity:.6;cursor:progress}
.wpcf7 input[type=email],.wpcf7 input[type=tel]{direction:ltr}

/* Keyboard focus that the original theme lacked */
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid #f53f3d;outline-offset:2px}

/* Respect users who turn animations off */
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}

/* Classic-editor image captions carry a fixed inline width; keep them inside the column on phones */
.wp-caption{max-width:100%}
.wp-caption img{max-width:100%;height:auto}

/* Endless marquee strips (replace the Swiper autoplay that popped slides in and out) */
.rr-marquee-section{overflow:hidden}
.rr-marquee{overflow:visible!important}
.rr-marquee>.swiper-wrapper{display:flex;gap:12px;width:max-content;transform:translate3d(0,0,0);animation:rr-marquee var(--rr-duration,40s) linear infinite;will-change:transform}
.rr-marquee>.swiper-wrapper>.swiper-slide{margin:0!important}
@media(min-width:1024px){.rr-marquee>.swiper-wrapper>.swiper-slide{flex:0 0 var(--rr-slide-w,auto)!important;width:var(--rr-slide-w,auto)!important}}
@keyframes rr-marquee{from{transform:translate3d(0,0,0)}to{transform:translate3d(calc(-1 * var(--rr-distance,50%)),0,0)}}

/* Active district on the city pages */
.zone-item:focus-visible{outline:2px solid #f53f3d;outline-offset:2px}
/* The theme gave the map no height below the desktop layout; show it under the district list on phones and tablets */
@media(max-width:1023px){.section-zone__map{min-height:340px;margin-top:1rem}}

/* ---------- Service guide blocks (generated by tools/gen_services.py) ---------- */
.rr-h5{font:var(--font-h5)}
.rr-answer{font-size:1.0625rem;border-left:3px solid #f53f3d;padding-left:1rem}
.rr-guide{scroll-margin-top:90px}
.rr-guide__heading{max-width:52rem}
.rr-problems{display:grid;gap:clamp(.5rem,.417vw + .406rem,.75rem);margin-bottom:clamp(2.5rem,4vw,4.5rem)}
@media(min-width:760px){.rr-problems{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1320px){.rr-problems{grid-template-columns:repeat(3,1fr)}}
.rr-problem{background:#fff;border:1px solid rgba(22,27,44,.16);border-radius:clamp(1.5rem,.833vw + 1.313rem,2rem);padding:clamp(1.25rem,1vw + 1rem,1.75rem);transition:border-color .25s ease-in-out,box-shadow .25s ease-in-out}
@media(hover:hover){.rr-problem:hover{border-color:#f53f3d;box-shadow:0 12px 32px rgba(22,27,44,.08)}}
.rr-problem__title{font:var(--font-h5);margin-bottom:1rem;color:#161b2c}
.rr-problem__label{font-family:"Inter",sans-serif;font-size:.75rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#f53f3d;margin:1rem 0 .375rem}
.rr-problem__label:first-of-type{margin-top:0}
.rr-problem ul{padding-left:1.1rem;margin-bottom:0}
.rr-problem li{margin-bottom:.25rem}
.rr-problem p{margin-bottom:0;color:rgba(22,27,44,.86)}
.rr-prices,.rr-block{margin-bottom:clamp(2.5rem,4vw,4.5rem);max-width:60rem}
.rr-block:last-child,.rr-prices:last-child{margin-bottom:0}
.rr-prices .title,.rr-block .title{margin-bottom:.75rem}
.rr-table{overflow-x:auto;border:1px solid rgba(22,27,44,.16);border-radius:clamp(1.25rem,.833vw + 1rem,1.75rem);margin:1rem 0}
.rr-table table{width:100%;border-collapse:collapse;min-width:420px}
.rr-table th,.rr-table td{padding:.875rem 1.25rem;text-align:left;vertical-align:top}
.rr-table th{font-family:"Inter",sans-serif;font-size:.8125rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:rgba(22,27,44,.56);background:rgba(22,27,44,.04)}
.rr-table td:last-child,.rr-table th:last-child{white-space:nowrap;text-align:right}
.rr-table tbody tr+tr td{border-top:1px solid rgba(22,27,44,.1)}
.rr-table tbody tr:hover td{background:rgba(245,63,61,.04)}
.rr-note{font-size:.875rem;color:rgba(22,27,44,.64)}
.rr-rates{display:grid;gap:.75rem;margin:1rem 0}
@media(min-width:760px){.rr-rates{grid-template-columns:repeat(3,1fr)}}
.rr-rate{border:1px solid rgba(22,27,44,.16);border-radius:clamp(1.5rem,.833vw + 1.313rem,2rem);padding:1.25rem 1.5rem;background:#fff}
.rr-rate__price{font:var(--font-h3);color:#f53f3d;margin-bottom:.25rem}
.rr-rate h3{margin-bottom:.5rem}
.rr-rate p:last-child{margin-bottom:0;color:rgba(22,27,44,.86);font-size:.9375rem}
.rr-block ul,.rr-block ol{padding-left:1.2rem}
.rr-block li{margin-bottom:.375rem}
.rr-block p{color:rgba(22,27,44,.86)}
.rr-brands{display:flex;flex-wrap:wrap;gap:.5rem;list-style:none;padding:0!important;margin:1rem 0}
.rr-brands li{margin:0!important;border:1px solid rgba(22,27,44,.16);border-radius:999px;padding:.375rem .875rem;font-size:.875rem;background:#fff}
.rr-related{padding-top:0}
.rr-related__grid{display:grid;gap:1.5rem;border-top:1px solid rgba(22,27,44,.12);padding-top:clamp(2rem,3vw,3rem)}
@media(min-width:760px){.rr-related__grid{grid-template-columns:repeat(3,1fr)}}
.rr-related h2{margin-bottom:.75rem}
.rr-related ul{list-style:none;padding:0;margin-bottom:.75rem}
.rr-related li{margin-bottom:.375rem}
.rr-related a{color:#161b2c;text-decoration:none;border-bottom:1px solid rgba(245,63,61,.4);transition:color .2s,border-color .2s}
@media(hover:hover){.rr-related a:hover{color:#f53f3d;border-color:#f53f3d}}
.rr-related p{font-size:.875rem;color:rgba(22,27,44,.64)}
.rr-related__more{font-weight:600}
.rr-h3{font:var(--font-h3)}

/* Commercial cards use opaque photos, so the theme's red background-on-hover is invisible there; tint the photo instead */
.archive-services--photos .card-service__image>picture::after{content:"";position:absolute;inset:0;border-radius:calc(clamp(1.5rem,.833vw + 1.313rem,2rem) - .5rem);background:#f53f3d;opacity:0;mix-blend-mode:multiply;transition:opacity .25s ease-in-out;pointer-events:none}
@media(hover:hover){.archive-services--photos .card-service:has(.card-service__permalink:hover) .card-service__image>picture::after{opacity:.55}}

/* Posts: the theme's progress-bar TOC column was removed; give the article the space */
@media(min-width:1320px){.single__row{grid-template-columns:9fr 3fr}}

/* Project posts: facts table and closing call-to-action box */
.rr-facts{margin:1.5rem 0}
.rr-facts caption{caption-side:top;text-align:left;font:var(--font-h6);padding:.875rem 1.25rem .25rem;color:#161b2c}
.rr-facts th{width:34%;text-transform:none;letter-spacing:0;font-size:.875rem;background:transparent;color:rgba(22,27,44,.64);font-weight:600}
.rr-facts td,.rr-facts th{border-top:1px solid rgba(22,27,44,.1)}
.rr-facts td:last-child{white-space:normal;text-align:left}
.rr-cta-box{margin-top:2rem;padding:clamp(1.25rem,1vw + 1rem,1.75rem);border-radius:clamp(1.5rem,.833vw + 1.313rem,2rem);background:rgba(245,63,61,.06);border:1px solid rgba(245,63,61,.25)}
.rr-cta-box h2{margin-top:0}
.rr-cta-box ul{margin-bottom:0}

/* Out-of-area ZIP message under the field */
.rr-zip-note{margin:.375rem 0 0;font-size:.8125rem;line-height:1.4;color:#f53f3d}
.rr-zip-note a{color:inherit;text-decoration:underline}

/* Repair guides: error-code tables and numbered checks */
.rr-codes table{min-width:560px}
.rr-codes td:first-child{white-space:nowrap;width:1%;color:#f53f3d}
.rr-codes td:last-child,.rr-codes th:last-child{white-space:normal;text-align:left}
.rr-codes td{font-size:.9375rem}
.rr-steps{padding-left:1.25rem}
.rr-steps li{margin-bottom:.625rem}
.rr-steps li::marker{color:#f53f3d;font-weight:600}
.archive__desc{max-width:46rem;margin-top:.75rem}

/* Header menu: keep every item on one line (7 items incl. Repair Guides) and tighten spacing on narrower desktops */
.header__menu>li>a,.header-sticky__menu>li>a{white-space:nowrap}
@media(min-width:1024px){.header__menu{column-gap:.875rem}}
@media(min-width:1024px) and (max-width:1319px){
  .header__menu,.header-sticky__menu{column-gap:.75rem}
  .header__menu>li>a,.header-sticky__menu>li>a{font-size:.875rem}
  .header__nav{column-gap:.625rem;padding-left:1rem}
  .header__button,.header-sticky__button{padding-left:1rem;padding-right:1rem;font-size:.875rem}
}
.header__contacts span{white-space:nowrap}
/* Narrow desktops: the logo already links home, so drop the "Home" item to fit all 7 items on one line */
@media(min-width:1024px) and (max-width:1199px){.header__menu>li:first-child,.header-sticky__menu>li:first-child{display:none}}
@media(min-width:1024px) and (max-width:1099px){
  .header__menu,.header-sticky__menu{column-gap:.5rem;padding-right:.625rem}
  .header__menu>li>a,.header-sticky__menu>li>a{font-size:.8125rem}
  .header__nav{padding-left:.75rem;column-gap:.5rem}
  .header__button,.header-sticky__button{padding-left:.875rem;padding-right:.875rem}
}

/* Service pages: "Problem & Solution" without the decorative photos — one readable column */
.section-solution--text .section-solution__wrapper{grid-template-columns:1fr!important}
.section-solution--text .section-solution__heading{display:block;padding-right:0}
.section-solution--text .section-solution__content{max-width:none}
.section-solution--text .rr-sol-lead>h2{margin-bottom:.75rem}
@media(min-width:1024px){
  .section-solution--text .section-solution__content{display:grid;grid-template-columns:5fr 7fr;gap:clamp(1.5rem,3vw,3.5rem);align-items:start}
  .section-solution--text .rr-sol-lead{position:sticky;top:6rem}
}
.section-solution--text .rr-sol-body>:last-child{margin-bottom:0}

/* Tighter vertical rhythm: the theme's section spacing (64–100px per gap) read as empty space; 48–72px keeps the
   same proportions everywhere, including the overlapping rounded sections */
:root{--space:clamp(3rem,2.5vw + 2.25rem,4.5rem)}

/* The grey "steps" section slides up under the previous section's rounded bottom (theme design, margin-top:-radius).
   The troubleshooting block now sits right before it, so it gets the same treatment as the theme's solution block. */
.rr-guide{position:relative;z-index:5;background:#fff;padding-bottom:calc(var(--space)/2 + var(--section-radius));
  border-bottom-left-radius:var(--section-radius);border-bottom-right-radius:var(--section-radius)}

/* Repair Guides index: jump links and per-appliance groups; guides nav on Household/Commercial */
.rr-jump{display:flex;flex-wrap:wrap;gap:.5rem;list-style:none;padding:0;margin:0 0 clamp(1.5rem,2vw,2.5rem)}
.rr-jump a{display:inline-block;border:1px solid rgba(22,27,44,.16);border-radius:999px;padding:.375rem .875rem;font-size:.875rem;color:#161b2c;text-decoration:none;transition:border-color .2s,color .2s}
@media(hover:hover){.rr-jump a:hover{border-color:#f53f3d;color:#f53f3d}}
.rr-guide-group{scroll-margin-top:100px;margin-bottom:clamp(2rem,3vw,3.5rem)}
.rr-guide-group__title{font:var(--font-h3);margin-bottom:1rem;display:flex;flex-wrap:wrap;align-items:baseline;gap:.5rem 1rem}
.rr-guide-group__service{font:500 .875rem/1.4 "Inter",sans-serif;color:#f53f3d;text-decoration:underline}
.rr-guides-nav__grid{display:grid;gap:1.5rem 2rem;margin-bottom:1rem}
@media(min-width:760px){.rr-guides-nav__grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1140px){.rr-guides-nav__grid{grid-template-columns:repeat(3,1fr)}}
.rr-guides-nav h3 a{color:#161b2c;text-decoration:none}
.rr-guides-nav ul{list-style:none;padding:0;margin:.5rem 0 0}
.rr-guides-nav li{margin-bottom:.375rem}
.rr-guides-nav li a,.rr-guides-nav p a{color:#161b2c;border-bottom:1px solid rgba(245,63,61,.4);text-decoration:none}
@media(hover:hover){.rr-guides-nav a:hover{color:#f53f3d}}

/* 404: second button and helpful links */
.rr-404-actions{display:flex;flex-wrap:wrap;gap:.75rem}
.rr-404-links{margin-top:clamp(1.5rem,2vw,2rem)}
.rr-404-links p{font-weight:600;margin-bottom:.5rem}
.rr-404-links ul{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:.5rem}
.rr-404-links a{display:inline-block;border:1px solid rgba(22,27,44,.16);border-radius:999px;padding:.375rem .875rem;font-size:.875rem;color:#161b2c;text-decoration:none;transition:border-color .2s,color .2s}
@media(hover:hover){.rr-404-links a:hover{border-color:#f53f3d;color:#f53f3d}}

/* /bcard/ — returning-customer & community discounts (minimal, centered) */
.rr-bcard__inner{max-width:44rem;margin:0 auto;text-align:center}
.rr-bcard .subhead{display:inline-block}
.rr-bcard__lead{margin:1rem auto 0;max-width:36rem}
.rr-bcard__offers{display:grid;grid-template-columns:1fr;align-items:center;gap:.75rem;margin:clamp(1.75rem,3vw,2.5rem) 0}
@media(min-width:600px){.rr-bcard__offers{grid-template-columns:1fr auto 1fr}}
.rr-bcard__offer{border:1px solid rgba(22,27,44,.16);border-radius:clamp(1.5rem,.833vw + 1.313rem,2rem);padding:clamp(1.25rem,2vw,1.75rem);background:#fff;transition:border-color .25s,box-shadow .25s}
@media(hover:hover){.rr-bcard__offer:hover{border-color:#f53f3d;box-shadow:0 12px 32px rgba(22,27,44,.08)}}
.rr-bcard__amount{font:var(--font-h1);color:#f53f3d;margin:0;line-height:1}
.rr-bcard__label{font:var(--font-h5);margin:.375rem 0 .25rem;color:#161b2c}
.rr-bcard__note{margin:0;font-size:.875rem;color:rgba(22,27,44,.64)}
.rr-bcard__or{font:var(--font-h6);text-transform:uppercase;letter-spacing:.08em;color:rgba(22,27,44,.56)}
.rr-bcard__h2{font:var(--font-h4);margin:clamp(1.5rem,2.5vw,2rem) 0 .75rem}
.rr-bcard__who{list-style:none;padding:0;margin:0;display:grid;gap:.5rem;text-align:left}
@media(min-width:600px){.rr-bcard__who{grid-template-columns:repeat(2,1fr)}}
.rr-bcard__who li{border:1px solid rgba(22,27,44,.12);border-radius:1.25rem;padding:.875rem 1.125rem}
.rr-bcard__who strong{display:block;color:#161b2c}
.rr-bcard__who span{font-size:.875rem;color:rgba(22,27,44,.64)}
.rr-bcard__rules{text-align:left;padding-left:1.2rem;margin:0 auto;max-width:36rem}
.rr-bcard__rules li{margin-bottom:.5rem}
.rr-bcard__actions{display:flex;flex-wrap:wrap;justify-content:center;gap:.75rem;margin-top:clamp(1.5rem,2.5vw,2rem)}
.rr-bcard__foot{margin-top:1rem;font-size:.875rem;color:rgba(22,27,44,.64)}
.rr-404-actions{justify-content:center}
.rr-404-links{text-align:center}
.rr-404-links ul{justify-content:center}
