/* Build: 2026-08-25-r3 */
/* r3 changes: fixed emergency/schedule-soon eyebrow icons (were swapped —
   red line should be a warning triangle, amber line a lightning bolt, not
   the reverse), fixed the alert-circle icon glyph shape (was a plain
   circle+line, source's Font Awesome icon is exclamation-triangle inside
   a stacked circle badge). Confirmed via a proper Elementor Kit export
   (site-settings.json + per-page content JSON) uploaded 2026-08-26 — see
   notes below on the "Poppin" typo finding. */
/* r2 changes: fixed checkmark/warning icon escaping, high-contrast a11y
   button override, mobile promo-bar layout + reserved-space bug, CSS
   rule-ordering bugs (promo-bar + a11y-toggle mobile overrides), added
   cookie consent banner, added rel=sponsored to affiliate links. */

/* ============ Design tokens ============ */
:root {
  --blue: #054FB9;
  --blue-dark: #00398C;
  --orange: #F57600;
  --orange-hover: #D96700;

  --text-dark: #171C22;
  --text-body: #3F444B;
  --text-muted: #606672;
  --text-mutest: #737784;

  --border: #E2E8F0;
  --border-soft: #D9DEE7;
  --border-softer: #D6DAE3;

  --bg-page: #FFFFFF;
  --bg-light: #F8FAFC;
  --bg-lighter: #F8F9FF;

  --green: #0F7A4E;
  --green-bright: #10B981;
  --green-bg: #DCF5E9;

  --red: #BA1A1A;
  --red-text: #8A1214;
  --red-bg: #FDECEC;
  --red-bg-soft: #FBE2E1;

  --amber-text: #8A5A00;
  --amber-text-2: #B45309;
  --amber-bg: #FFF6E9;

  --font-heading: 'Poppins', -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-body: 'Inter', -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--bg-page);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--orange); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.2;
  margin: 0 0 16px;
}
p { margin: 0 0 16px; }
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--blue); color: #fff; padding: 10px 16px;
  z-index: 10000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .15s ease, transform .1s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-hover); color: #fff; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #9c1616; color: #fff; }
.btn-green { background: var(--green-bright); color: #fff; }
.btn-green:hover { background: #0d9668; color: #fff; }
.btn-block { width: 100%; }

/* ============ Header ============ */
.site-header {
  border-bottom: 1px solid var(--border);
  background: #fff;
  position: relative;
  z-index: 500;
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.site-logo { flex-shrink: 0; }
.site-logo img { height: 62px; width: auto; }
.main-nav { flex: 1; }
.main-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 28px; flex-wrap: wrap;
}
.main-nav a {
  color: var(--blue);
  font-weight: 500;
  font-size: 16px;
  padding-bottom: 4px;
}
.main-nav a[aria-current="page"] {
  color: var(--text-dark);
  border-bottom: 2px solid var(--text-dark);
}
.trusted-pill {
  background: var(--blue);
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 999px;
  white-space: nowrap;
}
.trusted-pill:hover { background: var(--blue-dark); color: #fff !important; }
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block; width: 26px; height: 3px; background: var(--text-dark);
  margin: 5px 0; border-radius: 2px;
}

@media (max-width: 860px) {
  .header-inner { padding: 14px 16px; }
  .nav-toggle { display: block; order: 3; }
  .main-nav {
    flex-basis: 100%;
    order: 4;
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 4px; padding-top: 12px; border-top: 1px solid var(--border); }
  .main-nav a { display: block; padding: 10px 4px; }
  .trusted-pill { order: 2; margin-left: auto; }
  .site-logo img { height: 48px; }
}

/* ============ Hero (Home) ============ */
.hero {
  position: relative;
  background: var(--bg-light);
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: right center;
  opacity: .5;
}
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(248,250,252,.97) 0%, rgba(248,250,252,.85) 35%, rgba(248,250,252,.35) 65%, rgba(248,250,252,0) 100%);
}
.hero-content {
  position: relative;
  margin: 0;
  padding: 64px 20px 64px clamp(20px, 6vw, 140px);
  width: 100%;
}
.hero-content h1 {
  font-size: 52px;
  font-weight: 700;
  max-width: 560px;
  margin-bottom: 20px;
}
.hero-content .hero-sub {
  font-size: 17px;
  max-width: 480px;
  color: var(--text-body);
  margin-bottom: 28px;
}
.zip-form {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  padding: 8px;
  display: flex;
  gap: 8px;
  max-width: 520px;
  flex-wrap: wrap;
}
.zip-field {
  flex: 1 1 220px;
  position: relative;
  display: flex;
  align-items: center;
}
.zip-field .pin {
  position: absolute; left: 14px; color: var(--blue); pointer-events: none;
}
.zip-field input {
  width: 100%;
  border: none;
  background: transparent;
  padding: 14px 14px 14px 38px;
  font-size: 16px;
  font-family: var(--font-body);
  color: var(--text-dark);
  outline: none;
}
.zip-form .btn { flex: 0 0 auto; white-space: nowrap; }
.hero-serving {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-muted);
}

