/* G6 Power website. One stylesheet, no build step.
   Colors: deep navy for trust, voltage yellow for action, warm sandstone for the Utah feel. */
:root {
  --ink: #0e1726;
  --navy: #13233a;
  --navy-2: #1b3050;
  --volt: #ffc21a;
  --volt-dark: #e0a800;
  --sand: #f6f1e8;
  --rock: #b5532a;
  --line: #e3ddd1;
  --text: #1f2a3a;
  --muted: #5b6676;
  --white: #ffffff;
  --radius: 16px;
  --display: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --body: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.005em;
  color: var(--ink);
}

h1 {
  font-size: clamp(44px, 7.4vw, 84px);
  font-weight: 800;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(32px, 4.6vw, 52px);
  text-transform: uppercase;
}

h3 {
  font-size: 26px;
}

p {
  margin: 0;
}

.wrap {
  width: min(1160px, 100% - 40px);
  margin-inline: auto;
}

.wrap.narrow {
  width: min(820px, 100% - 40px);
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--volt);
  color: var(--ink);
  border-radius: 8px;
}

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

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 20px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: 700 16px/1 var(--body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: none;
}

.btn-lg {
  min-height: 58px;
  padding: 14px 26px;
  font-size: 18px;
}

.btn-volt {
  background: var(--volt);
  color: var(--ink);
}

.btn-volt:hover {
  background: #ffd04d;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.btn-ghost:hover {
  border-color: var(--white);
}

.btn-ghost-dark {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--white);
}

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

.btn-ink:hover {
  background: var(--navy-2);
}

/* ---------- top bar and header ---------- */
.topbar {
  background: var(--ink);
  color: #c9d3e2;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.topbar-in {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 0;
}

.topbar-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--volt);
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(8px);
}

.header-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font: 800 28px/1 var(--display);
  letter-spacing: 0.03em;
  color: var(--ink);
}

.brand-tag {
  margin-top: 3px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 26px;
}

.nav a {
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
}

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

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-btn {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1100px 520px at 85% -10%, #27456f 0%, transparent 60%), var(--navy);
  color: var(--white);
}

/* Circuit-trace pattern drawn with gradients, so there is no image to load. */
.hero-traces {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(90deg, rgba(255, 194, 26, 0.9) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px;
  mask-image: linear-gradient(115deg, transparent 20%, #000 60%, transparent 95%);
  -webkit-mask-image: linear-gradient(115deg, transparent 20%, #000 60%, transparent 95%);
}

.hero-in {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: center;
  padding: 72px 0 84px;
}

.eyebrow {
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--volt);
}

.eyebrow.dark {
  color: var(--rock);
}

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

.hl {
  color: var(--volt);
}

.lead {
  max-width: 34em;
  margin-top: 20px;
  font-size: 19px;
  color: #d5deea;
}

.region {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.region-label {
  font-size: 14px;
  font-weight: 600;
  color: #b9c5d6;
}

.region-toggle {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.region-btn {
  min-height: 40px;
  padding: 8px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #d5deea;
  font: 600 14px/1 var(--body);
  cursor: pointer;
}

.region-btn.is-on {
  background: var(--white);
  color: var(--ink);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  font-weight: 600;
  color: #d5deea;
}

.hero-points li::before {
  content: '';
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 9px;
  border-radius: 2px;
  background: var(--volt);
  transform: rotate(45deg) translateY(-1px);
}

/* Quote card */
.ticket {
  padding: 22px;
  border-radius: 20px;
  background: var(--white);
  color: var(--text);
  box-shadow: 0 30px 60px rgba(4, 10, 20, 0.45);
  transform: rotate(1.5deg);
}

.ticket-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--ink);
}

.ticket-title {
  font: 800 26px/1 var(--display);
  text-transform: uppercase;
  color: var(--ink);
}

.ticket-badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--sand);
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.ticket-scope {
  margin: 14px 0 10px;
  font-size: 15px;
  color: var(--muted);
}

.ticket-lines {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
}

.ticket-lines li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}

.ticket-lines span:last-child {
  font-weight: 700;
  white-space: nowrap;
}

.ticket-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 3px solid var(--ink);
}

.ticket-foot strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
}

.ticket-foot span {
  font-size: 13px;
  color: var(--muted);
}

