/* ==========================================================================
   Adhore Care — site styles
   Brand tokens live in :root. Change colours/fonts here and the whole site follows.
   ========================================================================== */

:root {
  /* Colour — Adhore Care palette */
  --c-bg: #FCF5EC;           /* soft cream page background (tint of #F6E2C2) */
  --c-surface: #FFFFFF;
  --c-blush: #FBEDF0;        /* pale pink sections (tint of #FFADBA) */
  --c-sand: #F6E2C2;         /* cream sections */
  --c-line: #EBDAD6;

  --c-ink: #2A1F27;          /* main text (plum-black) */
  --c-ink-soft: #5C4A57;     /* secondary text (7.5:1 on cream) */

  --c-primary: #8A3B6E;      /* plum — main brand colour */
  --c-primary-deep: #5E2A4C; /* deep plum — top bar, footer, hovers */
  --c-on-primary: #FFFFFF;

  --c-accent: #E8A07A;        /* apricot — main buttons (dark text on it) and underlines */
  --c-accent-text: #A84448;   /* brick red — small headings on light backgrounds */
  --c-accent-light: #FFC7D0;  /* light pink — text and lines on plum backgrounds */
  --c-mauve: #9A5C8C;         /* icons */
  --c-pink: #D98CB3;          /* decorative frames and ornaments */

  --c-error: #A32D2D;
  --c-success: #2E6B4A;

  /* Type */
  --f-display: "Marcellus", Georgia, "Times New Roman", serif;
  --f-body: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 120px);
  --radius: 16px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgb(42 31 39 / .06), 0 12px 32px -12px rgb(42 31 39 / .18);

  /* Motion */
  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --dur: 220ms;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-size: 1.125rem;       /* 18px — generous for an older audience */
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-underline-offset: 3px; }
a:hover { color: var(--c-primary-deep); }
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--c-ink);
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.25rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.65rem); }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

:focus-visible {
  outline: 3px solid var(--c-primary-deep);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark :focus-visible { outline-color: var(--c-accent-light); }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; margin-inline: auto; }
.section { padding-block: var(--section); }
.section--blush { background: var(--c-blush); }
.section--sand { background: var(--c-sand); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--c-primary-deep); color: #fff; padding: 12px 20px; border-radius: 8px;
}
.skip-link:focus { top: 16px; color: #fff; }

.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Eyebrow + ornament (the arch motif) ---------- */
.eyebrow {
  display: inline-block;
  font-size: .875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-accent-text);
  margin-bottom: 14px;
}
.on-dark .eyebrow { color: var(--c-accent-light); }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.3rem); color: var(--c-ink-soft); }
.on-dark .lead { color: rgb(255 255 255 / .88); }

