@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --forest: #063f35;
  --forest-2: #075548;
  --forest-3: #0b6a59;
  --ink: #0b2f2a;
  --cream: #f5efe5;
  --paper: #fffaf2;
  --white: #ffffff;
  --gold: #e8ad2f;
  --gold-2: #f2c65e;
  --line: #d8cdbc;
  --muted: #536661;
  --shadow: 0 24px 80px rgba(4, 48, 40, 0.14);
  --shadow-soft: 0 15px 44px rgba(4, 48, 40, 0.08);
  --radius: 20px;
  --radius-sm: 8px;
  --max: 1220px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -.012em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

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

a { color: inherit; }

button, input, select, textarea { font: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  transform: translateY(-150%);
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--white);
  color: var(--forest);
}

.skip-link:focus { transform: translateY(0); }

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.utility-bar {
  color: rgba(255,255,255,.92);
  background: var(--forest);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.utility-inner {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.utility-inner a {
  color: var(--white);
  text-decoration: none;
  text-transform: none;
  letter-spacing: .02em;
  font-weight: 600;
}

.utility-inner a:hover { color: var(--gold-2); }

.utility-contact {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(245,239,229,.94);
  border-bottom: 1px solid rgba(6,63,53,.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  position: relative;
  min-height: 92px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--forest);
}

.brand::before {
  content: "";
  display: block;
  width: 218px;
  height: 78px;
  background: url("/assets/images/save-our-solar-logo.png") center / contain no-repeat;
}

.brand-mark,
.brand-copy { display: none; }

.desktop-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 32px;
}

.desktop-nav a {
  position: relative;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -.015em;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  background: var(--gold);
  transform-origin: left;
  transition: transform .2s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-cta { white-space: nowrap; }

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 23px;
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.15;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
}

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

.btn-primary {
  color: var(--forest);
  background: var(--gold-2);
  box-shadow: none;
}

.btn-primary:hover { background: var(--gold); box-shadow: none; }

.btn-dark { color: var(--white); background: var(--forest); }
.btn-dark:hover { background: var(--forest-2); }

.btn-outline {
  color: var(--forest);
  border-color: var(--forest);
  background: rgba(255,255,255,.25);
}

.btn-outline:hover { color: var(--white); background: var(--forest); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--forest);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid var(--gold);
}

.menu-toggle {
  display: none;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid rgba(6,63,53,.18);
  border-radius: 50%;
  background: transparent;
  color: var(--forest);
  cursor: pointer;
}

