/* ===== Simple Leads — pain-led-hero-v1 =====
   Mobile rules and layout standards are baked in. Do not loosen these
   without updating the template version. See template.json for context.
   ============================================ */

:root {
  --primary: #e6af2e;       /* CTA / accent — override per client */
  --dark: #1c1c1c;          /* Hero overlay, headlines */
  --bg: #ffffff;
  --bg-alt: #f7f5f1;        /* Alternating section background */
  --text: #2a2a2a;
  --muted: #6b6b6b;
  --border: #e5e5e5;
  --container: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--text);
  line-height: 1.55;
  background: var(--bg);
}

h1, h2, h3 {
  font-family: 'Bebas Neue', 'DM Sans', sans-serif;
  letter-spacing: 0.5px;
  color: var(--dark);
  line-height: 1.1;
}

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

a { color: inherit; text-decoration: none; }

/* ===== Containers — NEVER violate ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(28, 28, 28, 0.95);
  backdrop-filter: blur(8px);
  z-index: 100;
  padding: 16px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  color: #fff;
  letter-spacing: 1px;
}
.call-btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 500;
  font-size: 15px;
  padding: 8px 16px;
  border-radius: 4px;
  background: var(--primary);
  color: var(--dark);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(20,14,5,0.85) 0%, rgba(20,14,5,0.7) 60%, rgba(20,14,5,0.4) 100%);
}
.hero-inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 90px 24px 56px;
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-content { color: #fff; }
.hero-content h1 {
  font-size: 56px;
  color: #fff;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 24px;
  max-width: 540px;
}
.trust-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.trust-bullets li {
  color: #fff;
  font-weight: 500;
  padding-left: 28px;
  position: relative;
}
.trust-bullets li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* ===== HERO FORM ===== */
.hero-form {
  background: #fff;
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.form-headline {
  font-size: 28px;
  margin-bottom: 8px;
}
.form-subhead {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}
.hero-form input,
.hero-form select,
.cta2-section input,
.cta2-section select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  margin-bottom: 12px;
  font-size: 16px;
  font-family: inherit;
  background: #fff;
}
.hero-form button,
.cta2-section button {
  width: 100%;
  padding: 16px;
  background: var(--primary);
  color: var(--dark);
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
  margin-top: 8px;
}
.hero-form button:hover,
.cta2-section button:hover { filter: brightness(1.05); }
.qualifier {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin-top: 12px;
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--dark);
  color: #fff;
  padding: 20px 0;
}
.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 16px;
  text-align: center;
}
.trust-item {
  font-size: 14px;
  font-weight: 500;
}

/* ===== PROBLEM ===== */
.problem-section {
  background: var(--bg-alt);
  padding: 80px 0;
}
.problem-section h2 {
  font-size: 42px;
  text-align: center;
  margin-bottom: 16px;
}
.lede {
  font-size: 18px;
  color: var(--muted);
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.problem-card {
  background: #fff;
  padding: 32px;
  border-radius: 8px;
  border-top: 4px solid var(--primary);
}
.problem-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

/* ===== USP ===== */
.usp-section {
  padding: 80px 0;
  background: #fff;
}
.usp-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.usp-image img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  aspect-ratio: 4/5;
}
.usp-content h2 {
  font-size: 42px;
  margin-bottom: 24px;
}
.usp-content p {
  font-size: 17px;
  margin-bottom: 24px;
}
.usp-list {
  list-style: none;
}
.usp-list li {
  padding: 12px 0 12px 32px;
  position: relative;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.usp-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
  font-size: 20px;
}

