/* ===========================================================================
   therapy.css — styling for the shared therapy.php information pages
   Uses the design tokens defined in main.css (:root)
   =========================================================================== */

/* Make the logo link not look like a link */
.logo-wrap a { display: inline-block; line-height: 0; }

/* ---- HERO ---- */
.therapy-hero {
  background: var(--forest);
  color: #fff;
  padding: 140px 0 64px;
  position: relative;
  overflow: hidden;
}
.therapy-hero .container { position: relative; z-index: 2; }

.therapy-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
  transition: color 0.2s;
}
.therapy-back:hover { color: var(--gold); }

.therapy-num-lg {
  display: block;
  font-family: var(--display);
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.therapy-hero h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin: 0 0 12px;
  line-height: 1.1;
}

.therapy-tagline {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 640px;
  margin: 0;
}

.therapy-hero .label { color: var(--gold); display: block; margin-bottom: 10px; }
.therapy-hero p { color: rgba(255, 255, 255, 0.82); }

/* ---- BODY ---- */
.therapy-body { background: var(--paper); padding: 72px 0; }

.therapy-content { max-width: 760px; margin: 0 auto; }

.therapy-intro {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 40px;
}

.therapy-content h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.7rem;
  color: var(--forest);
  margin: 40px 0 16px;
}

.therapy-content p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--ink);
  margin: 0 0 16px;
}

.therapy-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  gap: 14px;
}
.therapy-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--ink);
}
.therapy-benefits li i {
  color: var(--sage);
  margin-top: 4px;
  flex-shrink: 0;
}

/* ---- CTA ---- */
.therapy-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 44px 0 28px;
}
.therapy-cta .btn-primary,
.therapy-cta .btn-ghost { cursor: pointer; }

.therapy-disclaimer {
  font-size: 0.85rem !important;
  color: var(--muted) !important;
  background: var(--cream);
  border-left: 3px solid var(--sage);
  padding: 14px 18px;
  border-radius: 0 6px 6px 0;
  margin-top: 24px !important;
}
.therapy-disclaimer i { color: var(--sage); margin-right: 6px; }

/* ---- PREV / NEXT NAV ---- */
.therapy-nav { background: var(--cream); padding: 40px 0; border-top: 1px solid var(--border); }
.therapy-nav-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.therapy-nav-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  padding: 16px 22px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 8px;
  min-width: 220px;
  transition: border-color 0.2s, transform 0.2s;
}
.therapy-nav-link:hover { border-color: var(--sage); transform: translateY(-2px); }
.therapy-nav-link.next { text-align: right; }
.therapy-nav-link span { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.05em; text-transform: uppercase; }
.therapy-nav-link strong { font-family: var(--display); font-size: 1.2rem; color: var(--forest); font-weight: 500; }

/* ---- INDEX (fallback: all therapies) ---- */
.therapy-index { background: var(--paper); padding: 64px 0; }
.therapy-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.therapy-index-card {
  display: block;
  text-decoration: none;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.therapy-index-card:hover {
  border-color: var(--sage);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(26, 61, 43, 0.08);
}
.therapy-index-card .therapy-num {
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}
.therapy-index-card h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--forest);
  margin: 0 0 8px;
}
.therapy-index-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.6; margin: 0 0 16px; }
.therapy-readmore { color: var(--sage); font-size: 0.9rem; font-weight: 500; }
.therapy-readmore i { transition: transform 0.2s; }
.therapy-index-card:hover .therapy-readmore i { transform: translateX(4px); }

/* ---- Make homepage therapy items look clickable ---- */
a.therapy-item { text-decoration: none; color: inherit; display: block; cursor: pointer; }
a.therapy-item h3 { transition: color 0.2s; }
a.therapy-item:hover h3 { color: var(--sage); }
a.therapy-item .therapy-readmore-inline {
  display: inline-block;
  margin-top: 10px;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 1;
  transition: transform 0.2s;
}
a.therapy-item:hover .therapy-readmore-inline { transform: translateX(4px); }

/* ---- MOBILE ---- */
@media (max-width: 700px) {
  .therapy-hero { padding: 110px 0 48px; }
  .therapy-body { padding: 48px 0; }
  .therapy-nav-inner { flex-direction: column; }
  .therapy-nav-link, .therapy-nav-link.next { text-align: left; min-width: 0; }
}

/* === PRICING CARD === */
.therapy-pricing {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 30px;
  margin: 36px 0;
}
.therapy-pricing h2 {
  margin: 0 0 18px !important;
  font-size: 1.5rem;
}
.pricing-rows { display: flex; flex-direction: column; gap: 0; }
.pricing-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.pricing-row:last-child { border-bottom: none; }
.pricing-label {
  flex: 1;
  font-size: 1rem;
  color: var(--ink);
}
.pricing-price {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--forest);
  white-space: nowrap;
}
.pricing-save {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gold);
  background: rgba(201, 168, 76, 0.12);
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}
.pricing-note {
  font-size: 0.82rem !important;
  color: var(--muted) !important;
  font-style: italic;
  margin: 18px 0 0 !important;
}

@media (max-width: 600px) {
  .therapy-pricing { padding: 22px 20px; }
  .pricing-row { flex-wrap: wrap; gap: 6px 12px; }
  .pricing-label { flex: 1 1 100%; font-weight: 600; }
  .pricing-price { font-size: 1.3rem; }
}

/* Note shown on non-bookable therapy pages */
.therapy-enquire-note {
  font-size: 0.9rem !important;
  color: var(--muted) !important;
  font-style: italic;
  margin: 4px 0 0 !important;
}
