/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor Child theme for CaliSolar. Styles auto-synced from the static prototype via migrate-to-wp.mjs.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.4.7.1776448653
Updated: 2026-04-20

*/

@import url("https://fonts.googleapis.com/css2?family=Syne:wght@500;600;700;800&family=Manrope:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap");

/* Override Hello Elementor's narrow site-main breakpoint constraints.
   Our custom .container handles the max-width and padding instead. */
.site-main {
  max-width: 100% !important;
  padding-inline: 0 !important;
}

:root {
  --bg: #f5f8ff;
  --bg-alt: #e9effb;
  --ink: #0e1b47;
  --muted: #4e6394;
  --accent: #1f4ab8;
  --accent-deep: #102f7d;
  --dark: #091634;
  --line: rgba(14, 27, 71, 0.16);
  --line-soft: rgba(14, 27, 71, 0.1);
  --max: 1180px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --space-section: 120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% -12%, rgba(31, 74, 184, 0.14), transparent 40%),
    radial-gradient(circle at 100% 16%, rgba(16, 47, 125, 0.12), transparent 44%),
    var(--bg);
  line-height: 1.62;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.028;
  z-index: 999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

a {
  color: inherit;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(11px);
  background: rgba(245, 248, 255, 0.9);
  border-bottom: 1px solid var(--line-soft);
  transition: min-height 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.topbar.scrolled {
  box-shadow: 0 14px 24px rgba(9, 22, 52, 0.08);
  background: rgba(245, 248, 255, 0.96);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 108px;
  transition: min-height 0.24s ease;
}

.topbar.scrolled .topbar-inner {
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
}

.brand img {
  width: 200px;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  transition: opacity 0.2s ease;
}

.brand:hover img {
  opacity: 0.85;
}

/* wordmark text hidden — logo already contains the full CaliSolar wordmark */
.brand-name {
  display: none;
}

/* Footer logo — smaller than the nav version */
.footer .brand img {
  width: 160px;
  background: transparent;
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  font-size: 0.87rem;
  color: var(--muted);
  padding: 8px 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.18s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--accent-deep);
  border-color: var(--accent-deep);
  transform: translateY(-1px);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.115em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(120deg, var(--accent), var(--accent-deep));
  border: 1px solid var(--accent);
  padding: 13px 20px;
  border-radius: 9px;
  transition: transform 0.18s ease, box-shadow 0.22s ease, opacity 0.2s ease;
  box-shadow: 0 10px 24px rgba(16, 47, 125, 0.25);
  position: relative;
  overflow: hidden;
}

.cta.primary {
  padding: 14px 24px;
  box-shadow: 0 14px 30px rgba(16, 47, 125, 0.36);
}

.cta.secondary {
  background: rgba(255, 255, 255, 0.96);
  color: var(--accent-deep);
  border-color: rgba(31, 74, 184, 0.35);
  box-shadow: 0 10px 18px rgba(14, 27, 71, 0.1);
}

.cta.secondary:hover {
  box-shadow: 0 14px 24px rgba(14, 27, 71, 0.16);
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(16, 47, 125, 0.35);
}

/* Keep white label on primary navy CTAs across all states. */
.cta:not(.secondary),
.cta:not(.secondary):hover,
.cta:not(.secondary):focus,
.cta:not(.secondary):active,
.cta:not(.secondary):visited {
  color: #fff !important;
}

.cta::after {
  content: "";
  position: absolute;
  top: -120%;
  left: -38%;
  width: 35%;
  height: 320%;
  transform: rotate(18deg);
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transition: left 0.55s ease;
  pointer-events: none;
}

.cta:hover::after {
  left: 112%;
}

