/* =========================================================================
   Pharmalogic — theme.css
   Tokens come from theme.json (--wp--preset--*). Every px value, colour,
   radius, shadow and duration below is taken from the design handoff.
   ========================================================================= */

:root {
  --plum: #6F2874;
  --plum-dark: #5A1F5E;
  --plum-deep: #5C2061;
  --plum-light: #7E3A83;
  --plum-text: #4F1A53;
  --lilac: #AA8AB8;
  --lilac-pale: #D9CCE0;
  --tint: #F7F3F8;
  --tile: #EFE8F1;
  --border: #EDE7EF;
  --border-input: #E6E0E8;
  --rule: #EFEAF1;
  --row-hover: #FBF9FC;
  --ink: #23282B;
  --ink-muted: #4E5459;
  --ink-faint: #A7ADB1;
  --white: #fff;

  --ease: cubic-bezier(.2,.7,.2,1);
  --sh-card: 0 18px 40px rgba(111,40,116,.12);
  --sh-card-lg: 0 24px 50px rgba(111,40,116,.14);
  --sh-image: 0 30px 60px rgba(35,40,43,.12);
  --sh-btn: 0 14px 30px rgba(111,40,116,.3);
  --sh-header: 0 10px 40px rgba(35,40,43,.08);
  --sh-mega: 0 30px 70px rgba(111,40,116,.18);
  --sh-modal: 0 40px 90px rgba(0,0,0,.3);
  --sh-panel: 0 20px 50px rgba(35,40,43,.06);
  --header-h: 84px;
}

/* ---------- Base ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; overflow-x: clip; }
body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--wp--preset--font-family--outfit, 'Outfit', system-ui, sans-serif);
  font-size: 17px;
  line-height: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body.pl-no-scroll { overflow: hidden; }
a { color: var(--plum); text-decoration: none; }
a:hover { color: var(--plum-text); }
img, svg, iframe { max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; }
address { font-style: normal; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; border-radius: 4px; }
.pl-icon { flex: none; display: inline-block; vertical-align: middle; }
.screen-reader-text { 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: -200px; z-index: 1000; background: var(--plum); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 600; }
.skip-link:focus { top: 16px; color: #fff; }

/* Page load transition */
.pl-page { animation: plPageIn .6s var(--ease) both; }
@keyframes plPageIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Layout ----------------------------------------------------- */
.pl-container { max-width: 1240px; margin: 0 auto; width: 100%; }
.pl-section { padding: 96px 48px; position: relative; }
.pl-section--tint { background: var(--tint); }
.pl-section--home-who { padding: 112px 48px 96px; }
.pl-section--tight { padding: 40px 48px 112px; }
.pl-section--intro-complaints { padding: 96px 48px 72px; }
.pl-section--making { padding: 0 48px 96px; }
.pl-narrow { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 22px; }
.pl-narrow--28 { gap: 28px; }

