/* IE Solar Savings site styles (mobile-first) */

:root {
  --navy: #0b1730;
  --ink: #0a0a0a;
  --orange: #ff6a00;
  --orange2: #ff7a00;
  --gold: #ffb21e;
  --sun: #ffd43b;
  --bg: #fff;
  --soft: #f5f7fb;
  --muted: #4b5568;
  --line: #d9dee8;
  --ok: #0f8a3c;
  --bad: #b42318;
  --r: 16px;
}

* {
  box-sizing: border-box;
}

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

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

body {
  margin: 0;
  font-family: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  font-size: 17px;
  padding-bottom: 84px;
}

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

a {
  color: #0b4fb3;
}

h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}

h2 {
  font-size: clamp(26px,5.5vw,36px);
  font-weight: 900;
}

h3 {
  font-size: 19px;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
}

.narrow {
  max-width: 760px;
}

.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  padding: 8px 12px;
  z-index: 50;
}

.skip:focus {
  left: 8px;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--navy);
  border-bottom: 3px solid var(--orange);
}

.topbar .row {
  min-height: 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
}

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

.wordmark b {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -.5px;
}

.wordmark i {
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 4px;
  color: var(--orange2);
}

.call {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 16px;
  min-height: 44px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  background: linear-gradient(180deg,var(--orange2),var(--orange));
  color: #fff;
  border: 0;
  border-radius: 14px;
  padding: 14px 22px;
  font-weight: 800;
  font-size: 18px;
  text-decoration: none;
  cursor: pointer;
  min-height: 52px;
  box-shadow: 0 6px 18px rgba(255,106,0,.35);
  transition: transform .08s;
}

.btn:hover {
  filter: brightness(1.05);
}

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

.btn.block {
  display: flex;
  width: 100%;
  margin-top: 14px;
}

.btn.big {
  font-size: 19px;
  min-height: 58px;
  padding: 16px 26px;
}

.btn.center {
  display: flex;
  width: max-content;
  max-width: 100%;
  margin: 22px auto 0;
}

.btn:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  padding: 22px 0 28px;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 40%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,rgba(11,23,48,.72) 0%,rgba(11,23,48,.82) 45%,rgba(11,23,48,.97) 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
}

.eyebrow {
  color: var(--sun);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .06em;
  margin: 0 0 6px;
}

h1 {
  font-size: clamp(34px,9vw,58px);
  font-weight: 900;
  margin: 0 0 10px;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}

h1 span {
  color: var(--gold);
}

.sub {
  font-size: 18px;
  margin: 0 0 10px;
  color: #e8edf7;
  max-width: 560px;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-points li {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 15px;
}

.hero-points b {
  color: var(--sun);
}

.card {
  background: #fff;
  color: var(--ink);
  border-radius: var(--r);
  box-shadow: 0 14px 40px rgba(11,23,48,.18);
  padding: 20px;
  border: 1px solid var(--line);
}

.estimator {
  border: 0;
  box-shadow: 0 18px 50px rgba(0,0,0,.4);
}

.calc-title {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 8px;
  scroll-margin-top: 80px;
}

.billrow {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.billval {
  font-size: 44px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -1px;
}

.billval small {
  font-size: 18px;
  color: var(--muted);
  font-weight: 700;
}

.billtype {
  display: flex;
  align-items: center;
  gap: 2px;
  font-weight: 800;
  color: var(--muted);
  margin: 0;
}

.billtype input {
  width: 96px;
  padding: 10px;
  font-size: 18px;
  font-weight: 800;
  border: 2px solid var(--line);
  border-radius: 10px;
  text-align: right;
}

input[type=range] {
  width: 100%;
  height: 44px;
  accent-color: var(--orange);
  margin: 4px 0 6px;
  cursor: pointer;
}

input[type=range]::-webkit-slider-thumb {
  width: 30px;
  height: 30px;
}

.ba {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: stretch;
  margin-top: 8px;
}

.ba>div:not(.arrow) {
  border-radius: 12px;
  padding: 12px;
}

.ba span {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .03em;
}

.ba b {
  font-size: clamp(22px,6vw,28px);
  font-weight: 900;
  display: block;
  line-height: 1.15;
}

.ba .before {
  background: #fff1f0;
}

.ba .before b {
  color: var(--bad);
}

.ba .after {
  background: #eafaf0;
}

.ba .after b {
  color: var(--ok);
}

.ba .arrow {
  align-self: center;
  font-size: 24px;
  color: var(--orange);
  font-weight: 900;
}

.est-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}

.est-grid div {
  background: var(--soft);
  border-radius: 12px;
  padding: 10px 12px;
}

.est-grid span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.est-grid b {
  font-size: 20px;
}


.fine {
  font-size: 12.5px;
  color: var(--muted);
  margin: 10px 0 0;
}

.trust {
  background: var(--ink);
  color: #fff;
  border-bottom: 3px solid var(--gold);
}

.trust-list {
  list-style: none;
  margin: 0 auto;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
  font-weight: 700;
  font-size: 15px;
}

.trust-list li {
  display: flex;
  gap: 8px;
  align-items: center;
}

.trust-list li:last-child {
  grid-column: 1/-1;
}

#quote {
  scroll-margin-top: 70px;
  padding-top: 24px;
  padding-bottom: 8px;
}