.cta:active {
  transform: translateY(0);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 132px 0 108px;
  background: linear-gradient(
    160deg,
    rgba(224, 235, 255, 0.96) 0%,
    rgba(240, 246, 255, 0.9) 55%,
    rgba(215, 230, 255, 0.84) 100%
  );
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero::before {
  width: 620px;
  height: 620px;
  right: -100px;
  top: -90px;
  background: radial-gradient(circle, rgba(50, 100, 235, 0.46), transparent 66%);
  animation: floatGlowA 9s ease-in-out infinite alternate;
}

.hero::after {
  width: 680px;
  height: 680px;
  left: -200px;
  bottom: -320px;
  background: radial-gradient(circle, rgba(16, 47, 125, 0.36), transparent 68%);
  animation: floatGlowB 10s ease-in-out infinite alternate;
}

.hero-energy-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.68;
  background:
    repeating-linear-gradient(
      104deg,
      transparent 0 18px,
      rgba(78, 117, 219, 0.13) 18px 19px,
      transparent 19px 38px
    );
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.34), transparent 70%);
  animation: lineDrift 16s linear infinite;
}

@keyframes floatGlowA {
  from { transform: translateY(0px); }
  to { transform: translateY(26px); }
}

@keyframes floatGlowB {
  from { transform: translateY(0px); }
  to { transform: translateY(-24px); }
}

@keyframes lineDrift {
  from { transform: translateX(0); }
  to { transform: translateX(26px); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  position: absolute;
  right: 60px;
  bottom: 28px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 0.78rem;
  color: var(--muted);
  box-shadow: 0 10px 18px rgba(14, 27, 71, 0.12);
  animation: badgePulse 3.6s ease-in-out infinite;
}

.hero-badge strong {
  color: var(--accent-deep);
  font-family: "Syne", sans-serif;
  letter-spacing: 0.03em;
}

.hero-cta-row {
  margin-top: 22px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-cta-note {
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.09;
  letter-spacing: -0.02em;
  font-family: "Syne", sans-serif;
}

h1 {
  font-size: clamp(2.7rem, 6.1vw, 5.1rem);
  letter-spacing: -0.028em;
}

h2 {
  font-size: clamp(1.78rem, 3vw, 2.82rem);
  letter-spacing: -0.024em;
}

h3 {
  font-size: 1.24rem;
  letter-spacing: -0.015em;
}

.lead {
  color: var(--muted);
  max-width: 60ch;
  font-size: 1.06rem;
  line-height: 1.74;
}

.hero-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow:
    0 24px 38px rgba(14, 27, 61, 0.12),
    0 6px 10px rgba(14, 27, 61, 0.04);
  transform: translateY(10px);
  animation: heroCardFloat 7s ease-in-out infinite;
}

.hero-card .checklist li {
  color: #3e548b;
  line-height: 1.7;
}

.hero-card-action {
  margin-top: 12px;
}

.hero-metrics {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.hero-metric {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 12px 13px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.hero-metric:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 18px rgba(14, 27, 71, 0.14);
}

.hero-metric strong {
  display: block;
  font-family: "Syne", sans-serif;
  font-size: 1.2rem;
  line-height: 1;
}

.hero-metric span {
  color: var(--muted);
  font-size: 0.78rem;
}

.kpi-grid {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.energy-ticker {
  background: linear-gradient(145deg, #0f2a70, #0a1f56);
  color: #dbe7ff;
  border-top: 1px solid rgba(143, 174, 255, 0.25);
  border-bottom: 1px solid rgba(143, 174, 255, 0.25);
  overflow: hidden;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerScroll 26s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.92;
}

.ticker-item strong {
  color: #ffffff;
  font-family: "Syne", sans-serif;
  letter-spacing: 0.03em;
}

.ticker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8db1ff;
}

.energy-ticker:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.usp-numbers {
  position: relative;
  background: linear-gradient(165deg, #0d255f, #091739);
  color: #f4f8ff;
  overflow: hidden;
  padding: 110px 0;
}

.usp-numbers::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  top: -240px;
  right: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 161, 255, 0.35), transparent 70%);
  animation: uspOrbA 12s ease-in-out infinite alternate;
}

.usp-numbers::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  left: -170px;
  bottom: -210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(66, 111, 225, 0.28), transparent 70%);
  animation: uspOrbB 13s ease-in-out infinite alternate;
}

