/* ============ Base ============ */
:root {
  --orange: #faa633;
  --orange-dark: #e08f1c;
  --green: #80c458;
  --green-dark: #6aad45;
  --charcoal: #2a2a2a;
  --charcoal-dark: #1f1f1f;
  --blue: #072c5e;
  --link: #4ba7e4;
  --bg: #ffffff;
  --bg-alt: #f7f7f7;
  --text: #333333;
  --text-muted: #58595b;
  --border: #e2e2e2;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'PT Sans', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Raleway', Tahoma, Geneva, sans-serif;
  line-height: 1.2;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--link); }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.hidden { display: none !important; }

/* ============ Buttons ============ */
.btn {
  display: inline-block;
  font-family: 'PT Sans', system-ui, sans-serif;
  font-weight: 700;
  text-decoration: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s, transform 0.1s, color 0.2s;
  letter-spacing: 0.01em;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--green);
  color: #fff;
  padding: 14px 30px;
  font-size: 1.05rem;
}
.btn-primary:hover { background: var(--green-dark); }
.btn-orange {
  background: var(--orange);
  color: #fff;
  padding: 14px 30px;
  font-size: 1.05rem;
}
.btn-orange:hover { background: var(--orange-dark); }
.btn-ghost {
  background: transparent;
  color: var(--charcoal);
  border: 2px solid var(--charcoal);
  padding: 12px 28px;
  font-size: 1.05rem;
}
.btn-ghost:hover { background: rgba(0, 0, 0, 0.05); }
.btn-ghost-light {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  padding: 12px 28px;
  font-size: 1.05rem;
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.15); }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-lg { padding: 16px 40px; font-size: 1.15rem; width: 100%; }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 56px; width: auto; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone {
  display: none;
  color: var(--charcoal);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.05rem;
}
.header-phone:hover { color: var(--orange-dark); }
@media (max-width: 400px) {
  .logo img { height: 44px; }
}

/* ============ Hero ============ */
.hero {
  position: relative;
  background: #333 url('/images/hero.jpg') center 35% / cover no-repeat;
  color: #fff;
  padding: 88px 0 96px;
  overflow: hidden;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(250, 166, 51, 0.45) 0%, rgba(42, 42, 42, 0.55) 100%);
}
.hero .container { position: relative; }
.eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.92);
  color: var(--charcoal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.hero-sub {
  font-size: 1.15rem;
  max-width: 60ch;
  margin: 0 auto 28px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}
.hero-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  font-weight: 700;
  font-size: 0.95rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

/* ============ Trust strip ============ */
.trust-strip {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 40px;
}
.trust-inner img { height: 72px; width: auto; }
.trust-label {
  width: 100%;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

/* ============ Sections ============ */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section-title {
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  font-weight: 800;
  color: var(--charcoal);
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 14px;
}
.section-title .accent { color: var(--orange); }
.section-lead {
  text-align: center;
  color: var(--text-muted);
  max-width: 68ch;
  margin: 0 auto 40px;
  font-size: 1.08rem;
}

/* ============ States ============ */
.state-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.state {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  text-align: center;
  text-decoration: none;
  color: var(--charcoal);
  transition: transform 0.15s, box-shadow 0.15s;
}
.state:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12); }
.state img { height: 120px; width: auto; margin: 0 auto 16px; object-fit: contain; }
.state h3 { font-size: 1.25rem; margin-bottom: 4px; }
.state p { color: var(--text-muted); font-size: 0.95rem; }

/* ============ Cards ============ */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.card-icon { font-size: 2.2rem; display: block; margin-bottom: 12px; line-height: 1; }
.card h3 { color: var(--charcoal); font-size: 1.2rem; margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: 0.97rem; }