.pl-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 64px; align-items: center; }
.pl-grid-2--start { align-items: start; }
.pl-grid-2--stretch { align-items: stretch; }
.pl-grid-2--gap48 { gap: 48px; }
.pl-grid-2--gap56 { gap: 56px; }
.pl-grid-2--mb64 { margin-bottom: 64px; }
.pl-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.pl-sticky { position: sticky; top: 120px; }
.pl-stack { display: flex; flex-direction: column; gap: 22px; }
.pl-stack--16 { gap: 16px; }
.pl-stack--28 { gap: 28px; }
.pl-stack--36 { gap: 36px; }
.pl-stack--center { align-items: center; text-align: center; }
.pl-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(var(--min, 280px), 1fr)); gap: var(--gap, 24px); }
.pl-cards--svc { --min: 270px; }
.pl-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.pl-actions--mt { margin-top: 6px; }
.pl-mt6 { margin-top: 6px; }
.pl-mt8 { margin-top: 8px; }
.pl-mt40 { margin-top: 40px; }
.pl-mt48 { margin-top: 48px; }
.pl-mt64 { margin-top: 64px; }
.pl-mb40 { margin-bottom: 40px; }
.pl-mb64 { margin-bottom: 64px; }
.pl-max900 { max-width: 900px; }
.pl-max860 { max-width: 860px; margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Typography ------------------------------------------------- */
.pl-eyebrow { display: flex; align-items: center; gap: 10px; color: var(--plum); font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.pl-eyebrow__bar { display: block; width: 28px; height: 2px; background: var(--lilac); flex: none; }
.pl-eyebrow--light { color: var(--lilac-pale); }
.pl-h1 { font-size: 60px; line-height: 1.05; font-weight: 600; letter-spacing: -.02em; }
.pl-h2 { font-size: 42px; line-height: 1.1; font-weight: 600; letter-spacing: -.02em; }
.pl-balance { text-wrap: balance; }
.pl-h2--cta { font-size: 48px; line-height: 1.08; }
.pl-h2--statement { font-size: 34px; line-height: 1.2; }
.pl-h2--38 { font-size: 38px; line-height: 1.12; }
.pl-h2--36 { font-size: 36px; line-height: 1.1; }
.pl-h3 { font-size: 30px; line-height: normal; font-weight: 600; letter-spacing: -.02em; }
.pl-h3--30 { line-height: 1.15; }
.pl-h3--28 { font-size: 28px; letter-spacing: -.02em; }
.pl-h3--26 { font-size: 26px; letter-spacing: -.01em; }
.pl-h3--24 { font-size: 24px; letter-spacing: 0; }
.pl-h3--22 { font-size: 22px; letter-spacing: 0; line-height: 1.25; }
.pl-h3--21 { font-size: 21px; line-height: 1.3; letter-spacing: 0; }
.pl-lead { font-size: 18px; line-height: 1.65; color: var(--ink-muted); font-weight: 300; text-wrap: pretty; }
.pl-body { font-size: 17px; line-height: 1.7; color: var(--ink-muted); font-weight: 300; text-wrap: pretty; }
.pl-body--16 { font-size: 16px; }
.pl-small { font-size: 15px; line-height: 1.65; color: var(--ink-muted); font-weight: 300; }
.pl-caption { font-size: 14px; color: var(--ink-faint); font-weight: 300; }
.pl-strong { font-weight: 600; color: var(--ink); }
.pl-card__title { font-weight: 600; font-size: 20px; }
.pl-card__title--19 { font-size: 19px; }
.pl-ink { color: var(--ink); }
.pl-right { text-align: right; }
.pl-nowrap { white-space: nowrap; }

.pl-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 56px; }
.pl-head--center { align-items: center; text-align: center; margin-left: auto; margin-right: auto; }
.pl-head--center .pl-eyebrow { justify-content: center; }
.pl-head--mb0 { margin-bottom: 0; }
.pl-head--mb36 { margin-bottom: 36px; }

/* ---------- Buttons ---------------------------------------------------- */
.pl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: 16px; padding: 16px 28px; border-radius: 999px;
  border: 0; cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  will-change: transform;
}
.pl-btn--primary { background: var(--plum); color: #fff; }
.pl-btn--primary:hover, .pl-btn--primary:focus-visible { background: var(--plum-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--sh-btn); }
.pl-btn--inverse { background: #fff; color: var(--plum); }
.pl-btn--inverse:hover, .pl-btn--inverse:focus-visible { color: var(--plum); transform: translateY(-2px); box-shadow: 0 16px 36px rgba(0,0,0,.22); }
.pl-btn--inverse.pl-btn--soft:hover { box-shadow: 0 14px 30px rgba(0,0,0,.2); }
.pl-btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.5); }
.pl-btn--ghost:hover, .pl-btn--ghost:focus-visible { background: rgba(255,255,255,.12); color: #fff; transform: translateY(-2px); }
.pl-btn--outline { background: #fff; color: var(--plum); border: 1px solid var(--lilac-pale); }
.pl-btn--outline:hover, .pl-btn--outline:focus-visible { background: var(--tint); color: var(--plum); transform: translateY(-2px); }
.pl-btn--lg { font-size: 17px; padding: 18px 32px; }
.pl-btn--lg.pl-btn--16 { font-size: 16px; }
.pl-btn:active { transform: translateY(0) scale(.98); transition-duration: .1s; }
.pl-btn .pl-icon { transition: transform .25s var(--ease); }
.pl-btn:hover .pl-icon { transform: translateX(3px); }
.pl-link { display: inline-flex; align-items: center; gap: 8px; color: var(--plum); font-weight: 500; font-size: 16px; padding: 16px 8px; transition: gap .25s ease, color .25s ease; }
.pl-link:hover { gap: 14px; color: var(--plum-text); }
.pl-link--inline { padding: 0; font-weight: 600; font-size: 15px; }
.pl-link--inline:hover { gap: 14px; }

/* ---------- Icon tiles / numbers -------------------------------------- */
.pl-tile { flex: none; display: inline-flex; align-items: center; justify-content: center; background: var(--tile); }
.pl-tile--56 { width: 56px; height: 56px; border-radius: 18px; }
.pl-tile--52 { width: 52px; height: 52px; border-radius: 16px; }
.pl-tile--48 { width: 48px; height: 48px; border-radius: 14px; }
.pl-tile--44 { width: 44px; height: 44px; border-radius: 14px; }
.pl-tile--40 { width: 40px; height: 40px; border-radius: 12px; }
.pl-tile--white { background: #fff; }
.pl-tile--num { color: var(--plum); font-weight: 600; font-size: 15px; }
.pl-num { flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--plum); color: #fff; font-weight: 600; }
.pl-num--40 { width: 40px; height: 40px; font-size: 16px; }
.pl-num--52 { width: 52px; height: 52px; font-size: 16px; }
.pl-num--56 { width: 56px; height: 56px; font-size: 18px; box-shadow: 0 0 0 8px #fff; }
@keyframes popIn { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.12); opacity: 1; } 100% { transform: scale(1); } }
[data-reveal="in"] [data-num] { animation: popIn .7s var(--ease) both; }

/* ---------- Scroll reveal ---------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal="in"] { opacity: 1; transform: none; }
.pl-card[data-reveal], .pl-svc[data-reveal], .pl-team__card[data-reveal], .pl-hcard[data-reveal], .pl-site[data-reveal], .pl-why-card[data-reveal] { transition: transform .35s var(--ease), box-shadow .35s ease, border-color .35s ease, opacity .8s var(--ease), translate .8s var(--ease); transform: none; translate: 0 28px; }
.pl-card[data-reveal="in"], .pl-svc[data-reveal="in"], .pl-team__card[data-reveal="in"], .pl-hcard[data-reveal="in"], .pl-site[data-reveal="in"], .pl-why-card[data-reveal="in"] { translate: 0 0; }
.no-js [data-reveal], .pl-motion-off [data-reveal] { opacity: 1; transform: none; translate: 0; transition: none; }

/* ---------- Header ----------------------------------------------------- */
.pl-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  padding: 20px 48px;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: padding .35s ease, box-shadow .35s ease, background .35s ease;
}
.admin-bar .pl-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .pl-header { top: 46px; } }
.pl-header.is-scrolled { padding-top: 10px; padding-bottom: 10px; box-shadow: var(--sh-header); }
.pl-header__inner { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.pl-header__brand { display: flex; align-items: center; }
.pl-header__logo { height: 40px; width: auto; display: block; transition: height .35s ease; }
.pl-header.is-scrolled .pl-header__logo { height: 30px; }
.pl-nav { display: flex; align-items: center; gap: 30px; }
.pl-nav__item { position: relative; padding: 4px 0; }
.pl-nav__link { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; line-height: normal; color: var(--ink); padding: 4px 0; border-bottom: 2px solid transparent; white-space: nowrap; transition: color .2s ease, border-color .2s ease; }
.pl-nav__link:hover, .pl-nav__link:focus-visible { color: var(--plum); }
.pl-nav__link.is-active { color: var(--plum); border-bottom-color: var(--lilac); }
.pl-nav__link .pl-icon { transition: transform .25s var(--ease); }
.pl-dd:hover .pl-nav__link .pl-icon, .pl-dd:focus-within .pl-nav__link .pl-icon { transform: rotate(180deg); }
.pl-header__actions { display: flex; align-items: center; gap: 12px; }
.pl-header__cta { display: inline-flex; align-items: center; background: var(--plum); color: #fff; font-weight: 600; font-size: 15px; padding: 12px 22px; border-radius: 999px; white-space: nowrap; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.pl-header__cta:hover, .pl-header__cta:focus-visible { background: var(--plum-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(111,40,116,.28); }

/* Mega menu */
.pl-mega { position: absolute; top: 100%; left: 50%; margin-left: -320px; padding-top: 14px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease, visibility .25s; z-index: 60; }
.pl-dd:hover .pl-mega, .pl-dd:focus-within .pl-mega, .pl-dd.is-open .pl-mega { opacity: 1; visibility: visible; transform: translateY(0); }
.pl-mega__panel { background: #fff; border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--sh-mega); padding: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; width: 640px; }
.pl-mega__item { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: 16px; color: var(--ink); transition: background .2s ease, transform .2s ease; }
.pl-mega__item:hover, .pl-mega__item:focus-visible { background: var(--tint); color: var(--ink); }
.pl-mega__item .pl-tile { transition: transform .25s var(--ease), background .2s ease; }
.pl-mega__item:hover .pl-tile { transform: scale(1.06); background: #fff; }
.pl-mega__text { display: flex; flex-direction: column; gap: 3px; }
.pl-mega__title { font-size: 16px; font-weight: 600; }
.pl-mega__desc { font-size: 13px; color: var(--ink-muted); font-weight: 300; line-height: 1.45; }
.pl-mega__item--all { align-items: center; background: var(--plum); color: #fff; }
.pl-mega__item--all:hover, .pl-mega__item--all:focus-visible { background: var(--plum-dark); color: #fff; }
.pl-mega__item--all .pl-tile { background: rgba(255,255,255,.14); }
.pl-mega__item--all:hover .pl-tile { background: rgba(255,255,255,.22); }
.pl-mega__item--all .pl-mega__desc { color: var(--tile); }

/* Burger + mobile panel */
.pl-burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border-input); background: #fff; align-items: center; justify-content: center; cursor: pointer; padding: 0; transition: background .2s ease, border-color .2s ease; }
.pl-burger:hover { background: var(--tint); }
.pl-burger__close { display: none; }
.pl-burger[aria-expanded="true"] .pl-burger__open { display: none; }
.pl-burger[aria-expanded="true"] .pl-burger__close { display: block; }
.pl-mobile { display: none; max-width: 1240px; margin: 16px auto 0; flex-direction: column; gap: 4px; border-top: 1px solid var(--rule); padding-top: 14px; max-height: calc(100vh - 100px); max-height: calc(100dvh - 100px); overflow: auto; overscroll-behavior: contain; }
.pl-mobile.is-open { display: flex; animation: plMobileIn .3s var(--ease) both; }
@keyframes plMobileIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.pl-mobile__link { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 14px; font-size: 17px; font-weight: 600; color: var(--ink); transition: background .2s ease, color .2s ease; }
.pl-mobile__link:hover, .pl-mobile__link.is-active { background: var(--tint); color: var(--plum); }
.pl-mobile__label { padding: 16px 10px 8px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--lilac); }
.pl-mobile__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 0 4px; }
.pl-mobile__tile { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 16px; background: var(--tint); color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.3; transition: background .2s ease, color .2s ease; }
.pl-mobile__tile:hover, .pl-mobile__tile.is-active { background: var(--tile); color: var(--plum); }
.pl-mobile__tile--all { justify-content: space-between; background: var(--plum); color: #fff; }
.pl-mobile__tile--all:hover { background: var(--plum-dark); color: #fff; }
.pl-mobile__tile--all .pl-tile { background: rgba(255,255,255,.14); }
.pl-mobile__spacer { height: 8px; }
.pl-mobile__cta { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 12px 4px 8px; background: var(--plum); color: #fff; font-weight: 600; font-size: 16px; padding: 16px 24px; border-radius: 999px; transition: background .25s ease; }
.pl-mobile__cta:hover { background: var(--plum-dark); color: #fff; }

/* ---------- Footer ----------------------------------------------------- */
.pl-footer { background: var(--ink); color: #fff; padding: 80px 48px 32px; }
.pl-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 48px; }
.pl-footer__col { display: flex; flex-direction: column; gap: 12px; }
.pl-footer__col--about { gap: 20px; }
.pl-footer__logo { height: 36px; width: auto; display: block; align-self: flex-start; }
.pl-footer__about { font-size: 14px; line-height: 1.7; color: var(--ink-faint); font-weight: 300; }
.pl-footer__super { font-size: 14px; line-height: 1.7; color: #fff; font-weight: 300; }
.pl-footer__heading { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--lilac); margin-bottom: 6px; }
.pl-footer__link, .pl-footer__text { color: #fff; font-size: 15px; font-weight: 300; transition: color .2s ease, transform .2s ease; }
.pl-footer__addr { line-height: 1.7; }
.pl-footer__link { align-self: flex-start; }
.pl-footer__link:hover { color: var(--lilac); transform: translateX(3px); }
.pl-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 56px; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--ink-faint); line-height: 1.6; }
.pl-footer__bottom a { color: var(--ink-faint); transition: color .2s ease; }
.pl-footer__bottom a:hover { color: #fff; }
.pl-footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- Plum banner (pattern 1) ------------------------------------ */
.pl-banner { background: var(--plum); position: relative; overflow: hidden; padding: 96px 48px 104px; color: #fff; }
.pl-banner__inner { position: relative; display: flex; flex-direction: column; gap: 16px; color: #fff; animation: plBannerIn .8s var(--ease) both; }
@keyframes plBannerIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.pl-banner__circle { position: absolute; border-radius: 50%; pointer-events: none; }
.pl-banner__circle--a { width: 520px; height: 520px; background: var(--plum-light); right: -160px; top: -280px; opacity: .6; animation: plDrift 14s ease-in-out infinite alternate; }
.pl-banner__circle--b { width: 360px; height: 360px; background: var(--plum-deep); left: -120px; bottom: -240px; opacity: .7; animation: plDrift 18s ease-in-out infinite alternate-reverse; }
.pl-banner__circle--cta.pl-banner__circle--a { top: -200px; }
.pl-banner__circle--cta.pl-banner__circle--b { bottom: -180px; }
@keyframes plDrift { from { transform: translate(0,0); } to { transform: translate(-14px, 12px); } }
.pl-banner .pl-h1 { color: #fff; }
.pl-banner__sub { font-size: 20px; line-height: 1.5; color: var(--tile); font-weight: 300; }

/* ---------- Photo heroes (pattern 2) ------------------------------------ */
.pl-hero { position: relative; min-height: 600px; display: flex; align-items: center; padding: 72px 48px; overflow: hidden; }
.pl-hero--services { min-height: 520px; }
.pl-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% center; animation: plHeroZoom 1.6s var(--ease) both; }
.pl-hero--services .pl-hero__img { object-position: 80% center; }
@keyframes plHeroZoom { from { transform: scale(1.04); } to { transform: scale(1); } }
.pl-hero__grad { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.88) 38%, rgba(255,255,255,0) 68%); }
.pl-hero--services .pl-hero__grad { background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.86) 40%, rgba(255,255,255,0) 70%); }
.pl-hero__body { position: relative; max-width: 1240px; margin: 0 auto; width: 100%; }
.pl-hero__content { display: flex; flex-direction: column; gap: 24px; max-width: 580px; }
.pl-hero--services .pl-hero__content { gap: 22px; max-width: 560px; }
.pl-hero__content .pl-h1 { color: var(--ink); }
.pl-hero__content .pl-h1 span { color: var(--plum); }
.pl-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 8px; }

/* About photo banner */
.pl-pbanner { position: relative; min-height: 440px; display: flex; align-items: flex-end; padding: 72px 48px; overflow: hidden; }
.pl-pbanner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; animation: plHeroZoom 1.6s var(--ease) both; }
.pl-pbanner__grad { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(35,40,43,.1) 0%, rgba(35,40,43,.72) 100%); }
.pl-pbanner__inner { position: relative; display: flex; flex-direction: column; gap: 16px; color: #fff; animation: plBannerIn .8s var(--ease) both; }
.pl-pbanner__inner .pl-h1 { color: #fff; }

/* WM landing hero */
.pl-wm-hero { background: linear-gradient(180deg, var(--tint) 0%, #fff 100%); padding: 72px 48px 88px; }
.pl-wm-hero .pl-h1 { font-size: 58px; }
.pl-wm-hero .pl-h1 span { color: var(--plum); }
.pl-wm-hero__content { display: flex; flex-direction: column; gap: 24px; max-width: 560px; }
.pl-wm-hero__img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; min-height: 480px; max-height: 560px; object-fit: cover; object-position: 75% center; border-radius: 28px; box-shadow: var(--sh-image); }

/* ---------- Figures (pattern 4) ---------------------------------------- */
.pl-figure { position: relative; }
.pl-figure__bg { position: absolute; width: 60%; height: 60%; border-radius: 32px; background: var(--tile); z-index: 0; transition: transform .6s var(--ease); }
.pl-figure__bg--left { inset: auto auto -24px -24px; }
.pl-figure__bg--right { inset: auto -24px -24px auto; }
.pl-figure__bg--white { background: #fff; }
.pl-figure:hover .pl-figure__bg--left { transform: translate(-6px, 6px); }
.pl-figure:hover .pl-figure__bg--right { transform: translate(6px, 6px); }
.pl-figure__img { position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 28px; box-shadow: var(--sh-image); }
.pl-img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 28px; }
.pl-img--16-9 { aspect-ratio: 16/9; }
.pl-img--r24 { border-radius: 24px; }
.pl-img--mt8 { margin-top: 8px; }
.pl-img--mt12 { margin-top: 12px; }

/* Home collage */
.pl-collage { position: relative; padding-bottom: 56px; }
.pl-collage__main { display: block; width: 86%; aspect-ratio: 4/3; object-fit: cover; border-radius: 28px; }
.pl-collage__second { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 4/3; object-fit: cover; border-radius: 22px; border: 6px solid #fff; box-shadow: 0 24px 50px rgba(35,40,43,.16); transition: transform .5s var(--ease); }
.pl-collage:hover .pl-collage__second { transform: translateY(-6px) rotate(-1deg); }
.pl-est { position: absolute; left: 24px; bottom: 16px; background: #fff; border-radius: 20px; padding: 20px 24px; box-shadow: 0 20px 50px rgba(35,40,43,.14); display: flex; align-items: baseline; gap: 10px; }
.pl-est--wm { bottom: -24px; }
.pl-est__year { font-size: 40px; font-weight: 600; color: var(--plum); letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.pl-est__label { font-size: 14px; color: var(--ink-muted); font-weight: 400; }

/* ---------- Feature rows / checklists ----------------------------------- */
.pl-feats { display: grid; gap: 18px; margin-top: 4px; }
.pl-feats--mt8 { margin-top: 8px; }
.pl-feat { display: flex; gap: 16px; align-items: flex-start; }
.pl-feat__title { font-weight: 600; font-size: 17px; }
.pl-feat__text { font-size: 15px; color: var(--ink-muted); line-height: 1.6; font-weight: 300; }
.pl-feat .pl-tile { transition: transform .3s var(--ease), background .3s ease; }
.pl-feat:hover .pl-tile { transform: scale(1.06); background: var(--lilac-pale); }
.pl-checks { display: grid; gap: 12px; }
.pl-check { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--ink); font-weight: 400; }
.pl-check .pl-icon { margin-top: 3px; }
.pl-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pl-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink); font-weight: 400; }
.pl-list .pl-icon { margin-top: 3px; }

/* ---------- Cards ------------------------------------------------------ */
.pl-card { background: #fff; border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 16px; transition: transform .35s var(--ease), box-shadow .35s ease, border-color .35s ease; }
.pl-card:hover { transform: translateY(-6px); box-shadow: var(--sh-card-lg); }
.pl-card--bordered { border: 1px solid var(--border); }
.pl-card--bordered:hover { border-color: #fff; }
.pl-card--14 { gap: 14px; }
.pl-card--28 { padding: 28px; gap: 14px; }
.pl-card--36 { padding: 36px; gap: 18px; }
.pl-card--40 { padding: 40px; gap: 20px; border-radius: 28px; }
.pl-card--r22 { border-radius: 22px; padding: 28px; gap: 12px; }
.pl-card--tint { background: var(--tint); }
.pl-card--still:hover { transform: none; box-shadow: none; }
.pl-card--shadow-only:hover { transform: none; box-shadow: 0 24px 50px rgba(111,40,116,.12); }
.pl-card .pl-tile { transition: transform .35s var(--ease); }
.pl-card:hover .pl-tile { transform: scale(1.06) rotate(-3deg); }
.pl-card--still:hover .pl-tile, .pl-card--shadow-only:hover .pl-tile { transform: none; }
.pl-card--18 { gap: 18px; }

/* Small lift cards (pattern 5 / 10 / benefits / complaints) */
.pl-lift { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.pl-lift:hover { transform: translateY(-4px); box-shadow: var(--sh-card); border-color: #fff; }
.pl-icard { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border-radius: 20px; border: 1px solid var(--border); background: #fff; color: var(--ink); }
.pl-icard--col { flex-direction: column; gap: 14px; }
.pl-icard__title { font-weight: 600; font-size: 19px; }
.pl-icard__text { margin-top: 4px; font-size: 15px; line-height: 1.65; color: var(--ink-muted); font-weight: 300; }
.pl-icard:hover { color: var(--ink); }
.pl-icard .pl-tile { transition: transform .3s var(--ease), background .3s ease; }
.pl-icard:hover .pl-tile { transform: scale(1.06); background: var(--lilac-pale); }
.pl-provide { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-radius: 18px; border: 1px solid var(--border); background: #fff; font-weight: 600; font-size: 17px; }

/* Service cards */
.pl-svc { display: flex; flex-direction: column; background: #fff; border-radius: 24px; overflow: hidden; color: var(--ink); transition: transform .35s var(--ease), box-shadow .35s ease, border-color .35s ease; }
.pl-svc--bordered { border: 1px solid var(--border); }
.pl-svc:hover { transform: translateY(-6px); box-shadow: var(--sh-card-lg); color: var(--ink); border-color: #fff; }
.pl-svc__img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .7s var(--ease); }
.pl-svc:hover .pl-svc__img { transform: scale(1.04); }
.pl-svc__body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pl-svc__title { font-weight: 600; font-size: 20px; }
.pl-svc__text { font-size: 15px; line-height: 1.65; color: var(--ink-muted); font-weight: 300; flex: 1; }
.pl-svc__more { display: inline-flex; align-items: center; gap: 8px; color: var(--plum); font-weight: 600; font-size: 15px; margin-top: 6px; transition: gap .25s ease; }
.pl-svc:hover .pl-svc__more { gap: 14px; }
.pl-svc--plum { justify-content: center; gap: 16px; background: var(--plum); padding: 36px; color: #fff; }
.pl-svc--plum:hover { box-shadow: 0 24px 50px rgba(111,40,116,.3); color: #fff; }
.pl-svc--plum .pl-svc__title { font-size: 28px; line-height: 1.15; letter-spacing: -.02em; }
.pl-svc--plum .pl-svc__text { color: var(--tile); flex: initial; }
.pl-svc--plum .pl-svc__more { color: #fff; margin-top: 0; }

/* Health advice cards */
.pl-hcard { background: #fff; border: 1px solid var(--border); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s ease, border-color .35s ease; }
.pl-hcard:hover { transform: translateY(-6px); box-shadow: var(--sh-card-lg); border-color: #fff; }
.pl-hcard__img { display: block; width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: transform .7s var(--ease); }
.pl-hcard:hover .pl-hcard__img { transform: scale(1.04); }
.pl-hcard__body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.pl-hcard__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--tile); display: flex; align-items: center; justify-content: center; margin-top: -50px; position: relative; z-index: 1; border: 4px solid #fff; box-sizing: content-box; transition: transform .35s var(--ease); }
.pl-hcard:hover .pl-hcard__icon { transform: translateY(-3px); }

/* WM "why" photo cards */
.pl-why-card { background: #fff; border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s ease; }
.pl-why-card:hover { transform: translateY(-6px); box-shadow: var(--sh-card-lg); }
.pl-why-card__img { display: block; width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: transform .7s var(--ease); }
.pl-why-card:hover .pl-why-card__img { transform: scale(1.04); }
.pl-why-card__body { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.pl-why-card .pl-tile--44 { border-radius: 12px; }

/* Team */
.pl-team { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.pl-team__card { background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 28px; display: flex; align-items: center; gap: 18px; transition: transform .35s var(--ease), box-shadow .35s ease, border-color .35s ease; }
.pl-team__card:hover { transform: translateY(-6px); box-shadow: var(--sh-card-lg); border-color: #fff; }
.pl-team__avatar { flex: none; width: 60px; height: 60px; border-radius: 50%; background: var(--plum); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 18px; letter-spacing: .02em; transition: transform .35s var(--ease); }
.pl-team__avatar--light { background: var(--tile); color: var(--plum); }
.pl-team__card:hover .pl-team__avatar { transform: scale(1.08); }
.pl-team__name { font-weight: 600; font-size: 18px; line-height: 1.2; }
.pl-team__role { font-size: 14px; color: var(--plum); font-weight: 500; margin-top: 4px; }

/* Story steps (About) */
.pl-story { display: flex; flex-direction: column; gap: 28px; }
.pl-story__item { display: flex; gap: 20px; align-items: flex-start; }
.pl-story__body { display: flex; flex-direction: column; gap: 6px; }
.pl-story__title { font-weight: 600; font-size: 20px; }
.pl-story__text { font-size: 16px; line-height: 1.65; color: var(--ink-muted); font-weight: 300; }

/* Numbered step cards (Complaints) */
.pl-steps { list-style: none; padding: 0; display: grid; gap: 14px; }
.pl-step { display: flex; gap: 18px; align-items: flex-start; background: #fff; border-radius: 20px; padding: 22px 24px; transition: transform .3s var(--ease), box-shadow .3s ease; }
.pl-step:hover { transform: translateX(4px); box-shadow: var(--sh-panel); }
.pl-step p { font-size: 17px; line-height: 1.65; color: var(--ink); font-weight: 300; padding-top: 7px; }
.pl-step strong { font-weight: 600; }

/* Pharmacy First Q blocks */
.pl-qblock__head { display: flex; gap: 16px; align-items: flex-start; }
.pl-qblock__head h3 { padding-top: 8px; }
.pl-qblock__body { display: flex; flex-direction: column; gap: 12px; padding-left: 60px; }
.pl-qblock__body p { font-size: 16px; line-height: 1.7; color: var(--ink-muted); font-weight: 300; }

/* Chips (pattern 7) */
.pl-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.pl-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--tint); border: 1px solid var(--border); font-size: 15px; font-weight: 500; color: var(--ink); transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease; cursor: default; }
.pl-chip__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lilac); transition: background .25s ease; }
.pl-chip:hover { background: var(--plum); border-color: var(--plum); color: #fff; transform: translateY(-2px); }
.pl-chip:hover .pl-chip__dot { background: #fff; }

/* Download cards (pattern 10) */
.pl-dl { display: flex; gap: 20px; align-items: center; padding: 28px; border-radius: 24px; background: #fff; border: 1px solid var(--border); color: var(--ink); }
.pl-dl__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.pl-dl__title { font-weight: 600; font-size: 19px; }
.pl-dl__desc { font-size: 15px; line-height: 1.6; color: var(--ink-muted); font-weight: 300; }
.pl-dl__pdf { flex: none; display: inline-flex; align-items: center; gap: 8px; color: var(--plum); font-weight: 600; font-size: 14px; }
.pl-dl__pdf .pl-icon { transition: transform .3s var(--ease); }
.pl-dl:hover .pl-dl__pdf .pl-icon { transform: translateY(3px); }
.pl-dl:hover { color: var(--ink); }

/* Tables (pattern 11) */
.pl-table-wrap { background: #fff; border-radius: 24px; overflow: hidden; box-shadow: var(--sh-panel); }
.pl-table-wrap--bordered { border: 1px solid var(--border); }
.pl-table-wrap--scroll { overflow-x: auto; }
.pl-table { width: 100%; border-collapse: collapse; }
.pl-table th { background: var(--plum); color: #fff; font-weight: 600; font-size: 14px; letter-spacing: .04em; text-align: left; padding: 16px 22px; }
.pl-table td { padding: 16px 22px; font-size: 16px; color: var(--ink); border-bottom: 1px solid var(--border); font-weight: 300; vertical-align: top; transition: background .2s ease; }
.pl-table tr:last-child td { border-bottom: 0; }
.pl-table tbody tr:hover td { background: var(--row-hover); }
.pl-table-wrap--ear td { padding: 18px 22px; }
.pl-table-wrap--ear .pl-price { font-size: 18px; }
.pl-table-wrap--20 th, .pl-table-wrap--20 td { padding: 16px 20px; }
.pl-table-wrap--20 td { font-size: 15px; }
.pl-table-wrap--travel td { line-height: 1.5; }
.pl-price { font-weight: 600; color: var(--plum); text-align: right; white-space: nowrap; }
.pl-td-strong { font-weight: 500; }
.pl-table-head { padding: 24px 20px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pl-badge { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--plum); background: var(--tile); padding: 6px 12px; border-radius: 999px; white-space: nowrap; }

/* FAQ (PL-FAQ) */
.pl-faq { display: flex; flex-direction: column; gap: 12px; }
.pl-faq__item { background: #fff; border-radius: 18px; border: 1px solid var(--border); box-shadow: none; transition: border-color .3s ease, box-shadow .3s ease; }
.pl-faq__item.is-open { border-color: var(--lilac-pale); box-shadow: 0 12px 30px rgba(111,40,116,.08); }
.pl-faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left; background: transparent; border: 0; padding: 22px 24px; cursor: pointer; font-size: 17px; font-weight: 500; color: var(--ink); line-height: 1.4; border-radius: 18px; transition: color .2s ease; }
.pl-faq__q:hover { color: var(--plum); }
.pl-faq__icon { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--tile); color: var(--plum); display: flex; align-items: center; justify-content: center; transition: transform .35s var(--ease), background .3s ease, color .3s ease; }
.pl-faq__item.is-open .pl-faq__icon { background: var(--plum); color: #fff; transform: rotate(180deg); }
.pl-faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.pl-faq__item.is-open .pl-faq__a { grid-template-rows: 1fr; }
.pl-faq__a-inner { overflow: hidden; }
.pl-faq__a p { padding: 0 24px 24px; font-size: 15px; line-height: 1.7; color: var(--ink-muted); font-weight: 300; }

/* Booking modal (PL-BookingModal) */
.pl-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.pl-modal[hidden] { display: none; }
.pl-modal__backdrop { position: absolute; inset: 0; background: rgba(35,40,43,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: plFade .25s ease both; }
.pl-modal__dialog { position: relative; background: #fff; border-radius: 28px; padding: 40px; max-width: 520px; width: 100%; box-shadow: var(--sh-modal); display: flex; flex-direction: column; gap: 20px; animation: plModalIn .35s var(--ease) both; max-height: calc(100vh - 40px); overflow: auto; }
.pl-modal.is-closing .pl-modal__backdrop { animation: plFade .2s ease reverse both; }
.pl-modal.is-closing .pl-modal__dialog { animation: plModalIn .2s ease reverse both; }
@keyframes plFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes plModalIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.pl-modal__close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--tint); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s ease, transform .2s ease; }
.pl-modal__close:hover { background: var(--tile); transform: rotate(90deg); }
.pl-modal__title { line-height: 1.1; letter-spacing: -.02em; }
.pl-modal__text { font-size: 16px; line-height: 1.6; color: var(--ink-muted); font-weight: 300; }
.pl-modal__sites { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-top: 6px; }
.pl-modal__site { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 18px; border: 1px solid var(--border); background: #fff; color: var(--ink); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.pl-modal__site:hover, .pl-modal__site:focus-visible { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(111,40,116,.16); border-color: var(--lilac-pale); color: var(--ink); }
.pl-modal__site-name { font-weight: 600; font-size: 18px; }
.pl-modal__site-addr { font-size: 14px; color: var(--ink-muted); font-weight: 300; }

/* Weight-loss promo popup (landing-page style) */
.pl-promo__dialog { max-width: 920px; padding: 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0; overflow: hidden; }
.pl-promo__media { position: relative; min-height: 100%; background: var(--tint); }
.pl-promo__img { display: block; width: 100%; height: 100%; min-height: 320px; object-fit: cover; object-position: 70% center; animation: plHeroZoom 1.4s var(--ease) both; }
.pl-promo__pill { position: absolute; left: 20px; top: 20px; display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.94); color: var(--plum); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; box-shadow: 0 10px 24px rgba(35,40,43,.12); animation: popIn .7s .25s var(--ease) both; }
.pl-promo__body { padding: 44px 40px 36px; display: flex; flex-direction: column; gap: 16px; }
.pl-promo__title { font-size: 34px; line-height: 1.08; letter-spacing: -.02em; }
.pl-promo__title span { color: var(--plum); }
.pl-promo__text { font-size: 16px; line-height: 1.65; color: var(--ink-muted); font-weight: 300; }
.pl-promo__list { list-style: none; padding: 0; display: grid; gap: 8px; }
.pl-promo__list li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink); font-weight: 400; }
.pl-promo__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.pl-promo__skip { align-self: flex-start; background: none; border: 0; padding: 4px 0; font-size: 14px; color: var(--ink-faint); font-weight: 400; cursor: pointer; transition: color .2s ease; }
.pl-promo__skip:hover { color: var(--plum); }
.pl-promo .pl-modal__close { z-index: 2; }
.pl-promo__dialog:focus { outline: none; }
.pl-promo__body > * { animation: plFadeUp .6s var(--ease) both; }
.pl-promo__body > :nth-child(2) { animation-delay: .08s; }
.pl-promo__body > :nth-child(3) { animation-delay: .16s; }
.pl-promo__body > :nth-child(4) { animation-delay: .24s; }
.pl-promo__body > :nth-child(5) { animation-delay: .32s; }
.pl-promo__body > :nth-child(6) { animation-delay: .4s; }
@media (max-width: 760px) {
  .pl-promo__dialog { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
  .pl-promo__img { min-height: 0; height: 190px; object-position: 70% 30%; }
  .pl-promo__body { padding: 28px 24px 24px; gap: 14px; }
  .pl-promo__title { font-size: 28px; }
  .pl-promo__text { font-size: 15px; }
  .pl-promo .pl-modal__close { background: rgba(255,255,255,.94); }
}
@media (max-height: 700px) and (max-width: 760px) {
  .pl-promo__img { height: 150px; }
  .pl-promo__list { display: none; }
}

/* Location (pattern 12) */
.pl-map { border-radius: 28px; overflow: hidden; min-height: 380px; background: var(--border); }
.pl-map iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; }
.pl-rows { display: grid; gap: 14px; }
.pl-row { display: flex; gap: 14px; align-items: center; color: var(--ink); font-size: 16px; font-weight: 400; transition: color .2s ease; }
.pl-row--top { align-items: flex-start; }
.pl-row--top address { padding-top: 8px; line-height: 1.6; font-weight: 300; }
a.pl-row:hover { color: var(--plum); }
.pl-rows--12 { gap: 12px; margin-top: 6px; }

/* Contact locations (pattern 13) */
.pl-sites { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pl-site { background: #fff; border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s ease; }
.pl-site:hover { transform: translateY(-6px); box-shadow: var(--sh-card-lg); }
.pl-site__map { height: 200px; background: var(--border); }
.pl-site__map iframe { display: block; width: 100%; height: 100%; border: 0; }
.pl-site__body { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.pl-site__name { font-weight: 600; font-size: 21px; }
.pl-site__reg { font-size: 13px; color: var(--ink-faint); font-weight: 500; margin-top: 4px; }
.pl-site__addr { font-size: 15px; line-height: 1.6; color: var(--ink-muted); font-weight: 300; white-space: pre-line; }
.pl-site__links { display: flex; flex-direction: column; gap: 8px; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--border); }
.pl-site__link { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink); font-weight: 400; transition: color .2s ease; }
a.pl-site__link:hover { color: var(--plum); }
.pl-site__link--fax { color: var(--ink-muted); font-weight: 300; }

/* Plum feature card (pattern 8) + CTA bar + plum panel */
.pl-feature { background: var(--plum); border-radius: 32px; overflow: hidden; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); align-items: stretch; }
.pl-feature__text { padding: 64px 56px; display: flex; flex-direction: column; justify-content: center; gap: 22px; color: #fff; }
.pl-feature__text .pl-h2 { color: #fff; }
.pl-feature__text .pl-body { color: var(--tile); }
.pl-feature__img { display: block; width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.pl-ctabar { background: var(--plum); border-radius: 32px; padding: 56px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; color: #fff; }
.pl-ctabar__text { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.pl-ctabar__text .pl-h2 { color: #fff; }
.pl-ctabar__text p { font-size: 16px; line-height: 1.7; color: var(--tile); font-weight: 300; }
.pl-ctabar--mt64 { margin-top: 64px; }
.pl-plum-panel { background: var(--plum); border-radius: 28px; padding: 44px; color: #fff; display: flex; flex-direction: column; gap: 24px; }
.pl-plum-panel__head { display: flex; flex-direction: column; gap: 12px; }
.pl-plum-panel .pl-h3 { color: #fff; line-height: 1.15; }
.pl-plum-panel__list { display: grid; gap: 18px; }
.pl-plum-panel__item { display: flex; gap: 14px; align-items: flex-start; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); }
.pl-plum-panel__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--lilac); margin-top: 8px; }
.pl-plum-panel__title { font-weight: 600; font-size: 17px; }
.pl-plum-panel__text { font-size: 15px; color: var(--tile); line-height: 1.6; font-weight: 300; }

/* Closing CTA (pattern 9) */
.pl-section--cta { padding: 112px 48px; background: var(--plum); overflow: hidden; }
.pl-cta { position: relative; max-width: 760px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; color: #fff; }
.pl-cta .pl-eyebrow { justify-content: center; }
.pl-cta .pl-h2 { color: #fff; }
.pl-cta__text { font-size: 18px; line-height: 1.7; color: var(--tile); font-weight: 300; max-width: 620px; }
.pl-cta__text--sm { font-size: 16px; }
.pl-cta__text a { color: #fff; font-weight: 600; }
.pl-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 8px; }

/* Testimonials */
.pl-stars { display: flex; gap: 4px; color: var(--plum); }
.pl-stars svg { transition: transform .3s var(--ease); }
.pl-quote:hover .pl-stars svg { transform: scale(1.12); }
.pl-quote:hover .pl-stars svg:nth-child(2) { transition-delay: .04s; }
.pl-quote:hover .pl-stars svg:nth-child(3) { transition-delay: .08s; }
.pl-quote:hover .pl-stars svg:nth-child(4) { transition-delay: .12s; }
.pl-quote:hover .pl-stars svg:nth-child(5) { transition-delay: .16s; }
.pl-quote__text { font-size: 16px; line-height: 1.7; color: var(--ink-muted); font-weight: 300; flex: 1; }
.pl-quote__name { font-weight: 600; font-size: 16px; }
.pl-quote__role { font-size: 14px; color: var(--plum); font-weight: 500; margin-top: 2px; }

/* Mini service group cards (Weight Loss) */
.pl-subitems { display: grid; gap: 14px; }
.pl-subitem__title { font-weight: 600; font-size: 16px; }
.pl-subitem__text { margin-top: 2px; font-size: 15px; line-height: 1.6; color: var(--ink-muted); font-weight: 300; }
.pl-wide { grid-column: 1 / -1; }
.pl-photo-card { background: #fff; border-radius: 28px; overflow: hidden; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: stretch; }
.pl-photo-card__img { display: block; width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.pl-photo-card__body { padding: 40px; display: flex; flex-direction: column; gap: 20px; }

/* WM how-it-works */
.pl-how { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.pl-how__line { position: absolute; top: 28px; left: 12%; right: 12%; display: none; height: 2px; background: linear-gradient(90deg, var(--lilac), var(--plum)); transform-origin: left; z-index: 0; }
@keyframes lineGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
[data-reveal="in"] .pl-how__line { animation: lineGrow 1.2s .3s var(--ease) both; }
.pl-how__step { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.pl-how__title { font-weight: 600; font-size: 19px; }

/* Forms */
.pl-form-card { background: #fff; border: 1px solid var(--border); border-radius: 28px; padding: 40px; box-shadow: var(--sh-panel); }
.pl-form-card--noborder { border: 0; }
.pl-form { display: flex; flex-direction: column; gap: 18px; }
.pl-form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.pl-field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink-muted); }
.pl-input { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--border-input); background: #fff; font-size: 16px; color: var(--ink); width: 100%; transition: border-color .2s ease, box-shadow .2s ease; font-weight: 400; }
textarea.pl-input { resize: vertical; }
.pl-input:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 4px rgba(111,40,116,.12); }
.pl-input:user-invalid, .pl-input.is-invalid { border-color: #C0392B; }
.pl-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pl-form__error { font-size: 14px; color: #C0392B; font-weight: 500; }
.pl-form__submit { align-self: flex-start; margin-top: 6px; }
.pl-form__submit[disabled] { opacity: .7; cursor: progress; transform: none; }
.pl-form__success { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; padding: 32px 0; animation: plFadeUp .5s var(--ease) both; }
.pl-form__success[hidden] { display: none; }
@keyframes plFadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.pl-form__success-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--tile); display: flex; align-items: center; justify-content: center; animation: popIn .7s var(--ease) both; }
.pl-form__success-title { font-size: 26px; font-weight: 600; }
.pl-form__success-text { font-size: 16px; line-height: 1.7; color: var(--ink-muted); font-weight: 300; max-width: 380px; }
.pl-toggle { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pl-toggle__label { display: block; font-size: 14px; font-weight: 500; color: var(--ink-muted); padding: 0; margin-bottom: 10px; }
.pl-toggle__opts { display: flex; gap: 10px; }
.pl-toggle__input { position: absolute; opacity: 0; width: 0; height: 0; }
.pl-toggle__pill { padding: 10px 22px; border-radius: 999px; border: 1px solid var(--border-input); background: #fff; color: var(--ink); font-weight: 600; font-size: 15px; cursor: pointer; transition: all .2s ease; user-select: none; }
.pl-toggle__pill:hover { border-color: var(--lilac-pale); background: var(--tint); }
.pl-toggle__input:checked + .pl-toggle__pill { border-color: var(--plum); background: var(--plum); color: #fff; }
.pl-toggle__input:focus-visible + .pl-toggle__pill { outline: 2px solid var(--plum); outline-offset: 3px; }

/* BMI calculator */
.pl-bmi { background: var(--tint); border-radius: 28px; padding: 40px; display: flex; flex-direction: column; gap: 22px; }
.pl-bmi__head { display: flex; flex-direction: column; gap: 8px; }
.pl-bmi__inputs { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; }
.pl-bmi__result { background: #fff; border-radius: 18px; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.pl-bmi__label { font-size: 13px; color: var(--ink-faint); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.pl-bmi__figure { display: flex; flex-direction: column; gap: 4px; }
.pl-bmi__value { font-size: 40px; font-weight: 600; color: var(--plum); letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.pl-bmi__cat { display: inline-flex; align-items: center; padding: 10px 16px; border-radius: 999px; background: var(--tile); color: var(--plum); font-weight: 600; font-size: 14px; transition: background .3s ease, color .3s ease; }
.pl-bmi__cat--healthy { background: var(--plum); color: #fff; }
.pl-bmi__cat--obese { background: var(--ink); color: #fff; }
.pl-bmi__bar { position: relative; height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--lilac) 0%, var(--plum) 35%, var(--lilac) 60%, var(--ink) 100%); opacity: .9; }
.pl-bmi__marker { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--plum); box-shadow: 0 4px 12px rgba(0,0,0,.15); transition: left .4s var(--ease); }
.pl-bmi__scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-faint); font-weight: 500; }
.pl-bmi__note { font-size: 13px; line-height: 1.6; color: var(--ink-faint); font-weight: 300; }

/* NHS contact panel (Complaints) */
.pl-nhs { border-radius: 28px; border: 1px solid var(--border); padding: 40px; display: flex; flex-direction: column; gap: 24px; }
.pl-nhs__intro { font-size: 19px; line-height: 1.5; font-weight: 600; }
.pl-nhs__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.pl-nhs__col { display: flex; flex-direction: column; gap: 6px; }
.pl-nhs__label { font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--plum); }
.pl-nhs__col a, .pl-nhs__col p { font-size: 17px; color: var(--ink); font-weight: 400; line-height: 1.55; }
.pl-nhs__col p { font-weight: 300; }
.pl-nhs__col a { overflow-wrap: anywhere; transition: color .2s ease; }
.pl-nhs__col a:hover { color: var(--plum); }

/* 404 / generic page */
.pl-content { padding: 96px 48px; }
.pl-content .pl-container { max-width: 880px; display: flex; flex-direction: column; gap: 22px; }
.pl-content p { font-size: 17px; line-height: 1.7; color: var(--ink-muted); font-weight: 300; }
.pl-content ul, .pl-content ol { padding-left: 24px; color: var(--ink-muted); font-weight: 300; }

/* ---------- Responsive --------------------------------------------------
   ≥1140: WM how-it-works line visible
   ≤1100: nav → burger
   ≤1024: sticky columns static, split grids collapse, photo heroes → mobile
   ≤720 : contact locations one column
   ≤640 : compact sections/headings/header
   ---------------------------------------------------------------------- */
@media (min-width: 1140px) { .pl-how__line { display: block; } }

@media (max-width: 1100px) {
  .pl-nav { display: none; }
  .pl-burger { display: flex; }
}

@media (max-width: 1024px) {
  .pl-sticky { position: static; }
  .pl-split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  /* Photo heroes: capped height, image anchored high, dark overlay, white text */
  .pl-hero { min-height: 0; height: min(78svh, 720px); padding: 0; align-items: flex-end; }
  .pl-hero__img { object-position: 70% 20%; }
  .pl-hero__grad { background: linear-gradient(180deg, rgba(35,40,43,.12) 0%, rgba(35,40,43,.35) 25%, rgba(35,40,43,.72) 50%, rgba(35,40,43,.94) 100%); }
  .pl-hero__body { padding: 140px 24px 44px; }
  .pl-hero__content { gap: 14px; }
  .pl-hero__content .pl-h1, .pl-hero__content p { color: #fff; }
  .pl-hero__content .pl-h1 { font-size: 40px; }
  .pl-hero__content .pl-h1 span { color: var(--lilac-pale); }
  .pl-hero__content .pl-eyebrow { color: #fff; font-size: 14px; }
  .pl-hero__content p { font-size: 15px; line-height: 1.55; }
  .pl-hero__content .pl-link { color: #fff; }
  .pl-hero__content .pl-link:hover { color: var(--lilac-pale); }
}

@media (max-width: 720px) {
  .pl-sites { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .pl-section, .pl-section--home-who, .pl-section--intro-complaints, .pl-section--making, .pl-section--cta { padding: 56px 20px; }
  .pl-section--tight { padding: 40px 20px 112px; }
  .pl-page-our-care-home-service .pl-section { padding: 64px 20px; }
  .pl-banner { padding: 48px 20px; }
  .pl-pbanner { padding: 48px 20px; min-height: 340px; }
  .pl-wm-hero { padding: 56px 20px; }
  .pl-wm-hero__img { min-height: 300px; }
  .pl-h1, .pl-wm-hero .pl-h1 { font-size: 38px; }
  .pl-h2, .pl-h2--cta, .pl-h2--statement, .pl-h2--38, .pl-h2--36 { font-size: 30px; }
  .pl-header { padding: 12px 20px; }
  .pl-header__logo, .pl-header.is-scrolled .pl-header__logo { height: 30px; }
  .pl-header__cta { display: none; }
  .pl-hero__body { padding: 120px 20px 32px; }
  .pl-hero { min-height: 420px; }
  .pl-collage__second { display: none; }
  .pl-footer { padding: 80px 20px 32px; }
  .pl-feature__text, .pl-ctabar, .pl-plum-panel, .pl-form-card, .pl-bmi, .pl-nhs, .pl-photo-card__body, .pl-card--40, .pl-card--36 { padding: 32px 24px; }
  .pl-modal__dialog { padding: 32px 24px; border-radius: 24px; }
  .pl-qblock__body { padding-left: 0; }
  .pl-grid-2, .pl-grid-2--gap48 { gap: 48px; }
  .pl-how__line { display: none; }
  .pl-est { padding: 16px 18px; }
  .pl-est__year { font-size: 32px; }
  .pl-dl { flex-wrap: wrap; }
  .pl-table th, .pl-table td { padding: 14px 16px; }
  .pl-site__map { height: 180px; }
  .pl-bmi__result { padding: 18px 20px; }
}

@media (max-width: 420px) {
  .pl-mobile__grid { grid-template-columns: minmax(0, 1fr); }
  .pl-btn { white-space: normal; text-align: center; }
}

/* ---------- Reduced motion -------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; translate: 0; }
}

/* ---------- Print ------------------------------------------------------- */
@media print {
  .pl-header, .pl-footer, .pl-modal, .pl-burger { display: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .pl-section { padding: 24px 0; }
}

/* ---------- WordPress wrappers ----------------------------------------- */
.wp-site-blocks { display: block; }
.wp-site-blocks > * { margin-block-start: 0 !important; margin-block-end: 0 !important; }
.wp-block-template-part { display: contents; }
@media (max-width: 1024px) { .pl-hide-m { display: none; } }
