/* ChattanoogaTNelectrician.com: base styles (tokens, reset, typography, layout primitives).
   components.css holds UI components; responsive.css holds breakpoints, reduced motion and print. */

@font-face {
  font-family: "Fraunces";
  src: url("https://www.chattanoogatnelectrician.com/assets/fonts/fraunces-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --teal-950: #062624;
  --teal-900: #0a3533;
  --teal-800: #0d4743;
  --teal-700: #13605a;
  --teal-600: #1b7a72;
  --teal-100: #e1eeec;
  --teal-50: #f0f7f6;
  --charcoal: #1e2325;
  --ink: #2a3033;
  --muted: #566064;
  --line: #e3dfd6;
  --line-strong: #cfc9bc;
  --cream: #f7f5f0;
  --sand: #efe9dd;
  --white: #ffffff;
  --amber: #f2a01e;
  --amber-600: #e08c0b;
  --amber-100: #fdf0d8;
  --red: #b3261e;
  --red-100: #fbe9e7;
  --green: #1d6b3a;

  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius-s: 6px;
  --radius: 12px;
  --radius-l: 20px;
  --shadow-s: 0 1px 2px rgba(10, 30, 30, .06), 0 2px 8px rgba(10, 30, 30, .05);
  --shadow: 0 6px 24px rgba(10, 35, 33, .10);
  --shadow-l: 0 18px 50px rgba(6, 30, 28, .18);
  --gutter: 16px;
  --maxw: 1240px;
  --section: 64px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  overflow-wrap: break-word;
  padding-bottom: calc(64px + env(safe-area-inset-bottom));
}
img, video, svg { max-width: 100%; }
img, video { height: auto; display: block; }
svg { flex-shrink: 0; }
a { color: var(--teal-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-900); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 3px; }
main:focus { outline: none; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
strong { color: var(--charcoal); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.35rem); }
h3 { font-size: 1.22rem; line-height: 1.3; }
h3 a { color: inherit; text-decoration: none; }
h3 a:hover { color: var(--teal-700); text-decoration: underline; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--charcoal); color: var(--white);
  padding: 10px 16px; border-radius: var(--radius-s); font-weight: 700;
}
.skip-link:focus { top: 12px; color: var(--white); }

/* Layout */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 820px; }
.center { text-align: center; }
.section { padding: var(--section) 0; }
.section:not([class*="band--"]) + .section:not([class*="band--"]) { padding-top: 0; }
.mt-2 { margin-top: 2rem; }
.muted { color: var(--muted); }