.ornament {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  color: var(--c-pink); margin: 0 auto 20px; max-width: 220px;
}
.ornament::before, .ornament::after { content: ""; height: 1px; flex: 1; background: currentColor; opacity: .7; }
.ornament svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.section-head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-head p { color: var(--c-ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1 var(--f-body); letter-spacing: .02em;
  text-decoration: none; cursor: pointer;
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
  touch-action: manipulation;
}
.btn:active { transform: scale(.98); }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn-accent { background: var(--c-accent); color: var(--c-ink); }
.btn-accent:hover { background: #EDB291; color: var(--c-ink); }
.btn-primary { background: var(--c-primary); color: var(--c-on-primary); }
.btn-primary:hover { background: var(--c-primary-deep); color: #fff; }
.btn-outline { border-color: var(--c-primary); color: var(--c-primary); background: transparent; }
.btn-outline:hover { background: var(--c-primary); color: #fff; }
.btn-ghost-light { border-color: rgb(255 255 255 / .75); color: #fff; background: rgb(255 255 255 / .06); }
.btn-ghost-light:hover { background: #fff; color: var(--c-primary-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row, .btn-row.center { justify-content: center; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--c-primary); text-decoration: none;
  min-height: 44px;
}
.text-link .icon { transition: transform var(--dur) var(--ease-out); }
.text-link:hover .icon { transform: translateX(4px); }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--c-primary-deep); color: rgb(255 255 255 / .9); font-size: .9375rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.topbar p { margin: 0; }
.topbar__links { display: flex; gap: 24px; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.topbar a:hover { color: var(--c-accent-light); }

/* Accessibility options (added to the top bar by main.js) */
.a11y-bar { display: flex; align-items: center; gap: 6px; padding-block: 6px; }
.a11y-bar__label { font-size: .875rem; margin-right: 4px; color: rgb(255 255 255 / .9); }
.a11y-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-width: 44px; min-height: 44px; padding: 0 10px;
  border: 1px solid rgb(255 255 255 / .45); border-radius: 10px;
  background: transparent; color: #fff; cursor: pointer;
  font-family: var(--f-body); font-weight: 700; line-height: 1;
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.a11y-btn--wide { font-size: 15px; padding: 0 14px; }
.a11y-btn:hover { background: rgb(255 255 255 / .12); }
.a11y-btn[aria-pressed="true"] { background: var(--c-accent-light); color: var(--c-primary-deep); border-color: var(--c-accent-light); }
@media (max-width: 900px) { .topbar p { display: none; } }
@media (max-width: 760px) { .has-call-bar .topbar { display: none; } } /* phones use the bottom call bar instead */
@media (max-width: 960px) { .topbar__email { display: none !important; } }
.a11y-bar__label, .topbar a, .a11y-btn { white-space: nowrap; }

/* Larger text options: everything is sized in rem, so the whole site scales */
html.text-lg { font-size: 112.5%; }
html.text-xl { font-size: 125%; }
/* ...header tweaks for enlarged text (main.js swaps to the Menu button whenever the links no longer fit) */
@media (max-width: 1440px) { html.text-lg .topbar__email, html.text-xl .topbar__email { display: none; } }
@media (max-width: 760px) {
  html.text-lg .brand__name, html.text-xl .brand__name { font-size: 1.15rem; }
  html.text-lg .header__inner, html.text-xl .header__inner { gap: 10px; }
  html.text-xl .nav-toggle { padding: 0 12px; }
}
@media (max-width: 420px) {
  .a11y-bar__label, .a11y-hide-sm { display: none; }
}
@media (max-width: 360px) {
  .brand__tag { display: none; }
  .brand__name { font-size: 1.15rem; }
  .header__inner { gap: 10px; }
  .nav-toggle { padding: 0 12px; }
}
@media (max-width: 1100px) { html.text-xl .topbar p { display: none; } }
.nav-primary a, .site-nav > .btn, .nav-toggle { white-space: nowrap; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgb(252 245 236 / .96);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--c-line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--c-ink); }
.brand img { width: 46px; height: 46px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--f-display); font-size: 1.6rem; letter-spacing: .01em; }
.brand__tag { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--c-accent-text); font-weight: 700; margin-top: 4px; }

/* Header navigation: every page link is shown in the header. When they don't fit (phones, tablets,
   very large text) main.js adds .nav-compact and the links move into the Menu panel instead. */
.site-nav { display: flex; align-items: center; gap: 16px; }
.nav-primary { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav-primary a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px;
  color: var(--c-ink); text-decoration: none; font-weight: 700; font-size: 1rem;
  border-radius: 8px; position: relative;
}
.nav-primary a::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 6px; height: 2px;
  background: var(--c-accent); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease-out);
}
.nav-primary a:hover::after, .nav-primary a[aria-current="page"]::after { transform: scaleX(1); }
.nav-primary a[aria-current="page"] { color: var(--c-primary); }

.nav-more { display: none; }
.nav-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 0 18px; border-radius: 999px;
  border: 2px solid var(--c-primary); background: transparent; color: var(--c-primary);
  font: 700 1rem var(--f-body); cursor: pointer;
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.nav-toggle:hover { background: var(--c-blush); }
.nav-toggle[aria-expanded="true"] { background: var(--c-primary); color: #fff; }
.nav-toggle .icon { width: 1.3em; height: 1.3em; }

/* The Menu panel drops down full width under the sticky header */
.more-menu {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 110;
  background: var(--c-surface); border-bottom: 1px solid var(--c-line);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow); padding: 12px var(--gutter) 20px;
  max-height: calc(100dvh - 180px); overflow-y: auto;
}
.more-menu[hidden] { display: none; }
.more-menu__links { list-style: none; margin: 0; padding: 0; }
.more-menu__links a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 54px; padding: 0 16px; border-radius: 12px;
  color: var(--c-ink); font-weight: 700; font-size: 1.0625rem; text-decoration: none;
}
.more-menu__links a .icon { color: var(--c-mauve); }
.more-menu__links a:hover { background: var(--c-blush); }
.more-menu__links a[aria-current="page"] { background: var(--c-blush); color: var(--c-primary); box-shadow: inset 4px 0 0 var(--c-accent); }
.more-menu__cta { width: 100%; margin-top: 10px; }
.more-menu__a11y { margin-top: 12px; padding: 16px 16px 8px; border-top: 1px solid var(--c-line); }
.more-menu__heading { margin: 0 0 4px; font-size: .875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-accent-text); }
.more-menu__hint { margin: 0 0 12px; font-size: .9375rem; color: var(--c-ink-soft); }
.more-menu__help { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 8px; font-weight: 700; }

