/* ==========================================================================
   Self-hosted webfonts — Oswald and Montserrat, weights 400 and 700.
   The same files Google Fonts serves, copied into the repo so no third-party
   request is needed to render the page. Google ships these as variable fonts:
   one file per family and subset covers both weights, so each weight rule
   points at the same file and the browser downloads it once. The latin-ext
   subset is only fetched if a character in its range appears on the page.
   To regenerate, re-download from fonts.googleapis.com.
   ========================================================================== */

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/montserrat-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/montserrat-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/oswald-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/oswald-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/oswald-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/oswald-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Square One Electric — site styles
   Palette and type follow the original squareonememphis.com design:
   Oswald for headings, Montserrat for body copy, near-black text (#242424),
   brand red (#a60000), white surfaces.
   ========================================================================== */

:root {
  --dark: #242424;
  --red: #a60000;
  --white: #ffffff;
  --gray-100: #f1f1f1;
  --gray-200: #e5e5e5;
  --text: #242424;
  --link: #0000ee;

  --font-head: 'Oswald', 'Arial Narrow', Impact, 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;

  --container: 1200px;
  --gutter: 4%;
  --radius: 5px;
  --shadow: 0 3px 11px rgba(0, 0, 0, 0.25);
  --header-h: 110px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

body.drawer-open {
  overflow: hidden;
}

img,
svg,
iframe {
  max-width: 100%;
}

img {
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.4em;
}

button {
  font: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.section--dark :focus-visible,
.section--red :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--white);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 2000;
  background: var(--dark);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 0 0 var(--radius) var(--radius);
}

.skip-link:focus {
  top: 0;
}

.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;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.5em;
  line-height: 1.15;
  overflow-wrap: break-word;
}

h1 {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(35px, 4vw, 55px);
  color: var(--red);
}

h2 {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 30px);
  color: var(--dark);
}

h3 {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(30px, 3vw, 36px);
  color: var(--dark);
}

h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  color: var(--dark);
}

h5 {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(25px, 3vw, 36px);
  color: var(--dark);
}

h6 {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  color: var(--dark);
}

/* Type utilities: let a heading sit at the correct outline level while keeping the
   visual size of a different level. Used where document structure and design differ. */
.type-h3 {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(30px, 3vw, 36px);
  color: var(--dark);
}

.type-h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.15;
  text-transform: none;
  color: var(--dark);
}

.type-h5 {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(25px, 3vw, 36px);
  color: var(--dark);
}

.type-h6 {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.15;
  text-transform: none;
  color: var(--dark);
}

.lead {
  font-size: 18px;
}

.content a,
.prose a {
  color: var(--dark);
  text-decoration: underline;
}

.content a:hover,
.prose a:hover {
  color: var(--red);
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 50px var(--gutter);
}

.section--dark {
  background: var(--dark);
  color: var(--white);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark h5,
.section--dark h6,
.section--dark .type-h3,
.section--dark .type-h4,
.section--dark .type-h5,
.section--dark .type-h6 {
  color: var(--white);
}

.section--dark a,
.section--red a {
  color: var(--white);
  text-decoration: underline;
}

.section--dark a.btn,
.section--red a.btn {
  text-decoration: none;
}

.section--red {
  background: var(--red);
  color: var(--white);
}

.section--red h1,
.section--red h2,
.section--red h3,
.section--red .type-h3,
.section--red .type-h4 {
  color: var(--white);
}

/* White surfaces that sit inside dark or red sections keep dark text. */
.section--dark .info-card h3,
.section--dark .info-card h4,
.section--dark .benefit p,
.section--dark .areas-card,
.section--red .area-card h2 {
  color: var(--dark);
}

/* Buttons inside running text never inherit the text-link underline. */
.content a.btn,
.prose a.btn,
.section--dark a.btn,
.section--red a.btn {
  text-decoration: none;
}

.prose a.btn,
.content a.btn {
  color: var(--white);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 250px;
  min-height: 55px;
  padding: 12px 28px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--dark);
  color: var(--white);
}

.btn--light {
  background: var(--white);
  color: var(--dark);
}

.btn--light:hover,
.btn--light:focus-visible {
  background: var(--dark);
  color: var(--white);
}

