/*!
 * Westside CMS — public design system.
 * Every colour, font, size and radius comes from the design tokens (Render\Tokens → :root). Element defaults use
 * single-class (or :where()) selectors so the per-node rules the renderer emits (.n-<id>, later in the cascade) always win.
 * Rule of the house: nothing is hidden by this stylesheet that only JavaScript can reveal.
 */

/* ============================================================ 1. reset (scoped with :where so it never outranks anything) */
:where(*, *::before, *::after) { box-sizing: border-box; }
:where(html) { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: auto; }
:where(body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ul, ol) { margin: 0; }
:where(ul, ol)[class] { padding: 0; list-style: none; }
:where(img, picture, video, canvas, svg, iframe) { display: block; max-width: 100%; }
img { max-width: 100%; height: auto; }
:where(input, button, textarea, select) { font: inherit; color: inherit; }
:where(button) { cursor: pointer; background: none; border: 0; padding: 0; }
:where(table) { border-collapse: collapse; }
:where(a) { color: inherit; }
[hidden] { display: none !important; }

:root {
  --c-primary: #246DA3; --c-secondary: #1A5584; --c-accent: #EE9F74; --c-accent-dark: #B85A32; --c-text: #1C2733; --c-muted: #596472;
  --c-bg: #fff; --c-bg-alt: #F3F9FD; --c-dark: #0F2A40; --c-border: #DCE7EF;
  --f-heading: Georgia, "Times New Roman", serif; --f-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-base: 17px; --lh: 1.6; --container: 1200px; --gutter: 24px; --space-section: 96px; --space-el: 24px; --radius: 12px;
  --c-sky: #BBE5FA; --c-sky-soft: #EEF8FE; --c-peach: #FCD0B5; --c-peach-soft: #FFF4EC;
  --fw-body: 500; --fw-strong: 700; --fw-heading: 600;
  --accent-ink: var(--c-accent-dark, var(--c-accent));
  --tint: color-mix(in srgb, var(--c-accent) 14%, transparent);
  --hair: color-mix(in srgb, var(--c-text) 10%, transparent);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-sm: 0 1px 2px rgba(20,30,40,.06), 0 1px 3px rgba(20,30,40,.08);
  --shadow-md: 0 4px 12px rgba(20,30,40,.08), 0 2px 4px rgba(20,30,40,.05);
  --shadow-lg: 0 18px 44px -18px rgba(20,30,40,.28), 0 6px 14px -8px rgba(20,30,40,.12);
  --danger: #b3261e; --success: #1f6f43;
  --header-h: 84px;
}

html { font-size: 100%; }
body {
  background: var(--c-bg); color: var(--c-text);
  font-family: var(--f-body); font-size: var(--fs-base); line-height: var(--lh); font-weight: var(--fw-body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip; min-height: 100vh;
}
::selection { background: var(--c-sky); color: var(--c-text); }
b, strong { font-weight: var(--fw-strong); }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ============================================================ 2. typography */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .h-like {
  font-family: var(--f-heading); font-weight: var(--fw-heading); line-height: 1.1; letter-spacing: -.015em; color: inherit;
  overflow-wrap: anywhere; hyphens: manual; text-wrap: balance;
}
h1, .h1 { font-size: clamp(2.35rem, 4.8vw, 4.1rem); line-height: 1.04; letter-spacing: -.022em; font-weight: 700; }
h2, .h2 { font-size: clamp(1.95rem, 3.4vw, 2.95rem); line-height: 1.08; letter-spacing: -.02em; }
h3, .h3 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); }
h4, .h4 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); letter-spacing: -.005em; }
h5, .h5 { font-size: 1.12rem; letter-spacing: 0; }
h6, .h6 { font-family: var(--f-body); font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.h-like { font-size: clamp(1.45rem, 2.2vw, 1.9rem); }
h1 em, h2 em, h3 em, h4 em, .h-text em, .h1 em, .h2 em, .h3 em, .cta-heading em, .tb-heading em, .cs-heading em {
  font-style: normal; font-weight: inherit; color: var(--accent-ink);
}
p, li, dd, figcaption, blockquote { overflow-wrap: anywhere; }
p { text-wrap: pretty; }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.24rem); line-height: 1.6; color: var(--c-muted); max-width: 62ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px; margin: 0 0 14px;
  font-family: var(--f-heading); font-size: 13px; font-weight: 700; line-height: 1.3; letter-spacing: .2em; text-transform: uppercase;
  color: var(--c-primary); text-decoration: none;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--c-sky), var(--c-peach)); flex: none; }
[style*="text-align:center"] .eyebrow, .ta-center .eyebrow, .sec-head-center .eyebrow, .tpl-hero-center .eyebrow { justify-content: center; }
a { color: var(--c-primary); text-decoration-thickness: 1px; text-underline-offset: .22em; transition: color .2s; }
a:hover { color: var(--accent-ink); }
a[href^="mailto:"], a[href^="tel:"] { overflow-wrap: anywhere; }

.prose { line-height: 1.72; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-top: 1.6em; }
.prose h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-top: 1.4em; }
.prose h4, .prose h5 { margin-top: 1.3em; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: .55em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--accent-ink); }
.prose a { color: var(--c-primary); text-decoration: underline; }
.prose strong { font-weight: 600; }
.prose blockquote { border-left: 3px solid var(--c-sky); padding: .2em 0 .2em 1.2em; font-family: var(--f-heading); font-size: 1.28em; font-weight: 600; line-height: 1.45; }
.prose img { border-radius: var(--radius); }
.prose hr { border: 0; border-top: 1px solid var(--c-border); margin: 2em 0; }
.prose table { width: 100%; font-size: .95em; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--c-border); padding: .6em .8em; text-align: left; }
.prose-lg { font-size: 1.06em; }
.prose > :first-child { margin-top: 0; }

/* ============================================================ 3. buttons (design.buttons → --btn-* tokens) */
.btn {
  --btn-bg: transparent; --btn-c: inherit; --btn-b: transparent; --btn-pad: 14px 28px; --btn-r: 999px; --btn-w: 600;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em; max-width: 100%;
  padding: var(--btn-pad); border: 1px solid var(--btn-b); border-radius: var(--btn-r);
  background: var(--btn-bg); color: var(--btn-c);
  font-family: var(--f-body); font-size: 15.5px; font-weight: var(--btn-w); line-height: 1.2; letter-spacing: .01em; text-align: center; text-decoration: none;
  cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
  -webkit-tap-highlight-color: transparent; vertical-align: middle;
}
.btn:hover { color: var(--btn-c); }
.btn:active { transform: translateY(1px); }
.btn .btn-ico { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.btn:hover .btn-ico:last-child { transform: translateX(3px); }
.btn-label { min-width: 0; }
.btn-primary {
  --btn-bg: var(--btn-primary-bg, var(--c-primary)); --btn-c: var(--btn-primary-color, #fff); --btn-pad: var(--btn-primary-pad, 14px 28px);
  --btn-r: var(--btn-primary-radius, 999px); --btn-w: var(--btn-primary-weight, 600); --btn-b: var(--btn-primary-bg, var(--c-primary));
}
.btn-primary:hover { --btn-bg: var(--btn-primary-hover-bg, var(--c-secondary)); --btn-b: var(--btn-primary-hover-bg, var(--c-secondary)); --btn-c: var(--btn-primary-hover-color, var(--btn-primary-color, #fff)); box-shadow: 0 10px 24px -14px rgba(0,0,0,.45); }
.btn-secondary {
  --btn-bg: var(--btn-secondary-bg, var(--c-accent)); --btn-c: var(--btn-secondary-color, var(--c-text)); --btn-pad: var(--btn-secondary-pad, 14px 28px);
  --btn-r: var(--btn-secondary-radius, 999px); --btn-w: var(--btn-secondary-weight, 600); --btn-b: var(--btn-secondary-bg, var(--c-accent));
}
.btn-secondary:hover { --btn-bg: var(--btn-secondary-hover-bg, var(--c-text)); --btn-b: var(--btn-secondary-hover-bg, var(--c-text)); --btn-c: var(--btn-secondary-hover-color, var(--btn-secondary-color, #fff)); box-shadow: 0 10px 24px -14px rgba(0,0,0,.45); }
.btn-outline {
  --btn-bg: var(--btn-outline-bg, transparent); --btn-c: var(--btn-outline-color, var(--c-primary)); --btn-b: var(--btn-outline-border, currentColor);
  --btn-pad: var(--btn-outline-pad, 13px 27px); --btn-r: var(--btn-outline-radius, 999px); --btn-w: var(--btn-outline-weight, 600);
}
.btn-outline:hover { --btn-bg: var(--btn-outline-hover-bg, var(--c-primary)); --btn-b: var(--btn-outline-hover-bg, var(--c-primary)); --btn-c: var(--btn-outline-hover-color, #fff); }
.btn-text {
  --btn-c: var(--btn-text-color, var(--c-primary)); --btn-pad: var(--btn-text-pad, 0); --btn-w: var(--btn-text-weight, 600); --btn-r: 0;
  padding: var(--btn-text-pad, 0) !important; border: 0; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: .35em;
}
.btn-text:hover { --btn-c: var(--btn-text-hover-color, var(--accent-ink)); text-decoration-color: currentColor; }
.btn-white { --btn-bg: #fff; --btn-c: var(--c-text); --btn-b: #fff; }
.btn-white:hover { --btn-bg: transparent; --btn-c: #fff; --btn-b: rgba(255,255,255,.7); }
.btn-custom { --btn-bg: transparent; --btn-c: inherit; --btn-b: currentColor; }
.btn-sm { --btn-pad: 9px 18px !important; font-size: 13.5px; }
.btn-lg { font-size: 16px; }
.btn-lg:not(.btn-text) { padding: calc(var(--btn-pad-y, 0px) + 16px) 32px; }
.btn-xl:not(.btn-text) { padding: 20px 40px; font-size: 17px; }
.btn-block { display: flex; width: 100%; }
.btn-icon { padding: 0 !important; width: 52px; height: 52px; }
.btn[disabled], .btn.is-loading { opacity: .65; cursor: progress; }

/* ============================================================ 4. layout elements */
.el { min-width: 0; }
.el-section { position: relative; display: flex; flex-direction: column; padding-block: var(--space-section); }
.sec-inner { display: flex; flex-direction: column; gap: 32px; width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); min-width: 0; }
.el-section > .sec-inner { flex: 1 1 auto; justify-content: inherit; }
.bg-alt { background: var(--c-bg-alt); }
.el > .el-bg { position: absolute !important; inset: -12% 0; z-index: -1 !important; will-change: transform; pointer-events: none; background-size: cover; background-position: center; }
.el > .el-bg-video { position: absolute !important; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1 !important; pointer-events: none; }
.has-parallax, .has-bg-video { isolation: isolate; overflow: hidden; }
.el-container { display: flex; flex-direction: column; gap: 20px; }
.el-row { --rgap: 32px; display: flex; flex-direction: row; gap: var(--rgap); align-items: stretch; }
:where(.el-row) > .el-column { flex: 1 1 0; }
.el-column { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.el-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 28px; }
.el-grid > * { min-width: 0; }
.el-spacer { height: 48px; }
.el-divider { width: 100%; height: 0; margin: 24px 0; border: 0; border-top: 1px solid var(--c-border); }
.div-dashed { border-top-style: dashed; } .div-dotted { border-top-style: dotted; } .div-double { border-top-style: double; border-top-width: 3px; }
.el-global_ref { display: contents; }
.el-wrap-link { display: block; color: inherit; text-decoration: none; }
.el-wrap-link:hover { color: inherit; }

/* ============================================================ 5. content elements */
.el-heading .h-text { margin: 0; }
.el-heading .h-text a { color: inherit; text-decoration: none; }
.el-paragraph { max-width: 100%; }
.el-richtext { max-width: 100%; }
.el-text_block { display: flex; flex-direction: column; gap: 18px; }
.el-text_block .eyebrow { margin-bottom: -4px; }
.el-text_block .tb-heading { margin: 0; }
.el-text_block .tb-text { color: var(--c-muted); }
.el-text_block .tb-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.ta-center { text-align: center; align-items: center; } .ta-center .tb-actions { justify-content: center; } .ta-center .tb-text { margin-inline: auto; max-width: 62ch; }
.ta-right { text-align: right; align-items: flex-end; } .ta-right .tb-actions { justify-content: flex-end; }

.el-list { display: grid; grid-template-columns: repeat(var(--list-cols, 1), minmax(0, 1fr)); gap: var(--gap, 12px) 36px; margin: 0; padding: 0; list-style: none; }
.list-cols-2 { --list-cols: 2; } .list-cols-3 { --list-cols: 3; }
.el-list > li { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.el-list .li-ico { display: inline-grid; place-items: center; flex: none; width: calc(var(--icon-size, 18px) + 12px); height: calc(var(--icon-size, 18px) + 12px); margin-top: .05em; border-radius: 50%; background: var(--tint); color: var(--icon-color, var(--accent-ink)); }
.el-list .li-ico .ico { width: var(--icon-size, 16px); height: var(--icon-size, 16px); stroke-width: 2; }
.el-list .li-num { flex: none; min-width: 2ch; font-family: var(--f-heading); font-size: 1.3em; line-height: 1.2; color: var(--icon-color, var(--accent-ink)); }
.el-list .li-text { min-width: 0; padding-top: .1em; }
.el-list a { color: inherit; }

.el-quote { position: relative; margin: 0; padding: 8px 0 8px 32px; border-left: 2px solid var(--accent, var(--c-accent)); }
.el-quote .q-mark { display: block; height: .5em; font-family: var(--f-heading); font-size: 4.5rem; line-height: .9; color: var(--accent, var(--c-accent)); opacity: .8; }
.el-quote .q-text { font-family: var(--f-heading); font-size: clamp(1.35rem, 2.2vw, 1.85rem); font-style: italic; line-height: 1.4; }
.el-quote .q-cap { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 18px; font-size: .92rem; }
.el-quote .q-cite { font-style: normal; font-weight: 600; }
.el-quote .q-role { color: var(--c-muted); }

.el-badge { display: block; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid transparent; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .02em; line-height: 1.25; }
.badge .badge-ico { width: 15px; height: 15px; }
.badge-solid { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-bg); }
.badge-soft { background: var(--tint); color: var(--accent-ink); }
.badge-outline { border-color: currentColor; }

/* ============================================================ 6. media */
.el-image { display: flex; flex-direction: column; align-items: var(--align, stretch); margin: 0; }
.el-image img { display: block; }
.el-image figcaption, .gal-item figcaption { margin-top: 10px; font-size: .88rem; color: var(--c-muted); }
.el-image .img-lb { display: block; cursor: zoom-in; overflow: hidden; border-radius: inherit; }

.gal { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: var(--gap, 16px); }
.gal-masonry { display: block; columns: var(--cols, 3); column-gap: var(--gap, 16px); }
.gal-masonry .gal-item { break-inside: avoid; margin-bottom: var(--gap, 16px); }
.gal-item { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--c-bg-alt); min-width: 0; }
.gal-grid .gal-item { aspect-ratio: 4 / 3; }
.gal-grid .gal-item img, .gal-grid .gal-item picture, .gal-grid .gal-lb { width: 100%; height: 100%; }
.gal-item img { width: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gal-lb { display: block; cursor: zoom-in; }
.gal-item:hover img { transform: scale(1.035); }
.gal-carousel .car { --per-view: var(--cols, 3); }
.gal-carousel .gal-item { aspect-ratio: 4 / 3; }
.gal-carousel .gal-item img, .gal-carousel .gal-item picture, .gal-carousel .gal-lb { height: 100%; }

.vid-box { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: #0c0d0d; }
.vid-box iframe, .vid-box video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.vid-facade { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: pointer; }
.vid-thumb, .vid-facade picture { position: absolute; inset: 0; width: 100%; height: 100%; }
.vid-thumb, .vid-facade img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; }
.vid-thumb-blank { background: radial-gradient(circle at 30% 30%, #2a2f2e, #0c0d0d); }
.vid-facade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.35)); }
.vid-play { position: absolute; left: 50%; top: 50%; z-index: 1; display: grid; place-items: center; width: 78px; height: 78px; margin: -39px 0 0 -39px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--c-text); box-shadow: 0 12px 30px rgba(0,0,0,.25); transition: transform .3s var(--ease); }
.vid-play .ico { width: 26px; height: 26px; margin-left: 4px; fill: currentColor; }
.vid-facade:hover .vid-play { transform: scale(1.08); }
.vid-facade:hover img { transform: scale(1.03); }

.el-bg_video { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 60vh; overflow: hidden; isolation: isolate; background: var(--c-dark) center / cover no-repeat; color: #fff; }
.bgv-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.bgv-overlay { position: absolute; inset: 0; z-index: -1; background: rgba(0,0,0,.4); pointer-events: none; }
.bgv-inner { position: relative; display: flex; flex-direction: column; gap: 20px; width: 100%; max-width: var(--container); margin-inline: auto; min-width: 0; }

.el-icon { display: block; line-height: 0; }
.icon-shape { display: inline-grid; place-items: center; color: var(--icon-color, var(--c-primary)); }
.el-icon .ico { width: var(--icon-size, 32px); height: var(--icon-size, 32px); }
.shape-circle.icon-shape, .shape-rounded.icon-shape, .shape-square.icon-shape { padding: calc(var(--icon-size, 32px) * .45); background: var(--icon-bg, var(--tint)); }
.icon-shape.shape-circle { border-radius: 50%; } .icon-shape.shape-rounded { border-radius: 14px; }
.icon-link { display: inline-block; color: inherit; }

.el-logo { display: block; line-height: 0; }
.logo-link { display: inline-flex; align-items: center; max-width: 100%; color: inherit; text-decoration: none; }
.logo-img, .el-logo img { height: 48px; width: auto; max-width: 100%; object-fit: contain; }
.logo-text { font-family: var(--f-heading); font-size: 1.6rem; font-weight: 600; line-height: 1.1; letter-spacing: -.01em; }

.el-button { display: block; }

/* ============================================================ 7. interactive */
.acc { display: grid; grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr)); column-gap: 56px; align-items: start; }
.acc-item { border-bottom: 1px solid var(--divider-color, var(--c-border)); }
.acc-item:first-child, .faq-cols-2 .acc-item:nth-child(2) { border-top: 1px solid var(--divider-color, var(--c-border)); }
.acc-title { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 2px; cursor: pointer; list-style: none; font-family: var(--f-heading); font-size: clamp(1.15rem, 1.6vw, 1.35rem); font-weight: 500; line-height: 1.35; color: var(--title-color, inherit); transition: color .2s; }
.acc-title::-webkit-details-marker { display: none; }
.acc-title::marker { content: ""; }
.acc-title:hover { color: var(--accent-ink); }
.acc-ico { position: relative; flex: none; width: 34px; height: 34px; border: 1px solid var(--c-border); border-radius: 50%; transition: transform .3s var(--ease), background-color .3s, border-color .3s; }
.acc-plus .acc-ico::before, .acc-plus .acc-ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; transition: transform .3s var(--ease); }
.acc-plus .acc-ico::after { transform: rotate(90deg); }
.acc-plus [open] > .acc-title .acc-ico::after { transform: rotate(0); }
.acc-chevron .acc-ico::before { content: ""; position: absolute; left: 50%; top: 45%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.acc-chevron [open] > .acc-title .acc-ico { transform: rotate(180deg); }
.acc-none .acc-ico { display: none; }
[open] > .acc-title .acc-ico { background: var(--c-text); border-color: var(--c-text); color: var(--c-bg); }
.acc-body { padding: 0 52px 24px 2px; color: var(--c-muted); max-width: 72ch; }

.tabs { display: flex; flex-direction: column; gap: 28px; }
html:not(.js) .tab-list { display: none; }
.tab-list { display: flex; gap: 28px; overflow-x: auto; border-bottom: 1px solid var(--c-border); scrollbar-width: none; }
.tab-list::-webkit-scrollbar { display: none; }
.tab-btn { position: relative; padding: 14px 2px; white-space: nowrap; font-weight: 600; color: var(--c-muted); transition: color .2s; }
.tab-btn::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--active-color, var(--c-accent)); transform: scaleX(0); transition: transform .3s var(--ease); }
.tab-btn[aria-selected="true"] { color: var(--active-color, var(--c-text)); }
.tab-btn[aria-selected="true"]::after { transform: scaleX(1); }
.tab-panels { min-width: 0; }
.tab-panel + .tab-panel { margin-top: 32px; }
.tabs.is-enhanced .tab-panel + .tab-panel { margin-top: 0; }
.tabs.is-enhanced .tab-panel-title { display: none; }
.tab-panel-title { margin-bottom: 12px; }
.tabs-vertical { display: grid; grid-template-columns: minmax(180px, 260px) minmax(0, 1fr); gap: 48px; }
.tabs-vertical .tab-list { flex-direction: column; gap: 0; border-bottom: 0; border-left: 1px solid var(--c-border); }
.tabs-vertical .tab-btn { padding: 12px 18px; text-align: left; white-space: normal; }
.tabs-vertical .tab-btn::after { left: -1px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; transform: scaleY(0); }
.tabs-vertical .tab-btn[aria-selected="true"]::after { transform: scaleY(1); }

.car { position: relative; }
.car-track {
  display: grid; grid-auto-flow: column; gap: var(--gap, 24px);
  grid-auto-columns: calc((100% - (var(--per-view, 3) - 1) * var(--gap, 24px)) / var(--per-view, 3));
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 8px; margin: -4px -2px -8px;
}
.car-track::-webkit-scrollbar { display: none; }
html:not(.js) .car-track { scrollbar-width: thin; }
.car-slide { min-width: 0; scroll-snap-align: start; display: flex; flex-direction: column; }
.car-slide > * { flex: 1 1 auto; }
.car-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 28px; }
.car-btn { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--c-border); border-radius: 50%; background: var(--c-bg); color: var(--c-text); transition: background-color .2s, color .2s, border-color .2s, opacity .2s; }
.car-btn:hover { background: var(--c-text); border-color: var(--c-text); color: var(--c-bg); }
.car-btn[disabled] { opacity: .35; pointer-events: none; }
.car-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.car-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--c-border); transition: width .3s var(--ease), background-color .3s; }
.car-dot[aria-current="true"] { width: 26px; background: var(--c-accent); }
.el-carousel .car { --per-view: inherit; }

.car-slider .car-track { gap: 0; grid-auto-columns: 100%; padding: 0; margin: 0; }
.el-slider { position: relative; overflow: hidden; border-radius: var(--radius); }
.sl-slide { position: relative; display: flex; align-items: flex-end; min-height: 640px; color: #fff; isolation: isolate; }
.sl-media, .sl-media picture, .sl-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.sl-ov { position: absolute; inset: 0; z-index: -1; background: var(--sl-overlay, rgba(0,0,0,.35)); }
.sl-body { display: flex; flex-direction: column; gap: 16px; width: 100%; max-width: 760px; padding: clamp(28px, 6vw, 72px); padding-bottom: clamp(88px, 10vw, 120px); }
.sl-heading { font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.06; }
.sl-text { font-size: 1.12rem; opacity: .9; max-width: 56ch; }
.sl-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.car-slider .car-nav { position: absolute; left: 0; right: 0; bottom: 24px; margin: 0; }
.car-slider .car-btn { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.4); color: #fff; backdrop-filter: blur(6px); }
.car-slider .car-btn:hover { background: #fff; color: var(--c-text); }
.car-slider .car-dot { background: rgba(255,255,255,.45); }
.car-slider .car-dot[aria-current="true"] { background: #fff; }

.modal { width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: calc(var(--radius) * 1.4); background: var(--c-bg); color: var(--c-text); box-shadow: 0 30px 80px -20px rgba(0,0,0,.45); overflow: auto; }
.modal-sm { width: min(440px, calc(100vw - 32px)); } .modal-lg { width: min(960px, calc(100vw - 32px)); }
.modal::backdrop { background: rgba(14,18,17,.55); backdrop-filter: blur(3px); }
.modal[open] { animation: ws-pop .35s var(--ease); }
.modal-body { display: flex; flex-direction: column; gap: 20px; padding: clamp(28px, 5vw, 48px); }
.modal-title { padding: clamp(28px, 5vw, 48px) clamp(28px, 5vw, 48px) 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.modal-title + .modal-body { padding-top: 16px; }
.modal-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--c-bg-alt); color: var(--c-text); z-index: 2; }
.modal-close:hover { background: var(--c-text); color: var(--c-bg); }
.modal.is-inline { position: relative; display: block; width: auto; max-height: none; margin: 12px 0 0; border: 1.5px dashed color-mix(in srgb, var(--c-accent) 60%, transparent); box-shadow: none; }
html.modal-open, html.nav-open { overflow: hidden; }
@keyframes ws-pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }

/* ============================================================ 8. cards (services, team, testimonials, blog, resources) */
.cards { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: var(--gap, 28px); }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--card-bg, var(--c-bg)); border-radius: var(--card-radius, var(--radius)); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s, background-color .3s; }
.card-link { color: inherit; text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.card:has(.card-link):hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-link:focus-visible { outline: none; }
.card:has(.card-link:focus-visible) { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
.card-media { overflow: hidden; border-radius: var(--card-radius, var(--radius)) var(--card-radius, var(--radius)) 0 0; aspect-ratio: 3 / 2; background: var(--c-bg-alt); }
.card-media img, .card-media picture { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { display: flex; flex-direction: column; gap: 12px; flex: 1 1 auto; padding: clamp(24px, 2.6vw, 34px); }
.card-ico { display: inline-grid; place-items: center; width: 54px; height: 54px; margin-bottom: 6px; border-radius: 50%; background: var(--tint); color: var(--accent-ink); }
.card-ico .ico { width: 24px; height: 24px; }
.card-num { font-family: var(--f-heading); font-size: 3rem; line-height: 1; color: var(--accent-ink); letter-spacing: -.02em; margin-bottom: 8px; }
.card-title { font-size: clamp(1.3rem, 1.8vw, 1.55rem); line-height: 1.2; }
.card-text { color: var(--c-muted); font-size: .97rem; line-height: 1.6; }
.card-more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--c-text); }
.card-more .ico { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.card:hover .card-more .ico { transform: translateX(4px); }
.card-soft .card { box-shadow: inset 0 0 0 1px var(--c-border); }
.card-soft .card:hover { box-shadow: inset 0 0 0 1px transparent, var(--shadow-lg); }
.card-outlined .card { background: var(--card-bg, transparent); border: 1px solid var(--c-border); }
.card-outlined .card:hover { border-color: var(--c-accent); box-shadow: none; }
.card-minimal .card { background: var(--card-bg, transparent); }
.card-minimal .card-body { padding: 18px 0 0; }
.card-minimal .card:hover { transform: none; box-shadow: none; }
.card-image .card { box-shadow: inset 0 0 0 1px var(--c-border); }
.card-dark .card { background: var(--card-bg, var(--c-dark)); color: #fff; }
.card-dark .card-text { color: rgba(255,255,255,.72); }
.card-dark .card-more { color: var(--c-accent); }
.card-dark .card-ico { background: rgba(255,255,255,.08); color: var(--c-accent); }

.svc-group + .svc-group { margin-top: 56px; }
.svc-group-title { margin-bottom: 18px; font-family: var(--f-body); font-size: 12.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-ink); }
.svc-list { border-top: 1px solid var(--c-border); }
.svc-list li { border-bottom: 1px solid var(--c-border); }
.svc-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 4px; color: inherit; text-decoration: none; transition: padding .3s var(--ease), color .2s; }
.svc-row:hover { padding-left: 14px; color: inherit; }
.svc-row-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.svc-row-name { font-family: var(--f-heading); font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.2; }
.svc-row-ex { color: var(--c-muted); font-size: .95rem; }
.svc-row .ico { width: 22px; height: 22px; flex: none; color: var(--accent-ink); transition: transform .3s var(--ease); }
.svc-row:hover .ico { transform: translateX(6px); }
.svc-index { columns: var(--cols, 3) 220px; column-gap: 40px; }
.svc-index li { break-inside: avoid; border-bottom: 1px solid var(--c-border); }
.svc-index a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; color: inherit; text-decoration: none; }
.svc-index .ico { width: 16px; height: 16px; color: var(--accent-ink); }

.tm-cards { gap: var(--gap, 32px); }
.tm-card { background: transparent; text-align: center; }
.tm-card:has(.card-link):hover { transform: none; box-shadow: none; }
.tm-photo { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--c-bg-alt); }
.tm-photo img, .tm-photo picture, .tm-img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tm-card:hover .tm-photo img { transform: scale(1.04); }
.shape-arch { border-radius: 50vw 50vw var(--radius) var(--radius); }
.shape-rounded { border-radius: var(--radius); }
.shape-circle.tm-photo, .shape-circle.tp-photo { border-radius: 50%; aspect-ratio: 1; }
.shape-square { border-radius: 0; }
.tm-initials { display: grid; place-items: center; font-family: var(--f-heading); font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--accent-ink); background: linear-gradient(160deg, var(--c-bg-alt), color-mix(in srgb, var(--c-accent) 18%, var(--c-bg-alt))); }
.tm-body { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 8px 0; }
.tm-name { font-size: clamp(1.3rem, 1.8vw, 1.55rem); }
.tm-pos { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); }
.tm-bio { margin-top: 6px; font-size: .95rem; color: var(--c-muted); }
.tm-social { position: relative; z-index: 2; margin-top: 8px; justify-content: center; }

