:root {
  --ink: #202223;
  --muted: #5d6472;
  --line: #d8dde5;
  --paper: #f7f8f4;
  --white: #ffffff;
  --solar: #ffbc00;
  --solar-strong: #e69b00;
  --leaf: #0f8f68;
  --night: #202223;
  --blue: #2267a8;
  --shadow: 0 18px 45px rgba(16, 19, 26, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header[data-elevated="true"] {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(16, 19, 26, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 210px;
  height: 76px;
  object-fit: contain;
  border-radius: 8px;
  background: transparent;
  padding: 0;
}

nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  font-size: 14px;
  font-weight: 650;
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 750;
  white-space: nowrap;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.header-cta {
  border-color: rgba(255, 255, 255, 0.55);
}

.site-header[data-elevated="true"] .header-cta {
  background: var(--ink);
  color: var(--white);
}

.button:hover,
.header-cta:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--solar);
  color: var(--ink);
  box-shadow: 0 12px 24px rgba(245, 181, 27, 0.24);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.button.ghost.subtle {
  background: rgba(255, 255, 255, 0.02);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--night);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(12, 15, 22, 0.82) 0%, rgba(12, 15, 22, 0.55) 40%, rgba(12, 15, 22, 0.12) 72%),
    linear-gradient(0deg, rgba(12, 15, 22, 0.46), rgba(12, 15, 22, 0.08));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 92px);
  padding-top: 52px;
  color: var(--white);
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: 124px;
  line-height: 0.9;
  letter-spacing: 0;
}

.solar-c {
  color: var(--solar);
}

h2 {
  margin: 0;
  font-size: 58px;
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.15;
}

.hero-copy {
  max-width: 660px;
  margin: 24px 0 0;
  font-size: 23px;
  line-height: 1.42;
  color: rgba(255, 255, 255, 0.88);
}

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

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 760px;
  gap: 1px;
  margin-top: 42px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.hero-proof div {
  padding: 16px;
  background: rgba(14, 18, 27, 0.32);
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  font-size: 18px;
}

.hero-proof span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.35;
}

.intro-band {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: center;
  padding: 26px 0;
}

.intro-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.intro-grid a {
  color: var(--leaf);
  font-weight: 800;
}

.quick-simulator {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(42px, 7vw, 76px) 0;
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(360px, 1.22fr);
  gap: 28px;
  align-items: start;
}

.quick-copy p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.6;
}

.quick-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(16, 19, 26, 0.04);
}

.quick-form .button,
.quick-result,
.quick-form .inline-link {
  grid-column: 1 / -1;
}

.quick-result {
  min-height: 76px;
  margin: 0;
  padding: 14px;
  background: #f1f4f6;
  border-left: 4px solid var(--solar);
  line-height: 1.45;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(70px, 10vw, 120px) 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

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

.solution-card {
  min-height: 390px;
  background: var(--white);
  border: 1px solid rgba(16, 19, 26, 0.08);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(16, 19, 26, 0.08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.solution-card:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 181, 25, 0.55);
  box-shadow: 0 24px 62px rgba(16, 19, 26, 0.13);
}

.solution-card figure {
  height: 156px;
  margin: 0;
  background: #eef1f4;
  overflow: hidden;
}

.solution-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.solution-card:hover img {
  transform: scale(1.04);
}

.solution-body {
  padding: 24px;
}

.solution-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 18px;
  padding: 0 11px;
  color: #6f4b00;
  background: rgba(244, 181, 25, 0.18);
  border: 1px solid rgba(244, 181, 25, 0.35);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.solution-card h3 {
  margin-bottom: 12px;
}

.solution-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.solution-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.solution-card p,
.timeline p,
.trust-copy p,
.tech-content p,
.ai-copy {
  color: var(--muted);
  line-height: 1.6;
}

.ai-section {
  width: 100%;
  padding: clamp(62px, 8vw, 100px) clamp(18px, 5vw, 70px);
  background: var(--night);
  color: var(--white);
}

.ai-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(360px, 1.2fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
}

.ai-panel {
  display: grid;
  grid-template-columns: 1fr 42px 1fr 42px 1fr;
  align-items: center;
  gap: 12px;
}

.ai-metric {
  min-height: 148px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 20px;
  background: rgba(255, 255, 255, 0.07);
}

.ai-metric span,
.ai-metric strong {
  display: block;
}

.ai-metric span {
  color: var(--solar);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.ai-metric strong {
  margin-top: 18px;
  font-size: 22px;
  line-height: 1.2;
}

.ai-flow {
  height: 2px;
  background: var(--solar);
}

.ai-copy {
  grid-column: 2;
  margin: -36px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 54px;
}

.process-compact {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 92px) 0;
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(420px, 1.28fr);
  gap: 28px;
  align-items: start;
}

.timeline {
  border-top: 1px solid var(--line);
}

.timeline article {
  display: grid;
  grid-template-columns: 54px 0.55fr 1fr;
  gap: 20px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.process-compact .timeline {
  display: grid;
  gap: 10px;
  border-top: 0;
}

.process-compact .timeline article {
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.process-compact .timeline article p {
  grid-column: 2;
  margin: -6px 0 0;
}

.timeline span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
}

.payment-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) 0;
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(520px, 1.2fr);
  gap: 32px;
  align-items: start;
}

