/**
 * Advocate profile (v3), MD3 Expressive. Markup comes from
 * generate-dynamic-profiles-v2.js; behavior from js/profile-v3.js.
 * Bump PROFILE_V3_CSS_VERSION in the generator after editing this file.
 */

@import url("app-variables.css");
@import url("site.css");

/* ─── Tokens ───────────────────────────────────────────────── */

body.pf3,
.pf3 {
  --c-primary: #0b57d0;
  --c-on-primary: #ffffff;
  --c-primary-container: #d3e3fd;
  --c-on-primary-container: #041e49;
  --c-secondary-container: #c2e7ff;
  --c-on-secondary-container: #001d35;
  --c-tertiary: #146c2e;
  --c-tertiary-container: #c4eed0;
  --c-on-tertiary-container: #072711;
  --c-error: #b3261e;
  --c-surface: #ffffff;
  --c-surface-dim: #f8fafd;
  --c-container-low: #f0f4f9;
  --c-container: #e9eef6;
  --c-container-high: #dde3ea;
  --c-on-surface: #1f1f1f;
  --c-on-surface-variant: #444746;
  --c-outline: #747775;
  --c-outline-variant: #c4c7c5;

  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-lg-up: 20px;
  --r-xl: 28px;
  --r-xl-up: 32px;
  --r-2xl: 48px;
  --r-full: 999px;

  --ease: cubic-bezier(0.2, 0, 0, 1);
  --ease-effects: cubic-bezier(0.34, 0.8, 0.34, 1);
  --t-short: 200ms;

  --shadow-1: 0 1px 2px rgb(0 0 0 / 0.08), 0 1px 3px 1px rgb(0 0 0 / 0.05);
  --shadow-2: 0 2px 6px 2px rgb(0 0 0 / 0.06), 0 1px 2px rgb(0 0 0 / 0.1);

  /* review-sheet.js reads these */
  --dp2-font: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --dp2-theme: var(--c-primary);
  --dp2-text: var(--c-on-surface);
  --dp2-muted: var(--c-on-surface-variant);
  --dp2-border: var(--c-outline-variant);
  --dp2-gray-50: var(--c-container-low);

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 64px;
  --tabs-h: 56px;
  /* MD3E shape library: 9-sided cookie */
  --pf3-cookie: polygon(50.00% 0.00%,52.17% 0.31%,54.27% 1.21%,56.24% 2.57%,58.07% 4.21%,59.77% 5.91%,61.39% 7.47%,63.01% 8.74%,64.71% 9.59%,66.56% 10.03%,68.61% 10.10%,70.85% 9.94%,73.25% 9.73%,75.70% 9.65%,78.09% 9.88%,80.28% 10.54%,82.14% 11.70%,83.60% 13.33%,84.63% 15.37%,85.27% 17.68%,85.62% 20.11%,85.83% 22.51%,86.06% 24.75%,86.49% 26.75%,87.24% 28.50%,88.38% 30.02%,89.90% 31.39%,91.72% 32.72%,93.70% 34.10%,95.63% 35.61%,97.31% 37.32%,98.55% 39.24%,99.24% 41.32%,99.31% 43.51%,98.79% 45.73%,97.79% 47.91%,96.50% 50.00%,95.12% 51.97%,93.86% 53.84%,92.90% 55.65%,92.35% 57.47%,92.24% 59.36%,92.53% 61.39%,93.07% 63.58%,93.70% 65.90%,94.20% 68.31%,94.39% 70.70%,94.11% 72.96%,93.30% 75.00%,91.94% 76.72%,90.12% 78.09%,87.95% 79.12%,85.62% 79.89%,83.30% 80.51%,81.13% 81.13%,79.23% 81.90%,77.64% 82.94%,76.34% 84.33%,75.25% 86.06%,74.26% 88.09%,73.25% 90.27%,72.09% 92.43%,70.70% 94.39%,69.03% 95.95%,67.10% 96.98%,64.96% 97.43%,62.68% 97.31%,60.35% 96.71%,58.07% 95.79%,55.89% 94.77%,53.84% 93.86%,51.89% 93.23%,50.00% 93.00%,48.11% 93.23%,46.16% 93.86%,44.11% 94.77%,41.93% 95.79%,39.65% 96.71%,37.32% 97.31%,35.04% 97.43%,32.90% 96.98%,30.97% 95.95%,29.30% 94.39%,27.91% 92.43%,26.75% 90.27%,25.74% 88.09%,24.75% 86.06%,23.66% 84.33%,22.36% 82.94%,20.77% 81.90%,18.87% 81.13%,16.70% 80.51%,14.38% 79.89%,12.05% 79.12%,9.88% 78.09%,8.06% 76.72%,6.70% 75.00%,5.89% 72.96%,5.61% 70.70%,5.80% 68.31%,6.30% 65.90%,6.93% 63.58%,7.47% 61.39%,7.76% 59.36%,7.65% 57.47%,7.10% 55.65%,6.14% 53.84%,4.88% 51.97%,3.50% 50.00%,2.21% 47.91%,1.21% 45.73%,0.69% 43.51%,0.76% 41.32%,1.45% 39.24%,2.69% 37.32%,4.37% 35.61%,6.30% 34.10%,8.28% 32.72%,10.10% 31.39%,11.62% 30.02%,12.76% 28.50%,13.51% 26.75%,13.94% 24.75%,14.17% 22.51%,14.38% 20.11%,14.73% 17.68%,15.37% 15.37%,16.40% 13.33%,17.86% 11.70%,19.72% 10.54%,21.91% 9.88%,24.30% 9.65%,26.75% 9.73%,29.15% 9.94%,31.39% 10.10%,33.44% 10.03%,35.29% 9.59%,36.99% 8.74%,38.61% 7.47%,40.23% 5.91%,41.93% 4.21%,43.76% 2.57%,45.73% 1.21%,47.83% 0.31%);

  margin: 0;
  background: var(--c-container-low);
  color: var(--c-on-surface);
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.pf3 *,
.pf3 *::before,
.pf3 *::after {
  box-sizing: border-box;
}

.pf3 main :where(h1, h2, h3, p, ul, ol, dl, dd, figure) {
  margin: 0;
}

.pf3 [hidden] {
  display: none !important;
}

.pf3 main :where(ul, ol) {
  padding: 0;
  list-style: none;
}

.pf3 :is(main, .pf3-bar) svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex: 0 0 auto;
}