.ticket-sign {
  flex: none;
  padding: 9px 12px;
  border-radius: 10px;
  background: var(--volt);
  font-weight: 700;
  font-size: 13px !important;
  color: var(--ink) !important;
}

/* ---------- trust strip ---------- */
.trust {
  background: var(--volt);
}

.trust-in {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 8px;
  color: var(--ink);
}

.trust-item svg {
  width: 34px;
  height: 34px;
  flex: none;
  fill: var(--ink);
}

.trust-num {
  font: 800 40px/1 var(--display);
  white-space: nowrap;
}

.trust-text {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

/* ---------- sections ---------- */
.section {
  padding: 84px 0;
}

.section.sand {
  background: var(--sand);
}

.section.navy {
  background: var(--navy);
  color: #d5deea;
}

.section.navy h2,
.section.navy h3 {
  color: var(--white);
}

.section-lead {
  max-width: 40em;
  margin-top: 14px;
  font-size: 19px;
  color: var(--muted);
}

/* ---------- service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(14, 23, 38, 0.12);
}

.card-body {
  padding: 22px;
}

.card-body p {
  margin: 8px 0 14px;
  color: var(--muted);
}

.ticks {
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 600;
  font-size: 16px;
}

.ticks li {
  position: relative;
  padding: 7px 0 7px 28px;
  border-top: 1px solid var(--line);
}

.ticks li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 14px;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--rock);
  border-bottom: 3px solid var(--rock);
  transform: rotate(-45deg);
}

/* Photo slots. Until a real photo is added, they show a labeled placeholder. */
.photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--navy);
  overflow: hidden;
}

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

.photo.is-empty {
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 14px, transparent 14px 28px),
    var(--navy);
}

.photo.is-empty::after {
  content: attr(data-label);
  padding: 8px 14px;
  border: 1px dashed rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #d5deea;
  text-align: center;
}

/* ---------- troubleshooting band ---------- */
.band {
  background: var(--rock);
  color: #fff3ea;
}

.band-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 56px 0;
}

.band h2 {
  max-width: 18em;
  color: var(--white);
  font-size: clamp(28px, 3.8vw, 42px);
}

.band p:not(.eyebrow) {
  max-width: 38em;
  margin-top: 12px;
}

.band .eyebrow {
  color: #ffe2a3;
}

/* ---------- steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.steps li {
  position: relative;
  padding: 22px 18px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}

.step-n {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--volt);
  font: 800 26px/1 var(--display);
}

.steps h3 {
  font-size: 22px;
}

.steps p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted);
}

/* ---------- gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 36px;
}

.gallery .photo {
  border-radius: 12px;
  aspect-ratio: 1;
  cursor: zoom-in;
}

.gallery .photo.is-empty {
  cursor: default;
}

.gallery .photo:nth-child(1),
.gallery .photo:nth-child(6),
.gallery .photo:nth-child(7),
.gallery .photo:nth-child(8) {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(6, 10, 18, 0.92);
  cursor: zoom-out;
}

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 10px;
}

/* ---------- service area ---------- */
.areas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 40px;
}

.area {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.area-map {
  width: 92px;
  flex: none;
}

.area-map .ut {
  fill: rgba(255, 255, 255, 0.08);
  stroke: rgba(255, 255, 255, 0.5);
  stroke-width: 2;
  stroke-linejoin: round;
}

.area-map .pin {
  fill: var(--volt);
  stroke: var(--navy);
  stroke-width: 3;
}

.area p {
  margin: 6px 0 10px;
}

.area-phone {
  font: 800 34px/1 var(--display);
  color: var(--volt);
  text-decoration: none;
}

.area-phone:hover {
  text-decoration: underline;
}

/* ---------- FAQ ---------- */
.faq {
  margin-top: 32px;
  border-top: 2px solid var(--ink);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: '+';
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sand);
  font-size: 22px;
  font-weight: 500;
}

.faq details[open] summary::after {
  content: '\2212';
  background: var(--volt);
}

.faq details p {
  padding: 0 48px 22px 0;
  color: var(--muted);
}