.payment-copy {
  position: sticky;
  top: 108px;
}

.payment-copy p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

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

.payment-grid article {
  min-height: 196px;
  padding: 22px;
  background: linear-gradient(145deg, #ffffff, #f6f8f8);
  border: 1px solid rgba(16, 19, 26, 0.08);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(16, 19, 26, 0.07);
}

.payment-grid .payment-wide {
  grid-column: 1 / -1;
  min-height: 150px;
  display: grid;
  grid-template-columns: 58px 0.48fr 1fr;
  gap: 18px;
  align-items: center;
}

.payment-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: var(--ink);
  background: var(--solar);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 950;
}

.payment-wide .payment-icon {
  margin-bottom: 0;
}

.payment-grid h3 {
  margin-bottom: 12px;
}

.payment-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.energy-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 0 0 clamp(56px, 8vw, 96px);
}

.energy-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.energy-heading p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

.energy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  background: #10131a;
  border-radius: 8px;
}

.energy-grid article {
  min-height: 230px;
  padding: 22px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.energy-grid span {
  display: inline-flex;
  margin-bottom: 46px;
  color: var(--solar);
  font-size: 13px;
  font-weight: 950;
}

.energy-grid h3 {
  color: var(--white);
}

.energy-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.58;
}

.canary-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(360px, 1.18fr);
  gap: 34px;
  padding: clamp(58px, 8vw, 92px) clamp(18px, 5vw, 70px);
  background: var(--white);
  border-block: 1px solid var(--line);
}

.canary-copy p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.6;
}

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

.canary-grid article {
  min-height: 150px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.canary-grid strong,
.canary-grid span {
  display: block;
}

.canary-grid span {
  color: var(--muted);
  line-height: 1.45;
}

.tech-showcase {
  padding: clamp(70px, 9vw, 118px) clamp(18px, 5vw, 70px);
  background: #10131a;
  color: var(--white);
}

.tech-showcase-heading {
  width: min(940px, 100%);
  margin-bottom: 34px;
}

.tech-showcase-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
  font-size: 18px;
}

.tech-stage {
  display: grid;
  grid-template-columns: minmax(420px, 1.15fr) minmax(320px, 0.85fr);
  gap: 18px;
  align-items: stretch;
}

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

.tech-device {
  min-height: 250px;
  display: grid;
  align-content: end;
  gap: 12px;
  padding: 14px;
  color: var(--white);
  background: #171c27;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  overflow: hidden;
}

.tech-device img {
  width: 100%;
  height: 178px;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.28));
  transition: transform 180ms ease;
}

.tech-device span {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  font-weight: 800;
}

.tech-device:hover img,
.tech-device.is-active img {
  transform: translateY(-3px) scale(1.03);
}

.tech-device.is-active {
  border-color: var(--solar);
  box-shadow: 0 0 0 1px var(--solar) inset;
}

.tech-info {
  display: grid;
  align-content: center;
  padding: clamp(24px, 4vw, 42px);
  background: var(--white);
  color: var(--ink);
  border-radius: 8px;
}