/* ============ Testimonials ============ */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.testimonial {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.stars { color: var(--orange); letter-spacing: 2px; margin-bottom: 10px; font-size: 1.1rem; }
.testimonial blockquote {
  font-style: italic;
  color: var(--text);
  margin-bottom: 16px;
  flex: 1;
}
.testimonial cite {
  font-style: normal;
  font-weight: 700;
  color: var(--charcoal);
  font-size: 0.95rem;
}
.testimonial cite span { display: block; font-weight: 400; color: var(--text-muted); font-size: 0.88rem; }

/* ============ CTA band ============ */
.cta-band {
  background: var(--orange);
  color: #fff;
  padding: 44px 0;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 800;
  max-width: 34ch;
  margin: 0 auto 20px;
  letter-spacing: -0.01em;
}
.cta-band .btn-primary { background: var(--charcoal); }
.cta-band .btn-primary:hover { background: var(--charcoal-dark); }

/* ============ Battery ============ */
.section-dark {
  position: relative;
  background: #2a2a2a url('/images/cta-bg.jpg') center / cover no-repeat;
  color: #fff;
}
.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 24, 32, 0.72);
}
.section-dark .container { position: relative; }
.section-dark .section-title { color: #fff; }
.section-dark .section-lead { color: #d8dde3; }
.battery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
.battery-art img { width: 100%; max-width: 560px; margin: 0 auto; }
.battery-copy h3 { font-size: 1.4rem; margin-bottom: 12px; }
.battery-copy p { color: #d8dde3; margin-bottom: 18px; }
.battery-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}
.battery-list li { padding-left: 28px; position: relative; }
.battery-list li::before { content: "\2714"; color: var(--green); font-weight: 700; position: absolute; left: 0; }

/* ============ Monitoring ============ */
.monitor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
.monitor-art img { max-width: 320px; margin: 0 auto; }
.feature-list {
  list-style: none;
  display: grid;
  gap: 14px;
}
.feature-list li { padding-left: 30px; position: relative; font-size: 0.98rem; }
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(250, 166, 51, 0.2);
}
.feature-list strong { color: var(--charcoal); }

/* ============ Steps ============ */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  text-align: center;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.step h3 { color: var(--charcoal); font-size: 1.08rem; margin-bottom: 6px; }
.step p { color: var(--text-muted); font-size: 0.95rem; }

/* ============ Form / CTA section ============ */
.section-cta {
  background: linear-gradient(160deg, #2a2a2a 0%, #3a3a3a 100%);
}
.section-cta .section-title { color: #fff; }
.section-cta .section-lead { color: #c9c9c9; }

.form-wrap { max-width: 640px; }
.optin-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 0.92rem; color: var(--charcoal); }
.field input,
.field select {
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  width: 100%;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(250, 166, 51, 0.2);
}
.field input.invalid,
.field select.invalid { border-color: #d64545; }

.consent { font-size: 0.9rem; }
.checkbox-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400 !important;
  color: var(--text-muted) !important;
  cursor: pointer;
}
.checkbox-label input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--orange);
}
.checkbox-label a { color: var(--orange-dark); font-weight: 700; }

.form-status { font-size: 0.95rem; font-weight: 700; text-align: center; min-height: 1.2em; }
.form-status.error { color: #d64545; }
.form-status.ok { color: var(--green-dark); }
.form-fineprint {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}
.cta-actions { text-align: center; margin: 8px 0 16px; }
.section-cta .cta-actions + .form-fineprint { color: #c9c9c9; }
.cta-phone { text-align: center; color: #c9c9c9; margin-top: 18px; }
.cta-phone a { color: #fff; font-weight: 700; text-decoration: none; }

/* ============ Footer ============ */
.site-footer {
  background: var(--charcoal);
  color: #b5b5b5;
  padding: 48px 0 32px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
  text-align: center;
}
.footer-brand img { height: 60px; width: auto; margin: 0 auto 16px; }
.footer-brand p { line-height: 1.7; }
.footer-brand a { color: #fff; text-decoration: none; }
.footer-brand a:hover { color: var(--orange); }
.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.footer-col ul { list-style: none; display: grid; gap: 8px; }
.footer-col a { color: var(--orange); text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid #3d3d3d;
  padding-top: 20px;
  text-align: center;
  color: #8a8a8a;
  font-size: 0.82rem;
}
.footer-links { margin-bottom: 12px; }
.footer-links a { color: #fff; text-decoration: none; font-weight: 700; margin: 0 8px; }
.footer-links a:hover { text-decoration: underline; }
.disclaimer { max-width: 80ch; margin: 0 auto 12px; line-height: 1.7; }
.copyright a { color: #b5b5b5; }

/* ============ Privacy / content pages ============ */
.content-page { padding: 56px 0; }
.content-page .container { max-width: 760px; }
.content-page h1 { color: var(--charcoal); font-size: 2rem; margin-bottom: 8px; letter-spacing: -0.02em; }
.content-page .updated { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 32px; }
.content-page h2 { color: var(--charcoal); font-size: 1.3rem; margin: 32px 0 10px; }
.content-page h3 { color: var(--charcoal); font-size: 1.1rem; margin: 22px 0 8px; }
.content-page p, .content-page li { color: var(--text); margin-bottom: 12px; }
.content-page ul { padding-left: 22px; margin-bottom: 12px; }
.content-page a { color: var(--orange-dark); }

/* ============ Thank you ============ */
.thanks-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 64px 0;
}
.thanks-hero .container { max-width: 640px; }
.thanks-icon { font-size: 3.4rem; margin-bottom: 16px; display: block; }
.thanks-hero h1 { color: var(--charcoal); font-size: 2rem; margin-bottom: 12px; letter-spacing: -0.02em; }
.thanks-hero p { color: var(--text-muted); margin-bottom: 24px; }

/* ============ Tablet & up ============ */
@media (min-width: 720px) {
  .header-phone { display: inline-block; }
  .hero { padding: 120px 0 130px; }
  .state-grid { grid-template-columns: repeat(3, 1fr); }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
  .battery-grid { grid-template-columns: 1.1fr 0.9fr; gap: 48px; }
  .monitor-grid { grid-template-columns: 0.8fr 1.2fr; gap: 56px; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; }
  .optin-form { padding: 40px 36px; }
  .btn-lg { width: auto; justify-self: center; padding: 16px 56px; }
}