html:has(.pf3) {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + var(--tabs-h) + 16px);
}

.pf3-wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ─── Buttons ──────────────────────────────────────────────── */

.pf3-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--r-full);
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--t-short) var(--ease-effects), box-shadow var(--t-short) var(--ease-effects);
}

.pf3-btn--filled {
  background: var(--c-primary);
  color: var(--c-on-primary);
}

.pf3-btn--filled:hover {
  background: color-mix(in srgb, var(--c-primary), #fff 8%);
  box-shadow: var(--shadow-1);
}

.pf3-btn--tonal {
  background: var(--c-secondary-container);
  color: var(--c-on-secondary-container);
}

.pf3-btn--tonal:hover {
  background: color-mix(in srgb, var(--c-secondary-container), var(--c-on-secondary-container) 8%);
}

.pf3-btn--block {
  width: 100%;
}

.pf3 :is(a, button, summary):focus-visible {
  outline: 3px solid var(--c-primary);
  outline-offset: 2px;
}

/* ─── Hero (place sheet) ───────────────────────────────────── */

.pf3-hero {
  padding: 16px 0 24px;
  background: var(--c-surface);
}

.pf3-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--c-on-surface-variant);
}

.pf3-crumbs li {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pf3-crumbs li + li::before {
  content: "›";
  opacity: 0.6;
}

.pf3-crumbs a {
  color: inherit;
  text-decoration: none;
}

.pf3-crumbs a:hover {
  color: var(--c-primary);
  text-decoration: underline;
}

/* Mobile: centered, photo straddling the cover's bottom edge */
.pf3-place {
  --pf3-photo: 120px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "cover"
    "photo"
    "info"
    "resp"
    "acts";
  gap: 14px;
  justify-items: center;
  margin-top: 4px;
  text-align: center;
}

.pf3-cover {
  grid-area: cover;
  justify-self: stretch;
  position: relative;
  height: 168px;
  margin-inline: calc(-1 * var(--gutter));
  background-color: var(--c-primary);
  background-image:
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(145deg, var(--c-primary) 0%, color-mix(in srgb, var(--c-primary) 72%, #000) 100%);
  background-size: auto, cover;
  background-position: center;
}

.pf3-cover.is-custom {
  background-image: var(--pf3-cover-img);
  background-size: cover;
  background-position: center var(--pf3-cover-y, 50%);
}

.pf3-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--c-surface) 0%, rgb(255 255 255 / 0.6) 22%, rgb(255 255 255 / 0) 55%);
}

.pf3-place__photo {
  grid-area: photo;
  position: relative;
  z-index: 1;
  width: var(--pf3-photo);
  margin-top: calc(var(--pf3-photo) / -2 - 14px);
  aspect-ratio: 1;
  border: 4px solid var(--c-surface);
  border-radius: var(--r-full);
  overflow: hidden;
  background: var(--c-container);
}

