/* =========================================================
   Super Healthcare | main.css  (theme 2.0)
   Brand: red, black and white. Slate blue = Care at Home.
   Red = Supported Living. Ink = professionals.
   ========================================================= */

/* Self-hosted fonts (SIL Open Font License, see assets/fonts/). No requests to Google. */
@font-face {
  font-family: "Mulish";
  src: url("../fonts/mulish-variable.woff") format("woff");
  font-weight: 200 1000; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-bold.woff") format("woff");
  font-weight: 600 800; font-style: normal; font-display: swap;
}

:root {
  --red: #C4122F;
  --red-dark: #9E0E25;
  --red-pale: #F4F5F7; /* client asked for no light-red backgrounds: neutral grey */
  --ink: #1A1A1A;
  --ink-2: #2A2D31;
  --slate: #34557C;
  --slate-dark: #26415F;
  --blue-pale: #ECF2F8;
  --grey-bg: #F4F5F7;
  --grey-text: #4A5058;
  --line: #DDE2E8;
  --white: #FFFFFF;
  --good: #3F7F23;
  --good-dark: #336B1C;
  --homecare: #1E6E6A;
  --good-light: #8FD488;

  --font-head: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "Mulish", "Segoe UI", Arial, sans-serif;

  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section: clamp(3rem, 7vw, 5.5rem);
  --radius-sm: 6px;
  --radius: 10px;
  --header-h: 76px;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
a { color: inherit; }
address { font-style: normal; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

:focus-visible { outline: 3px solid var(--slate); outline-offset: 3px; border-radius: 2px; }
[id] { scroll-margin-top: calc(var(--header-h) + 72px); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--ink); color: var(--white); padding: .75rem 1rem; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.4rem;
  border-radius: var(--radius-sm); border: 2px solid transparent;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; text-align: center; white-space: nowrap; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn--sm { min-height: 44px; padding: .55rem 1.1rem; font-size: .95rem; }
.btn--lg { min-height: 54px; padding: .9rem 1.8rem; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; }
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: var(--red-dark); }
.btn--blue { background: var(--slate); color: var(--white); }
.btn--blue:hover { background: var(--slate-dark); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: #000; }
.btn--white { background: var(--white); color: var(--red-dark); }
.btn--white:hover { background: #EDEDED; }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.8); }
.btn--outline-light:hover { background: var(--white); color: var(--ink); }

.text-link {
  font-weight: 600; color: var(--ink);
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--red);
}
.text-link:hover { color: var(--red-dark); }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: 1.75rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1.25rem; min-height: var(--header-h); max-width: 1340px; }
.logo { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.site-logo-image { width: 190px; height: auto; }

.primary-nav { margin-inline: auto; }
.nav-list { list-style: none; display: flex; align-items: center; gap: .1rem; }
.nav-link {
  display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; padding: .5rem .7rem;
  font: inherit; font-size: 1.02rem; font-weight: 700; color: var(--ink); white-space: nowrap;
  text-decoration: none; border: 0; border-bottom: 3px solid transparent; border-radius: var(--radius-sm); cursor: pointer;
  background: linear-gradient(var(--red), var(--red)) no-repeat center bottom / 100% 0;
  transition: background-size .22s ease, color .22s ease;
}
.nav-link:hover, .nav-link:focus-visible, .dropdown-toggle[aria-expanded="true"] { color: var(--white); background-size: 100% 100%; }
.nav-link[aria-current="page"], .nav-link.is-current { border-bottom-color: var(--red); }
.nav-link[aria-current="page"]:hover, .nav-link.is-current:hover { border-bottom-color: transparent; }
.dropdown-toggle::after {
  content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.dropdown-toggle[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-1px); }

.has-dropdown { position: relative; }
.dropdown {
  display: none; position: absolute; top: calc(100% + 12px); left: 0; z-index: 60;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(26, 26, 26, .12);
}
.dropdown.is-open { display: block; }
.dropdown--list { min-width: 250px; padding: .5rem; }
.dropdown--list ul { list-style: none; }
.dropdown--list a { display: block; padding: .6rem .8rem; border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); }
.dropdown--list a { font-weight: 600; transition: background-color .18s ease, color .18s ease; }
.dropdown--list a:hover { background: var(--red); color: var(--white); }
.dropdown--list a[aria-current="page"] { background: var(--grey-bg); }
.dropdown--mega.is-open { display: grid; }
.dropdown--mega { width: min(820px, 92vw); grid-template-columns: 1.7fr 1fr; overflow: hidden; }
.mega-services { padding: 1.25rem 1.5rem 1.5rem; border-top: 4px solid var(--slate); }
.mega-heading { margin: 0 0 .5rem; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; }
.mega-heading a { color: var(--slate-dark); text-decoration: none; }
.mega-heading a:hover { text-decoration: underline; }
.mega-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .15rem .75rem; }
.mega-list a { display: flex; flex-direction: column; padding: .55rem .6rem; border-radius: var(--radius-sm); text-decoration: none; }
.mega-list a { transition: background-color .18s ease; }
.mega-list a:hover, .mega-list a[aria-current="page"] { background: var(--grey-bg); }
.mega-list a:hover strong { color: var(--red-dark); }
.mega-list strong { font-weight: 700; color: var(--ink); }
.mega-list span { font-size: .87rem; line-height: 1.4; color: var(--grey-text); }
.mega-aside { background: var(--blue-pale); padding: 1.5rem; display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; }
.mega-aside-title { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }
.mega-aside p { color: var(--grey-text); font-size: .95rem; }
.mega-phone { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; text-decoration: none; color: var(--slate-dark); }

.header-actions { display: flex; align-items: center; gap: 1rem; flex: none; }
.header-phone { display: flex; flex-direction: column; line-height: 1.15; text-decoration: none; }
.header-phone-label { font-size: .78rem; color: var(--grey-text); font-weight: 500; }
.header-phone-number { display: inline-flex; align-items: center; gap: .3rem; font-weight: 700; white-space: nowrap; }
.header-phone-number svg { color: var(--red); }
.header-phone:hover .header-phone-number { color: var(--red-dark); }
.header-call {
  display: none; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%;
  border: 2px solid var(--ink); color: var(--red); text-decoration: none;
  background: linear-gradient(var(--red), var(--red)) no-repeat center / 0 0;
  transition: background-size .22s ease, color .22s ease, border-color .22s ease;
}
.header-call:hover, .header-call:focus-visible { background-size: 100% 100%; border-color: var(--red); color: var(--white); }
.menu-toggle, .nav-mobile-actions { display: none; }

