:root {
  --ink: #162026;
  --muted: #5c6972;
  --line: #dde5e8;
  --paper: #ffffff;
  --soft: #f4f7f8;
  --blue: #1167d8;
  --green: #1f9d66;
  --amber: #f3a712;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
section[id] { scroll-margin-top: 96px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.site-header__inner,
.section__inner,
.site-footer__inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand { display: inline-flex; width: 230px; }
.brand__logo { width: 100%; height: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: .96rem;
}

.site-nav__whatsapp,
.site-footer__whatsapp {
  color: #0f8f5f;
  font-weight: 800;
}

.site-nav__whatsapp {
  padding: 8px 12px;
  border: 1px solid rgba(15,143,95,.25);
  border-radius: 8px;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  color: #fff;
  background: #128c5e;
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(15,28,35,.22);
  font-weight: 800;
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  color: #fff;
  background: var(--blue);
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.button--ghost {
  color: var(--ink);
  background: transparent;
  border: 1px solid rgba(255,255,255,.72);
}

.hero {
  min-height: calc(100vh - 128px);
  display: grid;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(8,18,24,.94) 0%, rgba(8,18,24,.78) 44%, rgba(8,18,24,.24) 100%),
    url("/site-assets/hero-ev-solar.png") center/cover no-repeat;
}

.hero__content {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 96px;
}

.hero__copy { max-width: 650px; }

.eyebrow {
  margin: 0 0 14px;
  color: #bdebd4;
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 8vw, 5.8rem);
  line-height: .95;
  letter-spacing: 0;
  text-shadow: 0 2px 20px rgba(0,0,0,.36);
}

.hero h1 span { display: block; }

.hero p {
  max-width: 580px;
  margin: 22px 0 0;
  color: #fff;
  font-size: 1.16rem;
  text-shadow: 0 1px 14px rgba(0,0,0,.42);
}

.promo-price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 10px 14px;
  background: rgba(5,13,18,.52);
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 8px;
  font-weight: 800;
}

.promo-price strong,
.quote-panel strong,
.booking-price strong { color: #1f9d66; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero .button--ghost {
  color: #fff;
  background: rgba(5,13,18,.34);
  border-color: rgba(255,255,255,.82);
  text-shadow: 0 1px 10px rgba(0,0,0,.38);
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 660px;
  margin-top: 42px;
}

.hero__fact {
  padding: 16px;
  background: rgba(5,13,18,.44);
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 8px;
  backdrop-filter: blur(6px);
}

.hero__fact strong {
  display: block;
  font-size: 1.36rem;
}

.section { padding: 84px 0; }
.section--soft { background: var(--soft); }

.section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 32px;
}

.section__head h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.04;
}

.section__head p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
}

