/* ==========================================================================
   Rita G. Health Psychology - shared stylesheet
   Fonts (Fraunces + Work Sans) are loaded via <link> in each page <head>.
   ========================================================================== */

:root {
  /* Colours */
  --teal-900: #16324A;
  --teal-800: #1D3E5A;
  --teal-700: #25476B;
  --teal-600: #3D6B8C;

  --sage: #25476B;
  --sage-tint: #EAF2F5;

  --terracotta: #25476B;
  --terracotta-mid: #1D3E5A;
  --terracotta-tint: #EAF2F5;

  --ochre: #25476B;

  --rose: #C57B84;
  --rose-mid: #AD6570;
  --rose-tint: #F6E7E9;

  --sky-light: #9FB8C8;

  --sand: #FBF8F3;
  --sand-light: #FDFBF7;

  --ink-900: #16324A;
  --ink-600: #4E5B63;

  --white: #FFFFFF;

  /* Type */
  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shape */
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  /* Shadow */
  --shadow-soft: 0 10px 30px rgba(22, 50, 74, 0.10), 0 2px 8px rgba(22, 50, 74, 0.06);
  --shadow-lift: 0 20px 45px rgba(22, 50, 74, 0.16), 0 6px 14px rgba(22, 50, 74, 0.08);

  /* Spacing */
  --section-pad: 96px;
  --section-pad-mobile: 56px;

  --header-h: 100px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Stop the off-screen (closed) mobile nav drawer from creating a sliver of
   horizontal overflow, which on phones pushed the hamburger button mostly
   off the right edge and made it un-tappable. `clip` avoids the scroll-
   container side effects of `hidden`; `hidden` is the fallback for old browsers. */
html, body { overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-600);
  background: var(--sand-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink-900);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.visually-hidden {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.visually-hidden:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  z-index: 2000;
  background: var(--teal-900);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
}

section { padding: var(--section-pad) 0; }
@media (max-width: 700px) {
  section { padding: var(--section-pad-mobile) 0; }
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head p { color: var(--ink-600); font-size: 1.08rem; }
.section-head.align-left { margin-left: 0; text-align: left; }

/* ---------- Legal / policy text ---------- */
.legal { max-width: 760px; margin: 0 auto; color: var(--ink-600); }
.legal h2 { font-size: 1.4rem; margin: 2em 0 0.5em; }
.legal h3 { font-size: 1.08rem; color: var(--ink-900); margin: 1.6em 0 0.4em; }
.legal p { margin: 0 0 1em; }
.legal ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1.2em; }
.legal li { margin-bottom: 0.5em; }
.legal a { color: var(--terracotta); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--terracotta-mid); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { background: var(--terracotta-mid); transform: translateY(-2px); box-shadow: var(--shadow-lift); }

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }

.btn-outline-dark {
  background: transparent;
  border-color: var(--teal-700);
  color: var(--teal-700);
}
.btn-outline-dark:hover { background: var(--teal-700); color: var(--white); transform: translateY(-2px); }

.btn-light {
  background: var(--white);
  color: var(--teal-800);
  box-shadow: var(--shadow-soft);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }

