/* ============================================================
   SEARS ENERGY — styles.css
   Production-ready, mobile-first, Cloudflare Pages compatible
   ============================================================ */

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --green-primary:   #004225;
  --green-mist:      #8BBB94;
  --green-tea:       #D8E8DB;
  --green-fern:      #4F7942;
  --white-seashell:  #F8F3EE;
  --black-near:      #1C1517;
  --gold-harvest:    #E1A84B;
  --burgundy:        #800020;
  --brown-dark:      #422500;

  --font-head: Arial, Helvetica, sans-serif;
  --font-body: Verdana, Geneva, sans-serif;

  --section-pad-desktop: 100px 0;
  --section-pad-mobile: 64px 0;
  --radius: 6px;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --transition: 0.22s ease;
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--white-seashell);
  color: var(--black-near);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.18; }
h1 { font-size: clamp(32px, 5vw, 58px); }
h2 { font-size: clamp(24px, 3.5vw, 38px); }
h3 { font-size: clamp(18px, 2.2vw, 24px); }
p  { font-size: clamp(15px, 1.1vw, 17px); line-height: 1.75; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold-harvest);
  margin-bottom: 14px;
}

.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-mist);
  margin-bottom: 12px;
  display: block;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gold-harvest);
  color: var(--black-near);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  padding: 16px 32px;
  min-height: 52px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  text-align: center;
  letter-spacing: 0.01em;
}
.btn-primary:hover {
  background: #c99230;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(225,168,75,0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--white-seashell);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 30px;
  min-height: 52px;
  border-radius: var(--radius);
  border: 2px solid var(--white-seashell);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-1px);
}

.btn-outline-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--green-primary);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 30px;
  min-height: 52px;
  border-radius: var(--radius);
  border: 2px solid var(--green-primary);
  cursor: pointer;
  transition: all var(--transition);
}
.btn-outline-green:hover {
  background: var(--green-primary);
  color: white;
}

/* ── Urgency Bar ───────────────────────────────────────────── */
#urgency-bar {
  background: var(--burgundy);
  color: #fff;
  text-align: center;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* ── Header ────────────────────────────────────────────────── */
#site-header {
  background: #fff;
  border-bottom: 1px solid #e8e2da;
  padding: 14px 0;
  position: sticky;
  top: 38px;
  z-index: 999;
}
#site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.header-logo img { height: 48px; width: auto; }
.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.header-location {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--green-fern);
  font-weight: 700;
}
.header-phone {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--black-near);
}
.header-phone a {
  color: var(--green-primary);
  font-weight: 700;
}
.header-phone a:hover { color: var(--gold-harvest); }

/* ── Hero Section ──────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black-near);
}
#hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/images/Sears_Energy-Home.png');
  background-size: cover;
  background-position: center 30%;
  filter: brightness(0.38);
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding: 80px 0;
}
.hero-content { color: #fff; }
.hero-content .eyebrow { color: var(--gold-harvest); }
.hero-content h1 { color: #fff; margin-bottom: 20px; }
.hero-subheadline {
  font-size: clamp(15px, 1.2vw, 18px);
  color: rgba(255,255,255,0.88);
  margin-bottom: 16px;
  line-height: 1.65;
}
.hero-subheadline .rotating-text {
  color: var(--gold-harvest);
  font-weight: 700;
}
.hero-supporting {
  font-size: 15px;
  color: rgba(255,255,255,0.72);
  margin-bottom: 0;
  line-height: 1.7;
}

/* Hero Form Card */
.hero-form-card {
  background: #fff;
  border-radius: 10px;
  padding: 32px 28px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.28);
}
.hero-form-card h3 {
  color: var(--green-primary);
  margin-bottom: 6px;
  font-size: 20px;
}
.hero-form-card .form-subtitle {
  font-size: 13px;
  color: #666;
  margin-bottom: 20px;
}
.jotform-embed {
  width: 100%;
  border: none;
  min-height: 440px;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #eee;
}
.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  max-width: 130px;
}
.trust-badge-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-tea);
  border-radius: 50%;
  font-size: 22px;
}
.trust-badge p {
  font-size: 10px;
  color: #666;
  line-height: 1.4;
}
.trust-badge strong {
  font-size: 11px;
  color: var(--green-primary);
  font-family: var(--font-head);
  display: block;
  margin-bottom: 2px;
}