.service-card,
.step,
.check-item,
.quote-panel,
.booking-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card { min-height: 280px; padding: 28px; }
.service-card--primary { color: #fff; background: #0f2734; }

.service-card__tag {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 10px;
  color: var(--ink);
  background: #e8f6ef;
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 800;
}

.service-card--primary .service-card__tag {
  color: #fff;
  background: rgba(31,157,102,.3);
}

.service-card h3 { margin: 0; font-size: 1.7rem; }
.service-card p { color: inherit; opacity: .82; }
.service-card ul { margin: 22px 0 0; padding-left: 18px; }

.check-grid,
.installation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.support-panel {
  display: grid;
  grid-template-columns: .9fr 1.5fr;
  gap: 22px;
  margin-bottom: 64px;
  padding: 28px;
  color: #fff;
  background: #0f2734;
  border-radius: 8px;
}

.support-panel__copy h2 {
  margin: 10px 0 12px;
  font-size: clamp(1.8rem, 4vw, 2.65rem);
  line-height: 1.05;
}

.support-panel__copy p { margin: 0; color: rgba(255,255,255,.78); }

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.support-card {
  overflow: hidden;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
}

.support-card img,
.installation-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.support-card h3 { margin: 14px 14px 6px; font-size: 1rem; }
.support-card p { margin: 0 14px 16px; color: rgba(255,255,255,.72); font-size: .9rem; }

.check-item { padding: 24px; border-top: 4px solid var(--amber); }
.check-item h3 { margin: 0 0 10px; font-size: 1.16rem; }
.check-item p { margin: 0; color: var(--muted); }

.installation-grid { gap: 16px; }

.installation-card {
  overflow: hidden;
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.installation-card figcaption {
  min-height: 66px;
  padding: 14px 16px;
  color: var(--muted);
  font-weight: 700;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.step { padding: 22px; }

.step__number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  color: #fff;
  background: var(--green);
  border-radius: 8px;
  font-weight: 900;
}

.step h3 { margin: 0 0 8px; font-size: 1.05rem; }
.step p { margin: 0; color: var(--muted); }

.quote-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 30px;
}

.quote-panel h2 { margin: 0 0 8px; font-size: 2rem; }
.quote-panel p { margin: 0; color: var(--muted); }

.payment-banner {
  max-width: 860px;
  margin: 24px auto 0;
}

.site-main {
  width: min(1120px, calc(100% - 32px));
  margin: 48px auto;
}

.booking {
  max-width: 960px;
  margin: 0 auto;
}

.booking-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.booking-header h1,
.thanks h1 {
  margin: 4px 0 10px;
  color: var(--ink);
  font-size: 2.15rem;
  line-height: 1.1;
}

.booking-header p,
.thanks p { margin: 0; color: var(--muted); }

.booking-price {
  display: grid;
  flex: 0 0 auto;
  text-align: right;
}

.booking-price strong { font-size: 1.65rem; }

.booking-form { margin-top: 28px; padding: 0 28px 28px; }

.booking-form fieldset {
  margin: 0;
  padding: 28px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.booking-form legend {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 900;
}

.booking-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.booking-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 800;
}

.booking-form input,
.booking-form select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

.booking-choice {
  display: flex !important;
  align-items: flex-start;
  gap: 10px !important;
  margin-top: 18px;
  padding: 13px 14px;
  background: var(--soft);
  border-radius: 6px;
}

.booking-choice input {
  flex: 0 0 auto;
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.booking-submit {
  min-height: 50px;
  margin-top: 26px;
  padding: 0 24px;
}

.form-status {
  margin-top: 16px;
  color: #b42318;
  font-weight: 800;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px;
  overflow: hidden;
}

.thanks {
  display: grid;
  grid-template-columns: 64px minmax(0, 640px);
  align-items: start;
  gap: 24px;
  min-height: 420px;
  padding: 72px 0;
  border-top: 3px solid var(--green);
}

.thanks__check {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  font-size: 1.7rem;
  font-weight: 900;
}

.site-footer {
  padding: 34px 0;
  color: #d8e4e7;
  background: #0f1c23;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

@media (max-width: 760px) {
  .site-header__inner { min-height: 64px; }
  .site-nav { display: none; }
  .brand { width: 196px; }

  .hero {
    min-height: auto;
    background:
      linear-gradient(90deg, rgba(8,18,24,.95) 0%, rgba(8,18,24,.84) 100%),
      url("/site-assets/hero-ev-solar.png") center/cover no-repeat;
  }

  .hero__content { padding: 64px 0 72px; }
  .hero__copy { width: calc(100vw - 48px); max-width: 420px; }
  .eyebrow { font-size: .78rem; line-height: 1.25; overflow-wrap: anywhere; }
  .hero h1 { font-size: clamp(2.15rem, 10vw, 3.2rem); line-height: 1.02; overflow-wrap: break-word; }
  .hero p { max-width: 310px; font-size: 1rem; overflow-wrap: break-word; }
  .promo-price { width: 100%; max-width: 312px; }
  .hero__facts { width: calc(100vw - 48px); max-width: 420px; }

  .hero__facts,
  .service-grid,
  .check-grid,
  .support-panel,
  .support-grid,
  .installation-grid,
  .steps,
  .quote-panel,
  .booking-grid {
    grid-template-columns: 1fr;
  }

  .section { padding: 58px 0; }
  .section__head { display: block; }
  .section__head p { margin-top: 14px; }
  .booking-header { align-items: flex-start; flex-direction: column; gap: 18px; }
  .booking-price { text-align: left; }
  .booking-submit { width: 100%; }
  .thanks { grid-template-columns: 1fr; min-height: 360px; padding: 48px 0; }
  .site-footer__inner { display: block; }
}