.btn--sm {
  min-width: 150px;
  min-height: 44px;
  padding: 8px 22px;
}

.btn--phone {
  min-width: 220px;
  min-height: 50px;
  font-size: 15px;
  white-space: nowrap;
}

.section--dark .btn:hover,
.section--dark .btn:focus-visible,
.section--red .btn:hover,
.section--red .btn:focus-visible {
  background: var(--white);
  color: var(--dark);
}

/* ---------- Header ---------- */
.site-header {
  position: relative;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
  padding: 10px var(--gutter);
  max-width: none;
}

.brand {
  flex: 0 0 auto;
  display: block;
}

.brand img {
  width: auto;
  height: 96px;
}

/* Desktop navigation */
.main-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 10px;
  font-size: 16px;
  color: var(--dark);
  white-space: nowrap;
  transition: color 0.15s ease;
}

.nav-link:hover,
.nav-item.is-active > .nav-link,
.nav-item.is-open > .nav-link {
  color: var(--red);
}

.nav-link .chevron {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}

.nav-item.is-open > .nav-link .chevron {
  transform: rotate(180deg);
}

.sub-menu {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 290px;
  background: #f7f7f7;
  box-shadow: var(--shadow);
  display: none;
  z-index: 50;
}

.nav-item.has-sub:hover > .sub-menu,
.nav-item.has-sub.is-open > .sub-menu,
.nav-item.has-sub:focus-within > .sub-menu {
  display: block;
}

.sub-menu a {
  display: block;
  padding: 13px 18px;
  font-size: 15px;
  color: var(--dark);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.sub-menu a:hover,
.sub-menu a:focus-visible,
.sub-menu li.is-active > a {
  background: var(--dark);
  color: var(--white);
}

/* Hamburger (mobile only) */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--dark);
}

.nav-toggle svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* Mobile drawer */
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.6);
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1001;
  width: min(340px, 88vw);
  height: 100dvh;
  overflow-y: auto;
  padding: 20px 20px 40px;
  background: var(--white);
  box-shadow: -4px 0 16px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  visibility: hidden;
  /* Hide only after the slide-out finishes; show instantly on open so focus can move inside. */
  transition: transform 0.3s ease, visibility 0s linear 0.3s;
}

.mobile-drawer.is-open {
  transform: none;
  visibility: visible;
  transition: transform 0.3s ease, visibility 0s;
}

.drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 0 12px auto;
  border: 0;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--dark);
  font-size: 26px;
  line-height: 1;
}

.nav-list--drawer {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.nav-list--drawer .nav-item {
  border-bottom: 1px solid var(--gray-200);
}

.nav-list--drawer .nav-link {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 14px 4px;
  font-size: 17px;
}

.nav-list--drawer .sub-menu {
  position: static;
  min-width: 0;
  box-shadow: none;
  background: var(--gray-100);
  padding: 4px 0;
  margin-bottom: 8px;
}

.nav-list--drawer .nav-item.has-sub:hover > .sub-menu,
.nav-list--drawer .nav-item.has-sub:focus-within > .sub-menu {
  display: none;
}

.nav-list--drawer .nav-item.has-sub.is-open > .sub-menu {
  display: block;
}

.mobile-drawer .btn {
  width: 100%;
  margin-top: 24px;
}

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  padding: 100px var(--gutter) 150px;
  color: var(--white);
  background: var(--dark) url('../assets/images/hero-lightbulbs.jpg') center / cover no-repeat;
  border-radius: 0 0 var(--radius) var(--radius);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--dark);
  opacity: 0.6;
  border-radius: inherit;
}

.hero__inner {
  max-width: 71%;
  padding: 16px;
}

.hero h1,
.hero h2 {
  color: var(--white);
}

.hero h1 {
  margin-bottom: 0.4em;
}

.hero h2 {
  margin-bottom: 1em;
}

@media (min-width: 1025px) {
  .hero {
    background-attachment: fixed;
  }
}

/* ---------- Service cards (overlap the hero) ---------- */
.card-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: -110px auto 0;
  padding: 0 var(--gutter);
  max-width: calc(var(--container) + 2 * 48px);
}

