/* ==========================================================
   Learnability — learnability.co.uk
   Brand: Purple #AB298E · Pink #E5188A · Grey #B9B8B9
   Typeface: Lexend (dyslexia-friendly by design)
   Signature: the "reading overlay" highlight — a nod to the
   coloured overlays many dyslexic readers know well.
   ========================================================== */

:root {
  --purple: #AB298E;
  --purple-deep: #7E1E69;
  --purple-ink: #4A1140;      /* darkest plum, large headings */
  --pink: #E5188A;
  --pink-deep: #C10E72;
  --pink-wash: #FCEAF4;       /* soft pink tint */
  --lilac-wash: #F8F0F6;      /* soft purple tint band */
  --grey: #B9B8B9;            /* brand grey: borders & quiet UI */
  --grey-text: #5F5A5E;       /* accessible grey for secondary text */
  --ink: #322B31;             /* body text: near-black plum */
  --paper: #FFFDFE;
  --focus: #7E1E69;
  --radius: 20px;
  --radius-sm: 12px;
  --maxw: 1100px;
  --shadow-soft: 0 6px 24px rgba(74, 17, 64, 0.08);
  --shadow-lift: 0 14px 40px rgba(74, 17, 64, 0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: 'Lexend', 'Segoe UI', Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.75;
  letter-spacing: 0.01em;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

p, li { max-width: 66ch; }

a { color: var(--purple-deep); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--pink-deep); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Header & navigation ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--grey); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img.logo { height: 72px; width: auto; }

.nav-toggle {
  display: none; background: none; border: 2px solid var(--purple); border-radius: 999px;
  padding: 8px 16px; font: inherit; color: var(--purple-deep); cursor: pointer; font-weight: 600;
}
nav.primary { flex: 1 1 auto; }
nav.primary > ul { display: flex; gap: 2px; list-style: none; flex-wrap: wrap; align-items: center; justify-content: flex-end; width: 100%; }
nav.primary > ul > li:last-child { margin-left: 26px; }
nav.primary a { display: block; padding: 9px 13px; border-radius: 999px; text-decoration: none; color: var(--purple-ink); font-weight: 500; font-size: 0.93rem; }
nav.primary a:hover { background: var(--lilac-wash); color: var(--purple-deep); }
nav.primary a[aria-current="page"] { background: var(--lilac-wash); color: var(--purple-deep); font-weight: 600; box-shadow: inset 0 -3px 0 var(--pink); border-radius: 12px 12px 4px 4px; }
nav.primary a.nav-cta { background: var(--pink); color: #fff; font-weight: 600; padding: 10px 20px; }
nav.primary a.nav-cta:hover { background: var(--pink-deep); }

/* Dropdown (Other Services) */
nav.primary li.has-sub { position: relative; }
nav.primary li.has-sub > a::after { content: " ▾"; font-size: 0.8em; }
nav.primary li.has-sub > ul {
  display: none; position: absolute; top: 100%; left: 0; min-width: 240px;
  background: #fff; border: 1px solid var(--grey); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lift); padding: 8px; list-style: none; z-index: 60;
}
nav.primary li.has-sub:hover > ul,
nav.primary li.has-sub:focus-within > ul { display: block; }
nav.primary li.has-sub > ul a { border-radius: 8px; font-size: 0.9rem; padding: 9px 12px; }

@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  nav.primary { display: none; width: 100%; }
  nav.primary.open { display: block; }
  nav.primary > ul { flex-direction: column; align-items: stretch; padding-bottom: 12px; }
  nav.primary > ul > li:last-child { margin-left: 0; }
  nav.primary li.has-sub > ul { display: block; position: static; box-shadow: none; border: none; padding-left: 18px; }
  nav.primary a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--pink); border-radius: 12px; }
}