.btn-sm { padding: 9px 16px; font-size: 0.84rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  /* Must outrank .nav-scrim (z-index 600): .site-header creates its own
     stacking context, and the mobile nav drawer (.main-nav) lives inside
     it. If the header's z-index is lower than the scrim's, the scrim -
     though visually behind the drawer - wins every real tap/click inside
     it, so the drawer looks fine but none of its links respond. */
  z-index: 700;
  background: var(--sand-light);
  border-bottom: 1px solid rgba(22, 50, 74, 0.08);
  height: var(--header-h);
  display: flex;
  align-items: center;
  /* Intentionally no backdrop-filter / filter here: either creates a
     containing block for position:fixed descendants and breaks the
     mobile nav panel's sizing. */
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  max-width: 1440px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand-mark {
  width: 60px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}
.footer-brand .brand-mark { width: 53px; height: 63px; }
.brand-word {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-word strong {
  font-family: var(--font-head);
  font-size: 1.8rem;
  color: var(--teal-900);
  font-weight: 500;
}
.brand-word span {
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(22,50,74,0.5);
  font-weight: 600;
  margin-top: 4px;
  white-space: nowrap;
}

.main-nav { display: flex; flex-shrink: 0; }
.main-nav ul { display: flex; gap: 14px; align-items: center; }
.main-nav a {
  font-weight: 600;
  font-size: 0.89rem;
  color: var(--ink-900);
  position: relative;
  padding: 6px 0;
}
@media (min-width: 1330px) {
  .main-nav a { white-space: nowrap; }
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--terracotta);
  transition: width 0.2s ease;
}
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { width: 100%; }
.main-nav a[aria-current="page"] { color: var(--terracotta); }
.nav-mobile-actions { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-actions .btn-outline-dark { border-color: var(--teal-700); }
.header-actions .btn { padding: 9px 16px; font-size: 0.84rem; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  align-items: center;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  /* Stay above the open nav drawer so tapping it again closes the menu. */
  position: relative;
  z-index: 660;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--teal-900);
  transition: transform 0.25s ease, opacity 0.25s ease, background 0.25s ease;
}
.hamburger[aria-expanded="true"] span { background: var(--sand-light); }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(22, 50, 74, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 600;
}
.nav-scrim.is-open { opacity: 1; pointer-events: auto; }

@media (max-width: 1329px) {
  .main-nav, .header-actions .btn-outline-dark { display: none; }
  .hamburger { display: flex; }

  .main-nav {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(84vw, 360px);
    background: var(--teal-900);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 40px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 650;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 6px; width: 100%; }
  .main-nav li { width: 100%; }
  .main-nav a { color: var(--sand-light); font-size: 1.08rem; display: block; padding: 12px 0; width: 100%; }
  .main-nav a::after { display: none; }
  .main-nav a[aria-current="page"] { color: var(--rose); }
  .nav-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.15);
  }
  .nav-mobile-actions .btn {
    width: 100%;
    /* Flex items don't shrink below their content's natural size by
       default, so with white-space:nowrap the button ignored width:100%
       and spilled past the drawer's edge. min-width:0 lets it actually
       fill the drawer; white-space:normal wraps the label onto a second
       line instead of overflowing if it still doesn't fit. */
    min-width: 0;
    white-space: normal;
    text-align: center;
  }
}

.header-actions .btn { flex-shrink: 0; }
@media (max-width: 1080px) {
  .header-actions .btn-outline-dark span.full,
  .header-actions .btn-primary span.full { display: none; }
}
/* On phones the header only needs logo + hamburger - the "Book a" CTA is
   in the hero and inside the mobile menu, and keeping it here crowded the
   hamburger. */
@media (max-width: 640px) {
  .header-actions .btn-primary { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--ink-900);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(251,248,243,0.93) 0%, rgba(251,248,243,0.80) 38%, rgba(251,248,243,0.50) 75%, rgba(234,242,245,0.30) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 60px 0 100px;
  max-width: 660px;
}
.hero.hero-short .hero-inner { padding: 64px 0 72px; max-width: 720px; }
.hero h1 { color: var(--ink-900); }
.hero .eyebrow { margin-bottom: 28px; }
.hero .lead { font-size: 1.15rem; color: rgba(22,50,74,0.75); max-width: 560px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin: 28px 0 26px; }
.hero .hero-ctas { margin-bottom: 52px; }
.hero-trust {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-900);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.hero .btn-outline { border-color: var(--ink-900); color: var(--ink-900); }
.hero .btn-outline:hover { background: rgba(22,50,74,0.08); }

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(22,50,74,0.55);
  margin-bottom: 18px;
}
.breadcrumb a { color: rgba(22,50,74,0.85); font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--teal-900);
  height: 6px;
  padding: 0;
}

