:root {
  --solar-orange: #f59e0b;
  --deep-orange: #f97316;
  --royal-blue: #0f4fa8;
  --navy-blue: #123b7a;
  --sky-tint: #eaf4ff;
  --cool-gray: #e5e7eb;
  --charcoal: #1f2937;
  --green: #16a34a;
  --container: 1480px;
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --font-heading: "Montserrat", "Inter", sans-serif;
  --font-ui: "Poppins", "Inter", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html[data-theme="dark"] {
  --bg: #101113;
  --bg-2: #15181b;
  --surface: rgba(23, 26, 29, 0.76);
  --surface-2: rgba(16, 19, 23, 0.92);
  --surface-solid: #171a1d;
  --text: #eef4ff;
  --heading: #c6d6ff;
  --muted: #a6b3c8;
  --line: rgba(199, 214, 255, 0.16);
  --soft-line: rgba(255, 255, 255, 0.08);
  --grid: rgba(255, 255, 255, 0.035);
  --shadow: 0 34px 120px rgba(0, 0, 0, 0.48);
  --header-bg: rgba(17, 17, 18, 0.9);
  --card-shadow: 0 22px 70px rgba(0, 0, 0, 0.26);
}

html[data-theme="light"] {
  --bg: #f8fbff;
  --bg-2: #ffffff;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-2: rgba(255, 255, 255, 0.94);
  --surface-solid: #ffffff;
  --text: #1f2937;
  --heading: #123b7a;
  --muted: #617089;
  --line: rgba(15, 79, 168, 0.18);
  --soft-line: rgba(15, 79, 168, 0.1);
  --grid: rgba(18, 59, 122, 0.055);
  --shadow: 0 26px 80px rgba(18, 59, 122, 0.16);
  --header-bg: rgba(255, 255, 255, 0.9);
  --card-shadow: 0 22px 70px rgba(18, 59, 122, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 12%, rgba(245, 158, 11, 0.16), transparent 28%),
    radial-gradient(circle at 82% 16%, rgba(15, 79, 168, 0.24), transparent 34%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 74%);
  z-index: -1;
}

img {
  max-width: 100%;
  display: block;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 72px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -120px;
  left: 16px;
  z-index: 999;
  background: var(--deep-orange);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--soft-line);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
}

.nav-shell {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
}

.brand--header {
  padding: 4px 0;
}

.brand-icon-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 16px;
  filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.18));
}

.brand-icon-logo--dark {
  display: none;
}

html[data-theme="dark"] .brand-icon-logo--light {
  display: none;
}

html[data-theme="dark"] .brand-icon-logo--dark {
  display: block;
}

.brand-horizontal-logo {
  width: 260px;
  max-width: min(36vw, 260px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.18));
}

.brand--footer {
  display: inline-flex;
  align-items: center;
}

.brand-footer-logo {
  width: 160px;
  height: auto;
  object-fit: contain;
}

.brand-dark-wordmark-logo {
  width: 230px;
  max-width: min(44vw, 230px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.22));
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--muted);
}

.main-nav a {
  position: relative;
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 3px;
  background: linear-gradient(90deg, var(--solar-orange), var(--deep-orange));
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.main-nav a:hover {
  color: var(--heading);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: var(--surface);
  cursor: pointer;
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: 0.78rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.theme-toggle:hover {
  transform: translateY(-2px);
  border-color: rgba(249, 115, 22, 0.45);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 14px 24px;
  min-height: 50px;
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.header-cta,
.btn-primary {
  background: linear-gradient(135deg, var(--solar-orange), var(--deep-orange));
  color: #fff;
  box-shadow: 0 16px 44px rgba(249, 115, 22, 0.28);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #18b755, #0c953e);
  color: #fff;
  box-shadow: 0 16px 44px rgba(22, 163, 74, 0.24);
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.btn-full {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  width: 21px;
  height: 2px;
  background: var(--heading);
  display: block;
  margin: 5px auto;
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  padding: 28px 0 64px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(245, 158, 11, 0.08), transparent 27%),
    radial-gradient(circle at 78% 26%, rgba(15, 79, 168, 0.28), transparent 28%);
  pointer-events: none;
}

.hero-grid-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.65;
}

html[data-theme="light"] .hero-grid-bg::before {
  background-image:
    linear-gradient(rgba(18, 59, 122, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 59, 122, 0.06) 1px, transparent 1px);
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(12px);
  opacity: 0.55;
  pointer-events: none;
}

.hero-glow-orange {
  width: 360px;
  height: 360px;
  top: 18%;
  left: -120px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.24), transparent 64%);
}