.pf3-place__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pf3-place__info {
  grid-area: info;
  min-width: 0;
}

.pf3-hero h1 {
  font-size: clamp(26px, 4.2vw, 44px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--c-on-surface);
}

.pf3 .pf3-hero .pf3-badge {
  width: 0.7em;
  height: 0.7em;
  margin-left: 0.2em;
  vertical-align: -0.04em;
  color: var(--c-primary);
}

.pf3-rating {
  --rating: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: var(--c-on-surface-variant);
  font-size: 15px;
  text-decoration: none;
}

.pf3-rating__score {
  color: var(--c-on-surface);
  font-weight: 500;
}

.pf3-rating__score:empty {
  display: none;
}

.pf3-rating:hover .pf3-rating__count {
  color: var(--c-primary);
  text-decoration: underline;
}

.pf3-stars {
  position: relative;
  display: inline-flex;
}

.pf3-stars__base,
.pf3-stars__fill {
  display: inline-flex;
}

.pf3-stars__base {
  color: var(--c-container-high);
}

.pf3-stars__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--rating) / 5 * 100%);
  overflow: hidden;
  color: #f6b100;
}

.pf3 .pf3-stars svg {
  width: 17px;
  height: 17px;
}

.pf3 .pf3-place__cat {
  display: block;
  justify-content: center;
  gap: 6px;
  margin-top: 4px;
  color: var(--c-on-surface-variant);
  font-size: 15px;
}

.pf3 .pf3-response {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  grid-area: resp;
  justify-self: center;
  min-height: 32px;
  padding: 0 14px 0 10px;
  border-radius: var(--r-sm);
  background: var(--c-tertiary-container);
  color: var(--c-on-tertiary-container);
  font-size: 14px;
  font-weight: 500;
}

.pf3 .pf3-response[hidden] {
  display: none;
}

.pf3 .pf3-place__cat > span[aria-hidden] {
  margin: 0 6px;
}

.pf3 .pf3-hero .pf3-response svg {
  width: 18px;
  height: 18px;
  color: var(--c-tertiary);
}

/* Action row */
.pf3-acts {
  grid-area: acts;
  justify-self: stretch;
  margin-top: 8px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 8px;
}

.pf3-act {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--c-primary);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.pf3-act__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--r-full);
  background: var(--c-secondary-container);
  color: var(--c-on-secondary-container);
  transition: background-color var(--t-short) var(--ease-effects);
}

.pf3-act:hover .pf3-act__icon {
  background: color-mix(in srgb, var(--c-secondary-container), var(--c-on-secondary-container) 8%);
}

.pf3-act--primary .pf3-act__icon {
  background: var(--c-primary);
  color: var(--c-on-primary);
}

.pf3-act--primary:hover .pf3-act__icon {
  background: color-mix(in srgb, var(--c-primary), #fff 10%);
  box-shadow: var(--shadow-1);
}

.pf3-act:focus-visible {
  outline: none;
}

.pf3-act:focus-visible .pf3-act__icon {
  outline: 3px solid var(--c-primary);
  outline-offset: 2px;
}

.pf3-badge-btn {
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  vertical-align: baseline;
  cursor: pointer;
}

.pf3-place__initials {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: var(--c-primary-container);
  color: var(--c-on-primary-container);
  font-size: clamp(28px, 7vw, 72px);
  font-weight: 500;
}

@media (min-width: 860px) {
  .pf3-hero {
    padding: 20px 0 36px;
  }

  .pf3-place {
    justify-items: stretch;
    text-align: left;
    grid-template-columns: 258px minmax(0, 1fr);
    grid-template-areas:
      "photo info"
      "photo resp"
      "photo acts";
    grid-template-rows: auto auto 1fr;
    column-gap: 36px;
    row-gap: 14px;
    margin-top: 24px;
  }

  .pf3-cover {
    display: none;
  }

  .pf3-place__photo {
    width: auto;
    margin-top: 0;
    border: 0;
  }

  .pf3 .pf3-response {
    justify-self: start;
  }

  .pf3 .pf3-place__cat {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .pf3 .pf3-place__cat > span[aria-hidden] {
    margin: 0;
  }

  .pf3-acts {
    display: flex;
    gap: 20px;
    align-self: end;
    margin-top: 10px;
  }

  .pf3-act {
    width: 76px;
  }

  .pf3-act__icon {
    width: 52px;
    height: 52px;
  }
}

/* ─── Section tabs ─────────────────────────────────────────── */

.pf3-tabs {
  position: sticky;
  top: var(--nav-h);
  z-index: 300;
  background: color-mix(in srgb, var(--c-surface) 94%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-outline-variant);
}

.pf3-tabs__list {
  display: flex;
  gap: 0;
  height: var(--tabs-h);
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: none;
}

.pf3-tabs__list::-webkit-scrollbar { display: none; }

.pf3-tabs a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 16px;
  color: var(--c-on-surface-variant);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--t-short) var(--ease-effects), color var(--t-short) var(--ease-effects);
}