.tech-kicker {
  width: fit-content;
  padding: 7px 10px;
  color: var(--ink);
  background: var(--solar);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.tech-info h3 {
  margin: 20px 0 12px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.04;
}

.tech-info p {
  color: var(--muted);
  line-height: 1.6;
}

.tech-info ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.tech-info li {
  padding-left: 18px;
  border-left: 4px solid var(--leaf);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.45;
}

.power-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.power-map article {
  min-height: 142px;
  padding: 20px;
  background: #171c27;
}

.power-map strong,
.power-map span {
  display: block;
}

.power-map strong {
  color: var(--solar);
  font-size: 28px;
}

.power-map span {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.42;
}

.tech-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.tech-capabilities span {
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  font-weight: 800;
}

.trust {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: start;
}

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

.trust-groups article {
  min-height: 172px;
  padding: 22px;
  background: var(--white);
  border-top: 5px solid var(--solar);
  border-radius: 8px;
  box-shadow: 0 1px 0 var(--line);
}

.trust-groups h3 {
  margin-bottom: 16px;
  font-size: 20px;
}

.trust-groups p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.trust-groups strong {
  color: var(--ink);
}

.client-area {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto clamp(48px, 7vw, 84px);
  padding: 28px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 26px;
  background: var(--night);
  color: var(--white);
  border-radius: 8px;
}

.client-area p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.6;
}

.status-roadmap {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: status;
}

.status-roadmap li {
  counter-increment: status;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  font-weight: 800;
}

.status-roadmap li::before {
  content: counter(status);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: var(--solar);
  color: var(--ink);
  border-radius: 50%;
  font-weight: 900;
}

.app-downloads {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(66px, 9vw, 110px) 0 20px;
}

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

.app-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 118px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(16, 19, 26, 0.04);
}

.app-card strong,
.app-card small {
  display: block;
}

.app-card strong {
  font-size: 19px;
}

.app-card small {
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.35;
}

.app-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 8px;
}

.app-icon img {
  display: block;
  max-width: 38px;
  max-height: 38px;
  object-fit: contain;
}

.fusion-icon {
  background: #fff1ef;
}

.fusion-icon img {
  filter: invert(18%) sepia(96%) saturate(3329%) hue-rotate(347deg) brightness(80%) contrast(91%);
}

.sunsynk-icon {
  background: #fff8df;
}

.android-icon {
  background: #e7f7ef;
}

.dual-logo {
  grid-template-columns: 1fr;
  gap: 4px;
}

.dual-logo img:first-child {
  max-width: 44px;
  max-height: 16px;
}

.dual-logo img:last-child {
  max-width: 24px;
  max-height: 24px;
}

.android-icon img:last-child {
  filter: invert(44%) sepia(88%) saturate(463%) hue-rotate(111deg) brightness(90%) contrast(91%);
}

.visual-band {
  width: min(1180px, calc(100% - 36px));
  margin: clamp(40px, 6vw, 76px) auto 0;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(26px, 5vw, 60px);
  align-items: center;
}

.visual-band img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.visual-band p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.scenario-section {
  padding-bottom: clamp(32px, 5vw, 62px);
}

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