.menu-toggle span {
  width: 21px;
  height: 2px;
  display: block;
  margin: 5px auto;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.menu-open .menu-toggle span:first-child { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:last-child { transform: translateY(-7px) rotate(-45deg); }

.mobile-panel { display: none; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 42px 0 44px;
}

.hero::before {
  content: "";
  position: absolute;
  top: -180px;
  left: -180px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,173,47,.16), transparent 67%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(480px, 1.12fr);
  align-items: center;
  gap: clamp(36px, 5vw, 66px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  color: var(--forest);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 5px;
  height: 30px;
  border-radius: 4px;
  background: var(--gold);
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--forest);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.04em;
}

h1 { max-width: 760px; font-size: clamp(50px, 5.1vw, 70px); }
h2 { font-size: clamp(36px, 3.6vw, 54px); }
h3 { font-size: 22px; line-height: 1.18; letter-spacing: -.03em; }

.hero-copy .lead {
  max-width: 620px;
  margin: 18px 0 0;
  color: #233f3a;
  font-size: clamp(18px, 1.75vw, 21px);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.local-note {
  margin: 14px 0 0;
  color: var(--forest);
  font-size: 14px;
  font-style: italic;
}

.hero-media {
  position: relative;
  min-height: 445px;
}

.hero-photo {
  width: 100%;
  height: 445px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-photo-home { object-position: 58% 50%; }
.hero-photo-rails { object-position: center; }

.trust-strip { color: var(--white); background: var(--forest); }

.trust-grid {
  min-height: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}

.trust-item {
  padding: 0 24px;
  text-align: center;
  font-size: clamp(14px, 1.6vw, 19px);
  font-weight: 600;
}

.trust-item + .trust-item { border-left: 2px solid var(--gold); }

.section { padding: 105px 0; }
.section-tight { padding: 78px 0; }
.home-services { padding: 62px 0 86px; }
.home-services .container { width: min(calc(100% - 40px), 1400px); }
.home-services .section-heading { margin-bottom: 34px; }
.section-paper { background: var(--paper); }
.section-green { color: var(--white); background: var(--forest); }
.section-green h2, .section-green h3, .section-green .eyebrow { color: var(--white); }

.section-heading {
  max-width: 760px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-heading .eyebrow { justify-content: center; }
.section-heading .eyebrow::before { display: none; }

.section-heading p {
  max-width: 640px;
  margin: 15px auto 0;
  color: var(--muted);
  font-size: 18px;
}

.section-green .section-heading p { color: rgba(255,255,255,.75); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 315px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 29px;
  border: 0;
  border-radius: var(--radius-sm);
  background: #f1f1ef;
  box-shadow: none;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  background: #ebebe8;
  box-shadow: none;
}

.icon-wrap {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 27px;
  border-radius: 0;
  color: var(--forest);
  background: transparent;
}

.icon-wrap svg { width: 38px; height: 38px; }
.service-card p { margin: 14px 0 22px; color: #314b46; font-size: 15.5px; line-height: 1.42; }
.service-card .text-link { margin-top: auto; }

.certification-section { padding: 82px 0 90px; background: var(--cream); }
.certification-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); align-items: end; gap: clamp(38px, 7vw, 90px); }
.certification-head .eyebrow { margin-bottom: 16px; }
.certification-head h2 { max-width: 720px; font-size: clamp(36px, 4vw, 54px); }
.certification-head > p { max-width: 520px; margin: 0 0 5px; color: var(--muted); font-size: 18px; }
.certification-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; margin-top: 40px; }
.certification-badge { min-width: 0; min-height: 170px; display: grid; place-items: center; margin: 0; padding: 24px 28px; overflow: hidden; border: 1px solid rgba(6,63,53,.1); border-radius: var(--radius-sm); background: var(--white); box-shadow: var(--shadow-soft); }
.certification-badge img { width: 100%; height: 116px; object-fit: contain; transform-origin: center; }
.certification-badge--tesla img { transform: scale(1.6); }
.certification-badge--pwrpartner img { transform: scale(1.32); }
.certification-badge--generac img { transform: scale(1.48); }
.certification-badge--qcells img { transform: scale(1.32); }

#contact-form { scroll-margin-top: 122px; }

.process-showcase {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 82px 0 116px;
  color: var(--white);
  background: linear-gradient(100deg, rgba(2,54,45,.96), rgba(2,65,54,.93) 52%, rgba(1,45,38,.97)), url('/assets/images/solar-rails.jpg') center 42% / cover;
}

.process-showcase::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(circle at 50% 18%, rgba(17,124,96,.28), transparent 44%), linear-gradient(180deg, rgba(0,0,0,.03), rgba(0,0,0,.22));
}

.process-showcase::after {
  content: "";
  position: absolute;
  z-index: 0;
  bottom: -62px;
  left: -5%;
  width: 110%;
  height: 94px;
  border-top: 7px solid var(--gold-2);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: var(--cream);
}

.process-showcase .container { position: relative; z-index: 1; width: min(calc(100% - 56px), 1540px); }

.process-showcase-heading { max-width: 1200px; margin: 0 auto 48px; text-align: center; }
.process-kicker { display: flex; align-items: center; justify-content: center; gap: 24px; margin: 0 0 20px; color: var(--white); font-size: 15px; font-weight: 800; letter-spacing: .32em; text-transform: uppercase; }
.process-kicker::before, .process-kicker::after { content: ""; width: clamp(70px, 10vw, 145px); height: 2px; background: linear-gradient(90deg, transparent, var(--gold-2)); }
.process-kicker::after { transform: scaleX(-1); }
.process-showcase-heading h2 { color: var(--white); font-size: clamp(42px, 4.2vw, 68px); line-height: 1.04; letter-spacing: -.055em; text-shadow: 0 4px 18px rgba(0,0,0,.22); }
.process-showcase-heading h2 em { position: relative; display: inline-block; color: #ffc61f; font-style: italic; text-shadow: 0 4px 16px rgba(0,0,0,.34); }
.process-showcase-heading h2 em::after { content: ""; position: absolute; right: 2%; bottom: -10px; left: 3%; height: 8px; border-top: 5px solid #ffc61f; border-radius: 50%; transform: rotate(-2deg); }
.process-showcase-heading > p { max-width: 1040px; margin: 28px auto 0; color: rgba(255,255,255,.9); font-size: clamp(18px, 1.7vw, 25px); line-height: 1.45; }

.process-flow { display: grid; grid-template-columns: minmax(0, 1fr) 58px minmax(0, 1fr) 58px minmax(0, 1fr); align-items: center; }
.process-step { min-width: 0; height: 330px; min-height: 330px; display: grid; grid-template-columns: 43% 57%; overflow: hidden; border: 3px solid #f6cf55; border-radius: 26px; background: rgba(0,39,34,.78); box-shadow: 0 0 0 1px rgba(255,232,135,.42), 0 0 24px rgba(255,199,30,.3), inset 0 0 30px rgba(0,0,0,.2); }
.process-step-media { min-width: 0; min-height: 324px; overflow: hidden; border-right: 1px solid rgba(246,207,85,.5); background: #0c3e34; }
.process-step-media > img { width: 100%; height: 100%; object-fit: cover; }
.process-step-media > img[src*="multimeter-reading-240v"] { object-position: 50% center; }
.process-step-media > img[src*="solar-home"] { object-position: 64% center; }
.process-step-media--phone { display: grid; place-items: end center; padding-top: 26px; background: linear-gradient(rgba(1,53,44,.18), rgba(1,53,44,.38)), url('/assets/images/solar-home.jpg') 42% center / cover; }
.phone-mock { position: relative; width: 128px; height: 234px; display: grid; align-content: center; justify-items: center; gap: 20px; padding: 28px 10px 16px; transform: rotate(-7deg) translateY(10px); border: 6px solid #10231f; border-radius: 24px; color: var(--white); background: #f8f6ee; box-shadow: 0 15px 28px rgba(0,0,0,.42); }
.phone-mock img { width: 105px; height: auto; }
.phone-speaker { position: absolute; top: 10px; width: 42px; height: 5px; border-radius: 999px; background: #10231f; }
.phone-call-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: #0b8e45; box-shadow: 0 6px 16px rgba(0,0,0,.2); }
.phone-call-icon svg { width: 29px; height: 29px; }
.process-step-copy { align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding: 30px 26px; }
.process-step-label { margin-bottom: 10px; color: #ffc61f; font-size: 15px; font-weight: 850; letter-spacing: .22em; text-transform: uppercase; }
.process-step h3 { color: var(--white); font-size: clamp(24px, 2vw, 34px); line-height: 1.06; letter-spacing: -.04em; }
.process-step p { margin: 20px 0 0; color: rgba(255,255,255,.88); font-size: 17px; line-height: 1.42; }
.process-arrow { color: #ffc61f; font-size: 58px; font-weight: 900; line-height: 1; letter-spacing: -.3em; text-align: center; text-shadow: 0 0 18px rgba(255,198,31,.45); transform: translateX(-8px); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(50px, 8vw, 100px);
}

.service-fit-split { align-items: start; }

.media-stack { position: relative; padding: 0 28px 28px 0; }
.media-stack::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 0;
  width: 72%;
  height: 72%;
  border-radius: var(--radius);
  background: var(--gold);
}

.media-stack img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 530px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.copy-block > p:not(.eyebrow) { margin: 22px 0 0; color: #314b46; font-size: 18px; }
.copy-block .hero-actions { margin-top: 30px; }

.check-list {
  display: grid;
  gap: 13px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li::before {
  content: "✓";
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: grid;
  place-items: center;
  margin-top: 2px;
  border-radius: 50%;
  color: var(--forest);
  background: var(--gold-2);
  font-size: 13px;
  font-weight: 700;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  padding: clamp(38px, 6vw, 70px);
  border-radius: var(--radius);
  color: var(--white);
  background: var(--forest);
  box-shadow: var(--shadow);
}

.cta-panel::after {
  content: "";
  position: absolute;
  right: -130px;
  bottom: -190px;
  width: 440px;
  height: 440px;
  border: 64px solid rgba(232,173,47,.12);
  border-radius: 50%;
}

.cta-panel h2 { color: var(--white); font-size: clamp(36px, 4vw, 58px); }
.cta-panel p { max-width: 670px; margin: 18px 0 0; color: rgba(255,255,255,.75); }
.cta-panel .hero-actions { position: relative; z-index: 1; margin: 0; }

.about-booking-cta { background: var(--cream); }

.system-callout {
  position: relative;
  isolation: isolate;
  min-height: 250px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(230px, .8fr) minmax(390px, 1.45fr) auto;
  align-items: center;
  gap: clamp(30px, 4vw, 58px);
  padding: 28px clamp(30px, 4vw, 52px);
  border: 1px solid rgba(232,173,47,.22);
  border-radius: 28px;
  color: var(--white);
  background:
    radial-gradient(circle at 16% 0%, rgba(18,112,89,.72), transparent 36%),
    linear-gradient(112deg, #043e34 0%, #064c40 58%, #032f28 100%);
  box-shadow: var(--shadow);
}

.system-callout::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 62%;
  opacity: .22;
  background-image:
    linear-gradient(rgba(242,198,94,.42) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242,198,94,.42) 1px, transparent 1px);
  background-size: 34px 34px;
  transform: skewX(-14deg) scale(1.18);
  transform-origin: right center;
  mask-image: linear-gradient(90deg, transparent, #000 34%);
}

.system-callout::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 11%;
  bottom: -120px;
  width: 360px;
  height: 180px;
  border: 2px solid rgba(242,198,94,.2);
  border-radius: 50%;
}

.callout-notepad {
  align-self: stretch;
  width: min(100%, 285px);
  margin: 2px 0 -58px -12px;
  padding: 26px 24px 72px;
  transform: rotate(-5deg);
  border-radius: 12px 12px 3px 3px;
  color: #173b34;
  background:
    repeating-linear-gradient(to bottom, transparent 0 31px, rgba(47,90,139,.16) 31px 32px),
    #fffaf2;
  box-shadow: 0 18px 40px rgba(0,0,0,.26);
}

.callout-notepad h3 {
  position: relative;
  display: inline-block;
  margin: 0 0 16px;
  color: var(--forest);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.025em;
}

.callout-notepad h3::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--gold);
  transform: rotate(-1deg);
}

.callout-notepad ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.callout-notepad li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; line-height: 1.25; }
.callout-notepad li::before {
  content: "✓";
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  display: grid;
  place-items: center;
  border: 2px solid #4aa536;
  border-radius: 4px;
  color: #2f982c;
  background: rgba(255,255,255,.75);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

.callout-copy { position: relative; z-index: 1; }
.callout-copy h2 { position: relative; display: inline-block; color: var(--white); font-size: clamp(34px, 3.7vw, 54px); line-height: 1.03; }
.callout-copy h2::after {
  content: "";
  position: absolute;
  right: 8%;
  bottom: -15px;
  left: 43%;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  transform: rotate(-1deg);
}
.callout-copy p { max-width: 610px; margin: 26px 0 0; color: rgba(255,255,255,.82); font-size: 18px; line-height: 1.45; }

.callout-booking {
  position: relative;
  z-index: 1;
  min-width: 245px;
  min-height: 96px;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-radius: 24px;
  color: var(--forest);
  background: linear-gradient(135deg, var(--gold-2), #f6b818);
  box-shadow: 0 13px 30px rgba(0,0,0,.25), inset 0 1px rgba(255,255,255,.45);
  text-decoration: none;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.08;
  transition: transform .2s ease, box-shadow .2s ease;
}
.callout-booking:hover { transform: translateY(-3px); box-shadow: 0 17px 34px rgba(0,0,0,.28), inset 0 1px rgba(255,255,255,.45); }
.callout-booking svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.callout-booking strong { font-size: 22px; font-weight: 750; }
.callout-arrow { font-size: 34px; font-weight: 500; }

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 82px;
  color: var(--white);
  background: var(--forest);
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -280px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,173,47,.22), transparent 62%);
}

.page-hero h1 { color: var(--white); font-size: clamp(52px, 7vw, 88px); }
.page-hero p:not(.eyebrow) { max-width: 730px; margin: 23px 0 0; color: rgba(255,255,255,.77); font-size: 21px; }
.page-hero .eyebrow { color: var(--gold-2); }

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.detail-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 25px;
  padding: 34px;
  border: 0;
  border-radius: var(--radius-sm);
  background: #f1f1ef;
}

.detail-card .icon-wrap { margin: 0; }
.detail-card p { margin: 12px 0 0; color: #405650; }

.notice {
  margin-top: 38px;
  padding: 22px 25px;
  border-left: 5px solid var(--gold);
  border-radius: 0 14px 14px 0;
  background: rgba(232,173,47,.11);
  color: #405650;
  font-size: 15px;
}

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card { padding: 34px; border-top: 3px solid var(--gold); border-radius: 0 0 var(--radius-sm) var(--radius-sm); background: #f1f1ef; box-shadow: none; }
.value-card p { margin: 14px 0 0; color: #405650; }

.quote-block {
  padding: 44px;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.quote-block p { margin: 0; color: var(--forest); font-size: clamp(25px, 3vw, 38px); font-weight: 600; line-height: 1.25; letter-spacing: -.03em; }
.quote-block small { display: block; margin-top: 24px; color: var(--muted); }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price-card {
  display: flex;
  flex-direction: column;
  padding: 36px;
  border: 0;
  border-radius: var(--radius-sm);
  background: #f1f1ef;
  box-shadow: none;
}

.price-card.featured { color: var(--white); background: var(--forest); transform: translateY(-12px); }
.price-card.featured h3 { color: var(--white); }
.price-card .kicker { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.price-card .price { margin: 25px 0 0; color: var(--forest); font-size: 46px; font-weight: 600; line-height: 1; letter-spacing: -.05em; }
.price-card.featured .price { color: var(--white); }
.price-card .duration { margin: 8px 0 20px; color: var(--muted); font-size: 14px; }
.price-card.featured .duration, .price-card.featured p { color: rgba(255,255,255,.72); }
.price-card > p { color: #405650; }
.price-card .btn { margin-top: auto; }

.contact-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: stretch;
  gap: clamp(35px, 6vw, 80px);
}

.contact-info { display: flex; flex-direction: column; }
.contact-info > p { margin: 22px 0 0; font-size: 19px; color: #405650; }
.contact-points { display: grid; gap: 19px; margin: 32px 0; }
.contact-point { display: grid; grid-template-columns: 45px 1fr; gap: 15px; align-items: center; }
.contact-point .dot { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 50%; color: var(--forest); background: rgba(232,173,47,.17); font-weight: 700; }
.contact-point small { display: block; color: var(--muted); }
.contact-point a { color: var(--forest); font-weight: 600; text-decoration-color: var(--gold); }
.contact-image { min-height: 290px; margin-top: auto; border-radius: var(--radius-sm); object-fit: cover; }

.form-card {
  padding: clamp(28px, 5vw, 52px);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

#appointment-request { scroll-margin-top: 125px; }
.appointment-form-wrap { max-width: 980px; }
.appointment-form-card { max-width: 900px; margin: 0 auto; }
.request-notice {
  max-width: 900px;
  display: grid;
  gap: 5px;
  margin: -20px auto 24px;
  padding: 18px 22px;
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
  color: #405650;
  background: rgba(232,173,47,.12);
}
.request-notice strong { color: var(--forest); }
.field small { color: var(--muted); font-size: 12px; }
.field-checkbox { display: flex; align-items: flex-start; gap: 12px; color: #405650; font-size: 14px; }
.field-checkbox input { width: 19px; height: 19px; flex: 0 0 auto; margin-top: 2px; accent-color: var(--forest); }

.form-card h2 { font-size: 39px; }
.form-card > p { margin: 13px 0 28px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.field { display: grid; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid #b8afa0;
  border-radius: 12px;
  color: var(--ink);
  background: var(--white);
}
.appointment-form-card .field input:not([type="checkbox"]),
.appointment-form-card .field select { height: 54px; min-height: 54px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--forest); outline: 3px solid rgba(232,173,47,.2); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 24px; }
.form-note { margin: 14px 0 0; color: var(--muted); font-size: 13px; }
.form-status { min-height: 25px; margin: 14px 0 0; color: var(--forest); font-weight: 700; }
.form-status.is-success { color: var(--forest-2); }
.form-status.is-error { color: #9d2c23; }
.form-legal { max-width: 680px; margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.form-legal a { color: var(--forest); font-weight: 600; text-decoration-color: var(--gold); text-underline-offset: 2px; }
.form-legal a:hover { color: var(--forest-2); }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-card button:disabled { cursor: wait; opacity: .65; transform: none; }

.faq { max-width: 850px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 23px 50px 23px 0; cursor: pointer; color: var(--forest); font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; top: 17px; right: 0; font-size: 28px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 45px 24px 0; color: #405650; }

.blog-feature {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: stretch;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--forest);
  box-shadow: var(--shadow);
}
.blog-feature img { width: 100%; height: 100%; min-height: 470px; object-fit: cover; }
.blog-feature-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(38px, 6vw, 68px); color: rgba(255,255,255,.76); }
.blog-feature-copy h2 { color: var(--white); font-size: clamp(34px, 3.6vw, 51px); }
.blog-feature-copy p { margin: 20px 0 28px; }
.blog-label { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--gold-2); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-sm); background: #f1f1ef; }
.blog-card img { width: 100%; height: 225px; object-fit: cover; }
.blog-card-body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 28px; }
.blog-card h3 { font-size: 25px; }
.blog-card p { margin: 14px 0 24px; color: #405650; }
.blog-card .text-link { margin-top: auto; }
.article-hero { padding: 86px 0 58px; }
.article-header { max-width: 900px; }
.article-header h1 { font-size: clamp(46px, 6vw, 76px); }
.article-deck { max-width: 760px; margin: 24px 0 0; color: #405650; font-size: clamp(19px, 2vw, 23px); }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; color: var(--muted); font-size: 14px; }
.article-image { width: min(calc(100% - 40px), var(--max)); height: min(52vw, 590px); margin: 0 auto; border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow-soft); }
.article-shell { width: min(calc(100% - 40px), 820px); margin: 0 auto; padding: 78px 0 105px; }
.article-body { color: #263f3a; font-size: 18px; line-height: 1.72; }
.article-body h2 { margin: 52px 0 18px; font-size: clamp(31px, 3.5vw, 43px); }
.article-body h3 { margin: 36px 0 12px; }
.article-body p { margin: 0 0 22px; }
.article-body ul, .article-body ol { display: grid; gap: 12px; margin: 0 0 28px; padding-left: 24px; }
.article-callout { margin: 38px 0; padding: 25px 28px; border-left: 4px solid var(--gold); border-radius: 0 8px 8px 0; background: rgba(232,173,47,.11); }
.article-callout strong { color: var(--forest); }
.article-next { margin-top: 60px; padding-top: 32px; border-top: 1px solid var(--line); }

.legal-page-hero { padding: 82px 0 72px; }
.legal-page-hero h1 { max-width: 980px; font-size: clamp(50px, 6.8vw, 82px); }
.legal-page { padding: 82px 0 105px; background: var(--paper); }
.legal-shell { width: min(calc(100% - 40px), 930px); }
.legal-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; margin-bottom: 44px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.legal-company { margin: 0; color: var(--forest); font-size: 21px; font-weight: 700; }
.legal-updated { margin: 0; color: var(--muted); font-size: 15px; }
.legal-body { color: #263f3a; font-size: 17px; line-height: 1.72; }
.legal-body > p:first-child { font-size: 20px; color: var(--forest); }
.legal-body section { padding-top: 8px; scroll-margin-top: 125px; }
.legal-body h2 { margin: 54px 0 18px; padding-bottom: 12px; border-bottom: 2px solid rgba(232,173,47,.55); font-size: clamp(28px, 3.4vw, 39px); }
.legal-body h3 { margin: 32px 0 12px; font-size: 22px; }
.legal-body p { margin: 0 0 20px; }
.legal-body ul { display: grid; gap: 8px; margin: 0 0 24px; padding-left: 24px; }
.legal-body li::marker { color: var(--gold); }
.legal-body a { color: var(--forest); font-weight: 600; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.legal-contact-card { display: grid; gap: 8px; margin-top: 24px; padding: 26px 28px; border-left: 4px solid var(--gold); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: #f1f1ef; }
.legal-contact-card > strong { margin-bottom: 4px; color: var(--forest); font-size: 20px; }
.legal-end { margin-top: 58px !important; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

.site-footer { padding: 72px 0 30px; color: rgba(255,255,255,.74); background: #032f28; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .75fr .75fr; gap: 60px; }
.site-footer .brand::before {
  width: 235px;
  height: 94px;
  border-radius: 14px;
  background-color: var(--cream);
  background-size: calc(100% - 24px) auto;
  box-shadow: 0 10px 26px rgba(0,0,0,.14);
}
.footer-blurb { max-width: 440px; margin: 20px 0 0; }
.site-footer h3 { margin-bottom: 18px; color: var(--white); font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
.footer-links { display: grid; gap: 11px; }
.footer-links a { color: rgba(255,255,255,.74); text-decoration: none; }
.footer-links a:hover { color: var(--gold-2); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 65px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }
.footer-bottom a { color: rgba(255,255,255,.74); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.footer-bottom a:hover { color: var(--gold-2); }
.footer-legal-links { display: inline-flex; flex-wrap: wrap; gap: 12px 18px; }

.reveal { opacity: 1; transform: none; }

@media (max-width: 1060px) {
  .header-inner { grid-template-columns: auto 1fr auto; }
  .desktop-nav, .header-cta { display: none; }
  .menu-toggle { position: absolute; top: 50%; right: 0; display: block; transform: translateY(-50%); }
  .mobile-panel {
    position: fixed;
    z-index: 90;
    inset: 132px 0 auto;
    height: calc(100dvh - 132px);
    display: grid;
    align-content: start;
    gap: 5px;
    padding: 25px 20px 40px;
    transform: translateX(105%);
    background: var(--cream);
    transition: transform .25s ease;
  }
  .menu-open .mobile-panel { transform: translateX(0); }
  .mobile-panel a:not(.btn) { padding: 16px 8px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 21px; font-weight: 600; }
  .mobile-panel .btn { margin-top: 20px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero-media, .hero-photo { min-height: 500px; height: 500px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .certification-head { grid-template-columns: 1fr; align-items: start; gap: 20px; }
  .process-showcase .container { width: min(calc(100% - 40px), 900px); }
  .process-flow { grid-template-columns: 1fr; gap: 18px; }
  .process-step { width: 100%; height: auto; min-height: 260px; grid-template-columns: 280px 1fr; }
  .process-step-media { min-height: 254px; }
  .process-arrow { height: 30px; font-size: 50px; transform: rotate(90deg) translateX(-5px); }
  .system-callout { grid-template-columns: minmax(210px, .7fr) 1.3fr; }
  .callout-booking { grid-column: 2; justify-self: start; min-height: 82px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .container { width: min(calc(100% - 28px), var(--max)); }
  .home-services .container { width: min(calc(100% - 28px), var(--max)); }
  .utility-inner { min-height: 38px; }
  .utility-inner span { font-size: 10px; }
  .utility-inner a { font-size: 11px; }
  .utility-inner > * { min-width: 0; }
  .utility-inner a { max-width: 48%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .utility-contact { max-width: 52%; }
  .utility-contact a { max-width: none; overflow: visible; }
  .utility-email { display: none; }
  .header-inner { min-height: 78px; }
  .brand::before { width: 150px; height: 57px; }
  .mobile-panel { inset: 116px 0 auto; height: calc(100dvh - 116px); }
  .hero { padding: 58px 0 62px; }
  h1 { font-size: clamp(44px, 13.2vw, 58px); }
  .hero-copy .lead { font-size: 18px; }
  .hero-actions { display: grid; }
  .hero-actions .btn { width: 100%; }
  .hero-media, .hero-photo { min-height: 380px; height: 380px; }
  .trust-grid { grid-template-columns: 1fr; padding: 14px 0; }
  .trust-item { padding: 12px; }
  .trust-item + .trust-item { border-top: 1px solid rgba(255,255,255,.15); border-left: 0; }
  .section { padding: 76px 0; }
  .section-tight { padding: 58px 0; }
  .section-heading { margin-bottom: 36px; }
  .card-grid, .process-grid, .split, .detail-grid, .values-grid, .pricing-grid, .contact-layout, .footer-grid { grid-template-columns: 1fr; }
  .blog-feature, .blog-grid { grid-template-columns: 1fr; }
  .blog-feature img { min-height: 320px; }
  .blog-card img { height: 210px; }
  .article-hero { padding: 64px 0 44px; }
  .article-image { width: min(calc(100% - 28px), var(--max)); height: 58vw; min-height: 280px; }
  .article-shell { width: min(calc(100% - 28px), 820px); padding: 58px 0 76px; }
  .article-body { font-size: 17px; }
  .legal-page { padding: 58px 0 76px; }
  .legal-shell { width: min(calc(100% - 28px), 930px); }
  .legal-header { display: grid; margin-bottom: 32px; }
  .legal-body { font-size: 16px; }
  .legal-body > p:first-child { font-size: 18px; }
  .legal-body h2 { margin-top: 44px; }
  .legal-contact-card { padding: 22px 18px; overflow-wrap: anywhere; }
  .service-card { min-height: 0; }
  .process-showcase { padding: 64px 0 98px; }
  .process-showcase::after { bottom: -67px; height: 92px; border-top-width: 5px; }
  .process-showcase .container { width: min(calc(100% - 28px), var(--max)); }
  .process-showcase-heading { margin-bottom: 38px; }
  .process-kicker { gap: 12px; margin-bottom: 16px; font-size: 11px; letter-spacing: .22em; }
  .process-kicker::before, .process-kicker::after { width: 38px; }
  .process-showcase-heading h2 { font-size: clamp(37px, 11vw, 51px); }
  .process-showcase-heading > p { margin-top: 24px; font-size: 17px; }
  .process-flow { gap: 14px; }
  .process-step { min-height: 0; grid-template-columns: 1fr; border-width: 2px; border-radius: 20px; }
  .process-step-media { min-height: 220px; height: 220px; border-right: 0; border-bottom: 1px solid rgba(246,207,85,.5); }
  .process-step-media--phone { padding-top: 18px; }
  .phone-mock { width: 112px; height: 204px; gap: 14px; padding: 25px 8px 12px; border-width: 5px; }
  .phone-mock img { width: 90px; }
  .phone-call-icon { width: 50px; height: 50px; }
  .process-step-copy { padding: 25px 23px 28px; }
  .process-step-label { font-size: 13px; }
  .process-step h3 { font-size: 29px; }
  .process-step p { margin-top: 14px; font-size: 16px; }
  .process-arrow { height: 26px; font-size: 44px; }
  .certification-section { padding: 64px 0 72px; }
  .certification-head > p { font-size: 16px; }
  .certification-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 30px; }
  .certification-badge { min-height: 132px; padding: 16px; }
  .certification-badge img { height: 92px; }
  .certification-badge--tesla img { transform: scale(1.35); }
  .certification-badge--pwrpartner img { transform: scale(1.16); }
  .certification-badge--generac img { transform: scale(1.28); }
  .certification-badge--qcells img { transform: scale(1.18); }
  .split { gap: 44px; }
  .media-stack img { height: 390px; }
  .detail-card { grid-template-columns: 1fr; }
  .pricing-grid { gap: 18px; }
  .price-card.featured { transform: none; }
  .cta-panel { grid-template-columns: 1fr; gap: 27px; }
  .cta-panel .hero-actions { display: grid; }
  .system-callout { grid-template-columns: 1fr; gap: 30px; padding: 28px 22px 32px; border-radius: 20px; }
  .system-callout::before { inset: 52% 0 0 0; }
  .callout-notepad { width: 100%; max-width: 330px; margin: -4px auto 0; padding-bottom: 28px; transform: rotate(-2deg); }
  .callout-copy { text-align: center; }
  .callout-copy h2 { font-size: clamp(34px, 10.5vw, 46px); }
  .callout-copy h2::after { right: 12%; left: 12%; }
  .callout-copy p { margin-top: 25px; font-size: 16px; }
  .callout-booking { grid-column: auto; width: 100%; min-width: 0; min-height: 86px; justify-self: stretch; }
  .page-hero { padding: 72px 0 65px; }
  .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .form-card { padding: 27px 20px; }
  .footer-grid { gap: 38px; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; margin-top: 45px; }
}

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