/* =====================================================================
   Furnace Repair Spokane — Design System
   Palette: Navy #1B3A5C · Orange #E85D26 · White · Light grey #F5F7FA
   Font: Montserrat · Footer navy #0f2238
   ===================================================================== */

:root {
    --navy:        #1B3A5C;
    --navy-dark:   #0f2238;
    --orange:      #E85D26;
    --orange-dark: #cf4a16;
    --white:       #FFFFFF;
    --grey:        #F5F7FA;
    --grey-200:    #e4e9f0;
    --grey-300:    #cbd4e1;
    --text:        #243748;
    --text-muted:  #5d6b7a;
    --green:       #1e9e5a;
    --star:        #f5a623;
    --shadow-sm:   0 1px 3px rgba(16,34,56,.08);
    --shadow:      0 6px 24px rgba(16,34,56,.10);
    --shadow-lg:   0 16px 40px rgba(16,34,56,.16);
    --radius:      10px;
    --radius-sm:   6px;
    --maxw:        1180px;
    --gutter:      24px;
    --header-h:    72px;
    --ease:        .25s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* Clip any horizontal overflow (e.g. the off-canvas mobile nav) without
   creating a scroll container — keeps position:sticky working. */
html, body { overflow-x: clip; max-width: 100%; }
body {
    margin: 0;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--orange-dark); }
h1, h2, h3, h4, h5 { color: var(--navy); font-weight: 700; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.2rem; }
button { font-family: inherit; cursor: pointer; }
svg { vertical-align: -0.14em; flex-shrink: 0; }

/* ---- Layout helpers ---- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 72px 0; }
.section--grey { background: var(--grey); }
.section--navy { background: var(--navy); color: #dfe7f0; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section__head p { color: var(--text-muted); font-size: 1.05rem; }
.eyebrow {
    display: inline-block; color: var(--orange); font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; font-size: .8rem; margin-bottom: 10px;
}
.text-center { text-align: center; }

/* ---- Buttons ---- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-weight: 700; font-size: .98rem; padding: 14px 26px; border-radius: var(--radius-sm);
    border: 2px solid transparent; transition: all var(--ease); cursor: pointer; text-align: center;
    line-height: 1.1; white-space: nowrap;
}
.btn--primary { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn--primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: #fff; transform: translateY(-1px); }
.btn--navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--navy:hover { background: var(--navy-dark); color: #fff; }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--ghost-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost-white:hover { background: #fff; color: var(--navy); }
.btn--lg { padding: 16px 34px; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; }

/* =====================================================================
   HEADER
   ===================================================================== */