/* ── Stats Bar ─────────────────────────────────────────────── */
#stats-bar {
  background: var(--green-primary);
  padding: 36px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  text-align: center;
}
.stat-item {
  padding: 8px 20px;
  position: relative;
}
.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0; top: 10%; bottom: 10%;
  width: 1px;
  background: rgba(255,255,255,0.2);
}
.stat-number {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--gold-harvest);
  display: block;
  line-height: 1.1;
}
.stat-label {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  margin-top: 6px;
  display: block;
}

/* ── Problem Section ───────────────────────────────────────── */
#problem {
  padding: var(--section-pad-desktop);
  background: var(--white-seashell);
}
.problem-intro {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.problem-intro h2 { margin-bottom: 18px; color: var(--black-near); }
.problem-intro p { color: #555; }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.problem-card {
  background: #fff;
  border-radius: 8px;
  padding: 28px 24px;
  border-left: 4px solid var(--green-mist);
  box-shadow: var(--shadow);
  transition: border-color var(--transition), transform var(--transition);
}
.problem-card:hover {
  border-color: var(--gold-harvest);
  transform: translateY(-2px);
}
.problem-card-icon {
  font-size: 28px;
  margin-bottom: 12px;
}
.problem-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--green-primary);
}
.problem-card p { font-size: 14px; color: #666; line-height: 1.65; }

.callout-block {
  background: var(--black-near);
  color: #fff;
  border-radius: 10px;
  padding: 40px 48px;
  position: relative;
  overflow: hidden;
}
.callout-block::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--gold-harvest);
}
.callout-block h3 {
  color: var(--gold-harvest);
  margin-bottom: 10px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.callout-block p { color: rgba(255,255,255,0.88); font-size: 16px; line-height: 1.7; }

/* ── Solution / Process Section ────────────────────────────── */
#solution {
  padding: var(--section-pad-desktop);
  background: var(--green-primary);
  color: #fff;
}
.solution-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.solution-header h2 { color: #fff; margin-bottom: 16px; }
.solution-header p { color: rgba(255,255,255,0.8); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.process-step {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 32px 26px;
  transition: background var(--transition), transform var(--transition);
}
.process-step:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}
.step-number {
  font-family: var(--font-head);
  font-size: 42px;
  font-weight: 700;
  color: var(--gold-harvest);
  opacity: 0.6;
  line-height: 1;
  margin-bottom: 14px;
}
.process-step h3 { color: #fff; margin-bottom: 10px; font-size: 19px; }
.process-step p { color: rgba(255,255,255,0.75); font-size: 14px; }

/* ── Features Section ──────────────────────────────────────── */
#features {
  padding: var(--section-pad-desktop);
  background: #fff;
}
.features-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.features-header h2 { margin-bottom: 14px; }
.features-header p { color: #666; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 56px;
}
.feature-card {
  background: var(--white-seashell);
  border-radius: 10px;
  padding: 36px 32px;
  border: 1px solid #e5dfd8;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.feature-icon {
  font-size: 34px;
  margin-bottom: 14px;
}
.feature-card h3 { color: var(--green-primary); margin-bottom: 10px; font-size: 20px; }
.feature-card > p { color: #555; font-size: 14px; margin-bottom: 18px; }
.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  background: var(--green-tea);
  color: var(--green-fern);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}

/* Solutions Strip */
.solutions-strip {
  background: var(--green-tea);
  border-radius: 10px;
  padding: 28px 36px;
  text-align: center;
}
.solutions-strip h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--green-primary);
  margin-bottom: 16px;
  font-family: var(--font-body);
}
.solutions-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 4px;
  justify-content: center;
  font-size: 13px;
  color: var(--green-fern);
  font-weight: 700;
  font-family: var(--font-body);
}
.solutions-list span { white-space: nowrap; }
.solutions-divider { color: var(--green-mist); }

