:root{--page-title-display:none;}/* Start custom CSS *//* ============================================================
   Central Coast Solar and Batteries — SERVICES PAGE Custom CSS
   Paste into Elementor: Site Settings > Custom CSS
   (same global box used for the homepage CSS — safe to paste both
   the homepage ccsb-custom-css.css and this file together; class
   names are namespaced and won't conflict)
   Pairs with ccsb-services-page.html
============================================================ */

.ccsb-page {
  --ccsb-navy: #0b1f3a;
  --ccsb-navy-light: #14335c;
  --ccsb-blue: #1e6fd9;
  --ccsb-orange: #ff8a1e;
  --ccsb-green: #17c964;
  --ccsb-bg-light: #f5f8fc;
  --ccsb-white: #ffffff;
  --ccsb-text: #1c2733;
  --ccsb-text-muted: #5b6b7c;
  --ccsb-border: #e3e9f0;
  --ccsb-radius: 16px;
  --ccsb-shadow: 0 10px 30px rgba(11, 31, 58, 0.08);
  --ccsb-shadow-lg: 0 20px 50px rgba(11, 31, 58, 0.14);

  font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  color: var(--ccsb-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.ccsb-page * {
  box-sizing: border-box;
}

.ccsb-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Full-bleed background layer ----------
   Each full-bleed section fills its own box (parent Elementor container
   is already full-width, confirmed on the homepage build — no viewport
   breakout math needed). */
.ccsb-hero,
.ccsb-trust-strip,
.ccsb-why-section,
.ccsb-cta-section {
  position: relative;
  background: none;
  isolation: isolate;
}

.ccsb-hero::before,
.ccsb-trust-strip::before,
.ccsb-why-section::before,
.ccsb-cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}

.ccsb-hero::before {
  background: linear-gradient(135deg, var(--ccsb-navy) 0%, var(--ccsb-navy-light) 55%, #0d4a8f 100%);
}

.ccsb-trust-strip::before {
  background: var(--ccsb-bg-light);
  border-bottom: 1px solid var(--ccsb-border);
}

.ccsb-why-section::before {
  background: var(--ccsb-bg-light);
}

.ccsb-cta-section::before {
  background: linear-gradient(135deg, var(--ccsb-navy), #0d4a8f);
}

/* ---------- Base typography ----------
   NOTE: these bare h1-h4/p rules only set color/line-height/weight —
   never margin-left/margin-right — so they can never clobber the
   auto-centering margins set on specific hero/CTA elements below.
   (This is the fix for the specificity bug found on the homepage: a
   bare `.ccsb-page h1 { margin: 0 0 14px }` shorthand was zeroing out
   `margin-left/right: auto` on more specific hero title/sub rules.) */
.ccsb-page h1,
.ccsb-page h2,
.ccsb-page h3,
.ccsb-page h4 {
  color: var(--ccsb-navy);
  line-height: 1.25;
  margin-top: 0;
  margin-bottom: 14px;
  font-weight: 800;
}

.ccsb-page p {
  margin-top: 0;
  margin-bottom: 12px;
  color: var(--ccsb-text-muted);
}

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

/* ---------- Buttons ---------- */
.ccsb-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.ccsb-btn-primary {
  background: linear-gradient(135deg, var(--ccsb-orange), #ff6b00);
  color: var(--ccsb-white);
  box-shadow: 0 12px 24px rgba(255, 107, 0, 0.3);
}

.ccsb-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(255, 107, 0, 0.4);
  color: var(--ccsb-white);
}

.ccsb-btn-outline {
  background: transparent;
  color: var(--ccsb-white);
  border-color: rgba(255, 255, 255, 0.5);
}

.ccsb-btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--ccsb-white);
  color: var(--ccsb-white);
  transform: translateY(-3px);
}

.ccsb-btn-white {
  background: var(--ccsb-white);
  color: var(--ccsb-navy);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.ccsb-btn-white:hover {
  transform: translateY(-3px);
  color: var(--ccsb-navy);
}

.ccsb-btn-outline-white {
  background: transparent;
  color: var(--ccsb-white);
  border-color: rgba(255, 255, 255, 0.6);
}

.ccsb-btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--ccsb-white);
  transform: translateY(-3px);
}

/* ---------- Hero (services page — shorter than homepage hero) ---------- */
.ccsb-hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 70px;
  text-align: center;
}

.ccsb-hero-inner {
  position: relative;
  z-index: 1;
}

.ccsb-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #cfe0ff;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}

/* Scoped to .ccsb-hero to keep specificity safely above the bare
   .ccsb-page h1 rule above — this is what actually centers the title. */