.card {
  display: flex;
  flex-direction: column;
  padding: 28px 24px 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card__icon {
  width: 70px;
  height: 70px;
  margin-bottom: 18px;
  color: var(--red);
}

.card__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.card .card__title {
  margin-bottom: 0.6em;
}

.card p {
  flex: 1 1 auto;
  font-size: 15px;
}

.card__link {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  color: var(--dark);
}

.card__link:hover,
.card__link:focus-visible {
  font-weight: 700;
  color: var(--dark);
}

/* ---------- Home: tagline band ---------- */
.intro-band {
  padding: 70px var(--gutter) 30px;
  text-align: center;
}

.intro-band .type-h5 {
  margin-bottom: 0.4em;
}

.intro-band .type-h6 {
  margin: 0;
  line-height: 1.15;
}

/* ---------- Wave divider ---------- */
.wave {
  display: block;
  line-height: 0;
  color: var(--dark);
  background: transparent;
}

.wave svg {
  display: block;
  width: 100%;
  height: 100px;
  fill: currentColor;
}

.wave--flip svg {
  transform: rotate(180deg);
}

/* ---------- Home: dark story section ---------- */
.display-title {
  margin: 0;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(42px, 6vw, 72px);
  letter-spacing: 0.01em;
}

.story {
  padding: 60px var(--gutter) 140px;
}

.story__text {
  margin-top: 50px;
}

.story__text .type-h3 {
  font-size: clamp(30px, 3.4vw, 42px);
}

.story__text .type-h4 {
  margin-bottom: 1em;
}

.story__text p {
  font-size: 18px;
}

.image-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

.image-pair img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ---------- Home: popular services block ---------- */
.popular {
  padding: 20px var(--gutter) 30px;
}

.split-block {
  display: grid;
  grid-template-columns: 5fr 7fr;
  color: var(--white);
}

.split-block > div {
  padding: 40px 36px;
  background: var(--red);
}

.split-block > div:first-child {
  border-radius: var(--radius) 0 0 var(--radius);
}

.split-block > div:last-child {
  border-radius: 0 var(--radius) var(--radius) 0;
}

.split-block h2,
.split-block .type-h4 {
  color: var(--white);
}

.split-block .type-h4 {
  margin-bottom: 0;
  line-height: 1.5;
}

.split-block p:last-child {
  margin-bottom: 0;
}

.split-block ul {
  padding-left: 1.3em;
}

.split-block li {
  margin-bottom: 4px;
}

.split-block a {
  color: var(--white);
  text-decoration: underline;
}

.split-block a:hover {
  text-decoration-thickness: 2px;
}

/* ---------- Home: why ---------- */
.why {
  padding: 40px var(--gutter) 60px;
  text-align: center;
}

.why .container {
  max-width: 1040px;
}

.why h2 {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: none;
  font-size: 20px;
  margin-bottom: 1em;
}

.why h2 .caps {
  text-transform: uppercase;
}

/* ---------- Home: areas served ---------- */
.areas {
  padding: 40px var(--gutter) 70px;
}

.areas h2 {
  text-align: center;
  margin-bottom: 30px;
}

.map-embed {
  position: relative;
  width: 100%;
  height: 421px;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--gray-200);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.areas-card {
  position: relative;
  margin-top: 40px;
  padding: 48px 16px 24px;
  background: var(--white);
  color: var(--dark);
  border-radius: 0 0 var(--radius) var(--radius);
}

.areas-card__icon {
  position: absolute;
  top: -32px;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
}

.areas-card__icon svg {
  width: 38px;
  height: 38px;
  fill: currentColor;
}

.areas-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 16px;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
}

/* ---------- Inner page hero ---------- */
.page-hero {
  padding: 60px var(--gutter) 50px;
}

.page-hero--center {
  text-align: center;
}

.page-hero--center .btn {
  margin-top: 8px;
}

.page-hero--split .container {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 48px;
  align-items: center;
}

.page-hero__text .btn {
  margin-top: 8px;
}