.pf3-tabs a:hover {
  background: color-mix(in srgb, var(--c-on-surface) 6%, transparent);
}

.pf3-tabs a[aria-current="true"] {
  color: var(--c-primary);
}

.pf3-tabs a[aria-current="true"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--c-primary);
}

/* ─── Layout ───────────────────────────────────────────────── */

.pf3-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  padding-block: 24px 64px;
}

@media (min-width: 1020px) {
  .pf3-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: start;
    padding-block: 32px 96px;
  }
}

.pf3-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
}

/* ─── Section cards ────────────────────────────────────────── */

.pf3-sec {
  padding: clamp(22px, 3.5vw, 36px);
  border-radius: var(--r-xl-up);
  background: var(--c-surface);
}

.pf3-sec__head {
  margin-bottom: 20px;
}

.pf3-sec__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  background: var(--c-primary-container);
  color: var(--c-on-primary-container);
}

.pf3-sec__icon svg {
  width: 22px !important;
  height: 22px !important;
}

.pf3-shape-circle { border-radius: var(--r-full); }
.pf3-shape-square { border-radius: var(--r-md); }
.pf3-shape-leaf { border-radius: var(--r-lg-up) var(--r-xs); }
.pf3-shape-arch { border-radius: var(--r-full) var(--r-full) var(--r-sm) var(--r-sm); }

.pf3-sec h2 {
  font-size: clamp(22px, 2.4vw, 26px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.pf3-sec h3 {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-on-surface-variant);
}

.pf3 .pf3-lead {
  margin-bottom: 16px;
}

.pf3 * + .pf3-lead {
  margin-top: 28px;
  color: var(--c-on-surface-variant);
}

.pf3-prose {
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-on-surface-variant);
}

/* Can and cannot do */
.pf3-points {
  display: grid;
  gap: 4px;
}

.pf3-points li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: var(--r-sm);
  background: var(--c-container-low);
  line-height: 1.55;
}

.pf3-points li:first-child { border-radius: var(--r-xl) var(--r-xl) var(--r-sm) var(--r-sm); }
.pf3-points li:last-child { border-radius: var(--r-sm) var(--r-sm) var(--r-xl) var(--r-xl); }
.pf3-points svg { margin-top: 1px; }
.pf3-points .is-can svg { color: var(--c-tertiary); }
.pf3-points .is-cannot svg { color: var(--c-error); }
.pf3-points .is-info svg { color: var(--c-primary); }

/* First-call questions */
.pf3-asks {
  display: grid;
  gap: 10px;
  counter-reset: ask;
}

.pf3-asks li {
  display: flex;
  gap: 14px;
  align-items: center;
  line-height: 1.5;
  counter-increment: ask;
}

.pf3-asks li::before {
  content: counter(ask);
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  height: 32px;
  border-radius: var(--r-full);
  background: var(--c-primary-container);
  color: var(--c-on-primary-container);
  font-size: 14px;
  font-weight: 500;
}

/* Local links */
.pf3-local {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 8px;
}

.pf3-local a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 12px 18px;
  border-radius: var(--r-lg);
  background: var(--c-container-low);
  color: var(--c-on-surface);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 150ms ease;
}

.pf3-local a:hover { background: var(--c-container); }
.pf3-local a:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }
.pf3-local svg { color: var(--c-primary); width: 18px !important; height: 18px !important; }

/* About */
.pf3-bio {
  font-size: 18px;
  line-height: 1.6;
}

.pf3-glance {
  display: grid;
  gap: 4px;
  margin-top: 24px !important;
}

@media (min-width: 640px) {
  .pf3-glance {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.pf3-glance > li {
  padding: 14px 16px;
  border-radius: var(--r-lg);
  background: var(--c-container-low);
}

.pf3-glance .pf3-k {
  display: block;
  font-size: 13px;
  color: var(--c-on-surface-variant);
}

.pf3-glance strong {
  display: block;
  font-weight: 500;
}

/* Icon tile (service area) */
.pf3-svc__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  background: var(--c-surface);
  color: var(--c-primary);
}

/* Chips */
.pf3-chips + .pf3-chip-group,
.pf3-chip-group + .pf3-chip-group {
  margin-top: 28px;
}

.pf3-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px !important;
}