/* Light version of the accessibility buttons (menu and help page) */
.a11y-bar--light { flex-wrap: wrap; padding: 0; justify-content: flex-start !important; }
.a11y-bar--light .a11y-bar__label { flex-basis: 100%; color: var(--c-ink-soft); font-weight: 700; display: block !important; }
.a11y-bar--light .a11y-hide-sm { display: inline !important; }
.a11y-bar--light .a11y-btn { color: var(--c-ink); border: 1.5px solid #BFA9B4; background: var(--c-surface); }
.a11y-bar--light .a11y-btn:hover { background: var(--c-blush); }
.a11y-bar--light .a11y-btn[aria-pressed="true"] { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

/* Full header: nothing may squash, so main.js can tell when the links no longer fit */
.header__inner > .brand, .site-nav { flex-shrink: 0; }
.brand__name, .brand__tag { white-space: nowrap; }
html.nav-compact .nav-primary, html.nav-compact .site-nav > .nav-cta { display: none; }
html.nav-compact .nav-more { display: block; }
/* Menu mode: the logo may shrink and wrap so the Menu button always fits */
html.nav-compact .header__inner > .brand { flex-shrink: 1; min-width: 0; }
html.nav-compact .brand__name, html.nav-compact .brand__tag { white-space: normal; }
@media (max-width: 480px) {
  html.text-lg .brand__tag, html.text-xl .brand__tag { display: none; }
  html.text-lg .brand img, html.text-xl .brand img { width: 36px; height: 36px; }
}
/* Without JavaScript, let the links wrap rather than run off the screen */
html:not(.js) .header__inner, html:not(.js) .nav-primary, html:not(.js) .site-nav { flex-wrap: wrap; }

/* Accessibility options in the footer (dark version of the buttons) */
.footer__a11y {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px;
  margin-top: 40px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .15);
}
.footer__a11y > p { margin: 0; font-weight: 700; color: #fff; }
.footer__a11y .a11y-bar { padding: 0; flex-wrap: wrap; }
@media (max-width: 760px) {
  .topbar p { display: none; }
  .topbar__inner { justify-content: center; }
  .topbar__links { gap: 16px; flex-wrap: wrap; justify-content: center; }
  .topbar__email { display: none !important; }
  .has-call-bar .topbar__links { display: none; } /* the bottom call bar covers this on phones */
  .a11y-bar { flex-wrap: wrap; justify-content: center; }
  .brand__name { font-size: 1.35rem; }
  .brand__tag { white-space: nowrap; font-size: .6875rem; letter-spacing: .1em; }
  .brand img { width: 40px; height: 40px; }
  .header__inner { min-height: 72px; }
}

/* ---------- Home hero (arched, after the St Bernards feel) ---------- */
.hero {
  position: relative;
  margin: 0 clamp(0px, 1.5vw, 20px);
  min-height: clamp(560px, 82vh, 760px);
  display: grid; place-items: center; text-align: center;
  color: #fff;
  border-radius: 0 0 50% 50% / 0 0 clamp(40px, 9vw, 120px) clamp(40px, 9vw, 120px);
  overflow: hidden;
  isolation: isolate;
}
.hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgb(52 22 42 / .35) 0%, rgb(52 22 42 / .55) 55%, rgb(52 22 42 / .72) 100%);
}
.hero__content { padding: 80px var(--gutter) 120px; max-width: 900px; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--c-accent-light); }
.hero .lead { max-width: 620px; margin: 0 auto 32px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px; border-radius: 999px; margin-bottom: 24px;
  background: rgb(255 255 255 / .12); border: 1px solid rgb(255 255 255 / .35);
  font-size: .9375rem; font-weight: 700;
}
.hero__badge .icon { color: var(--c-accent-light); }
.hero-ornament { display: block; width: min(560px, 80%); margin: -1px auto 0; color: var(--c-accent); }