.scenario-grid article {
  min-height: 230px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.scenario-grid span {
  display: inline-flex;
  margin-bottom: 42px;
  padding: 7px 10px;
  background: var(--solar);
  border-radius: 8px;
  font-weight: 900;
}

.scenario-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.calculators {
  padding-top: clamp(72px, 10vw, 128px);
}

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

.calculator-card {
  display: grid;
  gap: 14px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.calculator-card label {
  color: var(--ink);
}

.info-card {
  align-content: start;
}

.info-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.45;
}

.info-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.info-card strong {
  color: var(--ink);
}

.calc-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.calculator-card input,
.calculator-card select {
  color: var(--ink);
  background: #fbfcfd;
  border-color: var(--line);
}

.mini-button {
  width: fit-content;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 0 16px;
  color: var(--ink);
  background: var(--solar);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.calc-result {
  min-height: 70px;
  margin: 0;
  padding: 14px;
  color: var(--ink);
  background: #f1f4f6;
  border-left: 4px solid var(--leaf);
  line-height: 1.45;
}

.bonus-breakdown {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: #fbfcfd;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.bonus-breakdown[hidden] {
  display: none;
}

.bonus-breakdown h4 {
  margin: 0;
  font-size: 18px;
}

.bonus-breakdown > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.bonus-breakdown article {
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.bonus-breakdown span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.bonus-breakdown strong {
  color: var(--ink);
}

.bonus-breakdown small {
  color: var(--muted);
  line-height: 1.35;
}

.bonus-breakdown a {
  color: var(--blue);
  font-weight: 800;
}

.bonus-reference,
.funding-note {
  color: var(--muted);
  background: #fbfcfd;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.bonus-reference {
  padding: 14px;
}

.bonus-reference strong,
.funding-note strong {
  color: var(--ink);
}

.bonus-reference ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.bonus-reference li {
  margin: 7px 0;
  line-height: 1.45;
}

.bonus-reference a,
.funding-note a {
  color: var(--blue);
  font-weight: 800;
}

.inline-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--blue);
  font-weight: 800;
}

.aid-page {
  background: var(--paper);
}

.aid-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.aid-brand {
  color: var(--ink);
}

.aid-back {
  color: var(--ink);
  border-color: var(--line);
}

.aid-hero,
.aid-summary,
.aid-table-section,
.aid-notes {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

.aid-hero {
  padding: 64px 0 28px;
}

.aid-hero h1 {
  max-width: 920px;
  color: var(--ink);
  font-size: 68px;
  line-height: 1;
}

.aid-hero p:not(.eyebrow) {
  max-width: 780px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

.aid-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.aid-summary article {
  min-height: 112px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.aid-summary strong,
.aid-summary span {
  display: block;
}

.aid-summary span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.4;
}

.aid-table-tools {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 14px;
}

.aid-table-tools label {
  width: min(420px, 100%);
  color: var(--ink);
}

.aid-table-tools input {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.aid-table-tools a {
  color: var(--blue);
  font-weight: 800;
}

.aid-table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.aid-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
}

.aid-table th,
.aid-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.aid-table th {
  font-size: 13px;
  text-transform: uppercase;
  color: var(--muted);
  background: #f0f3f6;
}

.aid-table td b,
.aid-table td small,
.aid-table td a {
  display: block;
  margin-top: 5px;
}

.aid-table td small {
  color: var(--muted);
  line-height: 1.35;
}

.aid-table td a {
  color: var(--blue);
  font-weight: 800;
}

.status {
  display: inline-flex;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.status.confirmado {
  color: #07503c;
  background: #dff5ec;
}

.status.indicio,
.status.revisar,
.status.conflicto {
  color: #7a4a00;
  background: #fff1cc;
}

.status.pendiente,
.status.no_municipal {
  color: #4f5663;
  background: #edf0f3;
}

.aid-notes {
  padding: 42px 0 80px;
}

.aid-notes h2 {
  font-size: 34px;
}

.aid-notes p {
  max-width: 800px;
  color: var(--muted);
  line-height: 1.6;
}

.aid-source-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.aid-source-list a {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--blue);
  background: var(--white);
  font-weight: 800;
}

.funding-note {
  margin-top: 18px;
  padding: 20px;
}

.funding-note p {
  margin: 8px 0 0;
  line-height: 1.55;
}

.lead-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto clamp(60px, 8vw, 100px);
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 44px;
  align-items: start;
  padding: clamp(32px, 6vw, 58px);
  background: var(--ink);
  color: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.lead-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.6;
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  color: var(--solar);
  font-weight: 800;
}

.lead-form {
  display: grid;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 12px 13px;
  font: inherit;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

select option {
  color: var(--ink);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--solar);
  box-shadow: 0 0 0 3px rgba(245, 181, 27, 0.18);
}

.privacy {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
}

.privacy input {
  min-height: auto;
  margin-top: 2px;
}

.form-button {
  width: fit-content;
  cursor: pointer;
  border: none;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--solar);
  font-weight: 700;
}

.chat-widget {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  width: min(360px, calc(100vw - 36px));
}

.chat-toggle {
  width: 100%;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  border: 0;
  border-radius: 8px;
  padding: 12px;
  color: var(--white);
  background: var(--night);
  box-shadow: var(--shadow);
  cursor: pointer;
  text-align: left;
}

.chat-toggle > .solar-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--ink);
  background: var(--solar);
  font-weight: 900;
}

.chat-toggle strong {
  font-size: 15px;
}

