/* A.V Electrician Of Toronto: MGM electrician template styles.
   Navy for trust, electric yellow for the call to action. Phone first. */
:root {
  --navy: #0d1b2e;
  --navy-2: #16294a;
  --ink: #111a2b;
  --slate: #4a5870;
  --line: #e1e6ef;
  --page: #f5f7fb;
  --yellow: #ffc21a;
  --yellow-dark: #e6aa00;
  --blue: #1f5fd6;
  --green: #12804a;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(13, 27, 46, .06), 0 6px 18px rgba(13, 27, 46, .07);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(2rem, 6vw, 3.1rem); font-weight: 850; }
h2 { font-size: clamp(1.5rem, 4vw, 2.05rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 750; margin-top: 1.4em; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 100; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 20px; border-radius: 999px; font-weight: 750; font-size: 16px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, transform .1s; line-height: 1.2; text-align: center; }
.btn:active { transform: scale(.98); }
.btn-call { background: var(--yellow); color: var(--navy); }
.btn-call:hover { background: var(--yellow-dark); }
.btn-light { background: #fff; color: var(--navy); border-color: rgba(255,255,255,.6); }
.btn-light:hover { background: #eef2f8; }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-big { min-height: 56px; padding: 14px 26px; font-size: 17px; }
.btn-small { min-height: 40px; padding: 8px 16px; font-size: 14px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* header */
.site-head { position: sticky; top: 0; z-index: 20; background: var(--navy); color: #fff; border-bottom: 1px solid rgba(255,255,255,.08); }
.head-in { display: flex; align-items: center; gap: 16px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; min-width: 0; margin-right: auto; }
.brand img { width: 44px; height: 44px; border-radius: 50%; background: #fff; flex: none; object-fit: contain; }
.brand strong { display: block; font-size: 16px; line-height: 1.2; }
.brand small { display: block; font-size: 12px; color: #b9c6db; }
.head-nav { display: none; gap: 22px; }
.head-nav a { color: #dbe4f3; text-decoration: none; font-weight: 600; font-size: 15px; }
.head-nav a:hover { color: #fff; }
.head-call { min-height: 42px; padding: 8px 14px; font-size: 15px; flex: none; }
.head-call span { display: none; }

/* hero */
.hero { background: radial-gradient(900px 400px at 85% -10%, rgba(31,95,214,.35), transparent 60%), var(--navy); color: #fff; padding: 36px 0 40px; }
.hero h1 { color: #fff; }
.hero .lead { font-size: 1.12rem; color: #d7e0ef; max-width: 62ch; }
.kicker { text-transform: uppercase; letter-spacing: .08em; font-size: 13px; font-weight: 800; color: var(--yellow); margin-bottom: .6em; }
.kicker.dark { color: var(--blue); }
.from { font-size: 1.05rem; color: #d7e0ef; }
.from b { color: var(--yellow); font-size: 1.35rem; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 22px; }
.hero-btns .btn { flex: 1 1 220px; }
.crumbs { font-size: 14px; color: #a9b7cd; margin-bottom: 14px; }
.crumbs a { color: #d7e0ef; }
.hero-grid { display: grid; gap: 24px; }
.hero-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 22px; box-shadow: 0 14px 40px rgba(0,0,0,.25); align-self: start; }
.hc-title { font-size: 1.25rem; font-weight: 800; color: var(--navy); margin-bottom: .4em; }
.hero-card .btn { width: 100%; }
.hc-small { font-size: 14px; color: var(--slate); margin: 12px 0 0; }

/* badges */
.badges { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.badges li { font-size: 14px; padding: 10px 12px; border-radius: 10px; background: var(--page); border: 1px solid var(--line); line-height: 1.35; }
.badges b { display: block; font-size: 15px; color: var(--navy); }
.badges-dark li { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); color: #d7e0ef; }
.badges-dark b { color: #fff; }

/* sections */
.section { padding: 52px 0; }
.section.alt { background: var(--page); }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 18px; }
.sec-head h2 { margin: 0; }
.sub { color: var(--slate); max-width: 70ch; }
.two { display: grid; gap: 28px; align-items: start; }
.answer { font-size: 1.12rem; background: var(--page); border-left: 4px solid var(--yellow); padding: 16px 18px; border-radius: 0 var(--radius) var(--radius) 0; }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 12px; height: 7px; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }

/* cards */
.cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.card { display: grid; gap: 6px; align-content: start; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
a.card:hover { border-color: var(--navy); transform: translateY(-2px); }
.card b { color: var(--navy); font-size: 1.05rem; }
.card span { color: var(--slate); font-size: 15px; line-height: 1.45; }
.card em { font-style: normal; font-weight: 700; color: var(--blue); font-size: 14px; }
.card-soon { box-shadow: none; background: var(--page); }
.card-soon em, .card-soon span { color: #7a879b; }
.area-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

/* photos */
.photo-slot { min-height: 240px; border: 2px dashed #c7d0de; border-radius: var(--radius); background: var(--page); display: grid; place-items: center; text-align: center; padding: 24px; color: var(--slate); }

/* prices */
.prices table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.prices th, .prices td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prices thead th { background: var(--navy); color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; }
.prices tbody th { font-weight: 650; color: var(--navy); }
.prices td { white-space: nowrap; text-align: right; }
.prices td b { font-size: 1.15rem; color: var(--navy); }
.prices small { display: block; font-weight: 400; font-size: 13px; color: var(--slate); white-space: normal; }
.prices small.esa { color: var(--green); font-weight: 600; }
.factors { margin-top: 18px; }
.factors ul { margin: 0; padding-left: 20px; color: var(--slate); }
.draft-note { background: #fff6dc; border: 1px solid #f2dc9a; color: #6b4e00; border-radius: 10px; padding: 8px 12px; font-size: 14px; font-weight: 600; }
.price-cards { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.price-cards div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; gap: 2px; box-shadow: var(--shadow); }
.price-cards span { font-weight: 650; color: var(--navy); }
.price-cards b { font-size: 1.7rem; color: var(--navy); }
.price-cards small { color: var(--slate); font-size: 13px; }

/* steps */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.steps li { counter-increment: s; background: var(--page); border-radius: var(--radius); padding: 18px; display: grid; gap: 4px; }
.steps li::before { content: counter(s); width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: var(--yellow); font-weight: 800; display: grid; place-items: center; margin-bottom: 6px; }
.steps b { color: var(--navy); }
.steps span { color: var(--slate); font-size: 15px; }

/* reviews */
.reviews { background: var(--navy); color: #fff; }
.reviews h2 { color: #fff; }
.rating { margin: 0; color: #d7e0ef; }
.stars { color: var(--yellow); letter-spacing: 2px; }
.rev-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.rev { margin: 0; background: #fff; color: var(--ink); border-radius: var(--radius); padding: 18px; display: grid; gap: 8px; align-content: start; }
.rev blockquote { margin: 0; font-size: 15.5px; line-height: 1.55; }
.rev figcaption { font-size: 14px; color: var(--slate); font-weight: 600; }
.rev-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; }
.quote-card { margin: 0; background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); border-top: 4px solid var(--yellow); }
.quote-card blockquote { margin: 0 0 10px; font-size: 1.05rem; }
.quote-card figcaption { color: var(--slate); font-weight: 600; font-size: 14px; }

/* why */
.why { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.why div { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 4px; }
.why b { color: var(--navy); font-size: 1.05rem; }
.why span { color: var(--slate); font-size: 15px; }

/* areas */
.chips { list-style: none; padding: 0; margin: 0 0 1em; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; }
.regions { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin-bottom: 22px; }
.regions b { color: var(--navy); }
.regions ul { margin: 6px 0 0; padding-left: 18px; color: var(--slate); }
.map { width: 100%; height: 320px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.map.tall { height: 420px; }

/* faq */
.faqs { display: grid; gap: 10px; }
.faqs details { border: 1px solid var(--line); border-radius: var(--radius); padding: 0 18px; background: #fff; }
.faqs summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 16px 28px 16px 0; list-style: none; position: relative; }
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 24px; color: var(--blue); }
.faqs details[open] summary::after { content: "−"; }
.faqs details p { color: var(--slate); margin: 0 0 16px; }

/* cta */
.cta { background: var(--navy-2); color: #fff; padding: 44px 0; }
.cta h2 { color: #fff; }
.cta p { color: #d7e0ef; }
.cta-in { display: grid; gap: 18px; align-items: center; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-btns .btn { flex: 1 1 240px; }

/* contact */
.contact-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.contact-list li { display: grid; grid-template-columns: 90px 1fr; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.contact-list span { font-weight: 700; color: var(--navy); }
.form-slot { border: 2px dashed #c7d0de; border-radius: var(--radius); padding: 20px; background: var(--page); color: var(--slate); }
.prose h1 { color: var(--navy); }

/* footer */
.site-foot { background: #0a1424; color: #b9c6db; padding: 40px 0 96px; font-size: 15px; }
.site-foot a { color: #fff; }
.foot-grid { display: grid; gap: 28px; }
.foot-name { font-weight: 800; color: #fff; font-size: 1.1rem; }
.foot-head { font-weight: 800; color: #fff; margin-bottom: .5em; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.foot-links .btn { color: var(--navy); }
.foot-map { width: 100%; height: 200px; border: 0; border-radius: 10px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 28px; padding-top: 18px; font-size: 13px; }

/* sticky call bar on phones */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(13,27,46,.97); box-shadow: 0 -6px 20px rgba(0,0,0,.2); }
.callbar .btn { min-height: 50px; padding: 10px 12px; font-size: 15px; }

@media (min-width: 640px) {
  .head-call span { display: inline; }
  .badges { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 900px) {
  .head-nav { display: flex; }
  .hero { padding: 56px 0 60px; }
  .hero-grid { grid-template-columns: 1.6fr 1fr; align-items: center; gap: 40px; }
  .two { grid-template-columns: 1.2fr 1fr; gap: 40px; }
  .cta-in { grid-template-columns: 1.3fr 1fr; }
  .foot-grid { grid-template-columns: 1.3fr 1fr 1.2fr; }
  .callbar { display: none; }
  .site-foot { padding-bottom: 40px; }
  .section { padding: 72px 0; }
}
@media (max-width: 520px) {
  .prices thead { display: none; }
  .prices tr { display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid var(--line); }
  .prices th, .prices td { border: 0; }
  .prices td { padding-left: 8px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* one-page site */
.accent { color: var(--yellow); }
.label { margin: 0 0 9px; color: var(--blue); font-size: 13px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.center-head { text-align: center; max-width: 720px; margin: 0 auto 30px; }
.center-head h2 { font-size: clamp(30px, 7vw, 46px); line-height: 1.08; letter-spacing: -.035em; font-weight: 900; margin: 0; }
.center-head .sub { margin: 12px auto 0; }
.trust { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.trust li { font-size: 14px; font-weight: 700; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 6px 12px 6px 28px; position: relative; }
.trust li::before { content: ""; position: absolute; left: 11px; top: 50%; width: 9px; height: 5px; margin-top: -4px; border-left: 2px solid var(--yellow); border-bottom: 2px solid var(--yellow); transform: rotate(-45deg); }
.card .ico { width: 46px; height: 46px; border-radius: 12px; background: #fff7dd; color: #b07800; display: grid; place-items: center; margin-bottom: 6px; }
.card { padding: 20px; border-radius: 18px; }

/* reviews, same pattern as jmckaysautodetailing.com */
.rv-section { padding: 66px 0; background: #f7f9fc; color: #081126; overflow: hidden; }
.rv-summary { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 9px; margin: 14px 0 0; color: #4f5e78; font-size: 14px; font-weight: 650; }
.rv-summary-stars { color: #ffb800; letter-spacing: 2px; font-size: 18px; }
.rv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.rv-card { background: #fff; border: 1px solid #e3e9f2; border-radius: 20px; padding: 23px; box-shadow: 0 12px 32px rgba(8,17,38,.07); min-height: 245px; display: flex; flex-direction: column; }
.rv-top { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; }
.rv-avatar { width: 50px; height: 50px; flex: 0 0 50px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 20px; border: 2px solid #fff; box-shadow: 0 0 0 1px #dbe3ef; }
.rv-person { min-width: 0; }
.rv-person strong { display: block; font-size: 16px; line-height: 1.2; color: #081126; }
.rv-person span { display: block; color: #6b7890; font-size: 12px; margin-top: 4px; }
.rv-stars { margin-left: auto; color: #ffb800; font-size: 13px; white-space: nowrap; }
.rv-card blockquote { margin: 0; color: #40506d; font-size: 14px; line-height: 1.65; flex: 1; }
.rv-foot { display: flex; align-items: center; gap: 7px; margin-top: 17px; color: #62708a; font-size: 12px; font-weight: 700; }
.g-icon { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; background: #fff; border: 1px solid #dce4ef; color: #4285f4; font-family: Arial, sans-serif; font-size: 13px; font-weight: 900; }
.rv-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 27px; }
.rv-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 13px 22px; border-radius: 999px; font-size: 15px; font-weight: 800; text-decoration: none; transition: transform .18s, box-shadow .18s; }
.rv-btn:hover { transform: translateY(-2px); }
.rv-btn-primary { background: var(--navy); color: #fff; box-shadow: 0 10px 24px rgba(13,27,46,.22); }
.rv-btn-secondary { background: var(--yellow); color: var(--navy); }
.rv-swipe { display: none; margin: 12px 0 0; text-align: center; color: #738099; font-size: 12px; font-weight: 650; }
@media (max-width: 800px) {
  .rv-section { padding: 52px 0; }
  .rv-section .wrap { width: 100%; }
  .rv-section .center-head { padding: 0 18px; margin-bottom: 24px; }
  .rv-grid { grid-auto-flow: column; grid-auto-columns: 84vw; grid-template-columns: none; gap: 14px; overflow-x: auto; padding: 4px 18px 14px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .rv-grid::-webkit-scrollbar { display: none; }
  .rv-card { min-height: 235px; scroll-snap-align: center; padding: 21px; }
  .rv-swipe { display: block; }
  .rv-actions { display: grid; grid-template-columns: 1fr; padding: 0 18px; margin-top: 20px; }
}
@media (max-width: 430px) { .rv-top { align-items: flex-start; } .rv-stars { font-size: 11px; } }
.site-foot { padding-bottom: 96px; }
@media (min-width: 900px) { .site-foot { padding-bottom: 40px; } }
/* service cards: icon beside the text so the phone list stays short */
.card:has(.ico) { grid-template-columns: 46px 1fr; column-gap: 14px; align-items: start; }
.card:has(.ico) .ico { grid-row: span 2; margin: 0; }
