/* ==========================================================================
   Zera Healthcare — site stylesheet
   Tokens are taken from the logo (teal "Zera", purple "Healthcare Ltd",
   blue-to-magenta butterfly). Text colours are darkened shades so that body
   copy and buttons meet WCAG 2.2 AA contrast on white.
   ========================================================================== */

:root {
  /* Brand */
  --teal-50: #e9f8f9;
  --teal-100: #c9eef1;
  --teal-400: #2cc3cc;   /* logo teal: decoration only, never body text */
  --teal-700: #0b6b74;   /* 6.0:1 on white */
  --teal-800: #08545b;
  --purple-50: #f6f1fa;
  --purple-100: #ebe0f3;
  --purple-400: #a45bd0; /* logo purple: decoration only */
  --purple-600: #7d3f9e; /* 6.6:1 on white */
  --purple-700: #66307f;
  --purple-900: #2e1840;

  /* Neutrals */
  --ink: #1d2230;
  --text: #3a4050;
  --muted: #5b6273;      /* 6.0:1 on white */
  --line: #e3e1ea;
  --surface: #ffffff;
  --surface-soft: #faf8fc;

  /* Type */
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-sm: 0.875rem;
  --fs-base: 1.0625rem;
  --fs-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.3rem);
  --fs-h4: 1.2rem;
  --fs-h3: clamp(1.3rem, 1.2rem + 0.5vw, 1.55rem);
  --fs-h2: clamp(1.7rem, 1.4rem + 1.3vw, 2.4rem);
  --fs-h1: clamp(2.1rem, 1.6rem + 2.4vw, 3.4rem);

  /* Space, shape, depth */
  --sp-1: 0.25rem; --sp-2: 0.5rem; --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.5rem; --sp-6: 2rem; --sp-7: 3rem; --sp-8: 4.5rem; --sp-9: 6rem;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(29, 34, 48, .06), 0 1px 3px rgba(29, 34, 48, .08);
  --shadow: 0 6px 24px -8px rgba(46, 24, 64, .18);
  --content: 1180px;
  --content-narrow: 760px;
  --header-h: 60px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font: 400 var(--fs-base)/1.65 var(--font); color: var(--text); background: var(--surface); overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 var(--sp-4); font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: var(--fs-h1); letter-spacing: -0.02em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
p { margin: 0 0 var(--sp-4); }
ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.25rem; }
li { margin-bottom: var(--sp-2); }
a { color: var(--teal-700); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--purple-600); }
:focus-visible { outline: 3px solid var(--purple-600); outline-offset: 3px; border-radius: 4px; }
strong { color: var(--ink); }
address { font-style: normal; }