.chat-panel {
  display: none;
  margin-bottom: 10px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.chat-widget[data-open="true"] .chat-panel {
  display: grid;
}

.chat-widget[data-open="true"] .chat-toggle {
  display: none;
}

.chat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 14px;
  color: var(--white);
  background: var(--night);
}

.chat-close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  font-size: 22px;
  cursor: pointer;
}

.chat-messages {
  display: grid;
  gap: 9px;
  max-height: 300px;
  overflow: auto;
  padding: 14px;
}

.chat-messages p {
  max-width: 86%;
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  line-height: 1.4;
  font-size: 14px;
}

.chat-messages .bot {
  justify-self: start;
  background: #eef3f5;
}

.chat-messages .user {
  justify-self: end;
  color: var(--ink);
  background: var(--solar);
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
}

.chat-form input {
  color: var(--ink);
  background: #f7f8fa;
  border-color: var(--line);
}

.chat-form button {
  border: 0;
  border-radius: 8px;
  padding: 0 12px;
  color: var(--white);
  background: var(--leaf);
  font-weight: 800;
  cursor: pointer;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.76);
  background: #0b0d12;
}

.site-footer div,
.site-footer p {
  margin: 0;
}

/* Identidad corporativa Solarclic 2026 */
body {
  background: #f4f4f1;
}

.site-header {
  background: linear-gradient(180deg, rgba(22, 23, 24, 0.92), rgba(22, 23, 24, 0));
}

.site-header[data-elevated="true"] {
  background: rgba(32, 34, 35, 0.97);
  color: #fff;
}

.site-header[data-elevated="true"] .header-cta,
.header-cta {
  background: var(--solar);
  border-color: var(--solar);
  color: var(--ink);
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(21, 22, 23, 0.92) 0%, rgba(21, 22, 23, 0.62) 48%, rgba(21, 22, 23, 0.22) 100%);
}

.hero-content h1 {
  max-width: 850px;
  letter-spacing: -0.055em;
  line-height: 0.97;
}

.hero-content h1 span {
  color: var(--solar);
}

.eyebrow {
  color: var(--ink);
  background: var(--solar);
  border-radius: 999px;
  display: inline-flex;
  width: fit-content;
  padding: 7px 15px;
  letter-spacing: .04em;
}

.section-heading .eyebrow {
  margin-inline: auto;
}

.solution-card,
.calculator-card,
.finance-card,
.app-card,
.tech-card {
  border-radius: 18px;
}

.solution-chip,
.button.primary,
.chat-suggestions button {
  background: var(--solar);
  color: var(--ink);
}

.chat-widget {
  width: min(410px, calc(100vw - 28px));
}

.chat-toggle {
  grid-template-columns: 56px 1fr;
  border: 1px solid rgba(255, 188, 0, .4);
  border-radius: 18px;
  padding: 10px 14px 10px 10px;
  background: #202223;
}

.chat-toggle-copy {
  display: grid;
  width: auto;
  height: auto;
  min-width: 0;
  place-items: initial;
  border-radius: 0;
  color: #fff;
  background: transparent;
  gap: 2px;
}

.chat-toggle-copy strong {
  font-size: 16px;
}

.chat-toggle-copy small,
.chat-head small {
  color: rgba(255,255,255,.7);
  font-size: 11px;
}

.solar-avatar {
  position: relative;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--solar);
  box-shadow: 0 0 0 5px rgba(255,188,0,.12), 0 8px 18px rgba(0,0,0,.25);
}

.solar-avatar::before,
.solar-avatar::after,
.solar-avatar i::before,
.solar-avatar i::after {
  content: "";
  position: absolute;
  inset: -7px 23px;
  border-radius: 4px;
  background: var(--solar);
}

.solar-avatar::after { transform: rotate(90deg); }
.solar-avatar i::before { transform: rotate(45deg); }
.solar-avatar i::after { transform: rotate(-45deg); }

.solar-avatar i {
  position: relative;
  z-index: 2;
  width: 28px;
  height: 17px;
  border-bottom: 3px solid var(--ink);
  border-radius: 0 0 50% 50%;
}

.solar-avatar i {
  background: radial-gradient(circle at 7px 4px, var(--ink) 0 2px, transparent 2.5px),
              radial-gradient(circle at 21px 4px, var(--ink) 0 2px, transparent 2.5px);
}

