/* =====================================================================
   Healing Young Hearts — Services section
   Colours sampled from the live healingyounghearts.com homepage.
   Scoped under .hyh so it cannot affect the rest of the site.
   ===================================================================== */

/* ------------------------------------------------------------------ */
/*  1. Brand tokens — sampled from the live site                       */
/* ------------------------------------------------------------------ */
.hyh {
  /* Surfaces */
  --hyh-white:        #FFFFFF;   /* page background below the hero      */
  --hyh-warm:         #FAF9F5;   /* warm off-white, as the header band  */
  --hyh-mint:         #E4EFEA;   /* top of the hero gradient            */
  --hyh-mint-pale:    #F1F4F1;   /* bottom of the hero gradient         */

  /* Decorative blob tints */
  --hyh-blob-mint:    #CAE2DC;
  --hyh-blob-peach:   #F3E9DF;
  --hyh-blob-mauve:   #E3D7DA;

  /* Type */
  --hyh-ink:          #2D2D2D;   /* headings and nav                    */
  --hyh-body:         #60605D;   /* body copy                           */
  --hyh-rule:         rgba(45, 45, 45, 0.10);

  /* Accents */
  --hyh-teal:         #1F9D90;   /* solid teal, as the nav pill         */
  --hyh-teal-deep:    #19756B;   /* teal text, eyebrows, stat figures   */
  --hyh-purple:       #5E3A9E;   /* solid purple, Ireland route         */
  --hyh-purple-deep:  #49267A;   /* brand purple, used as text          */
  --hyh-orange:       #F78037;   /* solid orange, as "Work With Us"     */

  /* The route accent. Re-pointed by .hyh--uk / .hyh--ireland below. */
  --hyh-accent:       var(--hyh-teal);
  --hyh-accent-deep:  var(--hyh-teal-deep);
  --hyh-accent-tint:  rgba(31, 157, 144, 0.10);
  --hyh-accent-blob:  var(--hyh-blob-mint);

  --hyh-radius:       22px;
  --hyh-radius-sm:    14px;
  --hyh-shadow:       0 1px 2px rgba(45,45,45,.04), 0 10px 30px rgba(45,45,45,.06);
  --hyh-shadow-lift:  0 4px 8px rgba(45,45,45,.05), 0 20px 44px rgba(45,45,45,.10);
  --hyh-max:          1120px;

  /* PHILIP: match this to whatever the live site actually loads. */
  --hyh-sans: "Avenir Next", "Avenir", "Nunito Sans", "Helvetica Neue",
              Helvetica, Arial, sans-serif;
}

.hyh--uk {
  --hyh-accent:      var(--hyh-teal);
  --hyh-accent-deep: var(--hyh-teal-deep);
  --hyh-accent-tint: rgba(31, 157, 144, 0.10);
  --hyh-accent-blob: var(--hyh-blob-mint);
}
.hyh--ireland {
  --hyh-accent:      var(--hyh-purple);
  --hyh-accent-deep: var(--hyh-purple-deep);
  --hyh-accent-tint: rgba(94, 58, 158, 0.09);
  --hyh-accent-blob: var(--hyh-blob-mauve);
}

/* ------------------------------------------------------------------ */
/*  2. Base                                                            */
/* ------------------------------------------------------------------ */
.hyh, .hyh *, .hyh *::before, .hyh *::after { box-sizing: border-box; }