/* ---------- Inner-page hero ---------- */
.page-hero {
  background: var(--c-blush);
  padding: clamp(56px, 8vw, 104px) 0 clamp(72px, 9vw, 120px);
  text-align: center;
  border-radius: 0 0 50% 50% / 0 0 clamp(28px, 6vw, 80px) clamp(28px, 6vw, 80px);
  margin: 0 clamp(0px, 1.5vw, 20px);
}
.page-hero .lead { max-width: 680px; margin-inline: auto; }
.breadcrumb { font-size: .9375rem; color: var(--c-ink-soft); margin-bottom: 18px; }
.breadcrumb ol { list-style: none; display: flex; justify-content: center; gap: 8px; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--c-pink); }
.breadcrumb a { color: var(--c-ink-soft); }

/* ---------- Trust strip ---------- */
.trust {
  position: relative; z-index: 2;
  margin-top: clamp(-72px, -6vw, -40px);
}
.trust__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--c-surface); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  border: 1px solid var(--c-line);
}
.trust__item { display: flex; gap: 14px; align-items: flex-start; padding: 28px 24px; }
.trust__item + .trust__item { border-left: 1px solid var(--c-line); }
.trust__item .icon { width: 30px; height: 30px; color: var(--c-mauve); margin-top: 2px; }
.trust__item strong { display: block; font-size: 1.0625rem; }
.trust__item span { font-size: .9375rem; color: var(--c-ink-soft); }
@media (max-width: 960px) {
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(3) { border-left: 0; }
  .trust__item:nth-child(n+3) { border-top: 1px solid var(--c-line); }
}
@media (max-width: 560px) {
  .trust__grid { grid-template-columns: 1fr; }
  .trust__item + .trust__item { border-left: 0; border-top: 1px solid var(--c-line); }
}