.page-hero__image img {
  width: 100%;
  max-width: 440px;
  margin-left: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.page-hero__text h2 {
  margin-bottom: 0.9em;
}

.page-hero--narrow .container {
  max-width: 1140px;
}

.page-hero--red {
  padding: 90px var(--gutter) 80px;
  background: var(--red);
  color: var(--white);
  text-align: center;
}

.page-hero--red h1 {
  color: var(--white);
}

/* ---------- Service page: benefits ---------- */
.benefits {
  padding: 70px var(--gutter) 60px;
}

.benefits h3,
.benefits .benefits__intro,
.benefits .benefits__closing {
  text-align: center;
}

.benefits__intro {
  max-width: 980px;
  margin: 0 auto 1em;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 44px;
  margin: 60px auto 40px;
  max-width: 1080px;
}

.benefit {
  position: relative;
  padding: 50px 24px 30px;
  background: var(--white);
  color: var(--dark);
  border-radius: var(--radius);
  box-shadow: 0 3px 11px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.benefit:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  width: calc(50% - 22px);
  margin: 0 auto;
}

.benefit__icon {
  position: absolute;
  top: -30px;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

.benefit__icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.benefit p {
  margin: 0;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
}

/* ---------- Contact page ---------- */
.contact-section {
  padding: 60px var(--gutter) 80px;
}

.contact-section h3 {
  text-align: center;
  margin-bottom: 30px;
}

.form-embed {
  max-width: 860px;
  margin: 0 auto;
  padding: 24px;
  background: var(--white);
  color: var(--dark);
  border-radius: var(--radius);
  min-height: 200px;
}

.form-embed p.form-fallback {
  margin: 8px 0 0;
  text-align: center;
  font-size: 14px;
}

.form-embed p.form-fallback a {
  color: var(--dark);
}

.info-card {
  max-width: 1080px;
  margin: 48px auto 0;
  padding: 36px 40px 28px;
  background: var(--white);
  color: var(--dark);
  border-radius: var(--radius);
}

.info-card h3 {
  text-align: left;
  margin-bottom: 0.6em;
}

.info-card h4 {
  margin: 18px 0 4px;
}

.info-card p {
  margin: 0 0 4px;
}

.info-card a {
  color: var(--dark);
  text-decoration: none;
}

.info-card a:hover {
  text-decoration: underline;
}

.hours {
  display: grid;
  grid-template-columns: minmax(120px, 240px) auto;
  gap: 4px 24px;
  margin: 0;
}

.hours dt,
.hours dd {
  margin: 0;
}

/* ---------- FAQ page ---------- */
.faq-section {
  padding: 60px var(--gutter) 70px;
}

.faq-list {
  max-width: 1140px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 16px;
  background: var(--gray-100);
  border-radius: 2px;
}

.faq-item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 22px 80px 22px 18px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '';
  position: absolute;
  right: 18px;
  top: 50%;
  width: 40px;
  height: 40px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--dark)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
    center / 22px no-repeat;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(180deg);
}

.faq-item h2,
.faq-item h3 {
  margin: 0;
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.2;
}

.faq-item h3 {
  font-size: clamp(18px, 1.9vw, 24px);
}

.faq-item .faq-answer {
  padding: 0 18px 24px;
}

.faq-item .faq-answer p {
  margin: 0;
}

/* ---------- Home: Tesla / EV highlight ---------- */
.ev-highlight {
  padding: 70px var(--gutter) 80px;
}

.ev-highlight .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.ev-highlight__text .type-h3 {
  margin: 0 0 10px;
}

.ev-highlight__text .type-h4 {
  margin: 0 0 20px;
  color: var(--red);
}

.ev-highlight__text p {
  margin: 0 0 18px;
}

.ev-highlight__image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- EV / Tesla page ---------- */
.ev-steps {
  padding: 70px var(--gutter) 80px;
}

.ev-steps .type-h3 {
  margin: 0 0 12px;
}

.ev-steps__intro {
  max-width: 70ch;
  margin: 0 0 30px;
}

.ev-step-list {
  counter-reset: ev-step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
  max-width: 90ch;
}

.ev-step-list li {
  counter-increment: ev-step;
  position: relative;
  padding: 0 0 0 58px;
  min-height: 40px;
}

