:root {
  --ink: #15171a;
  --ink-2: #4a5059;
  --bg: #ffffff;
  --bg-2: #f4f5f7;
  --dark: #121417;
  --dark-2: #1c1f24;
  --red: #c8241c;
  --red-dark: #a51d16;
  --line: #e2e5ea;
  --radius: 14px;
  --wrap: 1100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: var(--dark); color: #fff;
  border-bottom: 1px solid #000;
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 12px; }
.brand { font-weight: 800; letter-spacing: .02em; text-decoration: none; font-size: 18px; }
.brand span { color: var(--red); }
.top-call {
  background: var(--red); color: #fff; text-decoration: none; font-weight: 700;
  padding: 9px 14px; border-radius: 999px; font-size: 15px; white-space: nowrap;
}

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 14px 22px; border-radius: 999px; font-size: 17px; text-align: center;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-ghost { border: 2px solid currentColor; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Hero */
.hero { background: var(--dark); color: #fff; padding: 48px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.eyebrow { color: #ff8a80; font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 10px; }
.hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.08; margin: 0 0 18px; }
.hero h1 em { font-style: normal; color: #ff6b5f; }
.hero p.lead { font-size: 19px; color: #d6d9de; margin: 0; max-width: 34em; }
.hero-photo { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.45); }
.hero-photo img { width: 100%; height: auto; }
.hero-photo figcaption { background: var(--dark-2); color: #c3c7cd; font-size: 14px; padding: 10px 14px; }

/* Badges */
.badges { background: var(--dark-2); color: #fff; padding: 18px 0; }
.badges ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.badges li { font-weight: 700; font-size: 15px; text-align: center; padding: 6px; }
.badges li small { display: block; font-weight: 400; color: #aeb3ba; font-size: 13px; }

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--bg-2); }
h2 { font-size: clamp(28px, 3.6vw, 38px); line-height: 1.15; margin: 0 0 12px; }
.sub { color: var(--ink-2); margin: 0 0 32px; max-width: 40em; }

/* Services */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; display: flex; flex-direction: column;
}
.card h3 { margin: 0 0 8px; font-size: 20px; }
.card p { margin: 0 0 16px; color: var(--ink-2); flex: 1; }
.card a { color: var(--red); font-weight: 700; text-decoration: none; }
.card .tag { align-self: flex-start; background: #fde8e6; color: var(--red-dark); font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .05em; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps li::before {
  counter-increment: s; content: counter(s);
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--red); color: #fff; font-weight: 800; margin-bottom: 10px;
}
.steps h3 { margin: 0 0 6px; font-size: 19px; }
.steps p { margin: 0; color: var(--ink-2); }

/* Area */
.cities { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 18px; }
.cities li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-weight: 600; }
.note { color: var(--ink-2); }

/* Symptom picker */
.picker { display: flex; flex-wrap: wrap; gap: 10px; }
.picker a {
  text-decoration: none; border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 10px 16px; font-weight: 600;
}
.picker a:hover { border-color: var(--red); color: var(--red); }

/* Battery */
.battery { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; max-width: 640px; }
.battery label { font-weight: 600; }
.battery input { width: 100%; accent-color: var(--red); }
.volt { font-size: 40px; font-weight: 800; margin: 6px 0 0; }
.volt-msg { font-weight: 700; margin: 0 0 14px; }
.battery .scale { display: flex; justify-content: space-between; color: var(--ink-2); font-size: 13px; }