.hyh {
  background: var(--hyh-white);
  color: var(--hyh-body);
  font-family: var(--hyh-sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Break out of a narrow content column so backgrounds run edge to edge.
     Delete these four lines if the section is already full-bleed. */
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow-x: clip;
}

.hyh p { margin: 0 0 1.15em; max-width: 68ch; }
.hyh p:last-child { margin-bottom: 0; }

.hyh h1, .hyh h2, .hyh h3, .hyh h4 {
  font-family: var(--hyh-sans);
  color: var(--hyh-ink);
  margin: 0 0 0.55em;
  line-height: 1.15;
  letter-spacing: -0.018em;
  text-wrap: balance;
}
.hyh h1 { font-size: clamp(2.05rem, 1.3rem + 3vw, 3.4rem); font-weight: 700; line-height: 1.08; }
.hyh h2 { font-size: clamp(1.55rem, 1.2rem + 1.5vw, 2.3rem); font-weight: 700; }
.hyh h3 { font-size: clamp(1.16rem, 1.06rem + 0.45vw, 1.4rem); font-weight: 700; letter-spacing: -0.008em; }
.hyh h4 { font-size: 1.02rem; font-weight: 700; }

/* Inline links only — deliberately NOT a blanket `.hyh a`, which would
   out-specify the button and card modifiers below and swallow their colour. */
.hyh p a, .hyh li a, .hyh__check a, .hyh__proof a { color: var(--hyh-accent-deep); }

/* ------------------------------------------------------------------ */
/*  3. Layout                                                          */
/* ------------------------------------------------------------------ */
.hyh__wrap { max-width: var(--hyh-max); margin: 0 auto; padding: 0 clamp(20px, 5vw, 40px); }

.hyh__section { padding: clamp(56px, 7vw, 100px) 0; position: relative; }
.hyh__section--tight { padding: clamp(38px, 4.5vw, 64px) 0; }
.hyh__section--alt { background: var(--hyh-warm); }

.hyh__section-head { max-width: 62ch; margin-bottom: clamp(28px, 3.5vw, 48px); }

.hyh__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hyh-accent-deep);
  margin: 0 0 1.1em;
}
.hyh__eyebrow--orange { color: var(--hyh-orange); }

.hyh__lede { font-size: clamp(1.06rem, 1rem + 0.4vw, 1.24rem); }

/* ------------------------------------------------------------------ */
/*  4. Hero — pale mint gradient with the soft blob shapes             */
/* ------------------------------------------------------------------ */
.hyh__hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(60px, 8vw, 116px) 0 clamp(52px, 6.5vw, 92px);
  background: linear-gradient(180deg,
              var(--hyh-mint) 0%,
              var(--hyh-mint-pale) 62%,
              var(--hyh-white) 100%);
  border-bottom: 1px solid var(--hyh-rule);
}

/* Large soft circle, upper right — tinted to the route accent */
.hyh__hero::before {
  content: "";
  position: absolute; z-index: -1;
  top: -22%; right: -8%;
  width: min(46vw, 620px); aspect-ratio: 1;
  border-radius: 50%;
  background: var(--hyh-accent-blob);
  opacity: .55;
}
/* Warm peach circle, lower left */
.hyh__hero::after {
  content: "";
  position: absolute; z-index: -1;
  bottom: -34%; left: -12%;
  width: min(38vw, 480px); aspect-ratio: 1;
  border-radius: 50%;
  background: var(--hyh-blob-peach);
  opacity: .8;
}

.hyh__hero-inner { max-width: 46rem; position: relative; z-index: 1; }
.hyh__hero p { font-size: clamp(1.05rem, 1rem + 0.35vw, 1.2rem); }
.hyh__hero .hyh__actions { margin-top: clamp(26px, 3vw, 38px); }

/* Location badge (map-pin motif — no flags, per the brief) */
.hyh__place {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.755rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--hyh-accent-deep);
  background: rgba(255,255,255,.72);
  border: 1px solid var(--hyh-accent-tint);
  border-radius: 999px; padding: 7px 16px 7px 12px;
  margin: 0 0 1.3em;
}
.hyh__place svg { width: 15px; height: 15px; flex: none; }

/* ------------------------------------------------------------------ */
/*  5. Buttons                                                         */
/* ------------------------------------------------------------------ */
.hyh__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.hyh__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--hyh-sans);
  font-size: 1rem; font-weight: 600; line-height: 1.25;
  padding: 16px 32px;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}
.hyh__btn:hover { transform: translateY(-2px); }
.hyh__btn:focus-visible { outline: 3px solid var(--hyh-orange); outline-offset: 3px; }

/* Solid route accent — teal on UK, purple on Ireland.
   Matches the solid teal "Book a Consultation" pill in the site header. */