.ev-step-list li::before {
  content: counter(ev-step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ev-equipment,
.ev-panel {
  padding: 70px var(--gutter) 10px;
}

.ev-panel {
  padding-bottom: 70px;
}

.ev-equipment .type-h3,
.ev-panel .type-h3 {
  margin: 0 0 16px;
}

.ev-panel .type-h3 + p,
.ev-panel h2.type-h3 {
  margin-top: 0;
}

.ev-panel h2.type-h3:not(:first-child) {
  margin-top: 44px;
}

.ev-list {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  display: grid;
  gap: 16px;
}

.ev-list li {
  padding: 16px 20px;
  background: var(--gray-100);
  border-left: 4px solid var(--red);
  border-radius: 2px;
}

.ev-gallery {
  padding: 40px var(--gutter) 20px;
}

.ev-gallery .type-h3 {
  margin: 0 0 24px;
}

.ev-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.ev-figure {
  margin: 0;
}

.ev-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.ev-figure figcaption {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.5;
}

.ev-faq {
  padding: 40px var(--gutter) 70px;
}

.ev-faq .type-h3 {
  margin: 0 0 24px;
}

.ev-faq .faq-list {
  margin: 0;
}

.ev-cta {
  padding: 60px var(--gutter) 70px;
  text-align: center;
}

.ev-cta .type-h3 {
  margin: 0 0 14px;
}

.ev-cta p {
  max-width: 70ch;
  margin: 0 auto 26px;
}

/* ---------- Areas We Serve page ---------- */
.areas-section {
  padding: 70px var(--gutter) 80px;
  box-shadow: 0 -3px 11px rgba(0, 0, 0, 0.25);
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.area-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--white);
  color: var(--dark);
  border: 1px solid var(--dark);
  text-align: center;
}

.area-card__image {
  width: 100%;
  height: 170px;
  overflow: hidden;
}

.area-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.area-card h2 {
  margin: 28px 16px 16px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(24px, 2.4vw, 30px);
}

.area-card .btn {
  margin: 0 16px 32px;
}

/* ---------- Service area page ---------- */
.area-content {
  padding: 10px var(--gutter) 70px;
}

.area-content .container {
  max-width: 1140px;
}

.area-content h3 {
  margin-top: 40px;
}

.area-content ul {
  margin: 0 0 1.2em;
}

.area-content li {
  margin-bottom: 4px;
}

.area-content .btn {
  margin-top: 8px;
}

/* ---------- Blog post ---------- */
.post-hero h1 {
  color: var(--dark);
}

.post {
  padding: 0 var(--gutter) 70px;
}

.post .container {
  max-width: 1140px;
}

.post h2 {
  margin: 44px 0 16px;
}

.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}

.post-nav a {
  color: var(--dark);
  text-decoration: underline;
}

.post-nav a:hover {
  color: var(--red);
}

/* ---------- Policy page ---------- */
.policy {
  padding: 40px var(--gutter) 70px;
}

.policy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.policy-col > h2 {
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(30px, 3vw, 36px);
  color: var(--red);
  margin-bottom: 0.6em;
}

.policy-col h3 {
  font-size: clamp(22px, 2.2vw, 28px);
  margin-top: 1.4em;
}

.policy-col ul ul {
  margin-top: 8px;
}

.policy-col li {
  margin-bottom: 8px;
}

.policy-col a {
  color: var(--link);
  text-decoration: underline;
}

.policy-note {
  margin: 1em 0 1.5em;
  padding: 14px 18px;
  background: var(--gray-100);
  border-left: 4px solid var(--red);
}

.policy-note p:last-child {
  margin-bottom: 0;
}

/* ---------- 404 ---------- */
.not-found {
  padding: 100px var(--gutter);
  text-align: center;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 40px var(--gutter) 28px;
  background: var(--red);
  color: var(--white);
  font-size: 12px;
}

.footer-collage {
  width: 100%;
  margin: 0 auto 32px;
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 0 4%;
}

.footer-meta p {
  margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .nav-link {
    padding: 10px 7px;
    font-size: 15px;
  }

  .btn--phone {
    min-width: 190px;
  }
}

@media (max-width: 1024px) {
  :root {
    --header-h: 90px;
  }

  .main-nav,
  .header-inner > .btn--phone {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .brand img {
    height: 74px;
  }

  .hero {
    padding: 70px 3% 110px;
  }

  .hero__inner {
    max-width: 100%;
  }

  .card-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: -70px;
  }

  .page-hero--split .container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .page-hero__image img {
    margin-left: 0;
  }

  .area-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story {
    padding-bottom: 90px;
  }
}