/* ---------- quote form ---------- */
.quote {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.quote-copy p:not(.eyebrow) {
  margin-top: 14px;
  color: var(--muted);
}

.quote-phones {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.quote-phones a {
  font: 800 34px/1 var(--display);
  color: var(--ink);
  text-decoration: none;
}

.quote-phones a span {
  display: block;
  margin-bottom: 4px;
  font: 700 12px/1 var(--body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rock);
}

.quote-mail {
  display: inline-block;
  margin-top: 20px;
  font-weight: 600;
}

.form,
.form-done {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(14, 23, 38, 0.08);
}

.form label {
  display: block;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.form input:not([type='radio']),
.form textarea {
  display: block;
  width: 100%;
  min-height: 50px;
  margin-top: 6px;
  padding: 12px 14px;
  border: 1.5px solid #cfc8ba;
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font: 400 16px/1.4 var(--body);
}

.form textarea {
  resize: vertical;
}

.form input:focus,
.form textarea:focus {
  outline: 3px solid var(--volt);
  outline-offset: 1px;
  border-color: var(--ink);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}

.opt {
  font-weight: 500;
  color: var(--muted);
}

.hp {
  position: absolute;
  left: -9999px;
}

.chips {
  margin: 0 0 16px;
  padding: 0;
  border: 0;
}

.chips legend {
  margin-bottom: 8px;
  padding: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.chips label {
  display: inline-block;
  margin: 0 6px 6px 0;
}

.chips input {
  position: absolute;
  opacity: 0;
}

.chips span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 18px;
  border: 1.5px solid #cfc8ba;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}

.chips input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.chips input:focus-visible + span {
  outline: 3px solid var(--volt);
  outline-offset: 2px;
}

.form .btn {
  width: 100%;
}

.form-note {
  margin-top: 12px;
  font-size: 13px;
  text-align: center;
  color: var(--muted);
}

.form-error {
  margin-bottom: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fdecea;
  color: #8f1d14;
  font-size: 14px;
  font-weight: 600;
}

.form-done {
  text-align: center;
  padding: 48px 28px;
}

.form-done svg {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  fill: #1c8a4c;
}

.form-done p {
  margin-top: 8px;
  color: var(--muted);
}

/* ---------- footer ---------- */
.footer {
  padding: 56px 0 96px;
  background: var(--ink);
  color: #b9c5d6;
  font-size: 15px;
}

.footer-in {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer .brand-name {
  color: var(--white);
}

.footer .brand-tag {
  color: #8f9db1;
}

.foot-small {
  margin-top: 16px;
  font-size: 14px;
}

.footer h4 {
  margin-bottom: 10px;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--volt);
}

.footer p {
  margin-bottom: 6px;
}

.footer a {
  text-decoration: none;
}

.footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.foot-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

/* ---------- phone call bar ---------- */
.callbar {
  display: none;
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px 20px 16px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 14px 0;
    border-top: 1px solid var(--line);
    font-size: 17px;
  }

  .menu-btn {
    display: block;
  }

  .hero-in {
    grid-template-columns: 1fr;
    padding: 48px 0 60px;
  }

  .ticket {
    max-width: 440px;
    transform: none;
  }

  .trust-in {
    grid-template-columns: 1fr 1fr;
  }

  .cards,
  .areas {
    grid-template-columns: 1fr;
  }

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

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

  .band-in {
    flex-direction: column;
    align-items: flex-start;
  }

  .quote {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-in {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
    padding-bottom: 76px;
  }

  .section {
    padding: 56px 0;
  }

  .brand-tag {
    display: none;
  }

  .header .btn-volt .js-call-text {
    display: none;
  }

  .header .btn-volt {
    width: 48px;
    padding: 0;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .trust-item {
    padding: 16px 4px;
  }

  .trust-num {
    font-size: 32px;
  }

  .steps,
  .form-row,
  .footer-in {
    grid-template-columns: 1fr;
  }

  .area {
    padding: 20px;
    gap: 16px;
  }

  .area-map {
    width: 64px;
  }

  .area-phone,
  .quote-phones a {
    font-size: 30px;
  }

  .form,
  .form-done {
    padding: 20px;
  }

  .topbar-in {
    font-size: 11px;
    gap: 8px;
  }

  .callbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--ink);
  }

  .callbar .btn {
    min-height: 52px;
    padding: 10px 12px;
    font-size: 15px;
  }
}

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

  .btn,
  .card {
    transition: none;
  }
}
