{"id":1364,"date":"2025-12-05T18:00:35","date_gmt":"2025-12-05T18:00:35","guid":{"rendered":"http:\/\/wpwebsitedesigns.com\/cooleyscomfort\/?page_id=1364"},"modified":"2026-01-26T15:55:41","modified_gmt":"2026-01-26T15:55:41","slug":"repair-or-replace","status":"publish","type":"page","link":"http:\/\/wpwebsitedesigns.com\/cooleyscomfort\/repair-or-replace\/","title":{"rendered":"Repair Or Replace"},"content":{"rendered":"<style>.elementor-1364 .elementor-element.elementor-element-7392cb7:not(.elementor-motion-effects-element-type-background), .elementor-1364 .elementor-element.elementor-element-7392cb7 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:var( --e-global-color-primary );background-image:url(\"http:\/\/wpwebsitedesigns.com\/cooleyscomfort\/wp-content\/uploads\/2025\/11\/Coolyscompfort-BG-image-scaled.png\");background-position:center center;background-size:cover;}.elementor-1364 .elementor-element.elementor-element-7392cb7 > .elementor-background-overlay{background-color:var( --e-global-color-primary );opacity:0.9;transition:background 0.3s, border-radius 0.3s, opacity 0.3s;}.elementor-1364 .elementor-element.elementor-element-7392cb7 > .elementor-container{max-width:1280px;min-height:35vh;}.elementor-1364 .elementor-element.elementor-element-7392cb7{transition:background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;padding:0em 0em 8em 0em;}.elementor-1364 .elementor-element.elementor-element-55d2543{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + -10px) 0px;--e-icon-list-icon-size:11px;--icon-vertical-offset:0px;}.elementor-1364 .elementor-element.elementor-element-55d2543 .elementor-icon-list-items:not(.elementor-inline-items) .elementor-icon-list-item:not(:last-child){padding-block-end:calc(10px\/2);}.elementor-1364 .elementor-element.elementor-element-55d2543 .elementor-icon-list-items:not(.elementor-inline-items) .elementor-icon-list-item:not(:first-child){margin-block-start:calc(10px\/2);}.elementor-1364 .elementor-element.elementor-element-55d2543 .elementor-icon-list-items.elementor-inline-items .elementor-icon-list-item{margin-inline:calc(10px\/2);}.elementor-1364 .elementor-element.elementor-element-55d2543 .elementor-icon-list-items.elementor-inline-items{margin-inline:calc(-10px\/2);}.elementor-1364 .elementor-element.elementor-element-55d2543 .elementor-icon-list-items.elementor-inline-items .elementor-icon-list-item:after{inset-inline-end:calc(-10px\/2);}.elementor-1364 .elementor-element.elementor-element-55d2543 .elementor-icon-list-icon i{color:var( --e-global-color-e14445e );transition:color 0.3s;}.elementor-1364 .elementor-element.elementor-element-55d2543 .elementor-icon-list-icon svg{fill:var( --e-global-color-e14445e );transition:fill 0.3s;}.elementor-1364 .elementor-element.elementor-element-55d2543 .elementor-icon-list-item > .elementor-icon-list-text, .elementor-1364 .elementor-element.elementor-element-55d2543 .elementor-icon-list-item > a{font-family:var( --e-global-typography-58f3e1d-font-family ), Sans-serif;font-size:var( --e-global-typography-58f3e1d-font-size );font-weight:var( --e-global-typography-58f3e1d-font-weight );text-transform:var( --e-global-typography-58f3e1d-text-transform );line-height:var( --e-global-typography-58f3e1d-line-height );letter-spacing:var( --e-global-typography-58f3e1d-letter-spacing );}.elementor-1364 .elementor-element.elementor-element-55d2543 .elementor-icon-list-text{color:var( --e-global-color-e14445e );transition:color 0.3s;}.elementor-1364 .elementor-element.elementor-element-55d2543 .elementor-icon-list-item:hover .elementor-icon-list-text{color:var( --e-global-color-accent );}.elementor-1364 .elementor-element.elementor-element-634512f{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;text-align:center;}.elementor-1364 .elementor-element.elementor-element-634512f .elementor-heading-title{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-size:var( --e-global-typography-secondary-font-size );font-weight:var( --e-global-typography-secondary-font-weight );text-transform:var( --e-global-typography-secondary-text-transform );line-height:var( --e-global-typography-secondary-line-height );color:var( --e-global-color-a567df4 );}.elementor-1364 .elementor-element.elementor-element-d8714d4{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;}.elementor-1364 .elementor-element.elementor-element-63cced5{--display:flex;}.elementor-1364 .elementor-element.elementor-element-122eed5{text-align:center;}.elementor-1364 .elementor-element.elementor-element-ce4ecb7{text-align:center;}.elementor-1364 .elementor-element.elementor-element-eb8155c{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-1364 .elementor-element.elementor-element-8b23478{--display:flex;}.elementor-1364 .elementor-element.elementor-element-f45b952 .elementor-repeater-item-5082936 .swiper-slide-bg{background-color:#000000;background-image:url(http:\/\/wpwebsitedesigns.com\/cooleyscomfort\/wp-content\/uploads\/2026\/01\/imgi_25_equipment-performance.jpg);background-size:cover;}.elementor-1364 .elementor-element.elementor-element-f45b952 .elementor-repeater-item-5082936 .swiper-slide-inner .elementor-slide-heading{color:#FFFFFF;}.elementor-1364 .elementor-element.elementor-element-f45b952 .elementor-repeater-item-5082936 .swiper-slide-inner .elementor-slide-description{color:#FFFFFF;}.elementor-1364 .elementor-element.elementor-element-f45b952 .elementor-repeater-item-5082936 .swiper-slide-inner .elementor-slide-button{color:#FFFFFF;border-color:#FFFFFF;}.elementor-1364 .elementor-element.elementor-element-f45b952 .elementor-repeater-item-f789b7c .swiper-slide-bg{background-color:#4054b2;background-image:url(http:\/\/wpwebsitedesigns.com\/cooleyscomfort\/wp-content\/uploads\/2026\/01\/imgi_21_cost-of-repair.jpg);background-size:cover;}.elementor-1364 .elementor-element.elementor-element-f45b952 .elementor-repeater-item-b09c9a2 .swiper-slide-bg{background-color:#1abc9c;background-image:url(http:\/\/wpwebsitedesigns.com\/cooleyscomfort\/wp-content\/uploads\/2026\/01\/imgi_22_energy-efficiency.jpg);background-size:cover;}.elementor-1364 .elementor-element.elementor-element-f45b952 .elementor-repeater-item-478b5ce .swiper-slide-bg{background-color:#1abc9c;background-image:url(http:\/\/wpwebsitedesigns.com\/cooleyscomfort\/wp-content\/uploads\/2026\/01\/imgi_23_repair-history.jpg);background-size:cover;}.elementor-1364 .elementor-element.elementor-element-f45b952 .swiper-slide{transition-duration:calc(5000ms*1.2);height:400px;}.elementor-1364 .elementor-element.elementor-element-f45b952 .swiper-slide-contents{max-width:66%;}.elementor-1364 .elementor-element.elementor-element-f45b952 .swiper-slide-inner{text-align:center;}.elementor-1364 .elementor-element.elementor-element-f45b952 .elementor-slide-heading{color:#000000;}.elementor-1364 .elementor-element.elementor-element-f45b952 .elementor-swiper-button{color:#FFFFFF;}.elementor-1364 .elementor-element.elementor-element-f45b952 .elementor-swiper-button svg{fill:#FFFFFF;}.elementor-1364 .elementor-element.elementor-element-f45b952 .swiper-pagination-bullet{--swiper-pagination-bullet-horizontal-gap:6px;--swiper-pagination-bullet-vertical-gap:6px;height:8px;width:8px;}.elementor-1364 .elementor-element.elementor-element-f45b952 .swiper-horizontal .swiper-pagination-progressbar{height:8px;}.elementor-1364 .elementor-element.elementor-element-f45b952 .swiper-pagination-fraction{font-size:8px;}.elementor-1364 .elementor-element.elementor-element-f45b952 .swiper-pagination-bullet:not(.swiper-pagination-bullet-active){background-color:#FF0000;opacity:1;}.elementor-1364 .elementor-element.elementor-element-f45b952 .swiper-pagination-bullet-active{background-color:#005ABC;}.elementor-1364 .elementor-element.elementor-element-e990b51{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-1364 .elementor-element.elementor-element-d25f2bd{--display:flex;}:root{--page-title-display:none;}@media(max-width:1366px){.elementor-1364 .elementor-element.elementor-element-7392cb7 > .elementor-container{min-height:27vh;}.elementor-1364 .elementor-element.elementor-element-55d2543 .elementor-icon-list-item > .elementor-icon-list-text, .elementor-1364 .elementor-element.elementor-element-55d2543 .elementor-icon-list-item > a{font-size:var( --e-global-typography-58f3e1d-font-size );line-height:var( --e-global-typography-58f3e1d-line-height );letter-spacing:var( --e-global-typography-58f3e1d-letter-spacing );}.elementor-1364 .elementor-element.elementor-element-634512f .elementor-heading-title{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );}}@media(max-width:1024px){.elementor-1364 .elementor-element.elementor-element-55d2543 .elementor-icon-list-item > .elementor-icon-list-text, .elementor-1364 .elementor-element.elementor-element-55d2543 .elementor-icon-list-item > a{font-size:var( --e-global-typography-58f3e1d-font-size );line-height:var( --e-global-typography-58f3e1d-line-height );letter-spacing:var( --e-global-typography-58f3e1d-letter-spacing );}.elementor-1364 .elementor-element.elementor-element-634512f .elementor-heading-title{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );}}@media(max-width:767px){.elementor-1364 .elementor-element.elementor-element-7392cb7 > .elementor-container{min-height:27vh;}.elementor-1364 .elementor-element.elementor-element-55d2543 .elementor-icon-list-item > .elementor-icon-list-text, .elementor-1364 .elementor-element.elementor-element-55d2543 .elementor-icon-list-item > a{font-size:var( --e-global-typography-58f3e1d-font-size );line-height:var( --e-global-typography-58f3e1d-line-height );letter-spacing:var( --e-global-typography-58f3e1d-letter-spacing );}.elementor-1364 .elementor-element.elementor-element-634512f .elementor-heading-title{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );}}@media(min-width:2400px){.elementor-1364 .elementor-element.elementor-element-55d2543 .elementor-icon-list-item > .elementor-icon-list-text, .elementor-1364 .elementor-element.elementor-element-55d2543 .elementor-icon-list-item > a{font-size:var( --e-global-typography-58f3e1d-font-size );line-height:var( --e-global-typography-58f3e1d-line-height );letter-spacing:var( --e-global-typography-58f3e1d-letter-spacing );}.elementor-1364 .elementor-element.elementor-element-634512f .elementor-heading-title{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );}}<\/style>\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"1364\" class=\"elementor elementor-1364\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-7392cb7 elementor-section-height-min-height elementor-section-items-bottom elementor-section-boxed elementor-section-height-default\" data-id=\"7392cb7\" data-element_type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t\t<div class=\"elementor-background-overlay\"><\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-no\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-e27af32\" data-id=\"e27af32\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-55d2543 elementor-icon-list--layout-inline elementor-align-center elementor-list-item-link-full_width elementor-widget elementor-widget-icon-list\" data-id=\"55d2543\" data-element_type=\"widget\" data-widget_type=\"icon-list.default\">\n\t\t\t\t\t\t\t<ul class=\"elementor-icon-list-items elementor-inline-items\">\n\t\t\t\t\t\t\t<li class=\"elementor-icon-list-item elementor-inline-item\">\n\t\t\t\t\t\t\t\t\t\t\t<a href=\"#\">\n\n\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-text\">Home<\/span>\n\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t<li class=\"elementor-icon-list-item elementor-inline-item\">\n\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-icon\">\n\t\t\t\t\t\t\t<i aria-hidden=\"true\" class=\"jki jki-minus-line\"><\/i>\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-text\"><\/span>\n\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t<li class=\"elementor-icon-list-item elementor-inline-item\">\n\t\t\t\t\t\t\t\t\t\t\t<a href=\"#\">\n\n\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-text\">Repair or Replace<\/span>\n\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t<\/li>\n\t\t\t\t\t\t<\/ul>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-634512f elementor-invisible elementor-widget elementor-widget-heading\" data-id=\"634512f\" data-element_type=\"widget\" data-settings=\"{&quot;_animation&quot;:&quot;fadeInUp&quot;,&quot;_animation_delay&quot;:200}\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Repair or Replace\n<\/h3>\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t<div class=\"elementor-element elementor-element-d8714d4 e-flex e-con-boxed e-con e-parent\" data-id=\"d8714d4\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<div class=\"elementor-element elementor-element-63cced5 e-con-full e-flex e-con e-child\" data-id=\"63cced5\" data-element_type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-122eed5 elementor-widget elementor-widget-heading\" data-id=\"122eed5\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Repair or Replace\n<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ce4ecb7 elementor-widget elementor-widget-text-editor\" data-id=\"ce4ecb7\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<div class=\"row\"><div class=\"col-xs-12\"><p>Should you repair or replace your air conditioner, heat pump, furnace or boiler? When something breaks down, it&#8217;s tempting to go the quick route and pay for repairs to get it up and running again. That quick-fix may seem the least expensive route now, but it may not offer the most value in the long run.<\/p><p>There&#8217;s a lot to consider:<\/p><\/div><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-eb8155c e-flex e-con-boxed e-con e-parent\" data-id=\"eb8155c\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<div class=\"elementor-element elementor-element-8b23478 e-con-full e-flex e-con e-child\" data-id=\"8b23478\" data-element_type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-f45b952 elementor-pagination-position-outside elementor--h-position-center elementor--v-position-middle elementor-arrows-position-inside elementor-widget elementor-widget-slides\" data-id=\"f45b952\" data-element_type=\"widget\" data-settings=\"{&quot;navigation&quot;:&quot;both&quot;,&quot;autoplay&quot;:&quot;yes&quot;,&quot;pause_on_hover&quot;:&quot;yes&quot;,&quot;pause_on_interaction&quot;:&quot;yes&quot;,&quot;autoplay_speed&quot;:5000,&quot;infinite&quot;:&quot;yes&quot;,&quot;transition&quot;:&quot;slide&quot;,&quot;transition_speed&quot;:500}\" data-widget_type=\"slides.default\">\n\t\t\t\t\t\t\t\t\t\t<div class=\"elementor-slides-wrapper elementor-main-swiper swiper\" role=\"region\" aria-roledescription=\"carousel\" aria-label=\"Slides\" dir=\"ltr\" data-animation=\"fadeInUp\">\n\t\t\t\t<div class=\"swiper-wrapper elementor-slides\">\n\t\t\t\t\t\t\t\t\t\t<div class=\"elementor-repeater-item-5082936 swiper-slide\" role=\"group\" aria-roledescription=\"slide\"><div class=\"swiper-slide-bg\" role=\"img\" aria-label=\"imgi_25_equipment-performance\"><\/div><div class=\"swiper-slide-inner\" ><div class=\"swiper-slide-contents\"><div class=\"elementor-slide-heading\">Equipment Performance<\/div><\/div><\/div><\/div><div class=\"elementor-repeater-item-f789b7c swiper-slide\" role=\"group\" aria-roledescription=\"slide\"><div class=\"swiper-slide-bg\" role=\"img\" aria-label=\"imgi_21_cost-of-repair\"><\/div><div class=\"swiper-slide-inner\" ><div class=\"swiper-slide-contents\"><div class=\"elementor-slide-heading\">Cost of Repair<\/div><\/div><\/div><\/div><div class=\"elementor-repeater-item-b09c9a2 swiper-slide\" role=\"group\" aria-roledescription=\"slide\"><div class=\"swiper-slide-bg\" role=\"img\" aria-label=\"imgi_22_energy-efficiency\"><\/div><div class=\"swiper-slide-inner\" ><div class=\"swiper-slide-contents\"><div class=\"elementor-slide-heading\">Energy Efficiency<\/div><\/div><\/div><\/div><div class=\"elementor-repeater-item-478b5ce swiper-slide\" role=\"group\" aria-roledescription=\"slide\"><div class=\"swiper-slide-bg\" role=\"img\" aria-label=\"imgi_23_repair-history\"><\/div><div class=\"swiper-slide-inner\" ><div class=\"swiper-slide-contents\"><div class=\"elementor-slide-heading\">Repair History<\/div><\/div><\/div><\/div>\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"elementor-swiper-button elementor-swiper-button-prev\" role=\"button\" tabindex=\"0\" aria-label=\"Previous slide\">\n\t\t\t\t\t\t\t<svg aria-hidden=\"true\" class=\"e-font-icon-svg e-eicon-chevron-left\" viewBox=\"0 0 1000 1000\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M646 125C629 125 613 133 604 142L308 442C296 454 292 471 292 487 292 504 296 521 308 533L604 854C617 867 629 875 646 875 663 875 679 871 692 858 704 846 713 829 713 812 713 796 708 779 692 767L438 487 692 225C700 217 708 204 708 187 708 171 704 154 692 142 675 129 663 125 646 125Z\"><\/path><\/svg>\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<div class=\"elementor-swiper-button elementor-swiper-button-next\" role=\"button\" tabindex=\"0\" aria-label=\"Next slide\">\n\t\t\t\t\t\t\t<svg aria-hidden=\"true\" class=\"e-font-icon-svg e-eicon-chevron-right\" viewBox=\"0 0 1000 1000\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M696 533C708 521 713 504 713 487 713 471 708 454 696 446L400 146C388 133 375 125 354 125 338 125 325 129 313 142 300 154 292 171 292 187 292 204 296 221 308 233L563 492 304 771C292 783 288 800 288 817 288 833 296 850 308 863 321 871 338 875 354 875 371 875 388 867 400 854L696 533Z\"><\/path><\/svg>\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"swiper-pagination\"><\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-e990b51 e-flex e-con-boxed e-con e-parent\" data-id=\"e990b51\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<div class=\"elementor-element elementor-element-d25f2bd e-con-full e-flex e-con e-child\" data-id=\"d25f2bd\" data-element_type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-f8da258 elementor-widget elementor-widget-html\" data-id=\"f8da258\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t<!--<!DOCTYPE html> -->\r\n<html lang=\"en\">\r\n<head>\r\n  <meta charset=\"UTF-8\">\r\n  <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\r\n  <title>Repair or Replace<\/title>\r\n  <style>\r\n    #hvac-repair-replace {\r\n      color-scheme: light;\r\n      --ink: #111111;\r\n      --muted: #5a5a5a;\r\n      --bg: #ffffff;\r\n      --panel: #ffffff;\r\n      --border: #d7d7d7;\r\n      --accent: #111111;\r\n      --success: #1c6b3e;\r\n      --error: #b3261e;\r\n      max-width: 100%;\r\n      width: 100%;\r\n      font-family: system-ui, -apple-system, \"Segoe UI\", Roboto, Arial, sans-serif;\r\n      color: var(--ink);\r\n      background: var(--bg);\r\n    }\r\n\r\n    #hvac-repair-replace * {\r\n      box-sizing: border-box;\r\n    }\r\n\r\n    #hvac-repair-replace [hidden] {\r\n      display: none !important;\r\n    }\r\n\r\n    #hvac-repair-replace .rr-main {\r\n      max-width: 960px;\r\n      margin: 0 auto;\r\n      padding: 2.5rem 1.5rem 3rem;\r\n    }\r\n\r\n    #hvac-repair-replace header {\r\n      margin-bottom: 2rem;\r\n    }\r\n\r\n    #hvac-repair-replace h1 {\r\n      font-size: clamp(2rem, 3vw, 2.5rem);\r\n      margin: 0 0 0.6rem;\r\n      letter-spacing: -0.01em;\r\n      color: #000000;\r\n    }\r\n\r\n    #hvac-repair-replace p {\r\n      margin: 0;\r\n    }\r\n\r\n    #hvac-repair-replace .intro {\r\n      max-width: 680px;\r\n      font-size: 1rem;\r\n      color: var(--muted);\r\n      line-height: 1.6;\r\n    }\r\n\r\n    #hvac-repair-replace form {\r\n      display: grid;\r\n      gap: 1.5rem;\r\n    }\r\n\r\n    #hvac-repair-replace fieldset {\r\n      border: 1px solid var(--border);\r\n      border-radius: 8px;\r\n      padding: 1.1rem 1.25rem 1.25rem;\r\n      background: var(--panel);\r\n    }\r\n\r\n    #hvac-repair-replace legend {\r\n      font-weight: 700;\r\n      padding: 0 0.25rem;\r\n      font-size: 1rem;\r\n      color: #000000;\r\n    }\r\n\r\n    #hvac-repair-replace .options {\r\n      display: grid;\r\n      gap: 0.65rem;\r\n      margin-top: 0.85rem;\r\n    }\r\n\r\n    #hvac-repair-replace .option {\r\n      display: flex;\r\n      align-items: flex-start;\r\n      gap: 0.6rem;\r\n      font-size: 1rem;\r\n      color: var(--ink);\r\n    }\r\n\r\n    #hvac-repair-replace .option input {\r\n      margin-top: 0.2rem;\r\n    }\r\n\r\n    #hvac-repair-replace .error {\r\n      margin-top: 0.6rem;\r\n      font-size: 0.9rem;\r\n      color: var(--error);\r\n      display: none;\r\n    }\r\n\r\n    #hvac-repair-replace .error.show {\r\n      display: block;\r\n    }\r\n\r\n    #hvac-repair-replace .section-title {\r\n      font-weight: 700;\r\n      font-size: 1.05rem;\r\n      color: #000000;\r\n      margin: 0.25rem 0 -0.25rem;\r\n    }\r\n\r\n    #hvac-repair-replace .learnmore {\r\n      margin-top: 1rem;\r\n      border-top: 1px solid var(--border);\r\n      border-bottom: 1px solid var(--border);\r\n    }\r\n\r\n    #hvac-repair-replace .learnmore__toggle {\r\n      width: 100%;\r\n      border: 0;\r\n      background: #ffffff;\r\n      border: 1px solid #e5e7eb;\r\n      padding: 0.65rem 0.5rem;\r\n      cursor: pointer;\r\n      display: flex;\r\n      align-items: center;\r\n      justify-content: center;\r\n      gap: 0.5rem;\r\n      font-weight: 600;\r\n      font-size: 0.95rem;\r\n      color: #111111;\r\n      font-family: inherit;\r\n    }\r\n\r\n    #hvac-repair-replace .learnmore__icon {\r\n      width: 18px;\r\n      text-align: center;\r\n      font-size: 1.1rem;\r\n      line-height: 1;\r\n    }\r\n\r\n    #hvac-repair-replace .learnmore__panel {\r\n      border: 1px solid var(--border);\r\n      border-top: 0;\r\n      padding: 1rem;\r\n      background: #ffffff;\r\n    }\r\n\r\n    #hvac-repair-replace .learnmore__title {\r\n      margin: 0 0 0.35rem;\r\n      text-align: center;\r\n      font-size: 1.05rem;\r\n      color: #000000;\r\n    }\r\n\r\n    #hvac-repair-replace .learnmore__subtitle {\r\n      margin: 0.35rem 0 0;\r\n      text-align: center;\r\n      color: var(--muted);\r\n      line-height: 1.5;\r\n      font-size: 0.95rem;\r\n    }\r\n\r\n    #hvac-repair-replace .learnmore__desc {\r\n      margin: 0.35rem 0 0;\r\n      color: var(--muted);\r\n      line-height: 1.6;\r\n    }\r\n\r\n    #hvac-repair-replace .learnmore__desc.center {\r\n      text-align: center;\r\n    }\r\n\r\n    #hvac-repair-replace .learnmore__grid {\r\n      display: grid;\r\n      gap: 0.75rem;\r\n      margin-top: 0.9rem;\r\n    }\r\n\r\n    #hvac-repair-replace .learnmore__grid--three {\r\n      grid-template-columns: repeat(3, 1fr);\r\n    }\r\n\r\n    #hvac-repair-replace .learnmore__grid--two {\r\n      grid-template-columns: repeat(2, 1fr);\r\n    }\r\n\r\n    #hvac-repair-replace .learnmore__tile {\r\n      text-align: center;\r\n      font-size: 0.9rem;\r\n      color: #222222;\r\n    }\r\n\r\n    #hvac-repair-replace .learnmore__tile img {\r\n      width: 100%;\r\n      object-fit: cover;\r\n      border: 1px solid var(--border);\r\n      border-radius: 6px;\r\n      margin-bottom: 0.35rem;\r\n      background: #f7f7f7;\r\n    }\r\n\r\n    #hvac-repair-replace .learnmore__vs {\r\n      display: grid;\r\n      grid-template-columns: 1fr auto 1fr;\r\n      align-items: center;\r\n      gap: 0.75rem;\r\n      margin: 0.9rem 0 0.75rem;\r\n    }\r\n\r\n    #hvac-repair-replace .learnmore__vs img {\r\n      width: 100%;\r\n      object-fit: cover;\r\n      border: 1px solid var(--border);\r\n      border-radius: 6px;\r\n      background: #f7f7f7;\r\n    }\r\n\r\n    #hvac-repair-replace .learnmore__vs-text {\r\n      font-weight: 700;\r\n      color: #111111;\r\n    }\r\n\r\n    #hvac-repair-replace .learnmore__center-img {\r\n      display: block;\r\n      width: 100%;\r\n      max-width: 360px;\r\n      height: 180px;\r\n      object-fit: cover;\r\n      margin: 0.6rem auto 0.75rem;\r\n      border: 1px solid var(--border);\r\n      border-radius: 6px;\r\n      background: #f7f7f7;\r\n    }\r\n\r\n    #hvac-repair-replace .learnmore__emphasis {\r\n      margin: 0.6rem 0 0;\r\n      font-weight: 700;\r\n      color: #111111;\r\n    }\r\n\r\n    #hvac-repair-replace .learnmore__list {\r\n      margin: 0.5rem 0 0 1.1rem;\r\n      padding: 0;\r\n      color: #222222;\r\n      line-height: 1.6;\r\n    }\r\n\r\n    #hvac-repair-replace .learnmore__note {\r\n      margin: 0.6rem 0 0;\r\n      font-size: 0.9rem;\r\n      color: var(--muted);\r\n      line-height: 1.5;\r\n    }\r\n\r\n    #hvac-repair-replace .button-row {\r\n      display: flex;\r\n      flex-wrap: wrap;\r\n      gap: 0.8rem;\r\n      margin-top: 0.5rem;\r\n    }\r\n\r\n    #hvac-repair-replace button {\r\n      border-radius: 6px;\r\n      border: 1px solid var(--border);\r\n      font-size: 1rem;\r\n      padding: 0.7rem 1.5rem;\r\n      cursor: pointer;\r\n      font-family: inherit;\r\n      background: #ffffff;\r\n      color: var(--ink);\r\n    }\r\n\r\n    #hvac-repair-replace .primary {\r\n      background: #111111;\r\n      color: #ffffff;\r\n      border-color: #111111;\r\n    }\r\n\r\n    #hvac-repair-replace .secondary {\r\n      background: #ffffff;\r\n    }\r\n\r\n    #hvac-repair-replace .result-card {\r\n      border-radius: 8px;\r\n      padding: 1.25rem 1.5rem;\r\n      background: var(--panel);\r\n      border: 1px solid var(--border);\r\n      margin-top: 1.5rem;\r\n      display: none;\r\n    }\r\n\r\n    #hvac-repair-replace .result-card.show {\r\n      display: block;\r\n    }\r\n\r\n    #hvac-repair-replace .result-card h2 {\r\n      margin: 0 0 0.5rem;\r\n      font-size: 1.4rem;\r\n    }\r\n\r\n    #hvac-repair-replace .result-body {\r\n      margin-bottom: 0.75rem;\r\n      color: var(--muted);\r\n      line-height: 1.6;\r\n    }\r\n\r\n    #hvac-repair-replace .result-meta {\r\n      font-weight: 600;\r\n      margin-bottom: 0.75rem;\r\n    }\r\n\r\n    #hvac-repair-replace .result-list {\r\n      margin: 0;\r\n      padding-left: 1.1rem;\r\n      color: var(--ink);\r\n      line-height: 1.6;\r\n    }\r\n\r\n    #hvac-repair-replace .hidden {\r\n      display: none;\r\n    }\r\n\r\n    @media (max-width: 900px) {\r\n      #hvac-repair-replace .learnmore__grid--three {\r\n        grid-template-columns: repeat(2, 1fr);\r\n      }\r\n    }\r\n\r\n    @media (max-width: 720px) {\r\n      #hvac-repair-replace .rr-main {\r\n        padding: 2rem 1rem 2.5rem;\r\n      }\r\n\r\n      #hvac-repair-replace fieldset {\r\n        padding: 1rem 1rem 1.1rem;\r\n      }\r\n\r\n      #hvac-repair-replace button {\r\n        width: 100%;\r\n      }\r\n\r\n      #hvac-repair-replace .learnmore__grid--three,\r\n      #hvac-repair-replace .learnmore__grid--two {\r\n        grid-template-columns: 1fr;\r\n      }\r\n\r\n      #hvac-repair-replace .learnmore__vs {\r\n        grid-template-columns: 1fr;\r\n        text-align: center;\r\n      }\r\n\r\n      #hvac-repair-replace .learnmore__vs-text {\r\n        padding: 0.4rem 0;\r\n      }\r\n    }\r\n  <\/style>\r\n<\/head>\r\n<body>\r\n  <section id=\"hvac-repair-replace\" class=\"rr-tool\">\r\n    <main class=\"rr-main\">\r\n      <header>\r\n      <h1>Repair or Replace<\/h1>\r\n      <p class=\"intro\">Answer a few quick questions about your HVAC system. We'll recommend whether a repair or replacement is likely the better fit based on age, efficiency, repair cost, and performance.<\/p>\r\n      <\/header>\r\n\r\n      <form id=\"questionnaire\" novalidate>\r\n      <fieldset data-question=\"system_type\">\r\n        <legend>What type of equipment are you repairing?<\/legend>\r\n        <div class=\"options\">\r\n          <label class=\"option\" for=\"system-ac-heat\"><input type=\"radio\" id=\"system-ac-heat\" name=\"system_type\" value=\"ac_heat_pump\">Air Conditioner or Heat Pump<\/label>\r\n          <label class=\"option\" for=\"system-furnace\"><input type=\"radio\" id=\"system-furnace\" name=\"system_type\" value=\"furnace_boiler\">Furnace or Boiler<\/label>\r\n          <label class=\"option\" for=\"system-packaged\"><input type=\"radio\" id=\"system-packaged\" name=\"system_type\" value=\"packaged_unit\">Gas\/Electric Packaged Unit<\/label>\r\n        <\/div>\r\n        <p class=\"error\" data-error=\"system_type\">Please select one option.<\/p>\r\n        <div class=\"learnmore\">\r\n          <button type=\"button\" class=\"learnmore__toggle\" aria-expanded=\"false\">\r\n            <span class=\"learnmore__icon\" aria-hidden=\"true\">+<\/span>\r\n            <span class=\"learnmore__text\">Learn More<\/span>\r\n          <\/button>\r\n        <\/div>\r\n        <div class=\"learnmore__panel\" hidden>\r\n          <h3 class=\"learnmore__title\">Existing System<\/h3>\r\n          <p class=\"learnmore__desc center\">Identify your current equipment to compare repair paths and replacement options.<\/p>\r\n          <div class=\"learnmore__grid learnmore__grid--three\">\r\n            <div class=\"learnmore__tile\">\r\n              <img decoding=\"async\" src=\"http:\/\/wpwebsitedesigns.com\/cooleyscomfort\/wp-content\/uploads\/2025\/12\/Air-Conditioner.png\" alt=\"Air Conditioner\">\r\n              <div>Air Conditioner<\/div>\r\n            <\/div>\r\n            <div class=\"learnmore__tile\">\r\n              <img decoding=\"async\" src=\"http:\/\/wpwebsitedesigns.com\/cooleyscomfort\/wp-content\/uploads\/2025\/12\/Heat-Pump.png\" alt=\"Heat Pump\">\r\n              <div>Heat Pump<\/div>\r\n            <\/div>\r\n            <div class=\"learnmore__tile\">\r\n              <img decoding=\"async\" src=\"http:\/\/wpwebsitedesigns.com\/cooleyscomfort\/wp-content\/uploads\/2025\/12\/Furnace.png\" alt=\"Furnace\">\r\n              <div>Furnace<\/div>\r\n            <\/div>\r\n          <\/div>\r\n          <div class=\"learnmore__grid learnmore__grid--two\">\r\n            <div class=\"learnmore__tile\">\r\n              <img decoding=\"async\" src=\"http:\/\/wpwebsitedesigns.com\/cooleyscomfort\/wp-content\/uploads\/2025\/12\/Boiler.png\" alt=\"Boiler\">\r\n              <div>Boiler<\/div>\r\n            <\/div>\r\n            <div class=\"learnmore__tile\">\r\n              <img decoding=\"async\" src=\"http:\/\/wpwebsitedesigns.com\/cooleyscomfort\/wp-content\/uploads\/2025\/12\/Packaged-System-1.png\" alt=\"Packaged System\">\r\n              <div>Packaged System<\/div>\r\n            <\/div>\r\n          <\/div>\r\n        <\/div>\r\n      <\/fieldset>\r\n\r\n      <fieldset data-question=\"equipment_age_years_bucket\">\r\n        <legend>What is the age of your equipment?<\/legend>\r\n        <div class=\"options\">\r\n          <label class=\"option\" for=\"age-lt6\"><input type=\"radio\" id=\"age-lt6\" name=\"equipment_age_years_bucket\" value=\"lt_6\">Less than 6 Years<\/label>\r\n          <label class=\"option\" for=\"age-6-10\"><input type=\"radio\" id=\"age-6-10\" name=\"equipment_age_years_bucket\" value=\"6_10\">6-10 Years<\/label>\r\n          <label class=\"option\" for=\"age-11-20\"><input type=\"radio\" id=\"age-11-20\" name=\"equipment_age_years_bucket\" value=\"11_20\">11-20 Years<\/label>\r\n          <label class=\"option\" for=\"age-gt20\"><input type=\"radio\" id=\"age-gt20\" name=\"equipment_age_years_bucket\" value=\"gt_20\">Over 20 Years<\/label>\r\n          <label class=\"option\" for=\"age-unknown\"><input type=\"radio\" id=\"age-unknown\" name=\"equipment_age_years_bucket\" value=\"unknown\">Do not Know<\/label>\r\n        <\/div>\r\n        <p class=\"error\" data-error=\"equipment_age_years_bucket\">Please select one option.<\/p>\r\n        <div class=\"learnmore\">\r\n          <button type=\"button\" class=\"learnmore__toggle\" aria-expanded=\"false\">\r\n            <span class=\"learnmore__icon\" aria-hidden=\"true\">+<\/span>\r\n            <span class=\"learnmore__text\">Learn More<\/span>\r\n          <\/button>\r\n        <\/div>\r\n        <div class=\"learnmore__panel\" hidden>\r\n          <h3 class=\"learnmore__title\">Equipment Age and Life Expectancy<\/h3>\r\n          <p class=\"learnmore__subtitle\">Most equipment is designed for a life expectancy of 15 to 20 years.<\/p>\r\n          <div class=\"learnmore__vs\">\r\n            <img decoding=\"async\" src=\"http:\/\/wpwebsitedesigns.com\/cooleyscomfort\/wp-content\/uploads\/2025\/12\/Old-Air-Conditioner.png\" alt=\"Older unit\">\r\n            <span class=\"learnmore__vs-text\">VS<\/span>\r\n            <img decoding=\"async\" src=\"http:\/\/wpwebsitedesigns.com\/cooleyscomfort\/wp-content\/uploads\/2025\/12\/Air-Conditioner.png\" alt=\"Newer unit\">\r\n          <\/div>\r\n          <p class=\"learnmore__emphasis\">Older equipment is prone to the following:<\/p>\r\n          <ul class=\"learnmore__list\">\r\n            <li>More expensive repairs, such as compressors or heat exchangers<\/li>\r\n            <li>Much lower energy efficiency vs. today's standards<\/li>\r\n            <li>Reduced performance due to clogged or corroding coils<\/li>\r\n          <\/ul>\r\n        <\/div>\r\n      <\/fieldset>\r\n\r\n      <fieldset data-question=\"repair_cost_bucket\">\r\n        <legend>What is the estimated cost of needed repairs?<\/legend>\r\n        <div class=\"options\">\r\n          <label class=\"option\" for=\"cost-lt100\"><input type=\"radio\" id=\"cost-lt100\" name=\"repair_cost_bucket\" value=\"lt_100\">Less than $100<\/label>\r\n          <label class=\"option\" for=\"cost-100-500\"><input type=\"radio\" id=\"cost-100-500\" name=\"repair_cost_bucket\" value=\"100_500\">$100 - $500<\/label>\r\n          <label class=\"option\" for=\"cost-501-1000\"><input type=\"radio\" id=\"cost-501-1000\" name=\"repair_cost_bucket\" value=\"501_1000\">$501 - $1000<\/label>\r\n          <label class=\"option\" for=\"cost-gt1000\"><input type=\"radio\" id=\"cost-gt1000\" name=\"repair_cost_bucket\" value=\"gt_1000\">Over $1000<\/label>\r\n        <\/div>\r\n        <p class=\"error\" data-error=\"repair_cost_bucket\">Please select one option.<\/p>\r\n        <div class=\"learnmore\">\r\n          <button type=\"button\" class=\"learnmore__toggle\" aria-expanded=\"false\">\r\n            <span class=\"learnmore__icon\" aria-hidden=\"true\">+<\/span>\r\n            <span class=\"learnmore__text\">Learn More<\/span>\r\n          <\/button>\r\n        <\/div>\r\n        <div class=\"learnmore__panel\" hidden>\r\n          <h3 class=\"learnmore__title\">Equipment Repair<\/h3>\r\n          <img decoding=\"async\" class=\"learnmore__center-img\" src=\"http:\/\/wpwebsitedesigns.com\/cooleyscomfort\/wp-content\/uploads\/2025\/12\/Equipment-Repair.png\" alt=\"Equipment repair\">\r\n          <p class=\"learnmore__emphasis\">Repairing existing equipment can be a good decision as long as:<\/p>\r\n          <ul class=\"learnmore__list\">\r\n            <li>The cost of the repair is less than 30% of the cost of new equipment<\/li>\r\n            <li>The rest of the system is in excellent operating condition<\/li>\r\n          <\/ul>\r\n          <p class=\"learnmore__note\">Otherwise, the cost of the repair would be better invested in a new system.<\/p>\r\n        <\/div>\r\n      <\/fieldset>\r\n\r\n      <fieldset data-question=\"under_warranty\">\r\n        <legend>Is the equipment still under warranty?<\/legend>\r\n        <div class=\"options\">\r\n          <label class=\"option\" for=\"warranty-yes\"><input type=\"radio\" id=\"warranty-yes\" name=\"under_warranty\" value=\"true\">Yes<\/label>\r\n          <label class=\"option\" for=\"warranty-no\"><input type=\"radio\" id=\"warranty-no\" name=\"under_warranty\" value=\"false\">No<\/label>\r\n        <\/div>\r\n        <p class=\"error\" data-error=\"under_warranty\">Please select one option.<\/p>\r\n        <div class=\"learnmore\">\r\n          <button type=\"button\" class=\"learnmore__toggle\" aria-expanded=\"false\">\r\n            <span class=\"learnmore__icon\" aria-hidden=\"true\">+<\/span>\r\n            <span class=\"learnmore__text\">Learn More<\/span>\r\n          <\/button>\r\n        <\/div>\r\n        <div class=\"learnmore__panel\" hidden>\r\n          <h3 class=\"learnmore__title\">Warranty Coverage<\/h3>\r\n          <p class=\"learnmore__desc\">Warranty coverage can lower repair costs and make a repair more attractive if the system is otherwise healthy.<\/p>\r\n        <\/div>\r\n      <\/fieldset>\r\n\r\n      <div class=\"section-title\" id=\"cooling-section-title\">Cooling System Details<\/div>\r\n\r\n      <fieldset data-question=\"seer_bucket\" data-conditional=\"cooling\">\r\n        <legend>What is the SEER efficiency rating of your equipment?<\/legend>\r\n        <div class=\"options\">\r\n          <label class=\"option\" for=\"seer-14\"><input type=\"radio\" id=\"seer-14\" name=\"seer_bucket\" value=\"ge_14\">14 and over<\/label>\r\n          <label class=\"option\" for=\"seer-11-13\"><input type=\"radio\" id=\"seer-11-13\" name=\"seer_bucket\" value=\"11_13\">11 - 13<\/label>\r\n          <label class=\"option\" for=\"seer-8-10\"><input type=\"radio\" id=\"seer-8-10\" name=\"seer_bucket\" value=\"8_10\">8 - 10<\/label>\r\n          <label class=\"option\" for=\"seer-5-7\"><input type=\"radio\" id=\"seer-5-7\" name=\"seer_bucket\" value=\"5_7\">5 - 7<\/label>\r\n        <\/div>\r\n        <p class=\"error\" data-error=\"seer_bucket\">Please select one option.<\/p>\r\n        <div class=\"learnmore\">\r\n          <button type=\"button\" class=\"learnmore__toggle\" aria-expanded=\"false\">\r\n            <span class=\"learnmore__icon\" aria-hidden=\"true\">+<\/span>\r\n            <span class=\"learnmore__text\">Learn More<\/span>\r\n          <\/button>\r\n        <\/div>\r\n        <div class=\"learnmore__panel\" hidden>\r\n          <h3 class=\"learnmore__title\">Seasonal Energy Efficiency Ratio<\/h3>\r\n          <p class=\"learnmore__desc\">The Seasonal Energy Efficiency Ratio (SEER) is an energy efficiency rating for air conditioners. The higher the SEER, the better the energy performance, the more you save.<\/p>\r\n        <\/div>\r\n      <\/fieldset>\r\n\r\n      <fieldset data-question=\"refrigerant_type\" data-conditional=\"cooling\">\r\n        <legend>Type of refrigerant used?<\/legend>\r\n        <div class=\"options\">\r\n          <label class=\"option\" for=\"ref-454b\"><input type=\"radio\" id=\"ref-454b\" name=\"refrigerant_type\" value=\"r_454b\">R-454b<\/label>\r\n          <label class=\"option\" for=\"ref-32\"><input type=\"radio\" id=\"ref-32\" name=\"refrigerant_type\" value=\"r_32\">R-32<\/label>\r\n          <label class=\"option\" for=\"ref-puron\"><input type=\"radio\" id=\"ref-puron\" name=\"refrigerant_type\" value=\"puron_advance\">410A<\/label>\r\n                    <label class=\"option\" for=\"ref-puron\"><input type=\"radio\" id=\"ref-puron\" name=\"refrigerant_type\" value=\"r_22\">R-22<\/label>\r\n          <label class=\"option\" for=\"ref-unknown\"><input type=\"radio\" id=\"ref-unknown\" name=\"refrigerant_type\" value=\"unknown\">Do Not Know<\/label>\r\n        <\/div>\r\n        <p class=\"error\" data-error=\"refrigerant_type\">Please select one option.<\/p>\r\n        <div class=\"learnmore\">\r\n          <button type=\"button\" class=\"learnmore__toggle\" aria-expanded=\"false\">\r\n            <span class=\"learnmore__icon\" aria-hidden=\"true\">+<\/span>\r\n            <span class=\"learnmore__text\">Learn More<\/span>\r\n          <\/button>\r\n        <\/div>\r\n        <div class=\"learnmore__panel\" hidden>\r\n          <h3 class=\"learnmore__title\">Refrigerant Type<\/h3>\r\n          <p class=\"learnmore__desc\">Refrigerant choice can affect repair availability and long-term service costs. If you are unsure, a technician can identify it quickly.<\/p>\r\n        <\/div>\r\n      <\/fieldset>\r\n\r\n      <fieldset data-question=\"compressor_replaced_recently\" data-conditional=\"cooling\">\r\n        <legend>Has the air conditioner compressor been replaced recently?<\/legend>\r\n        <div class=\"options\">\r\n          <label class=\"option\" for=\"compressor-yes\"><input type=\"radio\" id=\"compressor-yes\" name=\"compressor_replaced_recently\" value=\"true\">Yes<\/label>\r\n          <label class=\"option\" for=\"compressor-no\"><input type=\"radio\" id=\"compressor-no\" name=\"compressor_replaced_recently\" value=\"false\">No<\/label>\r\n        <\/div>\r\n        <p class=\"error\" data-error=\"compressor_replaced_recently\">Please select one option.<\/p>\r\n        <div class=\"learnmore\">\r\n          <button type=\"button\" class=\"learnmore__toggle\" aria-expanded=\"false\">\r\n            <span class=\"learnmore__icon\" aria-hidden=\"true\">+<\/span>\r\n            <span class=\"learnmore__text\">Learn More<\/span>\r\n          <\/button>\r\n        <\/div>\r\n        <div class=\"learnmore__panel\" hidden>\r\n          <h3 class=\"learnmore__title\">Compressor Replacement<\/h3>\r\n          <p class=\"learnmore__desc\">A recently replaced compressor can extend the lifespan of an otherwise aging system.<\/p>\r\n        <\/div>\r\n      <\/fieldset>\r\n\r\n      <div class=\"section-title hidden\" id=\"heating-section-title\">Heating System Details<\/div>\r\n\r\n      <fieldset data-question=\"afue_bucket\" data-conditional=\"heating\">\r\n        <legend>What is the AFUE efficiency rating of your equipment?<\/legend>\r\n        <div class=\"options\">\r\n          <label class=\"option\" for=\"afue-90\"><input type=\"radio\" id=\"afue-90\" name=\"afue_bucket\" value=\"gt_90\">90 and over<\/label>\r\n          <label class=\"option\" for=\"afue-87-90\"><input type=\"radio\" id=\"afue-87-90\" name=\"afue_bucket\" value=\"87_90\">87 - 90<\/label>\r\n          <label class=\"option\" for=\"afue-80-86\"><input type=\"radio\" id=\"afue-80-86\" name=\"afue_bucket\" value=\"80_86\">80 - 86<\/label>\r\n          <label class=\"option\" for=\"afue-70-79\"><input type=\"radio\" id=\"afue-70-79\" name=\"afue_bucket\" value=\"70_79\">70 - 79<\/label>\r\n        <\/div>\r\n        <p class=\"error\" data-error=\"afue_bucket\">Please select one option.<\/p>\r\n        <div class=\"learnmore\">\r\n          <button type=\"button\" class=\"learnmore__toggle\" aria-expanded=\"false\">\r\n            <span class=\"learnmore__icon\" aria-hidden=\"true\">+<\/span>\r\n            <span class=\"learnmore__text\">Learn More<\/span>\r\n          <\/button>\r\n        <\/div>\r\n        <div class=\"learnmore__panel\" hidden>\r\n          <h3 class=\"learnmore__title\">AFUE Efficiency Rating<\/h3>\r\n          <p class=\"learnmore__desc\">AFUE measures how efficiently a furnace converts fuel into heat.<\/p>\r\n        <\/div>\r\n      <\/fieldset>\r\n\r\n      <fieldset data-question=\"heat_exchanger_replaced_recently\" data-conditional=\"heating\">\r\n        <legend>Has the furnace heat exchanger been replaced recently?<\/legend>\r\n        <div class=\"options\">\r\n          <label class=\"option\" for=\"exchanger-yes\"><input type=\"radio\" id=\"exchanger-yes\" name=\"heat_exchanger_replaced_recently\" value=\"true\">Yes<\/label>\r\n          <label class=\"option\" for=\"exchanger-no\"><input type=\"radio\" id=\"exchanger-no\" name=\"heat_exchanger_replaced_recently\" value=\"false\">No<\/label>\r\n        <\/div>\r\n        <p class=\"error\" data-error=\"heat_exchanger_replaced_recently\">Please select one option.<\/p>\r\n        <div class=\"learnmore\">\r\n          <button type=\"button\" class=\"learnmore__toggle\" aria-expanded=\"false\">\r\n            <span class=\"learnmore__icon\" aria-hidden=\"true\">+<\/span>\r\n            <span class=\"learnmore__text\">Learn More<\/span>\r\n          <\/button>\r\n        <\/div>\r\n        <div class=\"learnmore__panel\" hidden>\r\n          <h3 class=\"learnmore__title\">Heat Exchanger Replacement<\/h3>\r\n          <p class=\"learnmore__desc\">A new heat exchanger can extend furnace life and improve safety.<\/p>\r\n        <\/div>\r\n      <\/fieldset>\r\n\r\n      <fieldset data-question=\"short_cycles_repeatedly\">\r\n        <legend>Does your system frequently turn on and off (short cycling)?<\/legend>\r\n        <div class=\"options\">\r\n          <label class=\"option\" for=\"short-cycle-yes\"><input type=\"radio\" id=\"short-cycle-yes\" name=\"short_cycles_repeatedly\" value=\"true\">Yes<\/label>\r\n          <label class=\"option\" for=\"short-cycle-no\"><input type=\"radio\" id=\"short-cycle-no\" name=\"short_cycles_repeatedly\" value=\"false\">No<\/label>\r\n        <\/div>\r\n        <p class=\"error\" data-error=\"short_cycles_repeatedly\">Please select one option.<\/p>\r\n        <div class=\"learnmore\">\r\n          <button type=\"button\" class=\"learnmore__toggle\" aria-expanded=\"false\">\r\n            <span class=\"learnmore__icon\" aria-hidden=\"true\">+<\/span>\r\n            <span class=\"learnmore__text\">Learn More<\/span>\r\n          <\/button>\r\n        <\/div>\r\n        <div class=\"learnmore__panel\" hidden>\r\n          <h3 class=\"learnmore__title\">Short Cycling<\/h3>\r\n          <p class=\"learnmore__desc\">Frequent on-off cycling can indicate sizing or system health issues that may affect comfort and efficiency.<\/p>\r\n        <\/div>\r\n      <\/fieldset>\r\n\r\n      <fieldset data-question=\"problem_rooms_never_comfortable\">\r\n        <legend>Do you have problem rooms that seem to never get warm or cool?<\/legend>\r\n        <div class=\"options\">\r\n          <label class=\"option\" for=\"rooms-yes\"><input type=\"radio\" id=\"rooms-yes\" name=\"problem_rooms_never_comfortable\" value=\"true\">Yes<\/label>\r\n          <label class=\"option\" for=\"rooms-no\"><input type=\"radio\" id=\"rooms-no\" name=\"problem_rooms_never_comfortable\" value=\"false\">No<\/label>\r\n        <\/div>\r\n        <p class=\"error\" data-error=\"problem_rooms_never_comfortable\">Please select one option.<\/p>\r\n        <div class=\"learnmore\">\r\n          <button type=\"button\" class=\"learnmore__toggle\" aria-expanded=\"false\">\r\n            <span class=\"learnmore__icon\" aria-hidden=\"true\">+<\/span>\r\n            <span class=\"learnmore__text\">Learn More<\/span>\r\n          <\/button>\r\n        <\/div>\r\n        <div class=\"learnmore__panel\" hidden>\r\n          <h3 class=\"learnmore__title\">Comfort Balance<\/h3>\r\n          <p class=\"learnmore__desc\">Uneven temperatures can point to airflow or equipment problems that influence repair versus replacement decisions.<\/p>\r\n        <\/div>\r\n      <\/fieldset>\r\n\r\n      <fieldset data-question=\"noticeable_noise_or_vibration\">\r\n        <legend>Is the turning on of your equipment noticeable, disturbing or causing annoying vibrations in your home?<\/legend>\r\n        <div class=\"options\">\r\n          <label class=\"option\" for=\"noise-yes\"><input type=\"radio\" id=\"noise-yes\" name=\"noticeable_noise_or_vibration\" value=\"true\">Yes<\/label>\r\n          <label class=\"option\" for=\"noise-no\"><input type=\"radio\" id=\"noise-no\" name=\"noticeable_noise_or_vibration\" value=\"false\">No<\/label>\r\n        <\/div>\r\n        <p class=\"error\" data-error=\"noticeable_noise_or_vibration\">Please select one option.<\/p>\r\n        <div class=\"learnmore\">\r\n          <button type=\"button\" class=\"learnmore__toggle\" aria-expanded=\"false\">\r\n            <span class=\"learnmore__icon\" aria-hidden=\"true\">+<\/span>\r\n            <span class=\"learnmore__text\">Learn More<\/span>\r\n          <\/button>\r\n        <\/div>\r\n        <div class=\"learnmore__panel\" hidden>\r\n          <h3 class=\"learnmore__title\">Noise and Vibration<\/h3>\r\n          <p class=\"learnmore__desc\">Unusual noise or vibration can be a sign of mechanical wear or mounting issues that may require closer inspection.<\/p>\r\n        <\/div>\r\n      <\/fieldset>\r\n\r\n      <div class=\"section-title\">Residency<\/div>\r\n\r\n      <fieldset data-question=\"stay_length_bucket\">\r\n        <legend>How long do you expect to stay in this home?<\/legend>\r\n        <div class=\"options\">\r\n          <label class=\"option\" for=\"stay-lt2\"><input type=\"radio\" id=\"stay-lt2\" name=\"stay_length_bucket\" value=\"lt_2\">Less than 2 years<\/label>\r\n          <label class=\"option\" for=\"stay-2-5\"><input type=\"radio\" id=\"stay-2-5\" name=\"stay_length_bucket\" value=\"2_5\">2-5 years<\/label>\r\n          <label class=\"option\" for=\"stay-6-10\"><input type=\"radio\" id=\"stay-6-10\" name=\"stay_length_bucket\" value=\"6_10\">6-10 years<\/label>\r\n          <label class=\"option\" for=\"stay-gt10\"><input type=\"radio\" id=\"stay-gt10\" name=\"stay_length_bucket\" value=\"gt_10\">Over 10 years<\/label>\r\n        <\/div>\r\n        <p class=\"error\" data-error=\"stay_length_bucket\">Please select one option.<\/p>\r\n        <div class=\"learnmore\">\r\n          <button type=\"button\" class=\"learnmore__toggle\" aria-expanded=\"false\">\r\n            <span class=\"learnmore__icon\" aria-hidden=\"true\">+<\/span>\r\n            <span class=\"learnmore__text\">Learn More<\/span>\r\n          <\/button>\r\n        <\/div>\r\n        <div class=\"learnmore__panel\" hidden>\r\n          <h3 class=\"learnmore__title\">Length of Residency<\/h3>\r\n          <img class=\"learnmore__center-img\" src=\"http:\/\/wpwebsitedesigns.com\/cooleyscomfort\/wp-content\/uploads\/2025\/12\/Length-of-Residency.png\" alt=\"<img decoding=\"async\" class=\"learnmore__center-img\" src=\"\/assets\/length-of-residency.jpg\" alt=\"Length of residency\">\r\n          <p class=\"learnmore__desc\">If you are moving within the next year or two and believe investing in a new home comfort system will improve the value of your home, you should consider making the investment. If you plan to live in your current residence for many years, it may be wise to invest in your future comfort.<\/p>\r\n        <\/div>\r\n      <\/fieldset>\r\n\r\n      <div class=\"button-row\">\r\n        <button class=\"primary\" type=\"submit\">Get Recommendation<\/button>\r\n      <\/div>\r\n\r\n      <section class=\"result-card\" id=\"result\" aria-live=\"polite\" aria-atomic=\"true\">\r\n        <h2 id=\"result-title\"><\/h2>\r\n        <p class=\"result-body\" id=\"result-body\"><\/p>\r\n        <p class=\"result-meta\" id=\"result-priority\"><\/p>\r\n        <ul class=\"result-list\" id=\"result-reasons\"><\/ul>\r\n      <\/section>\r\n      <\/form>\r\n    <\/main>\r\n  <\/section>\r\n\r\n  <script>\r\n    const form = document.getElementById('questionnaire');\r\n    const resultCard = document.getElementById('result');\r\n    const resultTitle = document.getElementById('result-title');\r\n    const resultBody = document.getElementById('result-body');\r\n    const resultPriority = document.getElementById('result-priority');\r\n    const resultReasons = document.getElementById('result-reasons');\r\n    const resetButton = document.getElementById('reset');\r\n    const coolingSectionTitle = document.getElementById('cooling-section-title');\r\n    const heatingSectionTitle = document.getElementById('heating-section-title');\r\n\r\n    const repairCostEstimates = {\r\n      lt_100: 75,\r\n      100_500: 300,\r\n      501_1000: 750,\r\n      gt_1000: 1500\r\n    };\r\n\r\n    const questionFields = Array.from(form.querySelectorAll('fieldset[data-question]'));\r\n    const learnMoreToggles = Array.from(form.querySelectorAll('.learnmore__toggle'));\r\n\r\n    const conditionalGroups = {\r\n      cooling: () => ['ac_heat_pump', 'packaged_unit'].includes(getValue('system_type')),\r\n      heating: () => getValue('system_type') === 'furnace_boiler'\r\n    };\r\n\r\n    function getValue(name) {\r\n      const checked = form.querySelector(`input[name=\"${name}\"]:checked`);\r\n      if (!checked) {\r\n        return null;\r\n      }\r\n      if (checked.value === 'true') {\r\n        return true;\r\n      }\r\n      if (checked.value === 'false') {\r\n        return false;\r\n      }\r\n      return checked.value;\r\n    }\r\n\r\n    function updateConditionalVisibility() {\r\n      const systemType = getValue('system_type');\r\n      const showCooling = ['ac_heat_pump', 'packaged_unit'].includes(systemType);\r\n      const showHeating = systemType === 'furnace_boiler';\r\n\r\n      coolingSectionTitle.classList.toggle('hidden', !showCooling);\r\n      heatingSectionTitle.classList.toggle('hidden', !showHeating);\r\n\r\n      questionFields.forEach((fieldset) => {\r\n        const condition = fieldset.dataset.conditional;\r\n        if (!condition) {\r\n          return;\r\n        }\r\n        const shouldShow = conditionalGroups[condition]();\r\n        fieldset.classList.toggle('hidden', !shouldShow);\r\n        if (!shouldShow) {\r\n          fieldset.querySelectorAll('input[type=\"radio\"]').forEach((input) => {\r\n            input.checked = false;\r\n          });\r\n          hideError(fieldset.dataset.question);\r\n        }\r\n      });\r\n    }\r\n\r\n    function showError(questionName) {\r\n      const error = form.querySelector(`[data-error=\"${questionName}\"]`);\r\n      if (error) {\r\n        error.classList.add('show');\r\n      }\r\n    }\r\n\r\n    function hideError(questionName) {\r\n      const error = form.querySelector(`[data-error=\"${questionName}\"]`);\r\n      if (error) {\r\n        error.classList.remove('show');\r\n      }\r\n    }\r\n\r\n    function isVisible(fieldset) {\r\n      return !fieldset.classList.contains('hidden');\r\n    }\r\n\r\n    function getNextVisibleQuestion(currentFieldset) {\r\n      const currentIndex = questionFields.indexOf(currentFieldset);\r\n      if (currentIndex === -1) {\r\n        return null;\r\n      }\r\n      for (let i = currentIndex + 1; i < questionFields.length; i += 1) {\r\n        const candidate = questionFields[i];\r\n        if (isVisible(candidate)) {\r\n          return candidate;\r\n        }\r\n      }\r\n      return null;\r\n    }\r\n\r\n    function scrollToNextQuestion(currentFieldset) {\r\n      const nextFieldset = getNextVisibleQuestion(currentFieldset);\r\n      if (!nextFieldset) {\r\n        return;\r\n      }\r\n      const delayMs = 200;\r\n      window.setTimeout(() => {\r\n        nextFieldset.scrollIntoView({ behavior: 'smooth', block: 'center' });\r\n      }, delayMs);\r\n    }\r\n\r\n    function validateForm() {\r\n      let isValid = true;\r\n      questionFields.forEach((fieldset) => {\r\n        if (!isVisible(fieldset)) {\r\n          return;\r\n        }\r\n        const questionName = fieldset.dataset.question;\r\n        const selected = form.querySelector(`input[name=\"${questionName}\"]:checked`);\r\n        if (!selected) {\r\n          isValid = false;\r\n          showError(questionName);\r\n        } else {\r\n          hideError(questionName);\r\n        }\r\n      });\r\n      return isValid;\r\n    }\r\n\r\n    function computeDerivedValues(data) {\r\n      const comfortIssueCount = [\r\n        data.short_cycles_repeatedly,\r\n        data.problem_rooms_never_comfortable,\r\n        data.noticeable_noise_or_vibration\r\n      ].filter(Boolean).length;\r\n\r\n      const lowEfficiencyFlag = (\r\n        ['ac_heat_pump', 'packaged_unit'].includes(data.system_type) &&\r\n        ['5_7', '8_10'].includes(data.seer_bucket)\r\n      ) || (\r\n        data.system_type === 'furnace_boiler' &&\r\n        data.afue_bucket === '70_79'\r\n      );\r\n\r\n      const majorComponentOriginalFlag = (\r\n        ['ac_heat_pump', 'packaged_unit'].includes(data.system_type) &&\r\n        data.compressor_replaced_recently === false\r\n      ) || (\r\n        data.system_type === 'furnace_boiler' &&\r\n        data.heat_exchanger_replaced_recently === false\r\n      );\r\n\r\n      const repairCostEstimate = repairCostEstimates[data.repair_cost_bucket] || 0;\r\n      const replacementCostEstimate = null;\r\n      let repairOver30PercentFlag = false;\r\n\r\n      if (replacementCostEstimate) {\r\n        repairOver30PercentFlag = repairCostEstimate > 0.3 * replacementCostEstimate;\r\n      } else {\r\n        repairOver30PercentFlag = data.repair_cost_bucket === 'gt_1000';\r\n      }\r\n\r\n      return {\r\n        comfortIssueCount,\r\n        lowEfficiencyFlag,\r\n        majorComponentOriginalFlag,\r\n        repairOver30PercentFlag\r\n      };\r\n    }\r\n\r\n    function evaluateRules(data) {\r\n      const derived = computeDerivedValues(data);\r\n      const triggered = [];\r\n      let stop = false;\r\n\r\n      const addRule = (recommendation, priority, reason) => {\r\n        triggered.push({ recommendation, priority, reason });\r\n      };\r\n\r\n      if (data.equipment_age_years_bucket === 'gt_20') {\r\n        addRule('replace', 'high', 'Equipment is over 20 years old; end-of-life risk and inefficiency are high.');\r\n        stop = true;\r\n      }\r\n\r\n      if (!stop && data.repair_cost_bucket === 'gt_1000') {\r\n        addRule('replace', 'high', 'Repair cost exceeds $1,000; large repairs often indicate replacement is more cost-effective.');\r\n        stop = true;\r\n      }\r\n\r\n      if (!stop && derived.repairOver30PercentFlag) {\r\n        addRule('replace', 'high', 'Repair cost exceeds 30% of replacement cost; funds are better invested in a new system.');\r\n        stop = true;\r\n      }\r\n\r\n      if (!stop && derived.lowEfficiencyFlag) {\r\n        addRule('replace', 'medium', 'Efficiency rating is low (SEER\/AFUE); replacement can reduce energy costs and improve comfort.');\r\n      }\r\n\r\n      if (!stop && derived.comfortIssueCount >= 2) {\r\n        addRule('replace', 'medium', 'Multiple comfort\/performance issues suggest broader system problems; replacement is often more reliable.');\r\n      }\r\n\r\n      if (!stop && ['11_20', 'gt_20'].includes(data.equipment_age_years_bucket) && derived.majorComponentOriginalFlag) {\r\n        addRule('replace', 'medium', 'Older system with original major component (compressor\/heat exchanger) increases risk of high future repairs.');\r\n      }\r\n\r\n      if (!stop) {\r\n        const efficiencyOk = (\r\n          ['ac_heat_pump', 'packaged_unit'].includes(data.system_type) &&\r\n          ['ge_14', '11_13'].includes(data.seer_bucket)\r\n        ) || (\r\n          data.system_type === 'furnace_boiler' &&\r\n          ['gt_90', '87_90'].includes(data.afue_bucket)\r\n        );\r\n\r\n        if (\r\n          ['lt_6', '6_10'].includes(data.equipment_age_years_bucket) &&\r\n          ['lt_100', '100_500'].includes(data.repair_cost_bucket) &&\r\n          data.under_warranty === true &&\r\n          efficiencyOk &&\r\n          derived.comfortIssueCount === 0\r\n        ) {\r\n          addRule('repair', 'low', 'System is relatively new, repair cost is low, warranty coverage exists, efficiency is acceptable, and there are no major comfort issues.');\r\n        }\r\n      }\r\n\r\n      if (!stop) {\r\n        if (\r\n          ['6_10', 'gt_10'].includes(data.stay_length_bucket) &&\r\n          (derived.lowEfficiencyFlag || derived.comfortIssueCount >= 1 || data.equipment_age_years_bucket === '11_20')\r\n        ) {\r\n          addRule('replace', 'medium', 'Long expected residency increases the value of efficiency and reliability from replacement.');\r\n        }\r\n      }\r\n\r\n      if (!stop) {\r\n        if (\r\n          data.stay_length_bucket === 'lt_2' &&\r\n          ['lt_6', '6_10', '11_20'].includes(data.equipment_age_years_bucket) &&\r\n          ['lt_100', '100_500', '501_1000'].includes(data.repair_cost_bucket) &&\r\n          derived.comfortIssueCount < 2\r\n        ) {\r\n          addRule('repair', 'medium', 'Short expected residency can favor repair if the system is not severely failing and repair cost is moderate.');\r\n        }\r\n      }\r\n\r\n      let recommendation = null;\r\n      let priority = 'low';\r\n\r\n      if (stop) {\r\n        recommendation = triggered[0].recommendation;\r\n      } else {\r\n        if (triggered.some((rule) => rule.recommendation === 'replace')) {\r\n          recommendation = 'replace';\r\n        } else if (triggered.some((rule) => rule.recommendation === 'repair')) {\r\n          recommendation = 'repair';\r\n        }\r\n      }\r\n\r\n      if (!recommendation) {\r\n        recommendation = 'professional_evaluation';\r\n        triggered.push({\r\n          recommendation: 'professional_evaluation',\r\n          priority: 'medium',\r\n          reason: 'Answers indicate mixed factors; a professional evaluation is recommended to confirm the most cost-effective option.'\r\n        });\r\n      }\r\n\r\n      if (triggered.some((rule) => rule.priority === 'high')) {\r\n        priority = 'high';\r\n      } else if (triggered.some((rule) => rule.priority === 'medium')) {\r\n        priority = 'medium';\r\n      }\r\n\r\n      const reasons = Array.from(new Set(triggered.map((rule) => rule.reason)));\r\n\r\n      return { recommendation, priority, reasons };\r\n    }\r\n\r\n    function gatherFormData() {\r\n      return {\r\n        system_type: getValue('system_type'),\r\n        equipment_age_years_bucket: getValue('equipment_age_years_bucket'),\r\n        repair_cost_bucket: getValue('repair_cost_bucket'),\r\n        under_warranty: getValue('under_warranty'),\r\n        seer_bucket: getValue('seer_bucket'),\r\n        refrigerant_type: getValue('refrigerant_type'),\r\n        compressor_replaced_recently: getValue('compressor_replaced_recently'),\r\n        afue_bucket: getValue('afue_bucket'),\r\n        heat_exchanger_replaced_recently: getValue('heat_exchanger_replaced_recently'),\r\n        short_cycles_repeatedly: getValue('short_cycles_repeatedly'),\r\n        problem_rooms_never_comfortable: getValue('problem_rooms_never_comfortable'),\r\n        noticeable_noise_or_vibration: getValue('noticeable_noise_or_vibration'),\r\n        stay_length_bucket: getValue('stay_length_bucket')\r\n      };\r\n    }\r\n\r\n    function renderResult(result) {\r\n      const titles = {\r\n        replace: 'Replacement Recommended',\r\n        repair: 'Repair Recommended',\r\n        professional_evaluation: 'Professional Evaluation Recommended'\r\n      };\r\n\r\n      const bodies = {\r\n        replace: 'Based on your answers, replacing your system is likely the better long-term investment.',\r\n        repair: 'Based on your answers, repairing your existing system is likely a reasonable option.',\r\n        professional_evaluation: 'Your answers indicate mixed factors. An in-person evaluation is recommended to confirm the most cost-effective option.'\r\n      };\r\n\r\n      const priorities = {\r\n        high: 'High',\r\n        medium: 'Medium',\r\n        low: 'Low'\r\n      };\r\n\r\n      resultTitle.textContent = titles[result.recommendation];\r\n      resultBody.textContent = bodies[result.recommendation];\r\n      resultPriority.textContent = `Priority: ${priorities[result.priority]}`;\r\n      resultReasons.innerHTML = '';\r\n\r\n      result.reasons.forEach((reason) => {\r\n        const item = document.createElement('li');\r\n        item.textContent = reason;\r\n        resultReasons.appendChild(item);\r\n      });\r\n\r\n      resultCard.classList.add('show');\r\n      resultCard.style.borderColor = result.recommendation === 'repair' ? 'var(--success)' : 'var(--accent)';\r\n      resultCard.scrollIntoView({ behavior: 'smooth', block: 'start' });\r\n    }\r\n\r\n    function setLearnMoreState(toggle, panel, expanded) {\r\n      toggle.setAttribute('aria-expanded', expanded ? 'true' : 'false');\r\n      panel.hidden = !expanded;\r\n      const icon = toggle.querySelector('.learnmore__icon');\r\n      if (icon) {\r\n        icon.textContent = expanded ? '-' : '+';\r\n      }\r\n    }\r\n\r\n    learnMoreToggles.forEach((toggle) => {\r\n      const fieldset = toggle.closest('fieldset');\r\n      const panel = fieldset ? fieldset.querySelector('.learnmore__panel') : null;\r\n      if (!panel) {\r\n        return;\r\n      }\r\n      toggle.addEventListener('click', () => {\r\n        const expanded = toggle.getAttribute('aria-expanded') === 'true';\r\n        setLearnMoreState(toggle, panel, !expanded);\r\n      });\r\n    });\r\n\r\n    form.addEventListener('change', (event) => {\r\n      if (event.target && event.target.name === 'system_type') {\r\n        updateConditionalVisibility();\r\n      }\r\n      if (event.target && event.target.name) {\r\n        hideError(event.target.name);\r\n      }\r\n      if (event.target && event.target.matches('input[type=\"radio\"]')) {\r\n        const currentFieldset = event.target.closest('fieldset[data-question]');\r\n        if (currentFieldset) {\r\n          scrollToNextQuestion(currentFieldset);\r\n        }\r\n      }\r\n    });\r\n\r\n    form.addEventListener('submit', (event) => {\r\n      event.preventDefault();\r\n      updateConditionalVisibility();\r\n\r\n      if (!validateForm()) {\r\n        return;\r\n      }\r\n\r\n      const data = gatherFormData();\r\n      const result = evaluateRules(data);\r\n      renderResult(result);\r\n    });\r\n\r\n    resetButton.addEventListener('click', () => {\r\n      form.reset();\r\n      resultCard.classList.remove('show');\r\n      resultTitle.textContent = '';\r\n      resultBody.textContent = '';\r\n      resultPriority.textContent = '';\r\n      resultReasons.innerHTML = '';\r\n      questionFields.forEach((fieldset) => hideError(fieldset.dataset.question));\r\n      learnMoreToggles.forEach((toggle) => {\r\n        const fieldset = toggle.closest('fieldset');\r\n        const panel = fieldset ? fieldset.querySelector('.learnmore__panel') : null;\r\n        if (panel) {\r\n          setLearnMoreState(toggle, panel, false);\r\n        }\r\n      });\r\n      updateConditionalVisibility();\r\n      window.scrollTo({ top: 0, behavior: 'smooth' });\r\n    });\r\n\r\n    updateConditionalVisibility();\r\n  <\/script>\r\n<\/body>\r\n<\/html>\r\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Home Repair or Replace Repair or Replace Repair or Replace Should you repair or replace your air conditioner, heat pump, furnace or boiler? When something breaks down, it&#8217;s tempting to go the quick route and pay for repairs to get it up and running again. That quick-fix may seem the least expensive route now, but [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_glsr_average":0,"_glsr_ranking":0,"_glsr_reviews":0,"footnotes":""},"class_list":["post-1364","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"http:\/\/wpwebsitedesigns.com\/cooleyscomfort\/wp-json\/wp\/v2\/pages\/1364","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/wpwebsitedesigns.com\/cooleyscomfort\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/wpwebsitedesigns.com\/cooleyscomfort\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/wpwebsitedesigns.com\/cooleyscomfort\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/wpwebsitedesigns.com\/cooleyscomfort\/wp-json\/wp\/v2\/comments?post=1364"}],"version-history":[{"count":115,"href":"http:\/\/wpwebsitedesigns.com\/cooleyscomfort\/wp-json\/wp\/v2\/pages\/1364\/revisions"}],"predecessor-version":[{"id":3089,"href":"http:\/\/wpwebsitedesigns.com\/cooleyscomfort\/wp-json\/wp\/v2\/pages\/1364\/revisions\/3089"}],"wp:attachment":[{"href":"http:\/\/wpwebsitedesigns.com\/cooleyscomfort\/wp-json\/wp\/v2\/media?parent=1364"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}