.hero-glow-blue {
  width: 540px;
  height: 540px;
  right: -170px;
  top: 4%;
  background: radial-gradient(circle, rgba(15, 79, 168, 0.28), transparent 66%);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(560px, 1.05fr);
  align-items: center;
  gap: 96px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--heading);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.eyebrow span,
.section-kicker::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--solar-orange);
  box-shadow: 0 0 0 8px rgba(245, 158, 11, 0.14);
}

.hero h1,
.section-heading h2 {
  font-family: var(--font-heading);
  color: var(--heading);
  letter-spacing: -0.075em;
  line-height: 0.94;
  margin: 20px 0 20px;
}

.hero h1 {
  font-size: clamp(4.2rem, 7.4vw, 8.4rem);
  max-width: 860px;
}

.hero-lede {
  max-width: 720px;
  color: var(--text);
  font-size: clamp(1rem, 1.3vw, 1.24rem);
  line-height: 1.7;
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-proof span {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.82rem;
}

.hero-visual {
  min-height: 540px;
  display: grid;
  place-items: center;
}

.hero-showcase {
  position: relative;
  width: min(100%, 740px);
  border-radius: 30px;
  overflow: hidden;
  border: 0;
  background: transparent;
  box-shadow: 0 30px 90px rgba(18, 59, 122, 0.14);
  animation: heroFloat 7.5s ease-in-out infinite;
}

html[data-theme="dark"] .hero-showcase {
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.42);
}

.hero-showcase img {
  width: 100%;
  height: auto;
  display: block;
}


@keyframes heroFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.phone-frame {
  width: min(100%, 520px);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  box-shadow: var(--shadow);
}

.inner-frame {
  position: relative;
  min-height: 440px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 77% 38%, rgba(245, 158, 11, 0.18), transparent 24%),
    linear-gradient(145deg, var(--surface-2), var(--surface-solid));
  overflow: hidden;
}

.logo-tile {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 4;
  width: 118px;
  height: 118px;
  border-radius: 14px;
  background: #fff;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.38);
  box-shadow: 0 16px 34px rgba(0,0,0,0.2);
}

.logo-tile img {
  width: 104px;
  object-fit: contain;
}

.sun-disc {
  position: absolute;
  width: 130px;
  height: 130px;
  right: 56px;
  top: 86px;
  border-radius: 50%;
  background: var(--solar-orange);
  box-shadow: 0 0 0 12px rgba(245, 158, 11, 0.12), 0 0 44px rgba(245, 158, 11, 0.32);
}

.sun-disc::after {
  content: "";
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  right: 20px;
  top: 36px;
  background: var(--bg);
}

.solar-panel {
  position: absolute;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
  border: 3px solid #08244f;
  background: #08244f;
  transform: skewX(-8deg) rotate(-6deg);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.35);
}

.solar-panel i {
  display: block;
  width: 40px;
  height: 48px;
  background: linear-gradient(145deg, #0f4fa8, #114187);
  border: 1px solid rgba(255,255,255,0.1);
}

.panel-one {
  left: 74px;
  top: 206px;
}

.panel-two {
  left: 220px;
  top: 268px;
}

.roof-edge {
  position: absolute;
  z-index: 1;
  left: 70px;
  right: 28px;
  bottom: 112px;
  height: 3px;
  background: rgba(255,255,255,0.2);
  transform: rotate(-5deg);
}

.quality-card {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 6;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(16, 18, 20, 0.88);
  backdrop-filter: blur(18px);
}

html[data-theme="light"] .quality-card {
  background: rgba(255, 255, 255, 0.92);
}

.quality-card strong {
  display: block;
  color: var(--heading);
  font-family: var(--font-ui);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

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

.trust-strip {
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, var(--navy-blue), #0c2b5d);
  color: #fff;
  border-top: 1px solid rgba(255,255,255,0.14);
  border-bottom: 1px solid rgba(255,255,255,0.14);
}

.trust-strip-inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sun-symbol {
  color: var(--solar-orange);
  font-size: 3.1rem;
  line-height: 1;
}

.trust-strip i {
  width: 8px;
  height: 8px;
  background: var(--solar-orange);
  border-radius: 999px;
}

.brand-showcase-section {
  position: relative;
  z-index: 2;
  padding: 48px 0 8px;
}

.brand-showcase {
  display: grid;
  place-items: center;
  padding: 28px 32px;
  border: 1px solid rgba(18, 59, 122, 0.16);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(234, 244, 255, 0.92));
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.18);
}

.brand-showcase img {
  width: min(980px, 100%);
  height: auto;
  object-fit: contain;
}

.section {
  padding: 106px 0;
  position: relative;
}

.section-heading {
  max-width: 980px;
}

.section-heading h2 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
}

.section-heading p,
.service-card p,
.process-card p,
.stat-card p,
.component-row strong,
.team-row span,
.fine-print,
.form-note,
.site-footer p {
  color: var(--muted);
  line-height: 1.7;
}