/* ---------- Homepage hero: two photo panels ---------- */
.hero-panels { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--white); }
.hero-panel { position: relative; height: clamp(420px, 62vh, 600px); overflow: hidden; background: var(--grey-bg); }
.hero-panel img, .hero-panel-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-panel::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.28) 100%);
}
.hero-panel-label {
  position: absolute; bottom: 0; z-index: 2; width: min(88%, 440px);
  padding: 1.35rem 1.6rem 1.5rem; color: var(--white);
}
.hero-panel--care .hero-panel-label { left: 0; background: var(--ink); border-top-right-radius: var(--radius); }
.hero-panel--living .hero-panel-label { right: 0; background: var(--red); border-top-left-radius: var(--radius); }
.hero-panel-title { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.7rem, 2.8vw, 2.3rem); line-height: 1.1; }
.hero-panel-text { margin: .45rem 0 0; font-size: 1rem; line-height: 1.45; color: rgba(255,255,255,.92); }
.hero-panel-cta {
  display: inline-flex; align-items: center; min-height: 44px; margin-top: 1rem; padding: .55rem 1.1rem;
  border-radius: var(--radius-sm); background: var(--white); font-weight: 700; text-decoration: none;
}
.hero-panel--care .hero-panel-cta { color: var(--ink); }
.hero-panel--living .hero-panel-cta { color: var(--red-dark); }
.hero-panel-cta:hover { background: var(--grey-bg); }
.hero-panel-label :focus-visible { outline-color: var(--white); }

.cqc-seal {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 112px; aspect-ratio: 1; border-radius: 50%;
  background: var(--good); color: var(--white); border: 5px solid var(--white);
  box-shadow: 0 8px 24px rgba(26, 26, 26, .22); text-decoration: none; line-height: 1.05;
}
.cqc-seal:hover { background: var(--good-dark); }
.cqc-seal-small { font-size: .78rem; font-weight: 600; }
.cqc-seal-big { font-family: var(--font-head); font-weight: 700; font-size: 1.75rem; }
.hero-seals { position: absolute; left: 50%; bottom: -56px; transform: translateX(-50%); z-index: 3; display: flex; gap: .6rem; }
.score-seal {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 112px; aspect-ratio: 1; border-radius: 50%; text-align: center;
  background: var(--homecare); color: var(--white); border: 5px solid var(--white);
  box-shadow: 0 8px 24px rgba(26, 26, 26, .22); text-decoration: none; line-height: 1.05;
}
.score-seal:hover { background: #17524F; }
.score-seal-big { font-family: var(--font-head); font-weight: 700; font-size: 1.85rem; }
.score-seal-small { font-size: .7rem; font-weight: 700; }
.score-seal-src { margin-top: .2rem; font-size: .62rem; font-weight: 600; opacity: .9; }
.score-seal--sm { width: 84px; border-width: 3px; box-shadow: none; }
.score-seal--sm .score-seal-big { font-size: 1.35rem; }
.score-seal--sm .score-seal-src { font-size: .55rem; }
.cqc-seal--footer { width: 92px; margin-top: 1.25rem; border-color: var(--grey-bg); box-shadow: none; }
.cqc-seal--footer .cqc-seal-big { font-size: 1.4rem; }

/* ---------- Intro band ---------- */
.intro-band { padding-block: clamp(4.5rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 3.5rem); }
.intro-grid { display: grid; grid-template-columns: 1.65fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: end; }
.brand-line { margin: 0 0 .75rem; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--red); }
.intro-copy h1 { font-size: clamp(2rem, 3.8vw, 3.05rem); letter-spacing: -0.02em; max-width: 22ch; }
.intro-support { margin: 1.1rem 0 0; font-size: clamp(1.08rem, 1.5vw, 1.2rem); color: var(--grey-text); max-width: 56ch; }
.intro-contact { border-left: 4px solid var(--slate); background: var(--blue-pale); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.4rem 1.6rem; }
.intro-contact-label { margin: 0 0 .25rem; font-weight: 600; color: var(--slate-dark); }
.intro-phone { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-head); font-size: clamp(1.6rem, 2.6vw, 2rem); font-weight: 700; text-decoration: none; color: var(--ink); }
.intro-phone svg { color: var(--red); }
.intro-phone:hover span { text-decoration: underline; }
.intro-commitment { margin: .5rem 0 0; color: var(--grey-text); font-size: .95rem; }
.intro-place { display: flex; align-items: center; gap: .4rem; margin: .75rem 0 0; font-size: .95rem; color: var(--grey-text); }
.intro-place svg { width: 18px; height: 18px; fill: none; stroke: var(--slate); stroke-width: 2; flex: none; }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--slate-dark); color: var(--white); }
.trust-bar-list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem 1.5rem; padding-block: 1.1rem; }
.trust-bar-list li { display: flex; align-items: center; gap: .6rem; font-weight: 600; }
.trust-bar-list a { color: var(--white); text-underline-offset: 3px; }
.trust-bar-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; display: block; }
.trust-bar :focus-visible { outline-color: var(--white); }