.topbar { background: var(--navy-dark); color: #cdd8e6; font-size: .85rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; flex-wrap: wrap; gap: 8px; }
.topbar a { color: #cdd8e6; }
.topbar a:hover { color: #fff; }
.topbar__contact { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.topbar__contact span, .topbar__contact a { display: inline-flex; align-items: center; gap: 7px; }
.topbar__social { display: flex; gap: 14px; align-items: center; }
.topbar__social a { display: inline-flex; }
.topbar__social svg { width: 16px; height: 16px; fill: currentColor; }

.site-header {
    position: sticky; top: 0; z-index: 1000; background: #fff;
    box-shadow: var(--shadow-sm); transition: box-shadow var(--ease);
}
.site-header.scrolled { box-shadow: 0 4px 18px rgba(16,34,56,.14); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }

.logo { display: flex; align-items: center; gap: 10px; color: var(--navy); flex-shrink: 0; line-height: 1; }
.logo:hover { color: var(--navy); }
.logo__mark {
    width: 42px; height: 42px; border-radius: 9px; background: var(--navy);
    display: grid; place-items: center; flex-shrink: 0;
}
.logo__mark svg { width: 24px; height: 24px; fill: var(--orange); }
.logo__text { display: flex; flex-direction: column; justify-content: center; white-space: nowrap; }
.logo__name { font-weight: 800; font-size: 1.15rem; line-height: 1.1; color: var(--navy); }
.logo small { display: block; font-size: .64rem; font-weight: 600; color: var(--orange); letter-spacing: .03em; margin-top: 2px; }

/* ---- Primary nav ---- */
.nav { display: flex; align-items: center; }
.nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; flex-wrap: nowrap; }
.nav > ul > li { position: relative; }
.nav a.nav__link {
    display: flex; align-items: center; gap: 5px; padding: 10px 12px; color: var(--navy);
    font-weight: 600; font-size: .94rem; border-radius: 6px; white-space: nowrap;
}
.nav a.nav__link:hover, .nav .active > .nav__link { color: var(--orange); background: var(--grey); }
.nav__caret { width: 13px; height: 13px; fill: currentColor; opacity: .8; transition: transform var(--ease); }
.has-dropdown:hover .nav__caret { transform: rotate(180deg); }

.dropdown {
    position: absolute; top: calc(100% + 6px); left: 0; min-width: 252px; background: #fff;
    border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; list-style: none; margin: 0;
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: all var(--ease);
    border-top: 3px solid var(--orange); z-index: 50;
}
.has-dropdown:hover .dropdown, .has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 10px 14px; color: var(--navy); font-weight: 600; font-size: .9rem; border-radius: 6px; }
.dropdown a:hover { background: var(--grey); color: var(--orange); }

.header__cta { display: flex; align-items: center; gap: 12px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); white-space: nowrap; }
.header__phone svg { width: 18px; height: 18px; fill: var(--orange); }

/* ---- Mobile nav toggle ---- */
.nav-toggle { display: none; background: var(--navy); border: 0; border-radius: 6px; width: 44px; height: 40px; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    display: block; width: 20px; height: 2px; background: #fff; position: relative; margin: 0 auto; transition: all var(--ease);
}
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero { background: var(--white); padding: 56px 0 64px; border-bottom: 1px solid var(--grey-200); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero__sub { font-size: 1.12rem; color: var(--text-muted); margin-bottom: 22px; max-width: 540px; }
.hero h1 .accent { color: var(--orange); }
.pills { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; list-style: none; padding: 0; }
.pill {
    display: inline-flex; align-items: center; gap: 6px; background: var(--grey); color: var(--navy);
    font-weight: 600; font-size: .85rem; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--grey-200);
}
.pill svg { width: 13px; height: 13px; fill: var(--orange); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* Lead form card (navy) */
.lead-card {
    background: var(--navy); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-lg);
    color: #fff;
}
.lead-card--white { background: #fff; color: var(--text); border: 1px solid var(--grey-200); }
.lead-card h3 { color: #fff; font-size: 1.45rem; margin-bottom: 4px; }
.lead-card--white h3 { color: var(--navy); }
.lead-card__sub { color: #b9c7d8; font-size: .92rem; margin-bottom: 20px; }
.lead-card--white .lead-card__sub { color: var(--text-muted); }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 6px; color: inherit; }
.field input, .field select, .field textarea {
    width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--grey-300);
    font-family: inherit; font-size: .95rem; background: #fff; color: var(--text); transition: border-color var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(232,93,38,.15); }
.field textarea { resize: vertical; min-height: 90px; }
/* honeypot */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .78rem; color: #9fb0c4; margin-top: 8px; text-align: center; }
.lead-card--white .form-note { color: var(--text-muted); }
.form-alert { padding: 12px 14px; border-radius: var(--radius-sm); font-size: .9rem; font-weight: 600; margin-bottom: 14px; display: none; }
.form-alert--ok { background: rgba(30,158,90,.15); color: #b7f0cf; display: block; }
.lead-card--white .form-alert--ok { background: #e3f7ec; color: #157a44; }
.form-alert--err { background: rgba(232,93,38,.18); color: #ffd0bd; display: block; }
.lead-card--white .form-alert--err { background: #fdeae2; color: #c0431a; }

/* =====================================================================
   TRUST BAR (orange)
   ===================================================================== */
.trust-bar { background: var(--orange); color: #fff; padding: 26px 0; }
.trust-bar__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust { display: flex; align-items: center; gap: 14px; justify-content: center; text-align: left; }
.trust svg { width: 38px; height: 38px; fill: #fff; flex-shrink: 0; opacity: .95; }
.trust strong { display: block; font-size: 1.25rem; font-weight: 800; line-height: 1; }
.trust span { font-size: .86rem; opacity: .92; }

/* =====================================================================
   STATS GRID (urgent)
   ===================================================================== */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 12px; }
.stat-card {
    background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 28px 20px;
    text-align: center; box-shadow: var(--shadow-sm);
}
.stat-card .num { font-size: 2.3rem; font-weight: 800; color: var(--orange); line-height: 1; }
.stat-card .lbl { color: var(--navy); font-weight: 600; margin-top: 8px; font-size: .95rem; }
.urgent-banner {
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    background: var(--navy); color: #fff; border-radius: var(--radius); padding: 26px 32px; margin-bottom: 36px;
}
.urgent-banner h2 { color: #fff; margin: 0; }
.urgent-banner p { color: #c4d2e2; margin: 6px 0 0; }

/* =====================================================================
   WHY CHOOSE US + FAQ accordion
   ===================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .ic { width: 44px; height: 44px; border-radius: 10px; background: var(--grey); display: grid; place-items: center; flex-shrink: 0; }
.feature-list .ic svg { width: 22px; height: 22px; fill: var(--orange); }
.feature-list h4 { margin: 0 0 3px; color: var(--navy); font-size: 1.05rem; }
.feature-list p { margin: 0; color: var(--text-muted); font-size: .92rem; }

.accordion { border: 1px solid var(--grey-200); border-radius: var(--radius); overflow: hidden; background: #fff; }
.acc-item + .acc-item { border-top: 1px solid var(--grey-200); }
.acc-q {
    width: 100%; text-align: left; background: #fff; border: 0; padding: 18px 20px; font-weight: 700;
    color: var(--navy); font-size: 1rem; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.acc-q:hover { background: var(--grey); }
.acc-q .sign { width: 22px; height: 22px; flex-shrink: 0; position: relative; }
.acc-q .sign::before, .acc-q .sign::after { content: ''; position: absolute; background: var(--orange); transition: transform var(--ease); }
.acc-q .sign::before { top: 10px; left: 3px; right: 3px; height: 2px; }
.acc-q .sign::after  { left: 10px; top: 3px; bottom: 3px; width: 2px; }
.acc-item.open .sign::after { transform: scaleY(0); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc-a__inner { padding: 0 20px 18px; color: var(--text-muted); font-size: .94rem; }

/* =====================================================================
   COMPARISON TABLE
   ===================================================================== */
.compare-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
table.compare { width: 100%; border-collapse: collapse; background: #fff; min-width: 560px; }
table.compare th, table.compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--grey-200); }
table.compare thead th { background: var(--navy); color: #fff; font-size: .98rem; }
table.compare thead th.us { background: var(--orange); }
table.compare tbody th { font-weight: 600; color: var(--navy); }
table.compare td { text-align: center; }
table.compare td.us { background: #fff6f2; }
table.compare .yes { color: var(--green); font-weight: 800; }
table.compare .no { color: #c0392b; font-weight: 800; }
table.compare svg { width: 20px; height: 20px; }

/* =====================================================================
   PROCESS (6 steps) & generic card grid
   ===================================================================== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.step-card {
    background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 28px 24px;
    position: relative; box-shadow: var(--shadow-sm); transition: transform var(--ease), box-shadow var(--ease);
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-card .step-num {
    position: absolute; top: -16px; left: 24px; width: 40px; height: 40px; border-radius: 10px;
    background: var(--orange); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 1.05rem;
    box-shadow: var(--shadow-sm);
}
.step-card h3 { margin: 14px 0 6px; font-size: 1.12rem; }
.step-card p { margin: 0; color: var(--text-muted); font-size: .92rem; }

/* =====================================================================
   SERVICES GRID (hover -> navy)
   ===================================================================== */
.service-card {
    background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-sm); transition: all var(--ease); display: flex; flex-direction: column;
}
.service-card__img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--navy); }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.service-card:hover .service-card__img img { transform: scale(1.06); }
.service-card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex-grow: 1; }
.service-card .ic {
    position: absolute; left: 16px; bottom: -22px; width: 52px; height: 52px; border-radius: 12px;
    background: var(--orange); display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: background var(--ease);
}
.service-card .ic svg { width: 26px; height: 26px; fill: #fff; }
.service-card h3 { font-size: 1.18rem; margin: 8px 0 8px; transition: color var(--ease); }
.service-card p { color: var(--text-muted); font-size: .92rem; flex-grow: 1; transition: color var(--ease); }
.service-card .more { margin-top: 14px; font-weight: 700; color: var(--orange); display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; }
.service-card .more svg { width: 14px; height: 14px; fill: currentColor; }
.service-card:hover { border-color: var(--navy); transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.service-card:hover .service-card__body { background: var(--navy); }
.service-card:hover h3 { color: #fff; }
.service-card:hover p { color: #c4d2e2; }
.service-card:hover .more { color: #fff; }

/* =====================================================================
   SEASONAL GUIDE
   ===================================================================== */
.season-card { background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--ease), box-shadow var(--ease); }
.season-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.season-card__top { background: var(--navy); color: #fff; padding: 18px 22px; }
.season-card__top .mo { color: var(--orange); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; }
.season-card__top h3 { color: #fff; margin: 4px 0 0; font-size: 1.15rem; }
.season-card__body { padding: 20px 22px; color: var(--text-muted); font-size: .92rem; }

/* =====================================================================
   TESTIMONIALS
   ===================================================================== */
.review-card { background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.stars { display: flex; gap: 3px; margin-bottom: 14px; }
.stars svg { width: 18px; height: 18px; fill: var(--star); }
.review-card p { color: var(--text); font-style: italic; flex-grow: 1; }
.review-author { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.review-author .av { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; }
.review-author strong { color: var(--navy); display: block; font-size: .98rem; }
.review-author span { color: var(--text-muted); font-size: .84rem; }

/* =====================================================================
   AREAS
   ===================================================================== */
.areas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 22px; }
.area-card { background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 26px 24px; text-align: center; box-shadow: var(--shadow-sm); transition: all var(--ease); }
.area-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--orange); }
.area-card .ic { width: 52px; height: 52px; border-radius: 50%; background: var(--grey); display: grid; place-items: center; margin: 0 auto 14px; }
.area-card .ic svg { width: 26px; height: 26px; fill: var(--orange); }
.area-card h3 { font-size: 1.12rem; margin-bottom: 6px; }
.area-card p { color: var(--text-muted); font-size: .88rem; margin: 0 0 14px; }

/* =====================================================================
   BLOG
   ===================================================================== */
.post-card { background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: all var(--ease); display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__img { aspect-ratio: 16/9; background: var(--navy) linear-gradient(135deg, #1B3A5C, #2c5378); position: relative; overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.badge { display: inline-block; background: var(--orange); color: #fff; font-size: .72rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.post-card__img .badge { position: absolute; top: 14px; left: 14px; }
.post-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex-grow: 1; }
.post-card__meta { color: var(--text-muted); font-size: .8rem; margin-bottom: 8px; }
.post-card__body h3 { font-size: 1.12rem; margin-bottom: 8px; }
.post-card__body h3 a { color: var(--navy); }
.post-card__body h3 a:hover { color: var(--orange); }
.post-card__body p { color: var(--text-muted); font-size: .9rem; flex-grow: 1; }
.post-card__body .more { font-weight: 700; color: var(--orange); font-size: .88rem; margin-top: 10px; }

/* =====================================================================
   FINAL CTA
   ===================================================================== */
.final-cta { background: var(--navy); color: #fff; }
.final-cta .split { align-items: center; }
.final-cta h2 { color: #fff; }
.final-cta p { color: #c4d2e2; }
.cta-phone { display: inline-flex; align-items: center; gap: 12px; font-size: 1.5rem; font-weight: 800; color: #fff; margin: 12px 0 20px; }
.cta-phone svg { width: 30px; height: 30px; fill: var(--orange); }
.cta-points { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.cta-points li { display: flex; align-items: center; gap: 10px; color: #dbe5f0; font-weight: 600; font-size: .95rem; }
.cta-points svg { width: 20px; height: 20px; fill: var(--orange); flex-shrink: 0; }

/* =====================================================================
   PAGE HERO / BREADCRUMBS (inner pages)
   ===================================================================== */
.page-hero { background: var(--navy); color: #fff; padding: 50px 0; }
.page-hero h1 { color: #fff; margin-bottom: 8px; }
.page-hero p { color: #c4d2e2; margin: 0; max-width: 680px; }
.breadcrumbs { font-size: .82rem; margin-bottom: 12px; color: #9fb4c9; }
.breadcrumbs a { color: #c4d2e2; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs span { color: var(--orange); }

.prose { font-size: 1.02rem; color: var(--text); }
.prose h2 { margin-top: 1.6em; }
.prose ul li { margin-bottom: 6px; }
.prose img { border-radius: var(--radius); margin: 1.4em 0; }

.callout { background: var(--grey); border-left: 4px solid var(--orange); border-radius: var(--radius-sm); padding: 22px 24px; margin: 28px 0; }
.callout h3 { margin-top: 0; }

/* link chips */
.link-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.link-chips a { background: var(--grey); color: var(--navy); font-weight: 600; padding: 9px 16px; border-radius: 999px; font-size: .88rem; border: 1px solid var(--grey-200); }
.link-chips a:hover { background: var(--orange); color: #fff; border-color: var(--orange); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: var(--navy-dark); color: #aebfd0; padding: 56px 0 0; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; padding-bottom: 40px; }
.site-footer h4 { color: #fff; font-size: 1.02rem; margin-bottom: 18px; }
.site-footer a { color: #aebfd0; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-brand .logo { color: #fff; margin-bottom: 14px; }
.footer-brand .logo__name { color: #fff; }
.footer-brand .logo small { color: var(--orange); }
.footer-brand p { color: #93a7bb; margin-bottom: 16px; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; fill: var(--orange); flex-shrink: 0; margin-top: 3px; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a { width: 38px; height: 38px; border-radius: 8px; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.footer-social a:hover { background: var(--orange); }
.footer-social svg { width: 17px; height: 17px; fill: #fff; }
.newsletter input { width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: #fff; margin-bottom: 10px; }
.newsletter input::placeholder { color: #7e93a9; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; color: #8499af; }
.footer-bottom a { color: #8499af; }
.footer-bottom .links { display: flex; gap: 18px; }

/* =====================================================================
   STICKY MOBILE CALL BAR
   ===================================================================== */
.mobile-callbar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 120; background: #fff; box-shadow: 0 -3px 18px rgba(16,34,56,.18); }
.mobile-callbar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 8px; font-weight: 700; font-size: .92rem; }
.mobile-callbar .call { background: var(--orange); color: #fff; }
.mobile-callbar .quote { background: var(--navy); color: #fff; }
.mobile-callbar svg { width: 18px; height: 18px; fill: currentColor; }
.mobile-callbar { display: none; }

/* =====================================================================
   FLOATING WHATSAPP SUPPORT BUTTON
   ===================================================================== */
.whatsapp-float {
    position: fixed; right: 22px; bottom: 24px; z-index: 125;
    display: inline-flex; align-items: center; gap: 10px;
    background: #25D366; color: #fff; font-weight: 700; font-size: .95rem;
    padding: 13px 20px 13px 16px; border-radius: 999px;
    box-shadow: 0 8px 24px rgba(37,211,102,.45); transition: all var(--ease);
}
.whatsapp-float:hover { color: #fff; background: #1ebe5b; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(37,211,102,.55); }
.whatsapp-float svg { width: 26px; height: 26px; fill: #fff; }
.whatsapp-float__label { white-space: nowrap; }

/* Floating "Get Free Estimate" button — bottom-left, mirrors WhatsApp */
.estimate-float {
    position: fixed; left: 22px; bottom: 24px; z-index: 125;
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--orange); color: #fff; font-weight: 700; font-size: .95rem;
    padding: 13px 20px 13px 16px; border-radius: 999px;
    box-shadow: 0 8px 24px rgba(232,93,38,.45); transition: all var(--ease);
}
.estimate-float:hover { color: #fff; background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(232,93,38,.55); }
.estimate-float svg { width: 22px; height: 22px; fill: #fff; }
.estimate-float__label { white-space: nowrap; }

/* =====================================================================
   COOKIE NOTICE
   ===================================================================== */
.cookie-bar { position: fixed; bottom: 16px; left: 16px; right: 16px; max-width: 540px; margin: 0 auto; background: var(--navy-dark); color: #dbe5f0; padding: 16px 20px; border-radius: var(--radius); box-shadow: var(--shadow-lg); z-index: 130; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; justify-content: space-between; font-size: .85rem; }
.cookie-bar.hidden { display: none; }
.cookie-bar .btn { padding: 9px 18px; }

/* =====================================================================
   HERO WITH BACKGROUND MEDIA
   ===================================================================== */
.hero--media { position: relative; background-size: cover; background-position: center; background-repeat: no-repeat; border-bottom: 0; padding: 72px 0 80px; }
.hero--media::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(115deg, rgba(15,34,56,.94) 0%, rgba(27,58,92,.86) 48%, rgba(15,34,56,.55) 100%);
}
.hero--media .container { position: relative; z-index: 1; }
.hero--media .eyebrow { color: #ffb347; }
.hero--media .eyebrow svg { fill: #ffb347; }
.hero--media h1 { color: #fff; }
.hero--media .hero__sub { color: #dbe7f4; }
.hero--media .pill { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.22); }
.hero--media .pill svg { fill: #ffb347; }

/* =====================================================================
   MEDIA BAND (image + text split)
   ===================================================================== */
.split--media { align-items: center; }
.media-frame { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--grey); }
.media-frame__img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.media-frame__badge {
    position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px;
    background: rgba(15,34,56,.88); color: #fff; font-weight: 700; font-size: .85rem; padding: 9px 15px; border-radius: 999px;
}
.media-frame__badge svg { width: 16px; height: 16px; fill: #ffb347; }

.check-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 11px; color: var(--text); font-weight: 600; font-size: .96rem; }
.check-list svg { width: 22px; height: 22px; fill: var(--green); flex-shrink: 0; margin-top: 1px; }

/* =====================================================================
   GALLERY ("Our Recent Work")
   ===================================================================== */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery-item { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--navy); }
.gallery-item__img { width: 100%; aspect-ratio: 22 / 15; object-fit: cover; display: block; transition: transform .4s ease; }
.gallery-item:hover .gallery-item__img { transform: scale(1.06); }
.gallery-item figcaption {
    position: absolute; left: 0; right: 0; bottom: 0; color: #fff; font-weight: 700; font-size: .95rem;
    padding: 28px 18px 14px; background: linear-gradient(to top, rgba(15,34,56,.85), transparent);
}

/* prose banner image (inner pages) */
.prose-banner { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: var(--radius); margin: 0 0 1.6em; box-shadow: var(--shadow-sm); }

/* page image bands (banner / mid / footer image on inner pages) */
.page-band { padding: 34px 0; }
.page-band__img { width: 100%; aspect-ratio: 21 / 8; max-height: 440px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-sm); display: block; }
@media (max-width: 640px) { .page-band { padding: 24px 0; } .page-band__img { aspect-ratio: 16 / 9; } }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 980px) {
    .hero__grid, .split, .grid-4 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .trust-bar__grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
    .nav { position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px); background: #fff; flex-direction: column; align-items: stretch; padding: 84px 18px 24px; box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .3s ease; overflow-y: auto; z-index: 1010; }
    .nav.open { transform: translateX(0); }
    .nav > ul { flex-direction: column; gap: 2px; }
    .nav a.nav__link { padding: 13px 14px; justify-content: space-between; }
    .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-top: 0; padding: 0 0 6px 12px; max-height: 0; overflow: hidden; transition: max-height .3s ease; }
    .has-dropdown.open .dropdown { max-height: 400px; }
    .has-dropdown:hover .dropdown { opacity: 1; } /* disable hover-open on mobile */
    .nav-toggle { display: block; }
    .header__cta .btn--primary, .header__phone { display: none; }
    .nav-backdrop { position: fixed; inset: 0; background: rgba(15,34,56,.5); z-index: 900; opacity: 0; visibility: hidden; transition: opacity .3s; }
    /* when the menu is open, hide the bottom floats so they don't sit over it */
    body.nav-open .whatsapp-float, body.nav-open .mobile-callbar, body.nav-open .estimate-float, body.nav-open .cookie-bar { display: none !important; }
    .nav-backdrop.open { opacity: 1; visibility: visible; }
    .mobile-callbar { display: flex; }
    body { padding-bottom: 56px; }
    .topbar__contact .email-item { display: none; }
    /* ---- Tidy topbar on mobile: one bold, full-width click-to-call strip ---- */
    .topbar { font-size: .86rem; }
    .topbar__inner { justify-content: stretch; gap: 0; padding: 0; flex-wrap: nowrap; }
    .topbar__social { display: none; }            /* social lives in the footer on mobile */
    .topbar__contact span { display: none; }       /* hours hidden — kept lean */
    .topbar__contact { width: 100%; gap: 0; }
    .topbar__contact a[href^="tel"] {
        flex: 1; justify-content: center; gap: 8px; padding: 10px 12px;
        background: var(--orange); color: #fff; font-weight: 800; letter-spacing: .01em;
    }
    .topbar__contact a[href^="tel"] svg { fill: #fff; width: 15px; height: 15px; }
    /* WhatsApp: icon-only circle, lifted above the sticky call bar */
    .whatsapp-float { right: 16px; bottom: 70px; padding: 14px; border-radius: 50%; }
    .whatsapp-float__label { display: none; }
    /* Estimate float hidden on mobile — the sticky call bar already has "Free Estimate" */
    .estimate-float { display: none; }
}
@media (max-width: 560px) {
    .trust-bar__grid, .stats-grid, .grid-3, .grid-2, .footer-grid { grid-template-columns: 1fr; }
    .section { padding: 52px 0; }
    .urgent-banner { padding: 22px; }
    .footer-bottom { flex-direction: column; }
}

/* Reveal-on-scroll animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

/* =====================================================================
   RESPONSIVE — new components + refinements
   ===================================================================== */
@media (max-width: 980px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    /* On the media band, show the image first, text below */
    .split--media .media-frame { order: -1; }
    .media-frame__img { aspect-ratio: 16 / 9; }
}
@media (max-width: 860px) {
    .hero--media { padding: 48px 0 56px; }
    /* keep hero overlay darker on small screens for legibility */
    .hero--media::before { background: linear-gradient(160deg, rgba(15,34,56,.95), rgba(27,58,92,.9)); }
}
@media (max-width: 640px) {
    .gallery-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .gallery-item figcaption { font-size: .82rem; padding: 22px 12px 11px; }
    .prose-banner { aspect-ratio: 16 / 10; }
}
@media (max-width: 400px) {
    :root { --gutter: 16px; }
    h1 { font-size: 1.7rem; }
    .btn--lg { padding: 14px 20px; font-size: .98rem; }
    .hero__cta .btn { width: 100%; }
    .gallery-grid { grid-template-columns: 1fr; }
}
/* large screens — stop the line length from getting too wide */
@media (min-width: 1500px) {
    :root { --maxw: 1240px; }
}

/* =====================================================================
   ACCESSIBILITY / UX POLISH
   ===================================================================== */
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 3px; }
.btn:focus-visible { outline-offset: 3px; }
/* guarantee comfortable tap targets on touch devices */
@media (hover: none) {
    .nav a.nav__link, .footer-links a, .dropdown a { min-height: 44px; display: flex; align-items: center; }
}
/* respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1 !important; transform: none !important; }
    .gallery-item:hover .gallery-item__img, .service-card:hover .service-card__img img { transform: none; }
}
/* avoid the iOS auto-zoom on focus by keeping inputs >=16px (already 16px base) */
.field input, .field select, .field textarea { font-size: 16px; }