.pf3-chips li {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: var(--r-sm);
  background: var(--c-primary-container);
  color: var(--c-on-primary-container);
  font-size: 14px;
  font-weight: 500;
}

/* Experience timeline */
.pf3-timeline {
  position: relative;
}

.pf3-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 16px;
  padding-bottom: 24px;
}

.pf3-timeline li:last-child {
  padding-bottom: 0;
}

.pf3-timeline li::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 22px;
  bottom: 0;
  width: 2px;
  border-radius: 2px;
  background: var(--c-outline-variant);
}

.pf3-timeline li:last-child::before {
  display: none;
}

.pf3-dot {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: var(--r-full);
  background: var(--c-surface);
  box-shadow: inset 0 0 0 2px var(--c-outline);
}

.pf3-timeline li.is-current .pf3-dot {
  background: var(--c-primary);
  box-shadow: 0 0 0 5px var(--c-primary-container);
}

.pf3-timeline time {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--c-primary);
}

.pf3-timeline strong {
  display: block;
  margin-top: 2px;
  font-size: 17px;
  font-weight: 500;
}

.pf3-timeline .pf3-org {
  display: block;
  font-size: 14px;
  color: var(--c-on-surface-variant);
}

.pf3-timeline p {
  margin-top: 8px !important;
  font-size: 15px;
  color: var(--c-on-surface-variant);
}

.pf3 .pf3-subhead {
  margin-top: 28px;
}

.pf3-edu-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.pf3-timeline + .pf3-edu-list,
.pf3-sec__head + .pf3-edu-list {
  margin-top: 0;
}

.pf3-edu {
  padding: 14px 18px;
  border-radius: var(--r-xl);
  background: var(--c-container-low);
}

.pf3-edu strong {
  display: block;
  font-weight: 500;
}

.pf3-edu span {
  font-size: 14px;
  color: var(--c-on-surface-variant);
}

/* Working style: MD3E sliders */
.pf3-styles {
  display: grid;
  gap: 28px;
}

.pf3-style__top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.pf3-style strong {
  font-weight: 500;
}

.pf3-style p {
  margin-top: 2px !important;
  font-size: 15px;
  color: var(--c-on-surface-variant);
}

.pf3-slider {
  --pos: 50%;
  position: relative;
  height: 44px;
  margin-top: 12px;
}

.pf3-slider__active,
.pf3-slider__inactive {
  position: absolute;
  top: 50%;
  height: 16px;
  transform: translateY(-50%);
}

.pf3-slider__active {
  left: 0;
  width: max(0px, calc(var(--pos) - 6px));
  border-radius: var(--r-full) var(--r-xs) var(--r-xs) var(--r-full);
  background: var(--c-primary);
}

.pf3-slider__inactive {
  right: 0;
  width: max(0px, calc(100% - var(--pos) - 6px));
  border-radius: var(--r-xs) var(--r-full) var(--r-full) var(--r-xs);
  background: var(--c-secondary-container);
}

.pf3-slider__handle {
  position: absolute;
  top: 0;
  left: clamp(2px, var(--pos), calc(100% - 2px));
  width: 4px;
  height: 44px;
  border-radius: var(--r-full);
  background: var(--c-primary);
  transform: translateX(-50%);
}

.pf3-slider__ends {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 13px;
  color: var(--c-on-surface-variant);
}

/* Availability */
.pf3 .pf3-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 14px 0 10px;
  margin-bottom: 20px;
  border-radius: var(--r-full);
  background: var(--c-container-low);
  font-size: 14px;
  font-weight: 500;
}

.pf3-status::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: var(--r-full);
  background: var(--c-outline);
}

.pf3-status.is-open {
  background: var(--c-tertiary-container);
  color: var(--c-on-tertiary-container);
}

.pf3-status.is-open::before {
  background: var(--c-tertiary);
}

.pf3-week {
  display: grid;
  gap: 4px;
}

.pf3-week li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-radius: var(--r-md);
  background: var(--c-container-low);
  font-size: 15px;
}

.pf3-week li:first-child { border-radius: var(--r-xl) var(--r-xl) var(--r-md) var(--r-md); }
.pf3-week li:last-child { border-radius: var(--r-md) var(--r-md) var(--r-xl) var(--r-xl); }

.pf3-week li.is-off {
  color: var(--c-on-surface-variant);
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--c-container);
}

.pf3-week li.is-today {
  background: var(--c-primary-container);
  color: var(--c-on-primary-container);
  font-weight: 500;
}