/* ---------- Sections and titles ---------- */
.section { padding-block: var(--section); }
.section--flush-top { padding-top: 0; }
.section--tint { background: var(--grey-bg); }
.section--tint-blue { background: var(--blue-pale); }
.section--tint-red { background: var(--red-pale); }
.section-title { font-size: clamp(1.75rem, 3.2vw, 2.4rem); display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.section-title::after { content: ""; flex: 1; height: 2px; background: var(--line); }
.section-title--blue::after { background: var(--slate); opacity: .55; }
.section-title--red::after { background: var(--red); opacity: .55; }
.section-title--plain { display: block; }
.section-title--plain::after { display: none; }
.section-intro { margin: -.6rem 0 2rem; color: var(--grey-text); max-width: 62ch; }
.lead { font-size: 1.2rem; line-height: 1.55; }
.small-note { font-size: .92rem; color: var(--grey-text); }
.subhead { font-size: 1.25rem; margin-bottom: 1rem; }

/* ---------- How can we help ---------- */
.route-cards { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.route-card {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 1.75rem 1.6rem; border: 1px solid var(--line); border-top: 6px solid var(--ink); border-radius: var(--radius);
}
.route-card--care { border-top-color: var(--slate); }
.route-card--living { border-top-color: var(--red); }
.route-card-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; margin-bottom: 1rem; background: var(--grey-bg); color: var(--ink); }
.route-card--care .route-card-icon { background: var(--blue-pale); color: var(--slate); }
.route-card--living .route-card-icon { background: var(--red-pale); color: var(--red); }
.route-card-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.route-card h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.route-card > p { color: var(--grey-text); }
.route-card-points { list-style: none; display: grid; gap: .35rem; margin: .25rem 0 1.5rem; }
.route-card-points li { position: relative; padding-left: 1.4rem; font-size: .97rem; }
.route-card-points li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.route-card--care .route-card-points li::before { background: var(--slate); }
.route-card--living .route-card-points li::before { background: var(--red); }
.route-card .btn { margin-top: auto; }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1.7fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.why-intro p { color: var(--grey-text); margin-bottom: 1.25rem; }
.why-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.why-list li { display: flex; gap: 1rem; background: var(--white); border-radius: var(--radius); padding: 1.35rem; }
.why-icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; background: var(--blue-pale); color: var(--slate); }
.why-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.why-list h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.why-list p { margin: 0; color: var(--grey-text); font-size: .97rem; }

/* ---------- Step flow (numbered sequence) ---------- */
.step-flow { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; position: relative; }
.step-flow::before { content: ""; position: absolute; top: 22px; left: 22px; right: 22px; height: 2px; background: var(--line); }
.step-flow li { counter-increment: step; position: relative; display: flex; flex-direction: column; gap: .35rem; padding-top: 3.5rem; }
.step-flow li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--slate); color: var(--white); font-weight: 700; font-size: 1.05rem; box-shadow: 0 0 0 6px var(--white);
}
.section--tint .step-flow li::before { box-shadow: 0 0 0 6px var(--grey-bg); }
.step-flow--pro li::before { background: var(--ink); }
.step-flow strong { font-size: 1.1rem; }
.step-flow span { color: var(--grey-text); font-size: .96rem; line-height: 1.5; }
.step-flow-note { margin-top: 2rem; color: var(--grey-text); }
.step-flow-note a { font-weight: 600; color: var(--ink); }

/* ---------- Feature split (homepage service overviews) ---------- */
.section--care { background: var(--blue-pale); }
.section--living { background: var(--white); }
.feature-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.feature-split--flip .feature-split-media { order: 2; }
.feature-split-media { position: sticky; top: calc(var(--header-h) + 2rem); }
.feature-split-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.feature-split-media--duo { padding-bottom: 3rem; }
.feature-split-inset {
  position: absolute; left: -1.5rem; bottom: 0; width: 44%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius); border: 6px solid var(--white);
}
.feature-split-body > p { color: var(--grey-text); }
.feature-split-body .lead { color: var(--ink); }
.service-rows { list-style: none; margin: 1.25rem 0 0; border-top: 1px solid rgba(38,65,95,.18); }
.service-rows a {
  display: grid; grid-template-columns: 13rem 1fr; gap: 1rem; align-items: baseline;
  padding: .8rem .5rem; border-bottom: 1px solid rgba(38,65,95,.18); text-decoration: none;
}
.service-rows a:hover { background: rgba(255,255,255,.6); }
.service-rows strong { color: var(--slate-dark); font-weight: 700; }
.service-rows span { color: var(--grey-text); font-size: .95rem; line-height: 1.45; }
.availability-line { margin-top: 1.25rem; padding-left: .9rem; border-left: 3px solid var(--red); font-size: .97rem; color: var(--ink) !important; }

.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 0; }
.tag-list li { background: var(--white); border: 1px solid rgba(196,18,47,.35); color: var(--red-dark); font-weight: 600; font-size: .92rem; padding: .35rem .8rem; border-radius: 4px; }

/* ---------- CQC quality band ---------- */
.quality-band { background: var(--ink); color: var(--white); }
.quality-band :focus-visible { outline-color: var(--white); }
.quality-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.quality-head p { color: #C9CDD3; }
.quality-band--hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); margin-bottom: 1rem; }
.report-links { list-style: none; display: grid; gap: .6rem; margin-top: 1.5rem; }
.report-links li { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .75rem; }
.report-links a { color: var(--white); font-weight: 700; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.report-links span { color: #A9AFB7; font-size: .92rem; }
.rating-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.rating { display: flex; flex-direction: column; gap: .2rem; padding: 1rem 1.1rem; border-radius: var(--radius-sm); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.rating--overall { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; background: rgba(255,255,255,.1); }
.rating-q { font-size: .92rem; color: #C9CDD3; }
.rating--overall .rating-q { font-size: 1.05rem; color: var(--white); font-weight: 600; }
.rating-v { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; }
.rating-v::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--good-light); }
.rating--overall .rating-v { font-size: 1.9rem; }

/* ---------- Stories ---------- */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.story { border-left: 5px solid var(--slate); padding: .25rem 0 .25rem 1.5rem; }
.story--living { border-left-color: var(--red); }
.story-title { font-size: 1.3rem; margin-bottom: .75rem; }
.story blockquote { margin: 0; }
.story blockquote p { font-family: var(--font-head); font-size: 1.25rem; line-height: 1.45; }
.story-attrib { margin-top: .75rem; font-weight: 600; color: var(--grey-text); }
.story-outcome { color: var(--grey-text); }

/* ---------- Team ---------- */
.team-split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.team-mosaic { display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: 1fr 1fr; gap: .75rem; height: clamp(320px, 38vw, 460px); }
.team-mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.team-mosaic-a { grid-row: 1 / 3; }
.team-copy > p { color: var(--grey-text); }
.team-copy .lead { color: var(--ink); }
.person-card { display: flex; align-items: center; gap: 1rem; margin: 1.25rem 0; padding: 1rem 1.25rem; border-radius: var(--radius); background: var(--grey-bg); }
.person-card-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--white); color: var(--slate); flex: none; }
.person-card-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.person-card-name { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }
.person-card-role { margin: 0; color: var(--grey-text); font-size: .95rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--red); color: var(--white); padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; }
.cta-copy { max-width: 36rem; }
.cta-band h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.cta-copy p { margin-top: .5rem; color: rgba(255,255,255,.92); }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.5rem; }
.cta-phone {
  display: inline-flex; align-items: center; gap: .6rem; min-height: 48px; padding-left: 1.5rem;
  border-left: 2px solid rgba(255,255,255,.45); color: var(--white); text-decoration: none; font-weight: 700; font-size: 1.3rem; white-space: nowrap;
}
.cta-phone:hover span { text-decoration: underline; }
.cta-band :focus-visible { outline-color: var(--white); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding-top: 1rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem; font-size: .9rem; }
.breadcrumb li { display: flex; align-items: center; gap: .25rem; color: var(--grey-text); }
.breadcrumb li + li::before { content: "/"; color: #9AA1AA; margin-right: .25rem; }
.breadcrumb a { color: var(--grey-text); text-underline-offset: 3px; }
.breadcrumb a[aria-current="page"] { color: var(--ink); text-decoration: none; font-weight: 600; }

/* ---------- Inner page hero (split) ---------- */
.page-hero { padding-block: clamp(2rem, 5vw, 3.25rem) clamp(2.5rem, 6vw, 4.5rem); }
.page-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.page-hero-kicker { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 .75rem; font-weight: 700; font-size: .98rem; color: var(--slate); }
.page-hero-kicker::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: currentColor; }
.kicker--red, .theme-living .page-hero-kicker { color: var(--red); }
.page-hero h1, .contact-hero h1, .simple-hero h1, .pro-hero h1, .sl-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); letter-spacing: -0.02em; }
.page-hero-lead { margin: 1rem 0 0; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.3; color: var(--slate-dark); max-width: 30ch; }
.page-hero-support { font-size: clamp(1.08rem, 1.6vw, 1.2rem); color: var(--grey-text); margin: 1rem 0 0; max-width: 54ch; }
.page-hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.page-hero-trust { display: flex; align-items: center; gap: .5rem; margin-top: 1.25rem; font-size: .95rem; font-weight: 600; color: var(--slate-dark); }
.page-hero-trust svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; flex: none; }
.page-hero-media { position: relative; }
.page-hero-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); }
.page-hero--care .page-hero-media::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1; border-radius: var(--radius); background: var(--blue-pale);
}