.form-card {
  max-width: 640px;
  margin: 0 auto;
  border-top: 6px solid var(--orange);
}

.progress {
  height: 10px;
  background: #e9edf3;
  border-radius: 9px;
  overflow: hidden;
}

#bar {
  height: 100%;
  width: 16%;
  background: linear-gradient(90deg,var(--gold),var(--orange));
  transition: width .3s;
}

.stepcount {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin: 6px 0 10px;
}

fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  display: none;
}

fieldset.active {
  display: block;
}

legend {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 6px;
  color: var(--navy);
}

.steplead {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 15px;
}

label {
  display: block;
  font-weight: 700;
  margin: 14px 0 6px;
}

input:not([type=checkbox]):not([type=range]) {
  width: 100%;
  padding: 14px;
  font-size: 18px;
  border: 2px solid #b9c2d3;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  min-height: 52px;
}

input:focus {
  outline: 3px solid var(--gold);
  border-color: var(--orange);
}

.choices {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(140px,1fr));
  gap: 8px;
}

.choices button {
  min-height: 54px;
  padding: 12px 10px;
  font-size: 16px;
  border: 2px solid #b9c2d3;
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
}

.choices button.sel {
  border-color: var(--orange);
  background: #fff4ea;
  box-shadow: inset 0 0 0 1px var(--orange);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  gap: 10px;
}

.back {
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 16px;
  cursor: pointer;
  min-height: 44px;
  padding: 0 6px;
  font-weight: 600;
}

.money {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 22px;
  font-weight: 800;
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.consent {
  display: flex;
  gap: 10px;
  font-weight: 400;
  font-size: 12.5px;
  color: #334155;
  align-items: flex-start;
  margin-top: 16px;
  line-height: 1.45;
}

.consent input {
  margin-top: 2px;
  width: 24px;
  height: 24px;
  flex: none;
  accent-color: var(--orange);
}

.hint {
  font-size: 15px;
  color: var(--muted);
}

.err {
  color: var(--bad);
  font-size: 15px;
  font-weight: 600;
}

.hidden {
  display: none !important;
}

.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.muted {
  color: var(--muted);
}

.booking {
  border-top: 2px dashed var(--line);
  margin-top: 18px;
  padding-top: 12px;
}

.booking h2 {
  font-size: 23px;
  margin: 6px 0;
}

.dates {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
}

.dates button {
  flex: none;
  scroll-snap-align: start;
  min-width: 76px;
  min-height: 60px;
  padding: 10px 8px;
  border: 2px solid #b9c2d3;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  color: var(--ink);
}

.dates button span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 700;
}

.dates button b {
  font-size: 16px;
}

.dates button.sel,
.slots button.sel {
  border-color: var(--orange);
  background: #fff4ea;
  box-shadow: inset 0 0 0 1px var(--orange);
}

.slots {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 8px;
}

.slots button {
  min-height: 50px;
  padding: 12px 6px;
  border: 2px solid #b9c2d3;
  border-radius: 12px;
  background: #fff;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  color: var(--ink);
}

.slots button:disabled {
  opacity: .35;
  text-decoration: line-through;
  cursor: not-allowed;
}

.link-btn {
  display: block;
  margin: 10px auto 0;
  background: none;
  border: 0;
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
  font-size: 15px;
  min-height: 44px;
}

.confirm {
  text-align: center;
}

.confirm .check {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--ok);
  color: #fff;
  font-size: 32px;
  line-height: 60px;
  margin: 8px auto;
}

.confirm .when {
  font-size: 23px;
  font-weight: 900;
  color: var(--orange);
  margin: 6px 0;
}

#result h2,
#thanks h2 {
  margin-top: 0;
  color: var(--navy);
}

.section {
  padding: 44px 0;
}

.how {
  background: var(--soft);
}

.steps3 {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 12px;
}

.steps3 li {
  background: #fff;
  border-radius: var(--r);
  padding: 18px;
  border: 1px solid var(--line);
  position: relative;
  padding-left: 72px;
}

.steps3 li b {
  position: absolute;
  left: 18px;
  top: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 900;
}

.steps3 h3 {
  margin: 0 0 4px;
}

.steps3 p {
  margin: 0;
  color: var(--muted);
}

.learn-grid {
  display: grid;
  gap: 22px;
  align-items: start;
}

.learn-img img {
  border-radius: var(--r);
  aspect-ratio: 1/1;
  object-fit: cover;
  width: 100%;
}

.facts {
  display: grid;
  gap: 12px;
  margin-bottom: 6px;
}

.facts div {
  border-left: 5px solid var(--orange);
  background: var(--soft);
  padding: 12px 14px;
  border-radius: 0 12px 12px 0;
}

.facts h3 {
  margin: 0 0 4px;
}