.stats-grid,
.services-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat-card,
.service-card,
.process-card,
.calculator-card,
.components-panel,
.team-panel,
.lead-form,
.contact-cards a {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(18px);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
}

.stat-card {
  padding: 24px;
}

.stat-card span,
.process-card span {
  color: var(--deep-orange);
  font-family: var(--font-ui);
  font-weight: 900;
}

.stat-card strong,
.service-card h3,
.process-card h3,
.calc-header h3,
.component-row span,
.team-row strong,
.contact-cards strong {
  display: block;
  color: var(--heading);
  font-family: var(--font-ui);
}

.stat-card strong {
  font-size: 1.2rem;
  margin: 10px 0 8px;
}

.services-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 42px;
}

.service-card {
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--solar-orange), var(--royal-blue));
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(249, 115, 22, 0.42);
}

.service-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--solar-orange);
  background: rgba(245, 158, 11, 0.12);
  font-size: 1.7rem;
  margin-bottom: 22px;
}

.service-card h3,
.process-card h3 {
  font-size: 1.35rem;
  margin: 0 0 10px;
}

.service-card p,
.process-card p,
.stat-card p {
  margin: 0;
}

.split-grid,
.savings-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(620px, 1.1fr);
  align-items: center;
  gap: 76px;
}

.reverse {
  grid-template-columns: minmax(620px, 1.1fr) minmax(0, 0.9fr);
}

.components-panel {
  padding: 20px;
  display: grid;
  gap: 14px;
}

.component-row {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 18px;
  align-items: center;
  padding: 19px 20px;
  border: 1px solid var(--soft-line);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(15,79,168,0.13), rgba(245,158,11,0.05));
}

.component-row span {
  font-size: 1rem;
  font-weight: 900;
}

.component-row strong {
  font-size: 1.02rem;
}

.savings-section {
  background: linear-gradient(180deg, transparent, rgba(15, 79, 168, 0.07), transparent);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  color: var(--text);
  padding-left: 34px;
  line-height: 1.6;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 23px;
  height: 23px;
  border-radius: 999px;
  background: var(--royal-blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 0.78rem;
}

.calculator-card,
.lead-form {
  padding: 30px;
}

.calc-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.calc-header h3 {
  margin: 0;
  font-size: 1.45rem;
}

.calc-header span {
  color: #fff;
  background: linear-gradient(135deg, var(--solar-orange), var(--deep-orange));
  border-radius: 999px;
  padding: 8px 11px;
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: 0.78rem;
}

.calculator-card label,
.lead-form label {
  display: block;
  color: var(--heading);
  font-family: var(--font-ui);
  font-weight: 800;
  margin-bottom: 12px;
}

.quote-control-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

.quote-control select {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--soft-line);
  border-radius: 16px;
  padding: 0 16px;
  color: var(--heading);
  background: var(--surface-solid);
  outline: none;
  font-weight: 800;
}

.quote-check {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--soft-line);
  background: rgba(15, 79, 168, 0.08);
  cursor: pointer;
}

.quote-check input {
  width: 20px;
  height: 20px;
  accent-color: var(--deep-orange);
}

.quote-output {
  grid-template-columns: repeat(2, 1fr);
}

.quote-total-box {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.20), rgba(249, 115, 22, 0.14)) !important;
  border-color: rgba(249, 115, 22, 0.28) !important;
}

.quote-disclaimer {
  margin: 0 0 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(249, 115, 22, 0.11);
  border: 1px solid rgba(249, 115, 22, 0.24);
  color: var(--text);
  line-height: 1.65;
  font-weight: 650;
}

.range-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-weight: 700;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--deep-orange);
}

.calc-output {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 24px 0;
}

.calc-output div {
  padding: 18px;
  border-radius: 18px;
  background: rgba(15,79,168,0.13);
  border: 1px solid var(--soft-line);
}

.calc-output small {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
}

.calc-output strong {
  color: var(--heading);
  font-family: var(--font-heading);
  font-size: 1.45rem;
}

.meter {
  height: 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
  border: 1px solid var(--soft-line);
}

html[data-theme="light"] .meter {
  background: rgba(15,79,168,0.08);
}

.meter span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--solar-orange), var(--deep-orange), var(--green));
  transition: width 0.2s ease;
}

.process-grid {
  margin-top: 42px;
}

.process-card {
  padding: 28px;
}

.team-panel {
  padding: 22px;
  display: grid;
  gap: 14px;
}

.team-row {
  display: grid;
  grid-template-columns: 78px 1fr;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--soft-line);
  background: linear-gradient(135deg, rgba(15,79,168,0.14), rgba(245,158,11,0.06));
}