/* ---------- Service grid (Care at Home hub) ---------- */
.service-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); transition: border-color .15s ease; }
.service-card:hover { border-color: var(--slate); }
.service-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.service-card-body { display: flex; flex-direction: column; flex: 1; padding: 1.25rem 1.35rem 1.5rem; }
.service-card h3 { font-size: 1.35rem; margin-bottom: .4rem; }
.service-card h3 a { color: var(--slate-dark); text-decoration: none; }
.service-card h3 a::after { content: ""; position: absolute; inset: 0; }
.service-card:has(a:focus-visible) { outline: 3px solid var(--slate); outline-offset: 3px; }
.service-card h3 a:focus-visible { outline: none; }
.service-card p { margin: 0 0 1rem; color: var(--grey-text); font-size: .98rem; }
.service-card-more { margin-top: auto; font-weight: 600; text-decoration: underline; text-decoration-color: var(--slate); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------- Compare table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.compare-table th, .compare-table td { text-align: left; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare-table thead th { background: var(--ink); color: var(--white); font-weight: 700; }
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table td:last-child { white-space: nowrap; font-weight: 600; }
.compare-table a { color: var(--ink); text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ---------- Info panel ---------- */
.info-panel { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; border: 2px solid var(--slate); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); }
.info-panel h2 { font-size: 1.6rem; margin-bottom: .6rem; }
.info-panel p { color: var(--grey-text); }
.link-list { list-style: none; display: grid; gap: .5rem; }
.link-list a { font-weight: 600; color: var(--slate-dark); text-underline-offset: 3px; }

/* ---------- Jump nav ---------- */
.jump-nav { position: sticky; top: var(--header-h); z-index: 20; border-block: 1px solid var(--line); background: var(--white); }
.jump-nav ul { list-style: none; display: flex; gap: .25rem; overflow-x: auto; }
.jump-nav a { display: block; padding: .85rem 1rem; white-space: nowrap; font-weight: 600; font-size: .95rem; color: var(--grey-text); text-decoration: none; border-bottom: 3px solid transparent; }
.jump-nav a:hover { color: var(--ink); border-bottom-color: var(--slate); }

/* ---------- Feature grid ---------- */
.feature-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 2.25rem; }
.feature-grid--4 { grid-template-columns: repeat(4, 1fr); }
.feature { padding-top: 1.25rem; border-top: 2px solid var(--line); }
.feature-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: .9rem; border-radius: 12px; background: var(--blue-pale); color: var(--slate); }
.section--tint .feature-icon { background: var(--white); }
.feature-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.feature p { margin: 0; color: var(--grey-text); font-size: .98rem; }

/* ---------- Split with aside ---------- */
.split-aside { display: grid; grid-template-columns: 1fr 340px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.check-list { list-style: none; display: grid; gap: .75rem; margin: 0 0 1.5rem; }
.check-list li { position: relative; padding-left: 2rem; }
.check-list li::before {
  content: ""; position: absolute; left: .2rem; top: .45rem; width: .9rem; height: .5rem;
  border-left: 3px solid var(--slate); border-bottom: 3px solid var(--slate); transform: rotate(-45deg);
}
.check-list--red li::before { border-color: var(--red); }
.split-aside p a { font-weight: 600; color: var(--slate-dark); }
.aside-card {
  position: sticky; top: calc(var(--header-h) + 72px);
  padding: 1.75rem; border-radius: var(--radius); background: var(--white);
  border-top: 5px solid var(--slate); box-shadow: 0 10px 30px rgba(38, 65, 95, .1);
}
.aside-card h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.aside-card p { color: var(--grey-text); margin: 0 0 1.25rem; }
.aside-phone { display: block; margin-top: 1rem; text-align: center; font-weight: 700; font-size: 1.25rem; text-decoration: none; }
.aside-phone:hover { text-decoration: underline; }
.aside-note { text-align: center; font-size: .9rem; margin: .5rem 0 0 !important; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; }
.faq { border-top: 1px solid rgba(38, 65, 95, .2); }
.faq h3 { margin: 0; font-family: var(--font-body); font-size: 1.08rem; font-weight: 600; border-bottom: 1px solid rgba(38, 65, 95, .2); }
.faq button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0; background: none; border: 0; cursor: pointer; font: inherit; color: var(--ink); text-align: left; }
.faq button::after {
  content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--slate) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12h10M12 7v10' stroke='white' stroke-width='2'/%3E%3C/svg%3E") center/100% no-repeat;
}
.faq button[aria-expanded="true"]::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12h10' stroke='white' stroke-width='2'/%3E%3C/svg%3E"); }
.faq--red button::after { background-color: var(--red); }
.faq button:hover { color: var(--slate-dark); }
.faq-panel { padding: .25rem 2.5rem 1.25rem 0; border-bottom: 1px solid rgba(38, 65, 95, .2); margin-top: -1px; }
.faq-panel p { color: var(--grey-text); }
.faq-panel a { color: var(--slate-dark); font-weight: 600; }