/* ---------- Pillar cards ---------- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 860px) { .pillars-grid { grid-template-columns: 1fr; } }

.pillar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 38px 32px 32px;
  border-top: 5px solid var(--sage);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.pillar-card.p2 { border-top-color: var(--rose); }
.pillar-card.p3 { border-top-color: var(--teal-900); }

.pillar-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: var(--sage-tint);
  color: var(--teal-700);
}
.pillar-card.p2 .pillar-icon { background: var(--rose-tint); color: var(--rose); }
.pillar-card.p3 .pillar-icon { background: #E7EBF0; color: var(--teal-900); }
.pillar-icon svg { width: 28px; height: 28px; }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 20px; }
.tag {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--sage-tint);
  color: var(--teal-800);
}
.pillar-card.p2 .tag, .pillar-detail.p2 .tag { background: var(--rose-tint); color: var(--rose); }
.pillar-card.p3 .tag, .pillar-detail.p3 .tag { background: #E7EBF0; color: var(--teal-900); }

.card-link {
  margin-top: auto;
  font-weight: 600;
  color: var(--teal-800);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
}
.pillar-card:hover .card-link { color: var(--terracotta); }
.card-link .arrow { transition: transform 0.2s ease; }
.card-link:hover .arrow { transform: translateX(4px); }

/* ---------- Split sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.split.reverse .split-media { order: 2; }
.split.reverse .split-text { order: 1; }
@media (max-width: 860px) {
  .split.reverse .split-media,
  .split.reverse .split-text { order: initial; }
}

.split-media { position: relative; }
.split-media::before {
  content: '';
  position: absolute;
  top: 22px; left: -22px;
  width: 100%; height: 100%;
  border-radius: var(--radius-lg);
  background: var(--terracotta-tint);
  z-index: 0;
}
.split.reverse .split-media::before { left: auto; right: -22px; background: var(--rose-tint); }
.split-media img, .split-media .img-placeholder {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  box-shadow: var(--shadow-lift);
}

.img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  border: 2px dashed var(--teal-600);
  background: var(--sage-tint);
  color: var(--teal-800);
  padding: 24px;
  font-size: 0.92rem;
  font-weight: 500;
}
.img-placeholder svg { width: 40px; height: 40px; opacity: 0.7; }
.img-placeholder .ph-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--terracotta);
}

.split-text .credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.credential-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid rgba(22,50,74,0.12);
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--teal-800);
  box-shadow: var(--shadow-soft);
}

/* ---------- Audience cards ---------- */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
@media (max-width: 780px) { .audience-grid { grid-template-columns: 1fr; } }

.audience-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: flex-start;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.audience-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.audience-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(251,248,243,0.97) 0%, rgba(251,248,243,0.93) 65%, rgba(251,248,243,0.55) 100%);
}
.audience-content {
  position: relative;
  z-index: 1;
  padding: 40px;
  color: var(--ink-900);
}
.audience-content h3 { color: var(--ink-900); font-size: 1.6rem; min-height: 3.68rem; display: flex; align-items: flex-end; }
.audience-content p { color: rgba(22,50,74,0.75); min-height: 6.4em; }

/* ---------- Quote band ---------- */
.quote-band {
  background: var(--teal-900);
  color: var(--sand-light);
  text-align: center;
}
.quote-band blockquote {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  max-width: 800px;
  margin: 0 auto 22px;
  line-height: 1.4;
  color: var(--white);
}
.quote-cite {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--sky-light);
}

/* ---------- Pillar detail sections (Individuals page) ---------- */
.pillar-detail {
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.pillar-detail .split-text .pnum {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--rose);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.pillar-detail.p1 .pnum { color: var(--sage); }
.pillar-detail.p3 .pnum { color: var(--teal-900); }
.suits-line {
  background: var(--sand);
  border-left: 4px solid var(--rose);
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-900);
  margin: 20px 0 26px;
}
.pillar-detail.p1 .suits-line { border-left-color: var(--sage); }
.pillar-detail.p3 .suits-line { border-left-color: var(--teal-900); }

/* ---------- Process steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
@media (max-width: 940px) { .steps-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps-grid { grid-template-columns: 1fr; } }

.step-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--teal-800);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  margin-bottom: 16px;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--teal-900) 0%, var(--teal-700) 100%);
  border-radius: var(--radius-lg);
  padding: 56px 52px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: var(--white); margin-bottom: 10px; }
.cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: 0; max-width: 480px; }
.cta-text { flex: 1 1 320px; }
.cta-buttons-wrap { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.cta-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-subtext { font-size: 0.84rem; color: rgba(255,255,255,0.75); margin: 0; }
@media (max-width: 700px) {
  .cta-banner { padding: 40px 28px; text-align: center; justify-content: center; }
  .cta-buttons-wrap { align-items: center; width: 100%; }
  .cta-buttons { justify-content: center; width: 100%; }
  .cta-buttons .btn { flex: 1 1 auto; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--teal-900);
  color: rgba(255,255,255,0.78);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
.footer-brand .brand-word strong,
.footer-brand .brand-word span { color: var(--white); }
.footer-brand .brand-word span { color: rgba(255,255,255,0.6); }
.footer-brand p { margin-top: 16px; font-size: 0.92rem; color: rgba(255,255,255,0.7); max-width: 280px; }
.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 0.92rem; color: rgba(255,255,255,0.78); }
.footer-col a:hover { color: var(--rose); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: var(--rose); }

.social-row { display: flex; gap: 12px; margin-top: 6px; }
.social-row a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.social-row a:hover { background: var(--rose); }
.social-row svg { width: 16px; height: 16px; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
noscript ~ * .reveal,
html.no-js .reveal { opacity: 1; transform: none; }
/* No-JS-safe fallback: if JS never runs to add is-visible, this rule
   (added via <noscript> style tag in each page) forces visibility. */