/* ---------- Split layout with arched image ---------- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 880px) {
  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
}

.arch { position: relative; max-width: 460px; margin-inline: auto; width: 100%; }
.arch img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 999px 999px var(--radius) var(--radius);
}
.arch::before {
  content: ""; position: absolute; inset: -14px 14px 14px -14px;
  border: 1.5px solid var(--c-pink);
  border-radius: 999px 999px var(--radius) var(--radius);
  z-index: -1;
}
.arch-wrap { position: relative; z-index: 0; padding: 14px 0 0 14px; }
.arch__note {
  position: absolute; right: -8px; bottom: 32px;
  background: var(--c-primary); color: #fff;
  padding: 18px 22px; border-radius: var(--radius); box-shadow: var(--shadow);
  max-width: 220px; font-size: .9375rem; line-height: 1.4;
}
.arch__note strong { display: block; font-family: var(--f-display); font-size: 1.6rem; font-weight: 400; color: var(--c-accent-light); }
@media (max-width: 560px) { .arch__note { right: 8px; } }

.placeholder-photo {
  display: grid; place-items: center; text-align: center;
  width: 100%; aspect-ratio: 4 / 5;
  border-radius: 999px 999px var(--radius) var(--radius);
  background: linear-gradient(160deg, var(--c-sand), var(--c-blush));
  color: var(--c-ink-soft); padding: 32px;
}
.placeholder-photo .icon { width: 56px; height: 56px; color: var(--c-mauve); margin: 0 auto 12px; }

.ticks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .icon { color: var(--c-mauve); margin-top: 4px; }
.ticks--2 { grid-template-columns: 1fr 1fr; gap: 12px 28px; }
@media (max-width: 560px) { .ticks--2 { grid-template-columns: 1fr; } }

/* ---------- Service cards ---------- */
.cards { display: grid; gap: 28px; grid-template-columns: repeat(4, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1080px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) { .cards--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cards, .cards--3, .cards--2 { grid-template-columns: 1fr; } }

.card {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.card:hover { box-shadow: var(--shadow); }
.card__media { padding: 14px 14px 0; }
.card__media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 999px 999px 12px 12px; }
.card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card__body p { color: var(--c-ink-soft); font-size: 1.0625rem; }
.card__body .text-link { margin-top: auto; }
.card--plain .card__body { padding: 32px 28px; }
.card__icon {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--c-blush); color: var(--c-primary); margin-bottom: 18px; border: 1px solid #F3D3DD;
}
.card__icon .icon { width: 26px; height: 26px; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.steps li { position: relative; padding-top: 72px; }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--f-display); font-size: 1.5rem;
  border: 1.5px solid var(--c-pink); color: var(--c-accent-text); background: var(--c-bg);
}
.steps li::after {
  content: ""; position: absolute; top: 26px; left: 64px; right: -16px; height: 1px; background: var(--c-line);
}
.steps li:last-child::after { display: none; }
.steps p { color: var(--c-ink-soft); }
.on-dark .steps li::before { background: transparent; color: var(--c-accent-light); border-color: var(--c-accent-light); }
.on-dark .steps li::after { background: rgb(255 255 255 / .2); }
.on-dark .steps p { color: rgb(255 255 255 / .82); }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li::after { display: none; }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Dark band ---------- */
.band { background: var(--c-primary); color: #fff; }
.band h2, .band h3 { color: #fff; }

/* ---------- Values ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--c-line); }
.values > div { padding: 32px 28px 8px 0; }
.values > div + div { padding-left: 28px; border-left: 1px solid var(--c-line); }
.values h3 { display: flex; align-items: center; gap: 12px; }
.values .icon { color: var(--c-mauve); width: 28px; height: 28px; }
.values p { color: var(--c-ink-soft); font-size: 1.0625rem; }
@media (max-width: 960px) {
  .values { grid-template-columns: 1fr 1fr; }
  .values > div:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) {
  .values { grid-template-columns: 1fr; }
  .values > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--c-line); }
}

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 960px) { .quotes { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; } }
.quote {
  margin: 0; background: var(--c-surface); border-radius: var(--radius-lg);
  padding: 40px 32px 32px; position: relative; border: 1px solid var(--c-line);
}
.quote::before {
  content: "\201C"; position: absolute; top: 4px; left: 26px;
  font-family: var(--f-display); font-size: 5rem; line-height: 1; color: var(--c-pink); opacity: .7;
}
.quote blockquote { margin: 0 0 20px; font-size: 1.125rem; }
.quote figcaption { font-weight: 700; color: var(--c-ink-soft); font-size: 1rem; }
.placeholder-note {
  display: inline-block; margin-top: 28px; font-size: .9375rem; color: var(--c-ink-soft);
  background: var(--c-sand); padding: 6px 14px; border-radius: 999px;
}

/* ---------- Areas ---------- */
.areas { position: relative; color: #fff; isolation: isolate; overflow: hidden; }
.areas__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.areas::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(52 22 42 / .88) 0%, rgb(52 22 42 / .7) 55%, rgb(52 22 42 / .35) 100%); }
.areas h2 { color: #fff; }
.chips { list-style: none; padding: 0; margin: 28px 0 32px; display: flex; flex-wrap: wrap; gap: 10px; max-width: 640px; }
.chips li {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border-radius: 999px; border: 1px solid rgb(255 255 255 / .4); background: rgb(255 255 255 / .08);
  font-weight: 700; font-size: 1rem;
}
.chips li .icon { color: var(--c-accent-light); width: 1.1em; height: 1.1em; }

/* ---------- CTA panel ---------- */
.cta-panel {
  background: var(--c-primary); color: #fff; border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px); text-align: center; position: relative; overflow: hidden;
}
.cta-panel::before {
  content: ""; position: absolute; left: 50%; top: 24px; transform: translateX(-50%);
  width: min(70%, 520px); aspect-ratio: 1; border: 1px solid rgb(255 199 208 / .35);
  border-radius: 50% 50% 0 0; pointer-events: none;
}
.cta-panel h2 { color: #fff; position: relative; }
.cta-panel .lead { position: relative; max-width: 620px; margin: 0 auto 32px; }
.cta-panel .btn-row { position: relative; justify-content: center; }

/* ---------- Service detail rows ---------- */
.service-row + .service-row { margin-top: clamp(72px, 10vw, 128px); }
.service-row h2 { margin-bottom: 16px; }
.meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; padding: 0; list-style: none; }
.meta li { background: var(--c-blush); color: var(--c-primary-deep); font-weight: 700; font-size: .9375rem; padding: 6px 14px; border-radius: 999px; }

/* ---------- Owner quote ---------- */
.pullquote {
  font-family: var(--f-display); font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.35;
  margin: 0 auto; max-width: 860px; text-align: center; color: var(--c-primary-deep);
}
.pullquote footer { font-family: var(--f-body); font-size: 1rem; color: var(--c-ink-soft); margin-top: 20px; font-weight: 700; }
.signature { font-family: var(--f-display); font-size: 1.6rem; color: var(--c-primary); margin: 8px 0 0; }

/* ---------- Funding ---------- */
.fund-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 860px) { .fund-grid { grid-template-columns: 1fr; } }
.fund-card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: 32px; }
.fund-card h3 { display: flex; gap: 14px; align-items: center; }
.fund-card .num {
  flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--c-primary); color: #fff; font-family: var(--f-display); font-size: 1.25rem;
}
.fund-card p, .fund-card li { color: var(--c-ink-soft); font-size: 1.0625rem; }
.fund-card ul { margin: 0 0 1em; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .price-grid { grid-template-columns: 1fr; } }
.price { background: var(--c-surface); border-radius: var(--radius-lg); padding: 32px; text-align: center; border: 1px solid var(--c-line); }
.price__amount { font-family: var(--f-display); font-size: 2.6rem; color: var(--c-primary); margin: 8px 0 4px; font-variant-numeric: tabular-nums; }
.price__unit { color: var(--c-ink-soft); font-size: 1rem; }