/* ---------- Related list ---------- */
.related-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.related-list a { display: flex; flex-direction: column; gap: .25rem; height: 100%; padding: 1.25rem 1.4rem; border: 1px solid var(--line); border-left: 5px solid var(--slate); border-radius: var(--radius); text-decoration: none; }
.related-list strong { font-family: var(--font-head); font-size: 1.25rem; color: var(--slate-dark); }
.related-list span { color: var(--grey-text); font-size: .96rem; }
.related-list a:hover { background: var(--blue-pale); }

/* ---------- Supported Living ---------- */
.sl-hero { position: relative; display: flex; align-items: center; min-height: 580px; margin-top: 1rem; }
.sl-hero-media { position: absolute; inset: 0; }
.sl-hero-img { width: 100%; height: 100%; object-fit: cover; }
.sl-hero .container { position: relative; }
.sl-hero-panel {
  max-width: 580px; margin-block: 3rem; padding: clamp(1.75rem, 4vw, 2.75rem);
  background: var(--white); border-left: 8px solid var(--red); border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(26, 26, 26, .18);
}
.sl-hero h1 { max-width: 16ch; }
.sl-hero-sub { margin: .9rem 0 0; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: var(--red-dark); }
.notice { display: flex; align-items: flex-start; gap: .9rem; margin-top: 1.5rem; padding: 1rem 1.25rem; border: 1px solid var(--line); border-left: 5px solid var(--red); border-radius: var(--radius-sm); background: var(--white); }
.notice-icon { flex: none; color: var(--red); }
.notice-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.notice p { margin: 0; }
.notice a { font-weight: 700; margin-left: .25rem; white-space: nowrap; }
.sl-intro-more { margin-block: 2rem 2.5rem; font-size: 1.15rem; max-width: 70ch; color: var(--grey-text); }

.property-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.fact-list { display: grid; margin: 1.5rem 0 0; border-top: 1px solid rgba(26,26,26,.12); }
.fact-list div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid rgba(26,26,26,.12); }
.fact-list dt { font-weight: 700; }
.fact-list dd { margin: 0; color: var(--grey-text); }
.fact-list dd a { font-weight: 600; color: var(--ink); }
.fact-list--compact { max-width: 720px; margin-top: 2rem; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 120px; gap: .6rem; }
.gallery-item { position: relative; border-radius: var(--radius-sm); overflow: hidden; }
.gallery-item--main { grid-column: 1 / -1; grid-row: span 3; border-radius: var(--radius); }
.gallery-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery-open img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery-open:hover img { transform: scale(1.03); }
.gallery-item figcaption { position: absolute; left: .5rem; bottom: .5rem; padding: .2rem .55rem; border-radius: 4px; background: rgba(255,255,255,.94); font-size: .8rem; font-weight: 600; pointer-events: none; }
.gallery-item--main figcaption { left: .75rem; bottom: .75rem; font-size: .9rem; }

.focus-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.focus-grid li { min-width: 0; display: flex; flex-direction: column; gap: .7rem; padding: 1.2rem; border-radius: var(--radius); background: var(--red-pale); font-weight: 600; line-height: 1.4; }
.focus-icon { color: var(--red); }
.focus-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.life-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
.life-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.two-col--wide { gap: clamp(2rem, 5vw, 4.5rem); }
.plain-card { padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--radius); background: var(--white); }
.plain-card h2 { font-size: 1.6rem; margin-bottom: .75rem; }
.plain-card > p { color: var(--grey-text); }
.trust-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1rem; }
.trust-links a { font-weight: 600; color: var(--ink); text-underline-offset: 3px; }
.trust-links--light a { color: var(--white); }

.form-split { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.form-split > div:first-child { position: sticky; top: calc(var(--header-h) + 2rem); }
.step-list { list-style: none; counter-reset: s; display: grid; gap: 1.1rem; margin-bottom: 2rem; }
.step-list li { counter-increment: s; position: relative; display: flex; flex-direction: column; padding-left: 3.4rem; min-height: 2.6rem; }
.step-list li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border-radius: 50%; background: var(--slate); color: var(--white); font-weight: 700; }
.step-list--living li::before { background: var(--red); }
.step-list strong { font-size: 1.1rem; }
.step-list span { color: var(--grey-text); }
.side-contact { padding: 1.4rem 1.5rem; border-radius: var(--radius); background: var(--grey-bg); }
.side-contact p { margin: 0 0 .4rem; }
.side-contact-phone { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; text-decoration: none; }
.side-contact-phone:hover { text-decoration: underline; }
.side-contact a { color: var(--ink); font-weight: 600; }