.usp-shell {
  position: relative;
  z-index: 1;
}

.usp-header {
  max-width: 760px;
  margin-bottom: 30px;
}

.usp-header h2 {
  color: #ffffff;
}

.usp-header p {
  color: rgba(225, 236, 255, 0.78);
}

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

.usp-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 14px;
  padding: 18px 16px;
  min-height: 124px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 14px 20px rgba(3, 7, 22, 0.22);
  backdrop-filter: blur(2px);
}

.usp-item.featured {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 262px;
  background: linear-gradient(145deg, rgba(85, 128, 236, 0.24), rgba(255, 255, 255, 0.08));
  border-color: rgba(173, 202, 255, 0.48);
  box-shadow: 0 24px 34px rgba(2, 6, 22, 0.32);
}

.usp-item.featured .usp-value {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

.usp-value {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1;
}

.usp-label {
  font-size: 0.8rem;
  color: rgba(224, 236, 255, 0.82);
  line-height: 1.35;
}

.usp-feature-note {
  margin-top: 10px;
  font-size: 0.76rem;
  color: rgba(222, 236, 255, 0.68);
}

.kpi {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--line-soft);
  padding: 22px 19px;
}

.kpi::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #3f66c5, transparent);
}

.kpi strong {
  display: block;
  font-family: "Syne", sans-serif;
  font-size: 1.5rem;
  animation: kpiPop 0.6s ease both;
}

.kpi:nth-child(2) strong {
  animation-delay: 0.08s;
}

.kpi:nth-child(3) strong {
  animation-delay: 0.16s;
}

.kpi:nth-child(4) strong {
  animation-delay: 0.24s;
}

.section {
  padding: var(--space-section) 0;
}

.section.alt {
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}

.section.alt::before,
.section.alt::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.section.alt::before {
  width: 440px;
  height: 440px;
  top: -210px;
  right: -140px;
  background: radial-gradient(circle, rgba(58, 97, 193, 0.22), transparent 68%);
  animation: sectionOrbA 12s ease-in-out infinite alternate;
}

.section.alt::after {
  width: 360px;
  height: 360px;
  bottom: -180px;
  left: -120px;
  background: radial-gradient(circle, rgba(16, 47, 125, 0.18), transparent 66%);
  animation: sectionOrbB 11s ease-in-out infinite alternate;
}

.section.alt > .container {
  position: relative;
  z-index: 1;
}

.section.deep {
  background: linear-gradient(170deg, #0e2357, #0a173d 72%);
  color: #f3f7ff;
}

.section-angle-top {
  position: relative;
}

.section-angle-top::before {
  content: "";
  position: absolute;
  top: -84px;
  left: 0;
  width: 100%;
  height: 84px;
  background: linear-gradient(172deg, transparent 0 48%, #0e2357 49% 100%);
}

.section.deep .muted,
.section.deep .lead {
  color: rgba(243, 247, 255, 0.76);
}

.section.deep .card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 24px rgba(0, 0, 0, 0.14);
}

.section.deep .quote {
  color: rgba(243, 247, 255, 0.88);
  border-left-color: #5f8dff;
}

.section.deep .label,
.section.deep .label::before {
  color: #8db1ff;
  background: #8db1ff;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: #3f66c5;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 500;
  margin-bottom: 12px;
}

.label::before {
  content: "";
  width: 16px;
  height: 2px;
  background: #3f66c5;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: 0 8px 18px rgba(14, 27, 61, 0.06);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.card:hover {
  transform: translateY(-6px) scale(1.008);
  box-shadow: 0 18px 28px rgba(14, 27, 61, 0.14);
  border-color: rgba(31, 74, 184, 0.3);
}

.card.featured {
  grid-column: span 2;
  border-color: rgba(63, 102, 197, 0.4);
  box-shadow: 0 16px 24px rgba(16, 47, 125, 0.14);
}

.stagger-up {
  transform: translateY(-14px);
}

.stagger-down {
  transform: translateY(14px);
}

.card h3 {
  margin-bottom: 10px;
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.checklist li {
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
  color: var(--muted);
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #3f66c5;
  font-weight: 700;
}

.quote {
  font-size: 1.07rem;
  color: var(--muted);
  border-left: 3px solid #3f66c5;
  padding-left: 14px;
}

.form-wrap {
  background:
    radial-gradient(circle at 20% 0%, rgba(63, 102, 197, 0.26), transparent 45%),
    linear-gradient(150deg, #13337a, #0a1431);
  color: #f9f4ec;
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 32px rgba(10, 20, 49, 0.4);
  position: relative;
  overflow: hidden;
}

.form-wrap::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  top: -120px;
  right: -90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 174, 255, 0.38), transparent 70%);
  animation: formOrb 8s ease-in-out infinite alternate;
  pointer-events: none;
}

