/* Shared additions: CRO components (hero note, how-it-works, attorney bio, form, pricing note) */
:root { --section-alt: #f5f7ff; }

/* Alternating full-bleed section backgrounds */
#how, #testimonials, #attorney, #contact {
  background: var(--section-alt);
  box-shadow: 0 0 0 100vmax var(--section-alt);
  clip-path: inset(0 -100vmax);
}
#pricing, #about, #faq { background: none !important; }

/* Hero */
.hero-note {
  margin-top: 1rem;
  font-size: 0.95rem !important;
  opacity: 0.85;
}
.hero-note i { margin-right: 0.35rem; }

/* How it works */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.step-card {
  background: #fff;
  padding: 2.5rem 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  text-align: center;
  position: relative;
}
.step-num {
  width: 56px; height: 56px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  font-size: 1.5rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.step-card h3 { margin-bottom: 0.75rem; font-size: 1.3rem; }
.step-card p { color: #555; }

/* Pricing */
.pricing-table tr.popular td { background: #f0f4ff; font-weight: 500; }
.badge-popular {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.15rem 0.6rem;
  border-radius: 20px;
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  vertical-align: middle;
}
.price-example {
  max-width: 760px;
  margin: 2rem auto 0;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border-left: 4px solid var(--primary);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  color: #444;
}
.price-example strong { color: var(--dark); }

/* Attorney bio */
.attorney-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 4rem;
  align-items: center;
}
.attorney-photo { border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.attorney-photo img { width: 100%; height: auto; display: block; }
.attorney-role { color: var(--primary); font-weight: 700; margin-bottom: 1rem; }
.attorney-content h2 { display: block; text-align: left; margin-bottom: 0.5rem; }
.attorney-content p { color: #555; font-size: 1.1rem; margin-bottom: 1.25rem; }
.attorney-facts { list-style: none; margin: 0 0 1.75rem; padding: 0; }
.attorney-facts li { padding: 0.35rem 0 0.35rem 1.9rem; position: relative; color: #333; }
.attorney-facts li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; left: 0; color: var(--primary);
}

/* Contact form */
.form-note { font-size: 0.85rem; color: #777; margin-top: 0.75rem; }
.form-note a { color: var(--primary); }

.form-optional { font-weight: 400; color: #888; font-size: 0.85rem; }
.form-success {
  text-align: center; padding: 2rem 1rem;
}
.form-success i { font-size: 3rem; color: #22a55b; margin-bottom: 1rem; }
.form-success h3 { margin-bottom: 0.75rem; }
.form-error { color: #c0392b; font-size: 0.95rem; margin-top: 0.75rem; }
.submit-btn { font-family: inherit; }
.submit-btn[disabled] { opacity: 0.6; cursor: wait; }
.contact-text a { color: inherit; text-decoration: none; }
.contact-text a:hover { color: var(--primary); }

@media (max-width: 900px) {
  .attorney-grid { grid-template-columns: 1fr; gap: 2rem; }
  .attorney-photo { max-width: 360px; margin: 0 auto; }
}

@media (max-width: 900px) {
  .contact-form { order: -1; }
}

/* Contact section: "what happens next" panel */
.contact-info { order: 0; justify-content: flex-start; padding-top: 0.5rem; }
.next-title { font-size: 1.5rem; margin-bottom: 1.5rem; color: var(--dark); }
.next-steps { list-style: none; margin: 0 0 2rem; padding: 0; counter-reset: next; }
.next-steps li { position: relative; padding: 0 0 1.5rem 3.5rem; counter-increment: next; }
.next-steps li::before {
  content: counter(next);
  position: absolute; left: 0; top: 0;
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.next-steps strong { display: block; color: var(--dark); margin-bottom: 0.2rem; }
.next-steps span { color: #666; }
.wa-btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  align-self: flex-start;
  padding: 0.85rem 1.5rem; border-radius: 30px;
  border: 2px solid #25D366; color: #128c4a; background: #fff;
  font-weight: 700; text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.wa-btn:hover { background: #25D366; color: #fff; }
.wa-btn i { font-size: 1.3rem; }

/* Compact two-column contact form */
#contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
}
#contact-form .form-group { margin-bottom: 0; }
#contact-form .form-full,
#contact-form .submit-btn,
#contact-form .form-note,
#contact-form .form-error,
#contact-form .form-success { grid-column: 1 / -1; }
#contact-form .form-note { margin-top: 0; }
#contact-form .form-input { padding: 0.75rem 1rem; }
#contact-form .form-label { margin-bottom: 0.35rem; }
#contact-form textarea.form-input { min-height: 90px; }
#contact .contact-form { padding: 2rem; }
@media (max-width: 600px) {
  #contact-form { grid-template-columns: 1fr; }
}

/* Inputs and select share the same height; custom chevron for the select */
#contact-form input.form-input,
#contact-form select.form-input { height: 3rem; line-height: 1.2; }
#contact-form select.form-input {
  -webkit-appearance: none;
  appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
