/* No Fear Counselling — Landing Page Styles v3
   UX: 2-step form, thin trust strip, split headline, minimalist inputs,
   ICBC authority badge, deep forest CTA
   Brand: #153c27, #84a17d, #adc9a6, #e2ecdf, #536942, #dab200 */

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

:root {
  --green-dark: #153c27;
  --green-deep: #0f2b1c;
  --green-mid: #536942;
  --green-sage: #84a17d;
  --green-light: #adc9a6;
  --green-bg: #e2ecdf;
  --green-bg-light: #f0f5ee;
  --gold: #dab200;
  --text-dark: #1a202c;
  --text-body: #3f4e50;
  --text-light: #6b7c7e;
  --white: #ffffff;
  --gray-50: #f8faf8;
  --gray-100: #f1f4f0;
  --red-soft: #c53030;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow: 0 1px 4px rgba(21,60,39,0.08);
  --shadow-md: 0 2px 12px rgba(21,60,39,0.10);
  --shadow-lg: 0 4px 24px rgba(21,60,39,0.12);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Roboto', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: 'Satoshi', system-ui, -apple-system, sans-serif;
  color: var(--green-dark);
  line-height: 1.25;
  font-weight: 700;
}
a { color: var(--green-sage); text-decoration: none; }
a:hover { color: var(--green-dark); }
img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============ HEADER ============ */
.header {
  background: var(--green-dark);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-logo {
  color: var(--white);
  font-family: 'Satoshi', sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}
.header-logo span { color: var(--green-light); }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-sage);
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: background 0.2s;
}
.header-phone:hover { background: var(--green-light); color: var(--green-dark); }
.header-phone svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ============ TRUST STRIP (thin, below nav) ============ */
.trust-strip {
  background: var(--green-bg);
  padding: 10px 0;
  border-bottom: 1px solid rgba(21,60,39,0.08);
}
.trust-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.trust-strip-item {
  font-size: 13px;
  color: var(--green-mid);
  white-space: nowrap;
}
.trust-strip-item strong {
  font-weight: 700;
  color: var(--green-dark);
}
.trust-strip-divider {
  width: 1px;
  height: 14px;
  background: var(--green-light);
}

/* ============ HERO ============ */
.hero {
  background: linear-gradient(160deg, var(--green-bg) 0%, var(--green-bg-light) 35%, var(--white) 100%);
  padding: 48px 0 64px;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 60px;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 60%;
  height: 180%;
  background: linear-gradient(160deg, transparent 0%, rgba(173,201,166,0.12) 50%, transparent 100%);
  transform: rotate(-12deg);
  pointer-events: none;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.hero-content { padding-top: 4px; }

/* Split headline */
.hero h1 { font-size: 28px; margin-bottom: 16px; }
.hero-headline-main {
  display: block;
  font-size: 42px;
  line-height: 1.1;
  margin-bottom: 8px;
}
.hero-headline-highlight {
  display: inline-block;
  font-size: 26px;
  color: var(--green-mid);
  background: linear-gradient(to right, rgba(173,201,166,0.25), rgba(173,201,166,0.05));
  padding: 4px 14px 4px 0;
  border-left: 3px solid var(--green-sage);
  padding-left: 12px;
  margin-top: 2px;
}
.hero-subtitle {
  font-size: 17px;
  color: var(--text-body);
  margin-bottom: 24px;
  line-height: 1.65;
  max-width: 520px;
}
.hero-image {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* ============ FORM CARD ============ */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 26px 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(21,60,39,0.06);
  scroll-margin-top: 80px;
}
#lead-form {
  scroll-margin-top: 80px;
}

/* ICBC Authority Badge */
.form-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gray-100);
  color: var(--green-mid);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.form-badge svg { color: var(--green-sage); }

.form-title {
  font-size: 21px;
  margin-bottom: 3px;
}
.form-subtitle {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 20px;
}