@media (max-width: 1024px) {
  .ev-highlight .container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .ev-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ev-gallery__grid {
    grid-template-columns: 1fr;
  }

  .ev-highlight,
  .ev-steps,
  .ev-equipment,
  .ev-panel,
  .ev-faq,
  .ev-cta {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    padding: 50px 20px 80px;
    border-radius: 0;
  }

  .hero__inner {
    padding: 0;
  }

  .card-row {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: -50px;
    padding: 0 20px;
  }

  .section,
  .intro-band,
  .story,
  .popular,
  .why,
  .areas,
  .page-hero,
  .benefits,
  .contact-section,
  .faq-section,
  .areas-section,
  .area-content,
  .post,
  .policy,
  .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .wave svg {
    height: 60px;
  }

  .image-pair {
    grid-template-columns: 1fr;
  }

  .image-pair img {
    height: 240px;
  }

  .split-block {
    grid-template-columns: 1fr;
  }

  .split-block > div {
    padding: 28px 22px;
  }

  .split-block > div:first-child {
    border-radius: var(--radius) var(--radius) 0 0;
  }

  .split-block > div:last-child {
    border-radius: 0 0 var(--radius) var(--radius);
  }

  .map-embed {
    height: 377px;
  }

  .areas-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefit-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .benefit:last-child:nth-child(odd) {
    width: 100%;
  }

  .info-card {
    padding: 28px 22px 20px;
  }

  .hours {
    grid-template-columns: 1fr 1fr;
  }

  .faq-item summary {
    padding: 18px 70px 18px 16px;
  }

  .area-grid {
    grid-template-columns: 1fr;
  }

  .policy-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .post-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-meta {
    flex-direction: column;
    text-align: center;
  }

  .btn {
    min-width: 0;
    width: 100%;
    max-width: 320px;
  }

  .mobile-drawer .btn {
    max-width: none;
  }
}

@media (max-width: 420px) {
  .brand img {
    height: 60px;
  }

  h1 {
    font-size: 32px;
  }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .hero {
    background-attachment: scroll;
  }
}

/* ---------- Print ---------- */
@media print {
  .site-header,
  .site-footer,
  .nav-toggle,
  .mobile-drawer,
  .drawer-overlay,
  .wave,
  .btn {
    display: none !important;
  }

  body {
    color: #000;
  }

  .section--dark,
  .section--red,
  .hero {
    background: none !important;
    color: #000;
  }
}