.pf3-week li.is-today .pf3-day::after {
  content: "Today";
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: var(--r-full);
  background: var(--c-primary);
  color: var(--c-on-primary);
  font-size: 11px;
  font-weight: 500;
  vertical-align: 1px;
}

.pf3-tz {
  margin-top: 12px !important;
  font-size: 13px;
  color: var(--c-on-surface-variant);
}

/* Service area */
.pf3-modes {
  display: grid;
  gap: 8px;
}

@media (min-width: 640px) {
  .pf3-modes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.pf3-mode {
  padding: 20px;
  border-radius: var(--r-xl);
  background: var(--c-container-low);
}

.pf3-mode .pf3-svc__icon {
  margin-bottom: 14px;
}

.pf3-mode strong {
  display: block;
  font-size: 17px;
  font-weight: 500;
}

.pf3-mode > span:not(.pf3-svc__icon) {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  color: var(--c-on-surface-variant);
}

.pf3-districts {
  margin-top: 28px;
}

.pf3-chips--links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  margin: 0 -16px;
  padding: 0 16px;
  border-radius: var(--r-sm);
  color: inherit;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color var(--t-short) var(--ease-effects);
}

.pf3-chips--links li {
  padding: 0 16px;
}

.pf3-chips--links a:hover {
  background: color-mix(in srgb, var(--c-on-primary-container) 8%, transparent);
}

.pf3-chips--links a:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 2px;
}

/* Reviews */
.pf3-empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 36px 20px;
  border-radius: var(--r-xl);
  background: var(--c-container-low);
  text-align: center;
}

.pf3-empty .pf3-sec__icon {
  margin-bottom: 6px;
}

.pf3-empty strong {
  font-size: 17px;
  font-weight: 500;
}

.pf3-empty p {
  max-width: 420px;
  font-size: 15px;
  color: var(--c-on-surface-variant);
}

.pf3-empty .pf3-btn {
  margin-top: 10px;
  min-height: 44px;
}

/* FAQ */
.pf3-faq {
  display: grid;
  gap: 4px;
}

.pf3-q {
  border-radius: var(--r-md);
  background: var(--c-container-low);
  transition: border-radius var(--t-short) var(--ease);
}

.pf3-q:first-child { border-top-left-radius: var(--r-xl); border-top-right-radius: var(--r-xl); }
.pf3-q:last-child { border-bottom-left-radius: var(--r-xl); border-bottom-right-radius: var(--r-xl); }

.pf3-q[open] {
  background: var(--c-container);
}

.pf3-q summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 60px;
  padding: 14px 20px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.pf3-q summary::-webkit-details-marker { display: none; }

.pf3-q summary svg {
  transition: transform var(--t-short) var(--ease);
}

.pf3-q[open] summary svg {
  transform: rotate(180deg);
}

.pf3-q p {
  padding: 0 20px 18px;
  color: var(--c-on-surface-variant);
}

/* ─── Contact card (aside) ─────────────────────────────────── */

.pf3-aside {
  display: grid;
  gap: 16px;
}

@media (min-width: 1020px) {
  .pf3-aside {
    position: sticky;
    top: calc(var(--nav-h) + var(--tabs-h) + 24px);
  }
}

@media (max-width: 1019px) {
  .pf3-aside {
    display: contents;
  }

  .pf3-contact {
    order: -1;
  }
}

.pf3-contact {
  padding: 28px;
  border-radius: var(--r-xl-up);
  background: var(--c-surface);
  box-shadow: var(--shadow-1);
}

.pf3-rate {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.pf3-rate strong {
  font-size: 44px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

.pf3-rate span {
  color: var(--c-on-surface-variant);
}

.pf3-rate--text strong {
  font-size: 28px;
  letter-spacing: -0.01em;
}

.pf3-free {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  margin-top: 14px;
  padding: 0 12px 0 8px;
  border-radius: var(--r-full);
  background: var(--c-tertiary-container);
  color: var(--c-on-tertiary-container);
  font-size: 13px;
  font-weight: 500;
}

.pf3-free svg {
  width: 16px !important;
  height: 16px !important;
  color: var(--c-tertiary);
}

.pf3-contact__actions {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.pf3-contact__list {
  display: grid;
  gap: 12px;
  margin-top: 22px !important;
  padding-top: 20px !important;
  border-top: 1px solid var(--c-outline-variant);
  font-size: 14px;
}

.pf3-contact__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.pf3-contact__list svg {
  color: var(--c-on-surface-variant);
}

.pf3-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 24px;
  border-radius: var(--r-xl);
  background: var(--c-surface);
}

.pf3-links h2 {
  width: 100%;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-on-surface-variant);
}

.pf3-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px 0 10px;
  border-radius: var(--r-full);
  background: var(--c-container-low);
  color: var(--c-on-surface);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.pf3-links a:hover {
  background: var(--c-container);
}

.pf3-links svg {
  width: 18px !important;
  height: 18px !important;
}

.pf3-report {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-self: center;
  font-size: 13px;
  color: var(--c-on-surface-variant);
  text-decoration: none;
}

.pf3-report:hover {
  text-decoration: underline;
}

.pf3-report svg {
  width: 16px !important;
  height: 16px !important;
}

/* ─── Bottom CTA ───────────────────────────────────────────── */

.pf3-cta {
  display: grid;
  gap: 20px;
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--r-2xl);
  background: var(--c-primary);
  color: var(--c-on-primary);
}