.form-wrap::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  left: -120px;
  bottom: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 86, 221, 0.3), transparent 68%);
  animation: formOrbSecondary 9s ease-in-out infinite alternate;
  pointer-events: none;
}

.form-wrap > * {
  position: relative;
  z-index: 1;
}

.form-wrap p {
  color: rgba(249, 244, 236, 0.75);
}

.form-grid {
  display: grid;
  gap: 10px;
}

.form-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.field {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: "Manrope", sans-serif;
}

.field::placeholder {
  color: rgba(255, 255, 255, 0.53);
}

.field:focus {
  outline: 2px solid rgba(63, 102, 197, 0.55);
  border-color: transparent;
}

.small {
  font-size: 0.8rem;
}

.muted {
  color: var(--muted);
}

.footer {
  background: #fff;
  border-top: 1px solid var(--line-soft);
  padding: 68px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer li {
  margin-bottom: 8px;
}

.footer a {
  text-decoration: none;
  color: var(--muted);
  transition: color 0.18s ease;
}

.footer a:hover {
  color: var(--accent-deep);
}

.bottom {
  margin-top: 34px;
  border-top: 1px solid var(--line-soft);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: var(--muted);
}

.reveal {
  opacity: 1;
  transform: none;
  transition: transform 0.4s ease, box-shadow 0.3s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.hero [data-delay] {
  opacity: 0;
  transform: translateY(15px);
  animation: heroFadeUp 0.7s ease forwards;
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroCardFloat {
  0% {
    transform: translateY(10px);
  }
  50% {
    transform: translateY(2px);
  }
  100% {
    transform: translateY(10px);
  }
}

@keyframes kpiPop {
  from {
    opacity: 0.4;
    transform: translateY(8px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes formOrb {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-20px, 26px, 0);
  }
}

@keyframes formOrbSecondary {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(22px, -18px, 0);
  }
}

@keyframes sectionOrbA {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-34px, 26px, 0);
  }
}

@keyframes sectionOrbB {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(30px, -20px, 0);
  }
}

@keyframes badgePulse {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 10px 18px rgba(14, 27, 71, 0.12);
  }
  50% {
    transform: translateY(-4px);
    box-shadow: 0 14px 24px rgba(14, 27, 71, 0.2);
  }
}

@keyframes uspOrbA {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-24px, 30px, 0);
  }
}

@keyframes uspOrbB {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(20px, -26px, 0);
  }
}

/* ─── Page Hero (inner page headers) ─── */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 60px;
  background: linear-gradient(180deg, rgba(245, 248, 255, 0.98), var(--bg));
}

.page-hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -160px;
  top: -230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(50, 100, 235, 0.2), transparent 66%);
  animation: floatGlowA 9s ease-in-out infinite alternate;
  pointer-events: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  left: -160px;
  bottom: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 47, 125, 0.14), transparent 68%);
  animation: floatGlowB 10s ease-in-out infinite alternate;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 20ch;
  text-wrap: balance;
  margin-top: 8px;
}

