/* ============================================
   TREATMENT PAGE TEMPLATE STYLES
   Wilshire Center Chiropractic
   ============================================ */

/* --- TREATMENT HERO --- */
.treatment-hero {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  background: var(--navy);
  padding-top: 80px;
  overflow: hidden;
}

.treatment-hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.treatment-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(26, 26, 46, 0.98) 0%,
    rgba(33, 45, 69, 0.85) 60%,
    rgba(33, 45, 69, 0.7) 100%
  );
}

.treatment-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 48px;
  width: 100%;
}

.treatment-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(212, 168, 83, 0.15);
  border: 1px solid rgba(212, 168, 83, 0.3);
  padding: 5px 14px;
  border-radius: 20px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.treatment-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 8px;
}

.treatment-hero-korean {
  font-family: var(--font-korean);
  font-size: 1.15rem;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 16px;
}

.treatment-hero-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 580px;
  line-height: 1.6;
  margin-bottom: 28px;
}

.treatment-hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}


/* --- WHAT IS IT --- */
.treatment-what {
  padding: 80px 0;
  background: var(--white);
}

.treatment-what-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.treatment-what-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 20px;
  line-height: 1.2;
}

.treatment-what-text p {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 16px;
}

.treatment-what-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.treatment-what-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}


/* --- HOW IT WORKS (Steps) --- */
.treatment-how {
  padding: 80px 0;
  background: var(--cream);
}

.treatment-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.treatment-step-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.treatment-step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.treatment-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.treatment-step-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--charcoal);
}

.treatment-step-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
}


/* --- WHAT IT TREATS (Condition Links) --- */
.treatment-conditions {
  padding: 80px 0;
  background: var(--white);
}

.treatment-condition-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.treatment-condition-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--cream);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: var(--transition);
}

.treatment-condition-card:hover {
  border-color: var(--gold);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.treatment-condition-card .card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: var(--radius-sm);
  color: var(--navy);
  flex-shrink: 0;
}

.treatment-condition-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 2px;
}

.treatment-condition-card p {
  font-size: 0.8rem;
  color: var(--gray-400);
}


/* --- WHY WCC (Differentiators) --- */
.treatment-why {
  padding: 80px 0;
  background: var(--cream);
}

.treatment-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  border-top: 4px solid var(--gold);
  transition: var(--transition);
}

.why-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.why-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--charcoal);
}

.why-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
}


/* --- TREATMENT FAQ --- */
/* Uses same .condition-faq and .faq-item classes from condition-page.css */


/* --- TREATMENT CTA --- */
.treatment-cta {
  padding: 100px 24px;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.94), rgba(33, 45, 69, 0.9)), url('../images/clinic-exterior.png') center/cover;
  text-align: center;
}

.treatment-cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.treatment-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.treatment-cta-korean {
  font-family: var(--font-korean);
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.treatment-cta-content > p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
}

.treatment-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}


/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .treatment-what-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .treatment-steps {
    grid-template-columns: 1fr;
  }

  .treatment-why-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .treatment-hero {
    min-height: 380px;
  }

  .treatment-hero-bg {
    width: 100%;
    opacity: 0.1;
  }

  .treatment-hero-buttons {
    flex-direction: column;
  }

  .treatment-hero-buttons .btn {
    width: 100%;
    text-align: center;
  }

  .treatment-what-image {
    display: none;
  }

  .treatment-cta-buttons {
    flex-direction: column;
  }

  .treatment-cta-buttons .btn {
    width: 100%;
  }
}
