:root {
  --navy: #10283f;
  --navy-deep: #071b2d;
  --blue: #155b8c;
  --sun: #f4b942;
  --sun-soft: #fff1c7;
  --sky: #eaf4f8;
  --paper: #f7f7f3;
  --white: #fff;
  --ink: #142333;
  --muted: #526476;
  --line: #d8e1e6;
  --container: 1180px;
  --radius: 22px;
  --shadow: 0 18px 50px rgba(9, 35, 57, .1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Trebuchet MS", "Segoe UI", sans-serif; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; color: var(--navy-deep); line-height: 1.04; letter-spacing: -.025em; }
h1 { max-width: 13ch; font-size: clamp(3rem, 6.7vw, 6.25rem); }
h2 { max-width: 14ch; font-size: clamp(2.4rem, 4.8vw, 4.6rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 2rem); }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.section { padding: clamp(80px, 10vw, 140px) 0; }
.eyebrow, .section-kicker { color: var(--blue); font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading > p:last-child { max-width: 660px; color: var(--muted); font-size: 1.08rem; }
.button { min-height: 56px; display: inline-flex; align-items: center; justify-content: center; padding: 15px 24px; border: 1px solid transparent; border-radius: 999px; font-weight: 800; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary, .btn-primary { color: var(--navy-deep); background: var(--sun); box-shadow: 0 12px 28px rgba(244, 185, 66, .25); }
.button--primary:hover { background: #ffc95f; }
.button--secondary { color: var(--navy); border-color: rgba(16, 40, 63, .24); background: var(--white); }
.text-link { color: var(--blue); font-weight: 800; text-decoration: underline; text-underline-offset: 5px; }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--sun); outline-offset: 4px; }

.site-header { position: sticky; top: 0; z-index: 20; color: var(--white); background: rgba(7, 27, 45, .96); backdrop-filter: blur(12px); }
.site-header__inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; }
.site-brand svg { width: 34px; fill: none; stroke: var(--sun); stroke-width: 2.4; }
.site-header nav { display: flex; align-items: center; gap: 24px; font-size: .9rem; font-weight: 700; }
.header-cta { padding: 10px 17px; border-radius: 999px; color: var(--navy-deep); background: var(--sun); }

.solar-hero { position: relative; overflow: hidden; padding: clamp(62px, 8vw, 110px) 0; background: linear-gradient(135deg, var(--sky), var(--paper) 58%); }
.solar-hero::before { content: ""; position: absolute; width: 420px; height: 420px; top: -250px; left: -160px; border-radius: 50%; background: var(--sun-soft); }
.solar-hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(38px, 7vw, 88px); align-items: center; }
.solar-hero__lede { max-width: 60ch; color: var(--muted); font-size: clamp(1.06rem, 1.5vw, 1.24rem); }
.solar-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0; }
.solar-hero__facts { display: flex; flex-wrap: wrap; gap: 10px 24px; padding: 20px 0 0; margin: 0; border-top: 1px solid var(--line); list-style: none; color: var(--muted); font-size: .84rem; font-weight: 700; }
.solar-hero__facts li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: var(--sun); }
.solar-hero__media { margin: 0; }
.solar-hero__media img { width: 100%; min-height: 560px; object-fit: cover; border-radius: 160px 24px 24px 24px; box-shadow: var(--shadow); }
.solar-hero__media figcaption { margin-top: 10px; color: var(--muted); font-size: .72rem; }

.solar-services { background: var(--white); }
.solar-services__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.solar-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.solar-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.solar-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.solar-card:hover img { transform: scale(1.035); }
.solar-card__body { padding: 24px; }
.solar-card__body p { min-height: 6.4em; color: var(--muted); }

.solar-process { color: var(--white); background: var(--navy-deep); }
.solar-process h2, .solar-process h3 { color: var(--white); }
.solar-process .eyebrow { color: var(--sun); }
.solar-process .section-heading p:last-child, .solar-process__steps p { color: #bfd0dd; }
.solar-process__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(50px, 9vw, 130px); }
.solar-process__steps { padding: 0; margin: 0; list-style: none; }
.solar-process__steps li { display: grid; grid-template-columns: 50px 1fr; gap: 22px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.18); }
.solar-process__steps > li > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--navy-deep); background: var(--sun); font-size: .7rem; font-weight: 800; }
.solar-process__steps p { margin-bottom: 0; }

.solar-proof { background: var(--sky); }
.solar-proof__grid { display: grid; grid-template-columns: 1.1fr .9fr .9fr; gap: 18px; }
.solar-proof figure { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.solar-proof img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.solar-proof figcaption { padding: 16px 20px; font-weight: 800; }

.solar-contact { background: var(--white); }
.solar-contact__panel { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; padding: clamp(34px, 6vw, 70px); border-radius: 32px; color: var(--white); background: var(--navy); }
.solar-contact h2 { color: var(--white); }
.solar-contact p:not(.eyebrow) { color: #d6e2ea; }
.solar-contact .eyebrow { color: var(--sun); }
.solar-contact__actions { display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 14px; }
.solar-contact__actions .button--secondary { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.solar-contact__actions .text-link { color: var(--white); text-align: center; }

.hero { padding: 80px 0 40px; background: var(--sky); }
.hero-inner, .service-copy { max-width: 850px; margin-inline: auto; }
.hero-image img { width: 100%; max-height: 460px; object-fit: cover; border-radius: var(--radius); }
.services.section { background: var(--white); }
.service-copy { text-align: left; }
.service-copy p, .service-copy li { color: var(--muted); }
.service-copy ul { margin-bottom: 36px; }
.contact-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { min-height: 52px; display: inline-flex; align-items: center; padding: 14px 22px; border-radius: 999px; font-weight: 800; }

.site-footer { padding: 44px 0; color: #c8d6df; background: var(--navy-deep); }
.site-footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; }
.site-footer__grid > div { display: flex; flex-direction: column; gap: 6px; }
.site-footer strong { color: var(--white); font-family: Georgia, serif; font-size: 1.3rem; }
.site-footer p { margin-bottom: 0; }

@media (max-width: 900px) {
  .solar-hero__grid, .solar-process__grid, .solar-contact__panel { grid-template-columns: 1fr; }
  .solar-hero__media img { min-height: 420px; border-radius: 90px 20px 20px; }
  .solar-services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .solar-proof__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .site-header nav a:not(.header-cta) { display: none; }
  .site-brand span { font-size: .9rem; }
  .header-cta { font-size: .78rem; }
  .solar-hero__media img { min-height: 300px; }
  .solar-hero__actions, .contact-actions { flex-direction: column; }
  .solar-hero__actions .button { width: 100%; }
  .solar-services__grid, .solar-proof__grid, .site-footer__grid { grid-template-columns: 1fr; }
  .solar-card__body p { min-height: auto; }
  .solar-contact__panel { padding: 30px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; }
}