.solar-avatar.small {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
}

.solar-avatar.small::before,
.solar-avatar.small::after,
.solar-avatar.small i::before,
.solar-avatar.small i::after { inset: -5px 18px; }

.solar-avatar.small i { transform: scale(.76); }

.chat-panel {
  border: 0;
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(20, 22, 24, .28);
}

.chat-head {
  justify-content: flex-start;
  gap: 12px;
  min-height: 72px;
  padding: 13px 16px;
}

.chat-head > span:not(.solar-avatar) {
  display: grid;
  flex: 1;
  gap: 3px;
}

.chat-head small b {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #48c774;
}

.chat-messages {
  min-height: 230px;
  max-height: 360px;
  background: #f5f5f2;
}

.chat-messages p {
  border-radius: 15px;
  padding: 11px 13px;
}

.chat-messages .bot {
  background: #fff;
  box-shadow: 0 2px 12px rgba(20,22,24,.06);
}

.chat-messages .user {
  border-bottom-right-radius: 4px;
}

.chat-suggestions {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 10px 12px 4px;
  background: #fff;
  scrollbar-width: none;
}

.chat-suggestions button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  padding: 8px 11px;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.chat-form {
  border: 0;
  padding-top: 8px;
}

.chat-form input {
  border-radius: 999px;
  padding-inline: 16px;
}

.chat-form button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--solar);
  color: var(--ink);
  font-size: 20px;
}

.chat-disclaimer {
  margin: -3px 12px 10px;
  color: #74777a;
  text-align: center;
  font-size: 10px;
}

/* Corrección de contraste de cabecera y refinado de SolarIA */
.brand {
  position: relative;
  width: 210px;
  height: 58px;
}

.brand .brand-logo {
  position: absolute;
  inset: 0;
  width: 210px;
  height: 58px;
  transition: opacity 180ms ease;
}

.site-header[data-elevated="true"] {
  background: rgba(255, 255, 255, .96);
  color: var(--ink);
  border-bottom: 1px solid rgba(32, 34, 35, .08);
}

.chat-widget {
  right: 22px;
  bottom: 22px;
  width: min(380px, calc(100vw - 32px));
}

.chat-toggle {
  width: auto;
  min-width: 225px;
  margin-left: auto;
  grid-template-columns: 48px 1fr;
  gap: 11px;
  padding: 9px 16px 9px 10px;
  border-radius: 999px;
}

.solar-avatar,
.solar-avatar.small {
  width: auto;
  height: auto;
  display: block;
  background: transparent;
  box-shadow: none;
}

.chat-toggle > .solar-avatar {
  width: auto;
  height: auto;
  display: block;
  place-items: initial;
  border-radius: 0;
  color: inherit;
  background: transparent;
  box-shadow: none;
}

.solar-avatar::before,
.solar-avatar::after,
.solar-avatar i::before,
.solar-avatar i::after,
.solar-avatar i { display: none; }

.solar-avatar img {
  display: block;
  width: 48px;
  height: 48px;
}

.solar-avatar.small img {
  width: 42px;
  height: 42px;
}

.chat-panel {
  max-height: min(650px, calc(100vh - 40px));
  grid-template-rows: auto minmax(150px, 1fr) auto auto auto;
  margin-bottom: 0;
  overflow: hidden;
  border: 1px solid rgba(32, 34, 35, .1);
  border-radius: 18px;
}

.chat-head {
  min-height: 68px;
  padding: 12px 14px;
  background: #202223;
}

.chat-close {
  flex: 0 0 auto;
  border-radius: 50%;
}

.chat-messages {
  min-height: 190px;
  max-height: min(350px, calc(100vh - 285px));
  padding: 16px;
}

.chat-messages p {
  max-width: 88%;
  line-height: 1.45;
}

.chat-suggestions {
  padding: 10px 12px 6px;
  border-top: 1px solid #ecece8;
}

.chat-form {
  align-items: center;
  padding: 8px 12px;
}

.chat-form input {
  min-width: 0;
  height: 44px;
  border: 1px solid #d9d9d4;
  outline: none;
}

.chat-form input:focus {
  border-color: var(--solar);
  box-shadow: 0 0 0 3px rgba(255,188,0,.18);
}