.hyh .hyh__btn--primary {
  background: var(--hyh-accent); color: #fff;
  box-shadow: 0 6px 18px rgba(45,45,45,.12);
}
.hyh .hyh__btn--primary:hover { background: var(--hyh-accent-deep); color: #fff; }

/* Outline — matches "Explore Training" on the homepage */
.hyh .hyh__btn--ghost {
  background: transparent; color: var(--hyh-accent-deep);
  border-color: var(--hyh-accent);
}
.hyh .hyh__btn--ghost:hover { background: var(--hyh-accent-tint); }

/* Solid orange — matches "Work With Us". Available if Siobhan wants a
   particular CTA to carry the homepage's warmest treatment. */
.hyh .hyh__btn--orange { background: var(--hyh-orange); color: #fff; }
.hyh .hyh__btn--orange:hover { background: #E06A22; color: #fff; }

.hyh .hyh__btn--onDark { background: #fff; color: var(--hyh-accent-deep); }
.hyh .hyh__btn--onDark:hover { background: var(--hyh-warm); color: var(--hyh-accent-deep); }
.hyh .hyh__btn--onDarkGhost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.hyh .hyh__btn--onDarkGhost:hover { background: rgba(255,255,255,.14); color: #fff; }

/* ------------------------------------------------------------------ */
/*  6. Pathway cards (Services overview: UK / Ireland)                 */
/* ------------------------------------------------------------------ */
.hyh__pathways { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2.4vw, 28px); }

.hyh__pathway {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--hyh-white);
  border: 1px solid var(--hyh-rule);
  border-radius: var(--hyh-radius);
  padding: clamp(26px, 3vw, 38px);
  box-shadow: var(--hyh-shadow);
  text-decoration: none; color: var(--hyh-body);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.hyh__pathway::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 5px;
  background: var(--hyh-accent);
}
.hyh__pathway:hover { transform: translateY(-4px); box-shadow: var(--hyh-shadow-lift); border-color: var(--hyh-accent); }
.hyh__pathway h3 { margin-bottom: .45em; font-size: clamp(1.35rem, 1.15rem + 0.7vw, 1.7rem); }
.hyh__pathway p { flex: 1 1 auto; }
.hyh__pathway .hyh__place { margin-bottom: 1em; background: var(--hyh-accent-tint); border-color: transparent; }

.hyh__pathway-go {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 22px; font-weight: 700; color: var(--hyh-accent-deep);
}
.hyh__pathway-go svg { width: 17px; height: 17px; transition: transform .2s ease; }
.hyh__pathway:hover .hyh__pathway-go svg { transform: translateX(4px); }

/* ------------------------------------------------------------------ */
/*  7. Offer cards (numbered, max four per country page)               */
/* ------------------------------------------------------------------ */
.hyh__offers { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2.4vw, 28px); }

.hyh__offer {
  background: var(--hyh-white);
  border: 1px solid var(--hyh-rule);
  border-radius: var(--hyh-radius);
  padding: clamp(26px, 3vw, 36px);
  box-shadow: var(--hyh-shadow);
  display: flex; flex-direction: column;
}
.hyh__section--alt .hyh__offer { background: var(--hyh-white); }
.hyh__offer-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; flex: none;
  border-radius: 50%;
  background: var(--hyh-accent-tint);
  color: var(--hyh-accent-deep);
  font-weight: 700; font-size: 0.95rem;
  margin-bottom: 16px;
}
.hyh__offer h3 { margin-bottom: .5em; }
.hyh__offer-label {
  font-size: 0.8rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--hyh-ink); margin: 20px 0 12px;
}
.hyh__offer-note {
  margin-top: auto; padding-top: 18px;
  font-size: 0.94rem;
  border-top: 1px solid var(--hyh-rule);
}

/* Ticked lists */
.hyh__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.hyh__list li {
  position: relative; padding-left: 28px;
  font-size: 0.97rem; line-height: 1.55;
}
.hyh__list li::before {
  content: ""; position: absolute; left: 0; top: .52em;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--hyh-accent); opacity: .8;
}
.hyh__list--two { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px clamp(18px,2.5vw,32px); }