.page-hero .lead {
  margin-top: 14px;
}

/* ─── Icon Box ─── */
.icon-box {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(31, 74, 184, 0.11), rgba(31, 74, 184, 0.05));
  border: 1px solid rgba(31, 74, 184, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  flex-shrink: 0;
}

.card:hover .icon-box {
  transform: scale(1.1);
  box-shadow: 0 8px 18px rgba(16, 47, 125, 0.18);
  background: linear-gradient(135deg, rgba(31, 74, 184, 0.18), rgba(31, 74, 184, 0.08));
}

.icon-box svg {
  width: 30px;
  height: 30px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2.0;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ─── Reduce gap when content section directly follows page-hero ─── */
.page-hero + .section,
.page-hero + .section.alt {
  padding-top: 60px;
}

/* ─── Service Grid (services.html) ─── */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 52px;
}

.svc-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  box-shadow: 0 8px 20px rgba(14, 27, 61, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.svc-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

.svc-card:hover::after {
  transform: scaleX(1);
}

.svc-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 26px 42px rgba(14, 27, 61, 0.16);
  border-color: rgba(31, 74, 184, 0.28);
}

.svc-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(31, 74, 184, 0.07);
  border: 1px solid rgba(31, 74, 184, 0.18);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.svc-card h2 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  margin-bottom: 12px;
}

.svc-card .muted {
  line-height: 1.72;
  flex: 1;
}

.svc-cta-row {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.svc-divider {
  margin: 60px 0 0;
  text-align: center;
}

/* ─── Blog card ─── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 6px 16px rgba(14, 27, 61, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
  position: relative;
  overflow: hidden;
}

.blog-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.38s ease;
}

.blog-card:hover::after {
  transform: scaleX(1);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 32px rgba(14, 27, 61, 0.12);
  border-color: rgba(31, 74, 184, 0.24);
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.blog-date {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.66rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.blog-card h3 {
  margin-bottom: 12px;
  line-height: 1.28;
  flex: 1;
}

.blog-card .muted {
  flex: 1;
  line-height: 1.7;
}

.blog-read-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  font-family: "Syne", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  transition: gap 0.22s ease, color 0.22s ease, opacity 0.22s ease;
  padding-bottom: 2px;
  border-bottom: 1.5px solid rgba(31, 74, 184, 0.3);
}

.blog-read-link:hover {
  gap: 12px;
  color: var(--accent-deep);
  border-bottom-color: var(--accent-deep);
}

/* ─── Careers apply strip ─── */
.apply-strip {
  background: linear-gradient(145deg, #0d255f, #091739);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 48px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 32px rgba(5, 12, 36, 0.26);
  position: relative;
  overflow: hidden;
}

.apply-strip::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  right: -140px;
  top: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 154, 255, 0.28), transparent 68%);
  pointer-events: none;
}

.apply-strip-text {
  position: relative;
  z-index: 1;
}

.apply-strip-text h2 {
  color: #fff;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  margin-bottom: 8px;
}

.apply-strip-text p {
  color: rgba(210, 228, 255, 0.72);
  font-size: 0.92rem;
  max-width: 44ch;
  margin: 0;
}

.apply-strip-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ─── Job card ─── */
.job-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 6px 16px rgba(14, 27, 61, 0.05);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
  position: relative;
  overflow: hidden;
}

.job-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.38s ease;
}

.job-card:hover::after {
  transform: scaleX(1);
}

.job-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 32px rgba(14, 27, 61, 0.12);
  border-color: rgba(31, 74, 184, 0.24);
}

.job-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.job-card h3 {
  margin: 0;
  flex: 1;
}

.job-location {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

@media (max-width: 980px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .apply-strip {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 32px;
  }
}

/* ─── Guarantee block (why-calisolar.html) ─── */
.guarantee-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: start;
}

