/* Swaminarayan Holistic Centre page.
 *
 * Scoped under .hc for the same reason broadcast.css scopes under .bc: the public site is
 * Bootstrap 4.5 and shares this document, and tokens.css declares its variables on :root
 * without ever being loaded here, so pulling it in globally would restyle pages nobody asked
 * for. The palette below is the mandir design system's (design-system/tokens.json), restated
 * as locals.
 *
 * Type sizes follow the design system's scale but the family is left alone — the site is
 * Open Sans and the system's Rasa / Mukta Vaani faces are not loaded on the website. Inheriting
 * keeps the page looking like the rest of the site rather than like a transplant.
 *
 * Mobile first. Most people reach this page from a phone and then book on the same screen.
 */

.hc {
  --hc-bg: #f4eee3;
  --hc-surface: #fcf9f2;
  --hc-sunken: #f2e7d8;
  --hc-raised: #f0e4ce;
  --hc-text: #2e1d18;
  --hc-muted: #746356;
  --hc-faint: #987e65;
  --hc-accent: #6e1e2b;
  --hc-accent-strong: #4c1220;
  --hc-gold: #885d09;
  --hc-gold-fill: #e09a1f;
  --hc-on-accent: #fcf9f2;
  --hc-border: rgba(46, 29, 24, 0.1);
  --hc-border-strong: rgba(46, 29, 24, 0.16);

  /* px on purpose: gutters should not double when someone sets large text. The words and the
     tap targets grow; the margins around them do not. */
  --hc-radius: 14px;
  --hc-radius-sm: 10px;
  --hc-shadow: 0 1px 2px rgba(46, 29, 24, 0.06), 0 8px 24px rgba(46, 29, 24, 0.06);

  color: var(--hc-text);
  background: var(--hc-bg);
}

.hc-shell {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .hc-shell { padding: 0 24px; }
}

/* ─── hero ───────────────────────────────────────────────────────────────────────────────── */

.hc-hero {
  background: var(--hc-accent);
  color: var(--hc-on-accent);
  padding: 36px 0 40px;
}

@media (min-width: 768px) {
  .hc-hero { padding: 56px 0 60px; }
}

.hc-hero__eyebrow {
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--hc-gold-fill);
  margin: 0 0 8px;
}

.hc-hero__title {
  font-size: 1.75rem;
  line-height: 1.25;
  font-weight: 600;
  margin: 0;
  color: var(--hc-on-accent);
}

@media (min-width: 768px) {
  .hc-hero__title { font-size: 2.125rem; }
}

.hc-hero__lede {
  margin: 12px 0 0;
  max-width: 60ch;
  font-size: 1rem;
  line-height: 1.6;
  /* Not a muted token: on the accent fill the muted browns go muddy rather than quiet. */
  color: rgba(252, 249, 242, 0.82);
}

/* ─── therapies ──────────────────────────────────────────────────────────────────────────── */

.hc-section { padding: 40px 0 8px; }

@media (min-width: 768px) {
  .hc-section { padding: 56px 0 8px; }
}

.hc-section__title {
  font-size: 1.375rem;
  line-height: 1.3;
  font-weight: 600;
  margin: 0;
  color: var(--hc-text);
}

@media (min-width: 768px) {
  .hc-section__title { font-size: 1.625rem; }
}

.hc-section__lede {
  color: var(--hc-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 8px 0 0;
  max-width: 65ch;
}

.hc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 24px 0 0;
}

@media (min-width: 768px) {
  .hc-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

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

.hc-card {
  background: var(--hc-surface);
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-radius);
  box-shadow: var(--hc-shadow);
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.hc-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--hc-raised);
  color: var(--hc-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.0625rem;
  margin-bottom: 14px;
  flex: 0 0 auto;
}

.hc-card__title {
  font-size: 1.0625rem;
  line-height: 1.35;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--hc-text);
}

.hc-card__body {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--hc-muted);
  margin: 0;
}

/* The counselling card carries a nine-item list the others do not have, so from the
   three-column breakpoint it takes two columns and lays the list out in two. Below that the
   grid is one or two columns wide and a span would just make it the only full-width card in a
   tidy stack, so it stays a normal cell and only the list splits. */
@media (min-width: 1024px) {
  .hc-card--wide { grid-column: span 2; }
}

.hc-card__subhead {
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--hc-gold);
  margin: 16px 0 8px;
}

.hc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--hc-muted);
}

@media (min-width: 480px) {
  .hc-list { columns: 2; column-gap: 24px; }
}

.hc-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 4px;
  break-inside: avoid;
}

.hc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hc-gold-fill);
}

.hc-note {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: var(--hc-radius-sm);
  background: var(--hc-sunken);
  border: 1px solid var(--hc-border);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--hc-text);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.hc-note i {
  color: var(--hc-gold);
  margin-top: 0.2em;
  flex: 0 0 auto;
}

/* ─── booking ────────────────────────────────────────────────────────────────────────────── */

.hc-booking { padding: 40px 0 64px; }

@media (min-width: 768px) {
  .hc-booking { padding: 56px 0 80px; }
}

.hc-booking__frame {
  margin: 24px 0 0;
  background: var(--hc-surface);
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-radius);
  box-shadow: var(--hc-shadow);
  /* The Cliniko iframe paints its own white ground and reports its height back over
     postMessage. Clipping to the frame's radius is all this wrapper should do to it. */
  overflow: hidden;
  padding: 8px;
}

.hc-booking__frame iframe {
  display: block;
  width: 100%;
  border: 0;
}