/* ------------------------------------------------------------------ */
/*  8. Support grid (Services overview: five areas of expertise)       */
/* ------------------------------------------------------------------ */
.hyh__support { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.hyh__support-item {
  background: var(--hyh-white);
  border: 1px solid var(--hyh-rule);
  border-radius: var(--hyh-radius-sm);
  padding: clamp(22px, 2.4vw, 30px);
}
.hyh__support-item h3 { font-size: 1.12rem; margin-bottom: .5em; }
.hyh__support-item p { font-size: 0.96rem; margin: 0; }
.hyh__support-item::before {
  content: ""; display: block; width: 34px; height: 3px; border-radius: 2px;
  background: var(--hyh-accent); margin-bottom: 16px;
}

/* ------------------------------------------------------------------ */
/*  9. Outcomes ("What the work is designed to strengthen")            */
/* ------------------------------------------------------------------ */
.hyh__outcomes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px clamp(20px, 3vw, 40px); list-style: none; margin: 0; padding: 0; }
.hyh__outcomes li {
  position: relative; padding-left: 34px;
  font-size: 1rem; color: var(--hyh-ink);
}
.hyh__outcomes li::before {
  content: ""; position: absolute; left: 0; top: .28em;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(247, 128, 55, .13);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.4l3 3 6-6.6' fill='none' stroke='%23F78037' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 20px 20px;
}

/* ------------------------------------------------------------------ */
/* 10. Delivery band                                                   */
/* ------------------------------------------------------------------ */
.hyh__delivery {
  background: var(--hyh-warm);
  border: 1px solid var(--hyh-rule);
  border-left: 5px solid var(--hyh-accent);
  border-radius: var(--hyh-radius);
  padding: clamp(26px, 3vw, 40px);
}
.hyh__delivery h2 { font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.65rem); }
.hyh__delivery p { margin-bottom: 0; }

.hyh__modes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hyh__mode {
  font-size: .88rem; font-weight: 600;
  color: var(--hyh-accent-deep); background: var(--hyh-accent-tint);
  border-radius: 999px; padding: 8px 16px;
}

/* ------------------------------------------------------------------ */
/* 10b. Paired band — copy left, list right (reflective practice)      */
/* ------------------------------------------------------------------ */
.hyh__pair {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  background: var(--hyh-white);
  border: 1px solid var(--hyh-rule);
  border-radius: var(--hyh-radius);
  padding: clamp(28px, 3.4vw, 46px);
  box-shadow: var(--hyh-shadow);
}
.hyh__pair h2 { font-size: clamp(1.35rem, 1.15rem + 0.75vw, 1.85rem); }
.hyh__pair-note {
  margin-top: 20px; padding-top: 18px;
  border-top: 1px solid var(--hyh-rule);
  font-size: .94rem;
}
.hyh__pair .hyh__offer-label { margin-top: 0; }

