/* ---------------------------
   FREE AUDIT PAGE STYLES
   --------------------------- */

/* HERO SECTION */
.audit-hero {
  background-color: #0f1c2f;
  padding: 2rem 1.5rem 0rem; /* ↓ bottom from 1.25rem to 0.25rem */
  color: #fff;
  text-align: left;
}

.audit-hero .lead {
  margin: 0 0 0.5rem;
}
.how-it-works {
  margin: 0.25rem 0 0.5rem;
  line-height: 1.7;
  max-width: 800px;
}
.how-it-works p {
  margin: 0.2rem 0;
}
.micro-note {
  margin: 0.25rem 0 0;
  font-size: 0.95rem;
  opacity: 0.85;
}

/* NEXT SECTION — remove extra space at the top and left-align */
.audit-details.container {
  background-color: #0f1c2f;
  color: #e8effa;
  padding: 0.75rem 1.5rem 2rem; /* ↓ top padding from 2rem to .75rem */
  margin-top: 0; /* remove any gap after the hero */
  text-align: left;
}

.audit-hero h1 {
  margin: 0 0 0.5rem;
  font-weight: 700;
  font-size: 2.3rem;
}
.audit-hero .lead {
  max-width: 850px;
  margin: 0 0 1rem;
  line-height: 1.6;
  font-size: 1.1rem;
  opacity: 0.95;
}

/* Highlighted instruction box */
.audit-intro-highlight {
  background-color: rgba(255, 107, 0, 0.1); /* subtle AutoSpec orange tint */
  border: 1px solid #ff6b00;
  color: #ff6b00;
  font-weight: 600;
  display: inline-block;
  padding: 10px 16px;
  border-radius: 6px;
  margin: 20px 0;
  text-align: center;
}

.how-it-works {
  max-width: 800px;
  margin: 0.5rem 0 1.25rem;
  line-height: 1.7;
}
.how-it-works p {
  margin: 0.25rem 0;
}

/* keep CTA on its own line; left by default, center if you prefer */
.btn-orange {
  display: inline-block;
  margin-top: 0.25rem;
}
.micro-note {
  opacity: 0.85;
  margin-top: 0.4rem;
  font-size: 0.95rem;
}

.audit-hero h1 {
  font-weight: 700;
  font-size: 2.3rem;
  margin-bottom: 1rem;
}

.audit-hero .lead {
  max-width: 850px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
  font-size: 1.1rem;
  opacity: 0.95;
}

/* HOW IT WORKS SECTION */
.how-it-works {
  list-style: decimal;
  text-align: left;
  max-width: 760px;
  margin: 1.2rem auto 2rem;
  padding-left: 1.25rem;
  line-height: 1.7;
}

.micro-note {
  opacity: 0.85;
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

/* CTA BUTTON (orange brand style) */
.cta-button,
.btn-orange {
  display: inline-block;
  background-color: #fb5924;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 1.8rem;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: background-color 0.2s ease, transform 0.06s ease;
  border: none;
}

.cta-button:hover,
.btn-orange:hover,
.cta-button:focus,
.btn-orange:focus {
  background-color: #ff8230;
  color: #fff;
  text-decoration: none;
}

.cta-button:active,
.btn-orange:active {
  transform: translateY(1px);
}

.audit-details h2,
.audit-hero h2 {
  color: #fb5924 !important; /* your AutoSpec orange */
}

/* Hard reset the benefits list to a normal left-aligned list */
.audit-details .benefits {
  display: block !important; /* kill flex/grid */
  list-style: disc outside;
  padding-left: 1.25rem;
  margin: 0.25rem 0 0;
  line-height: 1.6;
  text-align: left !important;
  justify-content: initial !important; /* cancel flex props if inherited */
  align-items: initial !important;
  columns: initial; /* ensure single column */
  column-count: 1;
}

.benefits li {
  display: list-item !important; /* ensure it’s a true list item */
  white-space: nowrap; /* prevents line wrapping */
  overflow: visible;
  text-overflow: clip;
  margin-bottom: 0.5rem;
  text-align: left !important;
}

.audit-details .benefits li::marker {
  color: #ff6b00;
}

/* FAQ ACCORDIONS */
details {
  background: #16263f;
  color: #e8effa;
  border: 1px solid #1f2d45;
  border-radius: 8px;
  padding: 0.8rem 1rem;
  margin: 0.6rem 0;
}

details[open] {
  background: #132443;
}

details summary {
  cursor: pointer;
  font-weight: 600;
}

/* BACK TO TOP */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background-color: #ff6b00;
  color: #fff;
  font-size: 1.4rem;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: background 0.2s ease;
}

.back-to-top:hover {
  background-color: #ff8230;
}
