/* IE Solar Quotes — Solar lead gen landing page
   Vibe: warm, trustworthy, California sun energy
   Fonts: Fraunces (display headings) + Satoshi (body)
   Colors: deep navy + warm amber + clean cream
*/

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,400;0,700;0,900;1,400&display=swap');
@import url('https://api.fontshare.com/v2/css?f[]=satoshi@400,500,700&display=swap');

:root {
  --navy: #0d1b2a;
  --navy-mid: #1a2f45;
  --amber: #f59e0b;
  --amber-light: #fbbf24;
  --amber-dim: #92400e;
  --green: #10b981;
  --cream: #faf7f2;
  --cream-dark: #f0ebe0;
  --text: #1a1a2e;
  --text-muted: #5a6272;
  --white: #ffffff;
  --shadow-warm: 0 4px 24px rgba(245, 158, 11, 0.15);
  --shadow-dark: 0 8px 40px rgba(13, 27, 42, 0.2);
  --radius: 4px;
  --radius-lg: 8px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Satoshi', 'Helvetica Neue', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* ─── NAV ─────────────────────────────────────────── */
.nav {
  background: var(--navy);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--white);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav__logo span {
  color: var(--amber);
}

.nav__cta {
  background: var(--amber);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 18px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
  letter-spacing: 0.01em;
}

.nav__cta:hover {
  background: var(--amber-light);
  transform: translateY(-1px);
}

/* ─── HERO ────────────────────────────────────────── */
.hero {
  background: var(--navy);
  background-image:
    radial-gradient(ellipse at 70% 40%, rgba(245,158,11,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(16,185,129,0.06) 0%, transparent 50%);
  padding: clamp(48px, 8vw, 80px) 24px clamp(40px, 6vw, 64px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 56px;
    padding-left: 48px;
    padding-right: 48px;
  }
}

.hero__label {
  display: inline-block;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--amber-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.hero__title {
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.hero__title em {
  font-style: italic;
  color: var(--amber);
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.75);
  margin-bottom: 24px;
  line-height: 1.65;
  max-width: 480px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 0;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

.hero__trust-item svg {
  flex-shrink: 0;
}

/* ─── FORM CARD ───────────────────────────────────── */
.form-card {
  background: var(--white);
  border-radius: 12px;
  padding: clamp(24px, 5vw, 40px);
  box-shadow: var(--shadow-dark), 0 0 0 1px rgba(245,158,11,0.1);
}

.form-card__headline {
  font-family: 'Fraunces', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.form-card__sub {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.form__group {
  margin-bottom: 14px;
}

.form__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.form__input,
.form__select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #d9d3c8;
  border-radius: var(--radius);
  font-family: 'Satoshi', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.form__input::placeholder {
  color: #aaa;
}

.form__input:focus,
.form__select:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12);
  background: var(--white);
}

.form__select-wrap {
  position: relative;
}

.form__select-wrap::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--text-muted);
  pointer-events: none;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form__submit {
  width: 100%;
  margin-top: 8px;
  padding: 15px 24px;
  background: var(--amber);
  color: var(--navy);
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25);
}

.form__submit:hover {
  background: var(--amber-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
}

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

.form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form__disclaimer {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 10px;
  line-height: 1.5;
}

/* ─── SUCCESS STATE ───────────────────────────────── */
.form-success {
  display: none;
  text-align: center;
  padding: 32px 16px;
}

.form-success.visible {
  display: block;
}

.form-success__icon {
  width: 64px;
  height: 64px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.form-success__title {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.form-success__text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ─── WRAPPER ─────────────────────────────────────── */
.section {
  padding: clamp(48px, 7vw, 80px) 24px;
}

.section--navy {
  background: var(--navy);
  color: var(--white);
}

.section--cream-dark {
  background: var(--cream-dark);
}

.container {
  max-width: 1000px;
  margin: 0 auto;
}

.section__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}

.section__title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.section__sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.65;
}

.section--navy .section__sub {
  color: rgba(255,255,255,0.65);
}

/* ─── LOCATION BANNER ─────────────────────────────── */
.location-banner {
  background: var(--navy);
}

.location-banner__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.location-banner__tag {
  background: rgba(245,158,11,0.12);
  border: 1px solid rgba(245,158,11,0.25);
  color: var(--amber-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
}

.location-banner__cities {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

/* ─── BENEFITS GRID ───────────────────────────────── */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}

@media (min-width: 600px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.benefit-card {
  background: var(--white);
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.benefit-card:hover {
  border-color: var(--amber);
  transform: translateY(-2px);
  box-shadow: var(--shadow-warm);
}

.benefit-card__icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}

.benefit-card__title {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.benefit-card__text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── STATS / SOCIAL PROOF ────────────────────────── */
.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-top: 40px;
  text-align: center;
}

.stat {
  flex: 0 0 auto;
}

.stat__number {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--amber);
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat__label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* ─── TESTIMONIALS ────────────────────────────────── */
.testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}

@media (min-width: 700px) {
  .testimonials {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.testimonial__quote {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.8);
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial__author {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--amber-light);
}

.testimonial__location {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin-top: 2px;
}

/* ─── HOW IT WORKS ─────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}

@media (min-width: 700px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  text-align: center;
  padding: 0 16px;
}

.step__number {
  width: 48px;
  height: 48px;
  background: var(--amber);
  color: var(--navy);
  border-radius: 50%;
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step__title {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.step__text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── FAQ ─────────────────────────────────────────── */
.faq-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.faq-item {
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 20px;
  font-family: 'Satoshi', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: background 0.15s ease;
}

.faq-question:hover {
  background: var(--cream);
}

.faq-question__icon {
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--amber);
  transition: transform 0.25s ease;
  font-weight: 400;
}

.faq-item.open .faq-question__icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.2s ease;
  padding: 0 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 20px 18px;
}

/* ─── CTA STRIP ───────────────────────────────────── */
.cta-strip {
  background: var(--amber);
  padding: clamp(40px, 6vw, 64px) 24px;
  text-align: center;
}

.cta-strip__title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.cta-strip__sub {
  font-size: 1rem;
  color: var(--amber-dim);
  margin-bottom: 24px;
}

.cta-strip__btn {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
  letter-spacing: 0.01em;
}

.cta-strip__btn:hover {
  background: var(--navy-mid);
  transform: translateY(-1px);
}

/* ─── FOOTER ──────────────────────────────────────── */
.footer {
  background: var(--navy);
  padding: 32px 24px;
  text-align: center;
}

.footer__logo {
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 8px;
}

.footer__logo span {
  color: var(--amber);
}

.footer__tagline {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  margin-bottom: 8px;
}

.footer__copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
}

/* ─── ERROR MESSAGE ───────────────────────────────── */
.form__error {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: #991b1b;
  font-size: 0.85rem;
  padding: 10px 14px;
  border-radius: var(--radius);
  margin-bottom: 12px;
  display: none;
}

.form__error.visible {
  display: block;
}

/* ─── MOBILE NAV HERO CLEANUP ─────────────────────── */
@media (max-width: 767px) {
  .hero {
    background: var(--navy);
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* ─── PRIVACY PAGE ────────────────────────────────── */
.privacy-page {
  background: var(--cream);
  min-height: calc(100vh - 200px);
  padding: clamp(48px, 7vw, 80px) 24px;
}

.privacy-container {
  max-width: 760px;
  margin: 0 auto;
}

.privacy-header {
  margin-bottom: 40px;
}

.privacy-eyebrow {
  display: inline-block;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: var(--amber);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.privacy-title {
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--navy);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.privacy-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.privacy-toc {
  background: var(--white);
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 48px;
}

.toc-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.toc-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 0;
  margin: 0;
}

.toc-list li a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  padding: 5px 12px;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid var(--cream-dark);
  transition: border-color 0.2s, color 0.2s;
}

.toc-list li a:hover {
  border-color: var(--amber);
  color: var(--amber-dim);
}

.privacy-section {
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--cream-dark);
}

.privacy-section:last-child {
  border-bottom: none;
}

.privacy-section h2 {
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.privacy-section p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 12px;
}

.privacy-section p:last-child {
  margin-bottom: 0;
}

.privacy-section ul {
  margin: 12px 0 16px 0;
  padding-left: 20px;
}

.privacy-section li {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 6px;
}

.privacy-section a {
  color: var(--amber-dim);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-section a:hover {
  color: var(--amber);
}

.ccpa-right {
  background: rgba(245, 158, 11, 0.07);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.ccpa-right strong {
  color: var(--navy);
  display: block;
  margin-bottom: 3px;
}

.footer__links {
  margin-bottom: 8px;
}

.footer__links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--amber);
}