/* Stat bar */
.stat-bar {
  background: var(--blue);
  color: #fff;
}
.stat-bar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 28px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
  text-align: center;
}
.stat-item {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 16px;
  font-family: var(--font-body);
}
.stat-item svg { flex-shrink: 0; }

/* ============ Section basics ============ */
.section { padding: 72px 0; }
.section-light { background: var(--bg-light); }
.section-blue { background: var(--blue); color: #fff; }
.section-title {
  text-align: center;
  font-size: 42px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 14px;
}
.section-title.dark { color: var(--text-dark); }
.section-title .highlight {
  background: var(--orange);
  color: var(--blue);
  padding: 2px 10px;
  border-radius: 4px;
}
.section-sub {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
  color: var(--text-muted);
  font-size: 17px;
}

/* How it works */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.step-icon {
  width: 64px; height: 64px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  color: var(--blue);
}
.step-item h3 { font-size: 18px; margin-bottom: 8px; }
.step-item p { font-size: 14px; color: var(--text-muted); margin: 0; }

/* Why choose cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.feature-card .icon {
  width: 40px; height: 40px; color: var(--blue);
  margin: 0 auto 16px;
}
.feature-card h3 { font-size: 17px; color: var(--blue); margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-muted); margin: 0; }

/* Testimonials */
.testimonial-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
}
.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.t-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.t-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; overflow: hidden; flex-shrink: 0;
}
.t-avatar img { width: 100%; height: 100%; object-fit: cover; }
.t-name { font-weight: 700; color: var(--text-dark); font-size: 15px; }
.t-date { font-size: 13px; color: var(--text-mutest); }
.t-stars { color: #F5A623; margin-bottom: 8px; font-size: 15px; }
.t-body { font-style: italic; color: var(--text-body); font-size: 15px; }
.review-summary { text-align: center; margin-top: 24px; font-size: 15px; }
.review-summary a { font-weight: 700; }
.trustindex-widget-wrap {
  min-height: 80px;
}

/* FAQ accordion */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item.compact { background: transparent; border: none; border-bottom: 1px solid var(--border); border-radius: 0; margin-bottom: 0; }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
}
.faq-q .chev { transition: transform .2s ease; flex-shrink: 0; color: var(--text-muted); }
.faq-item[open] .faq-q .chev { transform: rotate(180deg); }
.faq-a { padding: 0 24px 20px; font-size: 15px; color: var(--text-body); }
.faq-a strong { color: var(--text-dark); }

