/*
  CarryFlow shared visual theme bridge for Solar EPC.
  Purpose: make the Solar page feel like the same product family as the homepage
  without changing Solar page content, section layout, or content imagery.
*/
:root {
  --ink: #082b86;
  --muted: #445671;
  --blue: #2b75ff;
  --blue-dark: #0e4aac;
  --cyan: #2dc8f4;
  --violet: #8149ff;
  --orange: #ff9e3d;
  --navy: #050a18;
  --line: #dbe5f3;
  --light: #f8fbff;
  --green: #149b72;
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

html { scroll-padding-top: 94px; }
body.page-solar {
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.page-solar ::selection { background: #edf9ff; color: var(--ink); }
body.page-solar :focus-visible { outline-color: rgba(129, 73, 255, .46); }
body.page-solar .blue-text {
  background: linear-gradient(112deg, var(--blue) 0%, var(--cyan) 34%, var(--violet) 70%, var(--orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Same light, glassy top-bar language as the homepage. */
body.page-solar .header {
  background: rgba(255,255,255,.90);
  border-bottom-color: rgba(203,216,230,.78);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
body.page-solar .header.scrolled {
  background: rgba(255,255,255,.95);
  box-shadow: 0 8px 24px rgba(15,35,67,.045);
}
body.page-solar .nav-wrap { height: 72px; }
body.page-solar .brand img {
  width: 214px;
  max-height: 45px;
  object-fit: contain;
  object-position: left center;
}
body.page-solar .ai-tag {
  color: #103693;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 720;
}
body.page-solar .desktop-nav { gap: 10px; margin-right: 0; }
body.page-solar .desktop-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #52647b;
  font-size: 14px;
  font-weight: 650;
  transition: transform .2s ease, color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
body.page-solar .desktop-nav a:hover {
  transform: translateY(-1px);
  border-color: rgba(51,122,230,.24);
  background: rgba(255,255,255,.98);
  color: #0e4aac;
  box-shadow: 0 10px 24px rgba(15,35,67,.05);
}
body.page-solar .desktop-nav a[aria-current="page"] {
  border-color: rgba(34,132,235,.24);
  background: linear-gradient(120deg, rgba(43,117,255,.08), rgba(129,73,255,.055));
  color: #0e4aac;
}

/* CarryFlow multicolour accent language, with the white-page treatment preserved. */
body.page-solar .hero {
  background:
    radial-gradient(circle at 8% 14%, rgba(45,200,244,.10), transparent 26%),
    radial-gradient(circle at 91% 12%, rgba(129,73,255,.07), transparent 28%),
    linear-gradient(117deg,#fbfdff 0%,#f8faff 48%,#faf7ff 100%);
}
body.page-solar .button:not(.button-outline) {
  border-color: transparent;
  background: linear-gradient(96deg, #2b75ff 0%, #2dc8f4 34%, #8149ff 73%, #ff9e3d 100%);
  box-shadow: 0 12px 26px rgba(43,117,255,.16);
}
body.page-solar .button:not(.button-outline):hover {
  border-color: transparent;
  background: linear-gradient(96deg, #225ff2 0%, #24bde8 34%, #7340ef 73%, #f89231 100%);
  box-shadow: 0 16px 32px rgba(78,74,224,.18);
}
body.page-solar .button-outline {
  background: rgba(255,255,255,.72);
  border-color: #d7e3f3;
  color: var(--ink);
}
body.page-solar .button-outline:hover { background: #fff; border-color: #c5d5ec; }
body.page-solar .eyebrow-icon {
  background: linear-gradient(145deg, #fff7ea, #f5f0ff);
  border-color: #eee1d4;
  color: #b76e17;
}
body.page-solar .credibility-icon {
  background: linear-gradient(145deg, #edf9ff, #f2ecff);
  color: #2b75ff;
}
body.page-solar .setup-section {
  background: linear-gradient(180deg, #f8fbff 0%, #faf8ff 100%);
  border-color: #e8edf6;
}
body.page-solar .demo-card {
  background:
    radial-gradient(circle at 92% 12%, rgba(255,158,61,.08), transparent 30%),
    radial-gradient(circle at 14% 88%, rgba(45,200,244,.10), transparent 36%),
    linear-gradient(120deg,#edf5ff 0%,#f8f9ff 58%,#f7f3ff 100%);
  border-color: #dce5f3;
}
body.page-solar .teamwork-card {
  background:
    radial-gradient(circle at 92% 100%, rgba(129,73,255,.14), transparent 42%),
    radial-gradient(circle at 4% 0%, rgba(45,200,244,.10), transparent 35%),
    #071326;
}

/* Homepage footer — isolated here to avoid changing the Solar page sections. */
body.page-solar .site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 10%, rgba(43,117,255,.15), transparent 30%),
    radial-gradient(circle at 76% 108%, rgba(129,73,255,.14), transparent 34%),
    radial-gradient(circle at 96% 12%, rgba(255,158,61,.08), transparent 24%),
    #050a18;
  color: #f8fbff;
  padding: 70px 0 26px;
  border-top: 1px solid rgba(45,200,244,.18);
}
body.page-solar .site-footer .container {
  width: min(calc(100% - 48px), 1220px);
  margin-inline: auto;
}
body.page-solar .footer-accent {
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg,#2b75ff 0%,#2dc8f4 30%,#8149ff 68%,#ff9e3d 100%);
  box-shadow: 0 0 24px rgba(129,73,255,.28);
}
body.page-solar .footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(290px,1.45fr) minmax(220px,.8fr) minmax(240px,.95fr) minmax(150px,.55fr);
  gap: 46px;
  align-items: start;
}
body.page-solar .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 0;
  margin-bottom: 20px;
}
body.page-solar .footer-brand img { width: 48px; height: 48px; object-fit: contain; }
body.page-solar .footer-brand-name {
  color: #fff;
  font-size: 1.72rem;
  font-weight: 780;
  line-height: 1;
  letter-spacing: -.045em;
}
body.page-solar .footer-brand-name span { font-style: italic; font-weight: 650; }
body.page-solar .footer-description {
  max-width: 390px;
  margin: 0 0 18px;
  color: #9aa8c3;
  font-size: .98rem;
  line-height: 1.65;
}
body.page-solar .footer-global-pill {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  border: 1px solid rgba(45,200,244,.28);
  border-radius: 999px;
  background: rgba(45,200,244,.055);
  color: #a8b6cf;
  font-size: .85rem;
}
body.page-solar .footer-global-pill span { color: #2dc8f4; font-size: 1rem; }
body.page-solar .footer-email-block { margin-top: 28px; }
body.page-solar .footer-label {
  margin: 0 0 14px;
  color: #68e8ff;
  font-size: .73rem;
  font-weight: 820;
  letter-spacing: .17em;
  text-transform: uppercase;
}
body.page-solar .footer-email {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 0;
  padding: 0;
  color: #f5f8ff;
  font-weight: 650;
  transition: color .26s ease, transform .26s ease;
}
body.page-solar .footer-email:hover { color: #68e8ff; transform: translateX(2px); }
body.page-solar .footer-icon { position: relative; flex: 0 0 18px; width: 18px; height: 18px; color: #2dc8f4; }
body.page-solar .footer-icon-mail::before {
  content: "";
  position: absolute;
  inset: 3px 1px;
  border: 1.6px solid currentColor;
  border-radius: 3px;
}
body.page-solar .footer-icon-mail::after {
  content: "";
  position: absolute;
  left: 3px; right: 3px; top: 5px;
  height: 7px;
  border-left: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(-45deg) skew(8deg,8deg);
}
body.page-solar .footer-office-title { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
body.page-solar .footer-office-title h3 { margin: 0; color: #f8fbff; font-size: .98rem; letter-spacing: -.015em; }
body.page-solar .footer-icon-pin::before {
  content: "";
  position: absolute;
  left: 4px; top: 1px;
  width: 9px; height: 11px;
  border: 1.7px solid currentColor;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}
body.page-solar .footer-icon-pin::after {
  content: "";
  position: absolute;
  left: 7px; top: 4px;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: currentColor;
}
body.page-solar .footer-office address { color: #929fb8; font-size: .9rem; font-style: normal; line-height: 1.7; }
body.page-solar .footer-office address strong { color: #aebbd1; font-weight: 580; }
body.page-solar .site-footer .footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  font-size: inherit;
  color: inherit;
}
body.page-solar .site-footer .footer-links .footer-label { margin-bottom: 2px; }
body.page-solar .site-footer .footer-links a {
  display: inline;
  width: fit-content;
  min-height: 0;
  padding: 0;
  color: #98a6bf;
  font-size: .93rem;
  transition: color .26s ease, transform .26s ease;
}
body.page-solar .site-footer .footer-links a:hover { color: #fff; transform: translateX(3px); }
body.page-solar .site-footer .footer-links .footer-demo-link { margin-top: 4px; color: #68e8ff; font-weight: 700; }
body.page-solar .site-footer .footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(151,169,201,.18);
  color: inherit;
}
body.page-solar .site-footer .footer-bottom p { margin: 0; color: #66738c; font-size: .8rem; }
body.page-solar .footer-company-line { text-align: right; }

@media (max-width:1080px) {
  body.page-solar .footer-grid { grid-template-columns: minmax(280px,1.3fr) repeat(2,minmax(210px,.8fr)); }
  body.page-solar .site-footer .footer-links { grid-column: 2 / 4; flex-direction: row; flex-wrap: wrap; gap: 12px 24px; }
  body.page-solar .site-footer .footer-links .footer-label { flex-basis: 100%; }
}
@media (max-width:880px) {
  body.page-solar .nav-wrap { height: 69px; }
  body.page-solar .brand img { width: 168px; max-height: 42px; }
  body.page-solar .mobile-nav { background: rgba(255,255,255,.98); border-top-color: #e3eaf4; }
  body.page-solar .mobile-nav a { color: #52647b; }
  body.page-solar .mobile-nav a[aria-current="page"] { color: #0e4aac; font-weight: 700; }
}
@media (max-width:760px) {
  body.page-solar .site-footer { padding-top: 56px; }
  body.page-solar .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  body.page-solar .footer-brand-block { grid-column: 1 / -1; }
  body.page-solar .site-footer .footer-links { grid-column: 1 / -1; }
  body.page-solar .site-footer .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
  body.page-solar .footer-company-line { text-align: left; }
}
@media (max-width:640px) {
  body.page-solar .brand img { width: 152px; max-height: 45px; }
  body.page-solar .ai-tag { font-size: 15px; }
}
@media (max-width:520px) {
  body.page-solar .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  body.page-solar .footer-brand-block,
  body.page-solar .site-footer .footer-links { grid-column: auto; }
  body.page-solar .site-footer .footer-links { flex-direction: column; gap: 11px; }
  body.page-solar .footer-brand-name { font-size: 1.55rem; }
}