.quote-block {
  background: linear-gradient(150deg, #0e2357, #0d1c4a);
  border-radius: var(--radius-lg);
  padding: 38px;
  color: #f3f7ff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 22px 36px rgba(5, 10, 30, 0.28);
  position: relative;
  overflow: hidden;
}

.quote-block::before {
  content: "\201C";
  position: absolute;
  top: -14px;
  left: 26px;
  font-size: 9rem;
  font-family: "Syne", sans-serif;
  color: rgba(122, 160, 255, 0.15);
  line-height: 1;
  pointer-events: none;
}

.quote-block .quote {
  color: rgba(240, 247, 255, 0.9);
  border-left-color: #6b9aff;
  font-size: 1.13rem;
  position: relative;
  z-index: 1;
}

.quote-block .muted {
  color: rgba(210, 228, 255, 0.7);
  margin-top: 10px;
}

.quote-block .small {
  color: rgba(180, 205, 255, 0.55);
  margin-top: 14px;
}

/* ─── Contact layout ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 26px;
  align-items: start;
}

.direct-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 8px 20px rgba(14, 27, 61, 0.06);
}

.direct-card h2 {
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}

.contact-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.contact-item-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(31, 74, 184, 0.08);
  border: 1px solid rgba(31, 74, 184, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-item-text strong {
  display: block;
  font-family: "Syne", sans-serif;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 2px;
}

.contact-item-text span {
  font-size: 0.9rem;
  color: var(--muted);
}

@media (max-width: 980px) {
  .hero-grid,
  .grid-2,
  .grid-3,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .card.featured {
    grid-column: auto;
  }

  .stagger-up,
  .stagger-down {
    transform: none;
  }

  .hero {
    padding: 102px 0 80px;
  }

  .section {
    padding: 90px 0;
  }

  .hero-badge {
    right: 24px;
    bottom: 16px;
  }

  .usp-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .usp-item.featured {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 148px;
  }

  .section.alt::before {
    width: 300px;
    height: 300px;
  }

  .section.alt::after {
    width: 240px;
    height: 240px;
  }
}

@media (max-width: 580px) {
  .form-2,
  .kpi-grid {
    grid-template-columns: 1fr;
  }

  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
  }

  h1 {
    font-size: 2.34rem;
  }

  .section {
    padding: 76px 0;
  }

  .usp-numbers {
    padding: 86px 0;
  }

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

  .usp-item.featured {
    grid-column: span 2;
    min-height: 148px;
  }

  .hero-cta-row {
    width: 100%;
  }

  .hero-cta-row .cta {
    width: 100%;
  }

  .hero-badge {
    position: static;
    display: inline-block;
    margin-top: 16px;
  }

  .ticker-item {
    padding: 12px 18px;
    font-size: 0.68rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Distinctive premium refinement layer */
.topbar {
  border-bottom-color: rgba(14, 27, 71, 0.06);
}

.nav {
  padding: 7px 10px;
  border: 1px solid rgba(31, 74, 184, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 10px 20px rgba(8, 25, 64, 0.06);
}

.hero h1 {
  max-width: 11.2ch;
  text-wrap: balance;
  text-shadow: 0 6px 22px rgba(30, 88, 224, 0.14);
}

.hero .lead {
  max-width: 50ch;
}

.hero-card {
  border-color: rgba(31, 74, 184, 0.16);
}

.hero-card h3 {
  margin-bottom: 10px;
}

.hero-card-action .cta.primary {
  width: 100%;
}

.hero-metric {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(239, 245, 255, 0.9));
}

.energy-ticker {
  position: relative;
}

.energy-ticker::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 31, 86, 0.65), transparent 6%, transparent 94%, rgba(10, 31, 86, 0.65));
  pointer-events: none;
}

.usp-header h2 {
  max-width: 14ch;
  text-wrap: balance;
}

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

.usp-item {
  grid-column: span 1;
  position: relative;
  overflow: hidden;
}

.usp-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 28%);
  pointer-events: none;
}

.usp-item.featured {
  grid-column: span 2;
  grid-row: span 1;
  min-height: 170px;
}