@media (min-width: 760px) {
  .pf3-cta {
    grid-template-columns: 1fr auto;
  }
}

.pf3-cta h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.pf3-cta p {
  margin-top: 8px !important;
  color: color-mix(in srgb, var(--c-on-primary) 84%, transparent);
}

.pf3-cta .pf3-btn {
  background: var(--c-surface);
  color: var(--c-primary);
}

.pf3-cta .pf3-btn:hover {
  background: var(--c-primary-container);
}

/* ─── Live data: reviews, services, booking ────────────────── */

.pf3-btn--text {
  min-height: 40px;
  padding: 0 12px;
  background: transparent;
  color: var(--c-primary);
}

.pf3-btn--text:hover:not(:disabled) {
  background: color-mix(in srgb, var(--c-primary) 8%, transparent);
}

.pf3-btn:disabled {
  color: color-mix(in srgb, var(--c-on-surface) 38%, transparent);
  cursor: default;
}

.pf3-reviews__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.pf3-reviews__score {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--c-on-surface-variant);
  font-size: 15px;
}

.pf3-reviews__score strong {
  font-size: 40px;
  font-weight: 400;
  line-height: 1;
  color: var(--c-on-surface);
}

.pf3-reviews__summary .pf3-btn {
  min-height: 44px;
}

.pf3-reviews {
  display: grid;
  gap: 4px;
}

.pf3-review {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--r-sm);
  background: var(--c-container-low);
}

.pf3-review:first-child { border-radius: var(--r-xl) var(--r-xl) var(--r-sm) var(--r-sm); }
.pf3-review:last-child { border-radius: var(--r-sm) var(--r-sm) var(--r-xl) var(--r-xl); }
.pf3-review:only-child { border-radius: var(--r-xl); }

.pf3-review__avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-full);
  background: var(--c-primary-container);
  color: var(--c-on-primary-container);
  font-size: 15px;
  font-weight: 500;
}

.pf3-review__body {
  min-width: 0;
  flex: 1;
}

.pf3-review__head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pf3-review__head strong {
  font-weight: 500;
}

.pf3-review__pin {
  padding: 2px 8px;
  border-radius: var(--r-sm);
  background: var(--c-secondary-container);
  color: var(--c-on-secondary-container);
  font-size: 12px;
  font-weight: 500;
}

.pf3-review__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  color: var(--c-on-surface-variant);
  font-size: 13px;
}

.pf3 .pf3-review__meta .pf3-stars svg {
  width: 14px;
  height: 14px;
}

.pf3 .pf3-review__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.pf3-review__tags li {
  padding: 4px 10px;
  border-radius: var(--r-sm);
  background: var(--c-surface);
  color: var(--c-on-surface-variant);
  font-size: 13px;
}

.pf3 .pf3-review__text {
  margin-top: 10px;
  white-space: pre-line;
}

.pf3-review__text.is-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pf3-review__more {
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--c-primary);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.pf3-reviews__pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  color: var(--c-on-surface-variant);
  font-size: 14px;
}

.pf3-offers {
  display: grid;
  gap: 4px;
}

.pf3-offer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px 12px 12px;
  border-radius: var(--r-sm);
  background: var(--c-container-low);
  color: inherit;
  text-decoration: none;
  transition: background-color var(--t-short) var(--ease-effects);
}

.pf3-offers li:first-child .pf3-offer { border-radius: var(--r-xl) var(--r-xl) var(--r-sm) var(--r-sm); }
.pf3-offers li:last-child .pf3-offer { border-radius: var(--r-sm) var(--r-sm) var(--r-xl) var(--r-xl); }
.pf3-offers li:only-child .pf3-offer { border-radius: var(--r-xl); }

a.pf3-offer:hover {
  background: var(--c-container);
}

.pf3-offer.is-paused {
  opacity: 0.6;
}

