/* ==========================================================================
   Home page — Figma frame 204:1749. Section-by-section, pixel-matched.
   ========================================================================== */

/* ---- Hero (204:1751) ----------------------------------------------------- */
.hero { background: var(--surface); padding-block: 88px; }
.hero__inner { display: flex; gap: 72px; align-items: center; }
.hero__copy { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hero__copy > * { margin: 0; }
/* Short headline ("How was your care?", client, Nov 2026): where it has to wrap,
   break it evenly instead of leaving one word alone on the second line. */
.hero__copy h1 { text-wrap: balance; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 8px; }
.hero__note { color: var(--secondary); }

.hero__media { flex: 0 0 560px; }
.hero__figure {
  position: relative;
  width: 560px; max-width: 100%;
  height: 470px;
  margin: 0;
  border-radius: 24px 160px 24px 160px; /* tl tr br bl */
  overflow: hidden;
  background: var(--blue-100);
}
.hero__img { width: 100%; height: 100%; object-fit: cover; }
.hero__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--blue-700); color: #fff; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform var(--dur-micro) var(--ease-out), background-color var(--dur-micro) var(--ease-out);
}
.hero__figure:not(.has-video) .hero__play { display: none; }
.hero__play:hover { transform: translate(-50%, -50%) scale(1.06); background: var(--blue-900); }
.hero__play svg { margin-left: 3px; }

@media (max-width: 991px) {
  .hero__inner { flex-direction: column; align-items: stretch; gap: 40px; }
  .hero__media { flex: 0 0 auto; }
  .hero__figure { width: 100%; height: auto; aspect-ratio: 560/470; }
}

/* ---- Quick actions (204:1766) ------------------------------------------- */
.quick-actions { padding: 58px 0 77px; }
.quick-actions__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .quick-actions__grid { grid-template-columns: 1fr; } }

/* ---- Generic home section spacing --------------------------------------- */
.home-section { padding-block: var(--section-py); }
.home-section .section-head { margin-bottom: 48px; }
.home-section .section-head > * { margin: 0; }
.home-section .section-head > * + * { margin-top: 14px; }

/* Organic "blob" media radius used across split sections (matches hero) */
.media-blob { border-radius: 24px 160px 24px 160px; overflow: hidden; }

/* Solid-tick checklist (About split, Feedback Centre) */
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--secondary); font-size: var(--fs-body); line-height: var(--lh-body); }
.checklist .tick-badge { margin-top: 1px; }

/* ---- About split (204:1783) --------------------------------------------- */
.about-split { padding-block: 80px 79px; }
.about-split .split { grid-template-columns: 520px 1fr; gap: 72px; }
.about-split .split__media { width: 100%; height: 500px; aspect-ratio: auto; border-radius: 160px 24px 160px 24px; }
.about-split .split__media img,
.about-split .split__media .img-placeholder { width: 100%; height: 100%; object-fit: cover; }
.split__content { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.split__content > * { margin: 0; }
@media (max-width: 900px) {
  .about-split .split, .split { grid-template-columns: 1fr; gap: 40px; }
  .about-split .split__media { height: auto; aspect-ratio: 520/500; }
  .split--reverse .split__media, .about-split .split__media { order: 0; }
}

/* ---- What's changed (204:1806) — you-said/we-did lite --------------------- */
.whats-changed .card-grid { align-items: start; }
.ysd-lite { background: #fff; border-radius: var(--r-card-sm); box-shadow: var(--shadow-card); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.ysd-lite__label,
.ysd-lite__did { margin: 0; font-family: var(--font-body); font-weight: 600; font-size: 12px; line-height: 18px; letter-spacing: .06em; text-transform: uppercase; color: var(--secondary); }
.ysd-lite__did { display: flex; align-items: center; gap: 8px; }
.ysd-lite__quote { margin: 0; font-size: var(--fs-body-lg); line-height: var(--lh-body-lg); color: var(--ink); font-weight: 400; font-family: var(--font-body); }
.ysd-lite__outcome { margin: 0; font-size: var(--fs-body); line-height: var(--lh-body); }

/* "We did" statements linked to their report / news item (client amendment) */
.ysd-lite__outcome-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--dur-micro) var(--ease-out);
}
.ysd-lite__outcome-link:hover { color: var(--blue-700); }

/* ---- What we do (204:1827) ---------------------------------------------- */
.wwd__head { display: grid; grid-template-columns: minmax(0, 716px) minmax(0, 420px); justify-content: space-between; gap: 64px; align-items: start; margin-bottom: 48px; }
.wwd__head-left { display: flex; flex-direction: column; gap: 16px; }
.wwd__head-left > * { margin: 0; }
.wwd__head-right { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 10px; }
.wwd__head-right p { margin: 0; font-size: var(--fs-body); line-height: var(--lh-body); }
@media (max-width: 900px) { .wwd__head { grid-template-columns: 1fr; gap: 24px; } .wwd__head-right { padding-top: 0; } }

/* Feature card — shared by What we do, Get involved and Partner with us. */

