/* ============================================================
   SATTVA SPA — pages.css
   Styles shared by about.html and services.html
   ============================================================ */

/* ── Screen-reader only utility ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   PAGE HERO (sub-pages)
   ============================================================ */
.page-hero {
  padding: calc(var(--header-height) + var(--space-lg)) var(--space-md) var(--space-lg);
  background: var(--color-bg);
  text-align: center;
}

.page-hero--surface {
  background: var(--color-surface);
}

.page-hero-inner {
  max-width: 680px;
}

.page-hero-title {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 300;
  letter-spacing: 0.03em;
  margin-bottom: var(--space-sm);
  margin-top: var(--space-xs);
}

.page-hero-sub {
  font-size: clamp(1rem, 2vw, 1.1rem);
  line-height: 1.8;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */

/* Filter bar */
.services-filter-bar {
  padding: var(--space-md) var(--space-md) 0;
  background: var(--color-bg);
  position: sticky;
  top: var(--header-height);
  z-index: 10;
  border-bottom: 1px solid rgba(46, 42, 37, 0.07);
}

.services-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  justify-content: center;
  padding-bottom: var(--space-sm);
}

.filter-pill {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  padding: 0.5em 1.2em;
  border-radius: 100px;
  border: 1.5px solid rgba(138, 158, 133, 0.4);
  color: var(--color-text-muted);
  background: transparent;
  transition: all 0.25s ease;
  min-height: 36px;
  cursor: pointer;
  white-space: nowrap;
}

.filter-pill:hover {
  border-color: var(--color-sage);
  color: var(--color-sage-dark);
}

.filter-pill.active,
.filter-pill[aria-pressed="true"] {
  background: var(--color-sage);
  border-color: var(--color-sage);
  color: var(--color-white);
}

/* Services grid section */
.services-section {
  padding: var(--space-lg) var(--space-md) var(--space-xl);
  background: var(--color-bg);
}

/* Service cards grid — 3 cols desktop, 2 tablet, 1 mobile */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 600px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Individual service card */
.svc-card {
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease, transform 0.3s ease, opacity 0.35s ease;
}

.svc-card.is-hidden {
  display: none;
}

.svc-card-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: var(--space-sm);
}

.svc-icon {
  width: 38px;
  height: 38px;
  background: rgba(138, 158, 133, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--color-sage);
  flex-shrink: 0;
}

.svc-category {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-sage);
}

.svc-card h3 {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.4em;
  line-height: 1.3;
}

.svc-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(138, 158, 133, 0.12);
  color: var(--color-sage-dark);
  padding: 0.15em 0.65em;
  border-radius: 100px;
  vertical-align: middle;
  flex-shrink: 0;
  margin-top: 0.15em;
}

.svc-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(46, 42, 37, 0.07);
}

.svc-duration {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  font-style: italic;
}

.svc-price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--color-text);
  white-space: nowrap;
}

.svc-price--free {
  color: var(--color-sage-dark);
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.04em;
}

.svc-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  flex: 1;
  margin-bottom: var(--space-sm);
}

.svc-btn {
  align-self: flex-start;
  margin-top: auto;
  font-size: 0.78rem;
  padding: 0.6em 1.4em;
}

/* Page CTA (reuses booking section styles from styles.css) */
.page-cta {
  padding: var(--space-xl) var(--space-md);
  background: var(--color-sage);
  text-align: center;
}

.page-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

/* Brand story */
.about-story {
  padding: var(--space-xl) var(--space-md);
  background: var(--color-bg);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.story-content .section-heading {
  margin-top: var(--space-xs);
  margin-bottom: var(--space-sm);
}

.story-content p {
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: var(--space-sm);
}

.story-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(46, 42, 37, 0.13);
  max-height: 520px;
}

@media (min-width: 768px) {
  .story-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

  .story-image img {
    max-height: 620px;
  }
}

/* Values */
.values-section {
  padding: var(--space-xl) var(--space-md);
  background: var(--color-surface);
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.value-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-card);
}

.value-icon {
  display: block;
  font-size: 1.1rem;
  color: var(--color-sage);
  margin-bottom: var(--space-sm);
}

.value-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.value-card p {
  font-size: 0.9rem;
  line-height: 1.65;
}

/* Meet your therapist (about page) */
.about-therapist-section {
  padding: var(--space-xl) var(--space-md);
  background: var(--color-bg);
}

.therapist-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.therapist-image { order: 1; }
.therapist-content { order: 2; }

.therapist-content .section-heading {
  margin-top: var(--space-xs);
  margin-bottom: var(--space-sm);
}

.therapist-content p {
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: var(--space-sm);
}

.therapist-image img {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(46, 42, 37, 0.13);
  max-height: 540px;
  display: block;
}

.therapist-quals {
  margin: var(--space-md) 0 var(--space-md);
  padding: var(--space-md);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-sage);
}

.therapist-quals h3 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-sage);
  margin-bottom: var(--space-sm);
}

.quals-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.quals-list li {
  display: flex;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.quals-list li span {
  color: var(--color-sage);
  flex-shrink: 0;
  margin-top: 0.1rem;
  font-size: 0.8rem;
}

@media (min-width: 768px) {
  .therapist-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

  .therapist-image { order: 1; }
  .therapist-content { order: 2; }

  .therapist-image img {
    max-height: 680px;
  }
}

/* Studio section */
.studio-section {
  padding: var(--space-xl) var(--space-md);
  background: var(--color-surface);
}

.studio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.studio-content .section-heading {
  margin-top: var(--space-xs);
  margin-bottom: var(--space-sm);
}

.studio-content p {
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: var(--space-sm);
}

.studio-detail {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 0.4rem;
}

.studio-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(46, 42, 37, 0.13);
  max-height: 500px;
}

@media (min-width: 768px) {
  .studio-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

  .studio-image img {
    max-height: 600px;
  }
}

/* Mobile section padding */
@media (max-width: 767px) {
  .about-story,
  .values-section,
  .about-therapist-section,
  .studio-section,
  .services-section,
  .page-cta {
    padding-top: var(--space-lg);
    padding-bottom: var(--space-lg);
  }
}

/* ============================================================
   REVIEWS PAGE
   ============================================================ */
.reviews-page-section {
  padding: var(--space-xl) var(--space-md);
  background: var(--color-bg);
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.reviews-page-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(138, 158, 133, 0.2);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  box-shadow: 0 4px 20px rgba(46, 42, 37, 0.05);
}

.reviews-page-card p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin: 0;
  flex: 1;
}