.usp-value {
  letter-spacing: -0.03em;
}

.usp-item:not(.featured):hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 22px rgba(4, 11, 34, 0.34);
}

.section.alt .card,
.section .card {
  border-radius: 18px;
}

.card .quote {
  margin-top: 14px;
}

.section.deep .grid-2 {
  gap: 26px;
}

.form-wrap {
  border-color: rgba(174, 204, 255, 0.18);
}

.form-wrap h2 {
  max-width: 14ch;
}

.footer {
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 85% 15%, rgba(52, 101, 217, 0.12), transparent 38%);
}

@media (max-width: 980px) {
  .nav {
    border-radius: 14px;
  }

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

  .usp-item {
    grid-column: span 1;
  }

  .usp-item.featured {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 148px;
  }

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

  .guarantee-block {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 580px) {
  .nav {
    padding: 6px;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .hero h1 {
    max-width: none;
  }

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

  .usp-item,
  .usp-item.featured {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 124px;
  }
}

/* ═══════════════════════════════════════════════
   USP EDITORIAL SPLIT — "Data Ledger" Design
   ═══════════════════════════════════════════════ */

.usp-shell-full {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

.usp-top-head {
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 20px 48px;
}

.usp-top-head .label {
  grid-column: 1 / -1;
}

.usp-main-title {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  letter-spacing: -0.025em;
  margin: 0;
}

.usp-main-sub {
  font-size: 0.88rem;
  color: rgba(195, 218, 255, 0.62);
  max-width: 40ch;
  line-height: 1.65;
  margin: 0;
  text-align: right;
}

.usp-editorial {
  display: grid;
  grid-template-columns: 300px 1px 1fr;
  align-items: center;
  min-height: 440px;
  gap: 0;
}

/* ── Left col: Giant number ── */
.usp-feat-col {
  padding: 60px 44px 60px 0;
  position: relative;
  z-index: 1;
}

.usp-feat-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(141, 177, 255, 0.75);
  margin-bottom: 20px;
}

.usp-feat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6b9aff;
  animation: badgePulse 2.8s ease-in-out infinite;
  flex-shrink: 0;
}

.usp-feat-value {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: clamp(4.8rem, 8vw, 7.5rem);
  letter-spacing: -0.042em;
  line-height: 0.86;
  color: #ffffff;
  display: flex;
  align-items: flex-start;
  text-shadow:
    0 0 60px rgba(107, 154, 255, 0.5),
    0 0 120px rgba(70, 120, 255, 0.22);
}

.usp-feat-value sup {
  font-size: 0.32em;
  margin-top: 0.2em;
  color: rgba(165, 199, 255, 0.9);
  font-weight: 700;
  letter-spacing: 0;
}

.usp-feat-word {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(185, 210, 255, 0.58);
  margin-top: 18px;
  line-height: 2;
}

.usp-feat-sub {
  font-size: 0.72rem;
  color: rgba(160, 190, 255, 0.38);
  margin-top: 4px;
  font-family: "Manrope", sans-serif;
}

.usp-feat-orb {
  position: absolute;
  width: 340px;
  height: 340px;
  left: -120px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(100, 145, 255, 0.22), transparent 68%);
  animation: floatGlowA 8s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

/* ── Vertical divider ── */
.usp-vline {
  width: 1px;
  align-self: stretch;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255, 255, 255, 0.16) 15%,
    rgba(255, 255, 255, 0.16) 85%,
    transparent 100%
  );
}

/* ── Right col: Metric rows ── */
.usp-rows-col {
  padding: 60px 0 60px 56px;
}

.usp-rows {
  counter-reset: usp-counter;
}

.usp-row {
  display: grid;
  grid-template-columns: 164px 1fr;
  align-items: center;
  gap: 20px;
  padding: 20px 0 20px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  position: relative;
  transition: background 0.2s ease, padding-left 0.22s ease;
  cursor: default;
}

.usp-row::before {
  content: "0" counter(usp-counter);
  counter-increment: usp-counter;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: rgba(130, 165, 255, 0.42);
}