/* CTA banner */
.cta-banner { text-align: center; }
.cta-banner h2 { color: #fff; font-size: 32px; margin-bottom: 10px; }
.cta-banner p { color: #DCE7FA; margin-bottom: 32px; }
.cta-banner .zip-form { margin: 0 auto; }
.cta-banner .zip-field .pin { color: var(--blue); }

/* Sticky promo bar */
.promo-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 400;
  background: #0B1830;
  color: #fff;
  border-top: 3px solid var(--orange);
}
.has-promo-bar { padding-bottom: 96px; }
.promo-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.promo-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(245,118,0,.15);
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.promo-text { flex: 1; min-width: 220px; }
.promo-eyebrow { color: var(--orange); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 2px; }
.promo-title { font-weight: 700; font-size: 16px; color: #fff; }
.promo-title .accent { color: var(--orange); }
.promo-sub { font-size: 13px; color: #A9B4C8; margin-top: 2px; }
.promo-meta { font-size: 12px; color: #8492AA; white-space: nowrap; }
.promo-close {
  background: none; border: none; color: #8492AA; cursor: pointer;
  font-size: 20px; line-height: 1; padding: 4px 8px;
}
.promo-bar.hidden { display: none; }

@media (max-width: 700px) {
  .has-promo-bar { padding-bottom: 210px; }
  .promo-inner {
    padding: 14px 16px;
    gap: 8px;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    position: relative;
  }
  .promo-icon { display: none; }
  .promo-sub { display: none; }
  .promo-title { font-size: 15px; padding-right: 28px; }
  .promo-eyebrow { font-size: 10px; }
  .promo-bar .btn { width: 100%; padding: 12px 16px; font-size: 15px; }
  .promo-meta { display: block; font-size: 11px; text-align: center; }
  .promo-close {
    position: absolute; top: 12px; right: 12px;
    padding: 4px; font-size: 18px;
  }
}

/* ============ Footer ============ */
.site-footer { background: var(--bg-light); border-top: 1px solid var(--border); }
.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-logo img { width: 120px; height: auto; }
.footer-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 24px; flex-wrap: wrap;
}
.footer-nav a { color: #434653; font-size: 15px; }
.footer-nav a[aria-current="page"] { color: var(--orange); }
.footer-copy { color: #737784; font-size: 14px; }
.footer-disclaimer {
  text-align: center;
  color: #A0A5B3;
  font-size: 12px;
  padding: 0 20px 20px;
  max-width: var(--container);
  margin: 0 auto;
}
.footer-legal {
  text-align: center;
  padding: 0 20px 28px;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-legal a { color: var(--text-muted); text-decoration: underline; }
.footer-legal span.sep { margin: 0 8px; }

@media (max-width: 1024px) and (min-width: 761px) {
  .hero-content h1 { font-size: 38px; }
}
@media (max-width: 760px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .steps-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-row { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 28px; }
  .section-title { font-size: 28px; }
}
@media (max-width: 480px) {
  .steps-grid, .feature-grid { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero-content { padding: 40px 16px 48px; }
}

/* ============ Oil Burner Service page ============ */
.service-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 4px solid;
  border-radius: var(--radius);
  padding: 36px 32px;
}
.service-card-emergency { border-top-color: var(--red); }
.service-card-tuneup { border-top-color: var(--green-bright); }
.service-card-icon {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  display: inline-flex;
}
.service-card h2 {
  display: inline-block;
  font-size: 22px;
  vertical-align: middle;
  margin-left: 10px;
}
.icon-red { color: var(--red); }
.icon-green { color: var(--green); }
.check-list { list-style: none; margin: 18px 0 24px; padding: 0; }
.check-list li { position: relative; padding-left: 28px; margin-bottom: 10px; font-size: 15px; color: var(--text-body); }
.check-list li::before { content: "\2713"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; color: #fff; font-size: 11px; text-align: center; line-height: 18px; }
.check-list-red li::before { background: var(--red); }
.check-list-green li::before { background: var(--green); }

.signs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.signs-card { border-radius: 12px; padding: 28px; }
.signs-card-red { background: var(--red-bg); }
.signs-card-amber { background: var(--amber-bg); }
.signs-eyebrow { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; margin-bottom: 14px; }
.signs-eyebrow-red { color: var(--red-text); }
.signs-eyebrow-amber { color: var(--amber-text-2); }
.signs-alert {
  background: var(--red-bg-soft);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 14px;
  color: var(--red-text);
  margin-bottom: 18px;
}
.warn-list { list-style: none; margin: 0; padding: 0; }
.warn-list li { position: relative; padding-left: 26px; margin-bottom: 10px; font-size: 15px; }
.warn-list li::before { content: "\26A0"; position: absolute; left: 0; top: 0; font-size: 13px; }
.warn-list-red { color: var(--red-text); }
.warn-list-red li::before { color: var(--red); }
.warn-list-amber { color: var(--amber-text); }
.warn-list-amber li::before { color: var(--amber-text-2); }

.example-card {
  max-width: 700px; margin: 0 auto;
  background: #fff; border: 1px solid var(--border); border-top: 4px solid var(--blue); border-radius: var(--radius);
  padding: 36px 32px 32px;
}
.example-card h3 { text-align: center; font-size: 20px; margin-bottom: 20px; }
.example-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--border);
  font-size: 15px; color: var(--text-body);
}
.savings-banner {
  display: flex; align-items: center; gap: 10px;
  background: var(--green-bg); color: var(--green);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-weight: 700;
  font-size: 16px;
  margin-top: 20px;
}
.disclaimer { font-size: 13px; font-style: italic; color: var(--text-mutest); margin-top: 14px; margin-bottom: 0; }

.co-card {
  display: flex; gap: 20px;
  max-width: 820px; margin: 0 auto;
  background: #fff; border: 1px solid var(--border); border-top: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 32px;
}
.co-card h2 { font-size: 24px; }
.co-card-icon { color: var(--red); flex-shrink: 0; }
.co-list { padding-left: 20px; margin-bottom: 18px; }
.co-list li { margin-bottom: 6px; font-size: 15px; }

@media (max-width: 760px) {
  .service-cards, .signs-grid { grid-template-columns: 1fr; }
  .co-card { flex-direction: column; }
}

/* ============ Oil Burner page: uses Inter for headings (not Poppins),
   per the live site's own Elementor typography settings for this page ==== */
.oilburner-page h1,
.oilburner-page h2,
.oilburner-page h3 {
  font-family: var(--font-body);
}
.oilburner-page .page-hero h1 { font-size: 48px; }
.oilburner-page h1 { font-size: 48px; }
@media (max-width: 760px) {
  .oilburner-page h1 { font-size: 30px; }
}
.oilburner-page .section-title { font-size: 32px; }

/* ============ Legal / static content pages ============ */
.page-hero {
  background: var(--bg-light);
  padding: 56px 0 40px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: 36px; margin-bottom: 8px; }
.page-hero .updated { color: var(--text-muted); font-size: 14px; }
.prose { max-width: 800px; margin: 0 auto; padding: 56px 20px; }
.prose h2 { font-size: 22px; margin-top: 36px; }
.prose p, .prose li { color: var(--text-body); font-size: 16px; }
.prose ul { padding-left: 20px; }

/* 404 */
.error-page {
  text-align: center;
  padding: 100px 20px;
}
.error-page .code {
  font-family: var(--font-heading);
  font-size: 96px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 0;
}
.error-page h1 { margin-top: 0; }
.error-page p { max-width: 480px; margin: 0 auto 28px; color: var(--text-muted); }

/* Honeypot (shared across any future forms) */
.hp-field { position: absolute; left: -9999px; top: -9999px; }

/* Cookie consent banner */
.cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 9998;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  padding: 16px 20px;
  max-width: 640px;
  margin: 0 auto;
  display: none;
}
.cookie-banner.visible { display: block; }
.cookie-inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cookie-inner p { margin: 0; font-size: 13px; color: var(--text-body); flex: 1; min-width: 220px; }
.cookie-inner a { text-decoration: underline; }
.btn-sm { padding: 10px 20px; font-size: 14px; flex-shrink: 0; }
@media (max-width: 500px) {
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: 14px; }
  .cookie-inner { flex-direction: column; align-items: stretch; }
  .btn-sm { width: 100%; }
}
.has-promo-bar .cookie-banner { bottom: 112px; }
@media (max-width: 700px) {
  .has-promo-bar .cookie-banner { bottom: 220px; }
}