/* ---------- Referrals ---------- */
.breadcrumb ~ .quality-band--hero, .breadcrumb ~ .pro-hero { margin-top: 1rem; }
.pro-hero { background: var(--ink); color: var(--white); padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.pro-hero .page-hero-kicker { color: #C9CDD3; }
.pro-hero .page-hero-support { color: #D5D9DE; }
.pro-hero :focus-visible { outline-color: var(--white); }
.pro-hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.pro-hero-phone { margin-top: 1.25rem; color: #D5D9DE; }
.pro-hero-phone a { color: var(--white); font-weight: 700; }
.glance { padding: 1.5rem 1.6rem; border-radius: var(--radius); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); }
.glance h2 { font-size: 1.3rem; margin-bottom: .5rem; }
.glance dl { margin: 0; }
.glance dl div { display: grid; grid-template-columns: 8.5rem 1fr; gap: .75rem; padding: .7rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.glance dl div:last-child { border-bottom: 0; }
.glance dt { font-weight: 700; color: var(--white); }
.glance dd { margin: 0; color: #D5D9DE; font-size: .96rem; }
.service-model { display: grid; gap: 1rem; }
.service-model-item { padding: 1.25rem 1.4rem; border-radius: var(--radius); border-left: 5px solid var(--slate); background: var(--blue-pale); }
.service-model-item--living { border-left-color: var(--red); background: var(--red-pale); }
.service-model-item h3 { font-size: 1.3rem; margin-bottom: .35rem; }
.service-model-item h3 a { text-decoration-thickness: 2px; text-underline-offset: 4px; }
.service-model-item p { margin: 0; color: var(--grey-text); }
.pill-list { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem; }
.pill-list li { padding: .4rem .9rem; border-radius: 99px; border: 1px solid var(--line); background: var(--white); font-size: .95rem; }
.gov-list { list-style: none; display: grid; gap: .7rem; margin-top: 1rem; }
.gov-list li { position: relative; padding-left: 1.9rem; color: #D5D9DE; }
.gov-list li::before { content: ""; position: absolute; left: .2rem; top: .45rem; width: .85rem; height: .45rem; border-left: 3px solid var(--good-light); border-bottom: 3px solid var(--good-light); transform: rotate(-45deg); }
.report-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.report-card { display: flex; flex-direction: column; gap: .3rem; padding: 1.4rem; border-radius: var(--radius); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); color: var(--white); text-decoration: none; }
.report-card:hover { background: rgba(255,255,255,.12); }
.report-card-label { font-weight: 600; color: #C9CDD3; }
.report-card-rating { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-head); font-weight: 700; font-size: 2rem; }
.report-card-rating::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--good-light); }
.report-card-date { color: #A9AFB7; font-size: .92rem; }
.report-card-link { margin-top: .5rem; font-weight: 700; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.report-cards--light .report-card { background: var(--white); border-color: var(--line); color: var(--ink); }
.report-cards--light .report-card:hover { border-color: var(--slate); background: var(--blue-pale); }
.report-cards--light .report-card-label, .report-cards--light .report-card-date { color: var(--grey-text); }
.report-cards--light .report-card-rating::before { background: var(--good); }

/* ---------- Our Community ---------- */
.simple-hero { padding-block: clamp(2rem, 5vw, 3.25rem); border-bottom: 1px solid var(--line); }
.simple-hero .page-hero-support { max-width: 62ch; }
.chip-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.chip-nav a {
  display: inline-flex; align-items: center; min-height: 46px; padding: .5rem 1.15rem; border-radius: 99px;
  border: 2px solid var(--ink); color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1rem;
  background: linear-gradient(var(--red), var(--red)) no-repeat center / 0 100%;
  transition: background-size .25s ease, color .25s ease, border-color .25s ease;
}
.chip-nav a:hover, .chip-nav a:focus-visible { background-size: 100% 100%; border-color: var(--red); color: var(--white); }
.community-group + .community-group { padding-top: 0; }
.community-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 2rem; margin-bottom: 1.25rem; }
.community-head .section-title { margin-bottom: 0; }
.community-head p { margin: 0; color: var(--grey-text); max-width: 46ch; }
.photo-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.photo-grid figure { display: flex; flex-direction: column; gap: .5rem; }
.photo-grid .gallery-open { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.photo-grid figcaption { font-size: 1rem; font-weight: 700; color: var(--ink); }

/* ---------- Lightbox ---------- */
.lightbox { width: min(1100px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: var(--radius); background: var(--ink); color: var(--white); overflow: visible; }
.lightbox::backdrop { background: rgba(10, 10, 10, .82); }
.lightbox-figure { display: flex; flex-direction: column; }
.lightbox-img { width: 100%; max-height: 80vh; object-fit: contain; border-radius: var(--radius) var(--radius) 0 0; background: #000; }
.lightbox-caption { padding: .8rem 1.1rem; font-weight: 600; }
.lightbox-close, .lightbox-btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--white); color: var(--ink); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lightbox-close { top: -16px; right: -16px; }
.lightbox-btn { top: 40%; }
.lightbox-prev { left: -24px; }
.lightbox-next { right: -24px; }

/* ---------- Contact ---------- */
.contact-hero { padding-block: clamp(2rem, 5vw, 3.25rem) 2rem; }
.contact-hero h1 { max-width: 18ch; }
.contact-routes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: clamp(2rem, 5vw, 3rem); }
.route-tile { display: flex; flex-direction: column; gap: .25rem; padding: 1.25rem 1.4rem; border-radius: var(--radius); border: 2px solid transparent; text-decoration: none; }
.route-tile strong { font-family: var(--font-head); font-size: 1.25rem; }
.route-tile span { color: var(--grey-text); font-size: .96rem; }
.route-tile--care { background: var(--blue-pale); }
.route-tile--care:hover { border-color: var(--slate); }
.route-tile--living { background: var(--grey-bg); border-left: 5px solid var(--red); }
.route-tile--living:hover { border-color: var(--red); }
.route-tile--pro { background: var(--grey-bg); }
.route-tile--pro:hover { border-color: var(--ink); }
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }

/* ---------- Forms ---------- */
.form-card { padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.form-card > h2 { font-size: 1.8rem; }
.form-intro { margin: .5rem 0 0; color: var(--grey-text); }
.form-required-note { margin: .5rem 0 1.5rem; font-size: .93rem; color: var(--grey-text); }
.req { color: var(--red); }
.field { margin: 0 0 1.35rem; padding: 0; border: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.field--narrow input { max-width: 14rem; }
.field > label, .field legend { display: block; margin-bottom: .4rem; padding: 0; font-weight: 600; }
.field > label.choice { display: flex; font-weight: 400; }
.hint { margin: -.15rem 0 .5rem; font-size: .93rem; color: var(--grey-text); }
.enquiry-form input[type="text"], .enquiry-form input[type="email"], .enquiry-form input[type="tel"], .enquiry-form select, .enquiry-form textarea {
  width: 100%; min-height: 50px; padding: .75rem .85rem;
  font: inherit; color: var(--ink); background: var(--white);
  border: 2px solid #8A929C; border-radius: var(--radius-sm);
}
.enquiry-form textarea { resize: vertical; }
.enquiry-form input:focus, .enquiry-form select:focus, .enquiry-form textarea:focus { outline: 3px solid var(--slate); outline-offset: 1px; border-color: var(--ink); }
.enquiry-form [aria-invalid="true"] { border-color: var(--red); }
.field-error { margin: .4rem 0 0; color: var(--red-dark); font-weight: 600; font-size: .95rem; }
.field-error::before { content: "! "; }
.choice-row { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.choice { display: flex; align-items: flex-start; gap: .6rem; padding: .55rem 0; line-height: 1.4; cursor: pointer; }
.choice-grid .choice { padding: .75rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.choice-grid .choice:has(input:checked) { border-color: var(--slate); background: var(--blue-pale); }
.choice input { flex: none; width: 20px; height: 20px; margin: .1rem 0 0; accent-color: var(--slate); }
.choice--consent a { font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-commitment { margin-top: .9rem; font-size: .93rem; color: var(--grey-text); }
.error-summary { margin-bottom: 1.5rem; padding: 1rem 1.25rem; border: 3px solid var(--red); border-radius: var(--radius-sm); }
.error-summary h3 { margin-bottom: .5rem; font-family: var(--font-body); font-size: 1.1rem; }
.error-summary ul { list-style: none; display: grid; gap: .3rem; }
.error-summary a { color: var(--red-dark); font-weight: 600; }
.form-success { padding: 1.25rem 1.5rem; border-left: 5px solid var(--slate); border-radius: var(--radius-sm); background: var(--blue-pale); }
.form-success h3 { margin-bottom: .4rem; font-size: 1.35rem; }
.form-success p + p { margin-top: .5rem; }
.form-success a { font-weight: 700; }

.contact-details { display: grid; gap: 1rem; }
.detail-block { padding: 1.25rem 1.4rem; border-radius: var(--radius); background: var(--grey-bg); }
.detail-block h2 { margin-bottom: .4rem; font-family: var(--font-body); font-size: 1rem; font-weight: 700; }
.detail-block p { margin: 0 0 .4rem; color: var(--grey-text); }
.detail-block a { font-weight: 600; color: inherit; }
.detail-block--phone { background: var(--ink); color: var(--white); }
.detail-block--phone p { color: #C9CDD3; }
.big-phone { display: block; margin-bottom: .5rem; font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--white); text-decoration: none; }
.big-phone:hover { text-decoration: underline; }
.detail-block--phone :focus-visible { outline-color: var(--white); }
.detail-block--urgent { background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--red); }
.address-block { margin-bottom: .75rem; font-size: 1.1rem; line-height: 1.6; }
.photo-pair { display: grid; grid-template-columns: 1.4fr 1fr; gap: .75rem; }
.photo-pair img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; border-radius: var(--radius); }

/* ---------- Generic content page ---------- */
.content-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); padding-block: clamp(2.5rem, 5vw, 4rem) var(--section); }
.content-layout--single { grid-template-columns: minmax(0, 1fr); }
.section-nav { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.section-nav-title { margin: 0 0 .75rem; font-weight: 700; }
.section-nav-title a { text-decoration: none; }
.section-nav ul { list-style: none; border-left: 2px solid var(--line); }
.section-nav a { display: block; margin-left: -2px; padding: .5rem 0 .5rem 1rem; border-left: 2px solid transparent; color: var(--grey-text); text-decoration: none; }
.section-nav a:hover { color: var(--ink); }
.section-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; border-left-color: var(--red); }
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.1em; }
.prose p, .prose ul, .prose ol { margin-bottom: 0; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.prose h3 { margin-top: 1.8em; font-size: 1.3rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li + li { margin-top: .4rem; }
.prose li::marker { color: var(--red); }
.prose a { color: var(--ink); font-weight: 600; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose blockquote { margin-inline: 0; padding: .25rem 0 .25rem 1.5rem; border-left: 4px solid var(--red); font-family: var(--font-head); font-size: 1.35rem; line-height: 1.45; }
.page-meta { margin-top: 2.5rem !important; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .9rem; color: var(--grey-text); }

/* ---------- Footer ---------- */
.site-footer { padding-top: clamp(3rem, 6vw, 4rem); background: var(--grey-bg); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.logo--footer { margin-bottom: 1rem; }

.footer-about { color: var(--grey-text); font-size: .97rem; }
.footer-about strong { color: var(--ink); }
.footer-brand address { margin-top: 1rem; line-height: 1.75; }
.footer-brand address a { font-weight: 600; text-decoration: none; }
.footer-brand address a:hover { text-decoration: underline; }
.footer-social { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1rem; }
.footer-social a { font-weight: 600; text-underline-offset: 3px; }
.footer-heading { margin-bottom: .75rem; font-family: var(--font-body); font-size: 1rem; font-weight: 700; }
.footer-heading--spaced { margin-top: 1.5rem; }
.site-footer nav ul { list-style: none; }
.site-footer nav a { display: inline-block; padding: .28rem 0; color: var(--grey-text); text-decoration: none; }
.site-footer nav a:hover { color: var(--ink); text-decoration: underline; }
.site-footer nav .cqc-seal { display: flex; padding: 0; color: var(--white); text-decoration: none; }
.site-footer nav .cqc-seal:hover { color: var(--white); text-decoration: none; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-block: 1.25rem; border-top: 1px solid var(--line); font-size: .9rem; color: var(--grey-text); }
.footer-base p { margin: 0; }
.footer-base p:last-child { font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.accreditations { padding-block: 1.75rem 2rem; border-top: 1px solid var(--line); }
.accreditation-list { list-style: none; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1rem 1.5rem; }
.accreditation-list li { display: flex; align-items: center; gap: .75rem; }
.accreditation-list .accreditation-item--stacked { flex-direction: column; gap: .5rem; }
.accreditation { display: flex; align-items: center; justify-content: center; height: 92px; padding: .75rem 1.1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .18s ease, box-shadow .18s ease; }
.accreditation:hover { border-color: var(--ink); box-shadow: 0 6px 18px rgba(26,26,26,.08); }
.accreditation img { width: auto; height: 100%; max-width: 220px; object-fit: contain; }
.accreditation-list li:nth-child(2) .accreditation img { height: 34px; }
.accreditation--essex img, .accreditation--southend img { max-height: 52px; width: auto; }
.mobile-actions { display: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1440px) {
  .header-phone { display: none; }
  .header-call { display: grid; }
}
@media (max-width: 1340px) {
  .header-phone-label { display: none; }
  .site-logo-image { width: 150px; }
  .nav-link { padding-inline: .5rem; font-size: .97rem; }
}

@media (max-width: 1200px) {
  :root { --header-h: 64px; }
  .header-inner { gap: .75rem; }
  .header-actions { display: none; }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: .6rem; margin-left: auto; min-height: 44px; padding: .5rem .9rem;
    font: inherit; font-weight: 600; background: none; border: 2px solid var(--ink); border-radius: var(--radius-sm); cursor: pointer;
  }
  .menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after { display: block; position: relative; width: 18px; height: 2px; background: var(--ink); }
  .menu-toggle-bars::before, .menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .menu-toggle-bars::before { top: -6px; }
  .menu-toggle-bars::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { top: 0; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { top: 0; transform: rotate(-45deg); }

  .primary-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    padding: .5rem var(--gutter) 1.5rem; background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(26,26,26,.12);
  }
  .primary-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; padding: .85rem .6rem; font-size: 1.08rem; border-bottom: 0; }
  .nav-link[aria-current="page"], .nav-link.is-current { color: var(--red-dark); font-weight: 700; }
  .dropdown { position: static; box-shadow: none; border: 0; border-radius: 0; margin-bottom: .75rem; }
  .dropdown--mega { width: 100%; grid-template-columns: 1fr; }
  .mega-services { padding: .25rem 0 0; border-top: 0; }
  .mega-list { grid-template-columns: 1fr; }
  .mega-list span { display: none; }
  .mega-aside { display: none; }
  .dropdown--list { padding: 0; }
  .nav-mobile-actions { display: grid; gap: .6rem; margin-top: 1.25rem; }

  body { padding-bottom: 64px; }
  .mobile-actions { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(26,26,26,.08); }
  .mobile-action { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 58px; font-weight: 700; text-decoration: none; }
  .mobile-action--call { background: var(--white); color: var(--ink); }
  .mobile-action--call svg { color: var(--red); }
  .mobile-action--enquire { background: var(--red); color: var(--white); }

  .trust-bar-list { grid-template-columns: repeat(2, 1fr); }
  .service-grid, .route-cards { grid-template-columns: repeat(2, 1fr); }
  .route-card--pro { grid-column: 1 / -1; }
  .step-flow { grid-template-columns: 1fr; gap: 0; }
  .step-flow::before { top: 22px; bottom: 22px; left: 22px; right: auto; width: 2px; height: auto; }
  .step-flow li { padding: 0 0 1.5rem 4rem; min-height: 46px; }
  .step-flow li:last-child { padding-bottom: 0; }
  .feature-grid, .feature-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .focus-grid, .photo-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-panels { grid-template-columns: 1fr; gap: 0; }
  .hero-panel { height: auto; display: flex; flex-direction: column; }
  .hero-panel img, .hero-panel-img { position: relative; inset: auto; height: clamp(220px, 58vw, 380px); }
  .hero-panel::after { display: none; }
  .hero-panel-label { position: static; width: 100%; padding: 1.1rem var(--gutter) 1.3rem; border-radius: 0 !important; }
  .hero-panel-text { font-size: .95rem; }
  .hero-panel-cta { margin-top: .7rem; }
  .hero-seals { left: auto; right: .75rem; bottom: auto; top: .75rem; transform: none; flex-direction: column; gap: .4rem; }
  .hero-seals .cqc-seal, .hero-seals .score-seal { width: 70px; border-width: 3px; }
  .hero-seals .score-seal-big { font-size: 1.1rem; }
  .hero-seals .score-seal-small { font-size: .5rem; }
  .hero-seals .score-seal-src { font-size: .45rem; }
  .hero-seals .cqc-seal-small { font-size: .55rem; }
  .hero-seals .cqc-seal-big { font-size: 1.1rem; }
  .intro-band { padding-top: 2.5rem; }
  .intro-grid, .why-grid, .feature-split, .quality-grid, .team-split, .page-hero-grid, .info-panel, .split-aside,
  .two-col, .contact-grid, .content-layout, .property-grid, .form-split, .pro-hero-grid { grid-template-columns: 1fr; }
  .feature-split--flip .feature-split-media { order: 0; }
  .feature-split-media { position: relative; top: auto; }
  .feature-split-inset { left: auto; right: 1rem; }
  .page-hero-media { order: -1; }
  .page-hero--care .page-hero-media::before { display: none; }
  .page-hero-media img { aspect-ratio: 16 / 10; }
  .aside-card, .section-nav, .form-split > div:first-child { position: static; }
  .related-list, .contact-routes, .story-grid { grid-template-columns: 1fr; }
  .sl-hero { flex-direction: column; min-height: 0; }
  .sl-hero-media { position: static; height: 300px; }
  .sl-hero-panel { margin-block: -3rem 0; box-shadow: 0 10px 30px rgba(26,26,26,.12); }
  .service-rows a { grid-template-columns: 1fr; gap: .15rem; }
  .jump-nav { top: var(--header-h); }
}

@media (max-width: 560px) {
  .btn { white-space: normal; }
  .page-hero-ctas .btn, .button-row .btn { width: 100%; }
  .service-grid, .route-cards, .why-list, .feature-grid, .feature-grid--4, .field-row, .choice-grid, .life-strip, .report-cards { grid-template-columns: 1fr; }
  .trust-bar-list { grid-template-columns: 1fr 1fr; font-size: .9rem; }
  .focus-grid, .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .focus-grid li { overflow-wrap: break-word; hyphens: auto; }
  .rating-board { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 110px; }
  .gallery-item--main { grid-row: span 2; }
  .fact-list div, .glance dl div { grid-template-columns: 1fr; gap: .2rem; }
  .team-mosaic { height: 300px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-phone { padding-left: 0; border-left: 0; }
  .lightbox-prev { left: 4px; }
  .lightbox-next { right: 4px; }
  .lightbox-close { top: 6px; right: 6px; }
}

@media (max-width: 360px) {
  .accreditation-list li { flex-wrap: wrap; }
  .accreditation { height: 76px; padding: .6rem .8rem; max-width: 100%; }
  .accreditation img { max-width: 100%; }
  .accreditation-list li:nth-child(2) .accreditation img { height: 26px; }
  .focus-grid, .trust-bar-list, .rating-board { grid-template-columns: 1fr; }
}