.usp-row::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #6b9aff, transparent);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.usp-row:hover {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding-left: 38px;
}

.usp-row:hover::after {
  width: 100%;
}

.usp-row-val {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.52rem, 2.4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1;
}

.usp-row-lbl {
  font-family: "Manrope", sans-serif;
  font-size: 0.9rem;
  color: rgba(205, 225, 255, 0.72);
  line-height: 1.3;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.usp-row-lbl em {
  font-style: normal;
  font-size: 0.76rem;
  color: rgba(175, 200, 255, 0.46);
  letter-spacing: 0.01em;
}

/* ── Responsive ── */
@media (max-width: 1000px) {
  .usp-editorial {
    grid-template-columns: 240px 1px 1fr;
  }

  .usp-feat-col {
    padding-right: 32px;
  }

  .usp-rows-col {
    padding-left: 32px;
  }

  .usp-top-head {
    grid-template-columns: 1fr;
  }

  .usp-main-sub {
    text-align: left;
  }
}

@media (max-width: 760px) {
  .usp-top-head {
    grid-template-columns: 1fr;
  }

  .usp-main-sub {
    text-align: left;
  }

  .usp-editorial {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .usp-vline {
    width: auto;
    height: 1px;
    background: linear-gradient(
      to right,
      transparent 0%,
      rgba(255, 255, 255, 0.16) 20%,
      rgba(255, 255, 255, 0.16) 80%,
      transparent 100%
    );
  }

  .usp-feat-col {
    padding: 44px 0 28px;
    text-align: center;
    overflow: visible;
  }

  .usp-feat-value {
    justify-content: center;
  }

  .usp-feat-kicker {
    justify-content: center;
  }

  .usp-feat-orb {
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .usp-rows-col {
    padding: 28px 0 52px;
  }

  .usp-row {
    grid-template-columns: 130px 1fr;
  }
}

/* ==========================================================================
   Article / blog pages
   ========================================================================== */

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-bottom: 14px;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span { color: var(--muted); }

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
  font-size: 0.84rem;
  color: var(--muted);
}

.article-body {
  max-width: 760px;
  margin: 0 auto;
}

.article-body h2 {
  font-size: 1.25rem;
  margin-top: 40px;
  margin-bottom: 12px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.article-body h3 {
  font-size: 1.07rem;
  margin-top: 26px;
  margin-bottom: 8px;
  line-height: 1.4;
  letter-spacing: -0.005em;
}

.article-body p {
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 16px;
  color: var(--ink);
}

.article-body p.muted { color: var(--muted); }

.article-body ul,
.article-body ol {
  margin: 10px 0 18px 20px;
  padding-left: 6px;
}

.article-body li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.article-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-footer-cta {
  margin-top: 48px;
  padding: 28px 32px;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid rgba(31, 26, 18, 0.08);
}

.article-footer-cta h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.article-footer-cta p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.related-articles {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(31, 26, 18, 0.08);
}

.related-articles h3 {
  margin: 0 0 14px;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.related-articles-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.related-articles-grid a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 10px 14px;
  border: 1px solid rgba(31, 26, 18, 0.1);
  border-radius: 8px;
  transition: border-color 0.18s, color 0.18s;
}

.related-articles-grid a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid rgba(31, 26, 18, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 0.97rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--muted);
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item[open] summary::after { content: '−'; }

.faq-item p {
  margin: 0;
  padding: 0 20px 18px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
}

/* Dealer disclosure band — CSLB §7027.1 attribution. Mirrors WP theme. */
.dealer-disclosure {
  border-top: 1px solid rgba(31, 26, 18, 0.08);
  border-bottom: 1px solid rgba(31, 26, 18, 0.08);
  background: rgba(217, 119, 6, 0.04);
  padding: 14px 0;
}
.dealer-disclosure .small {
  margin: 0;
  text-align: center;
  letter-spacing: 0.01em;
}
