/* ==========================================================================
   All One Solar Shine — PPC Landing Page shared design system
   ========================================================================== */

:root {
  --blue: #0EA5E0;
  --blue-dark: #0B6FA8;
  --blue-darker: #0A3A56;
  --lime: #D7DF23;
  --lime-dark: #AEB61C;
  --charcoal: #12161A;
  --charcoal-soft: #1B2126;
  --ink: #1A1D21;
  --gray-700: #4A5157;
  --gray-500: #767E85;
  --gray-200: #E4E8EB;
  --gray-100: #F4F6F7;
  --white: #FFFFFF;
  --success: #2FA84F;
  --amber: #FF7C29;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(18, 22, 26, 0.08);
  --shadow-md: 0 10px 30px rgba(18, 22, 26, 0.14);
  --shadow-lg: 0 20px 50px rgba(18, 22, 26, 0.22);

  --container: 1160px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

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

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue-dark);
  background: rgba(14, 165, 224, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.eyebrow.on-dark { color: var(--lime); background: rgba(215, 223, 35, 0.14); }

.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-title {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800;
  letter-spacing: -0.5px;
  max-width: 760px;
}
.section-sub {
  margin-top: 14px;
  font-size: 18px;
  color: var(--gray-700);
  max-width: 640px;
}
.section-head { margin-bottom: 44px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .section-title,
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }

.bg-charcoal { background: var(--charcoal); color: var(--white); }
.bg-gray { background: var(--gray-100); }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 30px;
  border-radius: 999px;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
  text-align: center;
}
.btn-block { white-space: normal; }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--lime);
  color: var(--charcoal);
  box-shadow: 0 8px 20px rgba(215, 223, 35, 0.35);
}
.btn-primary:hover { background: var(--lime-dark); box-shadow: 0 10px 26px rgba(215, 223, 35, 0.45); }
.btn-secondary {
  background: var(--white);
  color: var(--blue-dark);
  border: 2px solid var(--white);
}
.btn-secondary:hover { background: transparent; color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--blue-dark);
  border: 2px solid var(--blue);
}
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-block { width: 100%; }
.btn-lg { padding: 19px 36px; font-size: 18px; }
.btn-call { gap: 8px; }
.btn-call svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Header ------------------------------------------------------------------ */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: linear-gradient(to bottom, rgba(10,14,17,0.65) 0%, rgba(10,14,17,0) 100%);
  border-bottom: none;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
  gap: 16px;
}
.site-header .logo img { height: 46px; width: auto; }
.header-cta { display: flex; align-items: center; gap: 18px; }
.header-hours {
  display: none;
  text-align: right;
  font-size: 13px;
  color: var(--gray-200);
  line-height: 1.4;
}
.header-hours strong { color: var(--lime); display: block; font-size: 13px; }
@media (min-width: 860px) {
  .header-hours { display: block; }
}

/* Hero ---------------------------------------------------------------------*/
.hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  padding: 168px 0 64px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(10,14,17,0.94) 0%, rgba(10,14,17,0.86) 34%, rgba(10,14,17,0.55) 62%, rgba(10,14,17,0.35) 100%),
    linear-gradient(0deg, rgba(10,14,17,0.5), rgba(10,14,17,0) 30%);
}
.hero .container { position: relative; z-index: 2; }
.hero .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
.hero .container > * { min-width: 0; }
@media (min-width: 940px) {
  .hero .container { grid-template-columns: 1.15fr 0.85fr; align-items: center; }
}
.hero-copy .eyebrow.on-dark { }
.hero-copy h1 {
  font-size: clamp(32px, 4.6vw, 54px);
  font-weight: 800;
  letter-spacing: -1px;
}
.hero-copy h1 span { color: var(--lime); }
.hero-copy .hero-sub {
  margin-top: 18px;
  font-size: 19px;
  font-weight: 600;
  color: var(--gray-200);
  max-width: 560px;
}
.hero-copy .hero-body {
  margin-top: 16px;
  max-width: 560px;
}
.hero-copy .hero-body p {
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
  margin-bottom: 12px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 26px;
}
.hero-badges li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-200);
}
.hero-badges svg { width: 18px; height: 18px; color: var(--lime); flex-shrink: 0; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* Hero-embedded lead form card */
.hero-formcard {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 30px;
  color: var(--ink);
}

.hero-strip {
  position: relative;
  z-index: 2;
  margin-top: 48px;
  background: rgba(255,255,255,0.08);
  border-top: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-md);
}
.hero-strip .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 22px 24px;
}
@media (min-width: 700px) { .hero-strip .container { grid-template-columns: repeat(4, 1fr); } }
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-size: 26px; font-weight: 800; color: var(--lime); }
.hero-stat span { font-size: 13px; color: var(--gray-200); }