/* ---- Impact stats (204:1878) — dark band -------------------------------- */
.impact-stats { background: var(--blue-700); padding-block: 80px; }
.impact-stats__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
.impact-stats__head > div > * { margin: 0; }
.impact-stats__head .eyebrow { margin-bottom: 12px; color: var(--blue-100); }
.impact-stats__head h2 { margin: 0; }
.impact-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.impact-stats__grid .stat--dark { padding: 8px 40px; position: relative; }
.impact-stats__grid .stat--dark:first-child { padding-left: 0; }
.impact-stats__grid .stat--dark + .stat--dark::before { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 120px; background: var(--blue-100); }
.stat--dark { display: flex; flex-direction: column; gap: 14px; }
.stat__badge { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue-100); color: var(--green-500); }
.stat__badge svg { width: 22px; height: 22px; }
.stat--dark .stat__num { color: #fff; font-size: var(--fs-stat); line-height: var(--lh-stat); letter-spacing: var(--ls-stat); font-family: var(--font-display); font-weight: 700; }
.stat--dark .stat__label { color: var(--blue-100); font-size: var(--fs-body); line-height: var(--lh-body); }
/* Four-across below 1440: a little less side padding so a qualified figure
   ("More than 250") fits its column on one line (client amendment, Nov 2026). */
@media (min-width: 901px) and (max-width: 1439px) {
  .impact-stats__grid .stat--dark { padding-inline: 24px; }
}
@media (max-width: 900px) {
  .impact-stats__grid { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .impact-stats__grid .stat--dark:nth-child(odd) { padding-left: 0; }
  .impact-stats__grid .stat--dark:nth-child(odd)::before { display: none; }
  .impact-stats__head { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (max-width: 560px) {
  .impact-stats__grid { grid-template-columns: 1fr; }
  .impact-stats__grid .stat--dark { padding: 0; }
  .impact-stats__grid .stat--dark::before { display: none; }
}

/* ---- Audience split (204:1899) ------------------------------------------ */
.audience-split .section-head { margin-bottom: 40px; }
.audience-split .section-head p { max-width: 564px; }
.audience-split__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.audience-panel { border-radius: var(--r-card-sm); padding: 44px; display: flex; flex-direction: column; gap: 22px; }
.audience-panel > * { margin: 0; }
.audience-panel--public { background: var(--surface); border: 1px solid var(--border); }
.audience-panel--pro { background: var(--blue-700); }
.audience-panel .eyebrow { letter-spacing: .06em; line-height: 20px; }
.audience-panel h3 { font-size: 28px; line-height: 42px; letter-spacing: 0; color: var(--ink); }
.audience-panel--pro h3 { color: #fff; }
.audience-panel__links { display: flex; flex-direction: column; }
.audience-panel__link { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; font-weight: 600; font-size: var(--fs-body-lg); line-height: 27px; color: var(--ink); text-decoration: none; border-top: 1px solid var(--border); transition: color var(--dur-micro) var(--ease-out); }
.audience-panel__link:first-child { border-top: 0; }
.audience-panel__link svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--secondary); transition: transform var(--dur-micro) var(--ease-out); }
.audience-panel__link:hover { color: var(--blue-700); }
.audience-panel__link:hover svg { transform: translateX(4px); }
.audience-panel--pro .audience-panel__link { color: #fff; border-top-color: rgba(255,255,255,.15); }
.audience-panel--pro .audience-panel__link svg { color: var(--blue-100); }
.audience-panel--pro .audience-panel__link:hover { color: var(--green-500); }
@media (max-width: 780px) { .audience-split__grid { grid-template-columns: 1fr; } .audience-panel { padding: 32px; } }

/* ---- How we work (204:1937) — process steps ----------------------------- */
.how-we-work .section-head { margin-bottom: 56px; }
.how-we-work .section-head > * + * { margin-top: 16px; }
.how-we-work .section-head p { font-size: var(--fs-body); line-height: var(--lh-body); }
.process-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 48px; }
.process-step { position: relative; display: flex; flex-direction: column; gap: 10px; padding-top: 8px; }
.process-step > * { margin: 0; }
.process-step__num { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-stat); line-height: var(--lh-stat); letter-spacing: var(--ls-stat); color: var(--blue-500); }
.process-step__title { font-size: var(--fs-h4); line-height: var(--lh-h4); letter-spacing: 0; color: var(--blue-700); }
.process-step__text { font-size: var(--fs-body-sm); line-height: var(--lh-body-sm); }
.process-step + .process-step::before { content: "→"; position: absolute; left: -36px; top: 40px; width: 24px; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 34px; color: var(--secondary); }
@media (max-width: 900px) { .process-steps { grid-template-columns: 1fr 1fr; gap: 40px 24px; } .process-step + .process-step::before { display: none; } }
@media (max-width: 520px) { .process-steps { grid-template-columns: 1fr; } }

/* ---- Community reach (204:1970) ----------------------------------------- */
.community-reach__head { display: grid; grid-template-columns: minmax(0, 820px) minmax(0, 380px); justify-content: space-between; gap: 0; align-items: start; margin-bottom: 48px; }
.community-reach__head > div > * { margin: 0; }
.community-reach__head h2 { margin-top: 16px; }
.community-reach__intro { text-align: right; font-size: var(--fs-body); line-height: var(--lh-body); margin: 0; }
.reach-card { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.reach-card__media { width: 100%; max-width: 260px; height: 240px; border-radius: var(--r-card-sm); overflow: hidden; background: var(--blue-100); }
.reach-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.reach-card__body { display: flex; flex-direction: column; gap: 14px; }
.reach-card__title { margin: 0; font-size: var(--fs-h4); line-height: var(--lh-h4); letter-spacing: 0; color: var(--blue-700); }
.reach-card__text { margin: 0; font-size: var(--fs-body-sm); line-height: var(--lh-body-sm); }
@media (max-width: 900px) { .community-reach__head { grid-template-columns: 1fr; gap: 20px; } .community-reach__intro { text-align: left; } .reach-card__media { max-width: none; } }

/* ---- You said we did (204:1999) ----------------------------------------- */
.ysd__head, .latest-news__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
.ysd__head > div > *, .latest-news__head > div > * { margin: 0; }
.ysd__head h2, .latest-news__head h2 { margin-top: 16px; }
.you-said-we-did { padding-block: 67px 66px; }
.ysd__grid { align-items: stretch; }
.ysd__said-label { margin: 0; }
.ysd__role { color: var(--secondary); font-size: var(--fs-body-sm); line-height: var(--lh-body-sm); }
.ysd__partner { color: var(--blue-100) !important; font-size: var(--fs-body-sm); line-height: var(--lh-body-sm); }
@media (max-width: 780px) { .ysd__head, .latest-news__head { flex-direction: column; align-items: flex-start; gap: 16px; } }

/* ---- Feedback Centre (204:2040) ----------------------------------------- */
.feedback-centre .split { grid-template-columns: minmax(0, 608px) minmax(0, 520px); justify-content: space-between; align-items: center; gap: 72px; }
.fc-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.fc-points li { display: flex; gap: 12px; align-items: flex-start; }
.fc-points .tick-badge { margin-top: 1px; }
.fc-points li > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.fc-points strong { display: block; color: var(--blue-700); font-size: var(--fs-h4); font-family: var(--font-display); font-weight: 700; line-height: var(--lh-h4); }
.fc-points span span { font-size: var(--fs-body-sm); line-height: var(--lh-body-sm); }
.fc-points li:nth-child(1) > span:last-child { max-width: 441px; }
.fc-points li:nth-child(2) > span:last-child { max-width: 517px; }

.feedback-preview { background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow-card); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.feedback-preview__search { display: flex; align-items: center; gap: 8px; padding: 14px 16px; border-radius: var(--r-pill); background: var(--surface); color: var(--secondary); font-size: var(--fs-body); line-height: var(--lh-body); }
.feedback-preview__card { border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.feedback-preview__name { margin: 0; color: var(--blue-700); font-size: var(--fs-h4); line-height: var(--lh-h4); letter-spacing: 0; }
.feedback-preview__rating { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.feedback-preview__rating .stars { color: var(--ink); }
.feedback-preview__meta { color: var(--secondary); font-size: var(--fs-body-sm); line-height: var(--lh-body-sm); }
.feedback-preview__review { background: var(--surface); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.feedback-preview__review > p { margin: 0; color: var(--secondary); font-size: var(--fs-body-sm); line-height: var(--lh-body-sm); }
.feedback-preview__response { border-left: 2px solid var(--blue-700); padding: 8px 0 0 14px; display: flex; flex-direction: column; gap: 4px; }
.feedback-preview__response .eyebrow { margin: 0; color: var(--secondary); }
.feedback-preview__response p { margin: 0; color: var(--secondary); font-size: var(--fs-body-sm); line-height: var(--lh-body-sm); }
.feedback-preview__btn { align-self: flex-start; display: inline-flex; align-items: center; padding: 10px 20px; border-radius: var(--r-pill); background: var(--green-500); border: 1.5px solid var(--blue-700); color: var(--ink); font-size: var(--fs-body-sm); line-height: var(--lh-body-sm); }
@media (max-width: 900px) { .feedback-centre .split { grid-template-columns: 1fr; gap: 40px; } }
/* "Find a service and leave a review" is wider than the narrowest phones (320px):
   let it run to two lines there instead of pushing the page sideways. It stays
   on one line wherever it fits. */
@media (max-width: 480px) { .feedback-centre__copy .btn { white-space: normal; text-align: center; line-height: 1.3; padding-block: 10px; max-width: 100%; } }

/* ---- Latest news (204:2077) --------------------------------------------- */
.latest-news .card__title { min-height: 0; }

/* Feedback steps: closing button (client, Nov 2026) */
.how-we-work__cta { display: flex; justify-content: center; margin-top: 48px; }
