/* Everett HVAC Service — single stylesheet, no frameworks, no JS required */
:root {
  --navy: #14314f;
  --navy-dark: #0d2238;
  --blue: #1f6fb2;
  --orange: #e8762d;
  --orange-dark: #cf6220;
  --ink: #22303c;
  --muted: #5a6a78;
  --line: #dde5ec;
  --bg-soft: #f2f6f9;
  --white: #ffffff;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: var(--white);
}

img { max-width: 100%; height: auto; }

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 20px; }

a { color: var(--blue); }

h1, h2, h3 { color: var(--navy); line-height: 1.25; }
h1 { font-size: 2rem; margin-bottom: .6em; }
h2 { font-size: 1.5rem; margin-bottom: .6em; }
h3 { font-size: 1.15rem; margin-bottom: .4em; }
p { margin-bottom: 1em; }
ul, ol { margin: 0 0 1em 1.3em; }
li { margin-bottom: .35em; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}
.btn-call { background: var(--orange); color: var(--white); }
.btn-call:hover { background: var(--orange-dark); }
.btn-outline {
  border: 2px solid var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}
.logo span { color: var(--orange); }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
}
.site-nav a:hover { color: var(--blue); }
.site-nav a.nav-emergency { color: var(--orange); font-weight: 800; }
.site-nav a.nav-emergency:hover { color: var(--orange-dark); }
.header-phone { white-space: nowrap; }

/* Emergency alert strip (site-wide, under header) */
.alert-band {
  background: #9a2b2b;
  color: #fff;
  text-align: center;
  padding: 11px 0;
  font-size: .96rem;
  font-weight: 600;
}
.alert-band a { color: #fff; text-decoration: underline; font-weight: 800; white-space: nowrap; }

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 56px 0 48px;
}
.hero h1 { color: var(--white); font-size: 2.2rem; max-width: 22ch; }
.hero p { max-width: 60ch; font-size: 1.08rem; color: #d7e3ee; }
.hero .btn { margin: 6px 12px 6px 0; font-size: 1.05rem; }
.hero .btn-outline { border-color: var(--white); color: var(--white); }
.hero .btn-outline:hover { background: var(--white); color: var(--navy); }
.hero-points {
  list-style: none;
  margin: 18px 0 22px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.hero-points li { color: #d7e3ee; font-weight: 600; }
.hero-points li::before { content: "✓ "; color: var(--orange); }

/* Hero two-column with illustration */
.hero .wrap {
  display: flex;
  align-items: center;
  gap: 36px;
}
.hero-text { flex: 1 1 55%; min-width: 0; }
.hero-art { flex: 1 1 45%; }
.hero-art svg { width: 100%; height: auto; display: block; }
@media (max-width: 860px) {
  .hero .wrap { flex-direction: column; align-items: flex-start; }
  .hero-art { width: 100%; max-width: 420px; margin: 4px auto 0; }
}

/* Sections */
.section { padding: 48px 0; }
.section-alt { background: var(--bg-soft); }
.section-intro { max-width: 68ch; }

/* Card grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 8px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}
.card h3 a { color: var(--navy); text-decoration: none; }
.card h3 a:hover { color: var(--blue); }
.card p { margin-bottom: .5em; font-size: .97rem; }

/* Cards with an illustration banner */
.card.has-img { padding: 0; overflow: hidden; }
.card-img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 148px;
  background: linear-gradient(135deg, #1f6fb2 0%, #14314f 100%);
  border-bottom: 3px solid var(--orange);
}
.card-img svg { width: 96px; height: 96px; display: block; }
.card-body { padding: 20px 22px 22px; }

/* Feature image (two-column content + illustration) */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}
.feature-art { background: var(--bg-soft); border-radius: 10px; padding: 20px; }
.feature-art svg { width: 100%; height: auto; display: block; }
@media (max-width: 780px) { .feature { grid-template-columns: 1fr; } }
.card .more { font-weight: 700; font-size: .95rem; }

/* Steps */
.steps { counter-reset: step; list-style: none; margin-left: 0; }
.steps li {
  counter-increment: step;
  padding-left: 52px;
  position: relative;
  margin-bottom: 18px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps strong { color: var(--navy); }

/* FAQ accordion */
.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  margin-bottom: 10px;
  padding: 0 18px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  padding: 14px 0;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--orange); font-size: 1.2rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p, .faq details ul { padding-bottom: 14px; margin-bottom: 0; }
.faq details ul { margin-bottom: 0; padding-bottom: 14px; }

/* Area list */
.area-list {
  columns: 3;
  list-style: none;
  margin-left: 0;
  gap: 20px;
}
.area-list li { margin-bottom: .5em; font-weight: 600; color: var(--navy); }
@media (max-width: 700px) { .area-list { columns: 2; } }

/* CTA band */
.cta-band {
  background: var(--orange);
  color: var(--white);
  text-align: center;
  padding: 40px 0;
}
.cta-band h2 { color: var(--white); }
.cta-band p { max-width: 60ch; margin: 0 auto 18px; }
.cta-band .btn { background: var(--white); color: var(--orange-dark); font-size: 1.1rem; }

/* Tables */
table { border-collapse: collapse; width: 100%; margin-bottom: 1.2em; }
th, td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
th { background: var(--bg-soft); color: var(--navy); }

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: #b9c8d6;
  padding: 40px 0 90px;
  font-size: .95rem;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}
.site-footer h3 { color: var(--white); font-size: 1.05rem; }
.site-footer a { color: #d7e3ee; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; margin-left: 0; }
.footer-bottom {
  border-top: 1px solid #26415c;
  margin-top: 28px;
  padding-top: 18px;
  text-align: center;
  font-size: .85rem;
}

/* Floating mobile call bar */
.mobile-call {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: var(--orange);
  color: var(--white);
  text-align: center;
  padding: 14px;
  font-size: 1.1rem;
  font-weight: 800;
  text-decoration: none;
}
@media (max-width: 820px) {
  .mobile-call { display: block; }
  .hero h1 { font-size: 1.7rem; }
  .header-inner { justify-content: center; text-align: center; }
}