/* About section ------------------------------------------------------------*/
.about-hero-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
@media (min-width: 940px) { .about-hero-wrap { grid-template-columns: 0.9fr 1.1fr; } }
.about-hero-wrap .about-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.about-hero-wrap .about-media img { width: 100%; object-fit: cover; }
.about-hero-wrap p { font-size: 16.5px; line-height: 1.75; color: var(--gray-700); margin-bottom: 14px; }

/* Service overview (long-form, image + copy) -------------------------------*/
.overview-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
@media (min-width: 940px) { .overview-wrap { grid-template-columns: 0.85fr 1.15fr; } }
.overview-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.overview-media img { width: 100%; object-fit: cover; }

/* Media-right modifier: flips image to the right column on desktop, for
   alternating rhythm between adjacent image+copy sections (About Us / Service
   Overview). Mobile always stacks image first regardless of this class. */
@media (min-width: 940px) {
  .about-hero-wrap.media-right { grid-template-columns: 1.1fr 0.9fr; }
  .about-hero-wrap.media-right .about-media { order: 2; }
  .overview-wrap.media-right { grid-template-columns: 1.15fr 0.85fr; }
  .overview-wrap.media-right .overview-media { order: 2; }
}
.overview-copy h2 { font-size: clamp(26px, 3.2vw, 34px); font-weight: 800; margin-bottom: 8px; }
.overview-block { margin-top: 22px; }
.overview-block h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--blue-dark); }
.overview-block p { font-size: 15.5px; line-height: 1.75; color: var(--gray-700); }
.overview-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* Photo gallery strip -------------------------------------------------------
   Mobile: horizontal swipeable slider with scroll-snap (native touch scroll,
   no JS needed). Desktop: full-bleed edge-to-edge 4-column grid. */
.gallery-strip {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 12px;
  padding: 4px 20px 18px;
  scrollbar-width: none;
}
.gallery-strip::-webkit-scrollbar { display: none; }
.gallery-strip figure {
  flex: 0 0 78%;
  max-width: 340px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  scroll-snap-align: center;
}
.gallery-strip img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-md);
  transition: transform 0.4s ease;
}
.gallery-strip figure:hover img { transform: scale(1.05); }

@media (min-width: 780px) {
  .gallery-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3px;
    overflow-x: visible;
    padding: 0;
  }
  .gallery-strip figure { flex: none; max-width: none; border-radius: 0; }
  .gallery-strip img { height: 260px; border-radius: 0; }
}

/* Discount banner (pre-FAQ) -------------------------------------------------*/
.discount-banner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 36px;
}
@media (min-width: 640px) { .discount-banner { grid-template-columns: 1fr 1fr; } }
.discount-banner-tile {
  display: block;
  background: var(--lime);
  color: var(--charcoal);
  border-radius: var(--radius-md);
  padding: 26px;
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  transition: background 0.15s ease, transform 0.15s ease;
}
.discount-banner-tile:hover { background: var(--lime-dark); transform: translateY(-2px); }

/* Testimonials --------------------------------------------------------------*/
.stars { display: flex; gap: 3px; margin-bottom: 12px; }
.stars svg { width: 16px; height: 16px; color: var(--lime-dark); }
.testi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 720px) { .testi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .testi-grid { grid-template-columns: repeat(3, 1fr); } }
.testi-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.testi-card p { font-size: 15.5px; color: var(--gray-700); }
.testi-foot { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px;
  flex-shrink: 0;
}
.testi-name { font-weight: 700; font-size: 14.5px; }
.testi-role { font-size: 13px; color: var(--gray-500); }

/* Lead form ------------------------------------------------------------- */
.form-section { position: relative; }
.form-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}
@media (min-width: 940px) { .form-wrap { grid-template-columns: 1fr 1fr; } }
.form-pitch h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
.discount-box {
  margin-top: 24px;
  background: rgba(215,223,35,0.1);
  border: 1px solid rgba(215,223,35,0.4);
  border-radius: var(--radius-md);
  padding: 22px;
}
.discount-box h3 { font-size: 16px; color: var(--lime-dark); font-weight: 800; margin-bottom: 10px; }
.discount-tiers { display: flex; flex-direction: column; gap: 10px; }
.discount-tier { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--gray-700); }
.discount-tier strong { color: var(--charcoal); background: var(--lime); padding: 3px 10px; border-radius: 999px; font-size: 13px; }
.trust-mini { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; }
.trust-mini li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--gray-700); font-weight: 600; }
.trust-mini svg { width: 17px; height: 17px; color: var(--success); flex-shrink: 0; }