@media (max-width: 560px) {
  .brand,
  .brand .brand-logo {
    width: 150px;
    height: 42px;
  }

  .chat-widget {
    right: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
  }

  .chat-toggle {
    min-width: 0;
    width: 58px;
    height: 58px;
    padding: 5px;
  }

  .chat-toggle-copy { display: none; }

  .chat-panel {
    max-height: calc(100dvh - 20px);
    border-radius: 16px;
  }

  .chat-messages {
    min-height: 180px;
    max-height: calc(100dvh - 285px);
  }
}

.site-footer div {
  display: grid;
  gap: 4px;
}

.site-footer strong {
  color: var(--white);
}

.footer-links {
  grid-column: 1 / -1;
  justify-content: flex-start;
  gap: 16px;
  color: var(--white);
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}

.cookie-banner div {
  display: flex;
  gap: 8px;
}

.cookie-banner button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.cookie-banner button:last-child {
  background: var(--ink);
  color: var(--white);
}

.subpage {
  background: var(--paper);
}

.subpage-hero {
  padding-bottom: clamp(40px, 6vw, 72px);
}

.subpage-grid,
.municipality-page-grid,
.legal-content section:not(.aid-hero) {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.subpage-grid,
.municipality-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-bottom: clamp(60px, 8vw, 100px);
}

.subpage-grid article,
.municipality-page-grid article,
.legal-content section:not(.aid-hero) {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.subpage-grid article {
  min-height: 280px;
}

.municipality-page-grid article {
  min-height: 220px;
}

.subpage-grid span {
  display: inline-flex;
  margin-bottom: 28px;
  padding: 7px 10px;
  background: var(--solar);
  border-radius: 8px;
  font-weight: 900;
}

.subpage-grid p,
.municipality-page-grid p,
.legal-content p {
  color: var(--muted);
  line-height: 1.55;
}

.subpage-grid a,
.municipality-page-grid a {
  color: var(--blue);
  font-weight: 900;
}

.legal-content section:not(.aid-hero) {
  margin-bottom: 14px;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .footer-links {
    display: flex;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    margin-inline: 18px;
  }

  h1 {
    font-size: 78px;
  }

  h2 {
    font-size: 42px;
  }

  .hero-copy {
    font-size: 20px;
  }

  .hero-proof,
  .solution-grid,
  .app-grid,
  .visual-band,
  .calculator-grid,
  .quick-simulator,
  .quick-form,
  .canary-section,
  .canary-grid,
  .scenario-grid,
  .client-area,
  .process-compact,
  .payment-section,
  .payment-grid,
  .energy-grid,
  .ai-section,
  .split,
  .tech-stage,
  .power-map,
  .trust,
  .lead-section,
  .subpage-grid,
  .municipality-page-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .ai-panel {
    grid-template-columns: 1fr;
  }

  .ai-flow {
    width: 2px;
    height: 24px;
    justify-self: center;
  }

  .ai-copy {
    grid-column: auto;
    margin: 0;
  }

  .timeline article {
    grid-template-columns: 44px 1fr;
  }

  .timeline article p {
    grid-column: 2;
    margin-top: -12px;
  }

  .payment-copy {
    position: static;
  }

  .payment-grid .payment-wide {
    grid-column: auto;
    min-height: 196px;
    display: block;
  }

  .payment-wide .payment-icon {
    margin-bottom: 24px;
  }

  .tech-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-proof div {
    padding: 14px;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 10px 14px;
  }

  .brand span {
    display: none;
  }

  .header-cta {
    min-height: 40px;
    padding-inline: 12px;
    font-size: 13px;
  }

  .hero {
    min-height: 86vh;
  }

  h1 {
    font-size: 58px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .hero-actions {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .hero-proof {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .lead-section {
    width: min(100% - 24px, 1180px);
    padding: 24px;
  }

  .tech-gallery {
    grid-template-columns: 1fr;
  }

  .tech-device {
    min-height: 220px;
  }

  .tech-device img {
    height: 150px;
  }

  .power-map strong {
    font-size: 24px;
  }

  .chat-widget {
    right: 12px;
    bottom: 12px;
    width: min(340px, calc(100vw - 24px));
  }
}