.facts p {
  margin: 0;
  color: #2b3445;
  font-size: 16px;
}

details {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 12px;
  margin: 10px 0;
}

summary {
  font-weight: 800;
  cursor: pointer;
  padding: 14px 16px;
  min-height: 52px;
  list-style: none;
  position: relative;
  padding-right: 40px;
}

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

summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 10px;
  font-size: 24px;
  color: var(--orange);
  font-weight: 900;
}

details[open] summary::after {
  content: "–";
}

details p {
  margin: 0;
  padding: 0 16px 14px;
  color: #2b3445;
}

.foot {
  background: var(--navy);
  color: #c7d0e0;
  font-size: 13px;
  padding: 26px 0 30px;
}

.foot a {
  color: #fff;
}

.foot img {
  margin-bottom: 8px;
}

.about {
  background: var(--soft);
}

.ident {
  display: grid;
  gap: 8px;
  margin: 14px 0 22px;
}

.ident div {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ident dt {
  font-weight: 800;
  min-width: 120px;
}

.ident dd {
  margin: 0;
}

textarea {
  width: 100%;
  padding: 14px;
  font-size: 17px;
  border: 2px solid #b9c2d3;
  border-radius: 12px;
  font-family: inherit;
}

.contact-form .btn {
  margin-top: 8px;
}

.footnav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

.footnav a {
  color: #fff;
  font-weight: 600;
}

.stickycta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(11,23,48,.96);
  box-shadow: 0 -6px 20px rgba(0,0,0,.25);
  transform: translateY(0);
  transition: transform .2s;
}

.stickycta .btn {
  margin: 0;
}

.stickycta.off {
  transform: translateY(110%);
}


body[data-page] {
  padding-bottom: 0;
}

body[data-page] #quote {
  margin-top: 16px;
  min-height: 60vh;
}

@media (max-width:899px) {
  .dsk {
    display: none;
  }
  .btn.big {
    padding: 16px 12px;
    font-size: 18px;
  }
  h1 {
    font-size: clamp(30px,8.4vw,40px);
  }
  .sub {
    font-size: 17px;
  }
  .hero {
    padding: 16px 0 22px;
  }
  .hero-grid {
    gap: 14px;
  }
  .billval {
    font-size: 38px;
  }
  .calc-title {
    font-size: 18px;
  }
  .estimator {
    padding: 16px;
  }
}

@media (min-width:900px) {
  body {
    padding-bottom: 0;
  }
  .stickycta {
    display: none;
  }
  .hero {
    padding: 48px 0 56px;
  }
  .hero::after {
    background: linear-gradient(90deg,rgba(11,23,48,.94) 0%,rgba(11,23,48,.78) 50%,rgba(11,23,48,.35) 100%);
  }
  .hero-grid {
    grid-template-columns: 1.1fr .9fr;
    gap: 40px;
    align-items: center;
  }
  .sub {
    font-size: 20px;
  }
  .trust-list {
    grid-template-columns: repeat(5,auto);
    justify-content: space-between;
  }
  .trust-list li:last-child {
    grid-column: auto;
  }
  .steps3 {
    grid-template-columns: repeat(3,1fr);
  }
  .steps3 li {
    padding: 22px;
    padding-top: 76px;
  }
  .steps3 li b {
    top: 22px;
    left: 22px;
  }
  .learn-grid {
    grid-template-columns: 420px 1fr;
    gap: 40px;
  }
  .section {
    padding: 64px 0;
  }
}

.confirm-title {
  font-size: 22px;
  color: var(--navy);
  margin: 0 0 6px;
}

.policy {
  padding-top: 28px;
}

.policy h1 {
  font-size: 32px;
  color: var(--navy);
  margin: 0 0 4px;
}

.policy h2 {
  font-size: 21px;
  color: var(--navy);
  margin: 30px 0 8px;
  scroll-margin-top: 80px;
}

.policy h3 {
  margin: 0 0 6px;
}

.policy p,
.policy li {
  font-size: 16.5px;
  line-height: 1.6;
}

.policy ul {
  padding-left: 20px;
}

.policy li {
  margin: 0 0 8px;
}

.policy .eff {
  color: #475569;
  margin: 0 0 18px;
}

.policy .callout {
  background: #fff7e6;
  border-left: 5px solid var(--orange);
  padding: 14px 16px;
  border-radius: 10px;
  margin: 16px 0;
}

.policy .toc {
  display: grid;
  gap: 6px;
  background: var(--soft);
  padding: 14px 16px;
  border-radius: 12px;
  margin: 18px 0;
}

.policy .toc a {
  font-weight: 600;
}

.policy .optout {
  border: 2px solid var(--navy);
  border-radius: 14px;
  padding: 16px;
  margin: 22px 0;
  background: #fff;
}

.policy .optout .btn {
  width: 100%;
}

@media(min-width:700px) {
  .policy .toc {
    grid-template-columns: 1fr 1fr;
  }
  .policy .optout .btn {
    width: auto;
  }
}

.policy h1 {
  text-shadow: none;
}