/* ---------- Fees page: pricing table ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}
@media (max-width: 720px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow-soft);
  border-top: 5px solid var(--terracotta);
}
.price-card .price {
  font-family: var(--font-head);
  font-size: 2.4rem;
  color: var(--teal-900);
  font-weight: 700;
  margin: 6px 0 4px;
}
.price-card .price small { font-size: 1rem; font-weight: 500; color: var(--ink-600); }
.price-card .duration { font-size: 0.88rem; color: var(--ink-600); margin-bottom: 18px; }

.note-card {
  background: var(--sand);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  border-left: 5px solid var(--rose);
  margin-bottom: 8px;
}
.note-card h3 { margin-bottom: 8px; }

/* ---------- FAQ accordion ---------- */
.faq-list { display: flex; flex-direction: column; gap: 14px; max-width: 820px; margin: 0 auto; }
.faq-list details {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 6px 26px;
  box-shadow: var(--shadow-soft);
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 30px 20px 0;
  font-weight: 600;
  color: var(--ink-900);
  position: relative;
  font-family: var(--font-head);
  font-size: 1.06rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 16px;
  font-size: 1.6rem;
  color: var(--terracotta);
  transition: transform 0.2s ease;
  font-family: var(--font-body);
  font-weight: 400;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list .faq-answer { padding: 0 0 22px; color: var(--ink-600); }
.placeholder-note {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--rose);
  background: var(--rose-tint);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info-card {
  background: var(--teal-900);
  color: var(--sand-light);
  border-radius: var(--radius-lg);
  padding: 42px 36px;
  height: 100%;
}
.contact-info-card h3 { color: var(--white); margin-bottom: 4px; }
.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.contact-info-item:last-of-type { border-bottom: none; }
.contact-info-item .ic {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-item .ic svg { width: 18px; height: 18px; }
.contact-info-item strong { display: block; color: var(--white); margin-bottom: 3px; font-size: 0.95rem; }
.contact-info-item a, .contact-info-item span { font-size: 0.92rem; color: rgba(255,255,255,0.82); }
.contact-info-item a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.contact-info-item a:hover { color: var(--rose); }

.enquiry-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 42px 36px;
  box-shadow: var(--shadow-soft);
}
.form-note {
  background: var(--sand);
  border-left: 4px solid var(--sage);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.86rem;
  margin-bottom: 26px;
  color: var(--ink-900);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(22,50,74,0.18);
  border-radius: var(--radius-sm);
  background: var(--sand-light);
  color: var(--ink-900);
  transition: border-color 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal-600);
}
.field textarea { resize: vertical; min-height: 130px; }

/* ---------- What guides my practice / values grid ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.values-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .values-grid { grid-template-columns: 1fr; } }
.value-card {
  background: var(--sand);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  text-align: left;
}
.value-card .pillar-icon { background: var(--white); }

/* ---------- Delivery split / misc lists ---------- */
.check-list { display: flex; flex-direction: column; gap: 12px; margin: 20px 0; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.98rem; color: var(--ink-600); }
.check-list svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--sage); margin-top: 2px; }

.bg-sand { background: var(--sand); }
.bg-white { background: var(--white); }
.text-center { text-align: center; }

.org-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.org-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .org-grid { grid-template-columns: 1fr; } }
.org-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.org-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }

/* ---------- Organisation approach duo ---------- */
.approach-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  max-width: 940px;
  margin: 0 auto;
}
.approach-duo .approach-col + .approach-col {
  border-left: 1px solid rgba(22, 50, 74, 0.12);
  padding-left: 56px;
}
.approach-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.approach-head .pillar-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}
.approach-head h3 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--teal-900);
}
.approach-col > p { color: var(--ink-600); }
.approach-col .check-list { margin: 4px 0 0; }
.approach-note {
  font-size: 0.88rem;
  color: var(--ink-600);
  margin-top: 16px;
}
@media (max-width: 760px) {
  .approach-duo {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .approach-duo .approach-col + .approach-col {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid rgba(22, 50, 74, 0.12);
    padding-top: 36px;
  }
}
