/* ==========================================================================
   Scar Treatment Perth — site styles (layered on Bootstrap 5.3)

   Palette matches the existing website:
     slate   #5B778C  buttons, primary accents   (--plum)
     navy    #425B78  headings, dark bands       (--plum-dark / --aubergine #33465C)
     gold    #C98B4D  links and accents          (--gold, --gold-dark for text)
     sand    #E5DDD5 / #E0D9CE  panels and lines (--blush / --line)
   ========================================================================== */

:root {
  --ivory: #F7F5F1;
  --white: #FFFFFF;
  --ink: #2F3F52;
  --ink-soft: #44556A;
  --muted: #5D6F82;
  --muted-2: #647689;
  --plum: #5B778C;
  --plum-dark: #425B78;
  --aubergine: #33465C;
  --blush: #E5DDD5;
  --line: #E0D9CE;
  --line-dark: #51667C;
  --lilac: #E4EAF0;
  --gold: #C98B4D;
  --gold-dark: #7F5119;
  --tone-rose: #E3D8CE;
  --tone-sand: #E5DDD5;
  --tone-mauve: #D5DEE6;
  --tone-stone: #E0D9CE;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', 'Helvetica Neue', Helvetica, sans-serif;
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;

  --bs-body-font-family: var(--sans);
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--ivory);
  --bs-link-color: var(--gold-dark);
  --bs-link-hover-color: #7E5220;
  --bs-link-color-rgb: 156, 102, 38;
  --bs-border-color: var(--line);
}

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: inherit;
  letter-spacing: -0.015em;
}

a { color: var(--plum); text-decoration: none; }
a:hover { color: var(--plum-dark); }
img { max-width: 100%; height: auto; }

:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; }
.section-dark :focus-visible, .cta-band :focus-visible, .site-footer :focus-visible { outline-color: #F7F5F1; }

.container-xxl { max-width: 1440px; padding-left: clamp(24px, 5.5vw, 80px); padding-right: clamp(24px, 5.5vw, 80px); }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 2000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 12px; color: #fff; }

.preview-bar { background: #C98B4D; color: #1d1405; text-align: center; font-size: 14px; padding: 8px; font-weight: 600; }

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

/* ---------- Buttons ---------- */
.btn {
  --bs-btn-font-weight: 600;
  --bs-btn-padding-x: 28px;
  --bs-btn-padding-y: 14px;
  --bs-btn-font-size: 15px;
  --bs-btn-border-radius: 999px;
  --bs-btn-border-width: 1.5px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px;
}
.btn-lg-pill { --bs-btn-padding-x: 32px; --bs-btn-padding-y: 16px; --bs-btn-font-size: 16px; }
.btn-accent { --bs-btn-color: #fff; --bs-btn-bg: var(--plum); --bs-btn-border-color: var(--plum); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--plum-dark); --bs-btn-hover-border-color: var(--plum-dark); --bs-btn-active-bg: var(--aubergine); --bs-btn-active-color: #fff; }
.btn-ink { --bs-btn-color: #fff; --bs-btn-bg: var(--ink); --bs-btn-border-color: var(--ink); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #000; --bs-btn-hover-border-color: #000; --bs-btn-active-bg: #000; --bs-btn-active-color: #fff; }
.btn-outline-ink { --bs-btn-color: var(--ink); --bs-btn-border-color: var(--ink); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--ink); --bs-btn-hover-border-color: var(--ink); --bs-btn-active-bg: var(--ink); --bs-btn-active-color: #fff; }
.btn-light-solid { --bs-btn-color: var(--aubergine); --bs-btn-bg: var(--ivory); --bs-btn-border-color: var(--ivory); --bs-btn-hover-color: var(--aubergine); --bs-btn-hover-bg: #fff; --bs-btn-hover-border-color: #fff; --bs-btn-active-bg: #fff; --bs-btn-active-color: var(--aubergine); }
.btn-outline-light-pill { --bs-btn-color: #fff; --bs-btn-border-color: #fff; --bs-btn-hover-color: var(--aubergine); --bs-btn-hover-bg: #fff; --bs-btn-hover-border-color: #fff; --bs-btn-active-bg: #fff; --bs-btn-active-color: var(--aubergine); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.home-hero .btn-row { gap: 12px; }
.hero-btn { --bs-btn-padding-x: 26px; }
.hero-btn svg { flex-shrink: 0; }
@media (max-width: 575.98px) { .home-hero .btn-row .hero-btn { width: 100%; } }

.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--gold-dark); }
.text-link svg { transition: transform .2s ease; }
a:hover .text-link svg, .text-link:hover svg { transform: translateX(3px); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--aubergine); color: #DCE5EC; font-size: 13px; letter-spacing: 0.02em; padding: 11px 0; }
.topbar a { color: #DCE5EC; display: inline-flex; gap: 8px; align-items: center; }
.topbar a:hover { color: #fff; }
.topbar-sep { opacity: .45; }

.site-header { position: sticky; top: 0; z-index: 1030; background: #F7F5F1; border-bottom: 1px solid #E4DDD4; }
@media (min-width: 992px) { .site-header { background: rgba(247, 243, 238, 0.96); backdrop-filter: saturate(1.2) blur(8px); } }
.site-header .navbar { padding: 0; min-height: 88px; }
.brand { display: flex; flex-direction: column; gap: 2px; color: var(--ink); line-height: 1.1; margin-right: 24px; }
.brand:hover { color: var(--ink); }
.brand-name { font-family: var(--serif); font-size: 25px; letter-spacing: -0.01em; color: var(--ink); }
.brand-name em { color: var(--gold-dark); }
.brand-heart { color: var(--gold); margin-left: 7px; vertical-align: .32em; flex-shrink: 0; }
/* Header and mobile-menu logo: white heart lifted off the page with a tight shadow below and a
   faint soft one, plus a hairline edge so its shape holds on the light header. Sized to the
   wordmark (about 19px on desktop) so it scales down with it on phones. */
.site-header .brand-heart { color: #fff; width: .76em; height: .76em; margin-left: 6px; vertical-align: .28em;
  filter: drop-shadow(0 0 .6px rgba(47, 63, 82, .6)) drop-shadow(0 2px 0 rgba(47, 63, 82, .45)) drop-shadow(0 4px 4px rgba(47, 63, 82, .2)); }
.footer-brand .brand-heart { color: #E8C79B; margin-left: 8px; }
.brand-tag { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-2); margin-top: 4px; }
.brand-logo { max-height: 62px; width: auto; }

.navbar-toggler { border: 0; padding: 10px; display: flex; flex-direction: column; gap: 5px; box-shadow: none !important; }
.toggler-bar { display: block; width: 26px; height: 2px; background: var(--ink); border-radius: 2px; }

.main-nav { gap: 4px; align-items: center; }
.main-nav .nav-item { position: relative; display: flex; align-items: center; flex-wrap: wrap; }
.main-nav .nav-link { color: var(--ink); font-weight: 500; font-size: 15px; padding: 10px 12px !important; }
.main-nav .nav-link:hover, .main-nav .nav-link.active { color: var(--plum); }
.main-nav .nav-link.active { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 8px; }
.sub-toggle { background: none; border: 0; padding: 6px; margin-left: -10px; color: var(--ink); display: inline-flex; min-width: 32px; min-height: 32px; align-items: center; justify-content: center; }
.sub-menu { list-style: none; margin: 0; padding: 10px; }
.sub-menu a { display: block; padding: 9px 14px; border-radius: 10px; color: var(--ink); font-size: 15px; }
.sub-menu a:hover, .sub-menu a[aria-current="page"] { background: var(--ivory); color: var(--plum); }
.nav-cta { margin-left: 18px; }

@media (min-width: 992px) {
  .site-header .offcanvas-lg .offcanvas-body { display: flex; align-items: center; flex-grow: 1; justify-content: flex-end; }
  .main-nav { margin-left: auto; }
  .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 280px; background: #fff; border-radius: 16px; box-shadow: 0 20px 50px rgba(51, 70, 92, .14); border: 1px solid #E8E2DA; }
  .has-sub:hover > .sub-menu, .has-sub:focus-within > .sub-menu, .has-sub.open > .sub-menu { display: block; }
  .has-sub > .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .main-nav .nav-link { padding: 10px 8px !important; font-size: 14px; }
  .nav-cta { margin-left: 8px; --bs-btn-padding-x: 20px; }
  .brand-name { font-size: 22px; }
}
@media (max-width: 991.98px) {
  .site-header .navbar { min-height: 72px; }
  .offcanvas-lg { background: var(--ivory); }
  .offcanvas-body { display: flex; flex-direction: column; gap: 18px; }
  .main-nav { align-items: stretch; width: 100%; }
  .main-nav .nav-item { border-bottom: 1px solid var(--line); justify-content: space-between; }
  .main-nav .nav-link { font-size: 18px; padding: 14px 0 !important; }
  .sub-toggle { margin-left: 0; min-width: 44px; min-height: 44px; }
  .sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .sub-menu { display: none; width: 100%; padding: 0 0 12px; }
  .has-sub.open > .sub-menu { display: block; }
  .nav-cta { margin-left: 0; }
  .offcanvas-contact { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
  .brand-tag { font-size: 9.5px; }
}

/* ---------- Shared section typography ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-white { background: #fff; }
.section-dark { background: var(--aubergine); color: #F7F5F1; }
.eyebrow { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; margin-bottom: 16px; }
.eyebrow-light { color: #BCCBD7; }
.section-title { font-size: clamp(34px, 4.2vw, 52px); line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 22px; }
.lead-text { font-size: 18px; line-height: 1.7; color: var(--muted); margin-bottom: 26px; }
.section-dark .lead-text { color: #BFCBD6; }
.section-head-split { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 52px; }
.section-head-split .section-title { margin-bottom: 0; max-width: 700px; }
.section-head-center { text-align: center; max-width: 780px; margin: 0 auto 56px; }

.img-placeholder { width: 100%; height: 100%; min-height: 100%; background: var(--tone-rose); }
.tone-rose { background: var(--tone-rose); }
.tone-sand { background: var(--tone-sand); }
.tone-mauve { background: var(--tone-mauve); }
.tone-stone { background: var(--tone-stone); }
.tone-dark { background: var(--aubergine); }

/* ---------- Home hero ---------- */
.home-hero { padding: clamp(48px, 6vw, 72px) 0 clamp(64px, 8vw, 100px); overflow: hidden; }
.hero-title { font-size: clamp(42px, 5.4vw, 70px); line-height: 1.04; letter-spacing: -0.025em; margin-bottom: 26px; }
.hero-title em { color: var(--gold-dark); }
.hero-lead { font-size: 19px; line-height: 1.65; color: var(--muted); max-width: 560px; margin-bottom: 32px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 20px 44px; margin: 38px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats dt { font-family: var(--serif); font-weight: 400; font-size: 38px; line-height: 1.1; }
.hero-stats dd { margin: 0; font-size: 14px; color: var(--muted-2); }

.hero-visual { position: relative; padding: 0 0 70px 60px; }
.hero-arch { aspect-ratio: 9 / 10; border-radius: 999px 999px 24px 24px; overflow: hidden; background: var(--tone-rose); }
.hero-arch img, .hero-arch .img-placeholder { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-quote { position: absolute; left: 0; bottom: 0; width: min(300px, 70%); background: #fff; border-radius: 20px; padding: 22px 24px; box-shadow: 0 24px 48px rgba(51, 70, 92, .12); margin: 0; }
.hero-quote .stars { color: #C98B4D; letter-spacing: 2px; font-size: 15px; }
.hero-quote blockquote { font-family: var(--serif); font-size: 18px; line-height: 1.4; margin: 8px 0; }
.hero-quote figcaption { font-size: 13px; color: var(--muted-2); }
.hero-badge { position: absolute; right: -8px; top: 12%; background: var(--aubergine); color: var(--ivory); border-radius: 999px; padding: 12px 20px; font-size: 14px; font-weight: 500; }
@media (max-width: 575.98px) {
  .hero-visual { padding-left: 0; padding-bottom: 90px; }
  .hero-badge { right: 8px; }
}

/* ---------- Home hero: animated background with depth ----------
   Styles (Admin → Home page → Hero → Background style):
   soft  = ivory with slow blush/lilac light (dark text)
   plum  = aubergine-to-plum with rose light (default, light text)
   image = background image, e.g. the pink-to-indigo gradient (light text) */
.has-bg { position: relative; isolation: isolate; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-bg-layer { position: absolute; inset: -14% -8%; will-change: transform; }
.hero-bg-glow { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.has-bg.is-pointing .hero-bg-glow { opacity: 1; }
.has-bg [data-depth] { will-change: transform; }

/* Floating light (soft + plum) */
.hero-blob { position: absolute; border-radius: 50%; animation: heroBlob 24s ease-in-out infinite alternate; }
.blob-1 { width: 62%; aspect-ratio: 1; right: -6%; top: -16%; animation-duration: 26s; }
.blob-2 { width: 46%; aspect-ratio: 1; right: 26%; bottom: -26%; animation-duration: 31s; animation-delay: -8s; }
.blob-3 { width: 38%; aspect-ratio: 1; left: -10%; top: 8%; animation-duration: 35s; animation-delay: -15s; }
@keyframes heroBlob {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(5%, 7%, 0) scale(1.1); }
  100% { transform: translate3d(-6%, -4%, 0) scale(.94); }
}

/* Soft (default): stays in the ivory/plum palette, dark text as designed */
.hero-style-soft .hero-bg { background: var(--ivory); }
.hero-style-soft .blob-1 { background: radial-gradient(closest-side, rgba(229, 221, 213, .85), rgba(229, 221, 213, 0)); }
.hero-style-soft .blob-2 { background: radial-gradient(closest-side, rgba(203, 216, 226, .75), rgba(203, 216, 226, 0)); }
.hero-style-soft .blob-3 { background: radial-gradient(closest-side, rgba(238, 226, 210, .8), rgba(238, 226, 210, 0)); }
.hero-style-soft .hero-bg-glow { background: radial-gradient(460px circle at var(--glow-x, 70%) var(--glow-y, 40%), rgba(122, 150, 172, .22), rgba(122, 150, 172, 0) 70%); }
.hero-style-soft .hero-quote { box-shadow: 0 24px 50px rgba(66, 91, 120, .14); }
.hero-style-soft .hero-arch { box-shadow: 0 30px 70px rgba(66, 91, 120, .16); }

/* Plum: deep brand colours with rose light */
.hero-style-plum .hero-bg { background: linear-gradient(115deg, #253243 0%, #33465C 45%, #5B778C 100%); }
.hero-style-plum .blob-1 { background: radial-gradient(closest-side, rgba(201, 139, 77, .55), rgba(201, 139, 77, 0)); }
.hero-style-plum .blob-2 { background: radial-gradient(closest-side, rgba(122, 150, 172, .5), rgba(122, 150, 172, 0)); }
.hero-style-plum .blob-3 { background: radial-gradient(closest-side, rgba(91, 119, 140, .35), rgba(91, 119, 140, 0)); }
.hero-style-plum .hero-bg-glow { background: radial-gradient(520px circle at var(--glow-x, 70%) var(--glow-y, 40%), rgba(232, 199, 155, .16), rgba(232, 199, 155, 0) 70%); }

/* Image */
.hero-style-image .hero-bg { background: linear-gradient(100deg, #2B3D52 0%, #42586F 35%, #5B778C 70%, #7E9AAE 100%); }
.hero-bg-img { position: absolute; inset: 0; background-image: var(--hero-bg-sm); background-size: cover; background-position: center;
  animation: heroSettle 1.8s cubic-bezier(.2, .7, .2, 1) both, heroDrift 28s ease-in-out 1.8s infinite alternate; }
@media (min-width: 1000px) { .hero-bg-img { background-image: var(--hero-bg); } }
.hero-style-image .hero-bg-glow { background: radial-gradient(520px circle at var(--glow-x, 70%) var(--glow-y, 40%), rgba(240, 222, 196, .38), rgba(240, 222, 196, 0) 70%); mix-blend-mode: soft-light; }
@keyframes heroSettle { from { transform: scale(1.14); opacity: .4; } to { transform: scale(1.04); opacity: 1; } }
@keyframes heroDrift {
  0%   { transform: scale(1.04) translate3d(0, 0, 0); }
  50%  { transform: scale(1.09) translate3d(-1.5%, 1%, 0); }
  100% { transform: scale(1.05) translate3d(1.2%, -1.2%, 0); }
}

/* Light text for the dark styles */
.hero-dark { color: #fff; }
.hero-bg-veil { position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14, 28, 45, .42) 0%, rgba(14, 28, 45, .22) 45%, rgba(14, 28, 45, 0) 75%),
              linear-gradient(0deg, rgba(14, 28, 45, .18) 0%, rgba(14, 28, 45, 0) 30%); }
.hero-style-plum .hero-bg-veil { background: linear-gradient(90deg, rgba(18, 30, 44, .3) 0%, rgba(18, 30, 44, 0) 60%); }
.hero-dark .eyebrow { color: #E8C79B; }
.hero-style-plum .eyebrow { color: #E8C79B; }
.hero-dark .hero-title { color: #fff; }
.hero-dark .hero-title em { color: #E8C79B; }
.hero-style-plum .hero-title em { color: #E8C79B; }
.hero-dark .hero-lead { color: rgba(255, 255, 255, .88); }
.hero-dark .hero-stats { border-top-color: rgba(255, 255, 255, .24); }
.hero-dark .hero-stats dd { color: rgba(255, 255, 255, .75); }
.hero-dark .btn-light-solid { --bs-btn-bg: #fff; --bs-btn-border-color: #fff; --bs-btn-color: var(--aubergine); --bs-btn-hover-bg: #EFF3F7; --bs-btn-hover-border-color: #EFF3F7; box-shadow: 0 12px 30px rgba(14, 28, 45, .28); }
.hero-dark .btn-outline-light-pill { --bs-btn-hover-color: var(--aubergine); }
.hero-dark .hero-arch { background: rgba(255, 255, 255, .12); box-shadow: 0 40px 80px rgba(18, 30, 44, .35); }
.hero-dark .hero-arch .img-placeholder { background: rgba(255, 255, 255, .14); }
.hero-dark .hero-quote { color: var(--ink); box-shadow: 0 30px 60px rgba(18, 30, 44, .3); }
.hero-style-plum .hero-badge { background: #F7F5F1; color: var(--aubergine); }
.hero-dark :focus-visible { outline-color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .hero-bg-img, .hero-blob { animation: none; }
  .hero-bg-glow { display: none; }
}

/* ---------- Home introduction ---------- */
.home-intro { padding-bottom: clamp(56px, 7vw, 96px); }
.intro-head { position: sticky; top: 120px; }
.intro-head .section-title { max-width: 460px; }
/* With a photo the column is too tall to stay pinned on screen, so it scrolls normally. */
.intro-head.has-image { position: static; }
.intro-photo { margin-top: 40px; max-width: 440px; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--blush); }
.intro-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
.intro-lead { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 27px); line-height: 1.45; color: var(--ink); margin-bottom: 28px; letter-spacing: -0.01em; }
.intro-body p { font-size: 17.5px; line-height: 1.75; color: var(--ink-soft); margin-bottom: 1.1em; }
.intro-quote { margin: 34px 0 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--gold); font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2vw, 24px); line-height: 1.5; color: var(--plum-dark); }
.philosophy-card { margin-top: clamp(48px, 6vw, 80px); background: var(--blush); border-radius: var(--radius-lg); padding: clamp(28px, 4.5vw, 56px); }
.philosophy-mark { display: inline-flex; width: 48px; height: 48px; border-radius: 50%; background: #fff; align-items: center; justify-content: center; margin-bottom: 16px; }
.philosophy-mark .brand-heart { margin: 0; vertical-align: 0; }
.philosophy-title { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; margin: 0; }
.philosophy-text p { font-size: 17px; line-height: 1.75; color: var(--ink-soft); margin-bottom: 1em; }
.philosophy-card .text-link { margin-top: 6px; }
#pay-it-forward { scroll-margin-top: 110px; }
@media (max-width: 991.98px) { .intro-head { position: static; } }

/* ---------- Service cards ---------- */
.service-card { display: flex; flex-direction: column; height: 100%; background: var(--ivory); border-radius: var(--radius-md); overflow: hidden; color: var(--ink); transition: box-shadow .25s ease, transform .25s ease; }
.section:not(.section-white) .service-card { background: #fff; }
.service-card:hover { color: var(--ink); box-shadow: 0 22px 44px rgba(51, 70, 92, .1); transform: translateY(-2px); }
.service-card-img { aspect-ratio: 4 / 3; overflow: hidden; }
.service-card-img img, .service-card-img .img-placeholder { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-card-body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.service-card-body h3, .service-card-body .h3 { font-size: 25px; line-height: 1.15; margin: 0; }
.service-card-body p { font-size: 15px; line-height: 1.6; color: var(--muted); flex-grow: 1; margin: 0; }

.pill-links { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 40px; }
.pill-links span { font-size: 14px; color: var(--muted-2); margin-right: 6px; }
.pill-links a { border: 1px solid #DDD5CB; border-radius: 999px; padding: 9px 18px; font-size: 14px; color: var(--ink); }
.pill-links a:hover { border-color: var(--plum); color: var(--plum); }

/* ---------- About ---------- */
.about-collage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
/* The photo keeps a 3:5 shape (the ::before sets its minimum height) and the two tiles beside it
   share that height equally, so all the top and bottom edges line up. If the tiles' text ever
   needs more room (narrow phones), the photo grows taller to match rather than being squashed. */
.about-main { border-radius: 24px; overflow: hidden; position: relative; }
.about-main::before { content: ''; display: block; padding-top: 166.67%; }
.about-side { display: grid; grid-auto-rows: 1fr; gap: 20px; }
.about-small { border-radius: 24px; overflow: hidden; position: relative; }
.about-main img, .about-small img, .about-main .img-placeholder, .about-small .img-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.about-quote { background: var(--blush); padding: 26px; margin: 0; display: flex; flex-direction: column; justify-content: center; }
.about-quote blockquote { font-family: var(--serif); font-size: clamp(18px, 1.7vw, 24px); line-height: 1.25; color: var(--ink); margin: 0; }
.about-quote figcaption { margin-top: 14px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); }
.about-stat { background: var(--aubergine); color: var(--ivory); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; justify-content: center; }
.about-stat strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 42px; line-height: 1.1; }
.about-stat span { font-size: 14px; color: #C9D4DE; }
@media (max-width: 575.98px) {
  .about-collage, .about-side { gap: 12px; }
  .about-quote, .about-stat { padding: 18px; }
  .about-stat strong { font-size: 32px; }
  .about-stat span { display: block; font-size: 13px; line-height: 1.45; }
}
.check-list { list-style: none; padding: 26px 0 0; margin: 0 0 32px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-soft); }
.check { width: 28px; height: 28px; border-radius: 999px; background: var(--lilac); color: var(--plum); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: -1px; }

/* ---------- What we treat ---------- */
.treat-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.treat-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 21px 0; border-bottom: 1px solid var(--line-dark); color: #F7F5F1; font-size: 18px; }
.treat-list a svg { color: #B79AB0; flex-shrink: 0; transition: transform .2s ease; }
.treat-list a:hover { color: #fff; }
.treat-list a:hover svg { transform: translate(2px, -2px); color: #fff; }
@media (max-width: 767.98px) { .treat-list { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { margin-bottom: 48px; padding: 0; }
.step-card { background: #fff; border-radius: var(--radius-md); padding: 36px 32px; height: 100%; }
.step-num { font-family: var(--serif); font-size: 20px; color: var(--gold-dark); }
.step-card h3 { font-size: 26px; margin: 12px 0 10px; }
.step-card p { font-size: 16px; color: var(--muted); margin: 0; }

/* ---------- Pay It Forward ---------- */
.pif-panel { background: var(--blush); border-radius: var(--radius-lg); padding: clamp(32px, 5.5vw, 80px); }
.pif-badge { display: inline-block; background: #fff; color: var(--gold-dark); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 8px 16px; border-radius: 999px; margin-bottom: 20px; }
.pif-panel .lead-text { color: #4E4452; }
.dot-list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.dot-list li { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--ink-soft); }
.dot-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--plum); flex-shrink: 0; }
.pif-video { border-radius: 24px; overflow: hidden; background: var(--aubergine); aspect-ratio: 4 / 5; }
.pif-video video, .pif-video img, .pif-video .img-placeholder { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
@media (max-width: 575.98px) { .dot-list { grid-template-columns: 1fr; } }

/* Consultations: her wording */
.consult-title { font-style: italic; }
.consult-close { text-align: center; }
.consult-closing { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2vw, 24px); color: var(--plum-dark); margin-bottom: 22px; }
.step-card h3 { font-size: 23px; }

/* Pay It Forward: her wording */
.pif-quote { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.18; letter-spacing: -0.015em; color: var(--plum-dark); margin: 0 0 22px; }
.pif-lead { font-family: var(--serif); font-size: clamp(20px, 2vw, 23px); line-height: 1.45; color: var(--ink); margin-bottom: 18px; }
.pif-body p { font-size: 17px; line-height: 1.75; color: var(--ink-soft); margin-bottom: 1em; }
.pif-offer { display: flex; gap: clamp(20px, 3vw, 36px); align-items: center; background: #fff; border-radius: var(--radius-md); padding: clamp(24px, 3vw, 34px) clamp(24px, 3.5vw, 40px); margin: clamp(32px, 4vw, 48px) 0; }
.pif-offer-figure { font-family: var(--serif); font-size: clamp(48px, 6vw, 72px); line-height: 1; color: var(--plum-dark); flex-shrink: 0; }
.pif-offer-figure small { display: block; font-family: var(--sans); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); margin-top: 8px; font-weight: 600; }
.pif-offer-text p { font-size: 17px; line-height: 1.7; color: var(--ink-soft); margin: 0 0 .6em; }
.pif-offer-text p:last-child { margin-bottom: 0; }
.pif-subhead { font-family: var(--sans); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--gold-dark); margin-bottom: 16px; }
.pif-list { grid-template-columns: 1fr; gap: 10px; margin-bottom: 0; }
.pif-list li { font-size: 16.5px; }
.pif-note p { font-size: 17px; line-height: 1.7; color: var(--ink-soft); margin-bottom: .8em; }
.pif-cta { text-align: center; margin-top: clamp(36px, 4.5vw, 56px); padding-top: clamp(32px, 4vw, 44px); border-top: 1px solid rgba(66, 91, 120, .18); }
.pif-closing { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.6vw, 32px); color: var(--plum-dark); margin-bottom: 24px; display: inline-flex; align-items: center; gap: 12px; }
.pif-closing .brand-heart { margin: 0; vertical-align: 0; }
/* The standout button: large white text on deep navy */
.pif-btn { --bs-btn-color: #fff; --bs-btn-bg: var(--aubergine); --bs-btn-border-color: var(--aubergine); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #22303F; --bs-btn-hover-border-color: #22303F; --bs-btn-active-bg: #1B2633; --bs-btn-active-color: #fff;
  --bs-btn-font-size: clamp(17px, 1.7vw, 21px); --bs-btn-font-weight: 600; --bs-btn-padding-x: clamp(26px, 3vw, 44px); --bs-btn-padding-y: 20px;
  min-height: 64px; max-width: 100%; white-space: normal; line-height: 1.35; box-shadow: 0 18px 40px rgba(34, 48, 63, .28); gap: 14px; }
.pif-btn svg { width: 22px; height: 22px; flex-shrink: 0; }
.pif-btn:hover { transform: translateY(-1px); box-shadow: 0 22px 46px rgba(34, 48, 63, .34); }
.pif-video { aspect-ratio: 4 / 5; }
@media (max-width: 575.98px) {
  .pif-offer { flex-direction: column; align-items: flex-start; }
  .pif-closing { display: block; }
  .pif-closing .brand-heart { display: inline-block; vertical-align: .1em; margin: 0 6px; }
  .pif-btn { width: 100%; --bs-btn-border-radius: 22px; --bs-btn-font-size: 18px; --bs-btn-padding-x: 22px; justify-content: flex-start; text-align: left; }
}

/* ---------- Gallery ---------- */
.gallery-tile { margin: 0; }
.gallery-tile img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; display: block; }
.gallery-tile figcaption { font-size: 15px; font-weight: 500; color: var(--ink-soft); margin-top: 12px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.gallery-item { border: 0; padding: 0; background: var(--tone-rose); border-radius: 18px; overflow: hidden; aspect-ratio: 1 / 1; cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.03); }
.lightbox-content { background: transparent; border: 0; align-items: center; }
.lightbox-img { max-height: 80vh; width: auto; max-width: 100%; border-radius: 12px; }
.lightbox-caption { color: #fff; margin-top: 12px; text-align: center; }
.lightbox-close { position: absolute; top: -40px; right: 0; }
.lightbox-nav { display: flex; gap: 12px; margin-top: 8px; }
.lightbox-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); background: transparent; color: #fff; font-size: 26px; line-height: 1; }
.modal-backdrop.show { opacity: .88; }

/* ---------- Reviews ---------- */
.review-card { background: #fff; border-radius: var(--radius-md); padding: 38px 34px; height: 100%; display: flex; flex-direction: column; gap: 20px; margin: 0; }
.quote-mark { color: var(--tone-rose); }
.review-card blockquote { font-family: var(--serif); font-size: 20px; line-height: 1.5; flex-grow: 1; margin: 0; }
.review-card figcaption { display: flex; gap: 14px; align-items: center; border-top: 1px solid #E8E2DA; padding-top: 20px; }
.review-card figcaption strong { display: block; font-size: 15px; }
.review-card figcaption small { color: var(--muted-2); font-size: 13px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--lilac); color: var(--plum); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 15px; flex-shrink: 0; }

/* ---------- CTA band ---------- */
.section-cta { padding: 0 0 clamp(64px, 7vw, 100px); }
.section-white + .section-cta, .page-body + .section-cta { padding-top: clamp(64px, 7vw, 100px); }
.cta-band { background: var(--plum); color: #fff; border-radius: var(--radius-lg); padding: clamp(40px, 5vw, 72px) clamp(28px, 5.5vw, 80px); display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(32px, 3.8vw, 48px); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 10px; }
.cta-band p { font-size: 18px; color: #D7E1EA; margin: 0; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Inner pages ---------- */
.page-hero { padding: clamp(48px, 6vw, 88px) 0 clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 22px; font-size: 14px; color: var(--muted-2); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #B6A9B2; }
.crumbs a { color: var(--muted-2); }
.crumbs a:hover { color: var(--plum); }
.page-title { font-size: clamp(38px, 5vw, 62px); line-height: 1.06; letter-spacing: -0.025em; margin-bottom: 18px; }
.page-intro { font-size: 20px; line-height: 1.6; color: var(--muted); max-width: 720px; margin: 0; }
.page-hero-img { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; }
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.post-date { color: var(--muted-2); margin: 0; }
.post-hero { border-bottom: 0; }
.page-hero.has-bg { border-bottom: 0; padding: clamp(64px, 8vw, 112px) 0 clamp(64px, 8vw, 104px); }
.page-hero.has-bg .blob-1 { width: 48%; top: -60%; }
.page-hero.has-bg .blob-2 { width: 36%; bottom: -70%; }
.page-hero.has-bg .blob-3 { width: 30%; top: -20%; }
.hero-dark .page-title { color: #fff; }
.hero-dark .page-intro, .hero-dark .post-date { color: rgba(255, 255, 255, .86); }
.hero-dark .crumbs { color: rgba(255, 255, 255, .9); }
.hero-dark .crumbs a { color: rgba(255, 255, 255, .72); }
.hero-dark .crumbs a:hover { color: #fff; }
.hero-dark .crumbs li + li::before { color: rgba(255, 255, 255, .4); }
.hero-dark .page-hero-img { box-shadow: 0 30px 70px rgba(18, 30, 44, .35); }
.hero-style-soft .page-hero-img { box-shadow: 0 24px 60px rgba(66, 91, 120, .16); }
.post-feature { width: 100%; border-radius: 24px; margin-bottom: 40px; }

.prose { font-size: 17.5px; line-height: 1.75; color: var(--ink-soft); max-width: 760px; }
.prose-narrow { max-width: 820px; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(28px, 3vw, 36px); line-height: 1.15; color: var(--ink); margin: 1.8em 0 .6em; }
.prose h3 { font-size: 26px; line-height: 1.2; color: var(--ink); margin: 1.6em 0 .5em; }
.prose h4, .prose h5, .prose h6 { font-family: var(--sans); font-weight: 600; font-size: 18px; color: var(--ink); margin: 1.4em 0 .4em; letter-spacing: 0; }
.prose p { margin: 0 0 1.1em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--plum); }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose img { border-radius: 16px; margin: 1em 0; display: block; }
.prose blockquote { font-family: var(--serif); font-size: 22px; line-height: 1.5; color: var(--ink); border: 0; background: var(--blush); border-radius: 18px; padding: 26px 30px; margin: 1.6em 0; }
.prose blockquote p:last-child { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 16px; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose iframe, .prose video { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 16px; }
.prose hr { border-color: var(--line); opacity: 1; margin: 2em 0; }
.prose figure { margin: 1.2em 0 1.4em; }
.prose figure img { width: 100%; max-width: 640px; height: auto; margin: 0; }
.prose figcaption { margin-top: 8px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
/* A boxed note that starts with its own heading ("The important bit") reads as a call-out, not a quote. */
.prose blockquote:has(> h3:first-child, > h4:first-child) { font-family: var(--sans); font-size: 17px; line-height: 1.7; color: var(--ink-soft); }
.prose blockquote > h3:first-child, .prose blockquote > h4:first-child { font-size: 24px; margin: 0 0 .45em; }
.prose blockquote > h3 + p, .prose blockquote > h4 + p { margin-top: 0; }
/* FAQs at the end of a service page (see stp_page_faq_accordion) */
.prose .page-faq { margin: 1.6em 0 0; }
.prose .page-faq .accordion-header { margin: 0; font-size: inherit; }
.prose .page-faq .accordion-button { line-height: 1.45; }
.prose .page-faq .accordion-body > *:first-child { margin-top: 0; }
.prose .page-faq .accordion-body > *:last-child { margin-bottom: 0; }
.prose .page-faq figure img { max-width: 560px; }

.page-sidebar { position: sticky; top: 112px; display: flex; flex-direction: column; gap: 20px; }
.side-card { background: #fff; border-radius: var(--radius-md); padding: 30px; }
.side-card h2 { font-size: 24px; margin-bottom: 12px; }
.side-card-dark { background: var(--aubergine); color: var(--ivory); }
.side-card-dark p { color: #C9D4DE; font-size: 15.5px; }
.side-link { display: block; text-align: center; color: #DCE5EC; margin-top: 12px; font-size: 15px; }
.side-link:hover { color: #fff; }
.side-nav { list-style: none; padding: 0; margin: 0; }
.side-nav a { display: block; padding: 10px 0; border-bottom: 1px solid #E8E2DA; color: var(--ink); font-size: 15.5px; }
.side-nav li:last-child a { border-bottom: 0; }
.side-nav a:hover, .side-nav a[aria-current="page"] { color: var(--plum); }
.side-nav a[aria-current="page"] { font-weight: 600; }
.side-review { margin: 0; }
.side-stars { color: var(--gold); letter-spacing: 2px; font-size: 15px; margin-bottom: 12px; }
.side-review blockquote { font-family: var(--serif); font-size: 18px; line-height: 1.5; color: var(--ink); margin: 0 0 14px; }
.side-review figcaption { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px; }
.side-visit { background: var(--blush); }
.side-visit p { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 12px; }
.side-visit .side-visit-addr { color: var(--ink); font-weight: 500; }
/* Set by site.js when the sidebar is taller than the screen: pinned, its lower cards would be out of reach. */
.page-sidebar.is-static { position: static; }
#testimonials { scroll-margin-top: 110px; }
@media (max-width: 991.98px) { .page-sidebar { position: static; } }

/* ---------- FAQ ---------- */
.faq-accordion { --bs-accordion-bg: #fff; --bs-accordion-border-color: transparent; --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(66, 91, 120, .35); --bs-accordion-active-bg: #fff; --bs-accordion-active-color: var(--ink); display: flex; flex-direction: column; gap: 12px; }
.faq-accordion .accordion-item { border-radius: 18px !important; overflow: hidden; }
.faq-accordion .accordion-button { font-family: var(--sans); font-size: 15.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 22px 26px; color: var(--ink); line-height: 1.4; }
.faq-accordion .accordion-button::after { margin-left: auto; flex-shrink: 0; }
.faq-accordion .accordion-button:not(.collapsed) { box-shadow: none; }
.faq-accordion .accordion-body { padding: 0 26px 24px; font-size: 16.5px; }

/* ---------- Blog ---------- */
.post-card { display: flex; flex-direction: column; height: 100%; background: var(--ivory); border-radius: var(--radius-md); overflow: hidden; color: var(--ink); }
.post-card:hover { color: var(--ink); box-shadow: 0 22px 44px rgba(51, 70, 92, .1); }
.post-card-img { aspect-ratio: 16 / 10; overflow: hidden; }
.post-card-img img, .post-card-img .img-placeholder { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Wide banners with their heading set into the image are shown whole, never cropped; a soft
   blurred copy of the same banner fills the card above and below so every card stays the same height. */
.post-card-img.has-banner { position: relative; }
.post-card-img.has-banner::before { content: ""; position: absolute; inset: -30px; background: var(--banner) center / cover no-repeat; filter: blur(22px) saturate(.9); opacity: .9; }
.post-card-img.has-banner img.is-banner { position: relative; object-fit: contain; }
.post-card-body { padding: 24px 26px 28px; }
.post-card-body time { font-size: 13px; color: var(--muted-2); }
.post-card-body h2, .post-card-body h3 { font-size: 23px; line-height: 1.2; margin: 8px 0 10px; }
.post-card-body p { font-size: 15px; color: var(--muted); margin: 0; }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 48px; }
.pager a { min-width: 44px; height: 44px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); color: var(--ink); }
.pager a.active { background: var(--plum); border-color: var(--plum); color: #fff; }

/* ---------- Contact ---------- */
.contact-intro { margin-bottom: 28px; }
.contact-outro { margin-top: 28px; }
.contact-outro > *:last-child { margin-bottom: 0; }
.contact-intro > *:last-child { margin-bottom: 0; }
.contact-intro h2 { font-size: 28px; margin-top: 1.3em; }
.contact-intro h3, .contact-intro h4 { font-size: 22px; }
.contact-details { display: flex; flex-direction: column; gap: 12px; }
/* Contact page: BOOK NOW buttons around the question form, and in the guest text */
.contact-side { display: flex; flex-direction: column; gap: 18px; }
.contact-side .form-card { margin: 0; }
.book-now-btn { letter-spacing: .08em; font-weight: 600; }
.prose .book-now-row { margin: 1.4em 0 .4em; }
.prose .book-now-row .book-now-btn { color: #fff; text-decoration: none; min-width: 220px; }
.contact-row { display: flex; gap: 16px; align-items: center; background: #fff; border-radius: 18px; padding: 18px 20px; color: var(--ink); }
a.contact-row:hover { color: var(--plum); }
.contact-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--lilac); color: var(--plum); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-row small { display: block; font-size: 13px; color: var(--muted-2); }
.contact-row strong { font-weight: 500; font-size: 17px; display: block; }
.contact-row em { font-style: normal; font-size: 14px; color: var(--muted-2); }
.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); }
.form-card h2 { font-size: 34px; margin-bottom: 8px; }
.form-note { color: var(--muted); margin-bottom: 24px; }
.form-label { font-weight: 500; font-size: 15px; }
.optional { color: var(--muted-2); font-weight: 400; }
.form-control { border-radius: 12px; border-color: #D5CFC6; padding: 12px 14px; font-size: 16px; min-height: 48px; }
.form-control:focus { border-color: var(--plum); box-shadow: 0 0 0 3px rgba(66, 91, 120, .2); }
.form-success { background: #E6F0E7; color: #1F4D2A; border-radius: 14px; padding: 18px 20px; }
.form-error { background: #F6E3E3; color: #7A1F1F; border-radius: 14px; padding: 14px 18px; margin-bottom: 16px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.info-band { padding-top: 0; }
.info-card { background: #fff; border-radius: var(--radius-md); padding: 30px 32px; height: 100%; }
.info-card-title { font-family: var(--sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; margin: 0 0 12px; }
.info-card .prose { font-size: 16.5px; max-width: none; }
.info-card .prose > *:last-child { margin-bottom: 0; }
.info-card .prose h2, .info-card .prose h3, .info-card .prose h4 { font-size: 19px; margin: 1.1em 0 .4em; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(.35); }

/* ---------- Footer ---------- */
.site-footer { background: var(--aubergine); color: #BFCBD6; padding: 88px 0 36px; font-size: 15px; }
.footer-brand { font-family: var(--serif); font-size: 28px; color: var(--ivory); display: inline-block; margin-bottom: 14px; }
.footer-brand:hover { color: #fff; }
.footer-logo { line-height: 0; margin-bottom: 22px; }
.footer-logo img { width: 170px; height: auto; display: block; }
.footer-about { max-width: 340px; line-height: 1.7; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #5A485C; display: inline-flex; align-items: center; justify-content: center; color: var(--ivory); }
.footer-social a:hover { background: var(--ivory); color: var(--aubergine); }
.footer-heading { font-family: var(--sans); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #AABAC8; margin-bottom: 18px; font-weight: 500; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-links a { color: #DCE5EC; }
.footer-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-contact li { color: #DCE5EC; line-height: 1.55; }
.footer-contact li.muted { color: #BFCBD6; }
.footer-bottom { border-top: 1px solid var(--line-dark); margin-top: 60px; padding-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: #AABAC8; }
.footer-bottom a { color: #BFCBD6; }

.mobile-book { position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 1020; background: var(--plum); color: #fff; text-align: center; font-weight: 600; padding: 15px; border-radius: 999px; box-shadow: 0 12px 30px rgba(51, 70, 92, .3); }
.mobile-book:hover { color: #fff; background: var(--plum-dark); }
.mobile-book { transition: opacity .25s ease, transform .25s ease; }
.mobile-book.is-hidden { opacity: 0; transform: translateY(24px); pointer-events: none; }

/* ---------- Training application form ---------- */
html { scroll-behavior: smooth; }
#training-form { scroll-margin-top: 110px; }
.prose .training-form { margin: 2.2em 0; box-shadow: 0 1px 0 rgba(47, 63, 82, .04); }
.prose .training-form h3.training-form-section { font-size: 22px; margin: 0 0 18px; }
.training-questions { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 24px; }
.training-q .form-label { line-height: 1.45; margin-bottom: 6px; }
.form-help { font-size: 14px; line-height: 1.5; color: var(--muted-2); margin: -2px 0 8px; }
.training-form textarea.form-control { min-height: 0; resize: vertical; }
.prose .training-form .form-error ul { padding-left: 1.2em; margin-top: 4px; }
.prose .training-form .form-error li { margin: 2px 0; }
.prose .training-form .form-error a { color: #7A1F1F; }
.page-hero-actions { margin-top: 26px; }
/* Contact buttons on the page banners: the home banner's buttons, a size smaller */
.page-hero-btns { gap: 10px; margin-top: 22px; }
.page-hero-btns .hero-btn { --bs-btn-padding-x: 20px; --bs-btn-padding-y: 11px; --bs-btn-font-size: 14.5px; white-space: nowrap; }
@media (max-width: 575.98px) { .page-hero-btns .hero-btn { width: 100%; } }

/* Training and What We Treat photos: back-to-back photos two per row; single photos half-width
   beside their text, alternating sides. Phones keep every photo full width. */
.prose-flow::after { content: ""; display: block; clear: both; }
.prose-flow .pic-pairs { clear: both; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; margin: 1.4em 0 1.6em; }
.prose-flow .pic-pairs a { display: block; }
.prose-flow .pic-pairs img { width: 100%; height: auto; margin: 0; }
@media (min-width: 576px) { .prose-flow .pic-pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 768px) {
  .prose-flow img.pic-right { float: right; width: 46%; margin: .35em 0 1.2em 2em; }
  .prose-flow img.pic-left { float: left; width: 46%; margin: .35em 2em 1.2em 0; }
  /* Sections start below a photo rather than beside it, and lists keep their bullets clear of it. */
  .prose-flow h1, .prose-flow h2, .prose-flow h3, .prose-flow h4, .prose-flow hr, .prose-flow .training-form { clear: both; }
  .prose-flow ul, .prose-flow ol { display: flow-root; }
  .prose-flow .flow-beside { clear: none; }
}
@media (max-width: 991.98px) { .site-footer { padding-bottom: 96px; } }