/* ── Differentiation Section ───────────────────────────────── */
#differentiation {
  padding: var(--section-pad-desktop);
  background: var(--white-seashell);
}
.diff-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}
.diff-header h2 { margin-bottom: 10px; }
.diff-header p { color: #666; font-size: 18px; }

.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 52px;
}
.diff-card {
  background: #fff;
  border-radius: 8px;
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
  border-top: 3px solid var(--green-tea);
}
.diff-card:hover {
  transform: translateY(-3px);
  border-top-color: var(--gold-harvest);
}
.diff-card-icon { font-size: 30px; margin-bottom: 12px; }
.diff-card h3 { font-size: 14px; color: var(--green-primary); margin-bottom: 8px; font-family: var(--font-head); }
.diff-card p { font-size: 12px; color: #777; line-height: 1.55; }

/* No-Fee Callout */
.no-fee-bar {
  background: var(--green-primary);
  border-radius: 10px;
  padding: 44px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}
.no-fee-text h3 {
  color: var(--gold-harvest);
  font-size: 22px;
  margin-bottom: 10px;
}
.no-fee-text p { color: rgba(255,255,255,0.85); font-size: 15px; max-width: 620px; }
.no-fee-action { flex-shrink: 0; }

/* ── Testimonials ──────────────────────────────────────────── */
#testimonials {
  padding: var(--section-pad-desktop);
  background: var(--black-near);
  color: #fff;
}
.testimonials-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
}
.testimonials-header h2 { color: #fff; margin-bottom: 10px; }
.testimonials-header p { color: rgba(255,255,255,0.65); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 32px 28px;
  transition: background var(--transition);
}
.testimonial-card:hover { background: rgba(255,255,255,0.08); }
.testimonial-badge {
  display: inline-block;
  background: var(--gold-harvest);
  color: var(--black-near);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}
.testimonial-card blockquote {
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(255,255,255,0.88);
  line-height: 1.72;
  margin-bottom: 20px;
  border: none;
  padding: 0;
  font-style: italic;
}
.testimonial-author strong {
  display: block;
  color: #fff;
  font-family: var(--font-head);
  font-size: 14px;
}
.testimonial-author span {
  color: var(--green-mist);
  font-size: 13px;
}
.stars { color: var(--gold-harvest); font-size: 14px; margin-bottom: 12px; }

/* ── FAQ Section ───────────────────────────────────────────── */
#faq {
  padding: var(--section-pad-desktop);
  background: var(--white-seashell);
}
.faq-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
}
.faq-header h2 { margin-bottom: 10px; }
.faq-header p { color: #666; }

.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid #ddd6cc;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 0;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--black-near);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--green-primary); }
.faq-question.open { color: var(--green-primary); }
.faq-chevron {
  font-size: 20px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: var(--gold-harvest);
}
.faq-question.open .faq-chevron { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-answer.open { max-height: 400px; }
.faq-answer-inner {
  padding: 0 0 24px;
  font-size: 15px;
  color: #555;
  line-height: 1.75;
}

/* ── Final CTA ─────────────────────────────────────────────── */
#final-cta {
  padding: var(--section-pad-desktop);
  background: var(--green-primary);
  text-align: center;
}
.final-cta-inner { max-width: 680px; margin: 0 auto; }
.final-cta-inner h2 { color: #fff; margin-bottom: 18px; }
.final-cta-inner > p { color: rgba(255,255,255,0.82); margin-bottom: 36px; font-size: 16px; }
.final-cta-inner .btn-primary { font-size: 17px; padding: 18px 40px; }
.trust-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: center;
  margin-top: 28px;
}
.trust-check {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255,255,255,0.78);
  display: flex;
  align-items: center;
  gap: 7px;
}
.trust-check::before {
  content: '✓';
  color: var(--gold-harvest);
  font-weight: 700;
  font-size: 14px;
}

/* ── Booking Section ───────────────────────────────────────── */
#booking {
  padding: var(--section-pad-desktop);
  background: #fff;
}
.booking-inner { text-align: center; }
.booking-inner h2 { margin-bottom: 10px; }
.booking-inner > p { color: #666; margin-bottom: 36px; font-size: 16px; max-width: 560px; margin-left: auto; margin-right: auto; }
.booking-inner > p { margin-bottom: 36px; }
.calendar-wrap {
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}

/* ── Footer ────────────────────────────────────────────────── */
#site-footer {
  background: var(--black-near);
  padding: 52px 0 28px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.footer-logo img { height: 44px; }
.footer-social {
  display: flex;
  gap: 16px;
}
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  transition: all var(--transition);
}
.footer-social a:hover {
  border-color: var(--gold-harvest);
  color: var(--gold-harvest);
  background: rgba(225,168,75,0.08);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold-harvest); }

/* ── Rotating Text Animation ───────────────────────────────── */
.rotating-word-wrapper {
  display: inline-block;
  position: relative;
}
.rotating-word {
  color: var(--gold-harvest);
  font-weight: 700;
  display: inline-block;
  animation: fadeRotate 0.4s ease;
}

/* ── Scroll Animations ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .no-fee-bar { flex-direction: column; text-align: center; padding: 36px 28px; }
  #urgency-bar { font-size: 11px; top: 0; }
  #site-header { top: 36px; }
}

@media (max-width: 600px) {
  :root { --section-pad-desktop: 60px 0; }
  .problem-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 24px; }
  .stat-item + .stat-item::before { display: none; }
  .callout-block { padding: 28px 24px; }
  .hero-inner { padding: 48px 0; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .solutions-list { font-size: 12px; }
}