/* ---- Sept 2026 rebuild additions ---- */
.trust-bar { background: var(--gray-100); border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.trust-bar ul { list-style: none; margin: 0 auto; padding: 14px var(--gutter); max-width: var(--container); display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.04em; font-size: 14px; color: var(--dark); }
.trust-bar li::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 10px; background: var(--red); border-radius: 50%; vertical-align: middle; }
.hero__actions, .page-hero__text .hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.hero__actions .btn { min-width: 220px; }
.btn--dark { background: var(--dark); color: var(--white); }
.card-row--8 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-row--flat { margin-top: 30px; margin-bottom: 20px; }
.card .card__title { font-size: clamp(20px, 1.6vw, 24px); }
.card p strong { color: var(--red); }
.hero + .trust-bar { position: relative; z-index: 3; }
.hero + .trust-bar + .card-row { margin-top: 40px; }
.section--dark .prose h2, .prose--dark h2, .prose--dark strong { color: var(--white); }
.prose--dark a { color: var(--white); text-decoration: underline; }
.story__text { margin-top: 30px; }
.story__text ul { padding-left: 1.2em; }
.story__text li { margin-bottom: 10px; font-size: 18px; }
.ev-panel { padding: 50px var(--gutter) 20px; }
.ev-panel .prose ul, .ev-panel .prose ol { padding-left: 1.3em; }
.ev-panel .prose li { margin-bottom: 6px; }
.ev-panel .prose h2.type-h3 { margin: 30px 0 14px; }
.ev-panel .prose h2.type-h3:first-child { margin-top: 0; }
.band-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; max-width: 90ch; }
.band-items li { padding: 14px 18px; background: rgba(255,255,255,0.06); border-left: 4px solid var(--red); border-radius: 2px; }
.band-items li strong { color: var(--white); }
.band-items a, .band-outro a, .ev-steps a { color: var(--white); text-decoration: underline; }
.band-outro { margin: 24px 0 0; max-width: 90ch; }
.cols-section { padding: 50px var(--gutter) 10px; }
.cols-section .container > .type-h3 { margin-bottom: 20px; }
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cols .col { padding: 22px 22px 18px; background: var(--gray-100); border-top: 4px solid var(--red); border-radius: 2px; }
.cols .col h3 { margin: 0 0 8px; font-size: 22px; }
.cols .col p { margin: 0; font-size: 15px; }
.quotes { padding: 50px var(--gutter) 40px; }
.quotes .type-h3 { margin: 0 0 24px; }
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.quote { margin: 0; padding: 22px 24px; background: var(--gray-100); border-left: 4px solid var(--red); border-radius: 2px; }
.quote blockquote { margin: 0 0 10px; }
.quote blockquote p { margin: 0; font-size: 16px; line-height: 1.55; }
.quote figcaption { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.04em; font-size: 14px; color: var(--red); }
.quote--big blockquote p { font-size: clamp(20px, 2vw, 26px); font-family: var(--font-head); }
.quotes__more, .areas-card__more, .faq-more, .ev-highlight__link { margin: 20px 0 0; font-weight: 700; }
.faq-more { text-align: center; padding-bottom: 30px; }
.faq-more a, .quotes__more a, .ev-highlight__link a { color: var(--dark); text-decoration: underline; }
.areas-card__more a { color: var(--dark); text-decoration: underline; }
.areas__intro { text-align: center; max-width: 70ch; margin: 0 auto 26px; }
.areas-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.areas-list a { color: inherit; text-decoration: none; }
.areas-list a:hover { color: var(--red); text-decoration: underline; }
.gbp-widget { margin: 0 0 28px; padding: 26px; border: 2px dashed var(--gray-200); border-radius: var(--radius); text-align: center; color: #555; }
.gbp-widget p { margin: 0; }
.map-embed--light { margin-top: 30px; }
.map-embed iframe { width: 100%; height: 380px; border: 0; border-radius: var(--radius); }
.faq-group { margin: 40px 0 16px; }
.faq-group:first-child { margin-top: 0; }
.faq-section--grouped .faq-list { padding: 0 var(--gutter); }
.contact-intro, .contact-fallback { max-width: 70ch; }
.contact-fallback a { color: var(--white); text-decoration: underline; }
.policy .prose h3 { margin: 1.6em 0 0.4em; font-size: clamp(20px, 2vw, 26px); }
.policy .prose h2.type-h3 { margin: 2em 0 0.6em; }
.policy h1 { margin-bottom: 0.6em; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 28px; font-size: 14px; }
.footer-col h2 { font-family: var(--font-head); text-transform: uppercase; font-size: 16px; letter-spacing: 0.05em; color: var(--white); margin: 0 0 10px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 0 0 6px; }
.footer-col a { color: var(--white); text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-brand { font-family: var(--font-head); text-transform: uppercase; font-size: 22px; margin: 0 0 8px; }
.footer-col p { margin: 0 0 8px; }
.site-footer + .trust-bar, .trust-bar + .site-footer { border-top: 0; }
.review-flag { display: inline-block; background: #ffe58a; color: #5a3d00; font: 700 11px/1.4 var(--font-body); text-transform: uppercase; letter-spacing: 0.04em; padding: 2px 6px; border-radius: 3px; vertical-align: middle; }
@media (max-width: 1024px) { .card-row--8 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-cols { grid-template-columns: 1fr 1fr; } .areas-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cols { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .card-row--8 { grid-template-columns: 1fr; } .footer-cols { grid-template-columns: 1fr; } .hero__actions .btn { width: 100%; max-width: none; } .faq-section--grouped .faq-list { padding: 0 20px; } }

/* Contact intro sits centered under the centered heading */
.contact-section .contact-intro { margin: 0 auto 28px; text-align: center; }
.review-widget__more { margin-top: 18px; text-align: center; }