/* Referral + CTA */
.dark { background: var(--dark); color: #fff; }
.dark .sub { color: #c3c7cd; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }

/* Article (service pages) */
.article { max-width: 720px; }
.article h1 { font-size: clamp(32px, 4.6vw, 46px); line-height: 1.1; margin: 0 0 18px; }
.article h2 { font-size: 26px; margin-top: 36px; }
.article p { margin: 0 0 16px; }
.crumb { font-size: 14px; color: #aeb3ba; margin: 0 0 14px; }
.crumb a { color: #fff; }

/* Footer */
footer { background: #0b0c0e; color: #aeb3ba; padding: 36px 0; font-size: 15px; }
footer .wrap { padding-top: 0; }
footer a { color: #fff; }

/* Nav, skip link */
.skip { position: absolute; left: -999px; top: 0; background: #fff; color: #000; padding: 8px 12px; z-index: 20; }
.skip:focus { left: 8px; }
.nav { display: flex; gap: 22px; margin-left: auto; margin-right: 18px; }
.nav a { color: #d6d9de; text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: #fff; }
.card h3 a { color: inherit; text-decoration: none; }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 4px; }
.card-head .tag { display: inline-block; }
.card-thumb { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* Lists, FAQ, chips */
.list { padding-left: 20px; margin: 0 0 16px; }
.list li { margin-bottom: 6px; }
.faq details { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin-bottom: 10px; background: #fff; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin: 10px 0 0; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { text-decoration: none; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 15px; font-weight: 600; color: var(--ink); }
.chip:hover { border-color: var(--red); color: var(--red); }
.related-h { font-weight: 700; margin: 28px 0 10px; }
.article a { color: var(--red-dark); }
.article a.btn-red, .hero .article a.btn-ghost, .dark a.btn-ghost { color: #fff; text-decoration: none; }

/* Footer columns */
.foot { display: grid !important; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 6px; }
.foot-brand { color: #fff; font-weight: 800; margin: 0 0 8px; }
.foot-h { color: #fff; font-weight: 700; margin: 0 0 8px; }
.foot p { margin: 0 0 10px; }
.legal { border-top: 1px solid #23262b; margin-top: 18px; padding-top: 18px !important; font-size: 13px; }

/* Job photo gallery */
.gallery-h { margin: 40px 0 14px; font-size: 20px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 0 24px; }
.gallery figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.gallery figcaption { padding: 10px 12px; font-size: 14px; color: var(--ink-2); }
.gallery figcaption a { color: var(--red-dark); font-weight: 700; text-decoration: none; white-space: nowrap; }
.article .gallery { grid-template-columns: 1fr; max-width: 520px; gap: 10px; }
.article .gallery figure { display: flex; align-items: center; }
.article .gallery picture { flex: 0 0 88px; }
.article .gallery img { aspect-ratio: 1 / 1; }
.article .gallery figcaption { padding: 8px 14px; font-size: 14px; }
.gallery.thumbs { grid-template-columns: repeat(6, 1fr); gap: 10px; }
.gallery.thumbs img { aspect-ratio: 1 / 1; }
.gallery.thumbs figcaption { display: none; }

.hero-svc .wrap { grid-template-columns: .8fr 1.2fr; }
.hero-svc .hero-photo { max-width: 400px; }
.hero-svc .hero-photo img { aspect-ratio: 4 / 3; object-fit: cover; }
.hero-svc .crumb { margin-bottom: 18px; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius); padding: 18px 20px; }
.review p { margin: 0 0 10px; }
.review .who { color: var(--ink-2); font-size: 14px; margin: 4px 0 0; }
.article .reviews { grid-template-columns: 1fr; }

@media (max-width: 860px) {
  .reviews { grid-template-columns: 1fr; }
  .hero-svc .hero-photo { order: 2; max-width: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery.thumbs { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .article .gallery { grid-template-columns: 1fr; }
  .article .gallery picture { flex-basis: 80px; }
  .nav { display: none; }
  .foot, .grid-2 { grid-template-columns: 1fr; }
  .hero .wrap, .two { grid-template-columns: 1fr; }
  .grid, .steps { grid-template-columns: 1fr; }
  .badges ul { grid-template-columns: repeat(2, 1fr); }
  section { padding: 48px 0; }
  .brand { font-size: 15px; }
  .top-call { font-size: 14px; padding: 8px 12px; }
}
.hero .article .crumb a { color: #fff; }
