/* ==========================================================================
   HVAC Services Guide — article page stylesheet
   Palette: Red #b32d2e | Orange accent #E26F38 | Navy #333a44
   ========================================================================== */

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Open Sans', Arial, sans-serif;
    color: #2c333d;
    line-height: 1.7;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Jost', Arial, sans-serif;
    color: #202631;
    line-height: 1.25;
    font-weight: 700;
}

a { color: #b32d2e; }

img { max-width: 100%; display: block; }

.wrap {
    width: 780px;
    max-width: 92%;
    margin: 0 auto;
}

/* ---------- top bar ---------- */
.topbar {
    background: #333a44;
    padding: 14px 0;
}

.topbar .wrap {
    width: 1000px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
}

.brand .mark {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #b32d2e;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand .mark svg { width: 18px; height: 18px; fill: #fff; }

.brand strong { font-family: 'Jost', sans-serif; font-size: 105%; }

.topbar .call {
    background: #b32d2e;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 92%;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ---------- hero ---------- */
.hero {
    background: #fbf6f2;
    padding: 50px 0 40px 0;
}

.hero .wrap { width: 900px; }

.hero .eyebrow {
    display: inline-block;
    color: #b32d2e;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    font-size: 84%;
    margin-bottom: 14px;
}

.hero h1 {
    font-size: 250%;
    margin-bottom: 18px;
}

.hero .dek {
    font-size: 118%;
    color: #4a5261;
    max-width: 640px;
    margin-bottom: 22px;
}

.meta-line {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    align-items: center;
    color: #7a8494;
    font-size: 88%;
    margin-bottom: 30px;
}

.meta-line .dot { width: 4px; height: 4px; border-radius: 50%; background: #c3cad3; }

.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }

.btn-primary, .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    padding: 13px 26px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 96%;
}

.btn-primary { background: #b32d2e; color: #fff; }
.btn-primary:hover { background: #952423; }
.btn-outline { border: 2px solid #333a44; color: #333a44; }

.hero figure {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(20,20,30,0.18);
}

.hero figure img { width: 100%; height: auto; }

/* ---------- table of contents ---------- */
.toc {
    background: #fff;
    border: 1px solid #eee2da;
    border-radius: 12px;
    padding: 22px 26px;
    margin: 40px 0;
}

nav.toc h2 {
    font-size: 105%;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #b32d2e;
    margin: 0 0 12px 0;
    border-top: none;
    padding-top: 0;
}

.toc ol {
    columns: 2;
    column-gap: 30px;
    list-style: none;
    counter-reset: toc;
}

.toc li {
    counter-increment: toc;
    font-size: 92%;
    margin-bottom: 8px;
    break-inside: avoid;
}

.toc li a {
    color: #333a44;
    text-decoration: none;
}

.toc li a:hover { color: #b32d2e; }

.toc li::before {
    content: counter(toc) ". ";
    color: #b32d2e;
    font-weight: 700;
}

/* ---------- article body ---------- */
.article { padding: 10px 0 60px 0; }

.article > .wrap > p:first-of-type {
    font-size: 118%;
    color: #3a414c;
}

.article h2 {
    font-size: 168%;
    margin: 52px 0 18px 0;
    padding-top: 6px;
    border-top: 3px solid #f1e4dc;
    padding-top: 22px;
}

.article h3 {
    font-size: 122%;
    margin: 28px 0 12px 0;
    color: #b32d2e;
}

.article p { margin-bottom: 18px; color: #3a414c; }

.article ul, .article ol.steps { margin: 0 0 22px 0; }

.article ul li {
    list-style: none;
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    color: #3a414c;
}

.article ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 16px;
    height: 16px;
    background-image: url(../images/check.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

/* fallback check icon drawn in CSS if svg missing */
.article ul.plain li::before { display: none; }
.article ul.plain li { padding-left: 0; }

figure.inline-img {
    margin: 30px 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(20,20,30,0.1);
}

figure.inline-img img { width: 100%; height: auto; }

figure.inline-img figcaption {
    background: #fff;
    padding: 12px 18px;
    font-size: 85%;
    color: #7a8494;
    border-top: 1px solid #f0ece8;
}

/* emergency warning callout */
.callout {
    background: #fdf1ee;
    border-left: 5px solid #b32d2e;
    border-radius: 8px;
    padding: 22px 26px;
    margin: 20px 0 26px 0;
}

.callout h3 { margin-top: 0; color: #b32d2e; }
.callout ul li::before { background-image: none; }
.callout ul li {
    padding-left: 24px;
}
.callout ul li::before {
    content: "!";
    background: #b32d2e;
    color: #fff;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 800;
    line-height: 16px;
    text-align: center;
    top: 3px;
}

.callout.tip { background: #eef7f0; border-left-color: #1a7f37; }
.callout.tip h3 { color: #1a7f37; }
.callout.tip ul li::before { content: "✓"; background: #1a7f37; font-size: 10px; }

/* ---------- two-column comparison ---------- */
.two-col {
    display: flex;
    gap: 26px;
    margin: 10px 0 30px 0;
    flex-wrap: wrap;
}

.two-col .col {
    flex: 1 1 300px;
    background: #fbf9f7;
    border-radius: 12px;
    padding: 24px 26px;
}

.two-col .col.pros { background: #eef7f0; }
.two-col .col.cons { background: #fdf1ee; }

.two-col .col h3 { margin-top: 0; }
.two-col .col.pros h3 { color: #1a7f37; }
.two-col .col.cons h3 { color: #b32d2e; }

.two-col .col.pros ul li::before { background-image: none; background: #1a7f37; content:"✓"; color:#fff; width:16px;height:16px;border-radius:50%; font-size:10px; line-height:16px; text-align:center; top:3px; }
.two-col .col.cons ul li::before { background-image: none; background: #b32d2e; content:"–"; color:#fff; width:16px;height:16px;border-radius:50%; font-size:12px; line-height:16px; text-align:center; top:3px; }

/* ---------- region cards ---------- */
.region-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin: 20px 0 28px 0;
}

.region-card {
    flex: 1 1 220px;
    background: #fff;
    border: 1px solid #eee2da;
    border-radius: 12px;
    padding: 22px;
}

.region-card h3 { margin-top: 0; font-size: 108%; }

.region-card p { font-size: 92%; margin-bottom: 0; }

/* ---------- numbered process list ---------- */
ol.process {
    list-style: none;
    counter-reset: process;
    margin: 20px 0 28px 0;
    padding: 0;
}

ol.process li {
    counter-increment: process;
    position: relative;
    padding-left: 52px;
    margin-bottom: 20px;
}

ol.process li::before {
    content: counter(process);
    position: absolute;
    left: 0;
    top: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #b32d2e;
    color: #fff;
    font-weight: 800;
    font-family: 'Jost', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
}

ol.process li strong { display: block; color: #202631; margin-bottom: 3px; }

/* ---------- pricing box ---------- */
.price-box {
    background: #fff;
    border: 2px solid #f1e4dc;
    border-radius: 14px;
    padding: 26px 30px;
    margin: 20px 0 28px 0;
}

/* ---------- FAQ ---------- */
.faq-list { margin: 10px 0 20px 0; }

.faq-item {
    background: #fbf9f7;
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 18px 22px;
    cursor: pointer;
    font-weight: 700;
    font-family: 'Jost', sans-serif;
}

.faq-q .plus {
    flex: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #b32d2e;
    color: #fff;
    text-align: center;
    line-height: 24px;
    font-size: 18px;
    transition: transform 0.25s ease;
}

.faq-item.open .faq-q .plus { transform: rotate(45deg); }

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 22px;
    color: #4a5261;
    font-size: 94%;
}

.faq-item.open .faq-a { padding-bottom: 20px; }

/* ---------- final CTA ---------- */
.final-cta {
    background: #333a44;
    color: #fff;
    text-align: center;
    padding: 60px 0;
    margin-top: 10px;
}

.final-cta h2 { color: #fff; margin-bottom: 12px; border: none; padding-top: 0; }
.final-cta p { color: #c9cfd8; max-width: 560px; margin: 0 auto 26px auto; }

.final-cta .phone-btn {
    display: inline-block;
    background: #b32d2e;
    color: #fff;
    font-family: 'Jost', sans-serif;
    font-weight: 700;
    font-size: 140%;
    padding: 16px 40px;
    border-radius: 40px;
    text-decoration: none;
}

.final-cta .phone-btn:hover { background: #952423; }

/* ---------- footer ---------- */
.site-footer {
    background: #202631;
    color: #8a92a1;
    text-align: center;
    padding: 26px 0;
    font-size: 82%;
}

/* ---------- responsive ---------- */
@media screen and (max-width: 900px) {
    .topbar .wrap { width: 92%; }
    .hero .wrap { width: 92%; }
    .hero h1 { font-size: 190%; }
    .toc ol { columns: 1; }
}

@media screen and (max-width: 600px) {
    .hero { padding: 34px 0 26px 0; }
    .hero h1 { font-size: 160%; }
    .hero .dek { font-size: 104%; }
    .article h2 { font-size: 140%; margin-top: 40px; }
    .two-col { flex-direction: column; }
    .brand strong { font-size: 92%; }
    .topbar .call span.label { display: none; }
    .final-cta .phone-btn { font-size: 112%; padding: 14px 26px; }
}