.skip-link { position: absolute; left: var(--sp-4); top: -100px; z-index: 100; background: var(--purple-700); color: #fff; padding: var(--sp-3) var(--sp-4); border-radius: var(--radius-sm); }
.skip-link:focus { top: var(--sp-4); color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(100% - 2.5rem, var(--content)); margin-inline: auto; }
.container--narrow { width: min(100% - 2.5rem, var(--content-narrow)); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .7rem 1.4rem; border-radius: 999px; border: 2px solid transparent; font: 600 1rem/1.2 var(--font); text-decoration: none; text-align: center; max-width: 100%; overflow-wrap: anywhere; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--purple-600); color: #fff; }
.btn--primary:hover { background: var(--purple-700); color: #fff; }
.btn--teal { background: var(--teal-700); color: #fff; }
.btn--teal:hover { background: var(--teal-800); color: #fff; }
.btn--ghost { background: transparent; color: var(--purple-700); border-color: currentColor; }
.btn--ghost:hover { background: var(--purple-50); color: var(--purple-700); }
.btn--light { background: #fff; color: var(--purple-700); }
.btn--light:hover { background: var(--purple-50); color: var(--purple-700); }
.btn--ghost-light, .section--brand a.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost-light:hover, .section--brand a.btn--ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

/* ---------- Header: row 1, brand bar (scrolls away) ---------- */
.masthead { background: #fff; border-bottom: 1px solid var(--line); }
.masthead__inner { display: flex; align-items: center; gap: var(--sp-6); min-height: 100px; }
.brand { display: block; flex: none; }
.brand img { width: 170px; height: auto; }
.masthead__tagline { display: flex; flex-direction: column; gap: 2px; margin: 0; padding-left: var(--sp-6); border-left: 1px solid var(--line); font-size: .92rem; line-height: 1.35; color: var(--muted); }
.masthead__tagline strong { color: var(--ink); font-weight: 600; }
.masthead__tagline span { display: inline-flex; align-items: center; gap: .35rem; }
.masthead__tagline svg { width: 14px; height: 14px; fill: var(--teal-700); flex: none; }
.masthead__actions { display: flex; align-items: center; gap: var(--sp-4); margin-left: auto; }

.call-chip { display: inline-flex; align-items: center; gap: .75rem; padding: .35rem 1.1rem .35rem .35rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.call-chip:hover, .call-chip:focus-visible { border-color: var(--purple-100); background: var(--purple-50); color: var(--ink); box-shadow: 0 10px 22px -16px rgba(102, 48, 127, .6); }
.call-chip__icon { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--teal-700), var(--purple-600)); color: #fff; }
.call-chip__icon svg { width: 20px; height: 20px; fill: currentColor; }
.call-chip__text { display: flex; flex-direction: column; line-height: 1.15; }
.call-chip__text small { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.call-chip__text strong { font-size: 1.1rem; color: var(--purple-700); }

/* ---------- Header: row 2, navigation bar (sticks to the top) ---------- */
.navbar { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); transition: box-shadow .3s ease; }
.navbar.is-stuck { box-shadow: 0 12px 30px -22px rgba(46, 24, 64, .55); }
.navbar__inner { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: var(--sp-3); min-height: var(--header-h); }

/* The compact butterfly mark and call button take reserved space and only appear once the
   brand bar has scrolled away, so nothing in the bar shifts. */
.navbar__brand, .navbar__call { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; opacity: 0; visibility: hidden; transform: scale(.6); transition: opacity .3s ease, transform .35s cubic-bezier(.3, 1.4, .5, 1), visibility .3s; }
.navbar__brand { grid-column: 1; }
.navbar__logo { display: none; }
.navbar__mark { width: 36px; height: 36px; }
.navbar__call { grid-column: 3; background: linear-gradient(135deg, var(--teal-700), var(--purple-600)); color: #fff; }
.navbar__call svg { width: 20px; height: 20px; fill: currentColor; }
.navbar.is-stuck .navbar__brand, .navbar.is-stuck .navbar__call { opacity: 1; visibility: visible; transform: none; }
.navbar__brand:hover .navbar__mark { animation: flutter .45s ease-in-out 2; }
.navbar__call:hover { color: #fff; filter: brightness(1.1); }

.nav { grid-column: 2; justify-self: center; position: relative; }
.nav__list { position: relative; z-index: 1; display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; margin: 0; }
.nav__item--cta { display: none; }
.nav__link-row { display: flex; align-items: center; }
.nav__link { display: block; padding: .75rem .75rem; color: var(--ink); font-size: .95rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: color .2s; }
.nav__item--has-sub .nav__link { padding-right: .15rem; }
.nav__link:hover, .nav__item:hover > .nav__link-row .nav__link, .nav__item:focus-within > .nav__link-row .nav__link { color: var(--purple-600); }
.nav__link[aria-current="page"], .nav__item.is-current > .nav__link-row .nav__link { color: var(--purple-600); }
.nav__sub-toggle { display: inline-grid; place-items: center; width: 26px; height: 36px; margin-right: .3rem; padding: 0; border: 0; border-radius: var(--radius-sm); background: none; color: var(--muted); cursor: pointer; }
.nav__sub-toggle svg { width: 12px; height: 12px; transition: transform .2s; }
.nav__sub-toggle[aria-expanded="true"] svg, .nav__item--has-sub:hover .nav__sub-toggle svg { transform: rotate(180deg); }

/* Gliding highlight: a soft pill that follows the pointer/focus and rests on the current page. */
.nav__glide { position: absolute; left: 0; top: 50%; z-index: 0; width: var(--glide-w, 0); height: 42px; margin-top: -21px; border-radius: 12px; background: none; opacity: var(--glide-o, 0); transform: translateX(var(--glide-x, 0)); pointer-events: none; transition: transform .35s cubic-bezier(.3, .9, .3, 1), width .35s cubic-bezier(.3, .9, .3, 1), opacity .25s ease; }
.nav__glide::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--teal-400), var(--purple-400)); }
html:not(.js) .nav__item.is-current > .nav__link-row .nav__link { box-shadow: inset 0 -2px 0 var(--teal-400); }

/* Dropdown panels */
.nav__panel { position: absolute; left: 50%; top: 100%; z-index: 5; padding-top: 8px; opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .2s ease, transform .25s ease, visibility .2s; }
.nav__item--has-sub:hover > .nav__panel,
.nav__item--has-sub:focus-within > .nav__panel,
.nav__item--has-sub.is-open > .nav__panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__item--has-sub.is-dismissed > .nav__panel { opacity: 0; visibility: hidden; transform: translate(-50%, 8px); }
.nav__submenu { display: grid; gap: 2px; width: 330px; margin: 0; padding: 8px; list-style: none; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 30px 60px -28px rgba(46, 24, 64, .45); }
.nav__item--wide .nav__submenu { width: 560px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nav__submenu li { margin: 0; }
.nav__sublink { display: flex; align-items: flex-start; gap: .8rem; padding: .7rem .75rem; border-radius: 12px; color: var(--ink); text-decoration: none; transition: background-color .2s; }
.nav__sublink:hover, .nav__sublink:focus-visible { background: var(--purple-50); color: var(--ink); }
.nav__subicon { display: inline-grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 11px; background: var(--teal-50); color: var(--teal-700); transition: background .2s, color .2s; }
.nav__subicon svg { width: 20px; height: 20px; }
.nav__sublink:hover .nav__subicon, .nav__sublink:focus-visible .nav__subicon { background: linear-gradient(135deg, var(--teal-700), var(--purple-600)); color: #fff; }
.nav__subtext { display: flex; flex-direction: column; gap: 1px; line-height: 1.3; }
.nav__subtext strong { font-size: .95rem; color: inherit; }
.nav__subtext small { font-size: .82rem; color: var(--muted); }
.nav__sublink[aria-current="page"] strong { color: var(--purple-600); }

.nav-toggle { display: none; align-items: center; gap: .5rem; min-height: 44px; padding: .5rem .95rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: 600 1rem var(--font); cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; position: relative; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Desktop: the navigation row sits on the brand purple. The highlight is just the
   gliding underline, with no background behind the active or hovered item. */
@media (min-width: 1181px) {
  .navbar { background: linear-gradient(100deg, var(--purple-700) 0%, #4a2462 55%, var(--purple-900) 100%); border-bottom: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .navbar.is-stuck { box-shadow: 0 14px 30px -18px rgba(46, 24, 64, .7); }
  .nav__link { color: #e7ddf1; }
  .nav__link:hover, .nav__item:hover > .nav__link-row .nav__link, .nav__item:focus-within > .nav__link-row .nav__link,
  .nav__link[aria-current="page"], .nav__item.is-current > .nav__link-row .nav__link { color: #fff; }
  .nav__sub-toggle { color: #cdbde0; }
  .nav__item:hover .nav__sub-toggle, .nav__sub-toggle:hover { color: #fff; }
  .nav__glide::after { left: 12px; right: 12px; bottom: 6px; height: 3px; background: linear-gradient(90deg, var(--teal-400), #e6b8ff); }
  .navbar :focus-visible { outline-color: var(--teal-400); }
  html:not(.js) .nav__item.is-current > .nav__link-row .nav__link { box-shadow: inset 0 -3px 0 var(--teal-400); }
  /* Compact items that appear once the bar sticks: white discs so they read on purple. */
  .navbar__brand { background: #fff; box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .5); }
  .navbar__mark { width: 30px; height: 30px; }
  .navbar__call { background: #fff; color: var(--purple-700); box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .5); }
  .navbar__call:hover { color: var(--purple-700); filter: none; background: var(--teal-50); }
}

@media (max-width: 1280px) and (min-width: 1181px) {
  .nav__link { padding-inline: .55rem; font-size: .92rem; }
  .nav__item--has-sub .nav__link { padding-right: .1rem; }
  .masthead__tagline { display: none; }
}

/* ---------- Header: tablet & phone (one sticky row + drawer) ---------- */
@media (max-width: 1180px) {
  :root { --header-h: 64px; }
  .masthead { display: none; }
  .navbar__inner { display: flex; justify-content: space-between; gap: var(--sp-3); }
  .navbar__brand { width: auto; height: auto; border-radius: 0; opacity: 1; visibility: visible; transform: none; }
  .navbar__logo { display: block; width: 116px; height: auto; }
  .navbar__mark { display: none; }
  .navbar__call { order: 2; margin-left: auto; opacity: 1; visibility: visible; transform: none; }
  .nav-toggle { display: inline-flex; order: 3; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; justify-self: stretch; width: 100%; display: none; max-height: calc(100vh - var(--header-h)); overflow-y: auto; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.is-open { display: block; }
  .nav__glide { display: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: var(--sp-2) 1.25rem var(--sp-5); }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link-row { justify-content: space-between; }
  .nav__link { flex: 1; padding: .9rem .25rem; font-size: 1.02rem; }
  .nav__sub-toggle { width: 44px; height: 44px; margin: 0; border: 1px solid var(--line); }
  .nav__item--has-sub:hover .nav__sub-toggle svg { transform: none; }
  .nav__sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .nav__panel { position: static; display: none; padding: 0 0 var(--sp-3); opacity: 1; visibility: visible; transform: none; transition: none; }
  .nav__item--has-sub:hover > .nav__panel, .nav__item--has-sub:focus-within > .nav__panel { display: none; transform: none; }
  .nav__item--has-sub.is-open > .nav__panel { display: block; transform: none; }
  .nav__submenu, .nav__item--wide .nav__submenu { width: auto; grid-template-columns: 1fr; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
  .nav__sublink { align-items: center; padding: .55rem .5rem; }
  .nav__subicon { width: 34px; height: 34px; }
  .nav__subtext small { display: none; }
  .nav__item--cta { display: block; border: 0; margin-top: var(--sp-4); }
  .nav__item--cta .btn { min-height: 50px; }
}
@media (max-width: 380px) { .nav-toggle { padding-inline: .7rem; } .navbar__logo { width: 100px; } }

/* Without JS the menu stays usable: show it as a plain list. */
html:not(.js) .nav-toggle { display: none; }
@media (max-width: 1180px) { html:not(.js) .nav { display: block; position: static; box-shadow: none; } html:not(.js) .nav__panel { display: block; } html:not(.js) .navbar { position: static; } html:not(.js) .navbar__inner { flex-wrap: wrap; } }

@media (prefers-reduced-motion: reduce) { .nav__glide, .navbar__brand, .navbar__call, .nav__panel { transition: none; } }

/* ---------- Hero ---------- */
.btn--lg { min-height: 54px; padding: .85rem 1.6rem; font-size: 1.05rem; }
.btn--block { width: 100%; }
.text-gradient { color: var(--purple-600); background: linear-gradient(100deg, var(--teal-700) 0%, var(--purple-600) 60%, #9a2f7e 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.hero { position: relative; overflow: hidden; padding-block: var(--sp-7); border-bottom: 1px solid var(--line);
  background:
    radial-gradient(700px 480px at 92% 8%, rgba(164, 91, 208, .16), transparent 70%),
    radial-gradient(640px 420px at 4% 70%, rgba(44, 195, 204, .14), transparent 70%),
    linear-gradient(180deg, #faf7fd 0, #f4f9fb 100%); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: var(--sp-7); align-items: center; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 var(--sp-5); padding: .35rem .9rem .35rem .45rem; border-radius: 999px; background: #fff; border: 1px solid var(--purple-100); color: var(--purple-700); font-size: var(--fs-sm); font-weight: 600; box-shadow: var(--shadow-sm); }
.hero__eyebrow img { width: 22px; height: 22px; }
.hero h1 { margin-bottom: var(--sp-4); font-size: clamp(2.3rem, 1.6rem + 3vw, 4rem); line-height: 1.05; }
.hero h1 .text-gradient { display: inline-block; padding-bottom: .06em; }
.hero__tagline { display: flex; flex-wrap: wrap; gap: .1rem .45rem; margin-bottom: var(--sp-5); color: var(--teal-700); font-size: var(--fs-lead); font-weight: 600; }
.hero__lead { max-width: 56ch; margin-bottom: var(--sp-6); font-size: var(--fs-lead); }

.hero__visual { position: relative; isolation: isolate; padding: 0 var(--sp-4) var(--sp-4) var(--sp-4); }
.hero__frame { position: relative; aspect-ratio: 1 / 1.02; border-radius: 220px 40px 220px 40px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(46, 24, 64, .45); }
.hero__frame::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .55); pointer-events: none; }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 16% 50%; transform: scale(1.04); transition: transform 1.2s ease; }
.hero__visual:hover .hero__frame img { transform: scale(1.08); }
.hero__visual::before { content: ""; position: absolute; right: -18px; top: -26px; width: 92px; height: 92px; background: url("../img/butterfly.svg") no-repeat center / contain; z-index: 2; }
.hero__visual::after { content: ""; position: absolute; inset: 24px -16px 40px 56px; z-index: -1; border-radius: 220px 40px 220px 40px; background: linear-gradient(135deg, var(--teal-400), var(--purple-400)); opacity: .35; transform: rotate(4deg); }


@media (prefers-reduced-motion: no-preference) {
  .hero__visual::before { animation: drift 7s ease-in-out infinite; }
}
@keyframes drift { 0%, 100% { transform: translate(0, 0) rotate(-6deg); } 50% { transform: translate(-10px, 8px) rotate(4deg); } }

/* Care finder: a short question with four pill buttons, then one quiet line of facts. */
.finder { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-5); margin-top: var(--sp-7); padding-top: var(--sp-6); border-top: 1px solid rgba(102, 48, 127, .12); }
.finder__title { margin: 0; font-size: 1.1rem; font-weight: 700; color: var(--ink); }
.finder__list { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.finder__list li { margin: 0; }
.finder__option { display: inline-flex; align-items: center; gap: .6rem; min-height: 50px; padding: .4rem 1.1rem .4rem .4rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; text-decoration: none; box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s, transform .2s; }
.finder__option:hover, .finder__option:focus-visible { border-color: var(--purple-100); color: var(--ink); transform: translateY(-2px); box-shadow: 0 12px 22px -14px rgba(102, 48, 127, .5); }
.finder__icon { display: inline-grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--teal-50); color: var(--teal-700); }
.finder__icon svg { width: 19px; height: 19px; }
/* The arrow slides out on hover: a small cue that the pill is a link. */
.finder__arrow { display: inline-grid; place-items: center; max-width: 0; margin-left: -.6rem; opacity: 0; overflow: hidden; color: var(--purple-600); transition: max-width .25s ease, margin .25s ease, opacity .2s ease; }
.finder__arrow svg { width: 16px; height: 16px; }
.finder__option:hover .finder__arrow, .finder__option:focus-visible .finder__arrow { max-width: 20px; margin-left: 0; opacity: 1; }
.finder__option--call { border-color: transparent; background: linear-gradient(135deg, var(--purple-600), var(--purple-700)); color: #fff; }
.finder__option--call:hover, .finder__option--call:focus-visible { color: #fff; border-color: transparent; }
.finder__option--call .finder__icon { background: rgba(255, 255, 255, .18); color: #fff; }
.finder__option--call .finder__arrow { color: #fff; }

.facts { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-6); margin: var(--sp-5) 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .92rem; }
.facts li { display: inline-flex; align-items: center; gap: .45rem; margin: 0; }
.facts svg { width: 18px; height: 18px; flex: none; color: var(--purple-600); }
@media (max-width: 1023px) {
  .hero { padding-block: var(--sp-5) var(--sp-6); }
  .hero__grid { grid-template-columns: 1fr; gap: var(--sp-6); }
  .hero__visual { order: -1; max-width: 560px; width: 100%; margin-inline: auto; padding: 0; }
  .hero__visual::after { inset: 16px -8px 60px 24px; }
  .hero__frame { aspect-ratio: 16 / 10; border-radius: 140px 28px 140px 28px; }
  .hero__frame img { object-position: 12% 40%; }
  .hero__visual::before { width: 64px; height: 64px; right: -6px; top: -20px; }
  .finder { margin-top: var(--sp-6); padding-top: var(--sp-5); }
}
@media (max-width: 560px) {
  .finder__list { display: grid; grid-template-columns: 1fr; gap: .5rem; width: 100%; }
  .finder__option { width: 100%; min-height: 48px; }
  /* Touch screens have no hover, so show the arrow and push it to the right edge. */
  .finder__arrow { max-width: 20px; margin-left: auto; opacity: 1; padding-right: .2rem; }
  .facts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
  .hero__frame { border-radius: 90px 20px 90px 20px; }
  .hero .btn-row .btn { flex: 1 1 100%; }
}

/* Page header (inner pages) */
.page-hero { position: relative; background: linear-gradient(135deg, var(--purple-50) 0%, var(--teal-50) 100%); padding-block: var(--sp-8) var(--sp-7); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -60px; top: -40px; width: 320px; height: 320px; background: url("../img/butterfly.svg") no-repeat center / contain; opacity: .12; transform: rotate(-12deg); pointer-events: none; }
.page-hero .container { position: relative; }
.page-hero h1 { margin-bottom: var(--sp-3); max-width: 22ch; }
.page-hero p { font-size: var(--fs-lead); max-width: 62ch; margin: 0; }
.breadcrumbs { font-size: var(--fs-sm); margin-bottom: var(--sp-4); color: var(--muted); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; }
.breadcrumbs li { margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding-block: var(--sp-8); }
.section--tight { padding-block: var(--sp-7); }
.section--soft { background: var(--surface-soft); }
.section--teal { background: var(--teal-50); }
.section--brand { background: linear-gradient(135deg, var(--purple-700), var(--purple-900)); color: #efe7f6; }
.section--brand h2, .section--brand h3 { color: #fff; }
.section--brand a:not(.btn) { color: #fff; }
.section-head { max-width: 720px; margin-bottom: var(--sp-6); }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow { display: block; margin-bottom: var(--sp-2); color: var(--teal-700); font-size: var(--fs-sm); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.section--brand .eyebrow { color: var(--teal-100); }
.heading-swoosh { position: relative; padding-bottom: .55em; }
.heading-swoosh::after { content: ""; position: absolute; left: 0; bottom: 0; width: 96px; height: 10px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 10'%3E%3Cpath d='M2 8C30 1 62 0 94 4' fill='none' stroke='%23a45bd0' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat; }
.section-head--center .heading-swoosh::after { left: 50%; transform: translateX(-50%); }
.lead { font-size: var(--fs-lead); }
.prose { max-width: 68ch; }
.prose h2 { margin-top: var(--sp-7); }
.prose h3 { margin-top: var(--sp-6); }
.prose > :first-child { margin-top: 0; }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-7); align-items: center; }
.split--top { align-items: start; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
.split__media--plain img { border-radius: 0; box-shadow: none; max-width: 520px; margin-inline: auto; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: var(--sp-6); } .split__media { order: -1; } .split--keep-order .split__media { order: 0; } }

.grid { display: grid; gap: var(--sp-5); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.grid--people { grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp-5); box-shadow: var(--shadow-sm); height: 100%; }
.card h3 { font-size: var(--fs-h4); margin-bottom: var(--sp-2); }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card--link { position: relative; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s, border-color .2s; }
.card--link:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--purple-100); }
.card--link a.card__link { text-decoration: none; color: var(--ink); }
.card--link a.card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card__more { margin-top: auto; padding-top: var(--sp-3); color: var(--purple-600); font-weight: 600; font-size: .95rem; }
.icon-badge { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: var(--sp-4); border-radius: 14px; background: var(--teal-50); color: var(--teal-700); }
.icon-badge svg { width: 26px; height: 26px; }
.icon-badge--purple { background: var(--purple-50); color: var(--purple-600); }


.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230b6b74' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 70%; }
.checklist--cols { columns: 2 260px; column-gap: var(--sp-6); }
.checklist--cols li { break-inside: avoid; }

.callout { border-left: 4px solid var(--teal-400); background: var(--teal-50); padding: var(--sp-4) var(--sp-5); border-radius: 0 var(--radius) var(--radius) 0; }
.callout p:last-child { margin: 0; }
.status-pill { display: inline-flex; align-items: center; gap: .35rem; padding: .2rem .7rem; border-radius: 999px; background: var(--purple-50); color: var(--purple-700); font-size: var(--fs-sm); font-weight: 600; vertical-align: middle; }
.status-pill::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--purple-400); }

/* Stat strip under home hero */

/* ---------- People ---------- */
.person { display: grid; grid-template-columns: 112px 1fr; gap: var(--sp-5); align-items: start; }
.person__photo { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; object-position: center 25%; background: var(--purple-50); border: 4px solid #fff; box-shadow: var(--shadow-sm); }
.person__initials { display: grid; place-items: center; width: 112px; height: 112px; border-radius: 50%; background: linear-gradient(135deg, var(--teal-700), var(--purple-600)); color: #fff; font-size: 2rem; font-weight: 700; border: 4px solid #fff; box-shadow: var(--shadow-sm); }
.person h3 { font-size: var(--fs-h4); margin-bottom: var(--sp-1); }
.person__role { color: var(--purple-600); font-weight: 600; font-size: .95rem; margin-bottom: var(--sp-1); }
.person__focus { color: var(--teal-700); font-size: var(--fs-sm); font-weight: 600; margin-bottom: var(--sp-3); }
.person p:last-child { margin-bottom: 0; }
@media (max-width: 480px) { .person { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.quote { position: relative; margin: 0; display: flex; flex-direction: column; }
.quote blockquote { margin: 0 0 var(--sp-4); font-size: 1.02rem; color: var(--ink); }
.quote blockquote::before { content: "\201C"; display: block; height: .5em; font: 700 3.4rem/1 Georgia, serif; color: var(--teal-400); }
.quote figcaption { margin-top: auto; font-size: .95rem; color: var(--muted); }
.quote figcaption strong { display: block; }
.quote__reply { margin-top: var(--sp-4); padding: var(--sp-4); border-radius: var(--radius-sm); background: var(--purple-50); font-size: .95rem; }
.quote__reply p { margin-bottom: var(--sp-2); }
.quote__reply p:last-child { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.masonry { columns: 3 320px; column-gap: var(--sp-5); }
.masonry > * { break-inside: avoid; margin-bottom: var(--sp-5); }

/* ---------- Gallery ---------- */
.gallery-section + .gallery-section { margin-top: var(--sp-8); }
.gallery-section__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--sp-2) var(--sp-4); margin-bottom: var(--sp-4); }
.gallery-section__head h2 { margin: 0; font-size: var(--fs-h3); }
.gallery { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: var(--sp-4); }
.gallery li { margin: 0; }
.gallery button { display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--purple-50); aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery button:hover img { transform: scale(1.04); }
.gallery--wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.gallery-empty { display: flex; gap: var(--sp-4); align-items: center; padding: var(--sp-5); border: 2px dashed var(--purple-100); border-radius: var(--radius); background: var(--surface-soft); color: var(--muted); }
.gallery-empty svg { width: 36px; height: 36px; flex: none; color: var(--purple-400); }
.gallery-empty p { margin: 0; }
.lightbox { width: min(96vw, 1200px); max-height: 92vh; padding: 0; border: 0; border-radius: var(--radius); background: #111; color: #fff; }
.lightbox::backdrop { background: rgba(10, 8, 16, .85); }
.lightbox img { width: 100%; max-height: 80vh; object-fit: contain; }
.lightbox figcaption { padding: var(--sp-3) var(--sp-4); font-size: .95rem; }
.lightbox__close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }

/* ---------- Downloads ---------- */
.downloads { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.downloads li { margin: 0; }
.downloads a { display: flex; align-items: center; gap: var(--sp-3); height: 100%; padding: var(--sp-4); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; }
.downloads a:hover { border-color: var(--purple-100); background: var(--purple-50); color: var(--purple-700); }
.downloads svg { width: 28px; height: 28px; flex: none; color: var(--purple-600); }
.downloads small { display: block; font-weight: 400; color: var(--muted); }

/* ---------- Contact & forms ---------- */
.contact-list { list-style: none; padding: 0; margin: 0 0 var(--sp-5); }
.contact-list li { display: flex; gap: var(--sp-3); margin-bottom: var(--sp-4); }
.contact-list svg { width: 22px; height: 22px; flex: none; margin-top: 2px; color: var(--teal-700); }
.contact-list strong { display: block; }
.map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--teal-50); }
.map iframe { display: block; width: 100%; height: 420px; border: 0; }

.form { display: grid; gap: var(--sp-4); }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: var(--sp-4); }
.field label { display: block; margin-bottom: .35rem; font-weight: 600; color: var(--ink); font-size: .95rem; }
.field .req { color: var(--purple-600); }
.field input, .field textarea { width: 100%; min-height: 48px; padding: .7rem .9rem; border: 1px solid #b9b6c6; border-radius: var(--radius-sm); background: #fff; font: inherit; color: var(--ink); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--purple-100); outline-offset: 0; border-color: var(--purple-600); }
.field__hint { margin-top: .3rem; font-size: var(--fs-sm); color: var(--muted); }
.form__note { font-size: var(--fs-sm); color: var(--muted); margin: 0; }
.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2.25rem); box-shadow: var(--shadow); color: var(--text); }
.form-card h2, .form-card h3 { color: var(--ink); }

/* ---------- Values explorer (home) ---------- */
.vm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-6); }
.vm__item { position: relative; padding: var(--sp-5) var(--sp-5) var(--sp-5) var(--sp-6); border-radius: var(--radius-lg); background: var(--surface-soft); }
.vm__item::before { content: ""; position: absolute; left: 0; top: var(--sp-5); bottom: var(--sp-5); width: 4px; border-radius: 4px; background: linear-gradient(180deg, var(--teal-400), var(--purple-400)); }
.vm__item h2 { font-size: var(--fs-h3); margin-bottom: var(--sp-3); }
.vm__item .lead { margin: 0; }
@media (max-width: 760px) { .vm { grid-template-columns: 1fr; gap: var(--sp-4); } }

/* Values: full-width brand background, five cards in a balanced 3 + 2 grid. */
.values { position: relative; overflow: hidden; isolation: isolate; color: #eadff3; background: linear-gradient(150deg, var(--purple-700) 0%, var(--purple-900) 80%); }
.values::before { content: ""; position: absolute; z-index: -1; right: -140px; top: -120px; width: 560px; height: 560px; background: url("../img/butterfly.svg") no-repeat center / contain; opacity: .07; transform: rotate(-12deg); }
.values::after { content: ""; position: absolute; z-index: -1; left: -220px; bottom: -280px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(44, 195, 204, .2), transparent 65%); }
.values .eyebrow { color: var(--teal-100); }
.values h2 { color: #fff; }
.values__head { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--sp-3) var(--sp-7); align-items: start; margin-bottom: var(--sp-7); }
.values__head h2 { margin: 0; }
.values__head p { color: #eadff3; }
.values__head p:last-child { margin-bottom: 0; }

.values__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--sp-5); }
.value-card { grid-column: span 2; position: relative; display: flex; flex-direction: column; margin: 0; padding: var(--sp-6) var(--sp-5) var(--sp-5); border-radius: 20px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); color: #eadff3; overflow: hidden; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: transform .25s ease, background-color .25s ease, border-color .25s ease; }
.value-card:nth-child(n+4) { grid-column: span 3; }
.value-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--teal-400), var(--purple-400), #c2409a); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.value-card:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); }
.value-card:hover::before { transform: scaleX(1); }
.value-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-4); }
.value-card__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(255, 255, 255, .12); color: var(--teal-100); }
.value-card__icon svg { width: 26px; height: 26px; }
.value-card__num { font-size: 2.4rem; font-weight: 800; line-height: 1; letter-spacing: -.02em; color: rgba(255, 255, 255, .16); }
.value-card h3 { margin-bottom: var(--sp-2); font-size: var(--fs-h3); color: #fff; }
.value-card .value-card__strap { margin-bottom: var(--sp-4); color: var(--teal-100); font-weight: 600; font-size: 1.05rem; line-height: 1.45; }
.value-card p { font-size: .97rem; color: #eadff3; }
.value-card p:last-child { margin-bottom: 0; }

.values__promise { display: flex; gap: var(--sp-5); align-items: flex-start; margin-top: var(--sp-6); padding: var(--sp-5) var(--sp-6); border-radius: 20px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); }
.values__promise img { flex: none; width: 48px; height: 48px; }
.values__promise h3 { margin-bottom: var(--sp-2); color: #fff; }
.values__promise p { color: #eadff3; }
.values__promise p:last-child { margin-bottom: 0; }
.values__words span { font-weight: 700; color: #fff; }

@media (prefers-reduced-motion: reduce) { .value-card:hover { transform: none; } }
@media (max-width: 1023px) {
  .values__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value-card, .value-card:nth-child(n+4) { grid-column: span 1; }
  .value-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) { .values__head { grid-template-columns: 1fr; margin-bottom: var(--sp-6); } }
@media (max-width: 640px) {
  .values__grid { grid-template-columns: 1fr; gap: var(--sp-4); }
  .value-card { padding: var(--sp-5) var(--sp-4) var(--sp-4); }
  .values__promise { flex-direction: column; gap: var(--sp-3); padding: var(--sp-5) var(--sp-4); }
}

/* ---------- Enquiry band ---------- */
.enquiry { position: relative; overflow: hidden; isolation: isolate; padding-block: var(--sp-8); color: #eadff3; background: linear-gradient(150deg, #5a2a73 0%, var(--purple-900) 75%); }
.enquiry::before { content: ""; position: absolute; z-index: -1; right: -120px; top: -100px; width: 520px; height: 520px; background: url("../img/butterfly.svg") no-repeat center / contain; opacity: .07; transform: rotate(-14deg); }
.enquiry::after { content: ""; position: absolute; z-index: -1; left: -200px; bottom: -260px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(44, 195, 204, .22), transparent 65%); }
.enquiry__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: var(--sp-7); align-items: start; }
.enquiry .eyebrow { color: var(--teal-100); }
.enquiry h2 { color: #fff; max-width: 18ch; }
.enquiry .lead { color: #eadff3; max-width: 46ch; margin-bottom: var(--sp-6); }

.reach { list-style: none; margin: 0 0 var(--sp-6); padding: 0; display: grid; gap: var(--sp-3); max-width: 460px; }
.reach li { margin: 0; }
.reach__card { display: flex; align-items: center; gap: var(--sp-4); padding: .85rem 1.1rem; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .07); color: #fff; text-decoration: none; transition: background-color .2s, transform .2s, border-color .2s; }
.reach__card:hover, .reach__card:focus-visible { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); transform: translateX(4px); color: #fff; }
.reach__icon { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .12); color: var(--teal-100); }
.reach__icon svg { width: 22px; height: 22px; }
.reach__text { display: flex; flex-direction: column; min-width: 0; }
.reach__label { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #d8c8e6; }
.reach__value { font-size: 1.1rem; font-weight: 700; overflow-wrap: anywhere; }
.reach__value--email { overflow-wrap: normal; }
@media (max-width: 420px) { .reach__value--email { font-size: 1rem; } }
.reach__card--primary { background: #fff; border-color: #fff; color: var(--ink); }
.reach__card--primary:hover, .reach__card--primary:focus-visible { background: #fff; color: var(--ink); box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .6); }
.reach__card--primary .reach__icon { background: linear-gradient(135deg, var(--teal-700), var(--purple-600)); color: #fff; }
.reach__card--primary .reach__label { color: var(--muted); }
.reach__card--primary .reach__value { font-size: 1.4rem; color: var(--purple-700); }
.enquiry :focus-visible { outline-color: var(--teal-400); }

.next-steps h3 { margin-bottom: var(--sp-3); color: #fff; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; }
.next-steps ol { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.next-steps li { position: relative; display: flex; flex-direction: column; margin: 0; padding: 0 0 var(--sp-4) 3rem; counter-increment: step; }
.next-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: linear-gradient(135deg, var(--teal-400), var(--purple-400)); color: #fff; font-weight: 700; font-size: .9rem; }
.next-steps li:not(:last-child)::after { content: ""; position: absolute; left: calc(1rem - 1px); top: 2.25rem; bottom: .3rem; width: 2px; background: rgba(255, 255, 255, .2); }
.next-steps strong { color: #fff; }
.next-steps li > span { color: #d8c8e6; font-size: .95rem; }

.enquiry .form-card { position: relative; overflow: hidden; border-radius: 24px; padding: clamp(1.25rem, 3vw, 2.25rem); box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .55); }
.enquiry .form-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(90deg, var(--teal-400), var(--purple-400), #c2409a); }
.form-card__title { margin-bottom: var(--sp-1); font-size: var(--fs-h3); }
.form-card__sub { margin-bottom: var(--sp-5); color: var(--muted); font-size: var(--fs-sm); }
.form-card .req { color: var(--purple-600); }
.field__optional { font-weight: 400; color: var(--muted); }
.field textarea::placeholder { color: #666c7e; }
.field__error { margin: .35rem 0 0; color: #b42318; font-size: var(--fs-sm); font-weight: 600; }
.field__error:empty { display: none; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b42318; background: #fff8f7; }
.field input.is-valid { border-color: var(--teal-700); }

.choice { margin: 0; padding: 0; border: 0; }
.choice legend { margin-bottom: .5rem; padding: 0; font-weight: 600; color: var(--ink); font-size: .95rem; }
.choice__options { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice label { position: relative; margin: 0; }
.choice input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.choice label span { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1rem; border: 1px solid #b9b6c6; border-radius: 999px; background: #fff; color: var(--ink); font-size: .95rem; font-weight: 600; transition: background-color .2s, border-color .2s, color .2s; }
.choice label:hover span { border-color: var(--purple-600); }
.choice input:checked + span { background: var(--purple-600); border-color: var(--purple-600); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--purple-600); outline-offset: 3px; }
.btn--block svg { width: 18px; height: 18px; }

@media (max-width: 960px) {
  .enquiry__grid { grid-template-columns: 1fr; gap: var(--sp-6); }
  .reach { max-width: none; }
}

/* ---------- Footer: trust strip ---------- */
.trust { background: #fff; padding-block: var(--sp-7) var(--sp-6); border-top: 1px solid var(--line); }
.trust__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--sp-2) var(--sp-5); margin-bottom: var(--sp-5); }
.trust__title { margin: 0; font-size: var(--fs-h4); color: var(--ink); }
.trust__hint { margin: 0; font-size: var(--fs-sm); color: var(--muted); }
.trust__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--sp-4); }
.trust__list li { margin: 0; display: flex; }
.trust-tile { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-3); width: 100%; padding: var(--sp-4) var(--sp-4) var(--sp-5); border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--ink); font: inherit; text-align: left; text-decoration: none; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.trust-tile::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: linear-gradient(90deg, var(--teal-400), var(--purple-400), #c2409a); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.trust-tile__logo { display: flex; align-items: center; height: 96px; }
.trust-tile__logo img { max-height: 96px; width: auto; filter: drop-shadow(0 4px 8px rgba(29, 34, 48, .12)); transition: transform .3s ease; }
.trust-tile__logo img[src*="cqc"] { max-height: 64px; filter: none; border-radius: 4px; }
.trust-tile--action:hover .trust-tile__logo img { transform: scale(1.06) rotate(-2deg); }
.trust-tile__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--teal-50); color: var(--teal-700); }
.trust-tile__icon--purple { background: var(--purple-50); color: var(--purple-600); }
.trust-tile__icon svg { width: 28px; height: 28px; }
.trust-tile__text { display: flex; flex-direction: column; gap: 2px; line-height: 1.3; }
.trust-tile__text strong { font-size: 1rem; color: var(--ink); }
.trust-tile__text > span { font-size: .9rem; color: var(--muted); }
.trust-tile__cue { display: inline-flex; align-items: center; gap: .35rem; font-size: .85rem; font-weight: 600; color: var(--purple-600); }
.trust-tile__cue::after { content: "\2192"; transition: transform .25s ease; }
.trust-tile--action { cursor: pointer; }
.trust-tile--action:hover, .trust-tile--action:focus-visible { transform: translateY(-3px); border-color: var(--purple-100); box-shadow: 0 14px 30px -16px rgba(102, 48, 127, .45); color: var(--ink); }
.trust-tile--action:hover::after, .trust-tile--action:focus-visible::after { transform: scaleX(1); }
.trust-tile--action:hover .trust-tile__cue::after, .trust-tile--action:focus-visible .trust-tile__cue::after { transform: translateX(4px); }
@media (hover: hover) {
  .trust-tile__cue { opacity: 0; transform: translateY(4px); transition: opacity .25s ease, transform .25s ease; }
  .trust-tile--action:hover .trust-tile__cue, .trust-tile--action:focus-visible .trust-tile__cue { opacity: 1; transform: none; }
}
@media (max-width: 1023px) { .trust__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); }
  .trust__list li:first-child { grid-column: 1 / -1; }
  .trust__list li:first-child .trust-tile { flex-direction: row; align-items: center; }
  .trust-tile { padding: var(--sp-3) var(--sp-3) var(--sp-4); }
  .trust-tile__logo { height: 76px; }
  .trust-tile__logo img { max-height: 76px; }
  .trust-tile__logo img[src*="cqc"] { max-height: 52px; }
}

/* ---------- Footer: main ---------- */
.site-footer { font-size: .97rem; }
.footer-dark { --mx: 85%; --my: 10%; position: relative; isolation: isolate; overflow: hidden; background: #1b1325; color: #cdc5d8; }
.footer-dark::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(520px circle at var(--mx) var(--my), rgba(164, 91, 208, .24), transparent 65%),
    radial-gradient(640px circle at 0% 110%, rgba(44, 195, 204, .14), transparent 60%); }
.footer-dark__wave { display: block; width: 100%; height: clamp(28px, 4vw, 60px); margin-top: -1px; }
.footer-dark a { color: #fff; text-decoration: none; }
.footer-dark :focus-visible { outline-color: var(--teal-400); }

.footer-main { display: grid; grid-template-columns: 1.35fr .9fr .9fr 1.25fr; gap: var(--sp-7) var(--sp-6); padding-block: var(--sp-7) var(--sp-7); }
.footer-main h2 { margin-bottom: var(--sp-4); color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.footer-main h2::after { content: ""; display: block; width: 28px; height: 3px; margin-top: .6rem; border-radius: 3px; background: linear-gradient(90deg, var(--teal-400), var(--purple-400)); }

.footer-brand__logo { display: inline-block; padding: 10px 14px; margin-bottom: var(--sp-4); border-radius: 14px; background: #fff; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .5); transition: transform .25s ease; }
.footer-brand__logo:hover { transform: rotate(-2deg) scale(1.03); }
.footer-brand__logo img { width: 150px; }
.footer-brand p { max-width: 34ch; }
.footer-brand__values { font-size: var(--fs-sm); color: #a99fb8; letter-spacing: .02em; }
.footer-social { display: inline-flex; align-items: center; gap: .6rem; padding: .45rem .9rem .45rem .5rem; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; font-size: .92rem; transition: background-color .2s, border-color .2s; }
.footer-social svg { width: 26px; height: 26px; fill: currentColor; }
.footer-social:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .35); }

.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { display: inline-block; padding: .15rem 0; background: linear-gradient(90deg, var(--teal-400), var(--purple-400)) no-repeat 0 100% / 0 2px; transition: background-size .3s ease, color .2s; }
.footer-links a:hover, .footer-links a:focus-visible { background-size: 100% 2px; color: #fff; }

.footer-contact svg { width: 18px; height: 18px; flex: none; color: var(--teal-400); fill: currentColor; }
.footer-contact__phone { display: flex; align-items: center; gap: .8rem; margin-bottom: var(--sp-4); padding: .7rem 1rem; border-radius: 14px; background: linear-gradient(135deg, rgba(44, 195, 204, .16), rgba(164, 91, 208, .2)); border: 1px solid rgba(255, 255, 255, .12); transition: transform .2s, border-color .2s; }
.footer-contact__phone:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, .3); }
.footer-contact__phone svg { width: 22px; height: 22px; }
.footer-contact__phone span { display: flex; flex-direction: column; font-size: 1.45rem; font-weight: 700; line-height: 1.15; letter-spacing: .01em; color: #fff; }
.footer-contact__phone small { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-100); }
.footer-contact__line { display: inline-flex; align-items: center; gap: .6rem; padding-block: .3rem; overflow-wrap: anywhere; }
.footer-contact__line:hover span { text-decoration: underline; text-underline-offset: 3px; }
.footer-contact__email { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .6rem; }
.copy-btn { min-height: 32px; padding: .2rem .7rem; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; background: transparent; color: #e8e1f1; font: 600 .78rem var(--font); letter-spacing: .04em; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.copy-btn:hover { background: rgba(255, 255, 255, .1); }
.copy-btn.is-copied { border-color: var(--teal-400); color: var(--teal-100); }
html:not(.js) .copy-btn { display: none; }
.footer-contact__address { display: flex; gap: .6rem; margin: var(--sp-3) 0 var(--sp-2); line-height: 1.5; }
.footer-contact__address svg { margin-top: .2rem; }
.footer-contact__directions { display: inline-flex; align-items: center; gap: .4rem; margin-left: calc(18px + .6rem); font-weight: 600; font-size: .92rem; color: var(--teal-100) !important; }
.footer-contact__directions svg { width: 16px; height: 16px; color: currentColor; fill: none; transition: transform .2s; }
.footer-contact__directions:hover svg { transform: translateX(4px); }

.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-6); padding-block: var(--sp-5); border-top: 1px solid rgba(255, 255, 255, .1); font-size: var(--fs-sm); color: #a99fb8; }
.footer-bottom p { margin: 0; }
.footer-bottom a:not(.to-top):hover { text-decoration: underline; }
.to-top { display: inline-flex; align-items: center; gap: .5rem; margin-left: auto; padding: .35rem .9rem .35rem .45rem; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); color: #fff; font-weight: 600; transition: background-color .2s; }
.to-top img { width: 28px; height: 28px; transform-origin: 50% 50%; }
.to-top:hover { background: rgba(255, 255, 255, .12); }
@media (prefers-reduced-motion: no-preference) {
  .to-top:hover img, .to-top:focus-visible img { animation: flutter .5s ease-in-out infinite; }
}
@keyframes flutter { 0%, 100% { transform: translateY(0) scaleX(1); } 50% { transform: translateY(-3px) scaleX(.6); } }

.copy-toast { position: fixed; left: 50%; bottom: 24px; z-index: 60; margin: 0; padding: .65rem 1.1rem; border-radius: 999px; background: var(--ink); color: #fff; font-size: .92rem; font-weight: 600; box-shadow: var(--shadow); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.copy-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1023px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand, .footer-contact { grid-column: span 1; }
}
@media (max-width: 640px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: var(--sp-6) var(--sp-4); }
  .footer-brand, .footer-contact { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .to-top { margin-left: 0; }
}

/* Badge view in the lightbox: show the certificate at a legible, un-stretched size. */
.lightbox--badge { width: min(92vw, 420px); background: #fff; color: var(--ink); }
.lightbox--badge img { width: auto; max-width: 100%; height: min(70vh, 520px); margin: var(--sp-5) auto 0; }
.lightbox--badge figcaption { text-align: center; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-5 { margin-top: var(--sp-5); } .mt-6 { margin-top: var(--sp-6); } .mt-7 { margin-top: var(--sp-7); }
.text-center { text-align: center; }
.muted { color: var(--muted); }
.anchor-section { scroll-margin-top: calc(var(--header-h) + 16px); }
.toc { display: flex; flex-wrap: wrap; gap: var(--sp-2); list-style: none; padding: 0; margin: var(--sp-5) 0 0; }
.toc li { margin: 0; }
.toc a { display: inline-block; padding: .45rem .9rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 600; }
.toc a:hover { border-color: var(--purple-100); color: var(--purple-700); }
.gov-block { padding-block: var(--sp-7); border-top: 1px solid var(--line); }
.gov-block:first-child { border-top: 0; padding-top: 0; }
.gov-block .split { align-items: start; }

/* ==========================================================================
   Motion
   Everything here is opacity/transform only (no layout shift), under 0.5s,
   plays once, and is skipped entirely for prefers-reduced-motion.
   Scroll reveals are opt-in from JS (data-reveal), so content is never
   hidden if JavaScript fails.
   ========================================================================== */
.card__more { display: inline-flex; align-items: center; gap: .3rem; }
.card__more, .btn svg { transition: transform .25s ease; }

/* Spinner for the sending state (shown in all motion modes, it is a status cue). */
.btn.is-busy { pointer-events: none; opacity: .85; }
.btn.is-busy::before { content: ""; width: 1em; height: 1em; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.btn.is-busy svg { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: no-preference) {
  /* 1. Entrances on load */
  .hero__content > *, .page-hero .container > * { animation: rise .55s cubic-bezier(.2, .7, .2, 1) both; }
  .hero__content > :nth-child(2), .page-hero .container > :nth-child(2) { animation-delay: .08s; }
  .hero__content > :nth-child(3), .page-hero .container > :nth-child(3) { animation-delay: .16s; }
  .hero__content > :nth-child(4) { animation-delay: .24s; }
  .hero__content > :nth-child(5) { animation-delay: .32s; }
  .hero__frame { animation: settle .7s cubic-bezier(.2, .7, .2, 1) .1s both; }
  .hero__visual::after { animation: fade-in .8s ease .3s both; }
  .finder { animation: rise .55s cubic-bezier(.2, .7, .2, 1) .35s both; }

  /* 2. Scroll reveals (JS adds data-reveal only to elements below the fold) */
  [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--reveal-delay, 0s); }
  [data-reveal].is-in { opacity: 1; transform: none; }

  /* 3. Small reactions */
  .card--link:hover .card__more, .card--link:focus-within .card__more { transform: translateX(4px); }
  .btn:hover svg, .btn:focus-visible svg { transform: translateX(3px); }
  .btn[href^="tel:"]:hover svg { transform: rotate(-12deg); }
  .choice input:checked + span { animation: pop .3s cubic-bezier(.3, 1.6, .5, 1); }
  .field input.is-valid { transition: border-color .3s ease; }

  /* 4. Footer butterfly gives one flap when the footer comes into view */
  .footer-dark.is-in .to-top img { animation: flutter .45s ease-in-out 2; }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: scale(.96) translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: .35; } }
@keyframes pop { 0% { transform: scale(1); } 45% { transform: scale(1.07); } 100% { transform: scale(1); } }

@media print {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .navbar, .enquiry, .site-footer .footer-main, .lightbox { display: none !important; }
  .page-hero { background: none; padding: 0 0 1rem; }
  a { color: inherit; }
}


/* ==========================================================================
   WordPress + Blocksy integration (appended by build/wp-theme.js)
   Maps the design system onto Blocksy and core WordPress blocks.
   Everything here only applies when the redesign is active (body.zera-ui).
   ========================================================================== */

/* ---- Blocksy variables: put the whole theme on the Zera type and colours ---- */
body.zera-ui {
  --theme-font-family: var(--font);
  --theme-text-color: var(--text);
  --theme-headings-color: var(--ink);
  --theme-heading-color: var(--ink);
  --theme-link-initial-color: var(--teal-700);
  --theme-link-hover-color: var(--purple-600);
  --theme-border-color: var(--line);
  --theme-content-spacing: 1rem;
  --theme-button-background-initial-color: var(--purple-600);
  --theme-button-background-hover-color: var(--purple-700);
  --theme-button-text-initial-color: #fff;
  --theme-button-text-hover-color: #fff;
  font-family: var(--font);
  color: var(--text);
  background: #fff;
}
body.zera-ui :is(h1, h2, h3, h4, h5, h6) { --theme-font-family: var(--font); --theme-font-weight: 700; --theme-heading-color: var(--ink); font-family: var(--font); }
body.zera-ui h1 { --theme-font-size: var(--fs-h1); --theme-line-height: 1.15; }
body.zera-ui h2 { --theme-font-size: var(--fs-h2); --theme-line-height: 1.2; }
body.zera-ui h3 { --theme-font-size: var(--fs-h3); --theme-line-height: 1.25; }
body.zera-ui h4 { --theme-font-size: var(--fs-h4); --theme-line-height: 1.3; }
body.zera-ui .screen-reader-text:focus { z-index: 100000; }

/* Keep the sticky menu bar below the WordPress admin bar for logged-in users. */
body.zera-ui.admin-bar .navbar { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) { body.zera-ui.admin-bar .navbar { top: 0; } }
body.zera-ui.admin-bar { scroll-padding-top: calc(var(--header-h) + 48px); }

/* Blocksy's own skip link points at #main; make sure it sits above the sticky bar. */
body.zera-ui .skip-link { z-index: 100000; }

/* Preview badge for editors before launch */
.zera-preview-badge { position: fixed; left: 16px; bottom: 16px; z-index: 9999; max-width: calc(100% - 32px); padding: .6rem .9rem; border-radius: 12px; background: var(--ink); color: #fff; font: 500 .85rem/1.4 var(--font); box-shadow: var(--shadow); }
.zera-preview-badge a { color: var(--teal-100); }
.zera-preview-badge strong { color: #fff; }

/* ---- Page content area: full-width sections stacked edge to edge ---- */
body.zera-ui .site-main { padding: 0; }
body.zera-ui .site-main > .ct-container-full,
body.zera-ui .site-main > [class*="ct-container"] { padding-block: 0; }
body.zera-ui .entry-content > .alignfull,
body.zera-ui .entry-content > .section { margin-block: 0; max-width: none; }
body.zera-ui .entry-content > * + * { margin-block-start: 0; }
/* Cancel WordPress's automatic block gap inside our layout groups, but with minimal
   specificity (0,0,1) so every design rule (mt-5, gallery-section + gallery-section…) still wins. */
body :where(.zera-ui .entry-content .is-layout-flow, .zera-ui .entry-content .wp-block-group) > * { margin-block-start: 0; }
body.zera-ui .entry-content p:empty { display: none; }

/* Groups used as layout wrappers should not add their own gaps. */
body.zera-ui .wp-block-group.container,
body.zera-ui .wp-block-group.grid,
body.zera-ui .wp-block-group.split { margin-block: 0; }
body.zera-ui .wp-block-group.card { margin: 0; }
body.zera-ui .wp-block-columns.split { flex-wrap: nowrap; }

/* ---- Core blocks mapped onto the design ---- */

/* Buttons: add a class on the Button block (Advanced > Additional CSS class) */
body.zera-ui .wp-block-buttons { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin: 0; }
body.zera-ui .wp-block-button { margin: 0; }
body.zera-ui .wp-block-button .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .7rem 1.4rem; border-radius: 999px; border: 2px solid transparent; font: 600 1rem/1.2 var(--font); text-decoration: none; background: var(--purple-600); color: #fff; transition: background-color .2s, color .2s, transform .2s; }
body.zera-ui .wp-block-button .wp-block-button__link:hover { background: var(--purple-700); color: #fff; transform: translateY(-1px); }
body.zera-ui .wp-block-button.is-style-teal .wp-block-button__link,
body.zera-ui .wp-block-button.btn-teal .wp-block-button__link { background: var(--teal-700); }
body.zera-ui .wp-block-button.btn-teal .wp-block-button__link:hover { background: var(--teal-800); }
body.zera-ui .wp-block-button.is-style-outline .wp-block-button__link,
body.zera-ui .wp-block-button.btn-ghost .wp-block-button__link { background: transparent; color: var(--purple-700); border-color: currentColor; }
body.zera-ui .wp-block-button.btn-ghost .wp-block-button__link:hover { background: var(--purple-50); color: var(--purple-700); }
body.zera-ui .wp-block-button.btn-light .wp-block-button__link { background: #fff; color: var(--purple-700); }
body.zera-ui .wp-block-button.btn-ghost-light .wp-block-button__link { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
body.zera-ui .wp-block-button.btn-lg .wp-block-button__link { min-height: 54px; padding: .85rem 1.6rem; font-size: 1.05rem; }
body.zera-ui .wp-block-buttons.is-content-justification-center { justify-content: center; }
/* Spacing helpers must beat the buttons reset above (paragraphs and groups too). */
body.zera-ui .entry-content .mt-5 { margin-top: var(--sp-5); }
body.zera-ui .entry-content .mt-6 { margin-top: var(--sp-6); }
body.zera-ui .entry-content .mt-7 { margin-top: var(--sp-7); }

/* Cards that use an H2 for document structure (About, Leadership) should still read at card size. */
body.zera-ui .card > h2.wp-block-heading { --theme-font-size: var(--fs-h3); font-size: var(--fs-h3); line-height: 1.25; margin-bottom: var(--sp-3); }

/* Lists */
body.zera-ui .wp-block-list { margin: 0 0 var(--sp-4); }
body.zera-ui ul.checklist { padding-left: 0; }

/* Images */
body.zera-ui .wp-block-image { margin: 0; }
body.zera-ui .wp-block-image img { height: auto; }
body.zera-ui .split__media .wp-block-image img,
body.zera-ui .wp-block-image.is-rounded-photo img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
body.zera-ui .wp-block-image.is-plain img { border-radius: 0; box-shadow: none; }

/* Hero (home): the photo frame is an Image block with class hero__frame */
body.zera-ui .hero .wp-block-image.hero__frame { margin: 0; }
body.zera-ui .hero .wp-block-image.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 16% 50%; }

/* Card icons: add "card-icon icon-<name>" (teal) or "card-icon card-icon--purple icon-<name>" to a heading or paragraph */
body.zera-ui .card-icon { position: relative; padding-top: calc(52px + var(--sp-4)); }
body.zera-ui .card-icon::before { content: ""; position: absolute; left: 0; top: 0; width: 52px; height: 52px; border-radius: 14px; background: var(--teal-50); }
body.zera-ui .card-icon::after { content: ""; position: absolute; left: 13px; top: 13px; width: 26px; height: 26px; background: var(--teal-700); -webkit-mask: var(--zi) no-repeat center / contain; mask: var(--zi) no-repeat center / contain; }
body.zera-ui .card-icon--purple::before { background: var(--purple-50); }
body.zera-ui .card-icon--purple::after { background: var(--purple-600); }
body.zera-ui .value-card .card-icon::before { background: rgba(255, 255, 255, .12); }
body.zera-ui .value-card .card-icon::after { background: var(--teal-100); }

/* Inline icon before text: add "has-icon icon-<name>" (finder pills, facts, contact list) */
body.zera-ui .has-icon::before { content: ""; display: inline-block; flex: none; width: 1.1em; height: 1.1em; margin-right: .5em; vertical-align: -.15em; background: currentColor; -webkit-mask: var(--zi) no-repeat center / contain; mask: var(--zi) no-repeat center / contain; }

/* Finder pills as Button blocks with class "finder-pill icon-<name>" */
body.zera-ui .finder .wp-block-buttons { gap: .6rem; }
body.zera-ui .finder-pill .wp-block-button__link { gap: .6rem; min-height: 50px; padding: .4rem 1.1rem .4rem .4rem; border: 1px solid var(--line); background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
body.zera-ui .finder-pill .wp-block-button__link::before { content: ""; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--teal-50) ; }
body.zera-ui .finder-pill .wp-block-button__link::after { content: ""; position: absolute; left: calc(.4rem + 9.5px); width: 19px; height: 19px; background: var(--teal-700); -webkit-mask: var(--zi) no-repeat center / contain; mask: var(--zi) no-repeat center / contain; }
body.zera-ui .finder-pill .wp-block-button__link { position: relative; }
body.zera-ui .finder-pill .wp-block-button__link:hover { background: #fff; color: var(--ink); border-color: var(--purple-100); transform: translateY(-2px); box-shadow: 0 12px 22px -14px rgba(102, 48, 127, .5); }
body.zera-ui .finder-pill.finder-pill--call .wp-block-button__link { border-color: transparent; background: linear-gradient(135deg, var(--purple-600), var(--purple-700)); color: #fff; }
body.zera-ui .finder-pill.finder-pill--call .wp-block-button__link::before { background: rgba(255, 255, 255, .18); }
body.zera-ui .finder-pill.finder-pill--call .wp-block-button__link::after { background: #fff; }
body.zera-ui .finder .finder__title { margin: 0; }
@media (max-width: 560px) {
  body.zera-ui .finder .wp-block-buttons { display: grid; grid-template-columns: 1fr; width: 100%; }
  body.zera-ui .finder-pill .wp-block-button__link { width: 100%; justify-content: flex-start; }
}

body.zera-ui .finder-pill .wp-block-button__link::after { top: 50%; transform: translateY(-50%); }
/* Blocksy hides ::before on buttons; the pill's round icon background needs it. */
body.zera-ui .finder-pill .wp-block-button__link::before { display: block !important; position: static !important; inset: auto !important; opacity: 1 !important; transform: none !important; z-index: auto !important; }
body.zera-ui .finder-pill .wp-block-button__link::after { z-index: 1; }

/* "icon-badge" is both an icon name and the design's icon-tile component.
   Where it's used as an icon name (has-icon), drop the tile styling. */
body.zera-ui .has-icon.icon-badge { display: revert; width: auto; height: auto; margin: 0; border-radius: 0; background: none; color: inherit; place-items: normal; }
body.zera-ui ul.facts li.has-icon { display: inline-flex; align-items: center; }

/* Value cards: number top-right, faint */
body.zera-ui .value-card { position: relative; }
body.zera-ui .value-card .value-card__num { position: absolute; top: var(--sp-6); right: var(--sp-5); margin: 0; font-size: 2.4rem; font-weight: 800; line-height: 1; letter-spacing: -.02em; color: rgba(255, 255, 255, .16); }

/* Our Promise: butterfly on the left, text stacked */
body.zera-ui .wp-block-group.values__promise { display: block; position: relative; padding-left: calc(var(--sp-6) + 48px + var(--sp-5)); }
body.zera-ui .wp-block-group.values__promise::before { content: ""; position: absolute; left: var(--sp-6); top: var(--sp-5); width: 48px; height: 48px; background: url("../img/butterfly.svg") no-repeat center / contain; }
body.zera-ui .values__promise .values__words strong { color: #fff; }
@media (max-width: 640px) { body.zera-ui .wp-block-group.values__promise { padding: calc(var(--sp-5) + 48px + var(--sp-3)) var(--sp-4) var(--sp-5); } body.zera-ui .wp-block-group.values__promise::before { left: var(--sp-4); } }

/* Quotes: undo Blocksy's blockquote styling inside testimonial cards */
body.zera-ui .quote blockquote { margin: 0 0 var(--sp-4); padding: 0; border: 0; font-style: normal; background: none; }
body.zera-ui .quote blockquote::after { display: none; }

/* People cards (Leadership): photo is an Image block with class person__photo */
body.zera-ui .person .wp-block-image.person__photo { margin: 0; }
body.zera-ui .person .wp-block-image.person__photo img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; object-position: center 25%; border: 4px solid #fff; box-shadow: var(--shadow-sm); }
body.zera-ui .person .person__initials { margin: 0; }
body.zera-ui .person .person__body > :last-child { margin-bottom: 0; }

/* Founder card (About Us) */
body.zera-ui .founder-card { max-width: 340px; justify-self: center; text-align: center; }
body.zera-ui .founder-card .wp-block-image img { width: 180px; height: 180px; margin: 0 auto var(--sp-4); border-radius: 50%; object-fit: cover; }
body.zera-ui .founder-card .founder-name { margin-bottom: 0; }
body.zera-ui .founder-card::after { content: ""; display: block; width: 64px; height: 64px; margin: var(--sp-2) auto 0; background: url("../img/butterfly.svg") no-repeat center / contain; }

/* Downloads list: List block "downloads", each item has class icon-doc */
body.zera-ui ul.downloads { padding-left: 0; }
body.zera-ui .downloads a::before { content: ""; flex: none; width: 28px; height: 28px; background: var(--purple-600); -webkit-mask: var(--zi) no-repeat center / contain; mask: var(--zi) no-repeat center / contain; }
body.zera-ui .downloads small { display: block; margin-left: auto; font-weight: 400; color: var(--muted); }

/* Contact list: List block "contact-list", items with "has-icon icon-<name>" */
body.zera-ui ul.contact-list { padding-left: 0; }
body.zera-ui .contact-list li.has-icon { display: block; position: relative; padding-left: 2.1rem; }
body.zera-ui .contact-list li.has-icon::before { position: absolute; left: 0; top: .2em; width: 22px; height: 22px; margin: 0; color: var(--teal-700); }
body.zera-ui .contact-list li strong { display: block; }

/* Quality & Governance and gallery helpers */
body.zera-ui .section--flush { padding-top: 0; }
body.zera-ui ul.toc { padding-left: 0; }
body.zera-ui .gallery-section__head p { margin: 0; }
body.zera-ui .gallery-empty p { margin: 0; }
body.zera-ui .gallery-section .wp-block-gallery { margin-top: var(--sp-4); }

/* Facts line: a List block with class "facts"; each item gets "has-icon icon-<name>" */
body.zera-ui ul.facts { padding-left: 0; }
body.zera-ui ul.facts li::before { color: var(--purple-600); }

/* Stars for Pods testimonials */
.stars { --stars: 100%; display: inline-block; width: 6.2em; height: 1.1em; margin-bottom: var(--sp-3); background: linear-gradient(90deg, #f2b01e var(--stars), #e3e1ea var(--stars)); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 22'%3E%3Cg fill='%23000'%3E%3Cpath id='s' d='m11 1 3 6.6 7.1.8-5.3 4.9 1.5 7.1L11 16.8 4.7 20.4l1.5-7.1L.9 8.4 8 7.6z'/%3E%3Cuse href='%23s' x='24.5'/%3E%3Cuse href='%23s' x='49'/%3E%3Cuse href='%23s' x='73.5'/%3E%3Cuse href='%23s' x='98'/%3E%3C/g%3E%3C/svg%3E") no-repeat left center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 22'%3E%3Cg fill='%23000'%3E%3Cpath id='s' d='m11 1 3 6.6 7.1.8-5.3 4.9 1.5 7.1L11 16.8 4.7 20.4l1.5-7.1L.9 8.4 8 7.6z'/%3E%3Cuse href='%23s' x='24.5'/%3E%3Cuse href='%23s' x='49'/%3E%3Cuse href='%23s' x='73.5'/%3E%3Cuse href='%23s' x='98'/%3E%3C/g%3E%3C/svg%3E") no-repeat left center / contain; }
.testimonials .quote blockquote p { margin: 0 0 .6rem; }

/* Gallery: core Gallery block styled as the design's grid (uses WordPress's own "Expand on click") */
body.zera-ui .wp-block-gallery.has-nested-images { gap: var(--sp-4); margin: 0; }
body.zera-ui .wp-block-gallery.has-nested-images figure.wp-block-image { border-radius: var(--radius); overflow: hidden; background: var(--purple-50); }
body.zera-ui .wp-block-gallery.has-nested-images figure.wp-block-image img { aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s; }
body.zera-ui .wp-block-gallery.has-nested-images figure.wp-block-image:hover img { transform: scale(1.04); }

/* Embeds (Google map) */
body.zera-ui .map iframe, body.zera-ui .map .wp-block-embed__wrapper iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---- Forminator enquiry form inside the design's form card ---- */
.enquiry .form-card .forminator-ui.forminator-custom-form { margin: 0 !important; }
.enquiry .form-card .forminator-row { margin-bottom: var(--sp-4) !important; }
.enquiry .form-card .forminator-label { display: block; margin-bottom: .35rem !important; color: var(--ink) !important; font: 600 .95rem/1.4 var(--font) !important; }
.enquiry .form-card .forminator-required { color: var(--purple-600) !important; }
.enquiry .form-card :is(.forminator-input, .forminator-textarea, select.forminator-select) { width: 100% !important; min-height: 48px; padding: .7rem .9rem !important; border: 1px solid #b9b6c6 !important; border-radius: var(--radius-sm) !important; background: #fff !important; color: var(--ink) !important; font: 400 1rem/1.5 var(--font) !important; box-shadow: none !important; }
.enquiry .form-card .forminator-textarea { min-height: 140px; }
.enquiry .form-card :is(.forminator-input, .forminator-textarea):focus { outline: 3px solid var(--purple-100) !important; border-color: var(--purple-600) !important; }
.enquiry .form-card .forminator-description, .enquiry .form-card .forminator-error-message { margin-top: .35rem !important; font: 600 var(--fs-sm)/1.4 var(--font) !important; }
.enquiry .form-card .forminator-error-message { color: #b42318 !important; background: none !important; padding: 0 !important; }
.enquiry .form-card .forminator-has_error :is(.forminator-input, .forminator-textarea) { border-color: #b42318 !important; background: #fff8f7 !important; }
.enquiry .form-card .forminator-button-submit { width: 100% !important; min-height: 54px; padding: .85rem 1.6rem !important; border: 0 !important; border-radius: 999px !important; background: var(--purple-600) !important; color: #fff !important; font: 600 1.05rem/1.2 var(--font) !important; cursor: pointer; transition: background-color .2s; }
.enquiry .form-card .forminator-button-submit:hover { background: var(--purple-700) !important; }
/* Radio choices as pills ("Who is the care for?") */
.enquiry .form-card .forminator-radio { display: inline-flex !important; position: relative; margin: 0 .5rem .5rem 0 !important; }
.enquiry .form-card .forminator-radio input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.enquiry .form-card .forminator-radio .forminator-radio-bullet { display: none !important; }
.enquiry .form-card .forminator-radio .forminator-radio-label { display: inline-flex; align-items: center; min-height: 44px; margin: 0 !important; padding: .5rem 1rem !important; border: 1px solid #b9b6c6; border-radius: 999px; background: #fff; color: var(--ink) !important; font: 600 .95rem/1.2 var(--font) !important; }
.enquiry .form-card .forminator-radio input:checked ~ .forminator-radio-label { background: var(--purple-600); border-color: var(--purple-600); color: #fff !important; }
.enquiry .form-card .forminator-radio input:focus-visible ~ .forminator-radio-label { outline: 3px solid var(--purple-600); outline-offset: 3px; }
.enquiry .form-card .forminator-response-message { border-radius: var(--radius) !important; font-family: var(--font) !important; }