/* ===== REVIEWS ===== */
.reviews-section {
  background: var(--bg-alt);
  padding: 80px 0;
}
.reviews-section h2 {
  font-size: 42px;
  text-align: center;
  margin-bottom: 48px;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: #fff;
  padding: 28px;
  border-radius: 8px;
}
.stars {
  color: var(--primary);
  font-size: 18px;
  margin-bottom: 12px;
}
.review-card p {
  font-size: 15px;
  font-style: italic;
  margin-bottom: 16px;
}
.review-author {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

/* ===== HOW ===== */
.how-section {
  padding: 80px 0;
  background: #fff;
}
.how-section h2 {
  font-size: 42px;
  text-align: center;
  margin-bottom: 48px;
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  text-align: center;
}
.step-num {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 16px;
  font-family: 'Bebas Neue', sans-serif;
}
.step h3 {
  font-size: 22px;
  margin-bottom: 8px;
}
.step p {
  font-size: 15px;
  color: var(--muted);
}

/* ===== BUILT TO LAST ===== */
.btl-section {
  padding: 80px 0;
  background: var(--bg-alt);
}
.btl-section h2 {
  font-size: 42px;
  text-align: center;
  margin-bottom: 16px;
}
.btl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.btl-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
}

/* ===== GALLERY ===== */
.gallery-section {
  padding: 80px 0;
  background: #fff;
}
.gallery-section h2 {
  font-size: 36px;
  text-align: center;
  margin-bottom: 32px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
}

/* ===== CTA 2 ===== */
.cta2-section {
  background: var(--dark);
  color: #fff;
  padding: 80px 0;
}
.cta2-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.cta2-section h2 {
  color: #fff;
  font-size: 42px;
  margin-bottom: 16px;
}
.cta2-section > .cta2-inner > p {
  color: rgba(255,255,255,0.9);
  font-size: 18px;
  margin-bottom: 32px;
}
.cta2-section form {
  background: #fff;
  padding: 32px;
  border-radius: 8px;
  color: var(--text);
}

/* ===== FAQ ===== */
.faq-section {
  padding: 80px 0;
  background: var(--bg-alt);
}
.faq-section h2 {
  font-size: 42px;
  text-align: center;
  margin-bottom: 48px;
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-list details {
  background: #fff;
  margin-bottom: 12px;
  border-radius: 4px;
  border: 1px solid var(--border);
}
.faq-list summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 500;
  font-size: 17px;
}
.faq-list details[open] summary {
  border-bottom: 1px solid var(--border);
}
.faq-list p {
  padding: 20px 24px;
  color: var(--text);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.footer-brand {
  font-family: 'Bebas Neue', sans-serif;
  color: #fff;
  font-size: 22px;
}
.footer-info {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-info a:hover { color: var(--primary); }
.footer-legal { font-size: 13px; }

/* ===== TABLET ===== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-content h1 { font-size: 44px; }
  .problem-grid,
  .reviews-grid { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: repeat(2, 1fr); }
  .usp-inner { grid-template-columns: 1fr; gap: 32px; }
  .btl-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== MOBILE — NON-NEGOTIABLE RULES BELOW ===== */
@media (max-width: 640px) {

  /* Section padding — 56px 24px, never doubled with inner padding */
  .problem-section,
  .usp-section,
  .how-section,
  .btl-section,
  .gallery-section,
  .reviews-section,
  .cta2-section,
  .faq-section {
    padding: 56px 24px;
  }

  /* Container and cta2-inner — zero side padding on mobile (section provides it) */
  .container,
  .cta2-inner {
    padding-left: 0;
    padding-right: 0;
  }

  /* Hero inner keeps its own padding — NOT zeroed */
  .hero-inner {
    padding: 90px 24px 56px;
  }

  /* USP inner has its own padding — keep it */
  .usp-inner {
    padding-left: 24px;
    padding-right: 24px;
  }

  /* Hero headline — max 32px, line-height 1.05, no orphans */
  .hero-content h1 {
    font-size: 32px;
    line-height: 1.05;
  }

  /* All section headings — max 30px on mobile */
  .problem-section h2,
  .usp-content h2,
  .reviews-section h2,
  .how-section h2,
  .btl-section h2,
  .cta2-section h2,
  .faq-section h2,
  .gallery-section h2 {
    font-size: 30px;
  }

  /* Hero overlay — FLAT solid on mobile, never gradient */
  .hero-overlay {
    background: rgba(20, 14, 5, 0.72);
  }

  /* Nav phone button — smaller on mobile */
  .call-btn-nav {
    font-size: 13px;
    padding: 6px 12px;
  }
  .brand { font-size: 18px; }

  .gallery-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 380px) {
  .hero-content h1 { font-size: 28px; }
}