.el-doctor_profile { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.dp-img-right .dp-photo { order: 2; }
.dp-split { align-items: stretch; row-gap: clamp(28px, 4vw, 48px); }
.dp-split .dp-photo { aspect-ratio: auto; height: 100%; min-height: 440px; }
.dp-content { justify-content: center; }
.dp-img-right { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.dp-chips { margin: 4px 0 0; }
.dp-actions .btn { white-space: nowrap; }
.dp-actions .btn-lg:not(.btn-text) { padding-inline: 26px; font-size: 15px; }
.dp-extra { order: 3; grid-column: 1 / -1; padding: clamp(22px, 3vw, 36px); border: 1px solid var(--c-border); border-radius: calc(var(--radius) * 1.5); background: color-mix(in srgb, var(--c-bg-alt) 55%, var(--c-bg)); }
.dp-extra .dp-sub { margin-bottom: 16px; }
.dp-extra .dp-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.dp-extra .dp-list li { padding: 18px 20px 18px 40px; border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--c-bg); line-height: 1.55; }
.dp-extra .dp-list li::before { left: 20px; top: calc(18px + .55em); }
.dp-stacked { grid-template-columns: minmax(0, 1fr); max-width: 760px; margin-inline: auto; text-align: center; }
.dp-card { padding: clamp(24px, 4vw, 48px); border-radius: calc(var(--radius) * 1.5); background: var(--c-bg-alt); }
.dp-photo { overflow: hidden; aspect-ratio: 4 / 5; border-radius: 50vw 50vw var(--radius) var(--radius); background: var(--c-bg-alt); }
.dp-photo img, .dp-photo picture, .dp-img { width: 100%; height: 100%; object-fit: cover; }
.dp-content { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.dp-content .eyebrow { margin-bottom: 0; }
.dp-name { font-size: clamp(2rem, 3.6vw, 3rem); }
.dp-cred { font-weight: 600; color: var(--c-muted); }
.dp-sub, .tp-sub { margin-bottom: 10px; font-family: var(--f-body); font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--c-muted); }
.dp-list li { position: relative; padding: 8px 0 8px 22px; border-bottom: 1px solid var(--c-border); }
.dp-list li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); }
.dp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.dp-bio > :last-child { margin-bottom: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.chips li, .chip { display: inline-flex; align-items: center; padding: 7px 14px; border: 1px solid var(--c-border); border-radius: 999px; font-size: 13.5px; font-weight: 500; color: inherit; text-decoration: none; background: var(--c-bg); transition: background-color .2s, color .2s, border-color .2s; }
a.chip:hover { border-color: var(--c-text); color: inherit; }
.chip.is-active { background: var(--c-text); border-color: var(--c-text); color: var(--c-bg); }

.t-card { gap: 18px; padding: clamp(26px, 3vw, 38px); background: var(--card-bg, var(--c-bg)); box-shadow: inset 0 0 0 1px var(--c-border); margin: 0; }
.t-mark { display: block; height: 28px; font-family: var(--f-heading); font-size: 5rem; line-height: .8; color: var(--c-accent); }
.stars { display: inline-flex; gap: 3px; color: var(--star-color, var(--c-accent)); }
.star { width: 16px; height: 16px; fill: color-mix(in srgb, currentColor 22%, transparent); }
.star.on { fill: currentColor; }
.t-quote { flex: 1 1 auto; margin: 0; }
.t-quote p { font-family: var(--f-heading); font-size: clamp(1.15rem, 1.5vw, 1.3rem); line-height: 1.5; }
.t-meta { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.t-avatar { flex: none; width: 48px; height: 48px; overflow: hidden; border-radius: 50%; background: var(--c-bg-alt); }
.t-avatar img, .t-avatar picture { width: 100%; height: 100%; object-fit: cover; }
.t-initials { display: grid; place-items: center; font-family: var(--f-heading); font-size: 1.1rem; color: var(--accent-ink); background: var(--tint); }
.t-who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.t-name { font-style: normal; font-weight: 600; }
.t-src { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--c-muted); text-decoration: none; }
.t-src .ico { width: 14px; height: 14px; }
.t-carousel .car { --per-view: var(--cols, 3); }
.t-masonry { columns: var(--cols, 3); column-gap: var(--gap, 28px); }
.t-masonry .t-card { break-inside: avoid; margin-bottom: var(--gap, 28px); }
.t-stage .car { --per-view: 1; }
.t-stage .t-card { align-items: center; padding: clamp(28px, 6vw, 72px) clamp(20px, 6vw, 96px); text-align: center; background: transparent; box-shadow: none; }
.t-stage .t-quote p { font-size: clamp(1.45rem, 3vw, 2.3rem); line-height: 1.38; font-style: italic; }
.t-stage .t-meta { justify-content: center; }
.t-stage .t-mark { font-size: 6.5rem; height: 40px; }

.post-card { overflow: hidden; }
.post-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-bg-alt); border-radius: var(--card-radius, var(--radius)) var(--card-radius, var(--radius)) 0 0; }
.post-media img, .post-media picture, .post-img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.post-img-blank { display: grid; place-items: center; color: color-mix(in srgb, var(--c-accent) 55%, transparent); background: linear-gradient(135deg, var(--c-bg-alt), color-mix(in srgb, var(--c-accent) 14%, var(--c-bg-alt))); }
.post-img-blank .ico { width: 48px; height: 48px; }
.post-card:hover .post-media img { transform: scale(1.04); }
.post-body { display: flex; flex-direction: column; gap: 12px; flex: 1 1 auto; padding: 26px 28px 30px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--c-muted); }
.post-cat { font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
.post-title { font-size: clamp(1.3rem, 1.8vw, 1.55rem); line-height: 1.22; }
.post-ex { color: var(--c-muted); font-size: .97rem; }
.post-soft .post-card { box-shadow: inset 0 0 0 1px var(--c-border); }
.post-minimal .post-card { background: transparent; }
.post-minimal .post-media { border-radius: var(--radius); }
.post-minimal .post-body { padding: 20px 0 0; }
.post-minimal .post-card:hover { transform: none; box-shadow: none; }
.post-overlay .post-card { min-height: 420px; color: #fff; justify-content: flex-end; }
.post-overlay .post-media { position: absolute; inset: 0; aspect-ratio: auto; border-radius: inherit; }
.post-overlay .post-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.75)); }
.post-overlay .post-body { position: relative; }
.post-overlay .post-meta, .post-overlay .post-ex { color: rgba(255,255,255,.8); }
.post-overlay .post-cat, .post-overlay .card-more { color: #fff; }
.el-featured_post .post-card { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); box-shadow: inset 0 0 0 1px var(--c-border); }
.el-featured_post .post-media { aspect-ratio: auto; min-height: 360px; border-radius: var(--radius) 0 0 var(--radius); }
.el-featured_post .post-body { justify-content: center; padding: clamp(28px, 4vw, 56px); gap: 16px; }
.el-featured_post .post-title { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.fp-card .post-card { grid-template-columns: minmax(0, 1fr); }
.fp-card .post-media { border-radius: var(--radius) var(--radius) 0 0; min-height: 280px; }
.fp-overlay .post-card { grid-template-columns: minmax(0, 1fr); min-height: 520px; color: #fff; }
.fp-overlay .post-media { position: absolute; inset: 0; border-radius: inherit; }
.fp-overlay .post-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(0,0,0,.78)); }
.fp-overlay .post-body { position: relative; justify-content: flex-end; max-width: 760px; }
.fp-overlay .post-meta, .fp-overlay .post-ex { color: rgba(255,255,255,.82); }
.fp-overlay .post-cat, .fp-overlay .card-more { color: #fff; }

.pr-item { flex-direction: row; gap: 18px; padding: 28px; box-shadow: inset 0 0 0 1px var(--c-border); }
.pr-cards .pr-item { flex-direction: column; }
.pr-ico { display: inline-grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--tint); color: var(--accent-ink); }
.pr-ico .ico { width: 24px; height: 24px; }
.pr-body { display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; min-width: 0; }
.pr-title { font-size: clamp(1.2rem, 1.6vw, 1.4rem); }
.pr-text { color: var(--c-muted); font-size: .96rem; }
.pr-list { display: flex; flex-direction: column; }
.pr-list .pr-item { border-radius: 0; box-shadow: none; border-bottom: 1px solid var(--c-border); padding: 22px 0; }
.pr-list .pr-item:hover { transform: none; }
.pr-icons .pr-item { align-items: center; text-align: center; flex-direction: column; box-shadow: none; background: transparent; padding: 12px; }

/* ============================================================ 9. dental / business */
.ba-grid { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: var(--gap, 28px); }
.ba { margin: 0; min-width: 0; }
.ba-frame { --pos: 50%; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--c-bg-alt); touch-action: pan-y; user-select: none; }
.ba-after img, .ba-after picture { display: block; width: 100%; height: auto; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-before img, .ba-before picture { width: 100%; height: 100%; object-fit: cover; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08); pointer-events: none; }
.ba-handle span { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.ba-handle span::before, .ba-handle span::after { content: ""; position: absolute; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-left: 2px solid var(--c-text); border-bottom: 2px solid var(--c-text); }
.ba-handle span::before { left: 12px; transform: rotate(45deg); }
.ba-handle span::after { right: 12px; transform: rotate(-135deg); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; background: transparent; }
.ba-range:focus-visible + .ba-handle, .ba-frame:has(.ba-range:focus-visible) .ba-handle span { outline: 3px solid var(--c-accent); outline-offset: 2px; }
.ba-label { position: absolute; top: 14px; z-index: 1; padding: 5px 12px; border-radius: 999px; background: rgba(15,18,17,.62); color: #fff; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; pointer-events: none; }
.ba-label-b { left: 14px; } .ba-label-a { right: 14px; }
.ba-cap { margin-top: 12px; font-size: .95rem; color: var(--c-muted); }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; overflow: hidden; border-radius: var(--radius); }
.ba-half { position: relative; }
.ba-half .ba-label { left: 12px; }
.ba-half img, .ba-half picture { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }

.el-appointment_cta { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 72px); padding: clamp(36px, 6vw, 80px); border-radius: calc(var(--radius) * 1.6); }
.cta-band { background: var(--c-dark); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.cta-band::after { content: ""; position: absolute; right: -10%; top: -60%; z-index: -1; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c-accent) 26%, transparent), transparent 65%); pointer-events: none; }
.cta-band .cta-text { color: rgba(255,255,255,.76); }
.cta-card { background: var(--c-bg-alt); }
.cta-split { padding-inline: 0; border-radius: 0; border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }
.cta-centered { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; background: var(--c-bg-alt); }
.cta-centered .cta-copy { max-width: 760px; }
.cta-centered .eyebrow, .cta-centered .cta-actions, .cta-centered .cta-meta { justify-content: center; }
.cta-copy { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.cta-copy .eyebrow { margin: 0; }
.cta-heading { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.cta-text { font-size: 1.08rem; max-width: 56ch; color: var(--c-muted); }
.cta-side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .cta-actions { justify-content: flex-end; }
.cta-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: .95rem; }
.biz-phone, .cta-phone, .loc-phone, .nd-phone, .biz-email { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: inherit; text-decoration: none; }
.biz-phone .ico, .cta-phone .ico, .loc-phone .ico, .nd-phone .ico { width: 18px; height: 18px; color: var(--accent-ink); }

.cs-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.cs-stacked .cs-main { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.cs-info { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.cs-heading { font-size: clamp(2rem, 3.6vw, 3rem); }
.cs-text { color: var(--c-muted); font-size: 1.06rem; }
.cs-details { display: flex; flex-direction: column; gap: 26px; margin-top: 14px; }
.cs-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cs-cards .cs-item { padding: 22px; border-radius: var(--radius); background: var(--c-bg-alt); }
.cs-item { display: flex; gap: 16px; align-items: flex-start; min-width: 0; }
.cs-item > div { min-width: 0; flex: 1 1 auto; }
.cs-ico { display: inline-grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--tint); color: var(--accent-ink); }
.cs-ico .ico { width: 20px; height: 20px; }
.cs-label { margin-bottom: 6px; font-family: var(--f-body); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--c-muted); }
.cs-big { font-family: var(--f-heading); font-size: clamp(1.45rem, 2.4vw, 1.9rem); line-height: 1.2; color: inherit; text-decoration: none; }
.cs-link { display: inline-block; margin-top: 6px; font-weight: 600; }
.cs-form { padding: clamp(24px, 4vw, 44px); border-radius: calc(var(--radius) * 1.4); background: var(--c-bg); box-shadow: inset 0 0 0 1px var(--c-border), var(--shadow-md); min-width: 0; }
.cs-map { margin-top: clamp(32px, 5vw, 56px); height: 420px; overflow: hidden; border-radius: var(--radius); background: var(--c-bg-alt); }
.cs-map .map-frame { height: 100%; }
.addr { font-style: normal; line-height: 1.6; }

.el-location { display: flex; flex-direction: column; gap: 18px; }
.loc-card { padding: 28px; border-radius: var(--radius); background: var(--c-bg); box-shadow: inset 0 0 0 1px var(--c-border); }
.loc-banner { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding: 28px clamp(24px, 4vw, 40px); border-radius: var(--radius); background: var(--c-bg-alt); }
.loc-addr { display: flex; gap: 14px; align-items: flex-start; min-width: 0; }
.loc-ico { display: inline-grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--tint); color: var(--accent-ink); }
.loc-ico .ico { width: 19px; height: 19px; }
.loc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.loc-inline { gap: 12px; }
.loc-inline .loc-ico { display: none; }

.el-map { position: relative; min-height: 220px; height: 420px; overflow: hidden; border-radius: var(--radius); background: var(--c-bg-alt); }
.map-frame { display: block; width: 100%; height: 100%; min-height: inherit; border: 0; }
.map-gray .map-frame { filter: grayscale(1) contrast(1.04); }

.bh-heading { margin-bottom: 12px; font-size: clamp(1.3rem, 2vw, 1.6rem); }
.hours { font-size: .97rem; }
.hours-table { width: 100%; }
.hours-table th, .hours-table td { padding: 10px 0; border-bottom: 1px solid var(--hair); vertical-align: top; }
.hours-table th { padding-right: 16px; text-align: left; font-weight: 500; }
.hours-table td { text-align: right; }
.hours .is-closed { color: var(--c-muted); }
.hours .is-today { font-weight: 600; }
.hours .is-today th, .hours .is-today .hd { position: relative; }
.hours-table .is-today th::before, .hours-compact .is-today .hd::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--c-accent); vertical-align: middle; }
.hours-compact { display: flex; flex-direction: column; gap: 6px; }
.hours-compact li { display: flex; justify-content: space-between; gap: 16px; }
.hours-compact .ht { text-align: right; }
.hours-inline { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.hours-note { margin-top: 10px; font-size: .9rem; color: var(--c-muted); }
.site-footer .hours .is-closed { color: inherit; opacity: .7; }

.el-social_links { display: flex; }
.socials { display: flex; flex-wrap: wrap; gap: var(--gap, 12px); margin: 0; padding: 0; list-style: none; }
.soc { display: inline-flex; align-items: center; gap: 10px; color: var(--icon-color, currentColor); text-decoration: none; }
.soc-ico { display: inline-grid; place-items: center; width: calc(var(--icon-size, 20px) + 24px); height: calc(var(--icon-size, 20px) + 24px); border: 1px solid color-mix(in srgb, currentColor 22%, transparent); border-radius: 50%; background: var(--icon-bg, transparent); transition: background-color .25s, border-color .25s, color .25s, transform .25s var(--ease); }
.soc-ico .ico { width: var(--icon-size, 20px); height: var(--icon-size, 20px); }
.soc:hover { color: var(--icon-color, currentColor); }
.soc:hover .soc-ico { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-dark); transform: translateY(-2px); }
.shape-rounded .soc-ico { border-radius: 12px; }
.shape-square .soc-ico { border-radius: 0; }
.shape-plain .soc-ico { width: auto; height: auto; border: 0; background: none; }
.shape-plain .soc:hover .soc-ico { background: none; color: var(--accent-ink); }
.soc-label { font-weight: 500; }

/* ============================================================ 10. forms */
.ws-form { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap, 18px) 18px; }
.f-row { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 7px; min-width: 0; margin: 0; padding: 0; border: 0; }
.form-two-column .f-half { grid-column: auto; }
.f-label { font-size: 14px; font-weight: 600; }
.f-req { margin-left: 3px; color: var(--accent-ink); }
.ws-form input:not([type=checkbox]):not([type=radio]):not([type=range]), .ws-form select, .ws-form textarea, .search-form input {
  width: 100%; min-height: 52px; padding: 13px 16px;
  border: 1px solid var(--input-border, var(--c-border)); border-radius: 10px; background: var(--input-bg, var(--c-bg)); color: var(--c-text);
  font-size: 16px; line-height: 1.4; transition: border-color .2s, box-shadow .2s, background-color .2s; -webkit-appearance: none; appearance: none;
}
.ws-form textarea { min-height: 132px; resize: vertical; }
.ws-form select { padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.ws-form input::placeholder, .ws-form textarea::placeholder, .search-form input::placeholder { color: color-mix(in srgb, var(--c-muted) 75%, transparent); }
.ws-form input:hover, .ws-form select:hover, .ws-form textarea:hover { border-color: color-mix(in srgb, var(--c-text) 30%, transparent); }
.ws-form input:focus, .ws-form select:focus, .ws-form textarea:focus, .search-form input:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-accent) 20%, transparent); }
.ws-form [aria-invalid="true"] { border-color: var(--danger) !important; }
.ws-form [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px color-mix(in srgb, var(--danger) 16%, transparent); }
.f-err { color: var(--danger); font-size: 13.5px; font-weight: 500; }
.f-err:empty { display: none; }
.f-help { color: var(--c-muted); font-size: 13px; }
.f-choices { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.f-choice { display: inline-flex; align-items: flex-start; gap: 10px; font-size: 15px; cursor: pointer; }
.f-choice input { flex: none; width: 19px; height: 19px; margin-top: .15em; accent-color: var(--c-primary); }
.f-heading { grid-column: 1 / -1; margin-top: 8px; font-size: 1.3rem; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.form-submit.is-loading .btn-label::after { content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 10px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; vertical-align: -2px; animation: ws-spin .7s linear infinite; }
@keyframes ws-spin { to { transform: rotate(360deg); } }
.form-status { padding: 14px 18px; border-radius: 10px; font-weight: 500; font-size: 15px; }
.form-status:empty { display: none; }
.form-status.is-success { background: color-mix(in srgb, var(--success) 10%, var(--c-bg)); color: var(--success); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--success) 30%, transparent); }
.form-status.is-error { background: color-mix(in srgb, var(--danger) 8%, var(--c-bg)); color: var(--danger); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--danger) 25%, transparent); }
.form-note { font-size: 13px; color: var(--c-muted); }
.form-inline .form-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.form-inline .f-row { grid-column: auto; }
.form-inline { flex-direction: row; flex-wrap: wrap; align-items: flex-end; }
.form-inline .form-grid { flex: 1 1 420px; }
.form-stacked .f-half { grid-column: 1 / -1; }

/* ============================================================ 11. navigation */
.el-nav_menu { display: flex; align-items: center; min-width: 0; }
.nav-list { display: flex; flex-wrap: wrap; align-items: center; gap: var(--gap, 6px 28px); margin: 0; padding: 0; list-style: none; min-width: 0; }
.ni { position: relative; display: flex; align-items: center; gap: 2px; }
.nl { position: relative; display: inline-block; padding: .55em 0; color: var(--menu-color, inherit); font-weight: 500; line-height: 1.3; text-decoration: none; transition: color .2s; }
.nl:hover, .nl[aria-current="page"] { color: var(--menu-hover, var(--accent-ink)); }
.nav-horizontal .nav-list > .ni > .nl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .2em; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-horizontal .nav-list > .ni > .nl:hover::after, .nav-horizontal .nav-list > .ni > .nl[aria-current="page"]::after { transform: scaleX(1); }
.sub-toggle { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: var(--menu-color, inherit); transition: transform .25s var(--ease), background-color .2s; }
.sub-toggle .ico { width: 15px; height: 15px; }
.sub-toggle[aria-expanded="true"] { transform: rotate(180deg); }
.nav-horizontal .sub { position: absolute; top: calc(100% + 6px); left: -18px; z-index: 30; min-width: 240px; margin: 0; padding: 10px; list-style: none; background: var(--c-bg); color: var(--c-text); border-radius: 14px; box-shadow: 0 0 0 1px var(--c-border), 0 24px 48px -20px rgba(15,20,19,.3); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; }
.nav-horizontal .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-horizontal .ni:hover > .sub, .nav-horizontal .ni:focus-within > .sub, .nav-horizontal .ni.is-open > .sub { opacity: 1; visibility: visible; transform: none; }
.nav-horizontal .sub .ni { display: block; }
.nav-horizontal .sub .nl { display: block; padding: 10px 14px; border-radius: 9px; color: var(--c-text); font-weight: 500; }
.nav-horizontal .sub .nl:hover { background: var(--c-bg-alt); color: var(--c-text); }
.nav-horizontal .sub .sub-toggle { position: absolute; right: 8px; top: 7px; transform: rotate(-90deg); color: var(--c-text); }
.nav-horizontal .sub .sub { top: -10px; left: 100%; }
.nav-footer .nav-list, .nav-vertical .nav-list { flex-direction: column; align-items: flex-start; gap: var(--gap, 10px); }
.nav-footer .nl, .nav-vertical .nl { padding: 0; }
.nav-footer .sub, .nav-vertical .sub, .sub-static { display: flex; flex-direction: column; gap: 8px; margin: 8px 0 0 14px; padding: 0; list-style: none; }
.nav-footer .ni, .nav-vertical .ni { flex-direction: column; align-items: flex-start; }
.nav-footer .sub-toggle, .nav-vertical .sub-toggle { display: none; }
.nav-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 16px; border: 1px solid color-mix(in srgb, currentColor 25%, transparent); border-radius: 999px; font-size: 14px; font-weight: 600; color: inherit; }
.nav-toggle .ico { width: 20px; height: 20px; }
.nav-drawer { position: fixed; inset: 0; z-index: 400; }
.nd-backdrop { position: absolute; inset: 0; background: rgba(14,18,17,.5); opacity: 0; transition: opacity .3s var(--ease); }
.nd-panel { position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 8px; width: min(440px, 100%); padding: 18px clamp(20px, 5vw, 32px) 32px; overflow-y: auto; overscroll-behavior: contain; background: var(--c-bg); color: var(--c-text); box-shadow: -30px 0 60px -30px rgba(0,0,0,.35); transform: translateX(100%); transition: transform .35s var(--ease); }
.nav-drawer.is-open .nd-backdrop { opacity: 1; }
.nav-drawer.is-open .nd-panel { transform: none; }
.nd-head { display: flex; align-items: center; justify-content: space-between; min-height: 52px; margin-bottom: 8px; }
.nd-title { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--c-muted); }
.nd-close { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--c-bg-alt); }
.nd-close .ico { width: 22px; height: 22px; }
.nd-list { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.nd-list .ni { display: grid; grid-template-columns: 1fr auto; align-items: center; border-bottom: 1px solid var(--c-border); }
.nd-list .nl { display: block; padding: 16px 0; min-height: 56px; font-family: var(--f-heading); font-size: 1.5rem; line-height: 1.2; color: var(--c-text); }
.nd-list .nl::after { display: none; }
.nd-list .sub-toggle { width: 48px; height: 48px; color: var(--c-text); }
.nd-list .sub { display: none; grid-column: 1 / -1; margin: 0 0 12px; padding: 0 0 0 14px; list-style: none; border-left: 1px solid var(--c-border); }
.nd-list .ni.is-open > .sub { display: block; }
.nd-list .sub .ni { border: 0; }
.nd-list .sub .nl { padding: 10px 0; min-height: 44px; font-family: var(--f-body); font-size: 1.02rem; }
.nd-cta { display: flex; flex-direction: column; gap: 16px; margin-top: auto; padding-top: 28px; }
.nd-phone { justify-content: center; min-height: 48px; font-size: 1.05rem; }

/* ============================================================ 12. site chrome */
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; padding: 12px 20px; border-radius: 999px; background: var(--c-dark); color: #fff; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }
.preview-bar { position: fixed; left: 50%; bottom: 16px; z-index: 900; transform: translateX(-50%); padding: 9px 18px; border-radius: 999px; background: var(--c-dark); color: #fff; font-size: 13px; font-weight: 600; box-shadow: var(--shadow-lg); pointer-events: none; }
.site-announce { position: relative; z-index: 61; }
.site-header { position: sticky; top: 0; z-index: 60; background: var(--c-bg); transition: box-shadow .3s var(--ease), background-color .3s, color .3s; }
.site-header .el-section { transition: background-color .3s, padding .3s var(--ease); }
html.is-scrolled .site-header { box-shadow: 0 1px 0 var(--c-border), 0 14px 32px -24px rgba(15,20,19,.35); }
body[data-hero="dark"] .site-header { position: fixed; left: 0; right: 0; background: transparent; color: #fff; }
body[data-hero="dark"] .site-announce + .site-header { position: absolute; top: var(--announce-h, 48px); }
html.is-scrolled body[data-hero="dark"] .site-announce + .site-header { top: 0; }
body[data-hero="dark"] .site-header > .el-section, body[data-hero="dark"] .site-header .el-section { background: transparent !important; border-color: transparent !important; }
body[data-hero="dark"] .site-header .el-nav_menu, body[data-hero="dark"] .site-header .btn-text { --menu-color: #fff; --btn-c: #fff; color: #fff; }
body[data-hero="dark"] .site-header .el-nav_menu > .nav-list > .ni > .nl, body[data-hero="dark"] .site-header .nav-list > .ni > .sub-toggle { color: #fff; }
.logo-on-dark { display: none !important; }
body[data-hero="dark"] .site-header .logo-img:not(.logo-on-dark) { display: none !important; }
body[data-hero="dark"] .site-header .logo-on-dark { display: block !important; filter: drop-shadow(0 2px 10px rgba(0,0,0,.25)); }
html.is-scrolled body[data-hero="dark"] .site-header { position: fixed; background: var(--c-bg); color: var(--c-text); }
html.is-scrolled body[data-hero="dark"] .site-header .el-section { background: var(--c-bg) !important; }
html.is-scrolled body[data-hero="dark"] .site-header .el-nav_menu, html.is-scrolled body[data-hero="dark"] .site-header .btn-text { --menu-color: var(--c-text); --btn-c: var(--c-text); color: var(--c-text); }
html.is-scrolled body[data-hero="dark"] .site-header .nav-list > .ni > .nl, html.is-scrolled body[data-hero="dark"] .site-header .nav-list > .ni > .sub-toggle { color: var(--c-text); }
html.is-scrolled body[data-hero="dark"] .site-header .logo-img:not(.logo-on-dark) { display: block !important; }
html.is-scrolled body[data-hero="dark"] .site-header .logo-on-dark { display: none !important; }
body[data-hero="dark"] main > .el-section:first-child { padding-top: max(var(--space-section), calc(var(--header-h) + 48px)); }
.site-header .el-section { padding-block: 14px; }
.site-header .sec-inner { gap: 12px; }
.site-footer { color: rgba(255,255,255,.86); }
.site-footer .el-section:first-child { padding-block: 80px 28px; }
.site-footer a:not(.btn) { color: inherit; text-decoration: none; }
.site-footer a:not(.btn):hover { color: var(--c-accent); }
.site-footer .nl:hover { color: var(--menu-hover, var(--c-accent)); }

/* ============================================================ 13. structured templates */
.tpl-hero { padding-block: calc(var(--space-section) * .9) calc(var(--space-section) * .6); background: radial-gradient(1200px 400px at 85% -10%, color-mix(in srgb, var(--c-accent) 14%, transparent), transparent 70%), var(--c-bg-alt); }
.tpl-hero .sec-inner { gap: 0; }
.tpl-hero .crumbs { margin-bottom: 28px; }
.tpl-title { max-width: 20ch; }
.tpl-hero .lead { margin-top: 20px; }
.tpl-hero .search-form { margin-top: 32px; }
.tpl-hero-center .sec-inner { align-items: center; text-align: center; }
.tpl-hero-center .tpl-title, .tpl-hero-center .lead { margin-inline: auto; }
.tpl-sec { padding-block: var(--space-section); }
.tpl-sec-cta { padding-top: 0; }
.bg-alt + .tpl-sec-cta, .tpl-sec.bg-alt + .tpl-sec-cta { padding-top: var(--space-section); }
.sec-head { display: flex; flex-direction: column; gap: 0; max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head .eyebrow { margin-bottom: 14px; }
.sec-sub { margin-top: 14px; color: var(--c-muted); }
.sec-head-center { align-items: center; margin-inline: auto; text-align: center; }
.sec-head-row { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; max-width: none; }
.empty-state { padding: clamp(32px, 6vw, 72px); border: 1px dashed var(--c-border); border-radius: var(--radius); text-align: center; color: var(--c-muted); }
.empty-state > * + * { margin-top: 14px; }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 13.5px; color: var(--c-muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--c-text); text-decoration: underline; }
.crumbs [aria-current] { color: var(--c-text); }

.svc-hero { overflow-x: clip; padding-block: calc(var(--space-section) * .75); background: radial-gradient(900px 420px at 0% 0%, color-mix(in srgb, var(--c-accent) 12%, transparent), transparent 70%), var(--c-bg-alt); }
.svc-hero .sec-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.svc-hero.no-media .sec-inner { grid-template-columns: minmax(0, 1fr); }
.svc-hero-copy { display: flex; flex-direction: column; min-width: 0; }
.svc-hero .crumbs { margin-bottom: 28px; }
.svc-title { max-width: 16ch; }
.svc-hero .lead { margin-top: 22px; }
.svc-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.trust-chips { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; padding: 0; list-style: none; font-size: 14.5px; font-weight: 500; }
.trust-chips li { display: inline-flex; align-items: center; gap: 8px; }
.trust-chips .ico { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--tint); color: var(--accent-ink); stroke-width: 2.4; }
.svc-hero-media { position: relative; }
.svc-hero-media::before { content: ""; position: absolute; inset: 8% -6% -6% 10%; border: 1px solid color-mix(in srgb, var(--c-accent) 45%, transparent); border-radius: 50vw 50vw var(--radius) var(--radius); pointer-events: none; }
.svc-hero-media picture, .svc-hero-media img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 50vw 50vw var(--radius) var(--radius); }
.svc-sec { padding-block: var(--space-section); }
.svc-overview-grid { display: grid; grid-template-columns: minmax(200px, 260px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.svc-overview-grid:not(:has(.svc-toc)) { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.svc-toc { position: sticky; top: calc(var(--header-h) + 24px); padding-left: 18px; border-left: 1px solid var(--c-border); }
.svc-toc-title { margin-bottom: 12px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--c-muted); }
.svc-toc ol { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.svc-toc li { counter-increment: toc; }
.svc-toc a { display: flex; gap: 10px; color: var(--c-text); text-decoration: none; font-size: .95rem; }
.svc-toc a::before { content: counter(toc, decimal-leading-zero); color: var(--accent-ink); font-variant-numeric: tabular-nums; font-size: .85em; padding-top: .1em; }
.svc-toc a:hover { color: var(--accent-ink); }
.svc-intro { display: flex; flex-direction: column; min-width: 0; }
.svc-intro .h2 { margin-bottom: 28px; max-width: 22ch; }
.svc-benefit-grid { --cols: 3; }
.benefit { padding: 30px; gap: 12px; }
.benefit .card-title { font-size: 1.3rem; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.step { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px 28px 8px 0; border-top: 1px solid var(--c-border); }
.step::before { content: ""; position: absolute; left: 0; top: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--c-accent); }
.step-num { font-family: var(--f-heading); font-size: 2.6rem; line-height: 1; color: var(--accent-ink); }
.step-title { font-size: 1.3rem; }
.step-body p { color: var(--c-muted); font-size: .97rem; }
.step-body { display: flex; flex-direction: column; gap: 8px; }
.svc-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.svc-panel { display: flex; flex-direction: column; min-width: 0; }
.svc-panel .h3 { margin-bottom: 22px; }
.svc-panel-card { padding: clamp(26px, 4vw, 44px); border-radius: calc(var(--radius) * 1.4); background: var(--c-bg); box-shadow: inset 0 0 0 1px var(--c-border); }
.checklist, .expect-list { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.checklist li, .expect-list li { display: flex; align-items: flex-start; gap: 14px; }
.checklist .ico { flex: none; width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--c-text); color: var(--c-bg); stroke-width: 2.4; }
.expect-dot { flex: none; width: 8px; height: 8px; margin-top: .6em; border-radius: 50%; background: var(--c-accent); }
.svc-tech-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.svc-results .ba-grid { --cols: 2; }
.svc-faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.svc-faq-grid .sec-head { position: sticky; top: calc(var(--header-h) + 24px); }
.svc-cta { padding-top: 0; }
.svc-results + .svc-faq, .svc-benefits + .svc-process { }
.svc-contact { padding-bottom: var(--space-section); }

.tp-hero { padding-block: calc(var(--space-section) * .75) var(--space-section); background: linear-gradient(180deg, var(--c-bg-alt) 0, var(--c-bg-alt) 62%, var(--c-bg) 62%); }
.tp-grid { display: grid !important; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.tp-photo { position: sticky; top: calc(var(--header-h) + 24px); overflow: hidden; aspect-ratio: 4 / 5; background: var(--c-bg-alt); box-shadow: var(--shadow-lg); }
.tp-photo img, .tp-photo picture, .tp-img { width: 100%; height: 100%; object-fit: cover; }
.tp-body { display: flex; flex-direction: column; gap: 18px; min-width: 0; padding-top: 12px; }
.tp-body .crumbs { margin-bottom: 10px; }
.tp-body .eyebrow { margin: 0; }
.tp-cred { font-weight: 600; color: var(--c-muted); }
.tp-bio { margin-top: 8px; }
.tp-edu { margin-top: 12px; }
.tp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

.cat-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin-top: 56px; }
.pager-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pager-num { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 999px; color: var(--c-text); text-decoration: none; font-weight: 600; }
.pager-num:hover { background: var(--c-bg-alt); color: var(--c-text); }
.pager-num.is-current { background: var(--c-text); color: var(--c-bg); }
.pager-gap { display: grid; place-items: center; min-width: 24px; color: var(--c-muted); }
.pager-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid var(--c-border); border-radius: 999px; color: var(--c-text); text-decoration: none; font-weight: 600; font-size: 14px; }
.pager-btn .ico { width: 16px; height: 16px; }
.pager-btn.is-disabled { opacity: .4; }

.art-head { padding-block: calc(var(--space-section) * .8) 40px; }
.art-narrow { max-width: calc(760px + var(--gutter) * 2); }
.art-wide { max-width: calc(1100px + var(--gutter) * 2); }
.art-head .sec-inner { gap: 0; }
.art-head .crumbs { margin-bottom: 26px; }
.art-cat { margin-bottom: 18px; }
.art-title { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.art-head .lead { margin-top: 20px; }
.art-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 26px; font-size: 14px; color: var(--c-muted); }
.art-meta span { display: inline-flex; align-items: center; gap: 8px; }
.art-meta .ico { width: 16px; height: 16px; }
.art-media { margin-block: 0 56px; }
.art-media img, .art-media picture { width: 100%; max-height: 640px; object-fit: cover; border-radius: calc(var(--radius) * 1.3); }
.art-body { font-size: 1.1rem; }
.art-tags { margin-top: 40px; }
.art-faq { margin-top: 56px; }
.art-faq .h3 { margin-bottom: 18px; }
.art-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-block: 56px var(--space-section); }
.art-nav-link { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px; border: 1px solid var(--c-border); border-radius: var(--radius); color: inherit; text-decoration: none; transition: border-color .2s; }
.art-nav-link:hover { border-color: var(--c-accent); color: inherit; }
.art-nav-link.next { text-align: right; align-items: flex-end; grid-column: 2; }
.art-nav-label { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); }
.art-nav-label .ico { width: 14px; height: 14px; }
.art-nav-title { font-family: var(--f-heading); font-size: 1.25rem; line-height: 1.25; }

.search-form { position: relative; display: flex; gap: 10px; width: 100%; max-width: 680px; }
.search-form .search-ico { position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: var(--c-muted); pointer-events: none; }
.search-form input { flex: 1 1 auto; min-width: 0; padding-left: 50px !important; border-radius: 999px !important; }
.search-form .btn { flex: none; }
.search-inner { max-width: calc(900px + var(--gutter) * 2); }
.notice { padding: 14px 18px; border-radius: 10px; background: var(--c-bg-alt); }
.sr-group + .sr-group { margin-top: 48px; }
.sr-group-title { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-family: var(--f-body); font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--c-muted); }
.sr-count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 8px; border-radius: 999px; background: var(--c-bg-alt); color: var(--c-text); letter-spacing: 0; }
.sr-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--c-border); }
.sr-item { padding: 22px 0; border-bottom: 1px solid var(--c-border); }
.sr-link { display: flex; flex-direction: column; gap: 4px; color: inherit; text-decoration: none; }
.sr-title { font-family: var(--f-heading); font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.25; }
.sr-link:hover .sr-title { color: var(--accent-ink); }
.sr-url { font-size: 13px; color: var(--c-muted); overflow-wrap: anywhere; }
.sr-ex { margin-top: 8px; color: var(--c-muted); font-size: .97rem; }
.sr-ex mark { background: var(--tint); color: var(--c-text); padding: 0 .15em; border-radius: 3px; }
.link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.link-grid a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border: 1px solid var(--c-border); border-radius: 12px; color: inherit; text-decoration: none; font-weight: 500; transition: border-color .2s, background-color .2s; }
.link-grid a:hover { border-color: var(--c-accent); background: var(--c-bg-alt); color: inherit; }
.link-grid .ico { width: 18px; height: 18px; color: var(--accent-ink); flex: none; }
.sr-suggest .h3 { margin-bottom: 18px; }