@media (max-width: 760px) {
  .hyh__pair { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ */
/* 11. Audience strip ("Who is this for?")                             */
/* ------------------------------------------------------------------ */
.hyh__audience { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.hyh__audience li {
  background: var(--hyh-white);
  border: 1px solid var(--hyh-rule);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: .95rem; font-weight: 500; color: var(--hyh-ink);
}

/* ------------------------------------------------------------------ */
/* 12. Statements + proof                                              */
/* ------------------------------------------------------------------ */
.hyh__statement {
  max-width: 60ch; margin: 0 auto; text-align: center;
  font-size: clamp(1.14rem, 1.02rem + 0.62vw, 1.45rem);
  line-height: 1.55; color: var(--hyh-ink);
}
.hyh__statement::before {
  content: ""; display: block; width: 46px; height: 3px; border-radius: 2px;
  background: var(--hyh-orange); margin: 0 auto 26px;
}

.hyh__proof {
  background: var(--hyh-white);
  border: 1px solid var(--hyh-rule);
  border-radius: var(--hyh-radius);
  padding: clamp(28px, 3.4vw, 44px);
  max-width: 46rem; margin: 0 auto;
  box-shadow: var(--hyh-shadow);
}
.hyh__proof blockquote {
  margin: 0; font-size: clamp(1.06rem, 1rem + 0.4vw, 1.22rem); line-height: 1.6; color: var(--hyh-ink);
}
.hyh__proof blockquote::before {
  content: "\201C"; display: block;
  font-size: 3.2rem; line-height: .8; color: var(--hyh-accent); opacity: .55; margin-bottom: 8px;
}
.hyh__proof cite {
  display: block; margin-top: 18px; font-style: normal;
  font-size: .92rem; font-weight: 700; color: var(--hyh-body);
}

.hyh__independence {
  border-top: 1px solid var(--hyh-rule);
  padding-top: 24px;
  font-size: .9rem; max-width: 72ch;
}

/* ------------------------------------------------------------------ */
/* 13. Closing CTA panel                                               */
/* ------------------------------------------------------------------ */
.hyh__cta {
  background: var(--hyh-accent-deep);
  border-radius: var(--hyh-radius);
  padding: clamp(36px, 4.5vw, 64px);
  color: #fff; text-align: center;
}
.hyh__cta h2 { color: #fff; margin-bottom: .45em; }
.hyh__cta p { color: rgba(255,255,255,.88); margin: 0 auto 30px; max-width: 46ch; }
.hyh__cta .hyh__actions { justify-content: center; }

/* ------------------------------------------------------------------ */
/* 14. Enquiry form                                                    */
/* ------------------------------------------------------------------ */
.hyh__form {
  background: var(--hyh-white);
  border: 1px solid var(--hyh-rule);
  border-radius: var(--hyh-radius);
  padding: clamp(26px, 3.2vw, 44px);
  max-width: 46rem; margin: 0 auto;
  box-shadow: var(--hyh-shadow);
}
.hyh__form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px clamp(16px, 2vw, 24px); }
.hyh__field { display: flex; flex-direction: column; gap: 7px; }
.hyh__field--full { grid-column: 1 / -1; }
/* Direct child only, so option labels inside .hyh__radios stay regular weight */
.hyh__field > label { font-size: .93rem; font-weight: 700; color: var(--hyh-ink); }
.hyh__req { color: var(--hyh-orange); margin-left: 2px; }
.hyh__hint { font-size: .84rem; font-weight: 400; color: var(--hyh-body); }

.hyh__field input,
.hyh__field select,
.hyh__field textarea {
  font-family: var(--hyh-sans); font-size: 1rem; color: var(--hyh-ink);
  background: var(--hyh-warm);
  border: 1.5px solid var(--hyh-rule);
  border-radius: var(--hyh-radius-sm);
  padding: 13px 15px;
  width: 100%;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.hyh__field textarea { min-height: 120px; resize: vertical; }
.hyh__field input:focus, .hyh__field select:focus, .hyh__field textarea:focus {
  outline: none;
  border-color: var(--hyh-accent);
  box-shadow: 0 0 0 3px var(--hyh-accent-tint);
}
.hyh__form fieldset { border: 0; margin: 0; padding: 0; }
.hyh__form legend { font-size: .93rem; font-weight: 700; color: var(--hyh-ink); padding: 0; margin-bottom: 9px; }
.hyh__radios { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.hyh__radio { display: inline-flex; align-items: center; gap: 8px; font-size: .97rem; font-weight: 400; }
.hyh__radio input { width: auto; accent-color: var(--hyh-accent); }
.hyh__field > label.hyh__check { font-weight: 400; }
.hyh__check { display: flex; gap: 11px; align-items: flex-start; font-size: .9rem; font-weight: 400; line-height: 1.5; }
.hyh__check input { width: auto; margin-top: 3px; accent-color: var(--hyh-accent); }
.hyh__form-submit { margin-top: 26px; }

/* Visually hidden but available to screen readers */
.hyh__sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ------------------------------------------------------------------ */
/* 15. Responsive                                                      */
/* ------------------------------------------------------------------ */
@media (max-width: 900px) {
  .hyh__support { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .hyh__pathways,
  .hyh__offers,
  .hyh__support,
  .hyh__outcomes,
  .hyh__list--two,
  .hyh__form-grid { grid-template-columns: 1fr; }
  .hyh__actions { flex-direction: column; align-items: stretch; }
  .hyh__btn { width: 100%; }
  .hyh__cta .hyh__actions { align-items: stretch; }
  .hyh__hero::before { top: -10%; right: -30%; width: 70vw; }
  .hyh__hero::after  { bottom: -18%; left: -40%; width: 70vw; }
}

@media (prefers-reduced-motion: reduce) {
  .hyh *, .hyh *::before, .hyh *::after {
    transition-duration: .01ms !important; animation-duration: .01ms !important;
  }
}