.callout {
  border-left: 4px solid var(--c-accent); background: var(--c-surface);
  padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0; font-size: 1rem; color: var(--c-ink-soft);
}

/* FAQ */
.faq { max-width: 860px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--c-line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 64px; padding: 16px 0; font-weight: 700; font-size: 1.125rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.4rem; font-weight: 400;
  border: 1.5px solid var(--c-pink); color: var(--c-accent-text);
  transition: transform var(--dur) var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 24px; color: var(--c-ink-soft); }

.links-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.links-list a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  min-height: 64px; padding: 14px 20px; border-radius: var(--radius);
  background: var(--c-surface); border: 1px solid var(--c-line); text-decoration: none; font-weight: 700;
}
.links-list a:hover { border-color: var(--c-accent); }

/* ---------- Services page ---------- */
.jump-links { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.jump-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border-radius: 999px; background: var(--c-surface); border: 1px solid var(--c-line);
  color: var(--c-primary); font-weight: 700; text-decoration: none;
}
.jump-links a:hover { border-color: var(--c-accent); }
.service-row h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 16px; }
.price-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .price-grid--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .price-grid--4 { grid-template-columns: 1fr; } }
.faq__group { font-size: 1.35rem; margin: 32px 0 4px; color: var(--c-primary); }
.faq__group:first-child { margin-top: 0; }
[id] { scroll-margin-top: 110px; } /* keep jumped-to sections clear of the sticky header */

/* ---------- Accessibility help page ---------- */
.try-card h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.try-card [data-a11y-slot] { margin-top: 8px; }
.help-card .help-steps { margin: 0 0 1em; padding-left: 1.3em; display: grid; gap: 10px; }
.help-card .help-steps li { color: var(--c-ink); }
.help-card .help-steps li::marker { color: var(--c-accent-text); font-weight: 700; }
kbd {
  display: inline-block; font: 700 .9375rem/1.4 var(--f-body); color: var(--c-ink);
  background: var(--c-surface); border: 1.5px solid #BFA9B4; border-bottom-width: 3px;
  border-radius: 6px; padding: 0 8px; white-space: nowrap;
}

/* ---------- Jobs ---------- */
.job { display: flex; flex-direction: column; }
.job .meta { margin-bottom: 16px; }