.tpl-404 { padding-block: calc(var(--space-section) * .9) var(--space-section); background: radial-gradient(900px 500px at 50% -10%, color-mix(in srgb, var(--c-accent) 14%, transparent), transparent 70%); }
.e404 { align-items: center; text-align: center; gap: 0; }
.e404-num { font-family: var(--f-heading); font-size: clamp(6rem, 20vw, 13rem); font-weight: 500; line-height: .9; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--c-accent) 70%, transparent); margin-bottom: 18px; }
.e404 .h1 { max-width: 18ch; }
.e404 .lead { margin: 20px auto 0; }
.e404 .search-form { margin: 36px auto 0; }
.e404-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 20px; margin-top: 24px; }
.e404-services { width: 100%; max-width: 900px; margin-top: 64px; text-align: left; }
.err-page { display: grid; place-items: center; min-height: 100vh; padding: 24px; }
.err-card { width: 100%; max-width: 560px; padding: clamp(28px, 6vw, 56px); border-radius: 20px; background: var(--c-bg); box-shadow: var(--shadow-lg); text-align: center; }
.err-card .lead { margin: 14px auto 28px; }
.err-debug { margin-top: 24px; padding: 16px; overflow: auto; max-height: 40vh; border-radius: 10px; background: #111; color: #eee; font-size: 12px; text-align: left; white-space: pre-wrap; }
.preview-filler, .preview-empty { padding-block: var(--space-section); }

/* ============================================================ 14. lightbox */
.lb { position: fixed; inset: 0; z-index: 800; display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; background: rgba(10,12,12,.94); color: #fff; }
.lb-fig { grid-column: 2; display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 0; min-width: 0; }
.lb-img { max-width: 100%; max-height: 84vh; width: auto; object-fit: contain; border-radius: 6px; }
.lb-cap { font-size: 14px; opacity: .8; text-align: center; }
.lb-close, .lb-prev, .lb-next { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; font-size: 32px; line-height: 1; transition: background-color .2s; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.22); }
.lb-close { position: absolute; top: 16px; right: 16px; font-size: 28px; }
.lb-prev { grid-column: 1; justify-self: center; } .lb-next { grid-column: 3; justify-self: center; }
.lb-count { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); font-size: 13px; opacity: .7; }
.lb-single .lb-prev, .lb-single .lb-next { visibility: hidden; }

