.solar-hero { position: relative; isolation: isolate; display: grid; align-items: end; min-height: clamp(540px, 62vw, 750px); padding: 140px 0 clamp(48px, 8vw, 100px); background: var(--deep); color: #fff; overflow: hidden; }
.solar-hero-image, .solar-hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.solar-hero-image { z-index: -2; object-fit: cover; object-position: center 44%; }
@media (prefers-reduced-motion: no-preference) {
  .solar-hero-image { animation: solar-hero-zoom 4.8s ease-out both; transform-origin: 59% 44%; }
}
@keyframes solar-hero-zoom {
  from { transform: scale(1.045); }
  to { transform: scale(1); }
}
.solar-hero::after { content: ""; z-index: -1; background: linear-gradient(90deg, #111e 0%, #111b 31%, #1112 62%, transparent 100%), linear-gradient(0deg, #1118, transparent 52%); }
.solar-hero-content nav { display: flex; gap: 8px; margin-bottom: clamp(24px, 5vw, 62px); font-size: .875rem; }
.solar-label { margin: 0 0 8px; color: #925007; font-weight: 850; }
.solar-hero .solar-label { color: var(--lime); font-size: .9rem; letter-spacing: .11em; }
.solar-hero h1 { max-width: 10.5ch; margin: 0 0 16px; font-size: clamp(3rem, 7.5vw, 7rem); line-height: .99; letter-spacing: -.067em; }
.solar-hero-copy > p:not(.solar-label) { max-width: 43ch; margin-bottom: 24px; color: #f0f0f0; font-size: clamp(1rem, 2vw, 1.22rem); line-height: 1.55; }
.solar-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.solar-actions a:not(.button) { text-decoration: underline; text-underline-offset: 4px; }
.solar-section { --solar-section-space: clamp(29px, 4.5vw, 60px); padding: 0 0 var(--solar-section-space); background: var(--paper); }
.solar-section + .solar-section > .wrap { padding-top: var(--solar-section-space); border-top: 1px solid var(--line); }
.solar-section h2 { margin: 0 0 14px; font-size: clamp(1.95rem, 4.2vw, 3.45rem); line-height: 1.08; letter-spacing: -.05em; }
.solar-section h3 { margin: 0 0 8px; font-size: clamp(1.25rem, 2.5vw, 1.8rem); line-height: 1.14; letter-spacing: -.025em; }
.solar-section p { max-width: 63ch; color: var(--muted); line-height: 1.65; }
.solar-section a:not(.button) { text-decoration: underline; text-underline-offset: 3px; }
.solar-contact-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(24px, 5vw, 60px); align-items: start; }
.solar-section .solar-small { font-size: .875rem; }
.solar-specs summary { cursor: pointer; font-weight: 800; }
.solar-specs dl div { padding: 7px 0; border-bottom: 1px solid var(--line); }
.solar-specs dt { font-weight: 750; }
.solar-specs dd { margin: 3px 0 0; color: var(--muted); }
.solar-inverters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; margin-top: 30px; }
.solar-battery-link { margin: 18px 0 0; }
@media (max-width: 760px) {
  .solar-hero::after { background: linear-gradient(90deg, #111e, #1118), linear-gradient(0deg, #111b, transparent 65%); }
  .solar-contact-grid, .solar-inverters { grid-template-columns: minmax(0, 1fr); }
}

.solar-packages { scroll-margin-top: 18px; padding-top: var(--solar-section-space); }
.solar-package-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.solar-package-visual { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; background: transparent; }
.solar-package-copy { display: flex; flex: 1; flex-direction: column; padding: clamp(18px, 3vw, 32px); }
.solar-package-title { margin-bottom: 10px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 15px; }
.solar-package-title h3 { margin: 0; }
.solar-package-title b { color: #de6000; font-size: 1.65rem; }
.solar-package-card .solar-package-description { min-height: 3.3em; margin: 0 0 12px; }
.solar-package-facts { display: grid; gap: 4px; margin: 0; padding: 0 0 12px; list-style: none; font-size: .93rem; line-height: 1.4; }
.solar-package-comparison { display: grid; gap: 9px; margin: auto 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); }
.solar-package-comparison dt { font-weight: 800; }
.solar-package-comparison dd { margin: 2px 0 0; color: var(--muted); line-height: 1.45; }
@media (max-width: 650px) {
  .solar-package-card .solar-package-description { min-height: 0; }
}

.solar-hero-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 410px); align-items: center; gap: clamp(24px, 6vw, 76px); }
.solar-hero-form { scroll-margin-top: 18px; }
.solar-hero-form h2 { margin-top: 0; }
.solar-hero-offer { display: grid; gap: 4px; margin: 0 0 22px; padding-left: 13px; border-left: 3px solid var(--coral); }
.solar-hero-offer strong { font-size: clamp(1.1rem, 2vw, 1.45rem); line-height: 1.2; }
.solar-hero-offer span { color: #f0f0f0; }
.solar-hero-offer .solar-hero-price { color: var(--lime); }
.solar-contact-grid > .button { justify-self: start; }
@media (max-width: 760px) {
  .solar-hero-content { grid-template-columns: minmax(0, 1fr); }
}
.solar-package-next { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; margin-top: 24px; }
.solar-yield, .solar-package-quote { min-width: 0; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: 14px; }
.solar-yield { background: #fafafa; }
.solar-yield h3, .solar-package-quote h3 { margin-bottom: 10px; font-size: clamp(1.2rem, 2vw, 1.55rem); }
.solar-yield p { margin-bottom: 10px; }
.solar-yield .solar-yield-value { margin-bottom: 8px; color: var(--ink); line-height: 1.15; }
.solar-yield-value strong { color: #de6000; font-size: clamp(1.7rem, 3vw, 2.45rem); letter-spacing: -.04em; }
.solar-yield-source { display: inline-block; margin-top: 3px; color: var(--muted); font-size: .875rem; }
.solar-package-quote { display: flex; flex-direction: column; align-items: flex-start; }
.solar-package-quote p { margin-bottom: 16px; }
.solar-package-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: auto; }
.solar-package-warranty { margin-top: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.solar-package-warranty summary { cursor: pointer; font-weight: 800; }
.solar-package-warranty p { margin: 10px 0 6px; }
.solar-package-warranty ul { margin: 0 0 5px; padding-left: 20px; line-height: 1.55; }
.solar-package-warranty li + li { margin-top: 5px; }
@media (max-width: 760px) {
  .solar-package-next { grid-template-columns: minmax(0, 1fr); }
}
.solar-battery-option { display: flex; gap: 9px; align-items: center; min-height: 40px; margin: 0 0 15px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 7px; font-size: .875rem; font-weight: 750; cursor: pointer; }
.solar-battery-option:has(input:checked) { border-color: var(--coral); background: #fff7f0; }
.solar-battery-option input { flex: 0 0 auto; width: 16px; height: 16px; margin: 0; accent-color: var(--coral); }
.solar-battery-option input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

#dakscan { scroll-margin-top: 18px; }
.solar-scan-call { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.solar-scan-form { min-width: 0; padding: clamp(20px, 4vw, 34px); border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.solar-scan-form h3 { margin-bottom: 15px; }
.solar-scan-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 15px; }
.solar-scan-fields label { display: grid; gap: 5px; font-size: .875rem; font-weight: 750; }
.solar-scan-fields input, .solar-scan-fields select { width: 100%; min-width: 0; min-height: 42px; padding: 7px 9px; border: 1px solid #dedede; border-radius: 7px; color: var(--ink); background: var(--paper); font: inherit; }
.solar-scan-form .solar-small { margin: 11px 0 0; }
.solar-scan-result { margin-top: 14px; padding: 13px; border-left: 3px solid var(--coral); background: #f7f7f7; }
.solar-scan-result p { margin: 0 0 6px; color: var(--ink); font-weight: 750; }
.solar-scan-result a { font-size: .875rem; font-weight: 750; }
.solar-hero-form > .solar-scan-quote-note { margin-bottom: 9px; color: var(--ink); font-weight: 750; }
@media (max-width: 440px) {
  .solar-scan-fields { grid-template-columns: minmax(0, 1fr); }
}
.solar-value-intro { max-width: 820px; }
.solar-value-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 5vw, 60px); margin: 24px 0 16px; }
.solar-value-grid article { padding-top: 14px; border-top: 1px solid var(--line); }
.solar-value-grid article p { margin-bottom: 12px; }
.solar-value-grid article a { font-weight: 750; }
.solar-value > .wrap > .solar-small { margin-bottom: 0; }
@media (max-width: 760px) {
  .solar-value-grid { grid-template-columns: minmax(0, 1fr); }
}
.solar-projects { padding-block: clamp(24px, 4vw, 42px); background: #f7f3ef; }
.solar-projects-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 14px; }
.solar-projects-heading h2 { margin: 0; font-size: clamp(1.35rem, 2.6vw, 2rem); }
.solar-project-gallery { overflow: hidden; border-radius: 12px; }
.solar-gallery-track { display: flex; width: max-content; animation: solar-project-loop 100s linear infinite; animation-play-state: paused; }
.solar-project-gallery.is-visible:not(.is-paused):not(:hover):not(:focus-within) .solar-gallery-track { animation-play-state: running; }
.solar-gallery-set { display: flex; flex: 0 0 auto; gap: 10px; padding-right: 10px; }
.solar-gallery-set img { display: block; flex: none; width: clamp(210px, 25vw, 302px); aspect-ratio: 17 / 10; height: auto; object-fit: cover; border-radius: 9px; background: #e8e1d9; }
.solar-projects .solar-gallery-toggle { padding: 7px 12px; min-height: 36px; border: 1px solid #e1d1c0; border-radius: 7px; background: #fff; color: #352b23; font: inherit; font-size: .85rem; font-weight: 750; cursor: pointer; }
.solar-gallery-toggle:focus-visible { outline: 2px solid #a34700; outline-offset: 2px; }
@keyframes solar-project-loop { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .solar-project-gallery:not(.allows-motion) { overflow-x: auto; }
  .solar-project-gallery:not(.allows-motion) .solar-gallery-track { animation: none; }
  .solar-project-gallery:not(.allows-motion) .solar-gallery-set[aria-hidden="true"] { display: none; }
}

.pitched-projects .solar-gallery-track { animation-duration: 48s; }
.pitched-projects .solar-gallery-set img { aspect-ratio: 4 / 3; }
.pitched-projects img[src$="dakproject-woning.jpg"] { object-position: center 35%; }

.solar-projects { scroll-margin-top: 100px; }
.airco-projects .solar-gallery-track { animation-duration: 58s; }
.airco-projects .solar-gallery-set img { width: clamp(220px, 28vw, 340px); height: clamp(275px, 34vw, 410px); aspect-ratio: auto; object-fit: contain; object-position: center; background: #eee8e1; }
.airco-project-list { margin-top: 16px; }
.airco-project-list summary { width: fit-content; padding: 9px 14px; border: 1px solid #e1d1c0; border-radius: 8px; background: #fff; color: #352b23; font-weight: 750; cursor: pointer; }
.airco-project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 12px; margin-top: 16px; }
.airco-project-grid figure { margin: 0; }
.airco-project-grid a { display: block; }
.airco-project-grid img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: contain; object-position: center; border-radius: 9px; background: #eee8e1; }
.airco-project-grid figcaption { margin-top: 5px; }