.pf3 .pf3-offer__cover {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: var(--r-lg);
  overflow: hidden;
}

.pf3-offer__body {
  display: grid;
  flex: 1;
  min-width: 0;
  gap: 2px;
}

.pf3-offer__body strong {
  font-weight: 500;
}

.pf3-offer__meta {
  overflow: hidden;
  color: var(--c-on-surface-variant);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pf3-offer__price {
  font-size: 14px;
  font-weight: 500;
}

.pf3-offer__select {
  flex: 0 0 auto;
  padding: 8px 16px;
  border-radius: var(--r-full);
  background: var(--c-secondary-container);
  color: var(--c-on-secondary-container);
  font-size: 14px;
  font-weight: 500;
}

.pf3-offers-from {
  display: block;
  margin-top: 12px;
  color: var(--c-primary);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.pf3-offers-from:hover {
  text-decoration: underline;
}

.pf3-book-more {
  display: grid;
  gap: 4px;
  justify-items: center;
  margin-top: 4px;
}

.pf3-book-more a {
  color: var(--c-primary);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.pf3-book-more a:hover {
  text-decoration: underline;
}

/* Explore Pro advocates rail */
.pf3-pro {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 148px;
  gap: 8px;
  margin: 0 -4px;
  padding: 4px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.pf3-pro::-webkit-scrollbar { display: none; }

.pf3-pro li {
  scroll-snap-align: start;
}

.pf3-pro__card {
  display: grid;
  justify-items: center;
  gap: 4px;
  height: 100%;
  padding: 18px 12px;
  border-radius: var(--r-xl);
  background: var(--c-container-low);
  color: inherit;
  text-align: center;
  text-decoration: none;
  transition: background-color var(--t-short) var(--ease-effects);
}

.pf3-pro__card:hover {
  background: var(--c-container);
}

.pf3-pro__photo {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 6px;
  border-radius: var(--r-full);
  overflow: hidden;
  background: var(--c-primary-container);
  color: var(--c-on-primary-container);
  font-weight: 500;
}

.pf3-pro__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pf3-pro__card strong {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
}

.pf3-pro__card > span:last-child {
  color: var(--c-on-surface-variant);
  font-size: 13px;
}

/* Dialog + toast (appended to body by profile-v3.js) */
.pf3-dialog {
  width: min(400px, calc(100vw - 48px));
  padding: 0;
  border: 0;
  border-radius: var(--r-xl);
  background: var(--c-container-low);
  color: var(--c-on-surface);
  box-shadow: var(--shadow-2);
}

.pf3-dialog::backdrop {
  background: rgb(0 0 0 / 0.32);
}

.pf3-dialog__panel {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.pf3-dialog__icon {
  justify-self: center;
  color: var(--c-primary);
}

.pf3-dialog__icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.pf3-dialog h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.3;
  text-align: center;
}

.pf3-dialog p {
  margin: 0;
  color: var(--c-on-surface-variant);
  font-size: 14px;
  line-height: 1.5;
}

.pf3-dialog__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
}

.pf3-dialog__actions .pf3-btn {
  min-height: 40px;
  padding: 0 20px;
  font-size: 14px;
}

.pf3-toast {
  position: fixed;
  left: 50%;
  bottom: calc(88px + env(safe-area-inset-bottom));
  z-index: 400;
  padding: 14px 16px;
  border-radius: var(--r-xs);
  background: #303030;
  color: #f2f2f2;
  font-size: 14px;
  opacity: 0;
  transform: translate(-50%, 8px);
  transition: opacity var(--t-short) var(--ease), transform var(--t-short) var(--ease);
  pointer-events: none;
}

.pf3-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ─── Mobile bottom bar ────────────────────────────────────── */

.pf3-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 350;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: var(--c-surface);
  box-shadow: 0 -1px 0 var(--c-outline-variant), 0 -4px 16px rgb(0 0 0 / 0.06);
  transform: translateY(110%);
  transition: transform 300ms cubic-bezier(0.05, 0.7, 0.1, 1);
}

.pf3-bar.is-visible {
  transform: none;
}

.pf3-bar__rate {
  min-width: 0;
  white-space: nowrap;
}

.pf3-bar__rate strong {
  display: block;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
}

.pf3-bar__rate span {
  font-size: 13px;
  color: var(--c-tertiary);
  font-weight: 500;
}

.pf3-bar .pf3-btn {
  min-height: 48px;
}

@media (min-width: 1020px) {
  .pf3-bar { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .pf3 *,
  .pf3 *::before,
  .pf3 *::after {
    transition-duration: 0s !important;
  }

  html:has(.pf3) {
    scroll-behavior: auto;
  }
}