/* ============================================================ 15. entrance animations — armed by site.js only (never by CSS alone) */
.anim-ready .anim-armed { transition: opacity .9s var(--ease), transform .9s var(--ease), clip-path 1s var(--ease); }
.anim-ready .anim-armed:not(.is-in) { opacity: 0; }
.anim-ready .anim-armed[data-anim="fade-up"]:not(.is-in) { transform: translate3d(0, 28px, 0); }
.anim-ready .anim-armed[data-anim="zoom"]:not(.is-in) { transform: scale(.96); }
.anim-ready .anim-armed[data-anim="slide-left"]:not(.is-in) { transform: translate3d(-36px, 0, 0); }
.anim-ready .anim-armed[data-anim="slide-right"]:not(.is-in) { transform: translate3d(36px, 0, 0); }
.anim-ready .anim-armed[data-anim="reveal"]:not(.is-in) { opacity: 1; clip-path: inset(0 0 100% 0); transform: translate3d(0, 16px, 0); }
.anim-ready .anim-armed[data-anim="reveal"].is-in { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .anim-armed { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .bgv-video, .el-bg-video { display: none; }
  .el > .el-bg { transform: none !important; }
}

/* ============================================================ 16. builder canvas helpers */
.is-canvas [data-anim] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
.is-canvas .site-header, .is-canvas .cv-shell { position: relative !important; }
.is-canvas iframe { pointer-events: none; }
.is-canvas a, .is-canvas summary, .is-canvas button { cursor: default; }
.cv-shell { opacity: .5; filter: saturate(.55); pointer-events: none; user-select: none; }
.cv-shell-tag { position: absolute; top: 8px; right: 8px; z-index: 70; padding: 4px 10px; border-radius: 999px; background: var(--c-dark); color: #fff; font: 600 10.5px/1.4 var(--f-body); letter-spacing: .1em; text-transform: uppercase; }
.cv-hide-shells .cv-shell { display: none; }
.cv-ph, .cv-drop { display: grid; place-items: center; min-height: 64px; padding: 20px; border: 1.5px dashed color-mix(in srgb, var(--c-text) 22%, transparent); border-radius: 10px; background: repeating-linear-gradient(135deg, transparent 0 10px, color-mix(in srgb, var(--c-text) 3%, transparent) 10px 20px); color: var(--c-muted); font: 500 13px/1.4 var(--f-body); text-align: center; }
.cv-drop { min-height: 88px; }
.cv-ph-abs { position: absolute; inset: 16px; z-index: 0; }
.cv-empty { display: grid; place-items: center; min-height: 70vh; margin: 24px; border: 2px dashed color-mix(in srgb, var(--c-text) 18%, transparent); border-radius: 16px; color: var(--c-muted); font: 500 15px/1.5 var(--f-body); text-align: center; }
.cv-tag { display: inline-block; margin-bottom: 8px; padding: 3px 9px; border-radius: 999px; background: var(--c-bg-alt); color: var(--c-muted); font: 600 11px/1.4 var(--f-body); letter-spacing: .08em; text-transform: uppercase; }
.cv-editing { outline: 2px solid var(--c-accent) !important; outline-offset: 4px; cursor: text !important; caret-color: var(--c-accent); }
.el-unknown { padding: 8px; }

/* ============================================================ 17. responsive */
@media (max-width: 1024px) {
  :root { --header-h: 72px; }
  .el-doctor_profile, .svc-tech-inner, .svc-faq-grid { grid-template-columns: minmax(0, 1fr); }
  .el-doctor_profile { gap: 32px; }
  .dp-split .dp-photo { order: 0; width: 100%; max-width: 420px; height: auto; min-height: 0; aspect-ratio: 4 / 5; margin-inline: auto; }
  .svc-faq-grid .sec-head, .tp-photo, .svc-toc { position: static; }
  .svc-overview-grid { grid-template-columns: minmax(0, 1fr); }
  .svc-toc { display: none; }
  .svc-benefit-grid { --cols: 2; }
  .cs-main { grid-template-columns: minmax(0, 1fr); }
  .el-appointment_cta { grid-template-columns: minmax(0, 1fr); }
  .cta-band .cta-actions { justify-content: flex-start; }
  .tabs-vertical { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .tabs-vertical .tab-list { flex-direction: row; border-left: 0; border-bottom: 1px solid var(--c-border); overflow-x: auto; }
  .tabs-vertical .tab-btn { white-space: nowrap; }
  .tabs-vertical .tab-btn::after { left: 0; right: 0; top: auto; bottom: -1px; width: auto; height: 2px; transform: scaleX(0); }
  .tabs-vertical .tab-btn[aria-selected="true"]::after { transform: scaleX(1); }
  .el-featured_post .post-card { grid-template-columns: minmax(0, 1fr); }
  .el-featured_post .post-media { min-height: 280px; border-radius: var(--radius) var(--radius) 0 0; }
  /* navigation: the drawer takes over (JS present); without JS the list stays visible and wraps */
  .js .nav-m-drawer > .nav-list { display: none; }
  .nav-m-hidden { display: none; }
  /* header built from a row: keep it on one line, logo left, actions + menu right */
  .site-header .el-row { flex-direction: row !important; flex-wrap: nowrap !important; align-items: center; gap: 12px; }
  .site-header .el-row > .el-column { flex: 0 0 auto !important; width: auto !important; max-width: none !important; min-width: 0; }
  .site-header .el-row > .el-column:first-child { flex: 1 1 auto !important; }
  .site-header .el-row > .el-column:has(.el-nav_menu) { order: 5; }
  .site-header .el-container { flex-wrap: nowrap !important; }
  .site-header .btn-text { display: none; }
  .site-header .el-button .btn:not(.btn-text) { padding: 11px 18px; font-size: 14px; }
  .site-footer .el-row { flex-wrap: wrap; }
  .site-footer .el-row > .el-column { flex: 1 1 200px !important; max-width: 100% !important; }
  .tp-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
}
@media (min-width: 1025px) {
  .nav-toggle, .nav-drawer { display: none !important; }
}
@media (max-width: 767px) {
  body { font-size: calc(var(--fs-base) - 1px); }
  .el-row:not(.row-m-keep) { flex-direction: column; }
  :where(.el-row:not(.row-m-keep)) > .el-column { flex: 1 1 auto; width: 100%; }
  :where(.row-m-keep) { flex-wrap: wrap; }
  :where(.row-m-keep) > :where(.el-column) { flex: 1 1 100%; }
  .cards, .gal, .ba-grid { grid-template-columns: repeat(var(--cols-m, 1), minmax(0, 1fr)); }
  .gal { grid-template-columns: repeat(var(--cols-m, 2), minmax(0, 1fr)); }
  .gal-masonry, .t-masonry { columns: var(--cols-m, 1); }
  .gal-masonry { columns: var(--cols-m, 2); }
  .svc-index { columns: 1; }
  .el-list, .list-cols-2, .list-cols-3 { --list-cols: 1; }
  .acc { grid-template-columns: minmax(0, 1fr); }
  .faq-cols-2 .acc-item:nth-child(2) { border-top: 0; }
  .acc-body { padding-right: 8px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-two-column .f-half { grid-column: 1 / -1; }
  .form-inline { flex-direction: column; align-items: stretch; }
  .cs-cards { grid-template-columns: minmax(0, 1fr); }
  .cs-map { height: 300px; }
  .el-map { height: 300px; }
  .svc-hero .sec-inner, .svc-two, .tp-grid { grid-template-columns: minmax(0, 1fr); }
  .svc-hero-media { order: -1; max-width: 420px; }
  .svc-hero-media::before { display: none; }
  .svc-benefit-grid { --cols: 1; }
  .tp-photo { max-width: 360px; }
  .tp-hero { background: var(--c-bg-alt); }
  .art-nav { grid-template-columns: minmax(0, 1fr); }
  .art-nav-link.next { grid-column: auto; }
  .search-form { flex-direction: column; }
  .search-form .search-ico { top: 26px; }
  .search-form .btn { width: 100%; }
  .loc-banner { flex-direction: column; align-items: flex-start; }
  .sl-slide { min-height: 520px; }
  .el-appointment_cta { padding: 32px 24px; }
  .t-carousel .car { --per-view: var(--cols-m, 1); }
  .gal-carousel .car { --per-view: var(--cols-m, 1); }
  .car-nav { margin-top: 20px; }
  .lb { grid-template-columns: 0 minmax(0, 1fr) 0; }
  .lb-prev, .lb-next { position: absolute; bottom: 16px; }
  .lb-prev { left: 16px; } .lb-next { right: 16px; }
  .site-footer .el-row > .el-column { flex: 1 1 100% !important; }
  .site-footer .el-nav_menu { justify-content: flex-start !important; }
  .nav-toggle-label { display: none; }
  .nav-toggle { width: 46px; padding: 0; justify-content: center; }
}
@media (max-width: 420px) {
  .site-header .el-button { display: none; }
  .btn-lg:not(.btn-text), .btn-xl:not(.btn-text) { padding: 15px 24px; }
  .cta-actions .btn, .svc-hero-actions .btn, .tp-actions .btn:not(.btn-icon) { width: 100%; }
}

/* ============================================================ 18. print */
@media print {
  .site-header, .site-footer, .site-announce, .nav-drawer, .car-nav, .vid-play, .skip-link, .preview-bar, .ws-form, .lb { display: none !important; }
  body { background: #fff; color: #000; font-size: 11.5pt; }
  .el-section, .tpl-sec, .svc-sec { padding-block: 18pt !important; background: none !important; color: #000 !important; }
  .el-section::before { display: none !important; }
  .anim-armed { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .car-track { display: block; overflow: visible; }
  .car-slide { margin-bottom: 12pt; }
  .card, .t-card { break-inside: avoid; box-shadow: none !important; border: 1px solid #ccc; }
  .prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; }
  details { display: block; } details > * { display: block !important; }
}

/* ============================================================ 20. Brand theme v2 — logo palette (sky #BBE5FA · peach #FCD0B5), modern polish
   Everything below is token-driven: change Site Settings → Design and the whole site follows. */
:root {
  --grad-brand: linear-gradient(90deg, var(--c-sky) 0%, var(--c-peach) 100%);
  --grad-soft: linear-gradient(160deg, var(--c-sky-soft) 0%, #fff 55%, var(--c-peach-soft) 100%);
  --ring: 0 0 0 1px color-mix(in srgb, var(--c-primary) 12%, transparent);
  --shadow-card: 0 1px 2px rgba(15,42,64,.05), 0 8px 24px -12px rgba(15,42,64,.14);
  --shadow-card-hover: 0 2px 4px rgba(15,42,64,.06), 0 22px 48px -18px rgba(15,42,64,.28);
  --tint: color-mix(in srgb, var(--c-sky) 45%, #fff);
}

/* type rhythm */
.lead { color: var(--c-muted); font-weight: 500; }
.card-title, .step-title, .tm-name, .t-name { font-weight: 700; letter-spacing: -.01em; }
.card-num, .step-num { font-weight: 700; color: var(--c-primary); }
.card-more { color: var(--c-primary); font-weight: 700; }
.h-text em, h1 em, h2 em { background: linear-gradient(transparent 70%, color-mix(in srgb, var(--c-peach) 42%, transparent) 70%); -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .04em; color: var(--accent-ink); }
.el-quote .q-text, .t-stage .t-quote p { font-weight: 500; }

/* buttons: confident, soft depth, lift on hover */
.btn { font-weight: 700; letter-spacing: .01em; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s; }
.btn-primary { box-shadow: 0 10px 22px -12px color-mix(in srgb, var(--c-primary) 70%, transparent); }
.btn-primary:hover, .btn-secondary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px color-mix(in srgb, var(--c-primary) 75%, transparent); }
.btn-outline:hover { transform: translateY(-2px); }

/* cards: rounded, airy, gradient top edge that appears on hover */
.card-soft .card, .card-image .card { box-shadow: var(--shadow-card); border: 1px solid color-mix(in srgb, var(--c-primary) 8%, transparent); overflow: hidden; }
.card-soft .card::before, .card-image .card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--grad-brand); opacity: 0; transition: opacity .35s var(--ease); z-index: 2; }
.card-soft .card:hover, .card-image .card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.card-soft .card:hover::before, .card-image .card:hover::before { opacity: 1; }
.card { --card-radius: calc(var(--radius) + 4px); }
.card-ico { background: linear-gradient(135deg, var(--c-sky-soft), var(--c-peach-soft)); color: var(--c-primary); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c-primary) 10%, transparent); }
.card-outlined .card:hover { border-color: var(--c-sky); box-shadow: var(--shadow-card); }

/* soft tinted bands alternate sky / peach for warmth */
.bg-alt { background: var(--c-bg-alt); }
.svc-candidates.bg-alt, .svc-results.bg-alt { background: linear-gradient(180deg, var(--c-peach-soft), #fff); }
.svc-hero { background: radial-gradient(900px 480px at 0% 0%, color-mix(in srgb, var(--c-sky) 38%, transparent), transparent 70%), radial-gradient(700px 420px at 100% 100%, color-mix(in srgb, var(--c-peach) 34%, transparent), transparent 70%), var(--c-bg-alt); }
.svc-hero-media::before { border-color: color-mix(in srgb, var(--c-sky) 80%, transparent); }

/* steps + badges + chips */
.step::before { background: var(--grad-brand); width: 11px; height: 11px; top: -6px; box-shadow: 0 0 0 4px #fff; }
.badge-outline, .trust-chips > * { border-color: color-mix(in srgb, var(--c-primary) 22%, transparent); background: color-mix(in srgb, #fff 70%, transparent); backdrop-filter: blur(6px); }
.stars, .star.on { color: #F2A65A; }

/* team photos: sky/peach duotone backdrop behind arch portraits */
.tm-photo { background: var(--grad-soft); }

/* header: crisp glass on scroll, bolder nav */
.site-header .nav-list > .ni > .nl { font-weight: 600; }
html.is-scrolled .site-header { background: color-mix(in srgb, #fff 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); }
.site-announce { background: var(--c-dark); }

/* footer: navy with peach headings and sky links on hover */
.site-footer a:hover { color: var(--c-sky) !important; }

/* ---- video hero (section with class hero-dark over a video background) */
.hero-dark { color: #fff; }
.hero-dark .h-text, .hero-dark h1, .hero-dark h2 { color: #fff; text-shadow: 0 2px 24px rgba(15,42,64,.35); }
.hero-dark h1 em, .hero-dark .h-text em { color: var(--c-peach); background: none; padding: 0; }
.hero-dark .eyebrow { color: var(--c-sky); }
.hero-dark .el-paragraph, .hero-dark p { color: rgba(255,255,255,.9); }
.hero-dark .btn-outline { --btn-c: #fff; --btn-b: rgba(255,255,255,.7); --btn-bg: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.hero-dark .btn-outline:hover { --btn-bg: #fff; --btn-c: var(--c-text); --btn-b: #fff; }
.hero-dark .badge, .hero-dark .badge-outline { color: #fff; border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.08); }
.hero-dark .el-bg-video { filter: saturate(1.05) contrast(1.02); }
.hero-dark::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(transparent, rgba(15,42,64,.35)); pointer-events: none; z-index: 0; }
body[data-hero="dark"] .site-header .btn-primary { box-shadow: none; }
@media (max-width: 767px) {
  .hero-dark .sec-inner { padding-top: calc(var(--header-h) + 8px); }
}

/* ============================================================ 21. Typography — Cinzel (headings) + Montserrat (everything else)
   Cinzel is an all-caps display face with wide glyphs: sizes run ~15-20% below a sans, generous line-height,
   positive tracking. Montserrat carries body, nav, buttons and labels. */
:root { --fw-body: 400; --fw-strong: 600; --fw-heading: 600; }
body { font-family: var(--f-body); font-weight: 400; letter-spacing: 0; font-synthesis-weight: auto; }
h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5, .h-like, .h-text, .card-title, .step-title, .tm-name, .t-name, .cta-heading, .logo-text {
  font-family: var(--f-heading); font-weight: 600; letter-spacing: .01em; line-height: 1.18; -webkit-text-stroke: 0; text-transform: none;
}
h1, .h1 { font-size: clamp(1.95rem, 4.1vw, 3.45rem); line-height: 1.12; letter-spacing: .005em; font-weight: 700; }
h2, .h2 { font-size: clamp(1.6rem, 2.9vw, 2.45rem); line-height: 1.16; }
h3, .h3 { font-size: clamp(1.12rem, 1.55vw, 1.38rem); line-height: 1.25; letter-spacing: .015em; }
h4, .h4 { font-size: clamp(1rem, 1.3vw, 1.15rem); letter-spacing: .02em; }
.card-title, .tm-name, .step-title { font-size: clamp(1.02rem, 1.4vw, 1.22rem) !important; letter-spacing: .02em; }
h6, .h6, .eyebrow { font-family: var(--f-body); font-weight: 600; letter-spacing: .22em; }
.eyebrow { font-size: 12px; }
p, li, dd, td, .lead, .card-text, input, textarea, select, button { font-family: var(--f-body); -webkit-text-stroke: 0; }
p, li { font-size: inherit; }
b, strong { font-weight: 600; -webkit-text-stroke: 0; }
.btn { font-family: var(--f-body); font-weight: 600; letter-spacing: .02em; -webkit-text-stroke: 0; }
.nav-list .nl { font-family: var(--f-body); font-weight: 500; letter-spacing: .01em; -webkit-text-stroke: 0; }
.card-more, label, th { -webkit-text-stroke: 0; font-weight: 600; }
.lead { font-size: clamp(1.02rem, 1.25vw, 1.15rem); line-height: 1.75; }
.t-quote p, .el-quote .q-text { font-family: var(--f-body) !important; font-style: italic; font-weight: 400; }
.card-num, .step-num, .stat-num { font-family: var(--f-heading); -webkit-text-stroke: 0; }

/* ============================================================ 22. Homepage art direction (sections carry hp-* classes)
   Coastal-clinic editorial: navy film hero -> glass stats -> marquee -> airy light bands with sky/peach glow shapes,
   one dark "why" band and a dark closing CTA for rhythm. All colours are tokens. */
@keyframes ws-marquee { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
@keyframes ws-float { 0%,100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(0,-10px,0); } }

/* generic glow shapes for light bands */
.hp-help, .hp-dham, .hp-values, .hp-tech, .hp-doctors, .hp-reviews, .hp-gallery, .hp-visit { position: relative; isolation: isolate; overflow: clip; }
.hp-help::after, .hp-dham::after, .hp-tech::after, .hp-doctors::after, .hp-reviews::after, .hp-visit::after {
  content: ""; position: absolute; z-index: -1; width: min(620px, 70vw); aspect-ratio: 1; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none;
}
.hp-help::after, .hp-tech::after, .hp-reviews::after { top: -18%; right: -12%; background: radial-gradient(circle, var(--c-sky) 0%, transparent 68%); }
.hp-dham::after, .hp-doctors::after, .hp-visit::after { bottom: -22%; left: -14%; background: radial-gradient(circle, var(--c-peach) 0%, transparent 68%); }

/* centred section heads get a gradient rule */
.hp-values .h2::after, .hp-why .h2::after, .hp-stories .h2::after, .hp-doctors .h2::after, .hp-reviews .h2::after {
  content: ""; display: block; width: 72px; height: 3px; margin: 22px auto 0; border-radius: 3px; background: var(--grad-brand);
}

/* ---- 1. hero: the live brand film */
.hp-hero { min-height: 100svh; }
.hp-hero .sec-inner { position: relative; z-index: 2; }
.hp-hero h1 { font-size: clamp(2.1rem, 4.6vw, 4rem) !important; line-height: 1.1 !important; }
.hp-hero .eyebrow { color: var(--c-sky); letter-spacing: .3em; }
.hp-hero .el-modal .btn { color: #fff !important; --btn-c: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 12px; }
.hp-hero .el-modal .btn::before { content: ""; width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: rgba(255,255,255,.14) url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22white%22%3E%3Cpath d=%22M8 5.5v13l11-6.5z%22/%3E%3C/svg%3E") center/18px no-repeat;
  box-shadow: 0 0 0 1px rgba(255,255,255,.45), 0 0 0 8px rgba(255,255,255,.08); transition: transform .3s var(--ease), box-shadow .3s; }
.hp-hero .el-modal .btn:hover::before { transform: scale(1.08); box-shadow: 0 0 0 1px #fff, 0 0 0 12px rgba(255,255,255,.12); }
.hp-hero .badge { backdrop-filter: blur(10px); background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.35); padding: 8px 14px; }
.hp-hero .badge .badge-ico { color: #F6C75A; }
.hero-sound { position: absolute; z-index: 3; right: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); bottom: 132px; display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 18px 8px 8px; border: 0; border-radius: 999px; background: rgba(10,30,48,.45); color: #fff; font: inherit; font-size: 14px; letter-spacing: .06em; cursor: pointer;
  backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); transition: background .25s; }
.hero-sound:hover { background: rgba(10,30,48,.7); }
.hero-sound .hs-ring { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.14); }
.hero-sound .hs-on { display: none; } .hero-sound.is-on .hs-on { display: inline; } .hero-sound.is-on .hs-off { display: none; }
.hero-sound[hidden] { display: none; }
@media (max-width: 1024px) { .hero-sound { bottom: 96px; } }
.el-section > .hero-sound { position: absolute !important; z-index: 3 !important; width: auto; }
.hp-hero video::cue { background: rgba(10,30,48,.72); color: #fff; font-family: var(--f-body); font-size: 18px; }

/* ---- 2. stats: glass card overlapping the film */
.hp-stats { position: relative; z-index: 3; margin-top: -78px; padding-block: 0 24px !important; background: transparent !important; }
.hp-stats .el-grid { background: rgba(255,255,255,.95); backdrop-filter: blur(14px); border-radius: 28px; padding: 34px clamp(18px, 4vw, 48px); box-shadow: 0 30px 70px -30px rgba(15,42,64,.45), inset 0 0 0 1px rgba(36,109,163,.08); }
.hp-stats .el-container { position: relative; text-align: center; }
.hp-stats .el-container + .el-container::before { content: ""; position: absolute; left: -14px; top: 12%; bottom: 12%; width: 1px; background: var(--c-border); }
.hp-stats .el-container > p:first-child { font-size: clamp(2.2rem, 4vw, 3.3rem) !important; line-height: 1 !important; margin-bottom: 8px;
  background: linear-gradient(120deg, var(--c-primary), #5BA7D8 60%, var(--c-accent)); -webkit-background-clip: text; background-clip: text; color: transparent !important; -webkit-text-stroke: 0; }
.hp-stats .el-container > p:last-child { font-size: 13px !important; letter-spacing: .18em; text-transform: uppercase; color: var(--c-muted) !important; }
@media (max-width: 767px) {
  .hp-stats { margin-top: -48px; }
  .hp-stats .el-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; row-gap: 26px; border-radius: 22px; padding: 26px 16px; }
  .hp-stats .el-container + .el-container::before { display: none; }
}

/* ---- 3. marquee */
.hp-marquee { overflow: hidden; background: transparent !important; padding-block: 18px 6px !important; }
.hp-marquee .sec-inner { max-width: none !important; padding: 0 !important; }
.hp-marquee .el-paragraph { display: inline-block; white-space: nowrap; width: max-content; max-width: none; overflow-wrap: normal; font-family: var(--f-heading); font-size: clamp(1.4rem, 2.6vw, 2.3rem); letter-spacing: .02em;
  color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--c-primary) 55%, transparent); animation: ws-marquee 55s linear infinite; }
.hp-marquee:hover .el-paragraph { animation-play-state: paused; }

/* ---- 4. help tiles */
.hp-help .el-grid a.el-wrap-link { text-decoration: none; color: inherit; display: block; }
.hp-help .el-grid .el-container { height: 100%; border-radius: 20px; background: #fff; box-shadow: var(--shadow-card); border: 1px solid color-mix(in srgb, var(--c-primary) 8%, transparent); transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s; }
.hp-help .el-grid a:hover .el-container { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); background: linear-gradient(160deg, #fff, var(--c-sky-soft)); }
.hp-help .el-grid .el-paragraph { overflow-wrap: normal; word-break: normal; hyphens: none; line-height: 1.3; }
.hp-help .icon-shape { background: linear-gradient(135deg, var(--c-sky), var(--c-peach)) !important; color: var(--c-dark) !important; }

/* ---- 5. services: tall imagery with a floating caption card */
.hp-services .svc-card { background: transparent !important; box-shadow: none !important; border: 0 !important; overflow: visible !important; }
.hp-services .svc-card::before { display: none; }
.hp-services .svc-card .card-media { aspect-ratio: 4 / 3.4; border-radius: 26px; box-shadow: 0 24px 50px -28px rgba(15,42,64,.55); }
.hp-services .svc-card .card-body { position: relative; margin: -56px 16px 0; background: #fff; border-radius: 22px; box-shadow: var(--shadow-card); padding: 24px 24px 22px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.hp-services .svc-card:hover .card-body { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.hp-services .svc-card .card-text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---- 6. meet Dr. Dham: framed film */
.hp-dham .vid-box { position: relative; border-radius: 28px; overflow: visible; }
.hp-dham .vid-box video { border-radius: 28px; box-shadow: 0 30px 60px -28px rgba(15,42,64,.55); position: relative; z-index: 1; display: block; width: 100%; }
.hp-dham .vid-box::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 30px; background: var(--grad-brand); opacity: .75; z-index: 0; }
@media (max-width: 767px) { .hp-dham .vid-box::before { inset: 10px -8px -10px 10px; } }

/* ---- 7. values: outline numerals */
.hp-values .el-grid > .el-container { border-radius: 24px; padding: 30px 26px !important; background: #fff; box-shadow: var(--shadow-card); position: relative; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.hp-values .el-grid > .el-container:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); }
.hp-values .el-grid > .el-container > p:first-child { font-family: var(--f-heading); font-size: 4.2rem !important; line-height: .9 !important; color: transparent !important; -webkit-text-stroke: 1.4px var(--c-primary); opacity: .55; letter-spacing: 0; margin-bottom: 6px; }

/* ---- 8. why: the one dark band (navy + glass) */
.hp-why { background: radial-gradient(900px 500px at 10% 0%, rgba(187,229,250,.16), transparent 60%), radial-gradient(800px 500px at 100% 100%, rgba(252,208,181,.14), transparent 60%), var(--c-dark) !important; color: #fff; }
.hp-why .h2, .hp-why h3, .hp-why .h-text { color: #fff; }
.hp-why .eyebrow { color: var(--c-sky); }
.hp-why .el-paragraph, .hp-why .li-text { color: rgba(255,255,255,.84) !important; }
.hp-why .el-grid > .el-container { background: rgba(255,255,255,.06) !important; border: 1px solid rgba(255,255,255,.12) !important; box-shadow: none !important; border-radius: 24px; backdrop-filter: blur(8px); }
.hp-why .li-ico { color: var(--c-sky) !important; background: rgba(187,229,250,.12) !important; }
.hp-why .icon-shape { background: rgba(252,208,181,.14) !important; color: var(--c-peach) !important; }

/* ---- 9. before / after: uniform frames */
.hp-ba .ba-slider { border-radius: 24px; }

/* ---- 10. video stories */
.hp-stories { background: linear-gradient(180deg, var(--c-peach-soft), #fff) !important; }
.hp-stories .vid-box { border-radius: 22px; overflow: hidden; box-shadow: 0 18px 40px -24px rgba(15,42,64,.5); }

/* ---- 11. technology */
.hp-tech .el-grid > .el-container { border-radius: 22px !important; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s; }
.hp-tech .el-grid > .el-container:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); background: linear-gradient(170deg, #fff 30%, var(--c-sky-soft)) !important; }
.hp-tech .icon-shape { background: linear-gradient(135deg, var(--c-sky-soft), var(--c-peach-soft)) !important; box-shadow: inset 0 0 0 1px rgba(36,109,163,.12); }

/* ---- 12. doctors: arch portraits on a gradient halo */
.hp-doctors .tm-photo { background: linear-gradient(170deg, var(--c-sky) 0%, var(--c-peach-soft) 100%); padding: 10px 10px 0; }
.hp-doctors .tm-card { background: transparent !important; box-shadow: none !important; }
.hp-doctors .tm-img { transition: transform .8s var(--ease); }
.hp-doctors .tm-card:hover .tm-img { transform: scale(1.03); }
.hp-doctors .tm-name { font-size: 1.45rem; }
.hp-doctors .tm-pos { color: var(--c-accent-dark); letter-spacing: .14em; }

/* ---- 13. reviews: big quotes */
.hp-reviews .t-card { border-radius: 26px !important; padding: 34px 30px !important; background: #fff !important; box-shadow: var(--shadow-card) !important; }
.hp-reviews .t-mark { font-family: var(--f-heading); font-size: 4.4rem; line-height: .6; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hp-reviews .t-quote p { font-family: var(--f-heading); font-style: normal !important; font-size: 1.12rem; line-height: 1.6; }

/* ---- 14. gallery videos */
.hp-gallery .vid-box { border-radius: 22px; overflow: hidden; box-shadow: 0 18px 40px -24px rgba(15,42,64,.5); }

/* ---- 15. new patient offer: gradient spotlight card */
.hp-offer { background: transparent !important; }
.hp-offer .el-appointment_cta { position: relative; overflow: hidden; border-radius: 32px; padding: clamp(32px, 5vw, 64px) !important;
  background: linear-gradient(120deg, var(--c-sky) 0%, #DDEFFA 45%, var(--c-peach) 100%) !important; box-shadow: 0 30px 70px -40px rgba(15,42,64,.55); border: 0 !important; }
.hp-offer .el-appointment_cta::after { content: "$99"; position: absolute; right: -10px; bottom: -58px; font-family: var(--f-heading); font-size: clamp(9rem, 20vw, 17rem); line-height: 1; color: rgba(255,255,255,.4); pointer-events: none; }
.hp-offer .cta-heading { font-size: clamp(1.9rem, 3.4vw, 2.9rem); color: var(--c-dark); }
.hp-offer .cta-copy, .hp-offer .cta-side { position: relative; z-index: 1; }
.hp-offer .eyebrow, .hp-offer .cta-text { color: var(--c-dark); }

/* ---- 16. visit */
.hp-visit .map-frame { border-radius: 26px; box-shadow: 0 24px 50px -28px rgba(15,42,64,.45); }

/* ---- 17. closing CTA */
.hp-final { position: relative; overflow: hidden; isolation: isolate; }
.hp-final::before, .hp-final::after { content: ""; position: absolute; z-index: -1; width: 520px; aspect-ratio: 1; border-radius: 50%; filter: blur(80px); opacity: .35; pointer-events: none; }
.hp-final::before { left: -120px; top: -160px; background: var(--c-sky); animation: ws-float 9s ease-in-out infinite; }
.hp-final::after { right: -120px; bottom: -180px; background: var(--c-peach); animation: ws-float 11s ease-in-out infinite reverse; }

/* dark contexts: accent words without the light highlighter */
.hero-dark h1 em, .hero-dark .h-text em, .hp-final h2 em, .hp-final .h-text em, .hp-why h2 em, .hp-why .h-text em, .site-footer em { background: none !important; color: var(--c-peach) !important; }

/* footer hours: never break a day name */
.site-footer .el-business_hours, .site-footer .el-business_hours * { overflow-wrap: normal; word-break: normal; }
.site-footer .el-business_hours { font-size: 14px; }

@media (prefers-reduced-motion: reduce) { .hp-marquee .el-paragraph, .hp-final::before, .hp-final::after { animation: none !important; } }

/* review quote marks + footer hours column */
.hp-reviews .t-card .t-mark { font-size: 4.6rem !important; line-height: .55 !important; height: .5em; display: block; margin-bottom: 14px; }
.site-footer .el-row > .el-column:last-child { flex: 1.4 1 0 !important; min-width: 250px; }
.site-footer .el-business_hours .bh-row, .site-footer .el-business_hours li, .site-footer .el-business_hours tr { white-space: nowrap; }
@media (max-width: 767px) {
  .hp-help .el-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
  .hp-help .el-grid .el-container { padding: 14px !important; gap: 10px !important; }
  .hp-help .el-grid .el-paragraph { font-size: 15px !important; }
}
/* below desktop, a row whose columns add up past 100% (tablet/mobile width overrides) wraps instead of overflowing */
@media (max-width: 1024px) { .el-row { flex-wrap: wrap; } }
/* partner logos are small files: keep them at a crisp logo size */
.el-image img[src*="carecredit"], .el-image img[src*="proceed-finance"], .el-image img[src*="lendingclub"], .el-image img[src*="cherry"],
.el-image picture:has(img[src*="carecredit"]), .el-image picture:has(img[src*="proceed-finance"]), .el-image picture:has(img[src*="lendingclub"]) { max-height: 64px; width: auto !important; max-width: 220px !important; object-fit: contain; }

/* ============================================================ 23. Hero v3 (original split layout) + responsive system
   Light hero: copy left, the practice's b-roll inside an arch frame right, floating glass cards.
   Phones: swipeable snap rails for card groups, compact header with Book button, sticky Call/Book bar. */

/* ---- hero v3 */
.hp-hero2 { position: relative; isolation: isolate; overflow: clip; background:
  radial-gradient(760px 520px at 88% 12%, color-mix(in srgb, var(--c-sky) 55%, transparent), transparent 70%),
  radial-gradient(640px 480px at 6% 92%, color-mix(in srgb, var(--c-peach) 48%, transparent), transparent 70%),
  linear-gradient(180deg, #fff 0%, var(--c-sky-soft) 100%); }
.hp-hero2::before { content: ""; position: absolute; z-index: -1; inset: auto -8% -38% auto; width: 46vw; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--c-primary) 14%, transparent); pointer-events: none; }
.hp-hero2 h1 { font-size: clamp(2rem, 4.2vw, 3.6rem) !important; line-height: 1.12 !important; color: var(--c-dark); }
.hp-hero2 h1 em { color: var(--c-primary); background: none; font-style: normal; }
.hp-hero2 .eyebrow { color: var(--c-accent-dark); }
.hp-hero2 .hero-proof .badge { background: #fff; border: 1px solid color-mix(in srgb, var(--c-primary) 12%, transparent); color: var(--c-text); box-shadow: var(--shadow-card); padding: 9px 14px; font-size: 13px; font-weight: 600; }
.hp-hero2 .hero-proof .badge .badge-ico { color: #F2A65A; }
.hp-hero2 .hero-media { position: relative; padding: 0 26px 30px 0; }
.hp-hero2 .hero-frame { position: relative; overflow: hidden; border-radius: 50vw 50vw 28px 28px; box-shadow: 0 40px 80px -40px rgba(15,42,64,.55); background-size: cover; background-position: center; }
.hp-hero2 .hero-frame .bgv-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hp-hero2 .hero-frame .bgv-inner { display: none; }
.hp-hero2 .hero-media::before { content: ""; position: absolute; z-index: -1; inset: 26px 0 0 26px; border-radius: 50vw 50vw 30px 30px; background: var(--grad-brand); opacity: .9; }
.hp-hero2 .hero-card { position: absolute; z-index: 2; background: rgba(255,255,255,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 18px; padding: 12px 16px;
  box-shadow: 0 18px 40px -18px rgba(15,42,64,.45), inset 0 0 0 1px rgba(255,255,255,.7); animation: ws-float 7s ease-in-out infinite; }
.hp-hero2 .hero-card p { margin: 0; font-size: 13px; line-height: 1.35; color: var(--c-muted); }
.hp-hero2 .hero-card p:first-child { font-weight: 600; color: var(--c-text); font-size: 14px; }
.hp-hero2 .hc-doctor { left: -38px; bottom: 90px; }
.hp-hero2 .hc-story { right: -6px; top: 34%; padding: 8px 18px 8px 8px; animation-delay: -2.5s; }
.hp-hero2 .hc-tech { left: 12%; top: 10px; animation-delay: -4s; }
.hp-hero2 .hc-tech p { color: var(--c-text); font-weight: 600; font-size: 13px; }
.hp-hero2 .hc-story .btn { color: var(--c-text) !important; --btn-c: var(--c-text); padding: 0; display: inline-flex; align-items: center; gap: 12px; font-size: 14px; text-decoration: none; }
.hp-hero2 .hc-story .btn::before { content: ""; width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: var(--c-primary) url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22white%22%3E%3Cpath d=%22M8 5.5v13l11-6.5z%22/%3E%3C/svg%3E") center/17px no-repeat;
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--c-primary) 18%, transparent); transition: transform .3s var(--ease); }
.hp-hero2 .hc-story .btn:hover::before { transform: scale(1.08); }
/* stats card: sits on the hero's lower edge */
.hp-hero2 + .hp-stats { margin-top: -56px; }

@media (max-width: 1024px) {
  .hp-hero2 .el-row { flex-direction: column; }
  .hp-hero2 .el-row > .el-column { width: 100% !important; flex: 1 1 100% !important; max-width: 100% !important; }
  .hp-hero2 .hero-media { max-width: 620px; margin-inline: auto; width: 100%; }
  .hp-hero2 .hc-doctor { left: -10px; }
}
@media (max-width: 767px) {
  .hp-hero2 h1 { font-size: clamp(1.75rem, 7.6vw, 2.35rem) !important; }
  .hp-hero2 .hero-actions { flex-direction: column; align-items: stretch !important; width: 100%; }
  .hp-hero2 .hero-actions .el-button, .hp-hero2 .hero-actions .btn { width: 100%; justify-content: center; }
  .hp-hero2 .hero-proof { gap: 8px !important; }
  .hp-hero2 .hero-proof .badge { font-size: 12px; padding: 7px 11px; }
  .hp-hero2 .hero-media { padding: 0 14px 18px 0; }
  .hp-hero2 .hero-media::before { inset: 14px 0 0 14px; }
  .hp-hero2 .hero-frame { border-radius: 50vw 50vw 22px 22px; }
  .hp-hero2 .hc-doctor { left: 8px; bottom: 34px; padding: 9px 12px; }
  .hp-hero2 .hc-doctor img { width: 40px !important; height: 40px !important; }
  .hp-hero2 .hc-story { right: 6px; top: auto; bottom: 108px; }
  .hp-hero2 .hc-tech { left: 50%; transform: translateX(-50%); top: 14px; white-space: nowrap; animation: none; }
  .hp-hero2 + .hp-stats { margin-top: -30px; }
}
@media (max-width: 380px) {
  .hp-hero2 .hc-tech { display: none; }
  .hp-hero2 .hc-story .btn { font-size: 13px; }
}

/* ---- phones: swipeable snap rails instead of endless stacked cards */
@media (max-width: 767px) {
  .hp-services .cards, .hp-values .el-grid, .hp-why .el-grid, .hp-tech .el-grid, .hp-ba .ba-grid, .hp-doctors .tm-cards, .hp-feel .el-grid, .hp-gallery .el-grid {
    display: flex !important; flex-wrap: nowrap !important; gap: 14px !important; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 6px var(--gutter) 22px !important;
    margin-inline: calc(var(--gutter) * -1) !important; width: auto !important; max-width: none !important; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .hp-services .cards::-webkit-scrollbar, .hp-values .el-grid::-webkit-scrollbar, .hp-why .el-grid::-webkit-scrollbar, .hp-tech .el-grid::-webkit-scrollbar,
  .hp-ba .ba-grid::-webkit-scrollbar, .hp-doctors .tm-cards::-webkit-scrollbar, .hp-feel .el-grid::-webkit-scrollbar, .hp-gallery .el-grid::-webkit-scrollbar { display: none; }
  .hp-services .cards > *, .hp-values .el-grid > *, .hp-why .el-grid > *, .hp-tech .el-grid > *, .hp-ba .ba-grid > *, .hp-doctors .tm-cards > *, .hp-gallery .el-grid > * {
    flex: 0 0 82% !important; max-width: 82% !important; scroll-snap-align: start; min-width: 0;
  }
  .hp-tech .el-grid > *, .hp-feel .el-grid > * { flex-basis: 66% !important; max-width: 66% !important; }
  .hp-feel .el-grid > * { scroll-snap-align: start; min-width: 0; }
  .hp-doctors .tm-cards > * { flex-basis: 72% !important; max-width: 72% !important; }
  /* swipe hint under each rail */
  .hp-services .el-service_cards::after, .hp-values .el-grid::after, .hp-tech .el-grid::after, .hp-doctors .el-team_cards::after, .hp-ba .el-before_after::after {
    content: "Swipe \2192"; display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--c-muted); text-align: right; margin-top: 2px;
  }
  .hp-values .el-grid::after, .hp-tech .el-grid::after { flex: 0 0 1px; content: ""; }
}

/* ---- header: bigger logo, compact Book button on phones */
.site-header .el-logo img { max-height: 76px; }
@media (max-width: 767px) {
  .site-header .el-section { padding-block: 8px !important; }
  .site-header .el-logo img, .site-header .el-logo .logo-img { height: 54px !important; max-height: 54px; }
  .site-header .el-button { display: block !important; }
  .site-header .el-button .btn:not(.btn-text) { padding: 9px 14px !important; font-size: 13px !important; }
  .site-header .el-button .btn .btn-ico { display: none; }
  .site-header .btn-text, .site-header a[href^="tel:"].btn-text { display: none !important; }
}
@media (max-width: 359px) { .site-header .el-button { display: none !important; } }

/* ---- sticky Call / Book bar (phones) */
.m-cta { display: none; }
@media (max-width: 767px) {
  .m-cta { position: fixed; z-index: 70; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr 1.25fr; gap: 8px;
    padding: 8px; border-radius: 20px; background: rgba(15,42,64,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 18px 40px -16px rgba(15,42,64,.6);
    transform: translateY(0); transition: transform .35s var(--ease); }
  .m-cta a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 14px; font-weight: 600; font-size: 14.5px; text-decoration: none; letter-spacing: .01em; }
  .m-cta-call { color: #fff; background: rgba(255,255,255,.1); }
  .m-cta-book { color: #fff; background: var(--c-primary); }
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  html:not(.is-scrolled) .m-cta { transform: translateY(140%); }
}

/* ---- footer on phones: two columns of links, compact */
@media (max-width: 767px) {
  .site-footer .el-row { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px !important; }
  .site-footer .el-row > .el-column { width: auto !important; min-width: 0 !important; max-width: none !important; flex: none !important; }
  .site-footer .el-row > .el-column:first-child, .site-footer .el-row > .el-column:last-child { grid-column: 1 / -1; }
  .site-footer .el-section { padding-block: 48px 28px !important; }
  .site-footer .nav-footer .nav-list { gap: 9px !important; }
}

/* ---- general phone rhythm */
@media (max-width: 767px) {
  .el-section:not(.hp-hero2):not(.hp-stats):not(.hp-marquee) { scroll-margin-top: 80px; }
  .h2, h2 { text-wrap: balance; }
  .btn-lg:not(.btn-text) { padding: 14px 22px; }
  .hp-marquee .el-paragraph { font-size: 1.25rem; }
  .hp-offer .el-appointment_cta::after { font-size: 8rem; bottom: -34px; }
  .hp-offer .cta-actions { flex-direction: column; align-items: stretch; }
  .hp-offer .cta-actions .btn { justify-content: center; }
}
/* tablets: two-up grids where desktop shows 3-5 */
@media (min-width: 768px) and (max-width: 1024px) {
  .hp-values .el-grid, .hp-why .el-grid, .hp-tech .el-grid, .hp-feel .el-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .hp-stats .el-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; padding: 26px 18px; }
  .hp-stats .el-container > p:first-child { font-size: 2rem !important; }
}
@media (prefers-reduced-motion: reduce) { .hp-hero2 .hero-card { animation: none !important; } }

/* desktop nav: keep all items on one line (Montserrat is wider than the old face) */
@media (min-width: 1025px) {
  .site-header .nav-list { flex-wrap: nowrap !important; gap: 4px 22px !important; }
  .site-header .nav-list > .ni > .nl { font-size: 14.5px; white-space: nowrap; }
}
@media (min-width: 1025px) and (max-width: 1280px) {
  .site-header .nav-list { gap: 4px 14px !important; }
  .site-header .nav-list > .ni > .nl { font-size: 13.5px; }
  .site-header a[href^="tel:"] { display: none !important; }
}
@media (max-width: 767px) {
  .hp-feel .el-grid > *, .hp-tech .el-grid > * { flex: 0 0 66% !important; max-width: 66% !important; min-width: 0; scroll-snap-align: start; }
  .hp-feel .el-grid > * { padding: 18px !important; border-radius: 18px; background: #fff; box-shadow: var(--shadow-card); }
}
/* dark bands: eyebrows in sky, never primary-on-navy */
.hp-final .eyebrow, .hp-why .eyebrow, .site-footer .eyebrow, [data-hero="dark"] .hero-dark .eyebrow { color: var(--c-sky) !important; }
/* stat labels: no mid-word breaks on narrow phones */
.hp-stats .el-container > p:last-child { overflow-wrap: normal; word-break: normal; hyphens: none; }
@media (max-width: 420px) {
  .hp-stats .el-container > p:last-child { letter-spacing: .08em; font-size: 11px !important; }
  .hp-stats .el-container > p:first-child { font-size: 1.9rem !important; }
}
/* long phone-number buttons: keep on one line, shrink on tiny screens */
.btn .btn-label { white-space: nowrap; }
@media (max-width: 380px) { .hero-actions .btn, .cta-actions .btn { font-size: 14px !important; padding-inline: 14px !important; } }
/* tablet: section heads that sit in a two-column row align to the top and stack cleanly */
@media (max-width: 1024px) { .hp-services .el-row, .hp-tech .el-row, .hp-gallery .el-row, .hp-ba .el-row { align-items: flex-start !important; gap: 18px !important; } }
@media (max-width: 767px) {
  .m-cta { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); max-width: calc(100vw - 20px); box-sizing: border-box; }
  .m-cta a { min-width: 0; white-space: nowrap; overflow: hidden; padding-inline: 8px; }
}
@media (max-width: 360px) { .m-cta { left: 8px; right: 8px; gap: 6px; padding: 6px; } .m-cta a { font-size: 13px; gap: 6px; } .m-cta a svg { width: 16px; height: 16px; } }
/* entrance animations start offset (slide-left/right): never let them widen the page */
html { overflow-x: clip; }
main > .el-section, .site-footer > .el-section { overflow-x: clip; }
/* mobile drawer: escape the header's stacking/containing block while open, and render submenus as inline accordions */
body:has(.nav-drawer.is-open) .site-header { z-index: 1000 !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; transform: none !important; }
body:has(.nav-drawer.is-open) { overflow: hidden; }
body:has(.nav-drawer.is-open) .m-cta { display: none !important; }
.nav-drawer .sub { position: static !important; opacity: 1 !important; visibility: visible !important; transform: none !important; box-shadow: none !important;
  min-width: 0 !important; background: transparent !important; border-radius: 0 !important; padding: 0 0 8px 14px !important; margin: 0 0 10px !important; border-left: 2px solid var(--c-sky) !important; }
.nav-drawer .ni:not(.is-open) > .sub { display: none !important; }
.nav-drawer .ni.is-open > .sub { display: block !important; }
.nav-drawer .sub .nl { font-family: var(--f-body) !important; font-size: 1rem !important; padding: 10px 0 !important; min-height: 44px; }
.nav-drawer .nd-list .nl { font-size: 1.2rem; letter-spacing: .03em; }
.nav-drawer .ni.is-open > .sub-toggle svg, .nav-drawer .ni.is-open > .sub-toggle .ico { transform: rotate(180deg); }
@media (max-width: 767px) { .hp-hero2 .hc-tech { width: max-content; max-width: calc(100% - 28px); padding: 8px 12px; } .hp-hero2 .hc-tech p { white-space: nowrap; font-size: 12px; } .hp-hero2 .hc-tech .el-icon { display: none; } }
/* masonry testimonials: cards fill their column (a carousel width rule was leaking in) */
.t-masonry .t-card { width: 100% !important; max-width: none !important; display: flex; break-inside: avoid; }
@media (max-width: 1024px) { .t-masonry { columns: 2 !important; } }
@media (max-width: 767px) { .t-masonry { columns: 1 !important; } }
/* the element wrapper also carries the layout class: only the inner list is multi-column */
.el-testimonials.t-masonry, .el-testimonials.t-grid, .el-testimonials.t-carousel { columns: auto !important; display: block; }

/* ============================================================ 24. Inner pages — same creative language as the homepage
   Sections carry .ip (+ ip-hero / ip-stats / ip-faq / ip-dark / ip-area) from their labels. */

/* ---- hero: gradient split hero with an arch photo */
.ip-hero { position: relative; isolation: isolate; overflow: clip; padding-block: clamp(36px, 6vw, 84px) clamp(56px, 8vw, 110px) !important;
  background: radial-gradient(720px 480px at 92% 10%, color-mix(in srgb, var(--c-sky) 55%, transparent), transparent 70%),
              radial-gradient(620px 440px at 4% 96%, color-mix(in srgb, var(--c-peach) 45%, transparent), transparent 70%),
              linear-gradient(180deg, #fff 0%, var(--c-sky-soft) 100%) !important; }
.ip-hero::before { content: ""; position: absolute; z-index: -1; right: -10%; bottom: -45%; width: 44vw; aspect-ratio: 1; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--c-primary) 14%, transparent); pointer-events: none; }
.ip-hero h1 { font-size: clamp(1.9rem, 3.8vw, 3.2rem) !important; line-height: 1.14 !important; color: var(--c-dark); }
.ip-hero h1 em { color: var(--c-primary) !important; background: none !important; }
.ip-hero .eyebrow { color: var(--c-accent-dark); }
.ip-hero .el-paragraph { color: var(--c-muted); font-size: 17.5px; max-width: 580px; }
.ip-hero-media { position: relative; padding: 0 22px 26px 0; }
.ip-hero-media::before { content: ""; position: absolute; z-index: 0; inset: 22px 0 0 22px; border-radius: 50vw 50vw 28px 28px; background: var(--grad-brand); opacity: .85; }
.ip-hero-media .el-image { position: relative; z-index: 1; }
.ip-hero-media .el-image picture, .ip-hero-media .el-image img { display: block; width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: 50vw 50vw 26px 26px; box-shadow: 0 36px 70px -36px rgba(15,42,64,.55); }
@media (max-width: 1024px) {
  .ip-hero .el-row { flex-direction: column; }
  .ip-hero .el-row > .el-column { width: 100% !important; flex: 1 1 100% !important; max-width: 100% !important; }
  .ip-hero-media { max-width: 520px; width: 100%; margin-inline: auto; }
  .ip-hero-media .el-image picture, .ip-hero-media .el-image img { aspect-ratio: 4 / 3.6; }
}
@media (max-width: 767px) {
  .ip-hero h1 { font-size: clamp(1.65rem, 7vw, 2.2rem) !important; }
  .ip-hero .el-button, .ip-hero .el-button .btn { width: 100%; justify-content: center; }
  .ip-hero .el-container:has(> .el-button) { flex-direction: column; align-items: stretch !important; width: 100%; }
  .ip-hero-media { padding: 0 12px 14px 0; }
  .ip-hero-media::before { inset: 12px 0 0 12px; }
}

/* ---- light sections get soft glow shapes (alternating sides) */
.ip:not(.ip-hero):not(.ip-dark):not(.ip-stats) { position: relative; isolation: isolate; overflow-x: clip; }
.ip:not(.ip-hero):not(.ip-dark):not(.ip-stats):nth-of-type(odd)::after,
.ip:not(.ip-hero):not(.ip-dark):not(.ip-stats):nth-of-type(even)::after { content: ""; position: absolute; z-index: -1; width: min(560px, 70vw); aspect-ratio: 1; border-radius: 50%; filter: blur(70px); opacity: .45; pointer-events: none; }
.ip:not(.ip-hero):not(.ip-dark):not(.ip-stats):nth-of-type(odd)::after { top: -14%; right: -14%; background: radial-gradient(circle, var(--c-sky), transparent 68%); }
.ip:not(.ip-hero):not(.ip-dark):not(.ip-stats):nth-of-type(even)::after { bottom: -18%; left: -16%; background: radial-gradient(circle, var(--c-peach), transparent 68%); }

/* centred section heads: gradient rule under the h2 */
.ip:not(.ip-hero) .el-heading:only-child .h2::after, .ip:not(.ip-hero) .el-container > .el-heading .h2[style*="center"]::after { content: ""; display: block; width: 64px; height: 3px; margin: 18px auto 0; border-radius: 3px; background: var(--grad-brand); }

/* ---- icon cards in any grid: rounded, lift, gradient chip */
.ip .el-grid > .el-container:has(> .el-icon), .ip .el-grid > .el-container:has(.icon-shape) {
  border-radius: 22px !important; background: #fff; box-shadow: var(--shadow-card); border: 1px solid color-mix(in srgb, var(--c-primary) 8%, transparent) !important;
  padding: 26px 22px !important; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s; position: relative; overflow: hidden; }
.ip .el-grid > .el-container:has(> .el-icon):hover, .ip .el-grid > .el-container:has(.icon-shape):hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); background: linear-gradient(170deg, #fff 35%, var(--c-sky-soft)); }
.ip .el-grid > .el-container:has(> .el-icon)::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--grad-brand); opacity: 0; transition: opacity .35s; }
.ip .el-grid > .el-container:has(> .el-icon):hover::before { opacity: 1; }
.ip .icon-shape { background: linear-gradient(135deg, var(--c-sky-soft), var(--c-peach-soft)) !important; color: var(--c-primary) !important; box-shadow: inset 0 0 0 1px rgba(36,109,163,.12); }

/* ---- images inside content sections: rounded + soft shadow; videos framed */
.ip:not(.ip-hero) .el-image img { border-radius: 24px; }
.ip:not(.ip-hero) .el-image picture { display: block; border-radius: 24px; box-shadow: 0 26px 54px -30px rgba(15,42,64,.5); overflow: hidden; }
.ip .vid-box { border-radius: 24px; overflow: hidden; box-shadow: 0 24px 50px -28px rgba(15,42,64,.5); }

/* ---- stats: glass card */
.ip-stats { background: transparent !important; }
.ip-stats .el-grid { background: rgba(255,255,255,.95); border-radius: 28px; padding: 32px clamp(16px, 4vw, 44px) !important; box-shadow: 0 30px 70px -34px rgba(15,42,64,.4), inset 0 0 0 1px rgba(36,109,163,.08); }
.ip-stats .el-grid > .el-container { position: relative; text-align: center; }
.ip-stats .el-grid > .el-container + .el-container::before { content: ""; position: absolute; left: -14px; top: 14%; bottom: 14%; width: 1px; background: var(--c-border); }
.ip-stats .el-grid > .el-container > p:first-child { font-family: var(--f-heading); font-size: clamp(2rem, 3.6vw, 3rem) !important; line-height: 1 !important; margin-bottom: 8px;
  background: linear-gradient(120deg, var(--c-primary), #5BA7D8 60%, var(--c-accent)); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.ip-stats .el-grid > .el-container > p:last-child { font-size: 12.5px !important; letter-spacing: .16em; text-transform: uppercase; color: var(--c-muted) !important; overflow-wrap: normal; }
@media (max-width: 767px) {
  .ip-stats .el-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; row-gap: 24px !important; padding: 24px 14px !important; }
  .ip-stats .el-grid > .el-container + .el-container::before { display: none; }
  .ip-stats .el-grid > .el-container > p:last-child { font-size: 11px !important; letter-spacing: .08em; }
}
.ip-hero + .ip-stats { margin-top: -54px; position: relative; z-index: 3; }

/* ---- FAQ: accordion as soft cards */
.ip-faq .acc-item, .svc-faq .acc-item { border: 0 !important; margin-bottom: 12px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-card); overflow: hidden; transition: box-shadow .3s; }
.ip-faq .acc-item[open], .svc-faq .acc-item[open] { box-shadow: var(--shadow-card-hover); }
.ip-faq .acc-item > summary, .svc-faq .acc-item > summary { padding: 20px 24px !important; font-family: var(--f-body); font-weight: 600; }
.ip-faq .acc-item[open] > summary, .svc-faq .acc-item[open] > summary { color: var(--c-primary); }
.ip-faq .acc-body, .svc-faq .acc-body { padding: 0 24px 22px !important; }

/* ---- the navy accent band */
.ip-dark { background: radial-gradient(900px 500px at 8% 0%, rgba(187,229,250,.16), transparent 60%), radial-gradient(800px 500px at 100% 100%, rgba(252,208,181,.14), transparent 60%), var(--c-dark) !important; color: #fff; }
.ip-dark h1, .ip-dark h2, .ip-dark h3, .ip-dark h4, .ip-dark .h-text { color: #fff !important; }
.ip-dark .h-text em, .ip-dark h2 em { color: var(--c-peach) !important; background: none !important; }
.ip-dark .eyebrow { color: var(--c-sky) !important; }
.ip-dark p, .ip-dark li, .ip-dark .li-text, .ip-dark .el-paragraph { color: rgba(255,255,255,.84) !important; }
.ip-dark .el-grid > .el-container { background: rgba(255,255,255,.06) !important; border: 1px solid rgba(255,255,255,.12) !important; box-shadow: none !important; backdrop-filter: blur(8px); }
.ip-dark .el-grid > .el-container:hover { background: rgba(255,255,255,.1) !important; }
/* video cards on dark bands: film flush to the card edge, text inset */
.ip-dark .el-grid > .el-container:has(> .el-video) { padding: 0 0 22px !important; border-radius: 20px !important; overflow: hidden; }
.ip-dark .el-grid > .el-container:has(> .el-video) > .el-video .vid-box { border-radius: 0 !important; }
.ip-dark .el-grid > .el-container:has(> .el-video) > :not(.el-video) { padding-inline: 22px; }
.ip-dark .el-grid > .el-container:has(> .el-video) > .el-video + * { padding-top: 6px; }
.ip-dark .el-grid > .el-container:has(> .el-video) > .el-button { margin-top: auto; }
.ip-dark .icon-shape { background: rgba(252,208,181,.14) !important; color: var(--c-peach) !important; box-shadow: none; }
.ip-dark .btn-outline { --btn-c: #fff; --btn-b: rgba(255,255,255,.6); }
.ip-dark .btn-outline:hover { --btn-bg: #fff; --btn-c: var(--c-dark); }
.ip-dark .btn-text, .ip-dark a:not(.btn) { color: var(--c-sky); }
.ip-dark .li-ico { color: var(--c-sky) !important; background: rgba(187,229,250,.12) !important; }

/* ---- service-area strip */
.ip-area { background: transparent !important; padding-block: 28px !important; }
.ip-area .sec-inner { border-radius: 22px; padding: 22px 28px !important; background: linear-gradient(120deg, var(--c-sky-soft), #fff 50%, var(--c-peach-soft)); box-shadow: inset 0 0 0 1px rgba(36,109,163,.1); text-align: center; }
.ip-area p { color: var(--c-text) !important; font-weight: 500; }

/* ---- closing CTA component on inner pages: gradient spotlight card */
.ip .el-global_ref .el-appointment_cta, .el-global_ref .el-appointment_cta.cta-band { border-radius: 30px; overflow: hidden; position: relative; }
main > .el-global_ref, main .el-section:has(> .sec-inner > .el-global_ref) { background: transparent; }
.el-global_ref .el-appointment_cta { background: linear-gradient(120deg, var(--c-sky) 0%, #DDEFFA 45%, var(--c-peach) 100%) !important; color: var(--c-dark); box-shadow: 0 30px 70px -40px rgba(15,42,64,.5); }
.el-global_ref .el-appointment_cta .cta-heading, .el-global_ref .el-appointment_cta .eyebrow, .el-global_ref .el-appointment_cta .cta-text { color: var(--c-dark) !important; }

/* ---- legal / plain heroes stay simple but on-brand */
.ip-hero .el-richtext, .ip-hero .prose { max-width: 760px; }

/* ---- phones: icon-card grids and card grids become swipe rails */
@media (max-width: 767px) {
  .ip:not(.ip-stats) .el-grid:has(> .el-container:nth-child(3)):has(> .el-container > .el-icon),
  .ip:not(.ip-stats) .el-grid:has(> .el-container:nth-child(3)):has(> .el-container .icon-shape) {
    display: flex !important; flex-wrap: nowrap !important; gap: 14px !important; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    padding: 6px var(--gutter) 20px !important; margin-inline: calc(var(--gutter) * -1) !important; scrollbar-width: none; overscroll-behavior-x: contain; }
  .ip:not(.ip-stats) .el-grid:has(> .el-container:nth-child(3)):has(> .el-container > .el-icon) > .el-container,
  .ip:not(.ip-stats) .el-grid:has(> .el-container:nth-child(3)):has(> .el-container .icon-shape) > .el-container { flex: 0 0 76% !important; max-width: 76% !important; min-width: 0; scroll-snap-align: start; }
  .ip .el-grid::-webkit-scrollbar { display: none; }
  .ip .tm-cards { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 16px !important; }
  .ip .tm-name { font-size: 1rem !important; }
}

/* ============================================================ 25. Service + team profile templates — creative touches */
.svc-process { background: radial-gradient(900px 500px at 8% 0%, rgba(187,229,250,.16), transparent 60%), radial-gradient(800px 500px at 100% 100%, rgba(252,208,181,.14), transparent 60%), var(--c-dark) !important; color: #fff; }
.svc-process h2, .svc-process h3, .svc-process .step-title { color: #fff !important; }
.svc-process .eyebrow { color: var(--c-sky) !important; }
.svc-process p, .svc-process .step-body { color: rgba(255,255,255,.82) !important; }
.svc-process .step { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 22px; padding: 26px 22px 22px !important; }
.svc-process .step::before { top: -6px; left: 22px; box-shadow: 0 0 0 4px var(--c-dark); }
.svc-process .step-num { background: linear-gradient(120deg, var(--c-sky), var(--c-peach)); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.svc-benefits .card, .svc-candidates .card, .svc-related .card { border-radius: 22px !important; }
.svc-panel-card { border-radius: 26px !important; background: linear-gradient(160deg, #fff, var(--c-sky-soft)) !important; box-shadow: var(--shadow-card) !important; }
.svc-toc { position: sticky; top: calc(var(--header-h) + 20px); padding: 18px 20px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-card); border: 0 !important; }
.svc-cta .sec-inner, .svc-contact { border-radius: 30px; }
.svc-cta { background: transparent !important; }


.svc-hero h1 { font-size: clamp(1.9rem, 3.8vw, 3.2rem) !important; }
@media (max-width: 767px) {
  .svc-toc { position: static; }
  .svc-process .steps { display: flex !important; overflow-x: auto; gap: 14px !important; scroll-snap-type: x mandatory; padding: 12px var(--gutter) 20px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; }
  .svc-process .step { flex: 0 0 78%; scroll-snap-align: start; }
  .svc-benefit-grid { display: flex !important; overflow-x: auto; gap: 14px !important; scroll-snap-type: x mandatory; padding: 6px var(--gutter) 20px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; }
  .svc-benefit-grid > .card { flex: 0 0 76%; scroll-snap-align: start; }
}
/* team profile page (tpl-team: tp-hero, tp-photo, tpl-sec-cta) */
.tp-hero { position: relative; isolation: isolate; overflow: clip;
  background: radial-gradient(720px 480px at 92% 10%, color-mix(in srgb, var(--c-sky) 55%, transparent), transparent 70%),
              radial-gradient(620px 440px at 4% 96%, color-mix(in srgb, var(--c-peach) 45%, transparent), transparent 70%),
              linear-gradient(180deg, #fff 0%, var(--c-sky-soft) 100%) !important; }
.tp-photo { position: relative; background: linear-gradient(170deg, var(--c-sky) 0%, var(--c-peach-soft) 100%); padding: 12px 12px 0; border-radius: 50vw 50vw 26px 26px; box-shadow: 0 36px 70px -36px rgba(15,42,64,.5); }
.tp-photo img { border-radius: 50vw 50vw 18px 18px; }
.tp-name { font-size: clamp(1.9rem, 3.6vw, 3rem) !important; }
.tp-cred .chips > *, .tp-hero .chips > * { background: #fff; border: 1px solid color-mix(in srgb, var(--c-primary) 14%, transparent); box-shadow: var(--shadow-card); }
.tpl-sec-cta { background: transparent !important; }
.tpl-sec-cta .sec-inner { border-radius: 30px; background: linear-gradient(120deg, var(--c-sky) 0%, #DDEFFA 45%, var(--c-peach) 100%); padding: clamp(32px, 5vw, 60px) !important; box-shadow: 0 30px 70px -40px rgba(15,42,64,.5); }
.tpl-team .tpl-sec.bg-alt { background: linear-gradient(180deg, var(--c-peach-soft), #fff) !important; }
/* business hours in narrow cards/columns: day names never break, times stay on one line, text scales down */
.hours-table th, .hours-compact .hd { white-space: nowrap; }
@media (min-width: 421px) { .hours-table td, .hours-compact .ht { white-space: nowrap; } }
@media (max-width: 420px) { .hours-table th, .hours-compact .hd { padding-right: 10px; } .hours-compact li { gap: 10px; } .loc-actions { flex-wrap: wrap; } }
.el-grid .el-business_hours, .site-footer .el-business_hours { container-type: inline-size; }
@container (max-width: 300px) {
  .hours-table th, .hours-table td, .hours-compact li { font-size: 12.5px; }
  .hours-table th { padding-right: 8px; }
  .hours-table td { white-space: normal; }
}

/* ============================================================ 26. Readability, footer v2, section redesigns (help / values / why / before-after) */

/* ---- larger type: header menu + small UI text */
@media (min-width: 1025px) {
  .site-header .nav-list > .ni > .nl { font-size: 16px !important; font-weight: 600 !important; letter-spacing: .01em; }
  .site-header .nav-list { gap: 4px 26px !important; }
  .site-header .nav-horizontal .sub .nl { font-size: 15px !important; }
  .site-header a[href^="tel:"] .btn-label { font-size: 15px; }
  .site-header .el-button .btn { font-size: 15px; }
}
@media (min-width: 1025px) and (max-width: 1320px) {
  .site-header .nav-list { gap: 4px 16px !important; }
  .site-header .nav-list > .ni > .nl { font-size: 15px !important; }
  .site-header a[href^="tel:"] { display: none !important; }
}
.eyebrow { font-size: 13px !important; }
.card-text, .ip .el-grid .el-paragraph, .hp-tech .el-paragraph { font-size: 1rem; }
.card-more { font-size: 13.5px; }
.lead { font-size: clamp(1.06rem, 1.3vw, 1.2rem); }

/* ---- footer v2: centred brand, equal glass panel, hours strip, centred bottom bar */
.ft { position: relative; overflow: hidden; isolation: isolate; color: rgba(255,255,255,.8);
  background: radial-gradient(900px 480px at 50% -10%, rgba(187,229,250,.18), transparent 65%), radial-gradient(700px 420px at 100% 110%, rgba(252,208,181,.14), transparent 65%), var(--c-dark) !important; }
.ft::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--grad-brand); }
.ft .sec-inner { display: flex; flex-direction: column; gap: 44px; }
.ft-brand { text-align: center; }
.ft-brand .el-paragraph { max-width: 520px; margin-inline: auto; font-size: 16.5px; line-height: 1.7; color: rgba(255,255,255,.78); }
.ft-brand .el-logo { display: flex; justify-content: center; }
.ft-brand .el-logo img { filter: drop-shadow(0 6px 18px rgba(0,0,0,.25)); }
.ft-brand .socials { justify-content: center; }
.ft-brand .soc { width: 44px; height: 44px; background: rgba(255,255,255,.08); color: #fff; transition: background .25s, transform .25s; }
.ft-brand .soc:hover { background: var(--c-primary); transform: translateY(-3px); }
.ft-panel { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 28px; padding: 36px 36px 30px !important; backdrop-filter: blur(8px); }
.ft-panel > .el-column { flex: 1 1 0 !important; width: auto !important; max-width: none !important; min-width: 0; }
.ft-title .h4, .ft-title h4 { font-family: var(--f-heading) !important; font-size: 1.12rem !important; letter-spacing: .06em !important; text-transform: none !important; color: #fff !important; margin-bottom: 4px; }
.ft-title .h4::after, .ft-title h4::after { content: ""; display: block; width: 34px; height: 2px; margin-top: 12px; border-radius: 2px; background: var(--grad-brand); }
.ft .nav-footer .nav-list { gap: 11px !important; }
.ft .nav-footer .nl { font-size: 15.5px !important; color: rgba(255,255,255,.78) !important; font-weight: 500 !important; transition: color .2s, padding .2s; }
.ft .nav-footer .nl:hover { color: #fff !important; padding-left: 4px; }
.ft-col-treat .nav-list { display: grid !important; grid-template-columns: 1fr; }
.ft-col-visit .el-richtext p { color: #fff; font-size: 15.5px; line-height: 1.6; margin: 0; }
.ft-col-visit .btn { color: rgba(255,255,255,.85) !important; --btn-c: rgba(255,255,255,.85); font-size: 15px !important; justify-content: flex-start; padding: 0 !important; text-decoration: none; }
.ft-col-visit .btn:hover { color: var(--c-sky) !important; }
.ft-col-visit .btn .btn-ico { color: var(--c-peach); }
.ft-hours { text-align: center; }
.ft-hours .el-business_hours { width: 100%; }
.ft-hours .hours-inline, .ft-hours .hours-compact, .ft-hours ul { display: flex !important; flex-wrap: wrap; justify-content: center; gap: 10px !important; margin: 0; padding: 0; list-style: none; }
.ft-hours li { display: inline-flex !important; gap: 8px; align-items: center; padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); font-size: 14.5px; color: rgba(255,255,255,.85); white-space: nowrap; }
.ft-hours li.is-today { background: color-mix(in srgb, var(--c-primary) 55%, transparent); border-color: transparent; color: #fff; }
.ft-hours .hd, .ft-hours th { font-weight: 600; color: #fff; }
.ft-hours .bh-note, .ft-hours .hours-note, .ft-hours p { font-size: 13.5px; color: rgba(255,255,255,.62); max-width: 640px; margin: 6px auto 0; }
.ft-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 26px; text-align: center; }
.ft-bottom .nav-list { justify-content: center !important; gap: 8px 26px !important; flex-wrap: wrap; }
.ft-bottom .nl { font-size: 14px !important; color: rgba(255,255,255,.72) !important; }
.ft-bottom .el-paragraph { font-size: 14px; color: rgba(255,255,255,.55); margin: 0; }
@media (max-width: 1024px) {
  .ft-panel { flex-wrap: wrap !important; }
  .ft-panel > .el-column { flex: 1 1 calc(50% - 28px) !important; }
}
@media (max-width: 767px) {
  .ft .sec-inner { gap: 32px; }
  .ft-panel { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px !important; padding: 26px 20px !important; border-radius: 22px; }
  .ft-panel > .el-column { flex: none !important; }
  .ft-col-treat, .ft-col-visit { grid-column: 1 / -1; }
  .ft-col-treat .nav-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px !important; }
  .ft-hours li { font-size: 13px; padding: 8px 12px; }
}
/* old footer grid rules must not fight the new layout */
.site-footer .ft .el-row { display: flex !important; }
@media (max-width: 767px) { .site-footer .ft .ft-panel.el-row { display: grid !important; } }

/* ---- "How can we help" tiles: roomy, icon on top, never overflow */
.hp-help .el-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 16px !important; }
.hp-help .el-grid a.el-wrap-link { height: 100%; }
.hp-help .el-grid .el-container { flex-direction: column !important; align-items: flex-start !important; justify-content: space-between; gap: 18px !important; padding: 22px 20px !important; min-height: 138px; }
.hp-help .el-grid .el-container::after { content: "\2192"; position: absolute; right: 18px; bottom: 16px; font-size: 18px; color: var(--c-primary); opacity: .35; transition: transform .3s var(--ease), opacity .3s; }
.hp-help .el-grid a:hover .el-container::after { opacity: 1; transform: translateX(4px); }
.hp-help .el-grid .el-container { position: relative; }
.hp-help .el-grid .el-icon .icon-shape { width: 50px !important; height: 50px !important; }
.hp-help .el-grid .el-icon svg { width: 22px !important; height: 22px !important; }
.hp-help .el-grid .el-paragraph { font-size: 16px !important; font-weight: 600 !important; line-height: 1.3 !important; color: var(--c-text); padding-right: 22px; min-width: 0; }
@media (max-width: 1024px) { .hp-help .el-row { flex-direction: column; } .hp-help .el-row > .el-column { width: 100% !important; flex: 1 1 100% !important; max-width: 100% !important; } }
@media (max-width: 767px) {
  .hp-help .el-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
  .hp-help .el-grid .el-container { min-height: 118px; padding: 16px !important; gap: 12px !important; }
  .hp-help .el-grid .el-paragraph { font-size: 14.5px !important; }
  .hp-help .el-grid .el-icon .icon-shape { width: 42px !important; height: 42px !important; }
}

/* ---- values: a numbered timeline, short copy */
.hp-values .el-grid { position: relative; gap: 22px !important; }
.hp-values .el-grid::before { content: ""; position: absolute; left: 8%; right: 8%; top: 46px; height: 2px; background: linear-gradient(90deg, transparent, var(--c-sky), var(--c-peach), transparent); z-index: 0; }
.hp-values .el-grid > .el-container { background: transparent !important; box-shadow: none !important; border: 0 !important; padding: 0 10px !important; text-align: center; align-items: center !important; overflow: visible !important; }
.hp-values .el-grid > .el-container:hover { transform: none !important; }
.hp-values .el-grid > .el-container > p:first-child { position: relative; z-index: 1; display: grid; place-items: center; width: 92px; height: 92px; margin: 0 auto 18px !important; border-radius: 50%;
  font-size: 2rem !important; line-height: 1 !important; color: var(--c-primary) !important; -webkit-text-stroke: 0 !important; opacity: 1 !important;
  background: #fff; box-shadow: 0 14px 30px -14px rgba(15,42,64,.35), inset 0 0 0 1px rgba(36,109,163,.12); transition: transform .35s var(--ease), background .35s, color .35s; }
.hp-values .el-grid > .el-container:hover > p:first-child { transform: translateY(-6px) scale(1.04); background: linear-gradient(135deg, var(--c-primary), #5BA7D8); color: #fff !important; }
.hp-values .el-grid h3 { font-size: 1.15rem !important; margin-bottom: 6px; }
.hp-values .el-grid > .el-container > p:last-child { font-size: 15.5px !important; line-height: 1.6 !important; color: var(--c-muted); max-width: 250px; margin-inline: auto; }
@media (max-width: 1024px) { .hp-values .el-grid::before { display: none; } }
@media (max-width: 767px) {
  .hp-values .el-grid { display: flex !important; flex-direction: column !important; overflow: visible !important; padding: 0 !important; margin: 0 !important; gap: 18px !important; }
  .hp-values .el-grid > .el-container { flex: none !important; max-width: none !important; display: grid !important; grid-template-columns: 64px 1fr; column-gap: 16px; text-align: left; align-items: start !important; padding: 18px !important;
    background: #fff !important; border-radius: 20px !important; box-shadow: var(--shadow-card) !important; }
  .hp-values .el-grid > .el-container > p:first-child { grid-row: span 2; width: 60px; height: 60px; font-size: 1.35rem !important; margin: 0 !important; }
  .hp-values .el-grid > .el-container > p:last-child { max-width: none; margin: 0; }
  .hp-values .el-grid::after { display: none !important; }
}

/* ---- why: 2 x 2 bento with chip lists (less clutter) */
.hp-why .el-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 20px !important; }
.hp-why .el-grid > .el-container { display: grid !important; grid-template-columns: 58px 1fr; column-gap: 18px; row-gap: 8px; align-items: start !important; padding: 28px !important; border-radius: 26px !important; }
.hp-why .el-grid > .el-container > .el-icon { grid-row: span 2; }
.hp-why .el-grid > .el-container > .el-icon .icon-shape { width: 58px !important; height: 58px !important; }
.hp-why .el-grid > .el-container > .el-heading h3 { font-size: 1.25rem !important; margin: 0; }
.hp-why .el-grid > .el-container > .el-paragraph { font-size: 14px !important; color: var(--c-sky) !important; letter-spacing: .04em; margin: 0; }
.hp-why .el-grid > .el-container > .el-list { grid-column: 1 / -1; display: flex !important; flex-wrap: wrap; gap: 8px !important; margin-top: 14px; }
.hp-why .el-grid > .el-container > .el-list li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.hp-why .el-grid > .el-container > .el-list .li-ico { width: 20px !important; height: 20px !important; }
.hp-why .el-grid > .el-container > .el-list .li-text { font-size: 14px !important; line-height: 1.3; color: #fff !important; }
@media (max-width: 767px) {
  .hp-why .el-grid { display: flex !important; flex-direction: column !important; overflow: visible !important; padding: 0 !important; margin: 0 !important; }
  .hp-why .el-grid > .el-container { flex: none !important; max-width: none !important; grid-template-columns: 48px 1fr; padding: 20px !important; }
  .hp-why .el-grid > .el-container > .el-icon .icon-shape { width: 48px !important; height: 48px !important; }
  .hp-why .el-grid > .el-container > .el-list li { padding: 7px 12px 7px 9px; }
  .hp-why .el-grid > .el-container > .el-list .li-text { font-size: 13px !important; }
}

/* ---- before / after: uniform frames (shape chosen per grid in §37), caption below the photo, refined labels + handle */
.ba-grid { gap: 24px !important; }
.ba.ba-slider { position: relative; margin: 0; background: transparent !important; box-shadow: none !important; border-radius: 26px; }
.ba.ba-slider .ba-frame { aspect-ratio: var(--ba-ar, 4 / 5); height: auto; border-radius: 26px; overflow: hidden; box-shadow: 0 26px 54px -30px rgba(15,42,64,.55); }
.ba.ba-slider .ba-frame img, .ba.ba-slider .ba-frame picture { width: 100%; height: 100%; object-fit: cover; }
.ba-label { top: 14px !important; padding: 6px 12px !important; font-size: 11px !important; letter-spacing: .16em !important; border-radius: 999px !important; background: rgba(15,42,64,.55) !important; backdrop-filter: blur(8px); color: #fff !important; }
.ba-label-b { left: 14px !important; } .ba-label-a { right: 14px !important; }
.ba-handle { width: 2px !important; background: rgba(255,255,255,.9) !important; }
.ba-handle span { width: 46px !important; height: 46px !important; background: #fff !important; box-shadow: 0 8px 24px rgba(15,42,64,.35) !important; }
.ba-cap { position: static; margin: 14px 4px 0 !important; padding: 0 !important; background: none; color: var(--c-dark) !important; font-weight: 600; font-size: 15px !important; line-height: 1.35; text-align: left !important; }
.ba.ba-slider:hover .ba-frame { box-shadow: 0 30px 60px -28px rgba(15,42,64,.65); }
@media (max-width: 767px) {
  .ba-grid { gap: 14px !important; }
  .hp-ba .ba-grid > * { flex: 0 0 80% !important; max-width: 80% !important; }
  .ba-cap { font-size: 13.5px !important; margin-top: 10px !important; }
}
.ba.ba-slider .ba-after, .ba.ba-slider .ba-before { position: absolute; inset: 0; }
.ba.ba-slider .ba-after picture, .ba.ba-slider .ba-before picture { display: block; width: 100%; height: 100%; }
.ba.ba-slider .ba-after img, .ba.ba-slider .ba-before img { width: 100% !important; height: 100% !important; object-fit: cover; object-position: 50% 40%; }
@media (max-width: 767px) {
  .site-footer .ft .el-row.ft-panel { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; flex-direction: initial !important; gap: 28px 18px !important; }
  .site-footer .ft .el-row.ft-panel > .ft-col-treat, .site-footer .ft .el-row.ft-panel > .ft-col-visit { grid-column: 1 / -1 !important; }
  .site-footer .ft .ft-hours ul { gap: 8px !important; }
}
@media (max-width: 767px) { .site-footer .ft .el-row.ft-panel > .el-column:first-child { grid-column: auto !important; } }

/* ---- numbered benefit grids on inner pages: 2-column editorial list instead of tall narrow cards */
.num-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 0 48px !important; }
.num-grid > .el-container { display: grid !important; grid-template-columns: 56px 1fr; column-gap: 20px; row-gap: 6px; align-items: start !important;
  padding: 26px 0 !important; background: transparent !important; box-shadow: none !important; border: 0 !important; border-bottom: 1px solid var(--c-border) !important; border-radius: 0 !important; overflow: visible !important; }
.num-grid > .el-container:hover { transform: none !important; }
.num-grid > .el-container > p:first-child { grid-row: span 3; display: grid; place-items: center; width: 52px; height: 52px; margin: 0 !important; border-radius: 50%;
  font-family: var(--f-heading); font-size: 1.1rem !important; font-weight: 700; line-height: 1 !important; color: var(--c-primary) !important; -webkit-text-stroke: 0 !important;
  background: linear-gradient(135deg, var(--c-sky-soft), var(--c-peach-soft)); box-shadow: inset 0 0 0 1px rgba(36,109,163,.14); }
.num-grid > .el-container h3, .num-grid > .el-container h4 { font-size: 1.12rem !important; margin: 4px 0 2px !important; }
.num-grid > .el-container > p:not(:first-child), .num-grid > .el-container .el-paragraph:not(:first-child) { font-size: 15.5px !important; line-height: 1.7 !important; color: var(--c-muted) !important; margin: 0; }
.ip-dark .num-grid > .el-container { border-bottom-color: rgba(255,255,255,.12) !important; }
.ip-dark .num-grid > .el-container > p:first-child { background: rgba(255,255,255,.08); color: var(--c-peach) !important; box-shadow: none; }
@media (max-width: 767px) {
  .num-grid { display: flex !important; flex-direction: column !important; overflow: visible !important; padding: 0 !important; margin: 0 !important; gap: 0 !important; }
  .num-grid > .el-container { flex: none !important; max-width: none !important; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 20px 0 !important; }
  .num-grid > .el-container > p:first-child { width: 42px; height: 42px; font-size: .95rem !important; }
}

/* ============================================================ 27. Service pages v2 — creative pass + CTA contrast fix */

/* ---- CTA: navy spotlight card with light text (fix: text was forced dark on a dark band) */
.svc-cta { background: transparent !important; }
.svc-cta > .sec-inner { background: none !important; box-shadow: none !important; padding: 0 !important; }
.svc-cta .el-section, .svc-cta .el-section > .sec-inner { background: transparent !important; padding: 0 !important; }
.svc-cta .el-appointment_cta { position: relative; overflow: hidden; isolation: isolate; border-radius: 32px; padding: clamp(34px, 5vw, 64px) !important;
  background: radial-gradient(620px 360px at 100% 0%, rgba(187,229,250,.26), transparent 65%), radial-gradient(520px 340px at 0% 100%, rgba(252,208,181,.22), transparent 65%), var(--c-dark) !important;
  box-shadow: 0 40px 80px -44px rgba(15,42,64,.7); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.svc-cta .el-appointment_cta::before { content: ""; position: absolute; z-index: -1; right: -90px; bottom: -120px; width: 360px; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 0 0 40px rgba(255,255,255,.03), 0 0 0 80px rgba(255,255,255,.02); }
.svc-cta .eyebrow { color: var(--c-sky) !important; }
.svc-cta .cta-heading { color: #fff !important; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.15; }
.svc-cta .cta-text { color: rgba(255,255,255,.82) !important; font-size: 16.5px; line-height: 1.7; max-width: 560px; }
.svc-cta .cta-actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.svc-cta .cta-actions .btn { justify-content: center; }
@media (max-width: 900px) { .svc-cta .el-appointment_cta { grid-template-columns: 1fr; border-radius: 24px; } }

/* ---- hero: floating glass cards on the arch photo */
.svc-hero-media { position: relative; }
.svc-float { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; font-size: 13.5px; line-height: 1.35; color: var(--c-text);
  background: rgba(255,255,255,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 18px 40px -18px rgba(15,42,64,.45); animation: ws-float 7s ease-in-out infinite; }
.svc-float strong { font-weight: 700; }
.svc-float-rating { left: -34px; top: 5%; }
.sf-stars { color: #F2A65A; letter-spacing: 2px; font-size: 14px; }
.svc-float-doc { right: -18px; bottom: -22px; animation-delay: -3s; }
.sf-dot { width: 10px; height: 10px; border-radius: 50%; background: #3BB273; box-shadow: 0 0 0 5px rgba(59,178,115,.18); flex: none; }
@media (max-width: 1024px) { .svc-float-rating { left: 8px; } .svc-float-doc { right: 8px; } }
@media (max-width: 480px) { .svc-float { font-size: 12px; padding: 9px 12px; } .svc-float-rating { top: 8px; } .svc-float-doc { bottom: -16px; } }

/* ---- overview prose: editorial rhythm */
.svc-intro .prose > p:first-of-type { font-size: 1.14rem; line-height: 1.75; color: var(--c-text); }
.svc-intro .prose h3 { position: relative; margin-top: 2.2em; padding-left: 18px; font-size: 1.25rem; }
.svc-intro .prose h3::before { content: ""; position: absolute; left: 0; top: .15em; bottom: .15em; width: 4px; border-radius: 4px; background: var(--grad-brand); }
.svc-intro .prose ul { list-style: none; padding: 0; margin: 1em 0 1.4em; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.svc-intro .prose ul li { position: relative; margin: 0; padding: 12px 14px 12px 42px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-card); font-size: 15.5px; line-height: 1.45; }
.svc-intro .prose ul li::marker { content: none; }
.svc-intro .prose ul li::before { content: ""; position: absolute; left: 14px; top: 14px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--c-primary) url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22white%22 stroke-width=%223%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 12.5l4.5 4.5L19 7.5%22/%3E%3C/svg%3E") center/11px no-repeat; }
.svc-intro .prose > p:last-of-type strong, .svc-intro .prose > p > strong:only-child { color: var(--c-primary); }
@media (max-width: 767px) { .svc-intro .prose ul { grid-template-columns: 1fr; } }

/* ---- benefits: numbered cards with gradient chip */
.svc-benefit-grid { counter-reset: ben; }
.svc-benefit-grid > .card { counter-increment: ben; position: relative; padding-top: 6px; overflow: hidden; }
.svc-benefit-grid > .card::after { content: counter(ben, decimal-leading-zero); position: absolute; right: 20px; top: 16px; font-family: var(--f-heading); font-size: 2.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--c-primary) 35%, transparent); }
.svc-benefit-grid > .card .card-ico { width: 56px; height: 56px; }

/* ---- technology: key terms become glowing chips on a gradient card */
.svc-tech .svc-tech-inner { border-radius: 30px; padding: clamp(28px, 4vw, 52px) !important; background: linear-gradient(120deg, var(--c-sky-soft), #fff 50%, var(--c-peach-soft)); box-shadow: inset 0 0 0 1px rgba(36,109,163,.1); }
.svc-tech .prose strong { display: inline-block; padding: 2px 12px; margin: 2px 0; border-radius: 999px; background: #fff; color: var(--c-primary); font-weight: 600; box-shadow: 0 6px 16px -10px rgba(15,42,64,.4); }
.svc-tech .prose p { line-height: 2.1; }

/* ---- who it's for / what to expect: two soft cards */
.svc-candidates .svc-panel { border-radius: 26px; }
.svc-candidates .svc-panel:not(.svc-panel-card) { background: #fff; padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-card); }

/* ---- related: image cards with caption card */
.svc-related .card-image .svc-card, .svc-related .svc-card { background: transparent !important; box-shadow: none !important; border: 0 !important; overflow: visible !important; }
.svc-related .svc-card::before { display: none; }
.svc-related .svc-card .card-media { aspect-ratio: 4 / 3; border-radius: 24px; box-shadow: 0 22px 46px -28px rgba(15,42,64,.5); }
.svc-related .svc-card .card-body { position: relative; margin: -48px 14px 0; background: #fff; border-radius: 20px; box-shadow: var(--shadow-card); padding: 20px 22px; transition: transform .4s var(--ease); }
.svc-related .svc-card:hover .card-body { transform: translateY(-5px); }
.svc-related .svc-card .card-text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---- visit strip: glass card */
.svc-contact .loc-banner { border-radius: 26px !important; background: #fff !important; box-shadow: var(--shadow-card) !important; border: 0 !important; padding: 24px 28px !important; }
.svc-contact .loc-ico { background: linear-gradient(135deg, var(--c-sky-soft), var(--c-peach-soft)) !important; color: var(--c-primary) !important; }

/* ---- section rhythm: glow shapes on the light bands */
.svc-overview, .svc-candidates, .svc-related, .svc-faq { position: relative; isolation: isolate; overflow-x: clip; }
.svc-overview::after, .svc-related::after { content: ""; position: absolute; z-index: -1; right: -12%; top: 4%; width: min(560px, 60vw); aspect-ratio: 1; border-radius: 50%; filter: blur(70px); opacity: .4; background: radial-gradient(circle, var(--c-sky), transparent 68%); pointer-events: none; }
.svc-faq::after { content: ""; position: absolute; z-index: -1; left: -14%; bottom: -10%; width: min(520px, 60vw); aspect-ratio: 1; border-radius: 50%; filter: blur(70px); opacity: .4; background: radial-gradient(circle, var(--c-peach), transparent 68%); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .svc-float { animation: none !important; } }

/* ============================================================ 28. Team profile v2 */
.tp2 .tp-hero { padding-block: clamp(36px, 5vw, 76px) clamp(56px, 7vw, 100px) !important; }
.tp2 .tp-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.tp2 .tp-media { position: relative; position: sticky; top: calc(var(--header-h) + 24px); padding: 0 22px 26px 0; }
.tp2 .tp-media::before { content: ""; position: absolute; z-index: 0; inset: 22px 0 0 22px; border-radius: 50vw 50vw 30px 30px; background: var(--grad-brand); opacity: .85; }
.tp2 .tp-photo { position: relative; z-index: 1; padding: 0 !important; background: none !important; box-shadow: 0 40px 80px -40px rgba(15,42,64,.6) !important; border-radius: 50vw 50vw 28px 28px !important; overflow: hidden; }
.tp2 .tp-photo img, .tp2 .tp-photo picture { display: block; width: 100%; aspect-ratio: 4 / 4.8; object-fit: cover; object-position: top center; border-radius: 0 !important; }
.tp-float { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 10px; padding: 11px 15px; border-radius: 16px; font-size: 13.5px; line-height: 1.35; color: var(--c-text);
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 18px 40px -18px rgba(15,42,64,.45); animation: ws-float 7s ease-in-out infinite; max-width: 78%; }
.tp-float strong { font-weight: 700; }
.tp-float-role { left: -26px; top: 18%; font-weight: 600; }
.tp-float-loc { right: 0; bottom: 60px; animation-delay: -3s; }
.tf-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--c-primary), #5BA7D8); color: #fff; flex: none; }
.tf-ico .ico { width: 17px; height: 17px; }
.tp2 .tp-name { font-size: clamp(2rem, 4vw, 3.3rem) !important; margin-bottom: 18px; }
.tp2 .tp-bio > p:first-child { font-size: 1.12rem; color: var(--c-text); }
.tp2 .tp-bio { color: var(--c-muted); }
.tp-glance { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0; margin: 26px 0 20px; border-radius: 20px; overflow: hidden; background: #fff; box-shadow: var(--shadow-card); }
.tp-glance > div { padding: 16px 20px; border-right: 1px solid var(--c-border); }
.tp-glance > div:last-child { border-right: 0; }
.tp-glance dt { font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--c-accent-dark); margin-bottom: 4px; }
.tp-glance dd { margin: 0; font-weight: 600; color: var(--c-text); font-size: 15px; line-height: 1.4; }
.tp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.tp-chips li { padding: 8px 14px; border-radius: 999px; background: linear-gradient(135deg, var(--c-sky-soft), var(--c-peach-soft)); border: 1px solid rgba(36,109,163,.12); font-size: 13.5px; font-weight: 600; color: var(--c-text); }
.tp2 .tp-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* video */
.tp-video-sec { background: radial-gradient(900px 500px at 8% 0%, rgba(187,229,250,.16), transparent 60%), radial-gradient(800px 500px at 100% 100%, rgba(252,208,181,.14), transparent 60%), var(--c-dark) !important; color: #fff; }
.tp-video-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.tp-video-sec h2 { color: #fff; } .tp-video-sec h2 em { color: var(--c-peach) !important; background: none !important; }
.tp-video-sec .eyebrow { color: var(--c-sky) !important; }
.tp-video-sec .lead { color: rgba(255,255,255,.82); }
.tp-video-frame { position: relative; }
.tp-video-frame::before { content: ""; position: absolute; inset: 16px -16px -16px 16px; border-radius: 28px; background: var(--grad-brand); opacity: .55; }
.tp-video-frame .vid-box { position: relative; border-radius: 26px; overflow: hidden; box-shadow: 0 30px 60px -28px rgba(0,0,0,.6); }
.tp-video-frame video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }

/* story cards */
.tp-stories-sec { position: relative; isolation: isolate; overflow-x: clip; }
.tp-stories-sec::after { content: ""; position: absolute; z-index: -1; right: -12%; top: 6%; width: min(560px, 60vw); aspect-ratio: 1; border-radius: 50%; filter: blur(70px); opacity: .4; background: radial-gradient(circle, var(--c-sky), transparent 68%); }
.tp-stories-sec .sec-head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.tp-stories { columns: 2; column-gap: 24px; }
.tp-story { break-inside: avoid; position: relative; margin: 0 0 24px; padding: 30px 28px 26px; border-radius: 26px; background: #fff; box-shadow: var(--shadow-card); border: 1px solid rgba(36,109,163,.07); overflow: hidden; }
.tp-story::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--grad-brand); }
.tp-story.is-lead { background: linear-gradient(160deg, #fff 30%, var(--c-sky-soft)); }
.tp-story-num { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 14px; border-radius: 50%; font-family: var(--f-heading); font-weight: 700; font-size: 1rem; color: var(--c-primary);
  background: linear-gradient(135deg, var(--c-sky-soft), var(--c-peach-soft)); box-shadow: inset 0 0 0 1px rgba(36,109,163,.14); }
.tp-story-title { font-size: 1.28rem !important; margin: 0 0 12px; }
.tp-story-body { font-size: 15.5px; color: var(--c-muted); }
.tp-story-body h3 { font-size: 1.05rem; margin: 1.3em 0 .5em; color: var(--c-text); }
.tp-story-body ul { list-style: none; padding: 0; margin: .6em 0 1em; display: flex; flex-direction: column; gap: 8px; }
.tp-story-body ul li { position: relative; padding-left: 28px; margin: 0; line-height: 1.55; }
.tp-story-body ul li::marker { content: none; }
.tp-story-body ul li::before { content: ""; position: absolute; left: 0; top: .3em; width: 17px; height: 17px; border-radius: 50%;
  background: var(--c-primary) url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22white%22 stroke-width=%223%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 12.5l4.5 4.5L19 7.5%22/%3E%3C/svg%3E") center/10px no-repeat; }
.tp-story-body a { color: var(--c-primary); font-weight: 600; }

/* education timeline */
.tp-edu-sec { background: linear-gradient(180deg, var(--c-peach-soft), #fff) !important; }
.tp-edu-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.tp-timeline { position: relative; list-style: none; margin: 0; padding: 0 0 0 30px; }
.tp-timeline::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--c-sky), var(--c-peach)); border-radius: 2px; }
.tp-timeline li { position: relative; margin: 0 0 16px; padding: 18px 22px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-card); }
.tp-timeline li p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--c-text); }
.tl-dot { position: absolute; left: -30px; top: 22px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px var(--c-primary) inset, 0 0 0 5px #fff; }

/* others + CTA */
.tp-others { background: var(--c-bg-alt) !important; }
.tp-cta { background: transparent !important; }
.tp-cta > .sec-inner { background: none !important; box-shadow: none !important; padding: 0 !important; }
.tp-cta .el-section, .tp-cta .el-section > .sec-inner { background: transparent !important; padding: 0 !important; }
.tp-cta .el-appointment_cta { position: relative; overflow: hidden; isolation: isolate; border-radius: 32px; padding: clamp(34px, 5vw, 64px) !important;
  background: radial-gradient(620px 360px at 100% 0%, rgba(187,229,250,.26), transparent 65%), radial-gradient(520px 340px at 0% 100%, rgba(252,208,181,.22), transparent 65%), var(--c-dark) !important;
  box-shadow: 0 40px 80px -44px rgba(15,42,64,.7); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.tp-cta .eyebrow { color: var(--c-sky) !important; }
.tp-cta .cta-heading { color: #fff !important; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.tp-cta .cta-text { color: rgba(255,255,255,.82) !important; }
.tp-cta .cta-actions { display: flex; flex-direction: column; gap: 12px; }
.tp-cta .cta-actions .btn { justify-content: center; }

@media (max-width: 1024px) {
  .tp2 .tp-grid, .tp-video-grid, .tp-edu-grid { grid-template-columns: 1fr; }
  .tp2 .tp-media { position: relative; top: 0; max-width: 460px; width: 100%; margin-inline: auto; }
  .tp-stories { columns: 1; }
  .tp-cta .el-appointment_cta { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .tp2 .tp-media { padding: 0 12px 14px 0; max-width: 340px; }
  .tp2 .tp-media::before { inset: 12px 0 0 12px; }
  .tp-float { font-size: 12px; padding: 9px 12px; }
  .tp-float-role { left: 6px; top: 10px; }
  .tp-float-loc { right: 6px; bottom: 26px; }
  .tp-glance { grid-template-columns: 1fr; }
  .tp-glance > div { border-right: 0; border-bottom: 1px solid var(--c-border); }
  .tp-glance > div:last-child { border-bottom: 0; }
  .tp2 .tp-actions .btn:not(.btn-icon) { flex: 1 1 100%; justify-content: center; }
  .tp-story { padding: 24px 20px 20px; border-radius: 22px; }
  .tp-timeline { padding-left: 26px; }
  .tp-cta .el-appointment_cta { border-radius: 24px; }
}
@media (prefers-reduced-motion: reduce) { .tp-float { animation: none !important; } }
/* spacing fixes: treatment steps had 0 gap; overview checklist chips a touch tighter than the rest of the site */
.svc-process .steps { gap: 20px !important; }
.svc-process .step { margin: 0 !important; }
.svc-intro .prose ul { gap: 14px !important; }
@media (max-width: 1024px) { .svc-process .steps { gap: 16px !important; } }
/* forms: consistent field spacing on phones (rows were 0-7px apart once columns stacked) */
.form-grid { row-gap: 18px !important; }
@media (max-width: 767px) { .form-grid { display: flex !important; flex-direction: column; gap: 16px !important; } .form-grid > .f-row { width: 100% !important; margin: 0 !important; } }


/* ---- 29. "How can we help" v2: urgent card + intent tiles with descriptions ---- */
.hp-help2 .el-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 16px !important; }
.hp-help2 .el-grid .hh-tile { min-height: 0; flex-direction: row !important; align-items: flex-start !important; justify-content: flex-start; padding: 20px 18px !important; gap: 14px !important; border-radius: 18px; }
.hp-help2 .el-grid .hh-txt { flex-direction: column !important; align-items: stretch !important; justify-content: flex-start !important; flex: 1 1 auto; }
.hp-help2 .el-grid .el-container::after { right: 16px; bottom: 14px; }
.hp-help2 .el-grid .hh-txt { padding: 0 !important; border: 0 !important; box-shadow: none !important; background: transparent !important; border-radius: 0; gap: 4px !important; min-width: 0; min-height: 0; }
.hp-help2 .el-grid .hh-txt::after { content: none; }
.hp-help2 .el-grid a:hover .hh-txt { transform: none; background: transparent !important; }
.hp-help2 .el-grid .el-paragraph { padding-right: 0; font-weight: 400 !important; }
.hp-help2 .el-grid .hh-txt .el-paragraph:first-child { font-weight: 700 !important; font-size: 17px !important; padding-right: 20px; }
.hp-help2 .el-grid .hh-txt .el-paragraph + .el-paragraph { font-size: 14px !important; line-height: 1.45 !important; color: var(--c-muted); }
.hp-help2 .el-grid .el-icon .icon-shape { width: 46px !important; height: 46px !important; }
.hp-help2 .hh-urgent { position: relative; overflow: hidden; border-radius: 24px; padding: 28px 30px; background: linear-gradient(135deg, var(--c-dark) 0%, var(--c-secondary) 70%, var(--c-primary) 100%); color: #fff; box-shadow: var(--shadow-card); }
.hp-help2 .hh-urgent::before { content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c-accent) 55%, transparent) 0%, transparent 70%); pointer-events: none; }
.hp-help2 .hh-urgent .icon-shape { background: var(--c-accent) !important; color: #fff !important; width: 56px !important; height: 56px !important; box-shadow: 0 0 0 8px rgba(255,255,255,.08); }
.hp-help2 .hh-urgent .eyebrow { color: var(--c-peach); }
.hp-help2 .hh-urgent .eyebrow::before { background: var(--c-peach); }
.hp-help2 .hh-urgent .el-heading, .hp-help2 .hh-urgent h3 { color: #fff; }
.hp-help2 .hh-urgent .btn-primary { --btn-bg: var(--c-accent); --btn-b: var(--c-accent); --btn-c: #fff; }
.hp-help2 .hh-urgent .btn-primary:hover { --btn-bg: var(--c-peach); --btn-b: var(--c-peach); --btn-c: var(--c-dark); }
.hp-help2 .hh-urgent .btn-outline { --btn-c: #fff; --btn-b: rgba(255,255,255,.55); --btn-outline-hover-bg: #fff; --btn-outline-hover-color: var(--c-dark); }
.hp-help2 .hh-urgent-btns { flex-wrap: wrap; }
.hp-help2 .hh-talk { margin-top: 8px; padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--c-border); box-shadow: var(--shadow-card); max-width: 460px; }
.hp-help2 .hh-talk .icon-shape { width: 46px !important; height: 46px !important; }
@media (max-width: 1024px) { .hp-help2 .hh-talk { max-width: none; } .hp-help2 .el-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 767px) {
  .hp-help2 .hh-urgent { padding: 22px 20px; flex-direction: column !important; gap: 14px !important; border-radius: 20px; }
  .hp-help2 .hh-urgent .icon-shape { width: 48px !important; height: 48px !important; }
  .hp-help2 .hh-urgent-btns { flex-direction: column !important; align-items: stretch !important; }
  .hp-help2 .hh-urgent-btns .btn { width: 100%; justify-content: center; }
  .hp-help2 .el-grid { grid-template-columns: 1fr !important; gap: 10px !important; }
  .hp-help2 .el-grid .hh-tile { min-height: 0; padding: 14px 16px !important; align-items: center !important; }
  .hp-help2 .el-grid .hh-txt .el-paragraph:first-child { font-size: 16px !important; }
  .hp-help2 .el-grid .hh-txt .el-paragraph + .el-paragraph { font-size: 13.5px !important; }
  .hp-help2 .el-grid .el-icon .icon-shape { width: 42px !important; height: 42px !important; }
  .hp-help2 .hh-talk { padding: 16px; }
}

/* ---- 30. Header logo lockup: figures mark + practice name as live text (readable at every size) ---- */
.logo-lockup { display: inline-flex; align-items: center; gap: 12px; line-height: 1; text-decoration: none; color: var(--c-dark); white-space: nowrap; }
.logo-lockup .logo-mark { height: var(--lockup-h, 64px); width: auto; max-width: none; object-fit: contain; flex: none; }
.site-header .el-logo .logo-lockup .logo-mark { max-height: none; }
.logo-lockup-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.logo-lockup-name { font-family: var(--f-heading); font-weight: 700; font-size: calc(var(--lockup-h, 64px) * .36); letter-spacing: .01em; color: var(--c-dark); }
.logo-lockup-tag { font-family: var(--f-body); font-weight: 600; font-size: calc(var(--lockup-h, 64px) * .145); letter-spacing: .14em; text-transform: uppercase; color: var(--c-accent-dark); }
.logo-lockup:hover .logo-lockup-name { color: var(--c-primary); }
body[data-hero="dark"]:not(.is-scrolled) .site-header .logo-lockup-name,
html:not(.is-scrolled) body[data-hero="dark"] .site-header .logo-lockup-name { color: #fff; }
html:not(.is-scrolled) body[data-hero="dark"] .site-header .logo-lockup-tag { color: var(--c-peach); }
.site-header .el-logo { --lockup-h: 64px; }
.site-header .el-row > .el-column:first-child { flex: 0 0 auto !important; width: auto !important; max-width: none !important; }
@media (max-width: 1024px) { .site-header .el-logo { --lockup-h: 56px; } }
@media (max-width: 767px) {
  .site-header .el-logo { --lockup-h: 46px; }
  .site-header .el-logo .logo-lockup .logo-mark { height: var(--lockup-h) !important; max-height: none !important; }
  .logo-lockup { gap: 9px; }
  .logo-lockup-name { font-size: 17px; }
  .logo-lockup-tag { font-size: 8.5px; letter-spacing: .1em; }
}
@media (max-width: 400px) { .logo-lockup-tag { display: none; } .logo-lockup-name { font-size: 16px; } }
/* lockup: header row = auto logo | flexible nav | auto actions (the seeded % widths no longer fit) */
@media (min-width: 768px) {
  .site-header .el-row { flex-wrap: nowrap !important; align-items: center; }
  .site-header .el-row > .el-column:nth-child(2) { flex: 1 1 auto !important; width: auto !important; max-width: none !important; min-width: 0; }
  .site-header .el-row > .el-column:nth-child(3) { flex: 0 0 auto !important; width: auto !important; max-width: none !important; }
}
@media (min-width: 768px) and (max-width: 1280px) {
  .site-header .el-logo { --lockup-h: 58px; }
  .site-header .el-nav_menu .nav-list { gap: 18px !important; }
}
@media (max-width: 767px) {
  .logo-lockup-name { white-space: normal; max-width: 150px; line-height: 1.05; font-size: 15.5px; }
  .logo-lockup-text { gap: 2px; }
  .logo-lockup-tag { display: none; }
}
/* lockup: the wide wordmark leaves no room for the phone text link in the header row (phone stays in the hero, help band, sticky bar, footer) */
.site-header:has(.logo-lockup) a[href^="tel:"].btn-text { display: none !important; }
@media (min-width: 1281px) and (max-width: 1500px) { .site-header .el-nav_menu .nav-list { gap: 22px !important; } }
@media (max-width: 480px) {
  .logo-lockup-name { max-width: 125px; font-size: 14.5px; }
  .site-header:has(.logo-lockup) .el-button .btn:not(.btn-text) { width: 44px; height: 44px; padding: 0 !important; border-radius: 50%; justify-content: center; }
  .site-header:has(.logo-lockup) .el-button .btn:not(.btn-text) .btn-ico { display: inline-block !important; width: 20px; height: 20px; margin: 0; }
  .site-header:has(.logo-lockup) .el-button .btn:not(.btn-text) .btn-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .site-header:has(.logo-lockup) .el-button { display: block !important; }
}

/* ---- 31. Video story cards (one system for the homepage stories, gallery, reviews and service pages) ---- */
.vcard, .hp-stories .el-carousel .el-container, .hp-gallery .el-grid > .el-container { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.vcard .vid-box, .hp-stories .vid-box, .hp-gallery .vid-box, .ip-dark .vid-box { border-radius: 22px; overflow: hidden; background: var(--c-dark); box-shadow: 0 18px 40px -24px rgba(15,42,64,.5); }
.vid-facade-file + .vid-tpl { display: none; }
.vid-box .vid-facade::after { background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(15,42,64,.45) 100%); }
.vid-box .vid-play { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(255,255,255,.94); color: var(--c-dark); box-shadow: 0 10px 26px rgba(15,42,64,.35); }
.vid-box .vid-play .ico { width: 22px; height: 22px; margin-left: 3px; }
.vid-facade:hover .vid-play, .vid-facade:focus-visible .vid-play { transform: scale(1.08); background: var(--c-accent); color: #fff; }
.vid-facade:focus-visible { outline: 3px solid var(--c-accent); outline-offset: -3px; }
.vcard .vc-meta .el-paragraph, .hp-stories .el-carousel .el-container .el-container .el-paragraph { margin: 0; }
.vcard .vc-name { font-weight: 700; font-size: 16px; color: var(--c-text); line-height: 1.3; }
.vcard .vc-desc { font-size: 12.5px; color: var(--c-muted); letter-spacing: .06em; text-transform: uppercase; }
.svc-stories .sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.svc-stories .vcards { margin-top: 8px; }
@media (max-width: 767px) {
  .vid-box .vid-play { width: 52px; height: 52px; margin: -26px 0 0 -26px; }
  .vcard .vc-name { font-size: 14.5px; }
  .vcard .vc-desc { font-size: 11px; }
}
/* technology cards: pin the "Learn more" link to the bottom so a row of cards reads as one line */
.hp-tech .el-grid > .el-container, .hp-tech .el-grid a.el-wrap-link > .el-container { height: 100%; }
.hp-tech .el-grid .el-container > .el-paragraph:last-child, .hp-tech .el-grid .el-container > .el-button:last-child { margin-top: auto; }
/* inner-page hero on tablets: keep text + arch photo side by side (stacked it became a 700px-tall image) */
@media (min-width: 768px) and (max-width: 1024px) {
  .ip-hero .el-row { flex-direction: row !important; flex-wrap: nowrap !important; align-items: center; gap: 32px !important; }
  .ip-hero .el-row > .el-column:first-child { width: calc(54% - 16px) !important; flex: 0 0 calc(54% - 16px) !important; max-width: calc(54% - 16px) !important; min-width: 0; }
  .ip-hero .el-row > .el-column:last-child { width: calc(46% - 16px) !important; flex: 0 0 calc(46% - 16px) !important; max-width: calc(46% - 16px) !important; min-width: 0; }
  .ip-hero-media { max-width: none; margin: 0; }
  .ip-hero-media .el-image picture, .ip-hero-media .el-image img { aspect-ratio: 4 / 4.2; }
  .ip-hero h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem) !important; }
}
/* link cards inside a dark band keep dark text on their white surface (FAQ "by treatment" tiles were rendering white-on-white) */
.ip-dark a.el-wrap-link > .el-container { color: var(--c-text) !important; }
.ip-dark a.el-wrap-link > .el-container .h-text, .ip-dark a.el-wrap-link > .el-container h3 { color: var(--c-dark) !important; }
.ip-dark a.el-wrap-link > .el-container .el-paragraph { color: var(--c-primary) !important; font-weight: 600; }
.ip-dark a.el-wrap-link:hover > .el-container { background: var(--c-sky-soft) !important; }
/* a lone card in the last row of a 3-up grid sits centred instead of hugging the left edge */
@media (min-width: 1025px) {
  .cards.card-image > .card:nth-child(3n+1):last-child:not(:first-child) { grid-column: 2; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .ba-grid > .ba:nth-child(2n+1):last-child:not(:first-child), .cards.card-image > .card:nth-child(2n+1):last-child:not(:first-child) { grid-column: 1 / -1; width: calc(50% - 12px); justify-self: center; }
}
/* video gallery: 5 clips → the practice film leads at double width; a 4-up stories grid centres its last pair */
@media (min-width: 1025px) {
  .vg-grid > .el-container:first-child { grid-column: span 2; }
  .el-grid > .vcard:nth-child(4n+1):nth-last-child(2):not(:first-child) { grid-column: 2; }
  .el-grid > .vcard:nth-child(4n+1):last-child:not(:first-child) { grid-column: 2 / 4; width: calc(50% - 12px); justify-self: center; }
}

/* ---- 32. "How can we help" alignment pass: icon-above tiles with equal heights, clean arrow, uncropped urgent icon ---- */
.hp-help2 .el-grid { align-items: stretch; }
.hp-help2 .el-grid a.el-wrap-link { display: block; height: 100%; }
.hp-help2 .el-grid .hh-tile { height: 100%; flex-direction: column !important; align-items: flex-start !important; justify-content: flex-start !important; gap: 16px !important; padding: 22px 22px 20px !important; min-height: 190px; }
.hp-help2 .el-grid .hh-tile .el-icon .icon-shape { width: 46px !important; height: 46px !important; }
.hp-help2 .el-grid .hh-txt { gap: 6px !important; padding-right: 26px !important; }
.hp-help2 .el-grid .hh-txt .el-paragraph:first-child { font-size: 17px !important; line-height: 1.25 !important; padding-right: 0; }
.hp-help2 .el-grid .hh-txt .el-paragraph + .el-paragraph { font-size: 14px !important; line-height: 1.5 !important; }
.hp-help2 .el-grid .hh-tile::after { right: 20px; bottom: 18px; font-size: 20px; }
.hp-help2 .hh-urgent { padding: 30px 32px; gap: 22px !important; align-items: flex-start !important; }
.hp-help2 .hh-urgent > .el-icon { margin: 6px 0 0 4px; }
.hp-help2 .hh-urgent .icon-shape { width: 54px !important; height: 54px !important; box-shadow: 0 0 0 6px rgba(255,255,255,.1); }
.hp-help2 .hh-urgent-body { gap: 14px !important; min-width: 0; }
.hp-help2 .hh-urgent .el-heading { margin: 0; }
.hp-help2 .hh-urgent .el-heading h3 { font-size: clamp(22px, 2vw, 27px); }
.hp-help2 .hh-urgent .el-paragraph { max-width: 56ch; }
.hp-help2 .hh-talk { margin-top: 12px; }
.hp-help2 .hh-talk .hh-txt { gap: 6px !important; }
.hp-help2 .hh-talk .hh-txt .el-paragraph + .el-paragraph { line-height: 1.55; }
.hp-help2 .el-row { align-items: flex-start !important; }
@media (max-width: 1024px) {
  .hp-help2 .el-grid .hh-tile { min-height: 170px; }
}
@media (max-width: 767px) {
  .hp-help2 .el-grid .hh-tile { flex-direction: row !important; align-items: center !important; gap: 14px !important; min-height: 0; padding: 16px 18px !important; }
  .hp-help2 .el-grid .hh-tile .el-icon .icon-shape { width: 42px !important; height: 42px !important; }
  .hp-help2 .el-grid .hh-txt { padding-right: 22px !important; gap: 3px !important; }
  .hp-help2 .el-grid .hh-tile::after { right: 16px; bottom: auto; top: 50%; transform: translateY(-50%); }
  .hp-help2 .el-grid a:hover .hh-tile::after { transform: translateY(-50%) translateX(4px); }
  .hp-help2 .hh-urgent { padding: 24px 20px; }
  .hp-help2 .hh-urgent > .el-icon { margin: 0; }
}
/* help v2: phone card gets a real gap between icon and text; left column stretches so the card bottom-aligns with the tile grid */
.hp-help2 .hh-talk { display: flex !important; flex-direction: row !important; align-items: flex-start !important; gap: 16px !important; }
.hp-help2 .hh-talk > .el-icon { flex: none; margin: 2px 0 0; }
.hp-help2 .hh-talk > .hh-txt { flex: 1 1 auto; min-width: 0; padding: 0 !important; }
@media (min-width: 1025px) {
  .hp-help2 .el-row { align-items: stretch !important; }
  .hp-help2 .el-row > .el-column:first-child { display: flex; flex-direction: column; justify-content: flex-start; }
  .hp-help2 .hh-talk { margin-top: auto !important; }
}

/* ---- 33. Help v3 (full-width): header row → urgent band → 3-col tile menu. No empty left column. ---- */
.hp-help3 .el-row { align-items: flex-end !important; }
.hp-help3 .hh-talk { margin-top: 0 !important; max-width: none; }
.hp-help3 .hh-urgent { display: grid !important; grid-template-columns: auto 1fr auto; column-gap: 26px; align-items: center !important; padding: 28px 32px; }
.hp-help3 .hh-urgent > .el-icon { margin: 0 0 0 2px; }
.hp-help3 .hh-urgent-body { display: contents; }
.hp-help3 .hh-urgent .el-heading { grid-column: 2; grid-row: 1; margin: 0; }
.hp-help3 .hh-urgent .el-heading h3 { font-size: clamp(21px, 1.9vw, 26px); }
.hp-help3 .hh-urgent > .hh-urgent-body > .el-paragraph { grid-column: 2; grid-row: 2; margin: 0; max-width: 60ch; }
.hp-help3 .hh-urgent > .el-icon { grid-column: 1; grid-row: 1 / 3; }
.hp-help3 .hh-urgent-btns { grid-column: 3; grid-row: 1 / 3; flex-direction: column !important; align-items: stretch !important; gap: 10px !important; min-width: 250px; }
.hp-help3 .hh-urgent-btns .btn { justify-content: center; width: 100%; }
.hp-help3 .hh-urgent .btn-outline:hover, .hp-help2 .hh-urgent .btn-outline:hover { --btn-c: var(--c-dark); --btn-bg: #fff; --btn-b: #fff; color: var(--c-dark); }
.hp-help3 .hh-urgent .btn-primary:hover, .hp-help2 .hh-urgent .btn-primary:hover { --btn-c: var(--c-dark); color: var(--c-dark); }
.hp-help3 .el-grid .hh-tile { flex-direction: row !important; align-items: center !important; gap: 16px !important; min-height: 0; padding: 20px 22px !important; }
.hp-help3 .el-grid .hh-tile .el-icon .icon-shape { width: 50px !important; height: 50px !important; }
.hp-help3 .el-grid .hh-txt { padding-right: 26px !important; gap: 4px !important; }
.hp-help3 .el-grid .hh-txt .el-paragraph:first-child { font-size: 17.5px !important; }
.hp-help3 .el-grid .hh-tile::after { right: 20px; bottom: auto; top: 50%; transform: translateY(-50%); }
.hp-help3 .el-grid a:hover .hh-tile::after { transform: translateY(-50%) translateX(4px); }
@media (max-width: 1024px) {
  .hp-help3 .hh-urgent { grid-template-columns: auto 1fr; row-gap: 16px; }
  .hp-help3 .hh-urgent-btns { grid-column: 1 / 3; grid-row: 3; flex-direction: row !important; min-width: 0; }
  .hp-help3 .hh-urgent-btns .btn { width: auto; }
}
@media (max-width: 767px) {
  .hp-help3 .hh-urgent { display: flex !important; flex-direction: column !important; }
  .hp-help3 .hh-urgent-body { display: flex; }
  .hp-help3 .hh-urgent-btns { flex-direction: column !important; }
  .hp-help3 .hh-urgent-btns .btn { width: 100%; }
}

/* ---- 34. Services section v2: header aligned, cleaner image cards, every treatment reachable ---- */
.hp-services .el-row { align-items: center !important; }
.hp-services .svc-card .card-media { aspect-ratio: 4 / 3; border-radius: 24px; }
.hp-services .svc-card .card-media img { transition: transform .8s var(--ease); }
.hp-services .svc-card:hover .card-media img { transform: scale(1.04); }
.hp-services .svc-card .card-body { margin: -48px 18px 0; padding: 22px 22px 20px; border-radius: 20px; }
.hp-services .svc-card .card-title { font-size: 21px; }
.hp-services .svc-card .card-text { -webkit-line-clamp: 2; font-size: 15px; line-height: 1.55; color: var(--c-muted); }
.hp-services .svc-more { margin-top: 28px; padding: 18px 22px; border-radius: 18px; background: #fff; border: 1px solid var(--c-border); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.hp-services .svc-more > .el-paragraph { margin: 0 6px 0 0; font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--c-secondary); }
.hp-services .svc-more .btn { --btn-bg: var(--c-bg-alt); --btn-b: var(--c-bg-alt); --btn-c: var(--c-text); border-radius: 999px; }
.hp-services .svc-more .btn:hover { --btn-bg: var(--c-primary); --btn-b: var(--c-primary); --btn-c: #fff; }
@media (max-width: 767px) {
  .hp-services .svc-more { padding: 14px 16px; gap: 8px 10px; }
  .hp-services .svc-more > .el-paragraph { width: 100%; margin: 0; }
}

/* ============================================================ 35. Audit pass 2 — type rhythm, services v3, why v2
   Type scale: eyebrow 12 / H1 clamp(30-52) / H2 clamp(28-42) / H3 18-22 / lead 18 / body 17-16 / small 14-15 */
.el-heading .eyebrow, .sec-head .eyebrow, .eyebrow { font-size: 12px !important; letter-spacing: .2em; margin-bottom: 12px; }
.el-heading .eyebrow + h2, .el-heading .eyebrow + h1 { margin-top: 0; }

/* ---- services v3: featured card + 4 supporting image cards + compact row of the remaining treatments */
.hp-services3 .svc-main { margin-top: 36px; }
.hp-services3 .el-row.svc-main > .el-column { min-width: 0; }
.hp-services3 .svc-featured { position: relative; height: 100%; min-height: 560px; border-radius: 24px; overflow: hidden; background: var(--c-dark); box-shadow: 0 24px 50px -28px rgba(15,42,64,.55); color: #fff; }
.hp-services3 .svc-featured .sf-img, .hp-services3 .svc-featured .sf-img picture, .hp-services3 .svc-featured .sf-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; margin: 0; transition: transform .9s var(--ease); }
.hp-services3 a:hover .svc-featured .sf-img img { transform: scale(1.04); }
.hp-services3 .svc-featured::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,42,64,0) 30%, rgba(15,42,64,.55) 62%, rgba(15,42,64,.94) 100%); }
.hp-services3 .svc-featured .sf-body { position: relative; z-index: 1; margin-top: auto; padding: 30px 30px 32px; max-width: 520px; }
.hp-services3 .svc-featured .sf-eyebrow { font-size: 12px !important; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--c-peach); margin: 0 0 4px; }
.hp-services3 .svc-featured .sf-title h3 { font-size: clamp(26px, 2.6vw, 34px); color: #fff; margin: 0; }
.hp-services3 .svc-featured .sf-text { font-size: 15.5px; line-height: 1.6; color: rgba(255,255,255,.86); margin: 0 0 8px; }
.hp-services3 .svc-featured .el-button { margin-top: 6px; }
.hp-services3 .svc-sup-grid { height: 100%; }
.hp-services3 .svc-sup { position: relative; height: 100%; min-height: 268px; border-radius: 20px; overflow: hidden; background: var(--c-dark); box-shadow: 0 18px 40px -26px rgba(15,42,64,.5); }
.hp-services3 .svc-sup .sc-img, .hp-services3 .svc-sup .sc-img picture, .hp-services3 .svc-sup .sc-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; margin: 0; transition: transform .9s var(--ease); }
.hp-services3 a:hover .svc-sup .sc-img img { transform: scale(1.05); }
.hp-services3 .svc-sup::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,42,64,0) 42%, rgba(15,42,64,.9) 100%); }
.hp-services3 .svc-sup .sc-body { position: relative; z-index: 1; margin-top: auto; padding: 18px 20px 20px; }
.hp-services3 .svc-sup .sc-title h3 { font-size: 19px; color: #fff; margin: 0; letter-spacing: .02em; }
.hp-services3 .svc-sup .sc-text { font-size: 13.5px; color: rgba(255,255,255,.8); margin: 0; }
.hp-services3 .svc-sup .sc-title h3::after { content: "\2192"; margin-left: 8px; opacity: 0; display: inline-block; transition: opacity .3s, transform .3s var(--ease); transform: translateX(-4px); }
.hp-services3 a:hover .svc-sup .sc-title h3::after { opacity: 1; transform: none; }
.hp-services3 .svc-tiles .svc-tile { background: #fff; border: 1px solid var(--c-border); border-radius: 16px; padding: 14px 16px !important; min-width: 0; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.hp-services3 .svc-tiles a:hover .svc-tile { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: color-mix(in srgb, var(--c-primary) 30%, transparent); }
.hp-services3 .svc-tiles .icon-shape { width: 44px !important; height: 44px !important; background: linear-gradient(135deg, var(--c-sky), var(--c-peach)) !important; color: var(--c-dark) !important; }
.hp-services3 .svc-tiles .st-body { padding: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; min-width: 0; }
.hp-services3 .svc-tiles .st-title h3 { font-size: 15.5px; margin: 0; letter-spacing: .02em; }
.hp-services3 .svc-tiles .st-text { font-size: 13px; color: var(--c-muted); margin: 0; }
.hp-services3 .el-grid a.el-wrap-link, .hp-services3 .el-column > a.el-wrap-link { display: block; height: 100%; color: inherit; text-decoration: none; }
@media (max-width: 1024px) {
  .hp-services3 .svc-main { flex-direction: column !important; }
  .hp-services3 .svc-main > .el-column { width: 100% !important; flex: 1 1 100% !important; max-width: 100% !important; }
  .hp-services3 .svc-featured { min-height: 420px; }
  .hp-services3 .svc-sup { min-height: 220px; }
  .hp-services3 .svc-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 767px) {
  .hp-services3 .svc-main { margin-top: 24px; }
  .hp-services3 .svc-featured { min-height: 360px; }
  .hp-services3 .svc-featured .sf-body { padding: 22px 20px 24px; }
  .hp-services3 .svc-featured .sf-title h3 { font-size: 24px; }
  .hp-services3 .svc-sup-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
  .hp-services3 .svc-sup { min-height: 190px; border-radius: 16px; }
  .hp-services3 .svc-sup .sc-body { padding: 12px 14px 14px; }
  .hp-services3 .svc-sup .sc-title h3 { font-size: 15.5px; }
  .hp-services3 .svc-sup .sc-text { font-size: 12px; }
  .hp-services3 .svc-tiles { grid-template-columns: 1fr !important; gap: 8px !important; }
  .hp-services3 .svc-tiles .svc-tile { padding: 12px 14px !important; }
  .hp-services3 .el-grid { display: grid !important; overflow: visible !important; }
  .hp-services3 .el-grid > * { width: auto !important; min-width: 0 !important; }
}

/* ---- why v2: photo-led storytelling on the navy band */
.hp-why2 .why-row { align-items: center !important; }
.hp-why2 .why-media { position: relative; padding: 0 0 26px 0; }
.hp-why2 .why-img, .hp-why2 .why-img picture, .hp-why2 .why-img img { display: block; width: 100%; aspect-ratio: 4 / 4.3; object-fit: cover; object-position: 50% 30%; border-radius: 26px; margin: 0; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.hp-why2 .why-chip { position: absolute; z-index: 2; padding: 14px 18px; border-radius: 16px; background: #fff; color: var(--c-dark); box-shadow: 0 18px 40px -18px rgba(0,0,0,.5); min-width: 150px; }
.hp-why2 .why-chip .wc-num { font-family: var(--f-heading); font-size: 28px !important; line-height: 1 !important; color: var(--c-primary) !important; margin: 0 0 2px; font-weight: 700; }
.hp-why2 .why-chip .wc-label { font-size: 12px !important; color: var(--c-muted) !important; letter-spacing: .04em; margin: 0; line-height: 1.3 !important; }
.hp-why2 .why-chip-a { right: -14px; top: 28px; }
.hp-why2 .why-chip-b { left: -14px; bottom: 0; }
.hp-why2 .el-heading h2 { font-size: clamp(26px, 2.8vw, 38px) !important; }
.hp-why2 .el-column > .el-paragraph { font-size: 16.5px !important; max-width: 56ch; }
.hp-why2 .el-grid > .el-container { padding: 20px 20px 18px !important; border-radius: 18px; grid-template-columns: 46px 1fr; column-gap: 14px; row-gap: 6px; }
.hp-why2 .el-grid > .el-container > .el-icon .icon-shape { width: 46px !important; height: 46px !important; }
.hp-why2 .el-grid > .el-container > .el-heading h3 { font-size: 16.5px !important; }
.hp-why2 .el-grid > .el-container > .el-paragraph { font-size: 12.5px !important; }
.hp-why2 .el-grid > .el-container .el-list { grid-column: 1 / -1; margin-top: 6px; }
.hp-why2 .el-grid > .el-container .el-list li { font-size: 13px; }
@media (max-width: 1024px) {
  .hp-why2 .why-row { flex-direction: column !important; }
  .hp-why2 .why-row > .el-column { width: 100% !important; flex: 1 1 100% !important; max-width: 100% !important; }
  .hp-why2 .why-media { max-width: 560px; margin: 0 auto; padding: 0 14px 26px; }
  .hp-why2 .why-img img { aspect-ratio: 4 / 3; }
  .hp-why2 .why-chip-a { right: 0; }
  .hp-why2 .why-chip-b { left: 0; }
}
@media (max-width: 767px) {
  .hp-why2 .why-media { padding: 0 8px 22px; }
  .hp-why2 .why-chip { padding: 10px 14px; min-width: 120px; border-radius: 12px; }
  .hp-why2 .why-chip .wc-num { font-size: 22px !important; }
  .hp-why2 .why-chip .wc-label { font-size: 11px !important; }
  .hp-why2 .el-grid { grid-template-columns: 1fr !important; }
}
/* footer: same lockup as the header, white wordmark on navy */
.site-footer .el-logo { --lockup-h: 72px; }
.site-footer .logo-lockup { gap: 16px; }
.site-footer .logo-lockup .logo-mark { height: var(--lockup-h); max-height: none; filter: none; }
.site-footer .logo-lockup-name { color: #fff; font-size: calc(var(--lockup-h) * .34); }
.site-footer .logo-lockup-tag { color: var(--c-peach); font-size: calc(var(--lockup-h) * .14); }
.site-footer .logo-lockup:hover .logo-lockup-name { color: var(--c-sky); }
.ft-brand .el-logo img { filter: none; }
@media (max-width: 767px) { .site-footer .el-logo { --lockup-h: 56px; } .site-footer .logo-lockup { flex-direction: column; gap: 10px; text-align: center; } .site-footer .logo-lockup-text { align-items: center; } .site-footer .logo-lockup-name { white-space: normal; max-width: none; font-size: 18px; } .site-footer .logo-lockup-tag { display: block; font-size: 9px; } }

/* ============================================================ 36. Stacked section headers + help board v4 */
.sec-stack { max-width: 760px; }
.sec-stack .el-heading { margin: 0; }
.sec-stack > .el-paragraph { margin: 0; font-size: 17px; line-height: 1.6; color: var(--c-muted); }
.sec-stack > .el-button { margin-top: 6px; }
.sec-stack > .el-container { flex-direction: row !important; flex-wrap: wrap; gap: 12px !important; margin-top: 6px; }
.sec-stack-row { margin-bottom: 36px; }
.hp-gallery .sec-stack, .hp-tech .sec-stack, .hp-ba .sec-stack, .hp-services3 .sec-stack { margin-bottom: 0; }
.hp-services3 .svc-main { margin-top: 0; }
.hp-services3 .sec-stack-row { margin-bottom: 32px; }

/* help v4: header → board (emergency card | 3×2 tiles) → slim phone line */
.hp-help4 .sec-stack { margin-bottom: 32px; }
.hp-help4 .hh-board { display: grid !important; grid-template-columns: 1.25fr 1fr 1fr 1fr; grid-auto-rows: minmax(104px, auto); gap: 14px !important; align-items: stretch; }
.hp-help4 .hh-board > a.el-wrap-link { display: block; height: 100%; }
.hp-help4 .hh-board .hh-urgent { grid-row: span 2; display: flex !important; flex-direction: column !important; justify-content: center; gap: 14px !important; padding: 28px; border-radius: 22px; min-height: 0; }
.hp-help4 .hh-urgent > .el-icon { margin: 0 0 2px; }
.hp-help4 .hh-urgent .icon-shape { width: 50px !important; height: 50px !important; }
.hp-help4 .hh-urgent-body { display: flex; flex-direction: column; gap: 10px !important; min-width: 0; }
.hp-help4 .hh-urgent .el-heading h3 { font-size: 23px; }
.hp-help4 .hh-urgent > .hh-urgent-body > .el-paragraph { font-size: 15px; max-width: none; }
.hp-help4 .hh-urgent-btns { flex-direction: column !important; align-items: stretch !important; gap: 10px !important; margin-top: 6px; min-width: 0; }
.hp-help4 .hh-urgent-btns .btn { width: 100%; justify-content: center; }
.hp-help4 .hh-board .hh-tile { height: 100%; flex-direction: row !important; align-items: center !important; gap: 14px !important; padding: 18px 18px !important; min-height: 0; border-radius: 18px; }
.hp-help4 .hh-board .hh-tile .el-icon .icon-shape { width: 46px !important; height: 46px !important; }
.hp-help4 .hh-board .hh-txt { padding-right: 22px !important; gap: 3px !important; }
.hp-help4 .hh-board .hh-txt .el-paragraph:first-child { font-size: 16px !important; }
.hp-help4 .hh-board .hh-txt .el-paragraph + .el-paragraph { font-size: 13px !important; }
.hp-help4 .hh-board .hh-tile::after { right: 16px; bottom: auto; top: 50%; transform: translateY(-50%); font-size: 18px; }
.hp-help4 .hh-board a:hover .hh-tile::after { transform: translateY(-50%) translateX(4px); }
.hp-help4 .hh-talk-bar { margin-top: 16px !important; max-width: none; display: flex !important; flex-direction: row !important; align-items: center !important; gap: 14px !important; padding: 14px 18px !important; border-radius: 16px; box-shadow: none; background: var(--c-sky-soft); border: 0; }
.hp-help4 .hh-talk-bar .icon-shape { width: 40px !important; height: 40px !important; background: #fff !important; }
.hp-help4 .hh-talk-bar .hh-txt { flex-direction: row !important; flex-wrap: wrap; align-items: baseline !important; gap: 4px 10px !important; padding: 0 !important; }
.hp-help4 .hh-talk-bar .hh-txt .el-paragraph { margin: 0; }
.hp-help4 .hh-talk-bar .hh-txt .el-paragraph:first-child { font-size: 15px !important; }
.hp-help4 .hh-talk-bar .hh-txt .el-paragraph + .el-paragraph { font-size: 14px !important; line-height: 1.5; }
@media (max-width: 1024px) {
  .hp-help4 .hh-board { grid-template-columns: 1fr 1fr; }
  .hp-help4 .hh-board .hh-urgent { grid-column: 1 / -1; grid-row: auto; flex-direction: row !important; align-items: center !important; flex-wrap: wrap; padding: 24px; }
  .hp-help4 .hh-urgent-body { flex: 1 1 320px; }
  .hp-help4 .hh-urgent-btns { flex-direction: row !important; flex: 1 1 100%; margin-top: 4px; }
  .hp-help4 .hh-urgent-btns .btn { width: auto; }
}
@media (max-width: 767px) {
  .hp-help4 .hh-board { grid-template-columns: 1fr; gap: 10px !important; }
  .hp-help4 .hh-board .hh-urgent { flex-direction: column !important; align-items: stretch !important; padding: 22px 20px; }
  .hp-help4 .hh-urgent-btns { flex-direction: column !important; }
  .hp-help4 .hh-urgent-btns .btn { width: 100%; }
  .hp-help4 .hh-board .hh-tile { padding: 14px 16px !important; }
  .hp-help4 .hh-talk-bar { align-items: flex-start !important; }
  .hp-help4 .hh-talk-bar .hh-txt { flex-direction: column !important; gap: 2px !important; }
}
/* help v4 — self-contained card styling (the v2 rules were scoped to .el-grid) */
.hp-help4 .hh-board .hh-tile { position: relative; background: #fff; border: 1px solid var(--c-border); box-shadow: var(--shadow-card); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.hp-help4 .hh-board a:hover .hh-tile { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); border-color: color-mix(in srgb, var(--c-primary) 28%, transparent); }
.hp-help4 .hh-board .hh-tile::after { content: "\2192"; position: absolute; color: var(--c-primary); opacity: .35; transition: transform .3s var(--ease), opacity .3s; }
.hp-help4 .hh-board a:hover .hh-tile::after { opacity: 1; }
.hp-help4 .hh-board .hh-tile .icon-shape { background: linear-gradient(135deg, var(--c-sky), var(--c-peach)) !important; color: var(--c-dark) !important; }
.hp-help4 .hh-board .hh-txt { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 22px 0 0 !important; min-width: 0; }
.hp-help4 .hh-board .hh-txt .el-paragraph { margin: 0; }
.hp-help4 .hh-board .hh-txt .el-paragraph:first-child { font-weight: 700 !important; color: var(--c-text); line-height: 1.25; }
.hp-help4 .hh-board .hh-txt .el-paragraph + .el-paragraph { color: var(--c-muted); line-height: 1.45; }
.hp-help4 .hh-urgent { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--c-dark) 0%, var(--c-secondary) 70%, var(--c-primary) 100%); color: #fff; box-shadow: var(--shadow-card); }
.hp-help4 .hh-urgent::before { content: ""; position: absolute; right: -70px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c-accent) 55%, transparent) 0%, transparent 70%); pointer-events: none; }
.hp-help4 .hh-urgent > * { position: relative; z-index: 1; }
.hp-help4 .hh-urgent .icon-shape { background: var(--c-accent) !important; color: #fff !important; box-shadow: 0 0 0 6px rgba(255,255,255,.1); }
.hp-help4 .hh-urgent .eyebrow { color: var(--c-peach); margin-bottom: 8px; }
.hp-help4 .hh-urgent .eyebrow::before { background: var(--c-peach); }
.hp-help4 .hh-urgent .el-heading h3 { color: #fff; margin: 0; }
.hp-help4 .hh-urgent .el-paragraph { color: rgba(255,255,255,.84); margin: 0; }
.hp-help4 .hh-urgent .btn-primary { --btn-bg: var(--c-accent); --btn-b: var(--c-accent); --btn-c: #fff; }
.hp-help4 .hh-urgent .btn-primary:hover { --btn-bg: var(--c-peach); --btn-b: var(--c-peach); --btn-c: var(--c-dark); color: var(--c-dark); }
.hp-help4 .hh-urgent .btn-outline { --btn-c: #fff; --btn-b: rgba(255,255,255,.55); color: #fff; }
.hp-help4 .hh-urgent .btn-outline:hover { --btn-bg: #fff; --btn-b: #fff; --btn-c: var(--c-dark); color: var(--c-dark); }
.hp-help4 .hh-urgent .hh-urgent-body { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; }
.hp-help4 .hh-urgent .hh-urgent-btns { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; }
/* help v4 tiles: icon-above layout that fills the row height; arrow pinned bottom-right */
.hp-help4 .hh-board { grid-auto-rows: 1fr; gap: 16px !important; }
.hp-help4 .hh-board .hh-tile { flex-direction: column !important; align-items: flex-start !important; justify-content: flex-start !important; gap: 14px !important; padding: 22px 22px 20px !important; }
.hp-help4 .hh-board .hh-txt { padding: 0 24px 0 0 !important; gap: 5px !important; }
.hp-help4 .hh-board .hh-txt .el-paragraph:first-child { font-size: 17px !important; white-space: nowrap; }
.hp-help4 .hh-board .hh-txt .el-paragraph + .el-paragraph { font-size: 13.5px !important; }
.hp-help4 .hh-board .hh-tile::after { top: auto; bottom: 18px; right: 20px; transform: none; font-size: 20px; }
.hp-help4 .hh-board a:hover .hh-tile::after { transform: translateX(4px); }
.hp-help4 .hh-board .hh-urgent { padding: 30px 28px; gap: 16px !important; }
.hp-help4 .hh-urgent .hh-urgent-body { gap: 12px !important; }
.hp-help4 .hh-urgent .el-heading h3 { font-size: 24px; }
@media (max-width: 1024px) {
  .hp-help4 .hh-board { grid-auto-rows: auto; }
  .hp-help4 .hh-board .hh-tile { flex-direction: row !important; align-items: center !important; padding: 18px !important; }
  .hp-help4 .hh-board .hh-tile::after { top: 50%; bottom: auto; transform: translateY(-50%); }
  .hp-help4 .hh-board a:hover .hh-tile::after { transform: translateY(-50%) translateX(4px); }
  .hp-help4 .hh-board .hh-txt .el-paragraph:first-child { white-space: normal; }
}
@media (max-width: 767px) { .hp-help4 .hh-board .hh-tile { padding: 14px 16px !important; } }
/* video gallery: 4 clips → even 2×2 grid (the 2-col featured span left a hole) */
@media (min-width: 1025px) { .vg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } .vg-grid > .el-container:first-child { grid-column: auto; } }

/* service hero: muted patient b-roll loops over the still (still stays as the poster/fallback) */
.svc-hero-media.has-video { position: relative; }
.svc-hero-media .svc-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50vw 50vw var(--radius) var(--radius); z-index: 1; pointer-events: none; }
.svc-hero-media.has-video .svc-hero-img, .svc-hero-media.has-video picture { position: relative; z-index: 0; }
.svc-hero-media.has-video .svc-float { z-index: 2; }
@media (prefers-reduced-motion: reduce) { .svc-hero-media .svc-hero-video { display: none; } }

/* ============================================================ 37. Responsive media system (one set of rules for every video, story card, before/after and photo)
   Count-aware groups: 1 item → centred at a controlled width · 2 → two balanced columns · 3+ → 3–4 across (desktop) / 2 (tablet) / phone rail.
   Frames keep their aspect ratio and nothing is stretched; a picture that would lose its subject to a cover-crop is letterboxed
   over a blurred copy of itself (renderer adds .vid-fit / .ba-contain from the real image dimensions). */

/* ---- playing video: never crop the speaker (cover stays only on decorative background loops) */
.vid-box > video, .vid-box iframe, .vid-box .vid-file { object-fit: contain; }
.vid-bd-wrap, .ba-bd-wrap { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; border-radius: inherit; }
.vid-bd-wrap picture, .ba-bd-wrap picture { display: block; width: 100%; height: 100%; }
.vid-bd-wrap img, .ba-bd-wrap img { display: block; width: 100%; height: 100%; object-fit: cover; filter: blur(24px) saturate(1.15) brightness(.82); transform: scale(1.18); }
.vid-fit .vid-facade { z-index: 1; }
.vid-fit .vid-facade img, .vid-fit .vid-thumb { object-fit: contain; }
.vid-fit .vid-facade:hover img { transform: none; }

/* ---- a standalone film (practice video beside text) never outgrows a comfortable width once its row stacks */
@media (max-width: 1024px) {
  :is(.el-column, .el-container):has(> .el-video):not(.vcard):not(:has(.vcard)) { width: 100%; max-width: 820px; margin-inline: auto; }
  .tp-video-frame { max-width: 820px; margin-inline: auto; }
}

/* ---- story video cards (portrait 9:16): a fixed card width, centred, so 1–2 clips never balloon to the full row */
/* a centred wrapping row: any leftover cards in the last row stay centred at every width */
.el-grid:has(> .vcard) { --vc-w: 264px; display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; }
.el-grid:has(> .vcard:nth-child(2):last-child) { --vc-w: 300px; }
.el-grid:has(> .vcard:only-child) { --vc-w: 320px; }
.el-grid > .vcard { flex: 0 1 var(--vc-w); max-width: var(--vc-w); width: auto !important; grid-column: auto !important; }
/* story cards: the play button sits in the lower corner, off the speaker's face */
.vcard .vid-box .vid-play, .hp-stories .vid-box .vid-play { left: 16px; top: auto; bottom: 16px; margin: 0; }
@media (max-width: 767px) {
  .el-grid:has(> .vcard) { --vc-w: 300px; row-gap: 26px; }
  .el-grid > .vcard { flex-basis: 100%; }
  /* three or more clips: a swipe rail with one card in focus and the next one peeking (no page-level horizontal scroll) */
  .el-grid:has(> .vcard:nth-child(3)) { display: flex; flex-wrap: nowrap; justify-content: flex-start; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter); padding: 4px var(--gutter) 14px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; }
  .el-grid:has(> .vcard:nth-child(3))::-webkit-scrollbar { display: none; }
  .el-grid:has(> .vcard:nth-child(3)) > .vcard { flex: 0 0 min(66%, 260px); max-width: none; scroll-snap-align: start; }
}
/* homepage stories carousel: a bigger card on phones (was two 160px-wide clips) */
@media (max-width: 767px) { .hp-stories .el-carousel .car { --per-view: 1.45; } .vcard .vid-box .vid-play, .hp-stories .vid-box .vid-play { left: 12px; bottom: 12px; } }

/* ---- before / after groups: frame shape follows the grid's typical photo; 1–2 cases stay centred and balanced */
.ba-frame-p { --ba-ar: 4 / 5; } .ba-frame-s { --ba-ar: 1 / 1; } .ba-frame-l { --ba-ar: 4 / 3; }
.ba-grid.ba-n1 { grid-template-columns: min(520px, 100%); justify-content: center; }
@media (min-width: 768px) { .ba-grid.ba-n2 { grid-template-columns: repeat(2, min(520px, calc(50% - 12px))); justify-content: center; } }
@media (min-width: 1025px) { .svc-results .ba-grid > .ba:nth-child(2n+1):last-child:not(:first-child) { grid-column: 1 / -1; width: calc(50% - 12px); justify-self: center; } }
/* 3-across grids: a leftover row of one or two cases sits centred (6-track grid, each case spans 2) */
@media (min-width: 1025px) {
  .ba-grid.ba-c3:not(.ba-n1):not(.ba-n2) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .ba-grid.ba-c3:not(.ba-n1):not(.ba-n2) > .ba { grid-column: span 2; }
  .ba-grid.ba-c3:not(.ba-n1):not(.ba-n2) > .ba:nth-child(3n+1):last-child { grid-column: 3 / span 2; }
  .ba-grid.ba-c3:not(.ba-n1):not(.ba-n2) > .ba:nth-child(3n+1):nth-last-child(2) { grid-column: 2 / span 2; }
}
.ba.ba-slider.ba-contain .ba-after img, .ba.ba-slider.ba-contain .ba-before img { object-fit: contain; object-position: center; }
.ba.ba-slider.ba-contain .ba-after, .ba.ba-slider.ba-contain .ba-before { z-index: 1; }
.ba.ba-slider.ba-contain .ba-handle, .ba.ba-slider.ba-contain .ba-label, .ba.ba-slider.ba-contain .ba-range { z-index: 2; }

/* ---- photos: very wide sources (panoramas, room shots) never sit in a tall frame that crops their signage/text */
.el-image.img-ar-xwide picture, .el-image.img-ar-xwide img { aspect-ratio: 16 / 9 !important; height: auto; }
.ip-hero-media .el-image.img-ar-xwide picture, .ip-hero-media .el-image.img-ar-xwide img,
.ip-hero-media .el-image.img-ar-wide picture, .ip-hero-media .el-image.img-ar-wide img { aspect-ratio: 4 / 3 !important; }

/* ---- two stacked photos beside text become a balanced pair once the row stacks (tablet), single column again on phones */
@media (min-width: 600px) and (max-width: 1024px) {
  :is(.el-container, .el-column):has(> .el-image:nth-child(2):last-child):not(:has(> :not(.el-image))) { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px !important; align-items: stretch; }
  :is(.el-container, .el-column):has(> .el-image:nth-child(2):last-child):not(:has(> :not(.el-image))) > .el-image img,
  :is(.el-container, .el-column):has(> .el-image:nth-child(2):last-child):not(:has(> :not(.el-image))) > .el-image picture { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
}

/* ---- every image stays inside its box */
img, video, iframe { max-width: 100%; }

/* ---- homepage services on tablets + phones: the caption moves into a panel under the photo (it was landing on faces once the cards shrank) */
@media (max-width: 1024px) {
  .hp-services3 .svc-featured, .hp-services3 .svc-sup { display: flex; flex-direction: column; min-height: 0; height: 100%; }
  .hp-services3 .svc-featured .sf-img, .hp-services3 .svc-sup .sc-img { position: relative; inset: auto; height: auto; aspect-ratio: 16 / 9; flex: none; }
  .hp-services3 .svc-sup .sc-img { aspect-ratio: 16 / 10; }
  .hp-services3 .svc-sup .sc-img img { object-position: 50% 18%; }
  .hp-services3 .svc-featured::after, .hp-services3 .svc-sup::after { display: none; }
  .hp-services3 .svc-featured .sf-body, .hp-services3 .svc-sup .sc-body { margin-top: 0; flex: 1 1 auto; max-width: none; background: var(--c-dark); }
}
@media (max-width: 767px) {
  .hp-services3 .svc-featured .sf-img { aspect-ratio: 4 / 3; }
  .hp-services3 .svc-sup .sc-img { aspect-ratio: 1 / 1; }
}

/* ---- official logo artwork (figures + "Westside Dental Center" script) in the header: sized so the wordmark stays legible */
.site-header .el-logo img, .site-header .el-logo .logo-img { height: 96px !important; max-height: none; width: auto; }
.site-header .el-section { padding-top: 6px !important; padding-bottom: 6px !important; }
@media (max-width: 1024px) { .site-header .el-logo img, .site-header .el-logo .logo-img { height: 80px !important; } }
@media (max-width: 767px) { .site-header .el-logo img, .site-header .el-logo .logo-img { height: 62px !important; } .site-header .el-section { padding-top: 4px !important; padding-bottom: 4px !important; } }
.site-footer .el-logo img { height: 128px; width: auto; max-height: none; }
@media (max-width: 767px) { .site-footer .el-logo img { height: 104px; } }

/* doctor profile — phones: smaller portrait, full-width actions */
@media (max-width: 600px) {
  .dp-split .dp-photo { max-width: 300px; }
  .dp-actions .btn { width: 100%; justify-content: center; }
}
@media (min-width: 1025px) and (max-width: 1200px) {
  .dp-actions .btn { flex: 1 1 auto; justify-content: center; }
}
/* 2-up video card grids (tablet): centre an odd last card instead of leaving a hole */
@media (min-width: 768px) and (max-width: 1024px) {
  .ip-dark .el-grid > .el-container:has(> .el-video):last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 12px); }
}

/* ---- homepage hero: the doctor / "Watch our story" / 3D-lab cards sit in a row UNDER the arch film (they were covering the video) */
.hp-hero2 .hero-media { display: flex; flex-direction: row !important; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 14px; padding: 0 26px 0 0; }
.hp-hero2 .hero-media::before { display: none; }
.hp-hero2 .hero-frame { flex: 0 0 100%; margin-bottom: 44px;
  box-shadow: 26px 26px 0 0 color-mix(in srgb, var(--c-peach) 75%, var(--c-sky)), 0 40px 80px -40px rgba(15,42,64,.55); }
.hp-hero2 .hero-media > .hero-card { position: static; inset: auto; transform: none; animation: none; box-shadow: var(--shadow-card); }
.hp-hero2 .hc-tech { order: 3; }
@media (max-width: 767px) {
  .hp-hero2 .hero-media { padding: 0 14px 0 0; gap: 10px; }
  .hp-hero2 .hero-frame { margin-bottom: 26px; box-shadow: 14px 14px 0 0 color-mix(in srgb, var(--c-peach) 75%, var(--c-sky)), 0 30px 60px -36px rgba(15,42,64,.5); }
}

/* ---- service heroes with a b-roll film: rating chip + doctor card sit in a row under the film (not on it) */
.svc-hero-media.has-video { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 12px; }
.svc-hero-media.has-video > picture { flex: 0 0 100%; margin-bottom: 8px; }
.svc-hero-media.has-video .svc-hero-video { bottom: auto; height: auto; aspect-ratio: 4 / 5; }
.svc-hero-media.has-video::before { bottom: auto; height: calc(100% - 60px); }
.svc-hero-media.has-video .svc-float { position: static; animation: none; transform: none; }

/* ---- mobile header v2: official logo larger on the left, Book + menu grouped right; announcement = one flowing line */
@media (max-width: 767px) {
  .site-announce .sec-inner { padding-top: 7px !important; padding-bottom: 7px !important; }
  .site-announce .el-section { padding-top: 0 !important; padding-bottom: 0 !important; }
  .site-announce .el-container { display: block !important; text-align: center; font-size: 12.5px; line-height: 1.45; }
  .site-announce .el-paragraph { display: inline; font-size: 12.5px !important; line-height: 1.45 !important; margin: 0 !important; }
  .site-announce .el-button { display: inline-block; margin-left: 6px; }
  .site-announce .btn { font-size: 12.5px !important; padding: 0 !important; min-height: 0 !important; vertical-align: baseline; }
  .site-header .el-row.row-m-keep { flex-wrap: nowrap !important; align-items: center !important; gap: 10px !important; }
  .site-header .el-row.row-m-keep > .el-column:first-child { margin-right: auto !important; }
  .site-header .el-logo img, .site-header .el-logo .logo-img { height: 74px !important; }
  .site-header .el-section { padding-top: 3px !important; padding-bottom: 3px !important; }
}
@media (max-width: 374px) { .site-header .el-logo img, .site-header .el-logo .logo-img { height: 68px !important; } }
/* smallest phones: Book Online stays as a round calendar button instead of disappearing */
@media (max-width: 359px) {
  .site-header .el-button:has(.btn:not(.btn-text)) { display: block !important; }
  .site-header .el-button .btn:not(.btn-text) { width: 44px; height: 44px; padding: 0 !important; border-radius: 50%; justify-content: center; }
  .site-header .el-button .btn:not(.btn-text) .btn-ico { display: inline-block !important; width: 20px; height: 20px; margin: 0; }
  .site-header .el-button .btn:not(.btn-text) .btn-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---- implants page: treatment-type photo cards + bone-loss illustration inside the overview text */
.prose .implant-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 18px 0 22px; }
.prose .implant-types figure { margin: 0; background: #fff; border: 1px solid var(--c-border); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-card); }
.prose .implant-types img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; margin: 0; border-radius: 0; }
.prose .implant-types figcaption { padding: 12px 14px 14px; font-size: 14px; line-height: 1.45; color: var(--c-muted); margin: 0; }
.prose .implant-types figcaption strong { display: block; color: var(--c-dark); font-size: 15px; margin-bottom: 2px; }
.prose .svc-fig { margin: 20px 0 24px; }
.prose .svc-fig img { display: block; width: 100%; height: auto; border-radius: 18px; box-shadow: var(--shadow-card); margin: 0; }
.prose .svc-fig figcaption { margin-top: 10px; font-size: 14px; color: var(--c-muted); text-align: center; }
@media (max-width: 600px) {
  .prose .implant-types { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .prose .implant-types figure { display: grid; grid-template-columns: 110px minmax(0, 1fr); align-items: center; }
  .prose .implant-types img { height: 100%; aspect-ratio: auto; min-height: 110px; }
}

/* §38 Hours: free-text days ("Reserved for surgeries & emergencies", "One Saturday a month …") wrap instead of clipping; time ranges stay on one line */
.hours-table .is-note td, .hours-compact .is-note .ht { white-space: normal; min-width: 0; overflow-wrap: anywhere; }
.hours-compact .is-note { align-items: flex-start; }

/* §39 Homepage service tiles: every tile fills its grid cell, so a one-line blurb (Root Canal) is the same height as the two-line ones */
.hp-services3 .svc-tiles a.el-wrap-link > .svc-tile { height: 100%; box-sizing: border-box; }

/* §40 Website assistant (chat widget) ---------------------------------------------------------------- */
.chat-launch { position: fixed; right: 22px; bottom: 22px; z-index: 75; display: flex; align-items: center; gap: 10px; padding: 7px 18px 7px 7px; border: 0; border-radius: 999px; background: var(--c-dark); color: #fff; font: 600 15px/1 var(--f-body); box-shadow: 0 18px 40px -16px rgba(15,42,64,.65); transition: transform .3s var(--ease), box-shadow .3s, opacity .3s; cursor: pointer; }
.chat-launch:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -16px rgba(15,42,64,.75); }
.chat-launch-ic { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-primary); color: #fff; }
.chat-launch-ic .ico { width: 22px; height: 22px; }
.chat-launch-ic::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--c-sky) 80%, transparent); animation: chat-ping 2.6s var(--ease) 3; }
@keyframes chat-ping { 0% { transform: scale(.9); opacity: .9; } 80%, 100% { transform: scale(1.35); opacity: 0; } }
body.chat-open .chat-launch { opacity: 0; pointer-events: none; transform: scale(.9); }
body.chat-lock { overflow: hidden; }
@media (max-width: 767px) {
  .chat-launch { right: 12px; bottom: calc(72px + env(safe-area-inset-bottom)); padding: 5px; }
  .chat-launch-t { display: none; }
}
.chat-panel { position: fixed; right: 22px; bottom: 22px; z-index: 95; width: min(410px, calc(100vw - 2rem)); height: min(680px, calc(100vh - 2rem)); height: min(680px, calc(100dvh - 2rem)); display: flex; flex-direction: column; background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(15,42,64,.06); overflow: hidden; transform-origin: bottom right; animation: chat-in .32s var(--ease); font-family: var(--f-body); }
@keyframes chat-in { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) { .chat-panel { inset: 0; width: 100%; height: 100%; max-height: none; border-radius: 0; } }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 18px; background: var(--c-dark); color: #fff; }
.chat-avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: rgba(255,255,255,.12); color: #fff; flex: none; }
.chat-avatar .ico { width: 22px; height: 22px; }
.chat-id { min-width: 0; flex: 1; }
.chat-title { margin: 0; font: 600 18px/1.2 var(--f-heading); letter-spacing: .02em; }
.chat-sub { margin: 3px 0 0; display: flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(255,255,255,.72); }
.chat-sub .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; }
.chat-close { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; cursor: pointer; }
.chat-close:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.chat-close .ico { width: 18px; height: 18px; }
.chat-log { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 18px; display: flex; flex-direction: column; gap: 12px; background: linear-gradient(180deg, var(--c-sky-soft), #fff 40%); scroll-behavior: smooth; }
.chat-log .msg { display: flex; flex-direction: column; gap: 8px; max-width: 88%; animation: chat-msg .3s var(--ease); }
@keyframes chat-msg { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.chat-log .msg-bot { align-self: flex-start; }
.chat-log .msg-user { align-self: flex-end; }
.chat-log .bubble { padding: 12px 16px; border-radius: 16px 16px 16px 6px; background: #fff; border: 1px solid var(--c-border); color: var(--c-text); font-size: 15px; line-height: 1.55; white-space: pre-line; overflow-wrap: anywhere; box-shadow: var(--shadow-sm); }
.chat-log .msg-user .bubble { border-radius: 16px 16px 6px 16px; background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.msg-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.msg-actions a, .msg-actions button, .chat-quick .chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 14px; border: 1.5px solid var(--c-border); border-radius: 999px; background: #fff; color: var(--c-secondary); font: 600 13.5px/1.2 var(--f-body); text-decoration: none; text-align: left; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.msg-actions a:hover, .msg-actions button:hover, .chat-quick .chip:hover { border-color: var(--c-primary); background: var(--c-primary); color: #fff; }
.msg-actions .act-call { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.msg-actions .act-call:hover { background: var(--c-secondary); }
.msg-actions .act-911 { background: var(--danger); border-color: var(--danger); color: #fff; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.chat-log .typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.chat-log .typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--c-primary); opacity: .35; animation: chat-blink 1.2s infinite; }
.chat-log .typing span:nth-child(2) { animation-delay: .15s; } .chat-log .typing span:nth-child(3) { animation-delay: .3s; }
@keyframes chat-blink { 0%, 80%, 100% { opacity: .25; transform: none; } 40% { opacity: .9; transform: translateY(-2px); } }
.chat-input { display: flex; align-items: flex-end; gap: 8px; padding: 12px 12px 8px; border-top: 1px solid var(--c-border); background: #fff; }
.chat-input textarea { flex: 1; min-height: 46px; max-height: 140px; resize: none; padding: 11px 15px; border: 1.5px solid var(--c-border); border-radius: 14px; font-size: 16px; line-height: 1.4; background: #fff; }
.chat-input textarea:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-primary) 15%, transparent); }
.chat-send { display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 14px; background: var(--c-primary); color: #fff; flex: none; cursor: pointer; transition: background .2s; }
.chat-send .ico { width: 20px; height: 20px; }
.chat-send:hover { background: var(--c-secondary); }
.chat-send:disabled { opacity: .5; cursor: default; }
.chat-foot { margin: 0; padding: 0 16px calc(10px + env(safe-area-inset-bottom)); font-size: 11.5px; color: var(--c-muted); text-align: center; background: #fff; }
.chat-foot a { color: var(--c-primary); }
.chat-lead { display: grid; gap: 10px; padding: 16px; border: 1px solid var(--c-border); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); font-size: 14px; }
.chat-lead-h { margin: 0; font-weight: 700; color: var(--c-text); }
.chat-lead-p { margin: 0; color: var(--c-muted); font-size: 12.5px; }
.chat-lead label { display: grid; gap: 4px; font-weight: 600; color: var(--c-text); }
.chat-lead input:not([type=radio]):not([type=checkbox]), .chat-lead select { min-height: 42px; padding: 8px 12px; border: 1.5px solid var(--c-border); border-radius: 10px; font-weight: 400; font-size: 15px; background: #fff; width: 100%; }
.chat-lead input:focus, .chat-lead select:focus { outline: none; border-color: var(--c-primary); }
.chat-lead [aria-invalid="true"] { border-color: var(--danger) !important; }
.chat-lead .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.chat-pref { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.chat-pref legend { font-weight: 600; color: var(--c-text); margin-bottom: 3px; padding: 0; }
.chat-pref label { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.chat-lead .chk { font-weight: 400; display: grid; grid-template-columns: 18px 1fr; gap: 8px; align-items: start; }
.chat-lead .form-err { margin: 0; color: var(--danger); font-size: 13px; }
.chat-lead-actions { display: flex; gap: 8px; }
.chat-btn { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--c-primary); background: var(--c-primary); color: #fff; font: 600 14px/1 var(--f-body); cursor: pointer; }
.chat-btn:hover { background: var(--c-secondary); border-color: var(--c-secondary); }
.chat-btn-ghost { background: #fff; color: var(--c-primary); }
.chat-btn:disabled { opacity: .6; cursor: default; }

.chat-lead-note { margin: 0; color: var(--c-muted); font-size: 12px; }
.chat-lead input::placeholder { color: #9aa6b2; font-weight: 400; }
@media (max-width: 600px) { .chat-log { padding: 14px; } .chat-log .msg { max-width: 92%; } .msg-actions a, .msg-actions button, .chat-quick .chip { min-height: 40px; font-size: 14px; } .chat-input textarea { font-size: 16px; } }

/* §41 Header CTAs: Call + Book Online sit together in the header on every device (Dr. Dham: no second Book Online in the hero) */
.site-header .el-button { display: block !important; }
.site-header .el-button .btn { white-space: nowrap; }
.site-header .el-button .btn .btn-ico { display: inline-block; }
@media (min-width: 1025px) {
  .site-header .el-button .btn-primary { padding: 15px 28px !important; font-size: 16.5px !important; }
  .site-header .el-button .btn-outline { padding: 13px 20px !important; font-size: 15px !important; }
  .site-header .el-container { gap: 12px !important; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .site-header .el-button .btn-primary { padding: 13px 22px !important; font-size: 15px !important; }
  .site-header .el-button .btn-outline { padding: 11px 16px !important; font-size: 14px !important; }
  .site-header .el-container { gap: 10px !important; }
}
@media (max-width: 767px) {
  .site-header .el-button .btn { width: 44px; height: 44px; padding: 0 !important; border-radius: 50%; justify-content: center; }
  .site-header .el-button .btn .btn-ico { display: inline-block !important; width: 20px; height: 20px; margin: 0; }
  .site-header .el-button .btn .btn-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .site-header .el-container { gap: 8px !important; }
}
/* §41b desktop: the Call button is never hidden; on narrower desktops (1025-1320) it becomes a round phone icon so the nav still fits */
.site-header .el-button a[href^="tel:"].btn { display: inline-flex !important; }
@media (min-width: 1025px) and (max-width: 1320px) {
  .site-header .el-button a[href^="tel:"].btn { width: 48px; height: 48px; padding: 0 !important; border-radius: 50%; justify-content: center; }
  .site-header .el-button a[href^="tel:"].btn .btn-ico { display: inline-block !important; width: 20px; height: 20px; margin: 0; }
  .site-header .el-button a[href^="tel:"].btn .btn-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* §42 Stats bar (home + inner pages): heading font, every value on ONE line, size follows the card width */
.hp-stats .el-grid, .ip-stats .el-grid { container-type: inline-size; }
.hp-stats .el-grid > .el-container > p:first-child, .ip-stats .el-grid > .el-container > p:first-child {
  font-family: var(--f-heading) !important; font-weight: 700 !important; white-space: nowrap; line-height: 1 !important; margin-bottom: 10px;
  font-size: clamp(1.6rem, 4.3cqi, 3rem) !important; letter-spacing: 0 !important; }
.hp-stats .el-grid > .el-container > p:last-child, .ip-stats .el-grid > .el-container > p:last-child {
  font-size: 12.5px !important; letter-spacing: .16em; text-transform: uppercase; color: var(--c-muted) !important; line-height: 1.5; }
.hp-stats .el-grid { padding: 32px clamp(16px, 4vw, 44px) !important; border-radius: 28px; }
.hp-stats .el-grid > .el-container { display: flex; flex-direction: column; justify-content: center; align-items: center; }
.hp-stats .el-container + .el-container::before { top: 14%; bottom: 14%; }
@media (min-width: 768px) and (max-width: 1024px) {
  .hp-stats .el-grid > .el-container > p:last-child, .ip-stats .el-grid > .el-container > p:last-child { font-size: 11px !important; letter-spacing: .1em; }
}
@media (max-width: 767px) {
  .hp-stats .el-grid > .el-container > p:first-child, .ip-stats .el-grid > .el-container > p:first-child { font-size: clamp(1.25rem, 8.6cqi, 2.2rem) !important; }
  .hp-stats .el-grid > .el-container > p:last-child, .ip-stats .el-grid > .el-container > p:last-child { font-size: 11px !important; letter-spacing: .08em; }
  .hp-stats .el-grid, .ip-stats .el-grid { padding: 24px 14px !important; row-gap: 24px !important; }
}

/* §43 Home "Why Westside" photo: frame matches the photo on tablets/phones (no empty band); phone badges sit under the photo */
@media (max-width: 1024px) {
  .hp-why2 .why-img, .hp-why2 .why-img picture, .hp-why2 .why-img img { aspect-ratio: 4 / 3 !important; height: auto !important; }
}
@media (max-width: 767px) {
  .hp-why2 .why-media { display: flex !important; flex-direction: row !important; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0 0 8px !important; }
  .hp-why2 .why-media > .why-img { flex: 0 0 100%; margin-bottom: 4px !important; }
  .hp-why2 .why-chip, .hp-why2 .why-chip-a, .hp-why2 .why-chip-b { position: static !important; inset: auto !important; flex: 1 1 0; min-width: 0 !important; max-width: 200px; text-align: center; }
}