.team-row strong {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--royal-blue);
  color: #fff;
  font-size: 1.5rem;
}

.team-row span {
  font-family: var(--font-ui);
  font-weight: 800;
  color: var(--heading);
}

.contact-section {
  padding-bottom: 120px;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.contact-cards a {
  padding: 20px;
}

.contact-cards span {
  display: block;
  color: var(--muted);
  margin-top: 6px;
}

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

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

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface-2);
  color: var(--text);
  padding: 14px 15px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(249, 115, 22, 0.62);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.form-note {
  font-size: 0.86rem;
  margin: 0;
}

.form-note code {
  color: var(--solar-orange);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
  background: var(--surface-2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr auto;
  gap: 22px;
  align-items: center;
}

.footer-copy,
.footer-contact {
  display: grid;
  gap: 8px;
}

.footer-contact a {
  color: var(--heading);
  font-family: var(--font-ui);
  font-weight: 700;
}

.site-footer p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }


@media (min-width: 1280px) {
  .container {
    width: min(94vw, var(--container));
  }

  .hero-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(660px, 1.1fr);
  }

  .hero-showcase {
    width: min(100%, 760px);
  }

  .services-grid {
    gap: 24px;
  }

  .split-grid,
  .savings-grid,
  .contact-grid {
    gap: 88px;
  }
}

@media (max-width: 1050px) {
  .main-nav,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
    order: 4;
  }

  .nav-actions {
    margin-left: auto;
  }

  .main-nav {
    position: absolute;
    top: 74px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--surface-solid);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 15px;
  }

  .main-nav a::after {
    display: none;
  }

  .hero-layout,
  .split-grid,
  .savings-grid,
  .contact-grid,
  .reverse {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(3.8rem, 11vw, 6rem);
  }

  .hero-visual {
    min-height: auto;
  }

  .stats-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .nav-shell {
    min-height: 68px;
    gap: 12px;
  }

  .brand-icon-logo {
    width: 48px;
    height: 48px;
  }

  .theme-label {
    display: none;
  }

  .theme-toggle {
    padding: 10px 12px;
  }

  .hero {
    padding-top: 46px;
  }

  .hero h1 {
    letter-spacing: -0.06em;
    font-size: clamp(3.25rem, 16vw, 4.9rem);
  }

  .hero-actions,
  .contact-cards,
  .form-row.two-col,
  .calc-output {
    grid-template-columns: 1fr;
    display: grid;
  }

  .stats-grid,
  .services-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .component-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .phone-frame {
    padding: 10px;
  }

  .inner-frame {
    min-height: 390px;
  }

  .logo-tile {
    width: 92px;
    height: 92px;
  }

  .logo-tile img {
    width: 82px;
  }

  .sun-disc {
    width: 104px;
    height: 104px;
    right: 30px;
    top: 82px;
  }

  .sun-disc::after {
    width: 43px;
    height: 43px;
    right: 16px;
    top: 30px;
  }

  .solar-panel i {
    width: 29px;
    height: 39px;
  }

  .panel-one {
    left: 34px;
    top: 202px;
  }

  .panel-two {
    left: 122px;
    top: 254px;
  }

  .section {
    padding: 76px 0;
  }

  .section-heading h2 {
    letter-spacing: -0.06em;
  }

  .trust-strip-inner {
    min-height: auto;
    padding: 22px 0;
    gap: 12px;
  }

  .trust-strip i {
    display: none;
  }
}


@media (max-width: 920px) {
  .brand-horizontal-logo {
    width: 210px;
    max-width: 48vw;
  }
}

@media (max-width: 640px) {
  .brand-horizontal-logo {
    width: 180px;
    max-width: 52vw;
  }
  .brand-footer-logo {
    width: 130px;
  }
}


@media (max-width: 640px) {
  .brand-icon-logo {
    width: 46px;
    height: 46px;
  }

  .brand-showcase-section {
    padding: 34px 0 0;
  }

  .brand-showcase {
    padding: 18px 16px;
    border-radius: 22px;
  }

  .brand-dark-wordmark-logo {
    width: 180px;
    max-width: 62vw;
  }
}



@media (max-width: 1050px) {
  .hero-showcase { width: min(100%, 520px); }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .brand--footer { justify-content: center; }
  .footer-copy, .footer-contact { justify-items: center; }
}

@media (max-width: 720px) {
  .hero-showcase { border-radius: 22px; }
}


.contact-address-card {
  display: grid;
  gap: 6px;
  padding: 18px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--soft-shadow);
}

.contact-address-card strong {
  color: var(--heading);
  font-family: var(--font-ui);
}

.contact-address-card span {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

@media (max-width: 720px) {
  .quote-control-grid,
  .quote-output {
    grid-template-columns: 1fr;
  }
}