/* ---------- Hero ---------- */
.hero { background: linear-gradient(165deg, var(--lilac-wash) 0%, var(--paper) 62%); padding: 66px 0 58px; position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; right: 4%; top: 44px; width: 360px; height: 360px;
  background-image: url("images/triskele-purple.svg");
  background-size: contain; background-repeat: no-repeat;
  opacity: 0.10; pointer-events: none; transform: rotate(-10deg);
}
.hero::before {
  content: ""; position: absolute; left: -190px; bottom: -230px; width: 500px; height: 500px;
  background-image: url("images/triskele-pink.svg");
  background-size: contain; background-repeat: no-repeat;
  opacity: 0.07; pointer-events: none; transform: rotate(18deg);
}
@media (max-width: 820px) {
  .hero::after { width: 380px; height: 380px; right: -140px; top: -80px; }
  .hero::before { width: 300px; height: 300px; left: -140px; bottom: -140px; }
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero .wrap { position: relative; z-index: 1; }
@media (max-width: 820px) { .hero-grid { grid-template-columns: 1fr; } }
.hero .eyebrow { margin-bottom: 14px; }
.hero h1 { font-size: clamp(1.35rem, 3vw, 2.05rem); font-weight: 700; line-height: 1.28; color: var(--purple-ink); max-width: 26ch; }
.hero .lede { margin-top: 18px; font-size: 1.13rem; font-weight: 300; color: var(--ink); max-width: 54ch; }
.hero .credentials { margin-top: 20px; font-size: 0.9rem; color: var(--grey-text); }
.hero-ctas { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-photo img {
  border-radius: 46% 54% 52% 48% / 54% 46% 54% 46%;
  border: 6px solid #fff;
  box-shadow: var(--shadow-lift);
  aspect-ratio: 1/1; object-fit: cover; max-width: 330px; margin: 0 auto;
}
.hero-photo figcaption { text-align: center; margin-top: 14px; font-size: 0.9rem; color: var(--grey-text); }

.btn { display: inline-block; padding: 13px 28px; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 2px solid transparent; }
.btn-primary { background: var(--pink); color: #fff; box-shadow: 0 8px 22px rgba(229,24,138,0.28); }
.btn-primary:hover { background: var(--pink-deep); color: #fff; }
.btn-outline { border-color: var(--purple); color: var(--purple-deep); background: #fff; }
.btn-outline:hover { background: var(--purple); color: #fff; }

/* ---------- Sections ---------- */
section { padding: 58px 0; }
section.band { background: var(--lilac-wash); position: relative; overflow: hidden; }
section.band::after {
  content: ""; position: absolute; right: 3%; top: 50%; width: 340px; height: 340px; margin-top: -170px;
  background-image: url("images/triskele-purple.svg");
  background-size: contain; background-repeat: no-repeat;
  opacity: 0.06; pointer-events: none; transform: rotate(14deg);
}
section.band > .wrap { position: relative; z-index: 1; }
section.band-pink { background: var(--pink-wash); position: relative; overflow: hidden; }
section.band-pink::after {
  content: ""; position: absolute; left: 3%; bottom: 34px; width: 300px; height: 300px;
  background-image: url("images/triskele-purple.svg");
  background-size: contain; background-repeat: no-repeat;
  opacity: 0.06; pointer-events: none; transform: rotate(-8deg);
}
section.band-pink > .wrap { position: relative; z-index: 1; }
.eyebrow { display: inline-block; color: var(--pink-deep); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 10px; }
h2 { color: var(--purple-ink); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; line-height: 1.3; margin-bottom: 18px; max-width: 28ch; }
h3 { color: var(--purple-deep); font-size: 1.16rem; font-weight: 600; margin: 26px 0 10px; }
section p + p { margin-top: 14px; }
ul.content-list { margin: 14px 0 0 1.2em; }
ul.content-list li { margin-bottom: 8px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.split figure img { border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.split figcaption { margin-top: 10px; font-size: 0.88rem; color: var(--grey-text); }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 32px; }
.card {
  background: #fff; border: 1px solid var(--grey); border-radius: var(--radius);
  padding: 28px 26px; display: flex; flex-direction: column;
  box-shadow: var(--shadow-soft); transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.card .card-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(135deg, var(--pink-wash), var(--lilac-wash));
  color: var(--pink-deep); display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; margin-bottom: 14px; border: 1px solid rgba(171,41,142,0.15);
}
.card h3 { margin-top: 0; }
.card p { font-size: 0.96rem; flex: 1; }
.card .card-link { margin-top: 16px; font-weight: 600; text-decoration: none; color: var(--pink-deep); }
.card .card-link:hover { text-decoration: underline; }

/* ---------- Journey steps ---------- */
.steps { counter-reset: step; display: grid; gap: 16px; margin-top: 30px; }
.step {
  display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start;
  background: #fff; border: 1px solid var(--grey); border-radius: var(--radius); padding: 22px 24px;
  box-shadow: var(--shadow-soft);
}
.step::before {
  counter-increment: step; content: counter(step);
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--pink)); color: #fff;
  font-weight: 700; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { margin: 0 0 6px; }
.step p { font-size: 0.96rem; }

/* ---------- Marker checklists (About Dyslexia) ---------- */
.checklist-cols { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-top: 30px; }
.checklist { background: #fff; border: 1px solid var(--grey); border-radius: var(--radius); padding: 28px 28px 24px; box-shadow: var(--shadow-soft); }
.checklist h3 { margin-top: 0; padding-bottom: 12px; border-bottom: 2px solid var(--pink-wash); }
.checklist ul { list-style: none; margin-top: 14px; }
.checklist li { padding-left: 34px; position: relative; margin-bottom: 12px; font-size: 0.97rem; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 7px;
  background: var(--pink-wash); color: var(--pink-deep);
  font-size: 0.85rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Notes & callouts ---------- */
.note {
  border-left: 4px solid var(--pink); background: var(--pink-wash);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px; margin-top: 30px; font-size: 0.95rem; color: var(--ink);
}
.note strong { color: var(--purple-ink); }

/* ---------- Service sections (Other Services) ---------- */
.service-block { padding: 46px 0; border-bottom: 1px solid var(--grey); scroll-margin-top: 96px; }
.service-block:last-of-type { border-bottom: none; }
.service-block h2 { display: flex; align-items: center; gap: 14px; }
.service-num {
  flex: none; width: 46px; height: 46px; border-radius: 14px;
  background: linear-gradient(135deg, var(--purple), var(--pink)); color: #fff;
  font-size: 1.05rem; font-weight: 700; display: flex; align-items: center; justify-content: center;
}

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 30px; }
blockquote.testimonial {
  background: #fff; border: 1px solid var(--grey); border-radius: var(--radius);
  padding: 26px 26px 22px; font-size: 0.97rem; color: var(--ink);
  box-shadow: var(--shadow-soft); position: relative;
}
blockquote.testimonial::before {
  content: "\201C"; font-size: 3rem; line-height: 1; color: var(--pink);
  display: block; margin-bottom: 6px; font-family: Georgia, serif;
}
blockquote.testimonial footer { margin-top: 12px; font-size: 0.88rem; color: var(--grey-text); font-weight: 600; }

/* ---------- Badges ---------- */
.badge-row { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; margin-top: 28px; }
.badge-row img { height: 64px; width: auto; }

/* ---------- FAQ ---------- */
details.faq { border: 1px solid var(--grey); border-radius: var(--radius); padding: 16px 22px; margin-top: 14px; background: #fff; }
details.faq summary { font-weight: 600; color: var(--purple-deep); cursor: pointer; }
details.faq p { margin-top: 12px; font-size: 0.96rem; }

/* ---------- Contact form ---------- */
form.contact { display: grid; gap: 18px; max-width: 620px; margin-top: 30px; }
form.contact label { font-weight: 600; color: var(--purple-ink); display: block; margin-bottom: 6px; }
form.contact input, form.contact select, form.contact textarea {
  width: 100%; padding: 13px 16px; font: inherit; color: var(--ink);
  border: 1.5px solid var(--grey); border-radius: 14px; background: #fff;
}
form.contact input:focus, form.contact select:focus, form.contact textarea:focus {
  border-color: var(--purple); outline: 3px solid rgba(229,24,138,0.22); outline-offset: 0;
}
form.contact .hint { font-size: 0.85rem; color: var(--grey-text); margin-top: 4px; }
form.contact button { border: none; cursor: pointer; }

/* ---------- CTA banner ---------- */
.cta-banner { background: linear-gradient(120deg, var(--purple-deep) 0%, var(--purple) 55%, var(--pink) 130%); color: #fff; position: relative; overflow: hidden; }
.cta-banner::after {
  content: ""; position: absolute; right: 5%; top: 50%; width: 280px; height: 280px; margin-top: -140px;
  background-image: url("images/triskele-white.svg");
  background-size: contain; background-repeat: no-repeat;
  opacity: 0.16; pointer-events: none; transform: rotate(-12deg);
}
.cta-banner .wrap { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; }
.cta-banner p { color: #FBE3F1; }
.cta-banner .btn-primary { background: #fff; color: var(--purple-deep); box-shadow: 0 8px 24px rgba(0,0,0,0.18); }
.cta-banner .btn-primary:hover { background: var(--pink-wash); color: var(--purple-deep); }
.cta-banner .btn { margin-top: 22px; }

/* ---------- Footer ---------- */
footer.site-footer { background: #fff; border-top: 1px solid var(--grey); color: var(--grey-text); padding: 44px 0 30px; font-size: 0.92rem; }
footer.site-footer .foot-grid { display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
footer.site-footer h4 { color: var(--purple-ink); font-size: 1rem; margin-bottom: 10px; }
footer.site-footer a { color: var(--purple-deep); }
footer.site-footer ul { list-style: none; }
footer.site-footer li { margin-bottom: 6px; }
.foot-legal { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--grey); font-size: 0.82rem; }

/* ---------- Utility ---------- */
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--pink); color: #fff; padding: 10px 18px; border-radius: 0 0 12px 0; z-index: 100; }
.skip-link:focus { left: 0; }
.placeholder { background: #FFF3CD; border: 1px dashed #C9A400; padding: 2px 6px; border-radius: 6px; font-size: 0.9em; }

@media (max-width: 820px) {
  .hero::after { width: 190px; height: 190px; right: 6%; top: 20px; opacity: 0.08; }
  .hero::before { width: 300px; height: 300px; left: -140px; bottom: -150px; }
  section.band::after, section.band-pink::after { width: 200px; height: 200px; opacity: 0.05; }
  .cta-banner::after { width: 170px; height: 170px; margin-top: -85px; }
}

/* ---------- In-page photos ---------- */
.service-media {
  float: right; width: min(320px, 38%); margin: 6px 0 18px 30px;
  border-radius: var(--radius); box-shadow: var(--shadow-soft);
}
.service-block { overflow: auto; }
@media (max-width: 700px) {
  .service-media { float: none; width: 100%; margin: 14px 0; }
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200;
  max-width: 560px; margin: 0 auto;
  background: #fff; border: 1.5px solid var(--purple); border-radius: var(--radius);
  box-shadow: var(--shadow-lift); padding: 20px 22px;
  display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner p { font-size: 0.92rem; margin: 0 0 14px; max-width: none; }
.cookie-banner .cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner button {
  font: inherit; font-weight: 600; cursor: pointer; border-radius: 999px; padding: 10px 22px;
}
.cookie-banner .cookie-accept { background: var(--pink); color: #fff; border: 2px solid var(--pink); }
.cookie-banner .cookie-accept:hover { background: var(--pink-deep); border-color: var(--pink-deep); }
.cookie-banner .cookie-decline { background: #fff; color: var(--purple-deep); border: 2px solid var(--purple); }
.cookie-banner .cookie-decline:hover { background: var(--lilac-wash); }

/* Portrait (non-oval) hero photo - About Us */
.hero-photo.portrait img {
  border-radius: var(--radius);
  aspect-ratio: 3 / 4; object-fit: cover; max-width: 300px;
  border: 6px solid #fff; box-shadow: var(--shadow-lift);
}

/* Compact hero for short pages (About Us gap, Contact/Privacy triskele fit) */
.hero.compact { padding-bottom: 28px; }
.hero.slim::after { width: 230px; height: 230px; top: 24px; right: 5%; }
.section-tight { padding-top: 26px; }

/* ---------- Home hero (Option 4): full image background, solid card ---------- */
.hero-home {
  background: url("images/home-hero.jpg") center / cover no-repeat;
  padding: 96px 0;
}
.hero-home::before, .hero-home::after { display: none; }  /* image has its own swirls */
.hero-home-card {
  max-width: 520px;
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 40px;
  box-shadow: 0 18px 50px rgba(74, 17, 64, 0.22);
}
.hero-home-card h1 em { font-style: normal; color: var(--pink); }
@media (max-width: 820px) {
  .hero-home { padding: 56px 0; }
  .hero-home-card { padding: 28px 26px; }
}

/* ---------- About Us hero: photo left, story right, watermark ---------- */
.hero-about {
  background: var(--lilac-wash);
  padding: 56px 0;
  position: relative; overflow: hidden;
}
.hero-about::after {
  content: ""; position: absolute; right: -60px; bottom: -80px; width: 420px; height: 420px;
  background: url("images/triskele-purple.svg") center / contain no-repeat;
  opacity: 0.06; pointer-events: none;
}
.hero-about-grid {
  display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: center;
  position: relative; z-index: 1;
}
.hero-about-photo { margin: 0; }
.hero-about-photo img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: var(--radius);
  border: 6px solid #fff;
  box-shadow: var(--shadow-lift);
}
.hero-about h1 {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 700;
  color: var(--purple-ink); line-height: 1.15;
}
.hero-about .lede { margin-top: 12px; font-weight: 300; max-width: 52ch; }
.hero-about .eyebrow { margin-bottom: 6px; }
@media (max-width: 800px) {
  .hero-about-grid { grid-template-columns: 1fr; }
  .hero-about-photo { max-width: 280px; }
}

/* ---------- Definition section: text left, image + quote rail right ---------- */
.definition-grid { display: grid; grid-template-columns: 1.4fr 0.9fr; gap: 40px; align-items: start; }
.definition-rail img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.quote-card {
  background: #fff; border: 1px solid var(--grey); border-radius: var(--radius);
  box-shadow: var(--shadow-soft); padding: 24px 26px; margin-top: 20px;
}
.quote-card .qmark { font-family: Georgia, serif; font-size: 2.6rem; line-height: 1; color: var(--pink); }
.quote-card p { font-size: 1.05rem; font-weight: 500; color: var(--purple-deep); margin: 4px 0 8px; max-width: none; }
.quote-card small { color: var(--grey-text); font-size: 0.85rem; line-height: 1.5; display: block; }
@media (max-width: 800px) {
  .definition-grid { grid-template-columns: 1fr; }
  .definition-rail { order: -1; }
}

/* ---------- Assessments page components ---------- */
.chip-row { margin-top: 18px; }
.chip {
  display: inline-block; background: var(--pink-wash); color: var(--purple-deep);
  font-weight: 600; font-size: 0.82rem; padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(171, 41, 142, 0.2); margin: 0 8px 8px 0;
}

.benefit-grid { display: grid; grid-template-columns: 1.35fr 0.9fr; gap: 40px; align-items: start; }
.benefit-card {
  background: var(--lilac-wash); border: 1px solid var(--grey); border-radius: var(--radius);
  padding: 26px 28px;
}
.benefit-card h3 { margin: 0 0 12px; }
.benefit-card ul { list-style: none; }
.benefit-card li { font-size: 0.93rem; padding: 6px 0 6px 26px; position: relative; }
.benefit-card li::before {
  content: "\2713"; position: absolute; left: 0; top: 8px;
  width: 18px; height: 18px; border-radius: 6px; background: #fff; color: var(--pink-deep);
  font-weight: 700; font-size: 0.72rem; display: flex; align-items: center; justify-content: center;
}

.timeline { position: relative; margin-top: 28px; padding-left: 36px; }
.timeline::before {
  content: ""; position: absolute; left: 13px; top: 10px; bottom: 10px; width: 3px;
  background: linear-gradient(var(--purple), var(--pink)); border-radius: 2px;
}
.tl-item {
  position: relative; margin-bottom: 20px; background: #fff; border: 1px solid var(--grey);
  border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow-soft);
}
.tl-item::before {
  content: ""; position: absolute; left: -30px; top: 26px; width: 15px; height: 15px;
  border-radius: 50%; background: var(--pink); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--pink);
}
.tl-item h3 { margin: 0 0 8px; }
.tl-item p { font-size: 0.96rem; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-top: 28px; }
.cat-card {
  background: #fff; border: 1px solid var(--grey); border-top: 4px solid var(--pink);
  border-radius: var(--radius); padding: 22px 22px; box-shadow: var(--shadow-soft);
}
.cat-card h3 { margin: 0 0 8px; font-size: 1.02rem; }
.cat-card ul { list-style: none; }
.cat-card li { font-size: 0.9rem; padding: 4px 0 4px 22px; position: relative; }
.cat-card li::before { content: "\2713"; position: absolute; left: 0; color: var(--pink-deep); font-weight: 700; font-size: 0.8rem; }

.pull {
  border-left: 5px solid var(--pink); padding: 8px 0 8px 24px; margin: 22px 0;
  font-size: 1.18rem; font-weight: 500; color: var(--purple-deep); max-width: 46ch; line-height: 1.5;
}

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

/* Side photo in page heroes: soft-cornered rectangle */
.hero-side-photo { margin: 0; }
.hero-side-photo img {
  width: 100%; border-radius: var(--radius);
  border: 6px solid #fff; box-shadow: var(--shadow-lift);
}
@media (max-width: 820px) {
  .hero-side-photo { max-width: 340px; }
}

/* ---------- Assessments hero: pencils background, white card ---------- */
.hero-assess {
  background: url("images/colorful-pens.jpg") center / cover no-repeat;
  padding: 88px 0;
}
.hero-assess::before, .hero-assess::after { display: none; }
@media (max-width: 820px) {
  .hero-assess { padding: 52px 0; }
}