/* Step indicator dots */
.form-steps-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 24px;
}
.form-step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--text-light);
  font-size: 13px;
  font-weight: 700;
  font-family: 'Satoshi', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.form-step-dot.active {
  background: var(--green-dark);
  color: var(--white);
}
.form-step-dot.completed {
  background: var(--green-sage);
  color: var(--white);
}
.form-step-line {
  width: 40px;
  height: 2px;
  background: var(--gray-100);
  margin: 0 8px;
  transition: background 0.3s;
}
.form-step-line.active {
  background: var(--green-sage);
}

/* Form step animation */
.form-step {
  animation: fadeSlideIn 0.3s ease;
}
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}

.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

/* Minimalist inputs: soft filled background, no heavy borders */
.form-group input,
.form-group select {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: var(--radius);
  font-size: 16px;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--gray-50);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%233f4e50'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  background: var(--white);
  border-bottom-color: var(--green-sage);
  box-shadow: 0 2px 8px rgba(132,161,125,0.10);
}
.form-group input.error {
  border-bottom-color: var(--red-soft);
  background: #fef5f5;
}
.form-error {
  color: var(--red-soft);
  font-size: 13px;
  margin-top: 4px;
  display: none;
}
.form-error.visible { display: block; }

/* Deep forest green CTA button */
.btn-submit {
  width: 100%;
  height: 54px;
  background: var(--green-dark);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 17px;
  font-weight: 700;
  font-family: 'Satoshi', sans-serif;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  margin-top: 8px;
  box-shadow: 0 4px 12px rgba(15,43,28,0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-submit:hover {
  background: var(--green-deep);
  box-shadow: 0 6px 16px rgba(15,43,28,0.35);
}
.btn-submit:active { transform: scale(0.98); }

.btn-next {
  background: var(--green-dark);
  box-shadow: 0 4px 12px rgba(15,43,28,0.25);
}
.btn-next:hover {
  background: var(--green-deep);
  box-shadow: 0 6px 16px rgba(15,43,28,0.35);
}

.form-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
  margin-top: 12px;
}
.form-back {
  display: block;
  width: 100%;
  text-align: center;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 14px;
  cursor: pointer;
  padding: 10px 0 0;
  font-family: inherit;
  transition: color 0.2s;
}
.form-back:hover { color: var(--green-dark); }

/* ============ HOW IT WORKS ============ */
.how-it-works {
  padding: 72px 0;
  background: var(--white);
}
.section-title {
  text-align: center;
  font-size: 30px;
  margin-bottom: 12px;
}
.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 16px;
  margin-bottom: 48px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step-card {
  background: var(--white);
  border: 1.5px solid #e0e8dd;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.step-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--green-light);
}
.step-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green-bg);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.step-icon svg { width: 28px; height: 28px; color: var(--green-mid); }
.step-icon img { width: 100%; height: 100%; object-fit: cover; }
.step-label {
  display: inline-block;
  background: var(--green-bg);
  color: var(--green-mid);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
  font-family: 'Satoshi', sans-serif;
}
.step-card h3 { font-size: 18px; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* ============ BENEFITS ============ */
.benefits {
  padding: 72px 0;
  background: var(--green-bg-light);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.benefit-card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1.5px solid #e0e8dd;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: box-shadow 0.2s;
}
.benefit-card:hover { box-shadow: var(--shadow-md); }
.benefit-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.benefit-icon svg { width: 20px; height: 20px; color: var(--green-mid); }
.benefit-text h3 { font-size: 16px; margin-bottom: 4px; }
.benefit-text p { font-size: 14px; color: var(--text-light); line-height: 1.55; }

/* ============ TESTIMONIALS ============ */
.testimonials {
  padding: 72px 0;
  background: var(--white);
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.testimonial-card {
  background: var(--green-bg-light);
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1.5px solid #e0e8dd;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover { box-shadow: var(--shadow-md); }
.testimonial-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 16px;
  overflow: hidden;
  border: 3px solid var(--green-light);
  background: var(--green-bg);
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-stars {
  color: var(--gold);
  font-size: 16px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.testimonial-text {
  font-size: 14px;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 16px;
  color: var(--text-body);
}
.testimonial-author { font-weight: 700; font-size: 15px; color: var(--green-dark); }
.testimonial-location { font-size: 13px; color: var(--text-light); }

/* ============ FAQ ============ */
.faq {
  padding: 72px 0;
  background: var(--green-bg-light);
}
.faq-list {
  max-width: 720px;
  margin: 48px auto 0;
}
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  border: 1.5px solid #e0e8dd;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 24px;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Satoshi', sans-serif;
  color: var(--green-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-question:hover { background: rgba(132,161,125,0.04); }
.faq-icon {
  font-size: 20px;
  transition: transform 0.25s;
  flex-shrink: 0;
  color: var(--green-sage);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-body);
}

/* ============ CTA BOTTOM ============ */
.cta-bottom {
  padding: 56px 0;
  background: var(--green-dark);
  text-align: center;
}
.cta-bottom h2 {
  color: var(--white);
  font-size: 30px;
  margin-bottom: 12px;
}
.cta-bottom p {
  color: var(--green-light);
  font-size: 17px;
  margin-bottom: 28px;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  font-family: 'Satoshi', sans-serif;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
}
.btn-cta:active { transform: scale(0.98); }
.btn-cta-primary {
  background: var(--green-sage);
  color: var(--white);
}
.btn-cta-primary:hover { background: var(--green-light); color: var(--green-dark); }
.btn-cta-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--green-sage);
}
.btn-cta-outline:hover { background: var(--green-sage); color: var(--white); }

/* ============ FOOTER ============ */
.footer {
  background: var(--text-dark);
  padding: 32px 0;
  text-align: center;
  font-size: 14px;
  color: var(--text-light);
}
.footer a { color: var(--green-light); }
.footer a:hover { color: var(--white); }

/* ============ THANK YOU ============ */
.thank-you {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 20px;
  background: var(--green-bg-light);
}
.thank-you-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-lg);
  max-width: 520px;
}
.thank-you-icon {
  width: 72px;
  height: 72px;
  background: var(--green-bg);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.thank-you-icon svg { width: 36px; height: 36px; color: var(--green-mid); }
.thank-you-card h1 { font-size: 28px; margin-bottom: 12px; }
.thank-you-card p { font-size: 16px; margin-bottom: 16px; color: var(--text-body); }
.thank-you-steps {
  text-align: left;
  background: var(--green-bg-light);
  padding: 20px 24px;
  border-radius: var(--radius);
  margin: 24px 0;
}
.thank-you-steps li {
  padding: 6px 0;
  font-size: 15px;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.thank-you-steps li::before {
  content: '';
  width: 20px; height: 20px;
  background: var(--green-sage);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ============ PLACEHOLDERS ============ */
.img-placeholder {
  background: rgba(132,161,125,0.12);
  border: 2px dashed var(--green-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-sage);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  overflow: hidden;
}

/* ============ FADE IN ============ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero { padding: 32px 0 40px; }
  .hero-headline-main { font-size: 32px; }
  .hero-headline-highlight { font-size: 22px; }
  /* Headline + subtitle first, then form, then image at bottom */
  .hero-content { order: 1; }
  .form-card { order: 2; }
  /* Hide hero image on mobile to keep form closer to headline */
  .hero-image { display: none; }
  /* On mobile, hide the subtitle to tighten headline → form gap */
  .hero-subtitle { margin-bottom: 0; }
}

@media (max-width: 768px) {
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 24px; }
  .section-subtitle { font-size: 14px; margin-bottom: 32px; }
  .cta-bottom h2 { font-size: 24px; }
  .header-logo { font-size: 16px; }
  .header-phone { padding: 8px 14px; font-size: 14px; }
  .trust-strip-item { font-size: 12px; }
  .trust-strip-divider { display: none; }
  .trust-strip .container { gap: 8px; }
  .how-it-works, .benefits, .testimonials, .faq { padding: 48px 0; }
  .cta-bottom { padding: 40px 0; }
}

@media (max-width: 480px) {
  .hero-headline-main { font-size: 26px; }
  .hero-headline-highlight { font-size: 17px; padding: 3px 10px 3px 10px; }
  .hero-subtitle { font-size: 15px; }
  .form-card { padding: 22px 18px 20px; }
  .form-title { font-size: 19px; }
  .btn-submit { height: 50px; font-size: 16px; }
  .trust-strip { padding: 8px 0; }
  .trust-strip-item { font-size: 11px; }
}