.ccsb-hero .ccsb-hero-title {
  display: block;
  width: 100%;
  max-width: 900px;
  margin-top: 0;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
  color: var(--ccsb-white);
  font-size: clamp(30px, 4.5vw, 48px);
  text-align: center;
}

.ccsb-gradient-text {
  background: linear-gradient(90deg, #ff8a1e, #ffc26b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ccsb-hero .ccsb-hero-sub {
  display: block;
  width: 100%;
  max-width: 720px;
  margin-top: 0;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 36px;
  color: #c6d3e6;
  font-size: 18px;
  text-align: center;
}

.ccsb-hero-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Quick jump nav (reuses trust-strip full-bleed section) ---------- */
.ccsb-trust-strip {
  padding: 18px 0;
}

.ccsb-jump-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
}

.ccsb-jump-nav a {
  color: var(--ccsb-navy);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  padding: 6px 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.ccsb-jump-nav a:hover {
  color: var(--ccsb-orange);
  border-bottom-color: var(--ccsb-orange);
}

/* ---------- Sections (generic) ---------- */
.ccsb-section {
  padding: 90px 0;
}

.ccsb-section-head {
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 56px;
}

.ccsb-eyebrow {
  display: inline-block;
  color: var(--ccsb-orange);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.ccsb-section-head h2 {
  font-size: clamp(26px, 4vw, 38px);
}

/* ---------- Service detail blocks (Solar / Battery / Electrical) ---------- */
.ccsb-service-detail-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}

.ccsb-service-detail-grid-reverse {
  grid-template-columns: 1fr 1.4fr;
}

.ccsb-service-detail-grid-reverse .ccsb-service-detail-icon {
  order: -1;
}

.ccsb-service-detail-icon {
  font-size: 140px;
  text-align: center;
  line-height: 1;
}

.ccsb-service-subhead {
  font-size: 18px;
  margin-top: 28px;
  margin-bottom: 14px;
}

.ccsb-check-list-lg li {
  font-size: 15px;
  margin-bottom: 12px;
}

.ccsb-check-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: 15px;
  color: inherit;
}

.ccsb-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ccsb-green);
  font-weight: 800;
}

.ccsb-service-detail .ccsb-btn {
  margin-top: 10px;
}

/* ---------- Electrical sub-services grid ---------- */
.ccsb-subservices-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 64px;
}

.ccsb-subservice-card {
  background: var(--ccsb-white);
  border: 1px solid var(--ccsb-border);
  border-radius: var(--ccsb-radius);
  padding: 28px 22px;
  box-shadow: var(--ccsb-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ccsb-subservice-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ccsb-shadow-lg);
}

.ccsb-subservice-icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.ccsb-subservice-card h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.ccsb-subservice-card p {
  font-size: 14px;
  margin-bottom: 0;
}

/* ---------- Process ---------- */
.ccsb-process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.ccsb-process-step {
  background: var(--ccsb-white);
  border: 1px solid var(--ccsb-border);
  border-radius: var(--ccsb-radius);
  padding: 28px 20px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ccsb-process-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--ccsb-shadow);
}

.ccsb-process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ccsb-orange), #ff6b00);
  color: var(--ccsb-white);
  font-weight: 800;
  margin-bottom: 16px;
}

.ccsb-process-step h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.ccsb-process-step p {
  font-size: 13px;
  margin-bottom: 0;
}

/* ---------- Final CTA ---------- */
.ccsb-cta-section {
  padding: 80px 0;
  text-align: center;
}

.ccsb-cta-inner h2 {
  color: var(--ccsb-white);
  font-size: clamp(26px, 4vw, 36px);
}

.ccsb-cta-inner p {
  color: #c6d3e6;
  font-size: 17px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 32px;
}

.ccsb-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.ccsb-cta-address {
  color: #a9bcd6;
  font-size: 14px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .ccsb-service-detail-grid,
  .ccsb-service-detail-grid-reverse {
    grid-template-columns: 1fr;
  }

  .ccsb-service-detail-grid-reverse .ccsb-service-detail-icon {
    order: 0;
  }

  .ccsb-service-detail-icon {
    font-size: 90px;
  }

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

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

@media (max-width: 600px) {
  .ccsb-section {
    padding: 60px 0;
  }

  .ccsb-hero {
    padding: 70px 0 50px;
  }

  .ccsb-subservices-grid {
    grid-template-columns: 1fr;
  }

  .ccsb-process-grid {
    grid-template-columns: 1fr;
  }

  .ccsb-jump-nav {
    gap: 16px;
    font-size: 13px;
  }
}/* End custom CSS */