/* Homepage brand palette and conversation-led hero. */
body.home {
  --brand-green: #0f5b55;
  --brand-sage: #6fa98c;
  --brand-pale: #d8ebdc;
  --brand-peach: #f4a68b;
  --brand-cream: #f8e5d6;
  --ink: #173c37;
  --muted: #526b62;
  --violet: var(--brand-green);
  --violet-2: #124c47;
  --mint: var(--brand-sage);
  --mint-soft: var(--brand-pale);
  --coral: var(--brand-peach);
  --ivory: #fffaf5;
  --line: #d8e5de;
  --shadow: 0 22px 55px rgb(15 91 85 / 10%);
}
.home main ::selection { background: #d8ebdc; color: #0f5b55; }
.home main :focus-visible { outline-color: #0f5b55; }
.home .section--process :focus-visible,
.home .final-cta :focus-visible { outline-color: #f8e5d6; }
.home .button--primary { box-shadow: 0 12px 25px rgb(15 91 85 / 18%); }
.home .button--primary:hover { box-shadow: 0 16px 32px rgb(15 91 85 / 24%); }
.home .button--ghost { border-color: #93b6a8; }
.home .hero::before { background: radial-gradient(circle, rgb(111 169 140 / 18%), transparent 66%); }
.home .trust-row { color: #42665b; }
.home .trust-row .icon { color: var(--brand-green); }
.home .topic-card { border-color: #d8e5de; }
.home .topic-card:hover { box-shadow: 0 18px 35px rgb(15 91 85 / 9%); }
.home .topic-card--1 { background: var(--brand-pale); }
.home .topic-card--2 { background: #edf5ef; }
.home .topic-card--3 { background: #fbe3d9; }
.home .topic-card--4 { background: var(--brand-cream); }
.home .section--process::after { border-color: rgb(216 235 220 / 9%); }
.home .process-intro .eyebrow { color: var(--brand-cream); }
.home .steps li > span { color: var(--brand-peach); }
.home .steps p { color: var(--brand-pale); }
.home .therapist-card { border-color: #d8e5de; box-shadow: 0 12px 30px rgb(15 91 85 / 5%); }
.home .therapist-card:hover { box-shadow: var(--shadow); }
.home .therapist-card__media { background: #e6eee5; }
.home .therapist-card__status .icon { color: var(--brand-green); }
.home .reviews-wrap .zm-stars { color: #a84d31; }
.home .reviews-wrap .zm-review blockquote { color: #42665b; }
.home .final-cta { background: var(--brand-green); }
.home .final-cta::after { background: rgb(216 235 220 / 13%); }
.home .final-cta p { color: var(--brand-pale); }

/* The hero illustration is vector-only: no portraits, image downloads or motion. */
.home .hero--conversation { padding: 64px 0 68px; background: var(--ivory); }
.home .hero--conversation::before { display: none; }
.hero--conversation .hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 76px); }
.hero--conversation .hero__content { min-width: 0; }
.hero--conversation .eyebrow { font-size: 13px; line-height: 1.9; margin-bottom: 24px; letter-spacing: 0; }
.hero--conversation h1 { font-family: Dana, Arial, sans-serif; font-size: clamp(38px, 4.15vw, 60px); line-height: 1.5; letter-spacing: -.035em; text-wrap: balance; }
.hero--conversation h1::after { display: none; }
.hero--conversation h1 > span { display: block; }
.hero--conversation .hero__title-accent { color: var(--brand-green); }
.hero--conversation .hero__lead { max-width: 34em; margin: 24px 0 30px; font-size: 18px; line-height: 2; }
.hero--conversation .button-row { align-items: center; gap: 14px; }
.hero--conversation .button { min-height: 54px; padding-inline: 24px; font-size: 15px; border-radius: 12px; }
.hero--conversation .button--primary { box-shadow: none; }
.hero--conversation .button--primary:hover { box-shadow: 0 8px 20px rgb(15 91 85 / 14%); }
.hero--conversation .button--ghost { background: transparent; border-color: transparent; padding-inline: 12px; text-decoration: underline; text-decoration-color: var(--brand-sage); text-underline-offset: 7px; text-decoration-thickness: 1px; }
.hero--conversation .button--ghost:hover { background: var(--mint-soft); color: var(--ink); }
.hero--conversation .trust-row { margin-top: 30px; padding-top: 23px; border-top: 1px solid var(--line); gap: 12px 22px; font-size: 12px; }
.hero--conversation .trust-row .icon { width: 17px; height: 17px; stroke-width: 1.8; }
.hero-dialogue { position: relative; width: 100%; max-width: 500px; aspect-ratio: 500 / 520; margin-inline: auto; isolation: isolate; }
.hero-dialogue__art { display: block; width: 100%; height: 100%; overflow: visible; }
.hero-dialogue__arch { fill: var(--brand-pale); }
.hero-dialogue__outline { stroke: var(--brand-sage); stroke-width: 1; opacity: .45; }
.hero-dialogue__sun { fill: var(--brand-peach); }
.hero-dialogue__sun-line { stroke: var(--brand-peach); stroke-width: 1.5; stroke-linecap: round; }
.hero-dialogue__thread { stroke: var(--brand-green); stroke-width: 1.2; stroke-linecap: round; opacity: .45; }
.hero-dialogue__leaf { fill: var(--brand-green); }
.hero-dialogue__leaf--light { fill: var(--brand-sage); }
.hero-dialogue__stem { stroke: var(--ivory); stroke-width: 1; }
.hero-dialogue__spark { fill: var(--brand-green); }
.hero-dialogue__message { position: absolute; inset-block-start: 24%; inset-inline: 14%; display: flex; flex-direction: column; align-items: start; justify-content: center; min-height: 38%; padding: 28px 32px; background: var(--brand-green); color: var(--paper); border-radius: 32px 32px 32px 8px; box-shadow: 0 20px 35px rgb(15 91 85 / 10%); }
.hero-dialogue__message::after { content: ''; position: absolute; inset-block-end: -22px; inset-inline-end: 0; width: 35px; height: 30px; background: var(--brand-green); clip-path: polygon(0 0, 100% 0, 100% 100%); }
.hero-dialogue__quote { width: 33px; height: 25px; color: var(--brand-peach); margin-bottom: 16px; }
.hero-dialogue__message p { font-size: clamp(24px, 2.5vw, 34px); font-weight: 600; line-height: 1.7; margin: 0; max-width: 10em; text-wrap: balance; }
.hero-dialogue__message-line { display: block; width: 40px; height: 2px; margin-top: 22px; background: var(--brand-sage); }
.hero-dialogue__reply { position: absolute; inset-block-start: 69%; inset-inline-start: 12%; display: flex; align-items: center; gap: 12px; max-width: 78%; padding: 18px 24px; border: 1px solid var(--line); border-radius: 18px 18px 5px 18px; background: var(--paper); color: var(--ink); font-size: 17px; font-weight: 600; box-shadow: 0 10px 24px rgb(15 91 85 / 5%); }
.hero-dialogue__reply .icon { color: var(--brand-green); width: 22px; height: 22px; }
.hero-dialogue__caption { position: absolute; inset-block-end: 0; inset-inline: 0; text-align: center; font-size: 13px; line-height: 1.8; color: var(--muted); margin: 0; }
.site-language-en .hero--conversation h1 { font-size: clamp(38px, 4vw, 57px); line-height: 1.2; letter-spacing: -.035em; }
.site-language-en .hero-dialogue__message p { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.4; }
@media (max-width: 1060px) {
  .home .hero--conversation { padding-block: 48px 56px; }
  .hero--conversation .hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 30px; }
  .hero--conversation h1 { font-size: 44px; }
  .hero-dialogue__message { padding: 22px; }
  .hero-dialogue__message p { font-size: 26px; }
  .hero-dialogue__reply { padding: 14px 18px; font-size: 15px; }
}
@media (max-width: 820px) {
  .hero--conversation .hero__grid { grid-template-columns: 1fr; gap: 38px; }
  .hero--conversation .hero__content { max-width: 640px; }
  .hero--conversation h1 { font-size: clamp(36px, 6.5vw, 48px); }
  .hero--conversation .hero__lead { max-width: 36em; }
  .hero-dialogue { max-width: 400px; }
  .hero-dialogue__message p { font-size: 30px; }
  .hero-dialogue__reply { font-size: 16px; }
}
@media (max-width: 560px) {
  .home .hero--conversation { padding-block: 34px 42px; }
  .hero--conversation .hero__grid { gap: 28px; }
  .hero--conversation .eyebrow { margin-bottom: 16px; font-size: 12px; }
  .hero--conversation h1 { font-size: clamp(31px, 8.2vw, 42px); line-height: 1.55; }
  .hero--conversation .hero__lead { font-size: 16px; line-height: 1.95; margin: 18px 0 22px; }
  .hero--conversation .button-row { gap: 8px; }
  .hero--conversation .button-row .button { width: 100%; }
  .hero--conversation .trust-row { display: flex; margin-top: 18px; padding-top: 18px; gap: 12px 16px; font-size: 12px; }
  .hero-dialogue { max-width: 330px; }
  .hero-dialogue__message { padding: 20px 24px; border-radius: 26px 26px 26px 6px; }
  .hero-dialogue__quote { width: 25px; height: 19px; margin-bottom: 10px; }
  .hero-dialogue__message p { font-size: clamp(21px, 6.65vw, 25px); }
  .hero-dialogue__message-line { margin-top: 12px; }
  .hero-dialogue__reply { gap: 8px; padding: 12px 16px; font-size: 14px; }
  .hero-dialogue__caption { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero--conversation .button { transition: none; }
  .hero--conversation .button:hover { transform: none; }
}

/* Quiet, editorial testimonials; all review content comes from the shortcode. */
.home .home-reviews { background: var(--ivory); padding-block: 76px 84px; border-block: 1px solid var(--line); }
.home-reviews__heading { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: end; gap: 32px 80px; margin-bottom: 36px; }
.home-reviews__heading .eyebrow { gap: 10px; margin-bottom: 12px; font-size: 13px; letter-spacing: 0; }
.home-reviews__heading .eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--brand-sage); }
.home-reviews__heading h2 { margin: 0; font-size: clamp(28px, 3.1vw, 40px); line-height: 1.6; letter-spacing: -.025em; text-wrap: balance; }
.home-reviews__intro { margin: 0; max-width: 38em; color: var(--muted); font-size: 16px; line-height: 2; }
.home-reviews .reviews-wrap .zm-review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.home-reviews .reviews-wrap .zm-review { position: relative; display: flex; flex-direction: column; gap: 0; min-width: 0; min-height: 246px; margin: 0; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); box-shadow: none; overflow-wrap: anywhere; }
.home-reviews .zm-review::before { content: ''; position: absolute; inset-block-start: 25px; inset-inline-end: 26px; width: 32px; height: 25px; background: var(--brand-pale); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 32'%3E%3Cpath d='M0 32V19C0 8 6 2 17 0v7c-6 2-8 5-8 9h9v16H0Zm26 0V19C26 8 32 2 43 0v7c-6 2-8 5-8 9h9v16H26Z'/%3E%3C/svg%3E") center / contain no-repeat; pointer-events: none; }
.home-reviews .reviews-wrap .zm-stars { align-self: start; min-height: 24px; max-width: calc(100% - 42px); color: #a84d31; direction: ltr; font-size: 15px; line-height: 1.6; letter-spacing: 2px; }
.home-reviews .reviews-wrap .zm-review blockquote { flex: 1; margin: 22px 0 24px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--ink); font-size: 16px; line-height: 2; font-style: normal; }
.home-reviews .reviews-wrap .zm-review blockquote p { margin: 0; line-height: inherit; }
.home-reviews .reviews-wrap .zm-review blockquote p + p { margin-top: 12px; }
.home-reviews .reviews-wrap .zm-review figcaption { display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: center; gap: 0 12px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink); }
.home-reviews .zm-review figcaption::before { content: ''; grid-column: 1; grid-row: 1 / 3; display: block; width: 42px; height: 42px; border-radius: 12px; background: var(--mint-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f5b55' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 11.5a8 8 0 0 1-8 8 9 9 0 0 1-3.6-.8L4 20l1.3-4.4a9 9 0 0 1-.8-3.6 8 8 0 0 1 8-8H13a8 8 0 0 1 7 7.5Z'/%3E%3Cpath d='M9 11h7m-7 4h4'/%3E%3C/svg%3E") center / 24px no-repeat; }
.home-reviews .reviews-wrap .zm-review figcaption strong { grid-column: 2; font-size: 14px; font-weight: 600; line-height: 1.8; color: var(--ink); }
.home-reviews .reviews-wrap .zm-review figcaption span { grid-column: 2; font-size: 12px; line-height: 1.8; color: var(--muted); }
@media (max-width: 1000px) {
  .home-reviews__heading { gap: 24px 40px; }
  .home-reviews .reviews-wrap .zm-review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 640px) {
  .home .home-reviews { padding-block: 48px; }
  .home-reviews__heading { grid-template-columns: 1fr; gap: 12px; margin-bottom: 24px; }
  .home-reviews__heading h2 { font-size: 28px; }
  .home-reviews__intro { font-size: 16px; line-height: 1.95; }
  .home-reviews .reviews-wrap .zm-review-grid { grid-template-columns: 1fr; gap: 14px; }
  .home-reviews .reviews-wrap .zm-review { min-height: 0; padding: 24px; border-radius: 16px; }
  .home-reviews .reviews-wrap .zm-review blockquote { margin-block: 20px 24px; }
}

/* The new catalogue section inherits the existing cards and spacing. */
.home-tests { background: #edf5ef; }
.home-tests__heading { margin-bottom: 35px; }
.home-tests__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.home-test { display: flex; flex-direction: column; padding: 25px 22px; background: #fff; border: 1px solid #d8e5de; border-radius: 22px; }
.home-test h3 { font-size: 20px; line-height: 1.65; margin: 0 0 14px; }
.home-test h3 a:hover { color: #0f5b55; text-decoration: underline; text-underline-offset: 5px; }
.home-test__summary { color: #526b62; font-size: 14px; line-height: 1.9; margin: 0 0 22px; }
.home-test__facts { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: auto 0 20px; padding-top: 12px; color: #42665b; font-size: 13px; }
.home-test__facts span { display: inline-flex; align-items: center; gap: 6px; }
.home-test__facts .icon { color: #0f5b55; }
.home-test .button { min-height: 48px; padding-inline: 12px; font-size: 13px; }
.home-tests__note { margin: 28px 0 0; color: #526b62; font-size: 13px; line-height: 1.9; }
.home-tests__all { margin-top: 30px; }
.home-tests__all .text-link { min-height: 44px; }
@media (max-width: 1060px) {
  .home-tests__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .home-tests__grid { grid-template-columns: 1fr; gap: 14px; }
  .home-test { padding: 22px; }
  .home-test h3 { font-size: 19px; }
}