/* ---------- Forms ---------- */
.form-card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: 8px; font-size: 1rem; }
.field .req { color: var(--c-error); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea, .field input[type="file"] {
  width: 100%; min-height: 52px; padding: 12px 16px;
  font: inherit; font-size: 1.0625rem; color: var(--c-ink);
  background: var(--c-bg); border: 1.5px solid #BFA9B4; border-radius: 12px;
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.field input[type="file"] { padding: 12px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px rgb(138 59 110 / .25); }
.field .hint { font-size: .9375rem; color: var(--c-ink-soft); margin: 6px 0 0; }
.field .error { display: none; font-size: .9375rem; color: var(--c-error); margin: 6px 0 0; font-weight: 700; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--c-error); }
.field.has-error .error { display: block; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px;
  border: 1.5px solid var(--c-line); border-radius: 12px; background: var(--c-bg); cursor: pointer; font-size: 1rem;
}
.choice input { width: 20px; height: 20px; accent-color: var(--c-primary); }
.choice:has(input:checked) { border-color: var(--c-primary); background: #F7EAF1; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; }
.consent input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--c-primary); flex: none; }
.form-status { margin-top: 20px; padding: 16px 20px; border-radius: 12px; font-weight: 700; display: none; }
.form-status.is-success { display: block; background: #E7F2EC; color: var(--c-success); }
.form-status.is-error { display: block; background: #F8E6E6; color: var(--c-error); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .card__icon { margin: 0; width: 52px; height: 52px; }
.contact-list strong { display: block; }
.contact-list a { font-size: 1.1875rem; font-weight: 700; overflow-wrap: anywhere; }
.contact-list li > div { min-width: 0; }
.map { border: 0; width: 100%; height: 320px; border-radius: var(--radius-lg); display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-primary-deep); color: rgb(255 255 255 / .85); padding: clamp(56px, 7vw, 88px) 0 28px; margin-top: var(--section); font-size: 1rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--c-accent-light); text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.site-footer h3 { color: var(--c-accent-light); font-size: 1.25rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.site-footer ul a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; }
.site-footer .brand { color: #fff; margin-bottom: 18px; }
.site-footer .brand__tag { color: var(--c-accent-light); }
.footer__legal {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .15);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .9375rem; color: rgb(255 255 255 / .7);
}
.footer__legal p { margin: 0; }

/* ---------- Phone call bar (added by main.js, phones only) ---------- */
.call-bar { display: none; }
@media (max-width: 760px) {
  .call-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: flex; gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--c-primary-deep);
    box-shadow: 0 -8px 24px -12px rgb(42 31 39 / .5);
  }
  .call-bar .btn { flex: 1; min-height: 54px; padding: 0 12px; font-size: 17px; white-space: nowrap; }
  .has-call-bar body { padding-bottom: 84px; }
  .has-call-bar { scroll-padding-bottom: 96px; } /* keeps keyboard focus clear of the bar */
}

/* ---------- High contrast mode (toggle in the top bar) ---------- */
html.high-contrast {
  --c-bg: #FFFFFF;
  --c-blush: #FFFFFF;
  --c-sand: #FFFFFF;
  --c-line: #4A3A45;
  --c-ink: #000000;
  --c-ink-soft: #1A1418;
  --c-primary: #5E2A4C;
  --c-primary-deep: #3B1A30;
  --c-accent-text: #7A2A2E;
  --c-accent-light: #FFE3E8;
  --c-mauve: #5E2A4C;
  --c-pink: #5E2A4C;
}
html.high-contrast a:not(.btn):not(.brand) { text-decoration: underline; }
html.high-contrast .section--blush,
html.high-contrast .section--sand,
html.high-contrast .page-hero { border-block: 2px solid var(--c-line); }
html.high-contrast .card,
html.high-contrast .quote,
html.high-contrast .fund-card,
html.high-contrast .price,
html.high-contrast .form-card,
html.high-contrast .trust__grid,
html.high-contrast .links-list a { border: 2px solid var(--c-line); box-shadow: none; }
html.high-contrast .btn-accent { border-color: #000; }
html.high-contrast .hero::before,
html.high-contrast .areas::before { background: rgb(20 8 16 / .84); }
html.high-contrast .field input, html.high-contrast .field select, html.high-contrast .field textarea { border-color: #000; }
html.high-contrast :focus-visible { outline-width: 4px; }

/* ---------- Reveal on scroll (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
