/* SOLARVISOR — advisory and service refinement */
:root {
  --gold: #d6aa59;
  --gold-ink: #7e591f;
  --gold-light: #fbf6eb;
  --navy-deep: #0d223d;
  --radius: 18px;
}
html { scroll-padding-top: 104px; }
.site-header { height: 90px; backdrop-filter: blur(16px); }
.header-inner { gap: 24px; }
.brand { width: 212px; }
.nav { gap: 25px; }
.nav a { white-space: nowrap; }
.nav .nav-service { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 7px; }
.header-cta { background: var(--navy); border-color: var(--navy); color: white; }
.header-cta:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: white; }
.hero { padding-top: 62px; background: linear-gradient(150deg, #f1f5fa 0%, #fff 72%); }
.hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 54px; }
h1 { font-size: clamp(2.8rem, 4.5vw, 4.25rem); }
.hero-copy > p { max-width: 500px; font-size: 1.0625rem; }
.hero-visual { height: 560px; padding: 0 0 25px; }
.hero-image { border-radius: 22px 78px 22px 22px; box-shadow: 0 22px 50px #172c4b0b; }
.image-label { background: #fff; padding: 9px 15px; border-radius: 5px; }
.hero-float { width: 320px; left: -24px; padding: 22px 24px; border-top: 2px solid var(--gold); }
.float-icon { color: var(--gold); border-color: #66809a; }
.hero-service-link { display: flex; align-items: center; gap: 13px; margin-top: 28px; max-width: 470px; padding: 17px 0; border-top: 1px solid var(--line); }
.hero-service-icon { display: grid; place-items: center; width: 37px; height: 37px; background: #f6ecda; color: var(--gold-ink); border-radius: 10px; flex: 0 0 auto; }
.hero-service-link > span:nth-child(2) { min-width: 0; }
.hero-service-link strong { display: block; font-size: .875rem; line-height: 1.45; font-weight: 650; }
.hero-service-link span span { display: block; font-size: .8125rem; line-height: 1.5; color: var(--muted); margin-top: 4px; }
.hero-service-link > .icon { margin-left: auto; width: 18px; height: 18px; color: var(--navy); transition: transform .2s; }
.hero-service-link:hover > .icon { transform: translateX(4px); }
.hero-service-link:hover strong { color: var(--blue); }
.audience-bar { margin-top: 36px; padding: 30px 0; }
.audiences span { font-weight: 550; }
.audiences .icon { color: var(--navy); }
.section { padding: 88px 0; }
.section-heading { margin-bottom: 36px; }
.eyebrow:before { width: 22px; flex-shrink: 0; }
.service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.service { display: flex; flex-direction: column; padding: 26px 23px; border-color: #e0e7ef; background: #fff; transition: transform .25s, box-shadow .25s, border-color .25s; }
.service:hover { transform: translateY(-5px); box-shadow: 0 16px 40px #122b490a; border-color: #a9bdda; }
.service-top { gap: 10px; margin-bottom: 30px; }
.service-icon { width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0; }
.service-icon .icon { width: 22px; height: 22px; }
.service-number { font-size: .75rem; letter-spacing: .035em; text-align: right; line-height: 1.5; }
.service h3 { font-size: 1.35rem; line-height: 1.35; letter-spacing: -.03em; margin-bottom: 16px; }
.service p { font-size: .9375rem; line-height: 1.8; margin-bottom: 18px; }
.service .check-list { margin: 0 0 27px; }
.service .check-list li { font-size: .875rem; gap: 8px; }
.service .text-link { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); gap: 10px; width: 100%; font-size: .875rem; }
.service .text-link .icon { margin-left: auto; }
.service--repair { background: var(--navy); border-color: var(--navy); color: white; }
.service--repair:hover { border-color: var(--navy); box-shadow: 0 16px 35px #122b4926; }
.service--repair .service-icon { background: #314257; color: var(--gold); }
.service--repair .service-number { color: #e1bd7d; }
.service--repair p { color: #c2cddd; }
.service--repair .check-list li { color: #e2eaf4; }
.service--repair .check-list .icon { color: var(--gold); }
.service--repair .text-link { color: #f2cb81; border-color: #3d516c; }
.services-foot { padding-top: 20px; }

/* The service chapter */
.repair-section { padding: 82px 0 64px; background: #f2f5f8; border-top: 1px solid #e6ebf2; border-bottom: 1px solid #e6ebf2; }
.repair-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 74px; align-items: start; }
.repair-copy .eyebrow:before { background: var(--gold); }
.repair-copy h2 { font-size: clamp(2rem, 2.75vw, 2.65rem); line-height: 1.23; letter-spacing: -.045em; margin-top: 18px; }
.repair-lead { color: #57677b; font-size: 1rem; line-height: 1.85; margin: 24px 0 27px; max-width: 550px; }
.repair-options { display: grid; gap: 21px; margin-bottom: 30px; }
.repair-options > div { display: flex; gap: 15px; align-items: flex-start; }
.repair-options > div > .icon { color: var(--blue); margin-top: 4px; width: 22px; height: 22px; }
.repair-options h3 { font-size: 1rem; font-weight: 700; margin: 0 0 4px; letter-spacing: -.02em; }
.repair-options p { color: var(--muted); font-size: .9375rem; margin: 0; line-height: 1.7; max-width: 450px; }
.repair-note { font-size: .75rem; line-height: 1.75; color: var(--muted); margin: 14px 0 0; max-width: 445px; }
.repair-aside { min-width: 0; padding-top: 5px; }
.repair-photo { margin: 0; position: relative; border-radius: 18px 56px 0 0; overflow: hidden; }
.repair-photo img { width: 100%; aspect-ratio: 4/3; height: auto; object-fit: cover; }
.repair-photo figcaption { position: absolute; bottom: 16px; left: 16px; right: 16px; width: fit-content; max-width: calc(100% - 32px); padding: 8px 13px; background: #fffffff0; color: var(--navy); border-radius: 5px; font-size: .75rem; line-height: 1.5; }
.repair-preparation { background: #fff; border: 1px solid #e0e7ef; border-top: 3px solid var(--gold); padding: 26px 29px 24px; border-radius: 0 0 18px 18px; }
.preparation-heading > span { font-size: .75rem; letter-spacing: .12em; font-weight: 650; color: var(--gold-ink); }
.preparation-heading h3 { font-size: 1.3rem; letter-spacing: -.025em; margin: 6px 0 15px; }
.repair-preparation ul { list-style: none; padding: 0; margin: 0; }
.repair-preparation li { display: flex; align-items: flex-start; gap: 9px; font-size: .875rem; line-height: 1.65; margin: 9px 0; }
.repair-preparation .icon { width: 15px; height: 15px; margin-top: 4px; color: var(--blue); }
.repair-preparation > p { font-size: .75rem; line-height: 1.7; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; margin: 18px 0 0; }
.repair-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; border-top: 1px solid #d6dfe9; padding-top: 30px; margin-top: 48px; }
.repair-steps > div { display: flex; gap: 16px; }
.repair-steps > div > span { width: 34px; height: 34px; border: 1px solid #c6d3e2; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; font-size: .75rem; color: var(--blue); }
.repair-steps p { font-size: .875rem; line-height: 1.75; color: var(--muted); margin: 0; }
.repair-steps strong { display: block; color: var(--navy); font-size: .875rem; font-weight: 650; margin-bottom: 3px; }

/* Keep the original calm palette, with clearer section rhythm. */
.municipal-section { padding: 88px 0; }
.municipal { border-radius: 22px 22px 64px 22px; background: linear-gradient(125deg, #142f50, #102641); box-shadow: 0 16px 38px #1126410c; }
.municipal .eyebrow:before { background: var(--gold); }
.municipal .scope-line > span { color: #e1bd7d; }
.grant-section { padding: 0 0 88px; background: white; }
.grant-card { background: #f6f8fc; box-shadow: none; }
.grant-step > span { background: white; border: 1px solid #d3dff1; }
.process-grid { gap: 32px; }
.process-step { padding: 27px 25px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.process-step h3 { font-size: 1.25rem; line-height: 1.5; }
.process-num { font-size: .75rem; letter-spacing: .025em; }
.approach { border-left-color: var(--gold); }
.faq-grid { gap: 70px; }
.faq-list summary:hover { color: var(--blue); }
.faq-list details[open] { background: #f7f9fc; }
.faq-list details { padding-left: 15px; padding-right: 15px; border-radius: 2px; }
.faq-list details p { padding-right: 15px; }
.contact { border-top: 3px solid var(--gold); }
.contact h2 { font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1.24; }
.contact-email:not(a):hover { color: inherit; }
.footer-brand { font-size: 1.5rem; }

@media (max-width: 1200px) {
  .brand { width: 185px; }
  .header-inner { gap: 20px; }
  .nav { gap: 19px; }
  .header-cta { gap: 10px; padding: 10px 14px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .service { padding: 29px; }
  .service h3 { font-size: 1.5rem; }
  .service-top { margin-bottom: 23px; }
  .repair-layout { gap: 45px; }
}
@media (max-width: 1050px) {
  .header-cta { display: none; }
  .hero-grid { gap: 36px; }
  .hero-visual { height: 555px; }
  .hero-float { width: 285px; left: -16px; padding: 20px; }
  .hero-float strong { font-size: 1rem; }
  .repair-layout { gap: 32px; }
  .repair-copy h2 { font-size: 2rem; }
  .repair-preparation { padding: 24px; }
  .repair-steps { gap: 20px; }
}
@media (max-width: 980px) {
  html { scroll-padding-top: 90px; }
  .site-header { height: 78px; }
  .brand { width: 195px; }
  .menu-toggle { display: flex; flex-shrink: 0; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 78px; padding: 14px 28px 24px; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 14px 24px #122b490a; flex-direction: column; align-items: stretch; gap: 0; }
  .nav.open { display: flex; }
  .nav a { padding: 11px 0; font-size: 1rem; white-space: normal; }
  .nav .nav-service { text-decoration: none; color: var(--blue); }
  .hero { padding-top: 45px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: 30px; }
  h1 { font-size: 2.9rem; }
  .hero-copy > p { font-size: 1rem; }
  .hero-visual { height: 570px; }
  .hero-service-link { align-items: flex-start; gap: 10px; }
  .hero-service-link > .icon { margin-top: 9px; }
  .hero-service-link span span { font-size: .75rem; }
  .service { display: flex; }
  .service h3, .service p, .service-top, .service .check-list { grid-column: auto; grid-row: auto; }
  .service .text-link { margin-top: auto; }
  .repair-options { gap: 18px; }
  .repair-photo img { aspect-ratio: 1/1; object-position: 51% center; }
  .repair-steps > div { gap: 10px; }
  .repair-steps > div > span { width: 29px; height: 29px; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 40px); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 27px; }
  .hero { padding-top: 35px; }
  h1 { font-size: clamp(2.5rem, 8.4vw, 3.7rem); margin-top: 20px; }
  .hero-copy > p { max-width: 600px; }
  .hero-service-link { max-width: 560px; margin-top: 23px; padding-bottom: 0; align-items: center; }
  .hero-service-link > .icon { margin-top: 0; }
  .hero-visual { height: 430px; margin-left: 12px; padding-bottom: 20px; }
  .hero-image { border-radius: 18px 54px 18px 18px; object-position: 55% 50%; }
  .hero-float { left: -12px; bottom: 0; width: 305px; padding: 19px 21px; }
  .audience-bar { margin-top: 22px; padding: 25px 0; flex-direction: column; gap: 15px; align-items: flex-start; }
  .audiences { justify-content: flex-start; gap: 22px; }
  .section { padding: 62px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 19px; }
  .section-heading > p { justify-self: start; max-width: 600px; }
  .service-grid { gap: 14px; }
  .service { padding: 24px; }
  .service h3 { font-size: 1.35rem; }
  .service-top { margin-bottom: 21px; }
  .service-number { font-size: .75rem; }
  .repair-section { padding: 58px 0 48px; }
  .repair-layout { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .repair-copy h2 { font-size: clamp(2rem, 5.8vw, 2.6rem); max-width: 600px; }
  .repair-lead { margin: 20px 0 25px; }
  .repair-options { gap: 20px; }
  .repair-options p { max-width: none; }
  .repair-note { max-width: 500px; }
  .repair-photo img { aspect-ratio: 4/3; }
  .repair-preparation { padding: 25px; }
  .repair-steps { grid-template-columns: 1fr; gap: 22px; margin-top: 32px; padding-top: 28px; }
  .repair-steps > div { gap: 16px; }
  .repair-steps > div > span { width: 34px; height: 34px; }
  .municipal-section { padding: 62px 0; }
  .municipal { grid-template-columns: 1fr; gap: 30px; padding: 32px 28px; border-radius: 18px 18px 46px 18px; }
  .grant-section { padding: 0 0 60px; }
  .grant-grid { grid-template-columns: 1fr; gap: 28px; }
  .process-grid { grid-template-columns: 1fr; gap: 15px; margin-top: 28px; }
  .process-step { padding: 23px 24px; }
  .process-step h3 { font-size: 1.375rem; margin: 12px 0 9px; }
  .faq-grid { grid-template-columns: 1fr; gap: 22px; }
  .contact { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .service-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .service { padding: 26px; }
  .service h3 { font-size: 1.55rem; }
  .service p { margin-bottom: 16px; }
  .service .check-list { margin-bottom: 22px; }
  .service .text-link { padding-top: 17px; }
  .services-foot { flex-direction: column; gap: 5px; font-size: .75rem; }
  .hero-visual { height: 360px; }
  .hero-float { width: min(292px, 100%); padding: 17px 18px; gap: 13px; }
  .hero-float strong { font-size: .9375rem; }
  .hero-service-link strong { font-size: .8125rem; }
  .hero-service-link > .icon { width: 16px; height: 16px; }
  .hero-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
  .hero-actions .button { font-size: .9375rem; min-height: 51px; }
  .hero-actions .button-secondary { background: transparent; }
  .audiences { gap: 14px 20px; }
  .audiences span { font-size: .875rem; }
  .repair-photo { border-radius: 16px 38px 0 0; }
  .repair-copy .button { width: 100%; gap: 14px; font-size: .875rem; padding-left: 14px; padding-right: 14px; }
  .repair-preparation { padding: 24px 21px; }
  .preparation-heading h3 { font-size: 1.25rem; }
  .repair-steps p, .repair-steps strong { font-size: .875rem; }
  .municipal { padding: 30px 24px; }
  .municipal h2 { font-size: 2rem; }
  .municipal .button { gap: 14px; font-size: .875rem; }
  .grant-card { padding: 24px; }
  .grant-card-head { flex-wrap: wrap; gap: 12px; }
  .faq-list details { padding-left: 0; padding-right: 0; }
  .contact { padding: 30px 24px; }
  .contact h2 { font-size: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .service:hover, .hero-service-link:hover > .icon { transform: none; }
}

/* Clear package comparison in the existing navy and gold palette. */
.nav { gap: 18px; }
.packages-section { background: #f2f5f9; }
.packages-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; align-items: stretch; }
.package-card { display: flex; flex-direction: column; padding: 28px 24px; background: #122b49; color: #fff; border: 1px solid #29425e; border-radius: 22px; min-width: 0; }
.package-card--featured { background: linear-gradient(155deg,#3c3a30 0%,#122b49 55%); border-color: #d6aa59; box-shadow: 0 12px 32px #122b4914; }
.package-marker { height: 60px; display: flex; align-items: flex-start; margin-bottom: 16px; }
.package-icon { background: #d6aa59; color: #122b49; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; }
.package-icon .icon { width: 25px; height: 25px; }
.package-badge { color: #f1ca81; border: 1px solid #a48143; border-radius: 30px; padding: 7px 11px; font-size: .875rem; line-height: 1.4; }
.package-card h3 { color: #fff; font-size: 1.35rem; line-height: 1.3; letter-spacing: -.03em; margin: 0 0 14px; }
.package-price { font-size: 2.5rem; font-weight: 750; letter-spacing: -.045em; line-height: 1.2; margin: 0 0 20px; white-space: nowrap; }
.package-price span { color: #bdc9d6; font-size: 1rem; letter-spacing: 0; font-weight: 600; }
.package-description { color: #c6d1de; font-size: 1rem; line-height: 1.65; margin: 0 0 22px; }
.package-features { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 18px; }
.package-features li { display: flex; align-items: flex-start; gap: 10px; color: #c6d1de; font-size: 1rem; line-height: 1.55; }
.package-features .icon { flex-shrink: 0; width: 17px; height: 17px; margin-top: 4px; color: #f1ca81; background: #ffffff0d; border-radius: 50%; }
.package-cta { margin-top: auto; min-height: 54px; padding: 12px 10px; display: flex; align-items: center; justify-content: center; text-align: center; color: white; border: 1px solid #aebdce; border-radius: 10px; font-size: .875rem; font-weight: 650; line-height: 1.4; text-decoration: none; transition: background .2s; }
.package-cta:hover { background: #ffffff14; }
.package-card--featured .package-cta { background: #d6aa59; border-color: #d6aa59; color: #10243c; }
.package-card--featured .package-cta:hover { background: #ebc681; }
.package-cta:focus-visible { outline: 3px solid #f1ca81; outline-offset: 4px; }
.packages-note { font-size: .875rem; line-height: 1.65; color: #58687b; margin: 22px 0 0; }
.packages-service { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid #d4deea; margin-top: 30px; padding-top: 26px; }
.packages-service strong { font-size: 1.125rem; }
.packages-service p { margin: 6px 0 0; color: #58687b; font-size: 1rem; }
.packages-service .text-link { white-space: nowrap; }
.package-selection { padding: 12px 16px; border-left: 3px solid #d6aa59; background: #ffffff10; color: #fff; font-weight: 600; }
@media (min-width: 981px) and (max-width: 1200px) { .nav { gap: 12px; } .nav a { font-size: .875rem; } .header-inner { gap: 16px; } .brand { width: 175px; } .header-cta { font-size: .875rem; padding: 12px; } }
@media (max-width: 1100px) { .packages-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; } }
@media (max-width: 600px) { .packages-grid { grid-template-columns: minmax(0,1fr); } .package-card { padding: 28px; } .package-marker { height: auto; min-height: 40px; } .packages-service { align-items: flex-start; flex-direction: column; gap: 16px; } }