.band--cream { background: var(--cream); }
.band--teal { background: var(--teal-800); color: #e7f1ef; }
.band--dark { background: var(--teal-950); color: #dbe9e7; }
.band--emergency { background: linear-gradient(135deg, #2a1310 0%, #3d1813 60%, #4a1d14 100%); color: #f7e7e3; }
.band--teal h2, .band--teal h3, .band--dark h2, .band--dark h3, .band--emergency h2, .band--emergency h3 { color: var(--white); }
.band--teal a:not(.btn), .band--dark a:not(.btn) { color: #ffd38a; }
.band--teal a:not(.btn):hover, .band--dark a:not(.btn):hover { color: var(--white); }

.section__head { max-width: 720px; margin-bottom: 2rem; }
.section__head--wide { max-width: 860px; }
.section__head p:last-child { margin-bottom: 0; }
.group-head { display: grid; gap: .5rem 2.5rem; margin-bottom: 1.75rem; align-items: end; }
.group-head h2 { margin-bottom: 0; }
.group-head > p { margin: 0; color: var(--muted); max-width: 560px; }

.eyebrow {
  font-family: var(--font-sans); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-700); margin: 0 0 .75rem; display: inline-flex; align-items: center; gap: .6rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--amber); display: inline-block; }
.eyebrow--light { color: #ffd38a; }
.lead { font-size: clamp(1.08rem, 2.2vw, 1.25rem); line-height: 1.6; color: var(--ink); max-width: 640px; }

.split { display: grid; gap: 2rem; align-items: center; }
.split > *, .hero-split > *, .hero-dark > *, .content-layout > *, .faq-layout > *, .cta-final__inner > * { min-width: 0; }
.split__media img, .split > div > .photo { border-radius: var(--radius-l); box-shadow: var(--shadow); width: 100%; }

.content-layout { display: grid; gap: 2.5rem; }
.prose { min-width: 0; max-width: 760px; }
.prose > section { margin-bottom: 2.5rem; }
.prose h2 { font-size: clamp(1.5rem, 3.4vw, 1.95rem); }
.prose h3 { font-size: 1.12rem; }
.sidebar { display: grid; gap: 1.25rem; align-content: start; }

.tiles { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }

/* ChattanoogaTNelectrician.com: components */

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .7rem 1.35rem; border-radius: 999px; border: 0;
  font: 700 1rem/1.2 var(--font-sans); text-decoration: none; cursor: pointer; white-space: nowrap; max-width: 100%;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn svg { width: 20px; height: 20px; }
.btn-call { background: var(--amber); color: var(--charcoal); box-shadow: 0 4px 14px rgba(242, 160, 30, .35); text-transform: uppercase; letter-spacing: .04em; }
.btn-call:hover { background: var(--amber-600); color: var(--charcoal); transform: translateY(-1px); text-decoration: none; }
.btn-call--lg { min-height: 56px; padding: .85rem 1.7rem; font-size: 1.06rem; }
.btn__num { font-weight: 800; letter-spacing: .02em; text-transform: none; border-left: 1px solid rgba(30, 35, 37, .3); padding-left: .65rem; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: 1.5rem; }
.cta-row--center { justify-content: center; }
.cta-note { color: var(--muted); font-size: .95rem; }
.cta-note a { font-weight: 700; color: var(--charcoal); }
.qualifier { font-size: .9rem; color: var(--muted); margin: .9rem 0 0; }

/* Utility bar + header ----------------------------------------------------- */
.utility { background: var(--teal-950); color: #cfe1de; font-size: .86rem; }
.utility__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 38px; }
.utility p { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.utility__call { color: #ffd38a; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; }
.utility__call svg { width: 16px; height: 16px; }
.utility__call:hover { color: var(--white); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(10, 35, 33, .08); }
.header-inner { display: flex; align-items: center; gap: .75rem; min-height: var(--header-h); }
.brand { display: block; margin-right: auto; padding: 6px 0; }
.brand img { width: 170px; height: auto; }
.header-call { display: none; }
.header-call-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--amber); color: var(--charcoal);
}
.header-call-icon svg { width: 22px; height: 22px; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--teal-800); color: var(--white); border: 0; cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Mobile drawer (desktop overrides in responsive.css) */
.primary-nav {
  display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white);
  border-top: 1px solid var(--line); box-shadow: var(--shadow-l);
  max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  padding: .5rem var(--gutter) calc(1.5rem + env(safe-area-inset-bottom));
}
.no-js .primary-nav { display: block; position: static; box-shadow: none; max-height: none; }
.primary-nav.is-open { display: block; }
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-item { border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; justify-content: space-between; }
.nav-link { display: block; flex: 1; padding: .9rem 0; font-weight: 700; color: var(--charcoal); text-decoration: none; font-size: 1.05rem; }
.nav-link:hover { color: var(--teal-700); }
.sub-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0;
  background: var(--teal-50); color: var(--teal-800); border-radius: 50%; cursor: pointer;
}
.sub-toggle svg { width: 18px; height: 18px; transition: transform .2s ease; }
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.drop { display: none; padding: 0 0 1rem; }
.no-js .drop { display: block; }
.nav-item.is-open > .drop { display: block; }
.drop__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.drop__list a { display: block; padding: .55rem .75rem; color: var(--ink); text-decoration: none; border-radius: var(--radius-s); }
.drop__list a:hover { background: var(--teal-50); color: var(--teal-800); }
.drop__foot { margin: .5rem 0 0; padding: .5rem .75rem 0; border-top: 1px solid var(--line); }
.drop__foot a { font-weight: 700; text-decoration: none; }
.nav-cta { padding: 1.25rem 0 .5rem; }
.nav-cta .btn { width: 100%; }

/* Breadcrumbs ------------------------------------------------------------- */
.breadcrumbs ol { list-style: none; padding: 0; margin: 0 0 1.25rem; display: flex; flex-wrap: wrap; gap: .25rem; font-size: .88rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: .3rem; color: var(--line-strong); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs [aria-current] { color: var(--charcoal); font-weight: 600; }
.hero--dark .breadcrumbs, .hero--landscape .breadcrumbs { color: #c9dcd9; }
.hero--dark .breadcrumbs a, .hero--landscape .breadcrumbs a { color: #c9dcd9; }
.hero--dark .breadcrumbs [aria-current], .hero--landscape .breadcrumbs [aria-current] { color: var(--white); }
.hero--dark .breadcrumbs li + li::before, .hero--landscape .breadcrumbs li + li::before { color: #6d8f8b; }

/* Heroes ------------------------------------------------------------------ */
.hero { position: relative; }
/* Home: full-bleed photograph with teal scrim */
.hero--home { color: var(--white); overflow: hidden; background: var(--teal-900); isolation: isolate; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero--home::after, .hero--landscape::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(6, 38, 36, .94) 0%, rgba(8, 48, 45, .84) 45%, rgba(10, 53, 51, .45) 100%);
}
.hero-home { padding: 72px var(--gutter) 64px; }
.hero--home h1 { color: var(--white); max-width: 760px; }
.hero--home .lead { color: #e4efed; }
.hero--home .cta-note, .hero--home .cta-note a { color: #ffd38a; }
.trust-strip { list-style: none; padding: 0; margin: 2.25rem 0 0; display: grid; gap: .6rem; color: #d7e7e4; font-size: .95rem; }
.trust-strip li { display: flex; align-items: center; gap: .6rem; }
.trust-strip svg { width: 20px; height: 20px; color: var(--amber); }

/* Split: services, hubs, about, contact */
.hero--split { background: linear-gradient(180deg, var(--teal-50) 0%, var(--white) 100%); border-bottom: 1px solid var(--line); }
.hero-split { display: grid; gap: 2rem; padding-top: 36px; padding-bottom: 48px; align-items: center; }
.hero-split__media { position: relative; }
.hero-split__media img { border-radius: var(--radius-l); box-shadow: var(--shadow-l); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.hero-split__media::before {
  content: ""; position: absolute; inset: auto -10px -10px auto; width: 45%; height: 45%;
  border: 3px solid var(--amber); border-radius: var(--radius-l); z-index: -1;
}
.hero-split__media { z-index: 0; }

/* Dark: problems */
.hero--dark { background: radial-gradient(1000px 500px at 85% -10%, #19524d 0%, transparent 60%), var(--teal-950); color: #dbe9e7; }
.hero-dark { display: grid; gap: 2rem; padding-top: 40px; padding-bottom: 52px; align-items: center; }
.hero--dark h1 { color: var(--white); }
.hero--dark .lead { color: #d3e4e1; }
.hero--dark .cta-note, .hero--dark .cta-note a { color: #ffd38a; }
.answer-card { background: var(--white); color: var(--ink); border-radius: var(--radius-l); padding: 1.6rem 1.6rem 1.2rem; box-shadow: var(--shadow-l); border-top: 6px solid var(--amber); }
.answer-card__label { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-700); margin-bottom: .5rem; }

/* Landscape: areas */
.hero--landscape { color: var(--white); overflow: hidden; background: var(--teal-900); isolation: isolate; }
.hero-landscape { padding-top: 40px; padding-bottom: 64px; }
.hero--landscape h1 { color: var(--white); max-width: 780px; }
.hero--landscape .lead { color: #e4efed; }
.hero--landscape .cta-note, .hero--landscape .cta-note a { color: #ffd38a; }
.hero-note { margin: 1.25rem 0 0; display: inline-block; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); padding: .6rem .9rem; border-radius: var(--radius-s); font-size: .92rem; color: #eef6f5; }

/* Editorial: guides, legal */
.hero--editorial { padding-top: 40px; background: var(--cream); border-bottom: 1px solid var(--line); }
.hero--editorial .container--narrow { padding-bottom: 36px; }
.hero--editorial .breadcrumbs ol { justify-content: center; }
.hero--editorial .eyebrow { justify-content: center; }
.hero--editorial .lead { margin-left: auto; margin-right: auto; }
.hero-editorial__media { margin-bottom: -60px; position: relative; z-index: 1; }
.hero-editorial__media img { border-radius: var(--radius-l); box-shadow: var(--shadow-l); width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.hero--editorial:has(.hero-editorial__media) + .section { padding-top: calc(var(--section) + 60px); }
.post-meta { font-size: .9rem; color: var(--muted); }

/* Pills -------------------------------------------------------------------- */
.pill { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .75rem; border-radius: 999px; font-size: .8rem; font-weight: 700; white-space: nowrap; margin: 0; }
.pill svg { width: 15px; height: 15px; }
.urgency--high { background: var(--red-100); color: var(--red); }
.urgency--medium { background: var(--amber-100); color: #7a4a00; }
.urgency--low { background: var(--teal-100); color: var(--teal-800); }

/* Tiles (photo cards) ------------------------------------------------------ */
.tile { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; position: relative; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tile__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.tile__body { padding: 1.1rem 1.2rem 1.3rem; }
.tile__body h3 { margin-bottom: .4rem; font-size: 1.12rem; }
.tile__body h3 a::after { content: ""; position: absolute; inset: 0; }
.tile__body p { margin: 0; font-size: .96rem; color: var(--muted); }
.tile:focus-within { box-shadow: 0 0 0 3px var(--amber); }
.kicker { display: block; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--teal-700); margin-bottom: .35rem; }

/* Home systems (service groups) */
.systems { display: grid; gap: 1.25rem; }
.system { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-s); display: grid; grid-template-columns: 1fr; }
.system__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.system__body { padding: 1.2rem 1.3rem 1.3rem; }
.system__body h3 { font-size: 1.2rem; }
.system__body > p { color: var(--muted); font-size: .96rem; }
.system__body ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .3rem; }
.system__body li a { font-size: .95rem; font-weight: 600; text-decoration: none; }
.system__body li a::before { content: "→ "; color: var(--amber-600); }
.system__body li a:hover { text-decoration: underline; }

/* Problem rows ------------------------------------------------------------- */
.rows { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.row { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1rem; align-items: start; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--teal-700); border-radius: var(--radius-s); padding: 1rem 1.1rem; position: relative; }
.row:not(:has(.row__num)) { grid-template-columns: 1fr; }
.row__num { font-family: var(--font-serif); font-size: 1.4rem; color: #9a5b00; line-height: 1.2; }
.row__body h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.row__body h3 a::after { content: ""; position: absolute; inset: 0; }
.row__body p { margin: 0; font-size: .94rem; color: var(--muted); }
.row .pill { grid-column: 2; justify-self: start; }
.row:not(:has(.row__num)) .pill { grid-column: 1; }
.row:hover { border-left-color: var(--amber); box-shadow: var(--shadow-s); }
.row:focus-within { box-shadow: 0 0 0 3px var(--amber); }
.rows--compact .row { padding: .8rem .9rem; }

/* Mosaic (home projects) */
.mosaic { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.mosaic__item { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; color: var(--white); text-decoration: none; }
.mosaic__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mosaic__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(4, 25, 23, .85) 100%); }
.mosaic__label { position: absolute; left: .9rem; bottom: .75rem; z-index: 1; font-family: var(--font-serif); font-size: 1.15rem; }
.mosaic__item:hover .mosaic__img { transform: scale(1.04); }
.mosaic__item:hover { color: var(--white); }
.band--dark .mosaic__item { color: var(--white); }

/* Process / numbered / checklists ------------------------------------------ */
.process { list-style: none; padding: 0; margin: 1.25rem 0; display: grid; gap: .9rem; counter-reset: step; }
.process > li { counter-increment: step; position: relative; padding: 1rem 1.1rem 1rem 3.6rem; background: var(--cream); border-radius: var(--radius); }
.process > li::before {
  content: counter(step); position: absolute; left: 1rem; top: 1rem; width: 32px; height: 32px; border-radius: 50%;
  background: var(--teal-800); color: var(--white); font: 700 .95rem/32px var(--font-sans); text-align: center;
}
.process h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.process p { margin: 0; font-size: .97rem; }
.band--cream .process > li { background: var(--white); }

.numbered { list-style: none; padding: 0; counter-reset: n; display: grid; gap: .6rem; }
.numbered li { counter-increment: n; position: relative; padding-left: 2.6rem; }
.numbered li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: .1rem; font: 600 1.05rem/1.4 var(--font-serif); color: #9a5b00; }
.numbered p { margin: 0; }

.checklist { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .55rem; }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .3rem; width: 20px; height: 20px; border-radius: 50%;
  background: var(--teal-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d4743' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.checklist--warn li::before {
  background: var(--amber-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a4a00' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v7M12 17.5v.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.band--emergency .checklist--warn li::before { background-color: #ffe2b3; }

.causes { list-style: none; padding: 0; counter-reset: c; display: grid; gap: 1rem; }
.causes li { counter-increment: c; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem 1rem 3.4rem; position: relative; }
.causes li::before { content: counter(c); position: absolute; left: 1rem; top: 1rem; width: 28px; height: 28px; border-radius: 8px; background: var(--amber-100); color: #7a4a00; font: 800 .9rem/28px var(--font-sans); text-align: center; }
.causes h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.causes p { margin: 0; }

.do-dont { display: grid; gap: 1.25rem; margin-bottom: 2.5rem; }
.do-dont > section { margin: 0; border-radius: var(--radius); padding: 1.3rem 1.3rem .4rem; }
.do-dont__do { background: var(--teal-50); border: 1px solid var(--teal-100); }
.do-dont__dont { background: var(--red-100); border: 1px solid #f3cfca; }
.do-dont h2 { font-size: 1.3rem; }
.dont { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .55rem; }
.dont li { position: relative; padding-left: 2rem; }
.dont li::before {
  content: ""; position: absolute; left: 0; top: .3rem; width: 20px; height: 20px; border-radius: 50%;
  background: #f6d3ce url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b3261e' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* Callouts ----------------------------------------------------------------- */
.callout { display: flex; gap: 1rem; border-radius: var(--radius); padding: 1.2rem 1.3rem; margin: 0 0 2rem; border: 1px solid var(--line); }
.callout > svg { width: 26px; height: 26px; margin-top: .15rem; }
.callout h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.callout p:last-child { margin-bottom: 0; }
.callout--safety { background: var(--amber-100); border-color: #f4d9a6; }
.callout--safety > svg { color: #8a5300; }
.callout--pro { background: var(--teal-50); border-color: var(--teal-100); }
.callout--pro > svg { color: var(--teal-700); }
.callout--stop { background: var(--red-100); border-color: #f3cfca; }
.callout--stop > svg { color: var(--red); }
.callout--info { background: var(--cream); }
.callout--info > svg { color: var(--teal-700); }

/* Figures, video ------------------------------------------------------------ */
.figure { margin: 0 0 2.5rem; }
.figure img { border-radius: var(--radius); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.figure figcaption, .video figcaption { font-size: .85rem; color: var(--muted); margin-top: .5rem; }
.video { margin: 0; }
.video video, .video img { border-radius: var(--radius-l); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; box-shadow: var(--shadow); background: var(--teal-900); }
.band--dark .video figcaption { color: #b7cfcb; }

/* Inline CTA + sidebar cards ------------------------------------------------ */
.inline-cta {
  display: grid; gap: 1rem; align-items: center; margin: 0 0 2.5rem; padding: 1.5rem;
  background: var(--teal-800); color: #e1eeec; border-radius: var(--radius-l); position: relative; overflow: hidden;
}
.inline-cta::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; border: 18px solid rgba(242, 160, 30, .18); }
.inline-cta h2 { color: var(--white); font-size: 1.35rem; margin-bottom: .3rem; }
.inline-cta p { margin: 0; }
.inline-cta__art { display: none; }
.inline-cta > div:last-child { position: relative; z-index: 1; }
.container > .inline-cta { margin-top: 0; margin-bottom: var(--section); }

.side-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.25rem; }
.side-card h2 { font-size: 1.12rem; margin-bottom: .6rem; }
.side-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.side-card li a { font-size: .95rem; }
.side-card--call { background: var(--teal-950); color: #d6e6e3; border: 0; }
.side-card--call h2 { color: var(--white); }
.side-card--call .btn { width: 100%; }

/* Answer, toc, takeaways (guides) ------------------------------------------ */
.answer-inline { background: var(--amber-100); border-left: 5px solid var(--amber); padding: 1.1rem 1.3rem; border-radius: 0 var(--radius) var(--radius) 0; margin-bottom: 2rem; }
.answer-inline p { margin: 0; }
.toc { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.3rem; margin-bottom: 2rem; background: var(--white); }
.toc h2 { font-family: var(--font-sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: .6rem; }
.toc ol { margin: 0; padding-left: 1.2rem; display: grid; gap: .3rem; }
.toc a { font-size: .97rem; }
.takeaways { background: var(--teal-950); color: #dbe9e7; border-radius: var(--radius-l); padding: 1.5rem 1.5rem .5rem; margin-top: 1rem; }
.takeaways h2 { color: var(--white); font-size: 1.4rem; }
.takeaways strong { color: var(--white); }

/* Area index (teal band) ---------------------------------------------------- */
.area-index { display: grid; gap: 1.5rem; }
.area-col h3 { font-family: var(--font-sans); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: #ffd38a; margin-bottom: .6rem; }
.area-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .25rem; }
.area-col a { color: var(--white); text-decoration: none; }
.area-col a:hover { text-decoration: underline; color: var(--white); }
.link-light { font-weight: 700; }

/* Emergency card ------------------------------------------------------------ */
.emergency-card { background: var(--white); color: var(--ink); border-radius: var(--radius-l); padding: 1.6rem; box-shadow: var(--shadow-l); }
.emergency-card h3 { color: var(--charcoal); font-size: 1.4rem; }
.emergency-card .btn { width: 100%; }

/* FAQ ----------------------------------------------------------------------- */
.faq-layout { display: grid; gap: 2rem; }
.faq-layout__head p { color: var(--muted); }
.faq { border-top: 1px solid var(--line-strong); }
.faq__item { border-bottom: 1px solid var(--line-strong); }
.faq__q { margin: 0; font-family: var(--font-sans); font-size: 1.04rem; }
.faq__btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; text-align: left;
  background: none; border: 0; padding: 1.1rem 0; font: 700 1.04rem/1.4 var(--font-sans); color: var(--charcoal); cursor: pointer;
}
.faq__btn:hover { color: var(--teal-700); }
.faq__btn > span:first-child { min-width: 0; }
.faq__icon { display: inline-flex; width: 32px; height: 32px; border-radius: 50%; align-items: center; justify-content: center; background: var(--teal-50); color: var(--teal-800); flex-shrink: 0; transition: transform .2s ease, background-color .2s ease; }
.faq__icon svg { width: 16px; height: 16px; }
.faq__btn[aria-expanded="true"] .faq__icon { transform: rotate(45deg); background: var(--amber); color: var(--charcoal); }
.faq__a { padding: 0 3rem 1.1rem 0; color: var(--ink); }
.faq__a p:last-child { margin-bottom: 0; }
.band--cream .faq__icon { background: var(--white); }

/* Final CTA (photo background) ---------------------------------------------- */
.cta-final { position: relative; overflow: hidden; isolation: isolate; color: #e4efed; background: var(--teal-900); padding: 72px 0; }
.cta-final__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-final::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 38, 36, .95) 0%, rgba(6, 38, 36, .86) 55%, rgba(6, 38, 36, .7) 100%); }
.cta-final__inner { display: grid; gap: 1.5rem; align-items: center; }
.cta-final h2 { color: var(--white); }
.cta-final p { max-width: 620px; }
.cta-final .qualifier { color: #b9d2ce; }

/* Link lists / grids -------------------------------------------------------- */
.link-list { list-style: none; padding: 0; display: grid; gap: .4rem 2rem; }
.link-list a { font-weight: 600; }
.link-grid { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; text-align: left; }
.link-grid a { display: block; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 700; text-decoration: none; color: var(--charcoal); background: var(--white); }
.link-grid a:hover { border-color: var(--teal-700); color: var(--teal-700); }
.scope-note { margin: 0 0 var(--section); font-size: .95rem; }

/* 404 */
.not-found .code { font: 600 clamp(5rem, 18vw, 9rem)/1 var(--font-serif); color: var(--teal-700); margin: 0 0 .5rem; }

/* Footer -------------------------------------------------------------------- */
.site-footer { background: var(--charcoal); color: #c6cdcf; font-size: .95rem; margin-top: 0; }
.footer-cta { display: grid; gap: 1.25rem; align-items: center; padding-top: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid #343b3e; }
.footer-cta__title { font: 600 clamp(1.35rem, 3vw, 1.75rem)/1.25 var(--font-serif); color: var(--white); margin: 0; }
.footer-grid { display: grid; gap: 2rem; padding-top: 2.5rem; padding-bottom: 2rem; }
.footer-logo { display: inline-block; background: var(--white); padding: 10px 14px; border-radius: var(--radius); margin-bottom: 1rem; }
.footer-logo img { width: 200px; }
.site-footer h2 { font-family: var(--font-sans); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #ffd38a; margin-bottom: .75rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .35rem; }
.site-footer a:not(.btn) { color: #e3e8e9; text-decoration: none; }
.site-footer a:not(.btn):hover { color: var(--white); text-decoration: underline; }
.footer-phone a { font-weight: 800; color: #ffd38a; font-size: 1.1rem; }
.footer-disclaimer { border: 1px solid #3a4245; border-radius: var(--radius); padding: 1.2rem 1.3rem; font-size: .86rem; line-height: 1.6; color: #b9c2c4; background: #181c1e; }
.footer-disclaimer p:last-child { margin-bottom: 0; }
.footer-bottom { border-top: 1px solid #343b3e; margin-top: 2rem; padding: 1.2rem 0; font-size: .86rem; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem; }
.footer-legal { display: flex; gap: 1.25rem; flex-wrap: wrap; }

/* Mobile sticky call bar ----------------------------------------------------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--teal-950);
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(0, 0, 0, .2);
}
.callbar__btn {
  display: flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; border-radius: 999px;
  background: var(--amber); color: var(--charcoal); font-weight: 800; text-decoration: none; text-transform: uppercase; letter-spacing: .04em;
}
.callbar__btn svg { width: 20px; height: 20px; }
.callbar__btn:hover { color: var(--charcoal); }
.callbar__num { text-transform: none; border-left: 1px solid rgba(30, 35, 37, .3); padding-left: .55rem; }
.nav-open .callbar { display: none; }

/* Reveal (main.js adds .reveal only to off-screen elements, and never with reduced motion) */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ChattanoogaTNelectrician.com: breakpoints (mobile-first), reduced motion, print */

@media (max-width: 359px) {
  :root { --gutter: 14px; }
  .btn-call--lg { padding: .8rem 1.1rem; font-size: 1rem; }
  .btn__num { display: none; }
  .callbar__num { font-size: .92rem; }
  .brand img { width: 150px; }
  .header-call-icon, .nav-toggle { width: 42px; height: 42px; }
}

@media (max-width: 639px) {
  .btn-call--lg { white-space: normal; flex-wrap: wrap; text-align: center; row-gap: .15rem; }
  .utility p { display: none; }
  .utility__inner { justify-content: center; }
}

@media (min-width: 480px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .link-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 640px) {
  :root { --gutter: 24px; --section: 80px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .trust-strip { grid-template-columns: repeat(2, auto); justify-content: start; gap: .6rem 2rem; }
  .area-index { grid-template-columns: repeat(2, 1fr); }
  .system { grid-template-columns: 200px 1fr; }
  .system__img { height: 100%; aspect-ratio: auto; }
  .rows--two { grid-template-columns: 1fr; }
  .inline-cta { grid-template-columns: 1fr auto; padding: 1.75rem 2rem; }
  .do-dont { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .link-list { grid-template-columns: repeat(2, 1fr); }
  .hero-home { padding-top: 96px; padding-bottom: 88px; }
  .row { grid-template-columns: auto 1fr auto; align-items: center; }
  .row .pill { grid-column: 3; grid-row: 1; justify-self: end; }
  .row:not(:has(.row__num)) { grid-template-columns: 1fr auto; }
  .row:not(:has(.row__num)) .pill { grid-column: 2; }
}

@media (min-width: 768px) {
  .mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; }
  .mosaic__item { aspect-ratio: auto; }
  .mosaic__item--0 { grid-column: span 2; grid-row: span 2; }
  .mosaic__item--3, .mosaic__item--4 { grid-column: span 2; }
  .split { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .split--media-left > :first-child { order: 0; }
  .group-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cta-final__inner { grid-template-columns: 1fr auto; gap: 3rem; }
  .footer-cta { grid-template-columns: 1fr auto; }
  .systems { grid-template-columns: 1fr; }
  .callbar { display: none; }
  body { padding-bottom: 0; }
}

@media (min-width: 1024px) {
  :root { --section: 96px; }
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .tiles--3 { grid-template-columns: repeat(3, 1fr); }
  .systems { grid-template-columns: 1fr 1fr; }
  .rows--two { grid-template-columns: 1fr 1fr; }
  .area-index { grid-template-columns: repeat(3, 1fr); gap: 2rem 3rem; }
  .hero-split { grid-template-columns: 1.05fr .95fr; gap: 3.5rem; padding-top: 48px; padding-bottom: 72px; }
  .hero-dark { grid-template-columns: 1.2fr .8fr; gap: 3.5rem; padding-top: 56px; padding-bottom: 80px; }
  .hero-landscape { padding-top: 56px; padding-bottom: 110px; }
  .hero-home { padding-top: 120px; padding-bottom: 120px; }
  .trust-strip { grid-template-columns: repeat(4, auto); }
  .content-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 4rem; }
  .sidebar { position: sticky; top: calc(var(--header-h) + 24px); }
  .faq-layout { grid-template-columns: 340px minmax(0, 1fr); gap: 4rem; align-items: start; }
  .faq-layout__head { position: sticky; top: calc(var(--header-h) + 24px); }
  .footer-grid { grid-template-columns: 1.5fr repeat(4, 1fr); }
  .footer-brand { grid-column: auto; }
  .link-list { grid-template-columns: repeat(3, 1fr); }
  .inline-cta__art { display: flex; width: 56px; height: 56px; border-radius: 50%; background: var(--amber); color: var(--charcoal); align-items: center; justify-content: center; }
  .inline-cta__art svg { width: 26px; height: 26px; }
  .inline-cta { grid-template-columns: auto 1fr auto; }
}

/* Desktop navigation */
@media (min-width: 1200px) {
  :root { --header-h: 80px; }
  .brand img { width: 220px; }
  .nav-toggle, .header-call-icon { display: none; }
  .header-call { display: block; }
  .header-call .btn { min-height: 46px; padding: .6rem 1.2rem; }
  .primary-nav, .no-js .primary-nav {
    display: block; position: static; box-shadow: none; border: 0; padding: 0; max-height: none; overflow: visible; background: none;
  }
  .nav-list { display: flex; align-items: center; gap: .1rem; }
  .nav-item { border: 0; position: relative; }
  .nav-row { gap: 0; }
  .nav-link { padding: .5rem .55rem; font-size: .97rem; white-space: nowrap; border-radius: var(--radius-s); }
  .nav-link:hover { background: var(--teal-50); }
  .sub-toggle { width: 26px; height: 32px; background: none; border-radius: var(--radius-s); }
  .sub-toggle:hover { background: var(--teal-50); }
  .nav-cta { display: none; }
  .drop, .no-js .drop {
    display: block; position: absolute; top: calc(100% + 12px); left: -12px; min-width: 300px; padding: 1rem;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-l);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  }
  .drop::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
  .drop--c2 { min-width: 580px; }
  .drop--c2 .drop__list { grid-template-columns: 1fr 1fr; column-gap: .5rem; }
  .nav-item:nth-last-child(-n+3) .drop { left: auto; right: -12px; }
  .has-mega.is-hover > .drop, .has-mega.is-open > .drop, .no-js .has-mega:hover > .drop, .no-js .has-mega:focus-within > .drop {
    opacity: 1; visibility: visible; transform: none; transition: opacity .18s ease, transform .18s ease, visibility 0s;
  }
  .has-mega.is-closed > .drop { opacity: 0; visibility: hidden; }
  .utility__inner { min-height: 40px; }
}

@media (min-width: 1440px) {
  :root { --maxw: 1320px; }
  .nav-link { padding: .5rem .75rem; font-size: 1rem; }
  .brand img { width: 240px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .tile:hover, .btn-call:hover { transform: none; }
  .mosaic__item:hover .mosaic__img { transform: none; }
}

@media print {
  .utility, .site-header, .callbar, .cta-final, .inline-cta, .sidebar, .footer-cta, .faq-layout__head .btn, video { display: none !important; }
  body { padding: 0; color: #000; font-size: 11pt; }
  .hero--home, .hero--landscape, .hero--dark, .band--dark, .band--teal, .band--emergency { background: none !important; color: #000; }
  .hero--home::after, .hero--landscape::after, .hero__bg { display: none; }
  h1, h2, h3, .hero--home h1, .hero--landscape h1, .hero--dark h1 { color: #000; }
  .faq__a[hidden] { display: block !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
  .site-footer { background: none; color: #000; }
  .footer-disclaimer { color: #000; background: none; }
}