.lead-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  border: 1px solid var(--gray-200);
}
.lead-form .form-top { text-align: center; margin-bottom: 22px; }
.lead-form .form-top h3 { font-size: 22px; font-weight: 800; }
.lead-form .form-top p { margin-top: 8px; color: var(--gray-700); font-size: 14.5px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 6px; color: var(--charcoal); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: var(--gray-100);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
}
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 11px 12px;
  font-size: 13.5px;
  font-weight: 600;
  background: var(--gray-100);
  cursor: pointer;
}
.checkbox-item input { width: 16px; height: 16px; accent-color: var(--blue); flex-shrink: 0; }
.checkbox-item:has(input:checked) { border-color: var(--blue); background: rgba(14,165,224,0.08); }
.form-note { margin-top: 14px; font-size: 12.5px; color: var(--gray-500); text-align: center; }
.form-disclaimer { margin-top: 8px; font-size: 11.5px; color: var(--gray-500); text-align: center; }

/* Benefits / features grid ----------------------------------------------- */
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 28px;
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(14,165,224,0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-icon svg { width: 26px; height: 26px; color: var(--blue-dark); }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 14.5px; color: var(--gray-700); }

/* Process ------------------------------------------------------------------*/
.process-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  counter-reset: step;
}
@media (min-width: 800px) { .process-list { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.process-step {
  position: relative;
  padding: 26px 22px 26px 64px;
  border-left: 2px solid var(--gray-200);
}
@media (min-width: 800px) {
  .process-step { border-left: none; border-top: 3px solid var(--blue); padding: 26px 10px 0 4px; }
}
.process-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: -21px;
  top: 22px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 6px var(--white);
}
@media (min-width: 800px) {
  .process-step::before { left: 0; top: -23px; box-shadow: 0 0 0 6px var(--gray-100); }
}
.process-step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.process-step p { font-size: 14.5px; color: var(--gray-700); }

/* Why us ------------------------------------------------------------------ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 720px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
.why-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
}
.why-item svg { width: 24px; height: 24px; color: var(--lime); flex-shrink: 0; margin-top: 2px; }
.why-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.why-item p { font-size: 14px; color: var(--gray-200); }

/* FAQ ------------------------------------------------------------------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--gray-200);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  padding: 22px 4px;
  text-align: left;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}
.faq-q .plus {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: transform 0.2s ease, background 0.2s ease;
}
.faq-q .plus::before, .faq-q .plus::after {
  content: '';
  position: absolute;
  background: var(--blue-dark);
}
.faq-q .plus::before { width: 12px; height: 2px; }
.faq-q .plus::after { width: 2px; height: 12px; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); background: var(--blue); }
.faq-item.open .faq-q .plus::before, .faq-item.open .faq-q .plus::after { background: var(--white); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-a p { padding: 0 34px 22px 4px; font-size: 15px; color: var(--gray-700); }

/* About / trust strip ------------------------------------------------------*/
.about-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
@media (min-width: 940px) { .about-wrap { grid-template-columns: 0.9fr 1.1fr; } }
.about-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.about-media img { width: 100%; object-fit: cover; }
.about-points { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.about-point { display: flex; gap: 12px; align-items: flex-start; }
.about-point svg { width: 22px; height: 22px; color: var(--blue-dark); flex-shrink: 0; margin-top: 2px; }
.about-point p { font-size: 15px; color: var(--gray-700); }

/* Final CTA ---------------------------------------------------------------*/
.final-cta {
  background: linear-gradient(120deg, var(--blue-darker), var(--charcoal));
  color: var(--white);
  text-align: center;
  padding: 72px 0;
}
.final-cta h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; max-width: 700px; margin: 0 auto; }
.final-cta p { margin-top: 14px; font-size: 17px; color: var(--gray-200); }
.final-cta .hero-ctas { justify-content: center; margin-top: 30px; }

/* Footer -------------------------------------------------------------------*/
.site-footer { background: var(--ink); color: var(--gray-200); padding: 48px 0 22px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (min-width: 780px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-grid .logo img { height: 40px; margin-bottom: 14px; }
.footer-grid p { font-size: 13.5px; color: var(--gray-500); max-width: 320px; }
.footer-col h4 { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 14px; letter-spacing: 0.5px; text-transform: uppercase; }
.footer-col li { font-size: 14px; color: var(--gray-500); margin-bottom: 10px; }
.footer-col a:hover { color: var(--lime); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
  padding-top: 22px;
  font-size: 12.5px;
  color: var(--gray-500);
}

/* Sticky mobile call bar --------------------------------------------------*/
.mobile-call-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 60;
  background: var(--charcoal);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 10px 16px;
  display: flex;
  gap: 10px;
}
.mobile-call-bar .btn { flex: 1; }
@media (min-width: 860px) { .mobile-call-bar { display: none; } }
@media (max-width: 859px) { body { padding-bottom: 74px; } }

/* Utilities ----------------------------------------------------------------*/
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
