/* =========================================================================
   HEADER — sticky, becomes solid on scroll
   ========================================================================= */

.hdr {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  transition: background 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
  border-bottom: 1px solid transparent;
}

.hdr[data-scrolled]:not([data-scrolled='false']) {
  background: color-mix(in oklab, var(--bg) 92%, transparent);
  backdrop-filter: saturate(140%) blur(18px);
  border-bottom-color: var(--line-2);
}

/* Top bar — address + hours + socials */
.hdr__topbar {
  position: relative;
  border-bottom: 1px solid color-mix(in oklab, var(--bg) 10%, transparent);
  transition: border-color 0.35s var(--ease-out);
}

.hdr[data-scrolled]:not([data-scrolled='false']) .hdr__topbar {
  border-bottom-color: var(--line-2);
}

.hdr__topbarInner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(18px, 2.4vw, 32px);
  padding: 9px var(--pad-side);
  max-width: 1440px;
  margin: 0 auto;
}

.hdr__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.02em;
  color: color-mix(in oklab, var(--bg) 78%, transparent);
  transition: color 0.35s var(--ease-out);
  white-space: nowrap;
}

.hdr[data-scrolled]:not([data-scrolled='false']) .hdr__meta {
  color: var(--muted);
}

.hdr__meta svg {
  flex-shrink: 0;
  opacity: 0.7;
}

@media (hover: hover) {
.hdr__meta--address:hover {
  color: var(--bg);
}
}
@media (hover: hover) {
.hdr[data-scrolled]:not([data-scrolled='false']) .hdr__meta--address:hover {
  color: var(--ink);
}
}

.hdr__metaNote {
  color: color-mix(in oklab, var(--bg) 50%, transparent);
  font-size: var(--fs-eyebrow);
  padding-left: 4px;
  border-left: 1px solid color-mix(in oklab, var(--bg) 20%, transparent);
  margin-left: 4px;
}
.hdr[data-scrolled]:not([data-scrolled='false']) .hdr__metaNote {
  color: var(--muted-2);
  border-left-color: var(--line);
}

.hdr__meta--hours {
  justify-self: center;
}

.hdr__metaHoursGroup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hdr__metaHoursGroup strong {
  font-weight: 500;
  color: color-mix(in oklab, var(--bg) 95%, transparent);
  font-variant-numeric: tabular-nums;
  margin-left: 3px;
}

.hdr[data-scrolled]:not([data-scrolled='false']) .hdr__metaHoursGroup strong {
  color: var(--ink);
}

.hdr__metaDot {
  color: color-mix(in oklab, var(--bg) 30%, transparent);
}
.hdr[data-scrolled]:not([data-scrolled='false']) .hdr__metaDot {
  color: var(--muted-2);
}

.hdr__metaPortal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  background: color-mix(in oklab, var(--lavender) 14%, transparent);
  border: 1px solid color-mix(in oklab, var(--lavender) 32%, transparent);
  border-radius: var(--radius-pill);
  color: color-mix(in oklab, var(--lavender) 55%, var(--bg));
  font-family: var(--font-brand);
  font-weight: 500;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.2s var(--ease-soft), border-color 0.2s var(--ease-soft), color 0.2s var(--ease-soft);
}

.hdr__metaPortal:hover,
.hdr__metaPortal:focus-visible {
  background: color-mix(in oklab, var(--lavender) 22%, transparent);
  border-color: color-mix(in oklab, var(--lavender) 48%, transparent);
  color: color-mix(in oklab, var(--lavender) 70%, var(--bg));
}

.hdr__metaPortalArrow {
  transition: transform 0.2s var(--ease-soft);
}

.hdr__metaPortal:hover .hdr__metaPortalArrow,
.hdr__metaPortal:focus-visible .hdr__metaPortalArrow {
  transform: translate(2px, -2px);
}

.hdr[data-scrolled]:not([data-scrolled='false']) .hdr__metaPortal {
  background: color-mix(in oklab, var(--lavender) 10%, transparent);
  border-color: color-mix(in oklab, var(--lavender) 35%, transparent);
  color: color-mix(in oklab, var(--lavender) 62%, var(--ink));
}

.hdr[data-scrolled]:not([data-scrolled='false']) .hdr__metaPortal:hover,
.hdr[data-scrolled]:not([data-scrolled='false']) .hdr__metaPortal:focus-visible {
  background: color-mix(in oklab, var(--lavender) 16%, transparent);
  border-color: color-mix(in oklab, var(--lavender) 50%, transparent);
  color: color-mix(in oklab, var(--lavender) 80%, var(--ink));
}

.hdr__socials {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.hdr__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-pill);
  color: color-mix(in oklab, var(--bg) 70%, transparent);
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out);
}

@media (hover: none) {
  .hdr__social {
    width: var(--touch-target);
    height: var(--touch-target);
  }
}

@media (hover: hover) {
.hdr__social:hover {
  background: color-mix(in oklab, var(--bg) 8%, transparent);
  color: var(--lavender);
}
}

.hdr[data-scrolled]:not([data-scrolled='false']) .hdr__social {
  color: var(--muted);
}
@media (hover: hover) {
.hdr[data-scrolled]:not([data-scrolled='false']) .hdr__social:hover {
  background: var(--lavender-50);
  color: var(--lavender-700);
}
}

.hdr__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  padding: 18px var(--pad-side);
  max-width: 1440px;
  margin: 0 auto;
}

.hdr__logo {
  display: inline-flex;
  align-items: center;
  transition: transform 0.3s var(--ease-out);
}

@media (hover: hover) {
.hdr__logo:hover {
  transform: scale(1.04);
}
}

/* Vertical lavender logo. Natural 2424×2194 → ratio ~1.105:1.
   We set BOTH width and height to escape the inline-flex circular sizing. */
.hdr__logoImg {
  height: 80px;
  width: 88px;
  max-width: none;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px color-mix(in oklab, var(--ink) 18%, transparent));
  transition: height 0.35s var(--ease-out), width 0.35s var(--ease-out), filter 0.35s var(--ease-out);
}

.hdr[data-scrolled]:not([data-scrolled='false'])  .hdr__logoImg,
.hdr[data-scrolled='forced'] .hdr__logoImg {
  height: 56px;
  width: 62px;
  filter: none;
}

.hdr__nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 28px);
  justify-content: center;
}

/* When the Primary nav is rendered via wp_nav_menu, children are <ul><li>,
   not flat <a>. Strip list styling and flatten so it lays out like the
   fallback markup. */
.hdr__navMenu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 28px);
}
.hdr__navMenu li {
  list-style: none;
}

.hdr__nav a,
.hdr__navBtn {
  font-family: var(--font-brand);
  font-weight: 300;
  font-size: var(--fs-meta);
  letter-spacing: 0.03em;
  color: color-mix(in oklab, var(--bg) 90%, transparent);
  padding: 6px 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.3s var(--ease-out);
  white-space: nowrap;
}

.hdr[data-scrolled]:not([data-scrolled='false']) .hdr__nav a,
.hdr[data-scrolled]:not([data-scrolled='false']) .hdr__navBtn {
  color: var(--ink-2);
}

.hdr__nav a::after,
.hdr__navBtn::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}

@media (hover: hover) {
.hdr__nav a:hover::after,
.hdr__navBtn:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
}

.hdr__navBtn svg {
  transition: transform 0.3s var(--ease-out);
  opacity: 0.6;
}

@media (hover: hover) {
.hdr__navBtn:hover svg,
.hdr__navBtn[aria-expanded='true'] svg {
  transform: rotate(180deg);
  opacity: 1;
}
}

.hdr__mega {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 24px 28px;
  min-width: 440px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px -16px color-mix(in oklab, var(--ink) 20%, transparent);
  text-align: left;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s var(--ease-out), visibility 0s linear 0.2s;
}

@media (hover: hover) {
.hdr__navBtn:hover .hdr__mega,
.hdr__navBtn:focus-within .hdr__mega,
.hdr__navBtn[aria-expanded='true'] .hdr__mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.2s var(--ease-out), visibility 0s linear 0s;
}
}

.hdr__megaCol {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hdr__megaTitle {
  font-family: var(--font-brand);
  font-size: var(--fs-eyebrow);
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 8px;
}

.hdr__mega a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-body);
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  width: fit-content;
  transition: color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

@media (hover: hover) {
.hdr__mega a:hover {
  color: var(--lavender-700);
  border-color: var(--lavender-700);
}
}

.hdr__side {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: flex-end;
}

.hdr__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-brand);
  font-weight: 400;
  font-size: var(--fs-meta);
  letter-spacing: 0.02em;
  color: var(--bg);
  transition: color 0.3s var(--ease-out);
  white-space: nowrap;
}

.hdr[data-scrolled]:not([data-scrolled='false']) .hdr__phone {
  color: var(--ink);
}

.hdr__primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch-target);
  padding: 12px 22px;
  font-family: var(--font-brand);
  font-weight: 500;
  font-size: var(--fs-meta);
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--ink);
  background: var(--lavender);
  border-radius: var(--radius-pill);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
  white-space: nowrap;
}

.btn.hdr__primary {
  align-self: center;
  padding: 12px 22px;
  background: var(--lavender);
  color: var(--ink);
}

@media (hover: hover) {
.hdr__primary:hover {
  background: var(--lavender);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -8px color-mix(in oklab, var(--lavender) 70%, transparent);
}
}

/* =========================================================================
   HEADER — burger button (visible on mobile only)
   ========================================================================= */

.hdr__burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: var(--radius-pill);
  cursor: pointer;
  color: var(--ink);
  transition: background 0.18s var(--ease-out), border-color 0.18s var(--ease-out);
}

@media (hover: hover) {
.hdr__burger:hover {
  background: var(--lavender-50);
  border-color: var(--lavender-300);
}
}

.hdr__burgerBox {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}

.hdr__burgerLine {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.22s var(--ease-out), opacity 0.18s var(--ease-out);
}

.hdr__burger[aria-expanded='true'] .hdr__burgerLine:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hdr__burger[aria-expanded='true'] .hdr__burgerLine:nth-child(2) {
  opacity: 0;
}

.hdr__burger[aria-expanded='true'] .hdr__burgerLine:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 780px) {
  .hdr__burger {
    display: inline-flex;
  }
  .hdr__primary {
    padding: 10px 18px;
    font-size: var(--fs-small);
  }
  .btn.hdr__primary {
    padding: 10px 18px;
  }
}

/* =========================================================================
   MOBILE DRAWER (mnav) — slide-in from right
   ========================================================================= */

.mnav {
  position: fixed;
  inset: 0;
  z-index: 100;
}

.mnav[hidden] {
  display: none;
}

.mnav__scrim {
  position: absolute;
  inset: 0;
  background: color-mix(in oklab, var(--ink) 45%, transparent);
  opacity: 0;
  transition: opacity 0.28s var(--ease-out);
  cursor: pointer;
}

.mnav[data-open='true'] .mnav__scrim {
  opacity: 1;
}

.mnav__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(360px, 92vw);
  background: var(--bg);
  box-shadow: -20px 0 60px -20px color-mix(in oklab, var(--ink) 30%, transparent);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.32s var(--ease-out);
  padding: 16px 22px 32px;
}

.mnav[data-open='true'] .mnav__panel {
  transform: translateX(0);
}

.mnav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}

.mnav__logo {
  display: block;
  width: 56px;
}

.mnav__logo img {
  width: 100%;
  height: auto;
}

.mnav__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  background: var(--lavender-50);
  border: none;
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.18s var(--ease-out);
}

@media (hover: hover) {
.mnav__close:hover {
  background: var(--lavender-100);
}
}

.mnav__nav {
  flex: 0 0 auto;
}

.mnav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.mnav__list li + li {
  border-top: 1px solid var(--line);
}

.mnav__list a,
.mnav__group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  font: 500 16px/1.3 var(--font-body);
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  list-style: none;
}

@media (hover: hover) {
.mnav__list a:hover,
.mnav__group summary:hover {
  color: var(--lavender-700);
}
}

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

.mnav__group summary::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.2s var(--ease-out);
  margin-right: 6px;
}

.mnav__group[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.mnav__sublist {
  list-style: none;
  margin: 0;
  padding: 0 0 8px 16px;
  border-left: 2px solid var(--lavender-100);
  margin-left: 4px;
}

.mnav__sublist li {
  border: none !important;
}

.mnav__sublist a {
  padding: 9px 8px;
  font-size: var(--fs-body);
  color: var(--muted);
}

.mnav__cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 22px 0;
}

.mnav__contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font: 400 var(--fs-small)/1.45 var(--font-body);
}

.mnav__contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

@media (hover: hover) {
.mnav__contact:hover {
  color: var(--lavender-700);
}
}

.mnav__address,
.mnav__hours {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
}

.mnav__address svg,
.mnav__hours svg {
  flex: 0 0 auto;
  margin-top: 2px;
}

.mnav__socials {
  display: flex;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.mnav__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--lavender-50);
  color: var(--lavender-700);
  text-decoration: none;
  transition: background 0.18s var(--ease-out), color 0.18s var(--ease-out);
}

@media (hover: hover) {
.mnav__socials a:hover {
  background: var(--lavender-700);
  color: var(--bg);
}
}

/* =========================================================================
   404 — Not Found page (.nf__)
   ========================================================================= */

.nf {
  background: var(--bg);
  padding: clamp(60px, 9vw, 120px) 0 var(--pad-section-y);
}

.nf__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--pad-side);
  text-align: center;
}

.nf__idx {
  display: block;
  font: 300 clamp(96px, 14vw, 180px)/0.9 var(--font-body);
  color: var(--lavender-300);
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}


.nf__title {
  font: 300 var(--fs-hero)/1.1 var(--font-display);
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--ink);
}

.nf__lead {
  font: 400 var(--fs-body-lg)/1.6 var(--font-body);
  color: var(--muted);
  margin: 0 0 clamp(28px, 4vw, 40px);
}

.nf__search {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0;
  max-width: 480px;
  margin: 0 auto 24px;
  padding: 4px 4px 4px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  transition: border-color 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out);
}

.nf__search:focus-within {
  border-color: var(--lavender-300);
  outline: 2px solid var(--lavender-700);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--lavender-700) 12%, transparent);
}

.nf__searchLabel {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
}

.nf__searchInput {
  border: none;
  background: transparent;
  font: 400 var(--fs-body)/1.4 var(--font-body);
  color: var(--ink);
  padding: 10px 12px;
  outline: 2px solid transparent;
  outline-offset: 3px;
  min-width: 0;
}

.nf__searchBtn {
  border: none;
  padding: 10px 18px;
}

.btn.nf__searchBtn {
  padding: 10px 18px;
}

.nf__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.nf__primary {
  padding: 13px 24px;
}

.btn.nf__primary {
  padding: 13px 24px;
}

.nf__ghost {
  padding: 13px 22px;
}

.btn.nf__ghost {
  padding: 13px 22px;
}

.nf__links {
  padding-top: clamp(28px, 4vw, 40px);
  border-top: 1px solid var(--line);
}

.nf__linksTitle {
  margin: 0 0 18px;
  font: 600 var(--fs-small)/1 var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.nf__linksList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.nf__linksList a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--lavender-50);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  color: var(--ink);
  text-decoration: none;
  font: 500 var(--fs-small)/1 var(--font-body);
  transition: background 0.18s var(--ease-out), border-color 0.18s var(--ease-out);
}

@media (hover: hover) {
.nf__linksList a:hover {
  background: var(--bg);
  border-color: var(--lavender-300);
}
}

.nf__linksCount {
  font-size: var(--fs-eyebrow);
  color: var(--muted);
  padding: 2px 7px;
  background: var(--bg);
  border-radius: var(--radius-pill);
}

/* =========================================================================
   HERO — cinematic full-bleed with editorial layout
   ========================================================================= */

.hero {
  position: relative;
  min-height: 100svh;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
  color: var(--bg);
}

/* Media layer */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.85) contrast(1.04) brightness(0.92);
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      100deg,
      color-mix(in oklab, var(--ink) 70%, transparent) 0%,
      color-mix(in oklab, var(--ink) 50%, transparent) 30%,
      color-mix(in oklab, var(--ink) 25%, transparent) 60%,
      color-mix(in oklab, var(--ink) 45%, transparent) 100%
    ),
    linear-gradient(180deg, color-mix(in oklab, var(--ink) 30%, transparent) 0%, transparent 25%, color-mix(in oklab, var(--ink) 60%, transparent) 100%);
}

.hero__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 50% 50%, transparent 55%, color-mix(in oklab, var(--ink) 60%, transparent) 100%);
  pointer-events: none;
}

/* Stage — bottom-left anchored */
.hero {
  display: flex;
  flex-direction: column;
}

.hero__stage {
  position: relative;
  z-index: 3;
  margin-top: auto;
  max-width: min(820px, 92vw);
  padding: clamp(120px, 18vh, 180px) clamp(20px, 4vw, 72px) clamp(120px, 22vh, 260px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: clamp(18px, 2vw, 28px);
}

/* Desktop ≥1100px: stage stays narrower to leave room for slot widget */
@media (min-width: 1100px) {
  .hero__stage {
    max-width: min(820px, 62vw);
    padding-top: clamp(160px, 20vh, 220px);
  }
}

.hero__headline {
  font-family: var(--font-display);
  margin: 0;
  text-wrap: balance;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__headMain {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--fs-hero);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--bg);
}

.hero__headMain::first-letter {
  color: var(--lavender);
}

.hero__sub {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(13px, 1.2vw, 16px);
  line-height: 1.55;
  color: color-mix(in oklab, var(--bg) 78%, transparent);
  max-width: 62ch;
  margin: 0;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

.hero__btn svg {
  transition: transform 0.3s var(--ease-out);
}

.hero__btnShort {
  display: none;
}

@media (hover: hover) {
.hero__btn:hover svg {
  transform: translateX(3px);
}
}

.hero__btnCount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 8px;
  background: color-mix(in oklab, var(--bg) 10%, transparent);
  border-radius: var(--radius-pill);
  font-family: var(--font-brand);
  font-weight: 500;
  font-size: var(--fs-eyebrow);
  color: var(--bg);
  border: 1px solid color-mix(in oklab, var(--bg) 18%, transparent);
}

/* Trust row — bottom full-width strip */
.hero__trust {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  list-style: none;
  padding: 22px clamp(24px, 3vw, 48px);
  margin: 0;
  background: color-mix(in oklab, var(--bg) 14.0%, transparent);
  border-top: 1px solid color-mix(in oklab, var(--bg) 22%, transparent);
  backdrop-filter: blur(18px) saturate(140%);
  max-width: min(1240px, calc(100% - 80px));
  margin-left: auto;
  margin-right: auto;
  border-radius: 16px 16px 0 0;
}

.hero__trust li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 0 clamp(16px, 2vw, 28px);
  border-right: 1px solid color-mix(in oklab, var(--bg) 14.0%, transparent);
}

.hero__trust li:last-child {
  border-right: 0;
}

.hero__trust strong {
  font-family: var(--font-brand);
  font-weight: 500;
  font-size: clamp(20px, 2vw, 26px);
  color: var(--bg);
  letter-spacing: -0.02em;
  line-height: 1;
}

.hero__trust span {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 300;
  line-height: 1.35;
  color: color-mix(in oklab, var(--bg) 70%, transparent);
}

/* =========================================================================
   SLOTS CARD (right side, structured)
   ========================================================================= */

.hero__slots {
  position: absolute;
  right: clamp(24px, 3vw, 44px);
  bottom: clamp(140px, 17vh, 180px);
  z-index: 4;
  width: 340px;
  max-width: calc(100% - 48px);
  padding: 0;
  background: color-mix(in oklab, var(--ink) 60%, transparent);
  border: 1px solid color-mix(in oklab, var(--bg) 14.0%, transparent);
  border-radius: 20px;
  backdrop-filter: saturate(150%) blur(28px);
  box-shadow: 0 28px 70px -20px color-mix(in oklab, var(--ink) 55%, transparent);
  overflow: hidden;
  color: var(--bg);
}

.hero__slots::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, color-mix(in oklab, var(--lavender) 15%, transparent) 0%, transparent 45%);
  pointer-events: none;
}

.hero__slotsHead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 22px 18px;
  border-bottom: 1px solid color-mix(in oklab, var(--bg) 10%, transparent);
}

.hero__slotsEye {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-brand);
  font-weight: 400;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lavender);
  margin-bottom: 8px;
}

.hero__slotsEyeDot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
  animation: livepulse 2s var(--ease-soft) infinite;
}

.hero__slotsDate {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--bg);
}

.hero__slotsCount {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1;
  gap: 4px;
}

.hero__slotsCount strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  color: var(--bg);
  letter-spacing: -0.04em;
  line-height: 1;
}

.hero__slotsCount span {
  font-family: var(--font-brand);
  font-weight: 300;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--bg) 50%, transparent);
}

.hero__slotsList {
  display: flex;
  flex-direction: column;
}

.hero__slot {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 22px;
  background: transparent;
  border: 0;
  border-top: 1px solid color-mix(in oklab, var(--bg) 8%, transparent);
  border-radius: 0;
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out);
  cursor: pointer;
}

.hero__slot:first-child {
  border-top: 0;
}

@media (hover: hover) {
.hero__slot:hover {
  background: color-mix(in oklab, var(--bg) 6%, transparent);
  box-shadow: none;
  border-top-color: color-mix(in oklab, var(--bg) 8%, transparent);
  transform: none;
}
}

.hero__slot[data-active='true'] {
  background: var(--lavender);
  color: var(--ink);
}

.hero__slotTime {
  font-family: var(--font-brand);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--bg);
  font-variant-numeric: tabular-nums;
}

.hero__slot[data-active='true'] .hero__slotTime {
  color: var(--ink);
}

.hero__slotMain {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.hero__slotTag {
  display: inline-block;
  align-self: flex-start;
  padding: 2px 7px;
  font-family: var(--font-brand);
  font-weight: 400;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: color-mix(in oklab, var(--bg) 10%, transparent);
  border: 1px solid color-mix(in oklab, var(--bg) 14.0%, transparent);
  border-radius: var(--radius-pill);
  color: color-mix(in oklab, var(--bg) 85%, transparent);
  margin-bottom: 3px;
}

.hero__slot[data-active='true'] .hero__slotTag {
  background: color-mix(in oklab, var(--ink) 12%, transparent);
  border-color: color-mix(in oklab, var(--ink) 20%, transparent);
  color: var(--ink-2);
}

.hero__slotDoctor {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-meta);
  line-height: 1.35;
  color: color-mix(in oklab, var(--bg) 72%, transparent);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero__slot[data-active='true'] .hero__slotDoctor {
  color: color-mix(in oklab, var(--ink) 72%, transparent);
}

.hero__slotArrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--bg) 8%, transparent);
  color: color-mix(in oklab, var(--bg) 80%, transparent);
  transition: background 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

@media (hover: hover) {
.hero__slot:hover .hero__slotArrow {
  background: color-mix(in oklab, var(--bg) 16%, transparent);
  transform: translateX(2px);
}
}

.hero__slot[data-active='true'] .hero__slotArrow {
  background: var(--ink);
  color: var(--bg);
}

.hero__slotsCta {
  margin: 16px 22px 14px;
  width: calc(100% - 44px);
  min-width: 0;
  padding-inline: 14px;
  text-align: center;
  white-space: normal;
}

.hero__slotsFoot {
  margin: 0 22px 18px;
  padding-top: 14px;
  border-top: 1px solid color-mix(in oklab, var(--bg) 8%, transparent);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--fs-eyebrow);
  line-height: 1.5;
  color: color-mix(in oklab, var(--bg) 55.0%, transparent);
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 28px;
  right: clamp(30px, 3vw, 46px);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}

.hero__scrollText {
  font-family: var(--font-brand);
  font-size: var(--fs-eyebrow);
  font-weight: 400;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--bg) 65%, transparent);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.hero__scrollLine {
  width: 1px;
  height: 54px;
  background: linear-gradient(180deg, color-mix(in oklab, var(--bg) 40%, transparent) 0%, transparent 100%);
  position: relative;
  overflow: hidden;
}

.hero__scrollLine::after {
  content: '';
  position: absolute;
  top: -50%;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(180deg, transparent 0%, var(--bg) 100%);
  animation: scrollblink 2.4s var(--ease-soft) infinite;
}

@keyframes scrollblink {
  0% { transform: translateY(0); }
  100% { transform: translateY(250%); }
}

@keyframes livepulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

/* =========================================================================
   Responsive
   ========================================================================= */

@media (max-width: 1100px) {
  .hdr__nav {
    gap: 16px;
  }
  .hdr__phone {
    display: none;
  }
  .hdr__meta--hours {
    display: none;
  }
  .hdr__topbarInner {
    grid-template-columns: 1fr auto;
  }
  .hero__stage {
    max-width: 100%;
    padding-bottom: 40px;
  }
  .hero__slots {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 0 auto 24px;
    width: 100%;
    max-width: 480px;
  }
  .hero__scroll {
    display: none;
  }
  .hero__trust {
    position: relative;
    max-width: calc(100% - 32px);
    margin: 0 16px 16px;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 14px;
  }
  .hero__trust li {
    padding: 6px clamp(10px, 1.6vw, 20px);
  }
  .hero__trust li:nth-child(3) {
    border-right: 0;
  }
}

@media (max-width: 780px) {
  .hdr__nav, .hdr__phone {
    display: none;
  }
  .hdr__inner {
    grid-template-columns: auto 1fr;
    gap: 16px;
  }
  .hdr__side {
    gap: 8px;
  }
  .hdr__topbar {
    display: none;
  }
  .hero__stage {
    padding-top: 90px;
  }
  .hero__stage {
    padding: 120px var(--pad-side) 40px;
    gap: 20px;
  }
  .hero__slotsHead {
    padding: 16px 16px 14px;
    gap: 10px;
  }
  .hero__slotsDate {
    font-size: var(--fs-small);
  }
  .hero__slotsCount strong {
    font-size: 22px;
  }
  .hero__slot {
    grid-template-columns: 56px 1fr auto;
    gap: 12px;
    padding: 11px 16px;
  }
  .hero__slotTime {
    font-size: 15px;
  }
  .hero__slotDoctor {
    font-size: var(--fs-eyebrow);
  }
  .hero__slotArrow {
    width: 24px;
    height: 24px;
  }
  .hero__slotsCta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: var(--touch-target);
    margin: 12px 16px 10px;
    padding: 12px;
    line-height: 1.2;
  }
  .hero__slotsFoot {
    margin: 0 16px 14px;
    padding-top: 10px;
    font-size: var(--fs-eyebrow);
  }
  .hero__trust {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    padding: 18px 20px;
  }
  .hero__trust li {
    padding: 8px 14px;
    border-right: 0;
    border-bottom: 1px solid color-mix(in oklab, var(--bg) 12%, transparent);
  }
  .hero__trust li:nth-child(2n) {
    border-right: 0;
  }
  .hero__trust li:nth-last-child(-n+2) {
    border-bottom: 0;
  }
  .hero__trust li:last-child {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
  .hero__headLead {
    font-size: var(--fs-body);
  }
  .hero__headLead::before,
  .hero__headLead::after {
    width: 16px;
  }
  .hero__btn {
    padding: 14px 18px;
  }
}

/* Stack both CTAs full-width so primary and ghost are equal width across the
   WHOLE mobile range (≤780), not just ≤600 — between 601–780 they otherwise sat
   side-by-side at content width (288 vs 200). width:100% — .hero__ctas otherwise
   shrink-wraps to the widest button; align-self override — .hero__btn--primary
   carries align-self:flex-start from the desktop row layout, which would defeat
   align-items:stretch.
   height pin — the ghost's .hero__btnCount badge is 26px tall, which exceeds the
   button's content box (44 − 28 padding − 2 border = 14px) and inflates the ghost
   to 56px while the primary stays at the 44px min-height floor. Pinning height to
   --touch-target equalises both at 44px; the 26px badge centres inside with 9px
   clearance top/bottom (no clipping). */
@media (max-width: 780px) {
  .hero__ctas {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .hero__ctas .hero__btn {
    align-self: stretch;
    height: var(--touch-target);
  }
}

@media (max-width: 600px) {
  .hero__btnFull {
    display: none;
  }
  .hero__btnShort {
    display: inline;
  }
}

/* =========================================================================
   SERVICES — Напрямки клініки (Block 3, masonry)
   ========================================================================= */

.svc {
  position: relative;
  background: var(--bg);
  padding: var(--pad-section-y) 0;
}

.svc__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad-side);
}

.svc__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  margin-bottom: clamp(48px, 6vw, 80px);
  padding-bottom: clamp(28px, 3vw, 36px);
  border-bottom: 1px solid var(--line);
}

.svc__idx {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--pad-section-y-sm);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--lavender);
  padding-top: 6px;
}

.svc__headText {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 820px;
}


.svc__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--fs-h2);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
  color: var(--ink);
}

.svc__lead {
  margin: 6px 0 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 56ch;
}

.svc__grid {
  display: grid;
  /* Auto-flow grid — direction cards fill left-to-right with NO reserved named
     cells, so the directions repeater can be edited in wp-admin (add/remove cards)
     without leaving holes. The featured card is tall (1 col x 2 rows). Replaces the
     former fixed grid-template-areas (which reserved a cell per direction and left
     an empty hole whenever a card was removed). The «view all» CTA is rendered
     after this grid (not a grid cell), so it keeps its content height on every
     breakpoint regardless of card count. */
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-auto-rows: 240px;
  grid-auto-flow: dense;
  gap: clamp(10px, 1vw, 16px);
}

.svc__card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Featured direction (accent='hero') is the tall card — 1 column x 2 rows,
   in the wider left track. Matches the former hand-placed 'gyn' area. */
.svc__card[data-accent='hero'] {
  grid-row: span 2;
}


.svc__card[data-accent='hero'] {
  background: linear-gradient(170deg, var(--lavender-700) 0%, var(--lavender-600) 55%, var(--lavender) 100%);
  border-color: transparent;
  color: var(--bg);
}

.svc__card[data-accent='lavender'] {
  background: linear-gradient(165deg, var(--lavender-100) 0%, var(--lavender-50) 60%, var(--bg) 100%);
  border-color: transparent;
}

/* Link is the flex container: photo zone on top, caption bar on bottom */
.svc__link {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  z-index: 1;
}

/* Photo zone — fixed height by ratio, nothing overlays on small cards */
.svc__media {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.8s var(--ease-out);
}

.svc__media::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(
    180deg,
    color-mix(in oklab, var(--bg) 0%, transparent) 0%,
    color-mix(in oklab, var(--bg) 12%, transparent) 60%,
    color-mix(in oklab, var(--bg) 35%, transparent) 100%
  );
  pointer-events: none;
}

@media (hover: hover) {
.svc__card:hover .svc__media {
  transform: scale(1.03);
}
}

/* Caption bar — same look on every small card */
.svc__cardHead {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  flex: 0 0 auto;
  padding: 14px clamp(14px, 1.3vw, 18px);
  background: var(--bg);
  border-top: 1px solid var(--line);
  min-height: 64px;
}

.svc__cardTitle {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  /* Never split a word mid-letter (overrides the ≤480 h3 reset). The narrow
     card title column otherwise broke «Дерматологі-я»; we keep whole words and
     shrink the mobile font (below) so long single words still fit. */
  overflow-wrap: normal;
  word-break: keep-all;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.svc__cardLead {
  display: none;
}

/* Hover overlay — chips/pills layout */
.svc__top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: clamp(18px, 2vw, 28px) clamp(16px, 1.8vw, 24px);
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: center;
  gap: 8px 6px;
  background: linear-gradient(
    165deg,
    color-mix(in oklab, var(--lavender-700) 96%, transparent) 0%,
    color-mix(in oklab, var(--lavender-800) 94%, transparent) 100%
  );
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out),
    visibility 0s linear 0.3s;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

@media (hover: hover) {
  .svc__card:hover .svc__top {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out),
      visibility 0s linear 0s;
  }
}

.svc__top li {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(10px, 0.78vw, 12px);
  line-height: 1.2;
  color: color-mix(in oklab, var(--bg) 95%, transparent);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: color-mix(in oklab, var(--bg) 10%, transparent);
  border: 1px solid color-mix(in oklab, var(--bg) 20%, transparent);
  white-space: nowrap;
  letter-spacing: -0.005em;
  transition: background 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

.svc__top li.svc__topMore {
  background: color-mix(in oklab, var(--bg) 18%, transparent);
  border-color: color-mix(in oklab, var(--bg) 35%, transparent);
  font-weight: 600;
}

/* Footer = count + arrow, inline inside caption bar on the right */
.svc__cardFoot {
  position: absolute;
  right: clamp(10px, 1vw, 14px);
  bottom: clamp(10px, 1vw, 14px);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
}

/* Reposition caption items: title left, count+arrow right inside the same bar */
.svc__cardHead {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-right: clamp(90px, 9vw, 120px); /* space for absolute footer */
  position: relative;
  z-index: 3; /* above hover overlay */
}

.svc__count {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  line-height: 1;
}

.svc__count strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(14px, 1vw, 16px);
  letter-spacing: -0.02em;
  color: var(--ink);
}

.svc__count span {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.svc__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--lavender-50);
  color: var(--lavender-700);
  transition: transform 0.35s var(--ease-out), background 0.35s var(--ease-out),
    border-color 0.35s var(--ease-out), color 0.35s var(--ease-out);
}

@media (hover: hover) {
.svc__card:hover .svc__arrow {
  transform: translateX(3px);
  background: var(--lavender);
  color: var(--ink);
  border-color: var(--lavender);
}
}

/* Hero card — same layout as others, just slightly larger title */
.svc__card[data-accent='hero'] .svc__cardTitle {
  font-size: clamp(17px, 1.4vw, 20px);
}

/* «View all» CTA — a full-width block rendered AFTER .svc__grid (not a grid cell),
   so its height follows its content on every breakpoint. margin-top replaces the
   grid gap that used to separate it from the cards. */
.svc__card--cta {
  display: flex;
  align-items: center;
  margin-top: clamp(10px, 1vw, 16px);
  gap: clamp(18px, 2.4vw, 32px);
  padding: clamp(20px, 2.2vw, 28px) clamp(26px, 3vw, 40px);
  background: var(--lavender-50);
  border: 1px dashed var(--lavender);
  border-radius: 20px;
  min-height: 0;
  color: var(--ink);
  transition: background 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}

@media (hover: hover) {
.svc__card--cta:hover {
  transform: none;
  border-style: solid;
  border-color: var(--lavender);
  background: var(--lavender-100);
  box-shadow: none;
}
}

.svc__card--cta .svc__arrow {
  margin-left: auto;
  background: var(--bg);
  color: var(--lavender-700);
  border-color: var(--lavender);
}

.svc__ctaLabel {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.svc__ctaBig {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--ink);
  white-space: nowrap;
}

.svc__ctaBig sup {
  font-size: 0.5em;
  color: var(--lavender-700);
  top: -0.55em;
  margin-left: 2px;
}

.svc__ctaSub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.3;
}

@media (max-width: 1100px) {
  .svc__grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 220px;
    gap: 12px;
  }
  /* Tablet: tall hero (1 col x 2 rows); CTA full-width via base 1 / -1. */
  .svc__card[data-accent='hero'] {
    grid-column: span 1;
    grid-row: span 2;
  }
  .svc__head {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .svc__idx {
    font-size: 64px;
  }
  .svc__card--cta {
    grid-template-columns: auto 1fr auto;
  }
}

@media (max-width: 780px) {
  .svc {
    padding: var(--pad-section-y) 0;
  }
  .svc__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    grid-auto-flow: row;
  }
  /* Mobile: horizontal card — photo ~35% on the left, title + count/arrow on the right */
  .svc__card {
    min-height: 160px;
  }
  .svc__link {
    flex-direction: row;
    align-items: stretch;
    padding: 0;
    min-height: 160px;
  }
  .svc__media {
    flex: 0 0 35%;
    min-height: 0;
  }
  .svc__media::after {
    display: none;
  }
  .svc__cardHead {
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    padding: 18px 18px;
    padding-right: 88px; /* room for absolute cardFoot (count + arrow) */
    border-top: 0;
    min-height: 0;
  }
  .svc__cardTitle {
    font-size: 15px;
    -webkit-line-clamp: 3;
  }
  /* Count badge stacked above the arrow, pinned bottom-right */
  .svc__cardFoot {
    right: 16px;
    bottom: 14px;
    top: auto;
    transform: none;
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 6px;
  }
  .svc__count {
    display: inline-flex; /* show count badge on mobile, same data as desktop */
  }
  /* Hover-only top-list — irrelevant on touch */
  .svc__top {
    display: none;
  }
  /* On mobile all cards look identical: white head bar regardless of data-accent,
     and the hero no longer spans 2x2 — every card is a uniform horizontal row. */
  .svc__card[data-accent='hero'] {
    grid-column: auto;
    grid-row: auto;
    background: var(--bg);
    color: var(--ink);
    border: 1px solid var(--line);
  }
  .svc__card[data-accent='hero'] .svc__cardTitle {
    color: var(--ink);
  }
  .svc__card--cta {
    display: grid;
    grid-template-columns: 35% 1fr auto;
    grid-template-areas:
      'big label arrow'
      'big sub   arrow';
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 14px;
    row-gap: 2px;
    padding: 18px;
    min-height: 160px;
  }
  .svc__card--cta .svc__ctaBig {
    grid-area: big;
    align-self: center;
    font-size: 56px;
    line-height: 1;
    text-align: center;
  }
  .svc__card--cta .svc__ctaLabel {
    grid-area: label;
    align-self: end;
    min-width: 0;
  }
  .svc__card--cta .svc__ctaSub {
    grid-area: sub;
    align-self: start;
    font-size: var(--fs-meta);
    line-height: 1.3;
    min-width: 0;
  }
  .svc__card--cta .svc__arrow {
    grid-area: arrow;
    align-self: center;
    margin: 0;
  }
}

/* Small mobile tighter spacing */
@media (max-width: 414px) {
  .svc__card {
    min-height: 150px;
  }
  .svc__link {
    min-height: 150px;
  }
  .svc__cardHead {
    padding: 16px 14px;
    padding-right: 80px;
  }
  .svc__cardTitle {
    font-size: 14px;
  }
  .svc__card--cta {
    min-height: 150px;
    padding: 16px 14px;
  }
  .svc__ctaBig {
    font-size: 48px;
  }
  .svc__ctaSub {
    font-size: var(--fs-body);
    white-space: normal;
  }
}

/* =========================================================================
   DIRECTOR — Звернення директора (Block 5)
   ========================================================================= */

.dir {
  position: relative;
  background: var(--bg);
  padding: var(--pad-section-y) 0 var(--pad-section-y);
  overflow: hidden;
}

.dir::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 15% 30%, color-mix(in oklab, var(--lavender) 16%, transparent) 0%, transparent 65%),
    radial-gradient(50% 40% at 90% 80%, color-mix(in oklab, var(--lavender) 12%, transparent) 0%, transparent 65%);
  pointer-events: none;
}

.dir__inner {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad-side);
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

/* Portrait */
.dir__portrait {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(165deg, var(--lavender-100) 0%, var(--lavender-50) 60%, var(--bg) 100%);
  box-shadow:
    0 40px 80px -40px color-mix(in oklab, var(--lavender-700) 45%, transparent),
    0 20px 40px -28px color-mix(in oklab, var(--ink) 18%, transparent);
}

.dir__portraitImg {
  position: absolute;
  inset: 0;
  background-image: url('../img/team/director.webp');
  background-size: cover;
  background-position: center top;
  filter: saturate(0.95);
}

.dir__portraitImg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, color-mix(in oklab, var(--ink) 28.0%, transparent) 100%);
}

.dir__portraitBadge {
  position: absolute;
  left: clamp(14px, 1.4vw, 20px);
  bottom: clamp(14px, 1.4vw, 20px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  background: color-mix(in oklab, var(--bg) 92%, transparent);
  backdrop-filter: blur(14px);
  border: 1px solid color-mix(in oklab, var(--bg) 70%, transparent);
  font-family: var(--font-brand);
  font-weight: 500;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.04em;
  color: var(--ink);
}

.dir__portraitBadge svg {
  color: var(--lavender-700);
}

/* Body */
.dir__body {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2vw, 28px);
  position: relative;
}

.dir__idx {
  position: absolute;
  right: 0;
  top: -16px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--fs-h1);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--lavender);
  opacity: 0.35;
  pointer-events: none;
}


.dir__quote {
  margin: 0;
  position: relative;
}

.dir__quote p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--fs-h3);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: pretty;
}

.dir__quote p + p {
  margin-top: 16px;
  font-size: var(--fs-body-lg);
  line-height: 1.6;
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0;
}

.dir__quoteMark {
  font-family: var(--font-display);
  font-size: 1.2em;
  color: var(--lavender-700);
  margin-right: 4px;
  line-height: 0;
  vertical-align: -0.1em;
}

.dir__sign {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: clamp(18px, 2vw, 24px);
  border-top: 1px solid var(--line);
}

.dir__signName {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -0.02em;
  color: var(--ink);
}

.dir__signRole {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body);
  color: var(--muted);
}

.dir__signDot {
  margin: 0 8px;
  color: var(--muted-2);
}

.dir__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.dir__eyebrowMobile {
  display: none;
}

.dir__btnShort {
  display: none;
}

@media (max-width: 900px) {
  .dir__inner {
    display: flex;
    flex-direction: column;
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .dir__eyebrowMobile {
    display: inline-flex;
    order: 1;
    margin-bottom: 0;
  }
  .dir__eyebrowDesktop {
    display: none;
  }
  .dir__quote {
    order: 2;
  }
  .dir__portrait {
    order: 3;
    max-width: 320px;
    margin: 0 auto;
    width: 100%;
    aspect-ratio: 4 / 5;
  }
  .dir__body {
    order: 4;
    display: contents;
  }
  .dir__sign {
    order: 5;
  }
  .dir__actions {
    order: 6;
  }
  .dir__idx {
    display: none;
  }
}

@media (max-width: 1100px) {
  .dir .dir__portrait .dir__portraitBadge {
    left: 10px;
    bottom: 10px;
    gap: 3px;
    padding: 3px 7px;
    font-size: 8px;
    letter-spacing: 0.01em;
    line-height: 1;
  }
  .dir .dir__portrait .dir__portraitBadge svg {
    width: 8px;
    height: 8px;
  }
}

@media (max-width: 520px) {
  .dir {
    padding: var(--pad-section-y) 0;
  }
  .dir__quote p {
    font-size: var(--fs-body-lg);
  }
  .dir__portraitBadge {
    left: 8px;
    bottom: 8px;
    gap: 2px;
    padding: 1px 5px;
    font-size: 5px;
    letter-spacing: 0;
    line-height: 1;
  }
  .dir__portraitBadge svg {
    width: 5px;
    height: 5px;
  }
  .dir__actions {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
  }
  .dir__actions {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
  }
  .dir__btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 11px 8px;
    letter-spacing: 0.02em;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .dir__btn svg {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
  }
  .dir__btn--primary {
    gap: 6px;
  }
  .dir__btnFull {
    display: none;
  }
  .dir__btnShort {
    display: inline;
  }
}

/* =========================================================================
   BEFORE/AFTER — До · Після (Block 6)
   ========================================================================= */

.ba {
  position: relative;
  background: var(--bg);
  padding: var(--pad-section-y) 0;
}

.ba__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad-side);
}

.ba__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  margin-bottom: clamp(32px, 4vw, 48px);
  padding-bottom: clamp(24px, 3vw, 32px);
  border-bottom: 1px solid var(--line);
}

.ba__idx {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--pad-section-y-sm);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--lavender);
  padding-top: 6px;
}

.ba__headText {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 820px;
}


.ba__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--fs-h2);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
  color: var(--ink);
}

.ba__lead {
  margin: 6px 0 0;
  font-family: var(--font-body);
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--muted);
  max-width: 56ch;
}

/* Filters */
.ba__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(24px, 3vw, 32px);
}

@media (max-width: 640px) {
  /* Mobile: horizontal scrollable chip row (no wrap) */
  .ba__filters {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    gap: 6px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .ba__filters::-webkit-scrollbar {
    display: none;
  }
  .ba__filter {
    flex: 0 0 auto;
    width: auto;
    padding: 7px 12px;
    font-size: var(--fs-eyebrow);
    scroll-snap-align: start;
  }
}

.ba__filter {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch-target);
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-family: var(--font-brand);
  font-weight: 500;
  font-size: var(--fs-meta);
  letter-spacing: 0.03em;
  color: var(--ink-2);
  cursor: pointer;
  transition: background 0.25s var(--ease-out), border-color 0.25s var(--ease-out),
    color 0.25s var(--ease-out);
}

@media (hover: hover) {
.ba__filter:hover {
  border-color: var(--lavender);
  color: var(--lavender-700);
}
}

.ba__filter[aria-selected='true'] {
  background: var(--lavender-700);
  border-color: var(--lavender-700);
  color: var(--bg);
}

/* Stage: slider + info panel */
.ba__stage {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
  gap: clamp(16px, 2vw, 28px);
  margin-bottom: clamp(24px, 3vw, 36px);
}

.ba__slider {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: var(--lavender-50);
  touch-action: none;
  user-select: none;
  cursor: ew-resize;
  box-shadow: 0 30px 60px -30px color-mix(in oklab, var(--lavender-700) 35%, transparent);
}

.ba__slider:focus-visible {
  outline: 2px solid var(--lavender-700);
  outline-offset: 3px;
}

.ba__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

.ba__img--before {
  z-index: 2;
}

.ba__img--after {
  z-index: 1;
}

.ba__tag {
  position: absolute;
  top: 16px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-brand);
  font-weight: 500;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  z-index: 3;
  pointer-events: none;
}

.ba__tag--before {
  left: 16px;
  background: color-mix(in oklab, var(--bg) 90%, transparent);
  color: var(--ink);
  border: 1px solid color-mix(in oklab, var(--bg) 70%, transparent);
}

.ba__tag--after {
  right: 16px;
  background: color-mix(in oklab, var(--ink) 70%, transparent);
  color: var(--bg);
  border: 1px solid color-mix(in oklab, var(--bg) 14.0%, transparent);
}

.ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  z-index: 4;
  pointer-events: none;
}

.ba__handleLine {
  position: absolute;
  inset: 0;
  background: var(--bg);
  box-shadow: 0 0 20px color-mix(in oklab, var(--ink) 35%, transparent);
}

.ba__handleGrip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px -8px color-mix(in oklab, var(--ink) 50%, transparent),
    0 0 0 1px color-mix(in oklab, var(--ink) 8%, transparent);
}

/* Info panel */
.ba__panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(22px, 2vw, 28px);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-2xl);
}

.ba__panelCat {
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--lavender-50);
  border: 1px solid var(--lavender-100);
  font-family: var(--font-brand);
  font-weight: 500;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lavender-700);
}

.ba__panelTitle {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-h3);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.ba__meta {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ba__meta > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 7px 0;
}

.ba__meta dt {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.ba__meta dd {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-body);
  color: var(--ink);
}

.ba__panelFoot {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  line-height: 1.5;
  color: var(--muted-2);
}

/* Thumbs row */
.ba__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.ba__thumb {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  aspect-ratio: 16 / 10;
  padding: 14px;
  background: var(--lavender-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  isolation: isolate;
  transition: border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.ba__thumbImg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  filter: saturate(0.95);
  transition: transform 0.6s var(--ease-out);
}

.ba__thumbImg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, color-mix(in oklab, var(--ink) 15%, transparent) 0%, color-mix(in oklab, var(--ink) 55.0%, transparent) 100%);
}

.ba__thumbNum,
.ba__thumbCat {
  position: relative;
  z-index: 1;
  color: var(--bg);
  font-family: var(--font-brand);
}

.ba__thumbNum {
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.18em;
  color: color-mix(in oklab, var(--bg) 75%, transparent);
}

.ba__thumbCat {
  margin-top: auto;
  font-size: var(--fs-body);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--bg);
}

@media (hover: hover) {
.ba__thumb:hover {
  border-color: var(--lavender);
}
}

@media (hover: hover) {
.ba__thumb:hover .ba__thumbImg {
  transform: scale(1.04);
}
}

.ba__thumb[aria-current='true'] {
  border-color: var(--lavender-700);
  box-shadow: 0 0 0 1px var(--lavender-700);
}

@media (max-width: 960px) {
  .ba__stage {
    grid-template-columns: 1fr;
  }
  .ba__head {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .ba__idx {
    font-size: 64px;
  }
}

@media (max-width: 520px) {
  .ba {
    padding: var(--pad-section-y) 0;
  }
  .ba__head {
    margin-bottom: 18px;
    padding-bottom: 16px;
  }
  .ba__title {
    font-size: 28px;
    line-height: 1.1;
  }
  .ba__lead {
    font-size: var(--fs-small);
    line-height: 1.45;
  }
  .ba__filters {
    gap: 6px;
    margin-bottom: 16px;
  }
  .ba__filter {
    padding: 8px 14px;
    font-size: var(--fs-meta);
  }
  .ba__stage {
    gap: 0;
    background: var(--bg);
    border: 1px solid var(--line);
    border-bottom: 0;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    box-shadow: none;
    margin-bottom: 0;
  }
  .ba__slider {
    aspect-ratio: 16 / 11;
    border-radius: 0;
    box-shadow: none;
  }
  .ba__handleGrip {
    width: 32px;
    height: 32px;
  }
  .ba__tag {
    font-size: var(--fs-eyebrow);
    padding: 4px 9px;
  }
  .ba__panel {
    padding: 14px 16px;
    border-radius: 0;
    border: 0;
    border-top: 1px solid var(--line);
    gap: 10px;
  }
  .ba__panelCat {
    font-size: var(--fs-eyebrow);
    padding: 4px 10px;
  }
  .ba__panelTitle {
    font-size: 18px;
    line-height: 1.2;
  }
  .ba__meta {
    gap: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .ba__meta dt {
    font-size: var(--fs-eyebrow);
  }
  .ba__meta dd {
    font-size: var(--fs-small);
  }
  .ba__cta {
    padding: 12px 16px;
  }
  .ba__panelFoot {
    font-size: var(--fs-eyebrow);
  }
  .ba__thumbs {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding: 14px;
    margin: 0;
    background: var(--bg);
    border: 1px solid var(--line);
    border-top: 1px solid var(--line);
    border-radius: 0 0 16px 16px;
    box-shadow: 0 6px 18px -10px color-mix(in oklab, var(--lavender-700) 25%, transparent);
    scrollbar-width: none;
  }
  .ba__thumbs::-webkit-scrollbar {
    display: none;
  }
  .ba__thumb {
    flex: 0 0 110px;
    aspect-ratio: 3 / 4;
    padding: 8px;
    border-radius: 10px;
    scroll-snap-align: start;
  }
  .ba__thumbNum {
    font-size: 9px;
    letter-spacing: 0.12em;
  }
  .ba__thumbCat {
    font-size: var(--fs-eyebrow);
  }
}

/* =========================================================================
   PROMOTIONS — Акції (Block 7, horizontal scroll)
   ========================================================================= */

.pr {
  position: relative;
  background: var(--bg);
  padding: var(--pad-section-y) 0;
}

.pr__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad-side);
}

.pr__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: var(--gap-xl);
  padding-bottom: clamp(20px, 2.4vw, 28px);
  border-bottom: 1px solid var(--line);
}

.pr__headLeft {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(24px, 3vw, 44px);
  align-items: end;
}

.pr__idx {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--fs-h1);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--lavender);
}

.pr__headText {
  display: flex;
  flex-direction: column;
  gap: 10px;
}


.pr__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--fs-h2);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
  color: var(--ink);
}

.pr__controls {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.pr__arrow {
  appearance: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s var(--ease-out), background 0.25s var(--ease-out),
    color 0.25s var(--ease-out), opacity 0.25s var(--ease-out);
}

@media (hover: hover) {
.pr__arrow:hover:not(:disabled) {
  border-color: var(--lavender-700);
  background: var(--lavender-700);
  color: var(--bg);
}
}

.pr__arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Horizontal scroll track */
.pr__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(280px, 28vw, 360px);
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--pad-side);
  padding: 6px 0 20px;
  margin: 0 calc(-1 * var(--pad-side));
  padding-left: var(--pad-side);
  padding-right: var(--pad-side);
  scrollbar-width: none;
}

.pr__track::-webkit-scrollbar {
  display: none;
}

/* Archive variant: full grid of all promotions, no horizontal scroll.
   Used on the /offers/ aggregator page (page-offers.php). */
.pr__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  padding: 6px 0 20px;
}

.pr--archive .pr__head {
  margin-bottom: clamp(20px, 2.4vw, 32px);
}

.pr--archive .pr__title {
  font: 300 clamp(32px, 4vw, 56px) / 1.1 var(--font-display);
  letter-spacing: -0.02em;
  margin: 0;
}

.pr__lead {
  max-width: 64ch;
  margin-top: 12px;
  color: var(--muted);
  font: 400 var(--fs-body) / 1.55 var(--font-body);
  text-wrap: pretty;
}

.pr__lead p {
  margin: 0 0 8px;
}

.pr__lead p:last-child {
  margin-bottom: 0;
}

.pr__empty {
  margin: 24px 0;
  color: var(--muted);
  font: 400 var(--fs-body) / 1.5 var(--font-body);
}

/* Card */
.pr__card {
  position: relative;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  overflow: hidden;
  isolation: isolate;
}

.pr__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  background-color: var(--lavender-50);
}

.pr__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, color-mix(in oklab, var(--ink) 25%, transparent) 100%);
}

.pr__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-brand);
  font-weight: 600;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pr__badge[data-variant='sale'] {
  background: var(--lavender-700);
  color: var(--bg);
}

.pr__badge[data-variant='plain'] {
  background: color-mix(in oklab, var(--bg) 92%, transparent);
  color: var(--ink);
  border: 1px solid color-mix(in oklab, var(--bg) 70%, transparent);
  backdrop-filter: blur(10px);
}

.pr__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(18px, 1.8vw, 24px);
  flex: 1 1 auto;
}

.pr__tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--lavender-50);
  border: 1px solid var(--lavender-100);
  font-family: var(--font-brand);
  font-weight: 500;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lavender-700);
}

.pr__cardTitle {
  margin: 2px 0 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 1.4vw, 20px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.pr__desc {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pr__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 4px;
}

.pr__price strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-h3);
  letter-spacing: -0.02em;
  color: var(--ink);
}

.pr__price s {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  color: var(--muted-2);
  text-decoration-thickness: 1px;
}

.pr__cardFoot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pr__until {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.06em;
  color: var(--muted);
}

@media (max-width: 780px) {
  .pr__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .pr__headLeft {
    grid-template-columns: auto 1fr;
    gap: 16px;
  }
  .pr__idx {
    font-size: 56px;
  }
  .pr__track {
    grid-auto-columns: 82%;
  }
}

/* =========================================================================
   TEAM — Команда лікарів (Block 8)
   ========================================================================= */

.tm {
  position: relative;
  background: var(--bg);
  padding: var(--pad-section-y) 0;
}

.tm__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad-side);
}

.tm__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(28px, 4vw, 56px);
  align-items: end;
  margin-bottom: clamp(32px, 4vw, 48px);
  padding-bottom: clamp(24px, 3vw, 32px);
  border-bottom: 1px solid var(--line);
}

.tm__idx {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--pad-section-y-sm);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--lavender);
  padding-top: 6px;
}

.tm__headText {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
}


.tm__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--fs-h2);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
  color: var(--ink);
}

.tm__lead {
  margin: 4px 0 0;
  font-family: var(--font-body);
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--muted);
  max-width: 56ch;
}

.tm__all {
  justify-self: end;
}

/* Stage: tabs on left + card on right */
.tm__stage {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.6fr);
  gap: clamp(16px, 2vw, 28px);
  align-items: stretch;
}

/* Tabs column */
.tm__tabs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-2xl);
  align-self: stretch;
  /* Cap to ~8 visible doctor rows; scroll when there are more. */
  max-height: 620px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

.tm__tabs::-webkit-scrollbar {
  width: 6px;
}
.tm__tabs::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 3px;
}
.tm__tabs::-webkit-scrollbar-track {
  background: transparent;
}

.tm__tab {
  appearance: none;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: transparent;
  border: 0;
  border-radius: var(--radius-md);
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  color: var(--ink);
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out);
  position: relative;
  isolation: isolate;
}

.tm__tab::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 0;
  background: var(--lavender-700);
  border-radius: 2px;
  transition: height 0.3s var(--ease-out);
}

@media (hover: hover) {
.tm__tab:hover {
  background: var(--lavender-50);
}
.card.tm__tab:hover {
  box-shadow: none;
  transform: none;
}
}

.tm__tab[aria-selected='true'] {
  background: var(--lavender-50);
}

.tm__tab[aria-selected='true']::before {
  height: 28px;
}

.tm__tabIdx {
  font-family: var(--font-brand);
  font-weight: 500;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.2em;
  color: var(--muted-2);
  padding-left: 10px;
}

.tm__tab[aria-selected='true'] .tm__tabIdx {
  color: var(--lavender-700);
}

.tm__tabBody {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.tm__tabName {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tm__tabRole {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-meta);
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tm__tabArrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: var(--muted-2);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out),
    color 0.25s var(--ease-out);
}

@media (hover: hover) {
.tm__tab:hover .tm__tabArrow,
.tm__tab[aria-selected='true'] .tm__tabArrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--lavender-700);
}
}

/* Active doctor card */
.tm__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  overflow: hidden;
  isolation: isolate;
}

.tm__cardMedia {
  position: relative;
  background-size: cover;
  background-position: center top;
  background-color: var(--lavender-50);
  min-height: 360px;
  filter: saturate(0.97);
}

.tm__cardMedia::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, color-mix(in oklab, var(--ink) 28.0%, transparent) 100%);
}

.tm__cardExp {
  position: absolute;
  left: clamp(14px, 1.4vw, 20px);
  bottom: clamp(14px, 1.4vw, 20px);
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: color-mix(in oklab, var(--bg) 94%, transparent);
  backdrop-filter: blur(14px);
  border: 1px solid color-mix(in oklab, var(--bg) 70%, transparent);
  z-index: 2;
}

.tm__cardExp strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.tm__cardExp span {
  font-family: var(--font-brand);
  font-weight: 500;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.tm__cardBody {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(24px, 2.4vw, 34px);
}

.tm__cardRole {
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--lavender-50);
  border: 1px solid var(--lavender-100);
  font-family: var(--font-brand);
  font-weight: 500;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lavender-700);
}

.tm__cardName {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.tm__cardSpec {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-body);
  color: var(--muted);
}

.tm__cardRegalia {
  margin: 0;
  font: 500 var(--fs-body) / 1.5 var(--font-body);
  color: var(--ink);
  max-width: 48ch;
  text-wrap: pretty;
  letter-spacing: 0.005em;
}

.tm__cardRegalia[hidden] {
  display: none;
}

.tm__cardBio {
  margin: 4px 0 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 48ch;
}

.tm__cardTags {
  list-style: none;
  padding: 14px 0;
  margin: 6px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.tm__cardTags li {
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: var(--lavender-50);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-meta);
  color: var(--lavender-700);
}

.tm__cardActions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

@media (max-width: 960px) {
  .tm__stage {
    grid-template-columns: 1fr;
  }
  .tm__tabs {
    flex-direction: row;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 6px;
    gap: 4px;
  }
  .tm__tabs::-webkit-scrollbar {
    display: none;
  }
  .tm__tab {
    flex-shrink: 0;
    min-width: 180px;
  }
  .tm__card {
    grid-template-columns: 1fr;
  }
  .tm__cardMedia {
    min-height: 280px;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 780px) {
  .tm__head {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .tm__all {
    justify-self: flex-start;
  }
  .tm__idx {
    font-size: 64px;
  }
}

@media (max-width: 520px) {
  .tm {
    padding: var(--pad-section-y) 0;
  }
  .tm__cardExp {
    left: 10px;
    bottom: 10px;
    gap: 4px;
    padding: 4px 9px;
  }
  .tm__cardExp strong {
    font-size: var(--fs-eyebrow);
  }
  .tm__cardExp span {
    font-size: 7px;
    letter-spacing: 0.1em;
  }
  .tm__cardActions {
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
  }
  .tm__btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 12px 12px;
    justify-content: center;
    text-align: center;
  }
  .tm__btn svg {
    flex-shrink: 0;
  }
}

/* =========================================================================
   STATIONARY — Наш стаціонар (Block 9)
   ========================================================================= */

.st {
  position: relative;
  background: var(--bg);
  padding: var(--pad-section-y) 0;
  overflow: hidden;
}

.st::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(45% 35% at 85% 15%, color-mix(in oklab, var(--lavender) 20%, transparent) 0%, transparent 70%);
  pointer-events: none;
}

.st__inner {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad-side);
}

.st__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  margin-bottom: clamp(36px, 4vw, 56px);
  padding-bottom: clamp(24px, 3vw, 32px);
  border-bottom: 1px solid var(--line);
}

.st__idx {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--pad-section-y-sm);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--lavender);
  padding-top: 6px;
}

.st__headText {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
}


.st__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--fs-h2);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
  color: var(--ink);
}

.st__lead {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--muted);
  max-width: 56ch;
}

/* Main grid: features + visual */
.st__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(20px, 2.4vw, 36px);
  margin-bottom: var(--gap-xl);
}

/* Features list — numbered protocol rows */
.st__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}

.st__feature {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(16px, 2vw, 24px);
  align-items: flex-start;
  padding: clamp(20px, 2.2vw, 28px) clamp(8px, 1vw, 12px);
  border-bottom: 1px solid var(--line);
  transition: background 0.25s var(--ease-out);
}

.st__feature:last-child {
  border-bottom: 0;
}

@media (hover: hover) {
.st__feature:hover {
  background: var(--lavender-50);
}
}

.st__featureIdx {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(32px, 3.2vw, 44px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--lavender);
  min-width: 60px;
}

.st__featureBody {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 6px;
}

.st__featureTitle {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.st__featureDesc {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--muted);
  max-width: 48ch;
}

.st__featureCheck {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--lavender-50);
  color: var(--lavender-700);
  margin-top: 8px;
  flex-shrink: 0;
}

/* Visual — big photo with caption + amenity stats */
.st__visual {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  isolation: isolate;
  background: var(--lavender-50);
  min-height: 420px;
  display: grid;
  grid-template-rows: 1fr auto;
  box-shadow: var(--shadow-card);
}

.st__visualImg {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 280px;
}

.st__visualImg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    color-mix(in oklab, var(--ink) 18%, transparent) 0%,
    transparent 35%,
    color-mix(in oklab, var(--ink) 55.0%, transparent) 100%
  );
}

.st__visualCaption {
  position: absolute;
  left: var(--radius-xl);
  right: var(--radius-xl);
  top: var(--radius-xl);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 2;
  max-width: 360px;
}

.st__visualTag {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: color-mix(in oklab, var(--bg) 94%, transparent);
  backdrop-filter: blur(12px);
  border: 1px solid color-mix(in oklab, var(--bg) 70%, transparent);
  font-family: var(--font-brand);
  font-weight: 600;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lavender-700);
}

.st__visualText {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-lead);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--bg);
  text-shadow: 0 2px 20px color-mix(in oklab, var(--ink) 60%, transparent);
}

/* Amenities row — bottom bar on visual */
.st__amenities {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  background: color-mix(in oklab, var(--bg) 94%, transparent);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}

.st__amenity {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: clamp(16px, 1.8vw, 22px) clamp(14px, 1.6vw, 20px);
  border-right: 1px solid var(--line);
}

.st__amenity:last-child {
  border-right: 0;
}

.st__amenity dt {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  order: 2;
}

.st__amenity dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  order: 1;
}

/* Foot — full-width text + CTA */
.st__foot {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) auto;
  gap: var(--pad-side);
  align-items: center;
  padding: clamp(22px, 2.4vw, 32px);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-2xl);
}

.st__footText {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 72ch;
}

.st__footText strong {
  color: var(--lavender-700);
  font-weight: 600;
}

@media (max-width: 960px) {
  .st__grid {
    grid-template-columns: 1fr;
  }
  .st__head {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .st__idx {
    font-size: 64px;
  }
  .st__foot {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .st__cta {
    justify-self: flex-start;
  }
}

@media (max-width: 520px) {
  .st {
    padding: var(--pad-section-y) 0;
  }
  .st__amenities {
    grid-template-columns: repeat(2, 1fr);
  }
  .st__amenity {
    border-bottom: 1px solid var(--line);
  }
  .st__amenity:nth-last-child(-n+2) {
    border-bottom: 0;
  }
  .st__amenity:nth-child(2n) {
    border-right: 0;
  }
}

/* =========================================================================
   REVIEWS — Відгуки (Block 10)
   ========================================================================= */

.rv {
  position: relative;
  background: var(--bg);
  padding: var(--pad-section-y) 0;
}

.rv--tinted {
  background: var(--lavender-50);
}

.rv__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad-side);
}

.rv__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  margin-bottom: clamp(32px, 4vw, 48px);
  padding-bottom: clamp(24px, 3vw, 32px);
  border-bottom: 1px solid var(--line);
}

.rv__idx {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--pad-section-y-sm);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--lavender);
  padding-top: 6px;
}

.rv__headText {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
}


.rv__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--fs-h2);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
  color: var(--ink);
}

.rv__lead {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--muted);
  max-width: 56ch;
}

/* Grid of review cards — 3 columns × 2 rows */
.rv__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.2vw, 18px);
  margin-bottom: var(--gap-lg);
}

.rv__card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rv__cardTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rv__stars {
  display: inline-flex;
  flex-shrink: 0;
  gap: 2px;
}

.rv__stars svg[data-on='true'] {
  color: var(--lavender-700);
}

.rv__stars svg[data-on='false'] {
  color: var(--line);
}

.rv__source {
  font-family: var(--font-brand);
  font-weight: 500;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.rv__quote {
  margin: 0;
  flex: 1;
}

.rv__quote p {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink-2);
  text-wrap: pretty;
}

.rv__cardFoot {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.rv__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--lavender-50);
  border: 1px solid var(--lavender-100);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-small);
  letter-spacing: -0.01em;
  color: var(--lavender-700);
}

.rv__author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.rv__authorName {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-body);
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rv__authorMeta {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rv__date {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  color: var(--muted-2);
  white-space: nowrap;
}

/* Foot-card — summary + CTA (same skeleton as Stationary .st__foot) */
.rv__foot {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) auto;
  gap: var(--pad-side);
  align-items: center;
  padding: clamp(22px, 2.4vw, 32px);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-2xl);
}

.rv__footStats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
}

.rv__footStats > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 clamp(16px, 2vw, 28px);
  border-right: 1px solid var(--line);
}

.rv__footStats > div:first-child {
  padding-left: 0;
}

.rv__footStats > div:last-child {
  border-right: 0;
}

.rv__footStats dt {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.rv__footStats dd {
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.rv__footStats dd strong {
  font-weight: 500;
}

.rv__footStats dd .rv__stars svg {
  width: 12px;
  height: 12px;
}

@media (max-width: 1100px) {
  .rv__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .rv__head {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .rv__idx {
    font-size: 64px;
  }
  .rv__foot {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .rv__cta {
    justify-self: flex-start;
  }
}

@media (max-width: 640px) {
  .rv__grid {
    display: flex;
    grid-template-columns: none;
    align-items: stretch;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .rv__grid::-webkit-scrollbar {
    display: none;
  }
  .rv__card {
    flex: 0 0 86%;
    scroll-snap-align: start;
  }
  .rv__quote {
    flex: 0 0 auto;
  }
  .rv__foot {
    display: flex;
    flex-direction: column;
    padding: 0;
  }
  .rv__footStats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
  .rv__footStats > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 4px;
    padding: 18px clamp(10px, 3vw, 22px);
    border-right: 1px solid var(--line);
  }
  .rv__footStats > div:last-child {
    border-right: 0;
  }
  .rv__footStats dt {
    order: 2;
    letter-spacing: 0.12em;
  }
  .rv__footStats dd {
    order: 1;
    justify-content: center;
    font-size: 28px;
  }
  .rv__footStats dd .rv__stars {
    display: none;
  }
  .rv__foot > .rv__cta {
    align-self: center;
    width: auto;
    min-height: var(--touch-target);
    justify-content: center;
    margin: 14px 0;
    padding: 11px 18px;
    letter-spacing: 0.04em;
    gap: 6px;
  }
  .rv__foot > .rv__cta svg {
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 520px) {
  .rv {
    padding: var(--pad-section-y) 0;
  }
}

/* Reviews — media (photo / video) thumbnail + lightbox */
.rv__media {
  position: relative;
  display: block;
  margin: calc(clamp(22px, 2vw, 28px) * -1) calc(clamp(22px, 2vw, 28px) * -1) 4px;
  padding: 0;
  border: 0;
  background: var(--lavender-50);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  cursor: pointer;
  isolation: isolate;
  transition: transform 0.3s var(--ease-out);
}

.rv__media--portrait {
  aspect-ratio: 4 / 5;
}

@media (hover: hover) {
.rv__media:hover .rv__mediaThumb {
  transform: scale(1.04);
}
}

.rv__media:focus-visible {
  outline: 2px solid var(--lavender-700);
  outline-offset: 3px;
}

.rv__mediaThumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 0.4s var(--ease-out);
}

.rv__mediaThumb--placeholder {
  background: linear-gradient(135deg, var(--lavender-50) 0%, color-mix(in oklab, var(--lavender) 35%, transparent) 100%);
}

.rv__mediaPlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  background: linear-gradient(180deg, color-mix(in oklab, var(--ink) 0%, transparent) 50%, color-mix(in oklab, var(--ink) 35%, transparent) 100%);
}

.rv__mediaPlay::before {
  content: '';
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--bg) 55%, transparent);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 32px -8px color-mix(in oklab, var(--ink) 45%, transparent);
  transition: transform 0.3s var(--ease-out), background 0.3s var(--ease-out);
}

@media (hover: hover) {
.rv__media:hover .rv__mediaPlay::before {
  transform: scale(1.08);
  background: var(--bg);
}
}

.rv__mediaPlay svg {
  position: relative;
  z-index: 2;
  color: var(--lavender-700);
  transform: translateX(2px);
}

/* Lightbox */
.rv__lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 40px);
  opacity: 0;
  transition: opacity 0.25s var(--ease-out);
}

.rv__lightbox[hidden] {
  display: none;
}

.rv__lightbox[data-open='true'] {
  opacity: 1;
}

.rv__lightboxBackdrop {
  position: absolute;
  inset: 0;
  background: color-mix(in oklab, var(--ink) 86%, transparent);
  backdrop-filter: blur(6px);
}

.rv__lightboxInner {
  position: relative;
  z-index: 2;
  width: min(100%, 1024px);
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rv__lightboxClose {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid color-mix(in oklab, var(--bg) 25%, transparent);
  background: color-mix(in oklab, var(--bg) 8%, transparent);
  color: var(--bg);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s var(--ease-out);
}

@media (hover: hover) {
.rv__lightboxClose:hover {
  background: color-mix(in oklab, var(--bg) 18%, transparent);
}
.btn.rv__lightboxClose:hover {
  border-color: color-mix(in oklab, var(--bg) 25%, transparent);
  color: var(--bg);
  transform: none;
}
}

.rv__lightboxStage {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rv__lightboxStage img,
.rv__lightboxStage video {
  display: block;
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  border-radius: clamp(12px, 1vw, 18px);
  background: var(--ink);
}

/* Iframe wrapper handles aspect-ratio for embeds (YouTube/Vimeo) */
.rv__lightboxStage .rv__embed {
  position: relative;
  width: 100%;
  max-width: 100%;
  max-height: 85vh;
  border-radius: clamp(12px, 1vw, 18px);
  overflow: hidden;
  background: var(--ink);
}

.rv__lightboxStage .rv__embed[data-orientation='portrait'] {
  width: auto;
  max-width: min(480px, 90vw);
  aspect-ratio: 9 / 16;
}

.rv__lightboxStage .rv__embed:not([data-orientation='portrait']) {
  aspect-ratio: 16 / 9;
}

.rv__lightboxStage .rv__embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .rv__lightbox,
  .rv__media,
  .rv__mediaThumb,
  .rv__mediaPlay::before {
    transition: none;
  }
}

/* =========================================================================
   BLOG — Корисне для здоров'я (Block 11)
   ========================================================================= */

.bl {
  position: relative;
  background: var(--bg);
  padding: var(--pad-section-y) 0;
}

.bl__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad-side);
}

.bl__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  margin-bottom: clamp(32px, 4vw, 48px);
  padding-bottom: clamp(24px, 3vw, 32px);
  border-bottom: 1px solid var(--line);
}

.bl__idx {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--pad-section-y-sm);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--lavender);
  padding-top: 6px;
}

.bl__headText {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
}


.bl__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--fs-h2);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
  color: var(--ink);
}

.bl__lead {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--muted);
  max-width: 56ch;
}

/* Grid of post cards */
.bl__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 20px);
  margin-bottom: var(--radius-xl);
}

.bl__card {
  overflow: hidden;
  isolation: isolate;
}

.bl__link {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.bl__cover {
  position: relative;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  background-color: var(--lavender-50);
  filter: saturate(0.97);
  transition: transform 0.8s var(--ease-out);
}

/* Doctor archive cards: portraits, so use vertical ratio with face-priority crop. */
.page--doctors .bl__cover {
  aspect-ratio: 4 / 5;
  background-position: center top;
}

.bl__cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, color-mix(in oklab, var(--ink) 22%, transparent) 100%);
}

@media (hover: hover) {
.bl__card:hover .bl__cover {
  transform: scale(1.03);
}
}

.bl__tag {
  position: absolute;
  top: var(--gap-sm);
  left: var(--gap-sm);
  z-index: 2;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: color-mix(in oklab, var(--bg) 94%, transparent);
  backdrop-filter: blur(12px);
  border: 1px solid color-mix(in oklab, var(--bg) 70%, transparent);
  font-family: var(--font-brand);
  font-weight: 500;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lavender-700);
}

.bl__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(20px, 2vw, 26px) clamp(20px, 2vw, 26px) 8px;
  flex: 1;
}

.bl__cardTitle {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-h3);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
  color: var(--ink);
}

.bl__excerpt {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  line-height: 1.55;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bl__cardFoot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 14px clamp(20px, 2vw, 26px) clamp(18px, 1.8vw, 22px);
  border-top: 1px solid var(--line);
}

.bl__date,
.bl__reading {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  color: var(--muted);
  letter-spacing: 0.02em;
}

.bl__dot {
  color: var(--muted-2);
}

.bl__arrow {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--lavender-50);
  color: var(--lavender-700);
  transition: transform 0.3s var(--ease-out), background 0.3s var(--ease-out);
}

@media (hover: hover) {
.bl__card:hover .bl__arrow {
  transform: translateX(3px);
  background: var(--lavender);
  color: var(--ink);
}
}

/* Foot — same skeleton as Stationary/Reviews */
.bl__foot {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) auto;
  gap: var(--pad-side);
  align-items: center;
  padding: clamp(22px, 2.4vw, 32px);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-2xl);
}

.bl__footText {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 72ch;
}

@media (max-width: 960px) {
  .bl__head {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .bl__idx {
    font-size: 64px;
  }
  .bl__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bl__foot {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .bl__cta {
    justify-self: flex-start;
  }
}

@media (max-width: 640px) {
  .bl__grid {
    grid-template-columns: 1fr;
  }
  .bl__excerpt {
    display: block;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    -webkit-box-orient: initial;
    overflow: visible;
  }
}

@media (max-width: 520px) {
  .bl {
    padding: var(--pad-section-y) 0;
  }
}

/* -------------------------------------------------------------------------
   Doctors archive — compact team grid (smaller cards, desktop + mobile).
   Scoped to .page--doctors so the shared blog grid is untouched.
   Specificity (0,2,0) beats both .bl__grid and .bl__grid--3col.
   ------------------------------------------------------------------------- */
.page--doctors .bl__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.2vw, 18px);
}

.page--doctors .bl__body {
  gap: 6px;
  padding: clamp(12px, 1.2vw, 16px) clamp(14px, 1.2vw, 18px) 6px;
}

.page--doctors .bl__cardTitle {
  font-size: var(--fs-body);
}

.page--doctors .bl__excerpt {
  font-size: var(--fs-eyebrow);
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.page--doctors .bl__cardFoot {
  gap: 6px;
  padding: 10px clamp(14px, 1.2vw, 18px) 12px;
}

/* Role moved out of the photo into the body as a plain kicker above the
   name — the overlay pill was covering faces on the now-smaller portraits. */
.page--doctors .bl__tag {
  position: static;
  top: auto;
  left: auto;
  z-index: auto;
  padding: 0;
  background: none;
  backdrop-filter: none;
  border: 0;
  border-radius: 0;
  letter-spacing: 0.14em;
  color: var(--lavender-700);
}

@media (max-width: 960px) {
  .page--doctors .bl__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .page--doctors .bl__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* Keep doctor excerpt clamped in 2-col (base .bl__excerpt un-clamps at ≤640). */
  .page--doctors .bl__excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* =========================================================================
   BLOG INDEX / SINGLE POST — pagination + meta + cover
   ========================================================================= */

.bl__pagination {
  margin-top: clamp(32px, 4vw, 48px);
  display: flex;
  justify-content: center;
  gap: 8px;
  font: 500 var(--fs-small)/1 var(--font-body);
}

.bl__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: background 0.18s var(--ease-out), color 0.18s var(--ease-out);
}

@media (hover: hover) {
.bl__pagination .page-numbers:hover {
  background: var(--lavender-50);
  border-color: var(--lavender-300);
}
}

.bl__pagination .page-numbers.current {
  background: var(--lavender-700);
  border-color: var(--lavender-700);
  color: var(--bg);
}

.bl__pagination .page-numbers.dots {
  border: none;
  background: transparent;
  color: var(--muted);
}

.bl__empty {
  margin: clamp(40px, 6vw, 64px) 0;
  text-align: center;
  color: var(--muted);
  font: 400 var(--fs-body)/1.6 var(--font-body);
}

.post__head .post__meta {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font: 500 var(--fs-small)/1.4 var(--font-body);
}

.post__cover {
  margin: clamp(24px, 3vw, 40px) 0 clamp(28px, 3.5vw, 48px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--lavender-50);
}

.post__cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.post__body {
  max-width: 760px;
  margin: 0 auto;
  font: 400 var(--fs-body)/1.7 var(--font-body);
  color: var(--ink);
}

.post__body h2 {
  font: 600 var(--fs-h3)/1.25 var(--font-body);
  margin: clamp(28px, 3.5vw, 44px) 0 clamp(12px, 1.4vw, 18px);
  color: var(--ink);
}

.post__body h3 {
  font: 600 var(--fs-body-lg)/1.3 var(--font-body);
  margin: clamp(24px, 3vw, 36px) 0 clamp(10px, 1.2vw, 14px);
  color: var(--ink);
}

.post__body p {
  margin: 0 0 1.1em;
}

.post__body ul,
.post__body ol {
  margin: 0 0 1.2em;
  padding-left: 1.4em;
}

.post__body li {
  margin-bottom: 0.4em;
}

.post__body a {
  color: var(--lavender-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (hover: hover) {
.post__body a:hover {
  color: var(--lavender-800);
}
}

.post__body blockquote {
  margin: 1.4em 0;
  padding: 1em 1.2em;
  border-left: 3px solid var(--lavender-300);
  background: var(--lavender-50);
  border-radius: var(--radius-sm);
  font-style: italic;
  color: var(--ink);
}

.post__body img,
.post__body figure {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 1.4em 0;
}

/* =========================================================================
   BLOG INDEX — featured hero
   ========================================================================= */

.bl__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 48px);
  margin-bottom: clamp(40px, 5vw, 64px);
  padding: clamp(24px, 3vw, 36px);
  background: var(--lavender-50);
  border-radius: var(--radius-lg);
  align-items: center;
}

.bl__heroLink {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  position: relative;
}

.bl__heroCover {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--lavender-100);
  transition: transform 0.6s var(--ease-out);
}

@media (hover: hover) {
.bl__heroLink:hover .bl__heroCover {
  transform: scale(1.04);
}
}

.bl__heroBody {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.5vw, 18px);
}

.bl__heroTag {
  align-self: flex-start;
  /* Centre the all-caps label in the pill. line-height:1 is negative leading for
     Montserrat (~1.22 natural), and iOS Safari vs Chrome position that squeezed
     line box differently — so the caps drifted off-centre per device. A
     non-negative line-height (/1.2 in the font shorthand below) + flex centring
     renders identically across browsers. Pill-local; canonical .eyebrow untouched. */
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink);
  font: 600 var(--fs-eyebrow)/1.2 var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.18s var(--ease-out);
}

@media (hover: hover) {
.bl__heroTag:hover {
  background: var(--lavender-100);
}
}

.bl__heroTitle {
  font: 300 var(--fs-h2)/1.15 var(--font-display);
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}

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

@media (hover: hover) {
.bl__heroTitle a:hover {
  color: var(--lavender-700);
}
}

.bl__heroExcerpt {
  font: 400 var(--fs-body-lg)/1.55 var(--font-body);
  color: var(--muted);
  margin: 0;
}

.bl__heroMeta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font: 500 var(--fs-small)/1.4 var(--font-body);
}

.bl__heroCta {
  align-self: flex-start;
  margin-top: 8px;
  padding: 12px 22px;
}

.btn.bl__heroCta {
  padding: 12px 22px;
}

@media (max-width: 860px) {
  .bl__hero {
    grid-template-columns: 1fr;
  }
}

/* =========================================================================
   BLOG INDEX — toolbar (search + sort)
   ========================================================================= */

.bl__toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: stretch;
  margin-bottom: clamp(16px, 2vw, 24px);
}

.bl__search {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 4px 4px 4px 16px;
  transition: border-color 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out);
}

.bl__search:focus-within {
  border-color: var(--lavender-300);
  outline: 2px solid var(--lavender-700);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--lavender-700) 12%, transparent);
}

.bl__searchLabel {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
}

.bl__searchInput {
  border: none;
  background: transparent;
  font: 400 var(--fs-body)/1.4 var(--font-body);
  color: var(--ink);
  padding: 10px 12px;
  outline: 2px solid transparent;
  outline-offset: 3px;
  min-width: 0;
}

.bl__searchInput::placeholder {
  color: var(--muted);
}

.bl__searchBtn {
  border: none;
  padding: 10px 18px;
}

.btn.bl__searchBtn {
  padding: 10px 18px;
}

.bl__sort {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bl__sortLabel {
  font: 500 var(--fs-meta)/1 var(--font-body);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.bl__sortSelect {
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: var(--radius-pill);
  padding: 10px 32px 10px 14px;
  font: 500 var(--fs-small)/1 var(--font-body);
  color: var(--ink);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'><path d='M3 6l5 5 5-5' fill='none' stroke='currentColor' stroke-width='1.6' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

@media (max-width: 720px) {
  .bl__toolbar {
    grid-template-columns: 1fr;
  }
  .bl__sort {
    justify-content: space-between;
  }
}

/* =========================================================================
   BLOG INDEX — category chips
   ========================================================================= */

.bl__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(28px, 3vw, 40px);
}

.bl__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font: 500 var(--fs-small)/1 var(--font-body);
  transition: background 0.18s var(--ease-out), border-color 0.18s var(--ease-out), color 0.18s var(--ease-out);
}

@media (hover: hover) {
.bl__chip:hover {
  background: var(--lavender-50);
  border-color: var(--lavender-300);
}
}

.bl__chip--active {
  background: var(--lavender-700);
  border-color: var(--lavender-700);
  color: var(--bg);
}

@media (hover: hover) {
.bl__chip--active:hover {
  background: var(--lavender-700);
  color: var(--bg);
}
}

.bl__chipCount {
  font: 500 var(--fs-eyebrow)/1 var(--font-body);
  opacity: 0.7;
  padding: 2px 6px;
  background: color-mix(in oklab, var(--bg) 15%, transparent);
  border-radius: var(--radius-pill);
}

.bl__chip:not(.bl__chip--active) .bl__chipCount {
  background: var(--lavender-50);
  color: var(--muted);
}

/* =========================================================================
   BLOG INDEX — main + sidebar layout
   ========================================================================= */

.bl__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(28px, 3.5vw, 48px);
  align-items: start;
}

.bl__main {
  min-width: 0;
}

.bl__searchResult {
  margin: 0 0 18px;
  padding: 12px 16px;
  background: var(--lavender-50);
  border-radius: var(--radius-sm);
  color: var(--muted);
  font: 400 var(--fs-body)/1.4 var(--font-body);
}

.bl__searchResult strong {
  color: var(--ink);
}

.bl__grid--2col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bl__grid--3col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 980px) {
  .bl__layout {
    grid-template-columns: 1fr;
  }
  .bl__sidebar {
    order: 2;
    margin-top: 32px;
  }
}

@media (max-width: 720px) {
  .bl__grid--2col,
  .bl__grid--3col {
    grid-template-columns: 1fr;
  }
}

/* =========================================================================
   BLOG SIDEBAR — widgets
   ========================================================================= */

.bl__sidebar {
  position: sticky;
  top: calc(var(--header-height, 138px) + 16px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (max-width: 980px) {
  .bl__sidebar {
    position: static;
  }
}

.bl__widget {
  padding: 22px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.bl__widget--cta {
  background: linear-gradient(135deg, var(--lavender-100) 0%, var(--lavender-50) 100%);
  border-color: transparent;
}

.bl__widgetTitle {
  margin: 0 0 14px;
  font: 600 var(--fs-body)/1.3 var(--font-body);
  color: var(--ink);
  letter-spacing: 0.02em;
}

.bl__widgetLead {
  margin: 0 0 14px;
  font: 400 var(--fs-small)/1.5 var(--font-body);
  color: var(--muted);
}

.bl__widgetList {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bl__widgetList li + li {
  border-top: 1px solid var(--line);
}

.bl__widgetList a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  font: 500 var(--fs-small)/1.3 var(--font-body);
  color: var(--ink);
  text-decoration: none;
  transition: color 0.18s var(--ease-out);
}

@media (hover: hover) {
.bl__widgetList a:hover {
  color: var(--lavender-700);
}
}

.bl__widgetCount {
  font: 500 var(--fs-eyebrow)/1 var(--font-body);
  color: var(--muted);
  padding: 3px 8px;
  background: var(--lavender-50);
  border-radius: var(--radius-pill);
}

.bl__widgetRecent {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bl__widgetRecentLink {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.bl__widgetRecentCover {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background-size: cover;
  background-position: center;
}

.bl__widgetRecentTitle {
  display: block;
  font: 500 var(--fs-small)/1.35 var(--font-body);
  color: var(--ink);
  margin-bottom: 4px;
  transition: color 0.18s var(--ease-out);
}

@media (hover: hover) {
.bl__widgetRecentLink:hover .bl__widgetRecentTitle {
  color: var(--lavender-700);
}
}

.bl__widgetRecentDate {
  font: 500 var(--fs-eyebrow)/1 var(--font-body);
  color: var(--muted);
  letter-spacing: 0.04em;
}

.bl__subscribe {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bl__subscribeInput {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: var(--radius-pill);
  font: 400 var(--fs-small)/1.4 var(--font-body);
  color: var(--ink);
  outline: 2px solid transparent;
  outline-offset: 3px;
}

.bl__subscribeInput:focus {
  border-color: var(--lavender-300);
}

.bl__subscribeInput:focus-visible {
  outline-color: var(--lavender-700);
}

.bl__subscribeBtn {
  padding: 11px 14px;
  border: none;
}

.btn.bl__subscribeBtn {
  padding: 11px 14px;
}

/* =========================================================================
   POST SINGLE — TOC sidebar + share
   ========================================================================= */

.post__layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}

.post__aside {
  position: sticky;
  top: calc(var(--header-height, 138px) + 16px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 960px) {
  .post__layout {
    grid-template-columns: 1fr;
  }
  .post__aside {
    position: static;
    order: 1;
  }
  .post__body {
    order: 2;
  }
}

.post__toc {
  padding: 20px;
  background: var(--lavender-50);
  border-radius: var(--radius-md);
}

.post__tocTitle {
  margin: 0 0 12px;
  font: 600 var(--fs-meta)/1 var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.post__tocToggle {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: 600 var(--fs-small)/1 var(--font-body);
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  cursor: pointer;
}

.btn.post__tocToggle {
  min-height: 0;
  padding: 12px 16px;
}

@media (hover: hover) {
.btn.post__tocToggle:hover {
  background: var(--bg);
  border-color: var(--line);
  color: var(--ink);
  box-shadow: none;
  transform: none;
}
}

.post__tocToggle svg {
  transition: transform 0.2s var(--ease-out);
}

.post__tocToggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

@media (max-width: 960px) {
  .post__tocToggle {
    display: flex;
  }
  .post__tocTitle {
    display: none;
  }
  .post__toc {
    padding: 0;
    background: transparent;
  }
  .post__tocList {
    display: none;
    margin-top: 12px;
    padding: 16px;
    background: var(--lavender-50);
    border-radius: var(--radius-sm);
  }
  .post__toc[data-expanded="true"] .post__tocList {
    display: block;
  }
}

.post__tocList {
  list-style: none;
  margin: 0;
  padding: 0;
}

.post__tocItem {
  margin: 0;
}

.post__tocItem--h3 {
  padding-left: 14px;
}

.post__tocLink {
  display: block;
  padding: 6px 0;
  font: 500 var(--fs-small)/1.4 var(--font-body);
  color: var(--muted);
  text-decoration: none;
  border-left: 2px solid transparent;
  padding-left: 12px;
  margin-left: -14px;
  transition: color 0.18s var(--ease-out), border-color 0.18s var(--ease-out);
}

@media (hover: hover) {
.post__tocLink:hover {
  color: var(--ink);
}
}

.post__tocLink.is-active {
  color: var(--lavender-700);
  border-left-color: var(--lavender-700);
  font-weight: 600;
}

.post__share {
  padding: 16px 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.post__shareLabel {
  display: block;
  font: 600 var(--fs-eyebrow)/1 var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 10px;
}

.post__shareList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
}

.post__shareBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
  border-radius: 50%;
  background: var(--lavender-50);
  color: var(--lavender-700);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s var(--ease-out), color 0.18s var(--ease-out);
}

@media (hover: hover) {
.post__shareBtn:hover {
  background: var(--lavender-700);
  color: var(--bg);
}
}

.post__shareBtn--copy.is-copied {
  background: color-mix(in oklab, var(--success) 70%, var(--ink));
  color: var(--bg);
}

.post__related {
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line);
}

.post__relatedTitle {
  margin: 0 0 clamp(20px, 2.5vw, 32px);
  font: 600 var(--fs-h3)/1.2 var(--font-body);
  color: var(--ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================================
   FAQ — Часті питання (Block 12)
   ========================================================================= */

.fq {
  position: relative;
  background: var(--bg);
  padding: var(--pad-section-y) 0;
}

.fq__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad-side);
}

.fq__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  margin-bottom: clamp(32px, 4vw, 48px);
  padding-bottom: clamp(24px, 3vw, 32px);
  border-bottom: 1px solid var(--line);
}

.fq__idx {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--pad-section-y-sm);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--lavender);
  padding-top: 6px;
}

.fq__headText {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
}


.fq__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--fs-h2);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
  color: var(--ink);
}

.fq__lead {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--muted);
  max-width: 56ch;
}

/* Grid: aside contact + accordion */
.fq__grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.6fr);
  gap: clamp(16px, 2vw, 28px);
  align-items: start;
}

/* Aside */
.fq__aside {
  position: sticky;
  top: 92px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(24px, 2.4vw, 32px);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}

.fq__asideEye {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lavender-700);
}

.fq__asideEyeDot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lavender-700);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--lavender) 30%, transparent);
}

.fq__asideText {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--ink-2);
}

.fq__asideList {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}

.fq__asideLink {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  color: inherit;
  transition: color 0.2s var(--ease-out);
}

@media (hover: hover) {
.fq__asideLink:hover {
  color: var(--lavender-700);
}
}

.fq__asideIcon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--lavender-50);
  color: var(--lavender-700);
  border: 1px solid var(--lavender-100);
}

.fq__asideLabel {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.fq__asideValue {
  justify-self: end;
  font-family: var(--font-brand);
  font-weight: 500;
  font-size: var(--fs-small);
  color: var(--ink);
  letter-spacing: 0.01em;
}

.fq__asideCta {
  justify-content: space-between;
  width: 100%;
}

/* Accordion */
.fq__list {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.fq__item {
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease-out);
}

.fq__item:last-child {
  border-bottom: 0;
}

.fq__item[data-open='true'] {
  background: var(--lavender-50);
}

.fq__q {
  appearance: none;
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(14px, 1.6vw, 22px);
  align-items: center;
  padding: clamp(20px, 2.2vw, 26px) clamp(20px, 2.4vw, 32px);
  background: transparent;
  border: 0;
  border-radius: 0;
  text-align: left;
  text-transform: none;
  transform: none;
  box-shadow: none;
  cursor: pointer;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-body-lg);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

@media (hover: hover) {
.tm__tab:hover,
.fq__q:hover {
  box-shadow: none;
  transform: none;
}
.card.hero__slot:hover,
.card.fq__q:hover,
.card.cat__faqQ:hover {
  box-shadow: none;
  transform: none;
}
.card.hero__slot:hover {
  border-top-color: color-mix(in oklab, var(--bg) 8%, transparent);
}
.card.fq__q:hover,
.card.cat__faqQ:hover {
  border-color: transparent;
}
}

.fq__qIdx {
  font-family: var(--font-brand);
  font-weight: 500;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em;
  color: var(--lavender-700);
  min-width: 28px;
}

.fq__qText {
  color: var(--ink);
}

.fq__qIcon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--lavender-700);
  transition: transform 0.3s var(--ease-out), background 0.3s var(--ease-out),
    border-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
}

.fq__item[data-open='true'] .fq__qIcon {
  transform: rotate(180deg);
  background: var(--lavender-700);
  border-color: var(--lavender-700);
  color: var(--bg);
}

.fq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease-out);
}

.fq__item[data-open='true'] .fq__a {
  grid-template-rows: 1fr;
}

.fq__aInner {
  overflow: hidden;
}

.fq__aInner p {
  margin: 0;
  padding: 0 clamp(20px, 2.4vw, 32px) clamp(20px, 2.2vw, 26px) clamp(54px, 4vw, 70px);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 68ch;
}

@media (max-width: 960px) {
  .fq__head {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .fq__idx {
    font-size: 64px;
  }
  .fq__grid {
    grid-template-columns: 1fr;
  }
  .fq__aside {
    position: static;
  }
}

@media (max-width: 520px) {
  .fq {
    padding: var(--pad-section-y) 0;
  }
  .fq__aInner p {
    padding-left: clamp(20px, 2.4vw, 32px);
  }
  .fq__asideLink {
    grid-template-columns: auto 1fr;
  }
  .fq__asideValue {
    grid-column: 2;
    justify-self: flex-start;
  }
}

/* =========================================================================
   INSTAGRAM — Ми в Instagram (Block 10.5)
   ========================================================================= */

.ig {
  position: relative;
  background: var(--bg);
  padding: var(--pad-section-y) 0;
}

.ig__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad-side);
}

.ig__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(24px, 3vw, 48px);
  align-items: end;
  margin-bottom: var(--gap-xl);
  padding-bottom: clamp(20px, 2.4vw, 28px);
  border-bottom: 1px solid var(--line);
}

.ig__idx {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(48px, 6vw, 84px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--lavender);
  padding-top: 6px;
}

.ig__headText {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  max-width: 640px;
}


.ig__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--fs-h2);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
  color: var(--ink);
}

.ig__lead {
  margin: 4px 0 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--muted);
  max-width: 56ch;
}

/* Grid — 4 square posts */
.ig__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1vw, 16px);
}

.ig__card {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
}

.ig__card--static {
  aspect-ratio: 3 / 4;
}

.ig__cardMedia {
  display: block;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.ig__cardScaler {
  width: 540px;
  transform-origin: top left;
}

.ig__card .instagram-media,
.ig__card iframe.instagram-media {
  width: 540px !important;
  min-width: 540px !important;
  max-width: 540px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: block !important;
}

.ig__grid {
  align-items: start;
}

@media (max-width: 1100px) {
  .ig__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ig__head {
    grid-template-columns: auto 1fr;
  }
  .ig__follow {
    grid-column: 1 / -1;
    justify-self: flex-start;
    margin-top: 8px;
  }
  .ig__idx {
    font-size: 56px;
  }
}

@media (max-width: 520px) {
  .ig {
    padding: var(--pad-section-y) 0;
  }
  .ig__head {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* =========================================================================
   CONTACTS — Як нас знайти (Block 13)
   ========================================================================= */

.ct {
  position: relative;
  background: var(--bg);
  padding: var(--pad-section-y) 0;
}

.ct__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad-side);
}

.ct__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  margin-bottom: clamp(32px, 4vw, 48px);
  padding-bottom: clamp(24px, 3vw, 32px);
  border-bottom: 1px solid var(--line);
}

.ct__idx {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--pad-section-y-sm);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--lavender);
  padding-top: 6px;
}

.ct__headText {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
}


.ct__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--fs-h2);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
  color: var(--ink);
}

.ct__lead {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--muted);
  max-width: 56ch;
}

/* Grid: info + map */
.ct__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.5fr);
  gap: clamp(16px, 2vw, 28px);
}

.ct__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(24px, 2.4vw, 32px);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}

.ct__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ct__item {
  border-bottom: 1px solid var(--line);
}

.ct__item:last-child {
  border-bottom: 0;
}

.ct__itemLink {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 4px;
  color: inherit;
  transition: color 0.2s var(--ease-out);
}

@media (hover: hover) {
a.ct__itemLink:hover {
  color: var(--lavender-700);
}
}

.ct__itemIcon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--lavender-50);
  color: var(--lavender-700);
  border: 1px solid var(--lavender-100);
  margin-top: 2px;
}

.ct__itemBody {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ct__itemLabel {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.ct__itemValue {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.3;
}

.ct__itemExtra {
  font-family: var(--font-body);
  font-size: var(--fs-meta);
  color: var(--muted);
}

.ct__socials {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ct__socialsLabel {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.ct__socialsRow {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ct__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch-target);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-brand);
  font-weight: 500;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: border-color 0.25s var(--ease-out), color 0.25s var(--ease-out),
    background 0.25s var(--ease-out);
}

@media (hover: hover) {
.ct__social:hover {
  border-color: var(--lavender-700);
  color: var(--lavender-700);
  background: var(--lavender-50);
}
.chip.ct__social:hover:not(:disabled):not([data-active='true']) {
  border-color: var(--lavender-700);
  color: var(--lavender-700);
  background: var(--lavender-50);
  transform: none;
}
}

/* Map */
.ct__map {
  position: relative;
  margin: 0;
  min-height: 460px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--lavender-50);
}

.ct__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.9) contrast(1.02);
}

.ct__mapCta {
  position: absolute;
  left: var(--gap-md);
  bottom: var(--gap-md);
  z-index: 2;
}

@media (max-width: 960px) {
  .ct__head {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .ct__idx {
    font-size: 64px;
  }
  .ct__grid {
    grid-template-columns: 1fr;
  }
  .ct__map {
    min-height: 320px;
  }
}

@media (max-width: 520px) {
  .ct {
    padding: var(--pad-section-y) 0;
  }
  .ct__socialsRow {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .ct__social {
    width: 100%;
    text-align: center;
    padding: 11px 12px;
    font-size: var(--fs-eyebrow);
    letter-spacing: 0.08em;
  }
}

/* =========================================================================
   BOOKING — Форма запису (Block 14)
   ========================================================================= */

.bk {
  position: relative;
  background: var(--bg);
  padding: var(--pad-section-y) 0;
}

.bk__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad-side);
}

.bk__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  margin-bottom: clamp(32px, 4vw, 48px);
  padding-bottom: clamp(24px, 3vw, 32px);
  border-bottom: 1px solid var(--line);
}

.bk__idx {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--pad-section-y-sm);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--lavender);
  padding-top: 6px;
}

.bk__headText {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
}


.bk__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--fs-h2);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
  color: var(--ink);
}

.bk__lead {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--muted);
  max-width: 56ch;
}

.bk__grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.5fr);
  gap: clamp(16px, 2vw, 28px);
  align-items: start;
}

/* Info column — perks */
.bk__info {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(24px, 2.4vw, 32px);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}

.bk__perks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.bk__perk {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
}

.bk__perk:last-child {
  border-bottom: 0;
}

.bk__perkIdx {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 22px;
  color: var(--lavender);
  letter-spacing: -0.04em;
  min-width: 32px;
}

.bk__perkBody {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bk__perkLabel {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.bk__perkValue {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.bk__infoNote {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  line-height: 1.55;
  color: var(--muted);
}

.bk__infoNote a {
  color: var(--lavender-700);
  text-decoration: underline;
  text-decoration-color: color-mix(in oklab, var(--lavender-700) 30%, transparent);
  text-underline-offset: 3px;
  margin: 0 2px;
}

@media (hover: hover) {
.bk__infoNote a:hover {
  text-decoration-color: var(--lavender-700);
}
}

/* Form */
.bk__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(24px, 2.4vw, 36px);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}

.bk__alert,
.cat__formAlert {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  line-height: 1.45;
}

.bk__alert--sent,
.cat__formAlert--sent {
  border-color: color-mix(in oklab, var(--success) 45%, var(--line));
  background: color-mix(in oklab, var(--success) 10%, var(--bg));
  color: color-mix(in oklab, var(--success) 52%, var(--ink));
}

.bk__alert--error,
.cat__formAlert--error {
  border-color: color-mix(in oklab, var(--danger) 45%, var(--line));
  background: color-mix(in oklab, var(--danger) 9%, var(--bg));
  color: var(--danger-text);
}

/* Inline validation: flag the fields the visitor needs to fix (AJAX submit). */
.bk__form input.is-invalid,
.bk__form select.is-invalid,
.bk__form textarea.is-invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 1px var(--danger);
}
.bk__form input[type='checkbox'].is-invalid {
  outline: 2px solid var(--danger);
  outline-offset: 2px;
  box-shadow: none;
}

.bk__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* .bk__field is used two ways: (a) as a wrapper around a label+input pair
   (date step), (b) directly on the <input>/<textarea> itself (contact step).
   Both must render with the same pill, padding, focus ring. */
.bk__field {
  font-family: var(--font-body);
  font-size: var(--fs-body);
}

/* Wrapper variant — stacks label above the control. */
label.bk__field,
.bk__fieldLabel {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
}

.bk__label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.bk__labelOpt {
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted-2);
  font-weight: 400;
}

/* Control styling — applied to (i) controls inside a .bk__field wrapper and
   (ii) controls that carry .bk__field directly. */
.bk__field input,
.bk__field select,
.bk__field textarea,
input.bk__field,
select.bk__field,
textarea.bk__field {
  appearance: none;
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.4;
  color: var(--ink);
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.bk__field textarea,
textarea.bk__field {
  resize: vertical;
  min-height: 84px;
}

.bk__field select,
select.bk__field {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6' width='10' height='6'><path d='M1 1l4 4 4-4' fill='none' stroke='currentColor' stroke-width='1.4' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.bk__field input::placeholder,
.bk__field textarea::placeholder,
input.bk__field::placeholder,
textarea.bk__field::placeholder {
  color: var(--muted-2);
}

.bk__field input:focus,
.bk__field select:focus,
.bk__field textarea:focus,
input.bk__field:focus,
select.bk__field:focus,
textarea.bk__field:focus {
  outline: 2px solid var(--lavender-700);
  outline-offset: 3px;
  border-color: var(--lavender-700);
}

.bk__consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: flex-start;
  font-family: var(--font-body);
  font-size: var(--fs-meta);
  line-height: 1.5;
  color: var(--muted);
  padding: 4px 0;
}

.bk__consent input[type='checkbox'] {
  width: 16px;
  height: 16px;
  accent-color: var(--lavender-700);
  margin-top: 2px;
}

.bk__consent a {
  color: var(--lavender-700);
  text-decoration: underline;
  text-decoration-color: color-mix(in oklab, var(--lavender-700) 30%, transparent);
  text-underline-offset: 3px;
}

.bk__formFoot {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  margin-top: 4px;
}

/* State spans inside submit: keep text + inline svg on a single line */
.bk__submit > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.bk__submit > span[hidden] {
  display: none;
}
.bk__submit > span svg {
  display: inline-block;
}

@media (max-width: 520px) {
  .bk__submit {
    width: 100%;
  }
}

.bk__submit:disabled {
  cursor: default;
  opacity: 0.8;
}

.bk__formNote {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  line-height: 1.5;
  color: var(--muted-2);
}

@media (max-width: 960px) {
  .bk__head {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .bk__idx {
    font-size: 64px;
  }
  .bk__grid {
    grid-template-columns: 1fr;
  }
  .bk__formFoot {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 520px) {
  .bk {
    padding: var(--pad-section-y) 0;
  }
  .bk__row {
    grid-template-columns: 1fr;
  }
}

/* =========================================================================
   FOOTER — Підвал (Block 15)
   ========================================================================= */

.ft {
  position: relative;
  background: var(--ink);
  color: color-mix(in oklab, var(--bg) 78%, transparent);
  padding: clamp(60px, 7vw, 96px) 0 clamp(24px, 3vw, 36px);
}

.ft::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 85% 15%, color-mix(in oklab, var(--lavender) 12%, transparent) 0%, transparent 60%),
    radial-gradient(40% 40% at 10% 90%, color-mix(in oklab, var(--lavender) 8%, transparent) 0%, transparent 65%);
  pointer-events: none;
}

.ft__inner {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad-side);
}

.ft__top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 2fr);
  gap: clamp(32px, 4vw, 64px);
  padding-bottom: clamp(40px, 5vw, 64px);
  border-bottom: 1px solid color-mix(in oklab, var(--bg) 12%, transparent);
}

/* Brand column */
.ft__brand {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.ft__logo {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

/* Vertical logo in footer — lavender on dark surface. */
.ft__logo img {
  height: 80px;
  width: 88px;
  max-width: none;
  display: block;
  object-fit: contain;
}

.ft__about {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: color-mix(in oklab, var(--bg) 68%, transparent);
  max-width: 42ch;
}

.ft__contacts {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid color-mix(in oklab, var(--bg) 10%, transparent);
  border-bottom: 1px solid color-mix(in oklab, var(--bg) 10%, transparent);
  padding: 14px 0;
}

.ft__contact {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 14px;
  align-items: center;
  min-height: var(--touch-target);
  padding: 8px 0;
  color: inherit;
  transition: color 0.2s var(--ease-out);
}

@media (hover: hover) {
a.ft__contact:hover {
  color: var(--lavender);
}
}

.ft__contactLabel {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--bg) 50%, transparent);
}

.ft__contact strong {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-body);
  color: color-mix(in oklab, var(--bg) 92%, transparent);
  letter-spacing: 0;
}

.ft__patientPortal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--gap-xs);
  min-height: var(--touch-target);
  align-self: flex-start;
  margin: 4px 0 18px;
  padding: 10px 16px;
  border: var(--bw-hair) solid color-mix(in oklab, var(--bg) 18%, transparent);
  border-radius: var(--radius-pill);
  background: color-mix(in oklab, var(--bg) 4%, transparent);
  color: color-mix(in oklab, var(--bg) 92%, transparent);
  font: 500 var(--fs-meta)/1.15 var(--font-brand);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.25s var(--ease-out), border-color 0.25s var(--ease-out), color 0.25s var(--ease-out);
}

.ft__patientPortalArrow {
  opacity: 0.7;
}

@media (hover: hover) {
.ft__patientPortal:hover {
  background: var(--lavender-700);
  border-color: var(--lavender-700);
  color: var(--bg);
}
}

.ft__socials {
  display: flex;
  gap: 8px;
}

.ft__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--touch-target);
  height: var(--touch-target);
  border-radius: 50%;
  border: 1px solid color-mix(in oklab, var(--bg) 14.0%, transparent);
  background: color-mix(in oklab, var(--bg) 4%, transparent);
  color: color-mix(in oklab, var(--bg) 75%, transparent);
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out),
    border-color 0.25s var(--ease-out);
}

@media (hover: hover) {
.ft__social:hover {
  background: var(--lavender-700);
  border-color: var(--lavender-700);
  color: var(--bg);
}
}

/* Nav columns */
.ft__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}

.ft__col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ft__colTitle {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--bg) 50%, transparent);
  /* Reset button defaults — render as inline title on desktop */
  background: transparent;
  border: 0;
  padding: 0;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  cursor: default;
}

.ft__colChevron {
  display: none;
}

.ft__colBody {
  display: block;
}

@media (max-width: 780px) {
  /* Mobile: collapsible accordion */
  .ft__colTitle {
    cursor: pointer;
    padding: 12px 0;
    font-size: var(--fs-eyebrow);
    color: color-mix(in oklab, var(--bg) 85%, transparent);
    border-bottom: 1px solid color-mix(in oklab, var(--bg) 8%, transparent);
    min-height: var(--touch-target);
  }
  .ft__colChevron {
    display: inline-flex;
    color: color-mix(in oklab, var(--bg) 60%, transparent);
    transition: transform 0.25s var(--ease-out);
  }
  .ft__colTitle[aria-expanded='true'] .ft__colChevron {
    transform: rotate(180deg);
  }
  .ft__colTitle[aria-expanded='false'] + .ft__colBody {
    display: none;
  }
  .ft__col {
    gap: 0;
  }
  .ft__colBody {
    padding: 14px 0 6px;
  }
}

.ft__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ft__list a {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body);
  color: color-mix(in oklab, var(--bg) 82%, transparent);
  transition: color 0.2s var(--ease-out);
}

@media (hover: hover) {
.ft__list a:hover {
  color: var(--lavender);
}
}

/* Bottom bar */
.ft__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: clamp(18px, 2vw, 26px);
}

.ft__copy,
.ft__credit {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  color: color-mix(in oklab, var(--bg) 42%, transparent);
  letter-spacing: 0.02em;
}

.ft__creditLink {
  color: color-mix(in oklab, var(--bg) 70%, transparent);
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}

@media (hover: hover) {
.ft__creditLink:hover {
  color: var(--lavender);
}
}

@media (max-width: 1100px) {
  .ft__top {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 780px) {
  .ft__nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

@media (max-width: 520px) {
  .ft__nav {
    grid-template-columns: 1fr;
  }
  .ft__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .hero__headline,
  .hero__headMain {
    line-height: 1.18;
  }

  .hero__sub {
    font-size: var(--fs-body);
  }

  .hero__btn--primary {
    line-height: 1.15;
  }

  .site-main :is(.svc__title, .rv__title, .bl__title, .fq__title, .ct__title, .bk__title, .pr__title, .tm__title, .ba__title, .ig__title) {
    line-height: 1.2;
  }

  .rv__foot > .rv__cta {
    min-height: var(--touch-target);
    padding: 12px 18px;
    line-height: 1.15;
  }

  .ct__social {
    font-size: var(--fs-meta);
    letter-spacing: 0.04em;
  }

  .tm__cardExp {
    align-items: center;
  }

  .tm__card {
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
  }

  .tm__cardBody,
  .tm__cardName,
  .tm__cardSpec,
  .tm__cardBio,
  .tm__cardActions {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .tm__cardExp strong,
  .tm__cardExp span {
    line-height: 1.1;
  }

  .site-main :is(h1, h2, h3, h4),
  .site-main :is(.hero__headMain, .svc__idx, .pr__idx, .tm__idx, .ba__idx, .st__idx, .rv__idx, .bl__idx, .fq__idx, .ig__idx, .ct__idx, .bk__idx, .cat__idx),
  .site-main :is(.svc__count strong, .tm__cardExp strong, .st__amenity dd, .rv__footStats dd, .pr__price strong) {
    letter-spacing: 0;
  }

  .site-main :is(.svc__count strong, .tm__cardExp strong, .st__amenity dd, .rv__footStats dd, .pr__price strong) {
    line-height: 1.1;
  }
}

/* ============================================================
   CATEGORY PAGE — /services/:category (Гінекологія prototype)
   Skeleton follows DESIGN.md §3.1 verbatim; prefix `cat__`.
   ============================================================ */

.cat__crumbs {
  background: var(--bg);
  border-bottom: 1px solid var(--line-2);
  padding-top: calc(var(--header-height, 138px) + 8px); /* compensate for fixed header */
}

/* Mobile: the fixed header is shorter (topbar hidden, compact logo ~92px), so the
   138px desktop reserve leaves a large empty gap above the category hero. */
@media (max-width: 780px) {
  .cat-page .cat__crumbs {
    padding-top: 100px;
  }
}

.cat__crumbsInner {
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(10px, 1vw, 14px) var(--pad-side);
  /* Use inline flow so separators stay glued to the previous crumb when wrapping.
     `display: flex` made each element wrap independently — sep ended up on its
     own line, see screenshots from mobile audit. */
  display: block;
  line-height: 1.6;
  font: 500 var(--fs-eyebrow)/1.6 var(--font-body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.cat__crumbsInner > * {
  display: inline;
  vertical-align: baseline;
}

.cat__crumbsInner > a.cat__crumb {
  display: inline-flex;
  align-items: center;
  min-height: var(--touch-target);
}

.cat__crumb {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}

.cat__crumb--current {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink);
}

@media (max-width: 520px) {
  /* On narrow mobile, when crumbs wrap to a new line, prefer text wrap over ellipsis truncation */
  .cat__crumb--current {
    white-space: normal;
    text-overflow: clip;
    overflow: visible;
    word-break: break-word;
  }
}

@media (hover: hover) {
.cat__crumb:hover {
  color: var(--lavender-700);
}
}

.cat__crumbSep {
  color: var(--muted-2);
  margin: 0 8px;
  /* Glue separator to the preceding crumb so it never wraps alone */
  white-space: nowrap;
}

.cat {
  position: relative;
  background: var(--bg);
  padding: var(--pad-section-y) 0;
}

.cat--list,
.cat--doctors,
.cat--faq {
  padding-top: clamp(40px, 5vw, 64px);
}

.cat--cta {
  padding-top: clamp(20px, 3vw, 36px);
  padding-bottom: var(--pad-section-y);
}

/* Tinted section — soft lavender background to break up the white wall.
   Used on protocol, reviews, contacts. Whites stay on hero / intro / services / FAQ. */
.cat--tinted {
  background: linear-gradient(180deg, color-mix(in oklab, var(--lavender-50) 55%, var(--bg)) 0%, var(--lavender-50) 100%);
  border-top: 1px solid color-mix(in oklab, var(--lavender) 22%, transparent);
  border-bottom: 1px solid color-mix(in oklab, var(--lavender) 22%, transparent);
}

.cat--tinted .cat__head {
  border-bottom-color: color-mix(in oklab, var(--lavender) 40%, transparent);
}

/* Doctors section gets a one-sided fade — top of section eases from white */
.cat--doctors {
  background: linear-gradient(180deg, var(--bg) 0%, color-mix(in oklab, var(--lavender-50) 45%, var(--bg)) 100%);
}

.cat__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad-side);
}

/* Section head — verbatim from DESIGN.md §3.1, with optional `__all` link */
.cat__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  margin-bottom: clamp(32px, 4vw, 48px);
  padding-bottom: clamp(24px, 3vw, 32px);
  border-bottom: 1px solid var(--line);
}

.cat__idx {
  font: 300 var(--pad-section-y-sm) / 0.9 var(--font-display);
  letter-spacing: -0.04em;
  color: var(--lavender);
  padding-top: 6px;
}


.cat__title {
  margin: 0;
  font: 300 var(--fs-h2) / var(--lh-snug) var(--font-display);
  letter-spacing: var(--ls-tight);
  color: var(--ink);
  text-wrap: balance;
}

.cat__lead {
  margin: clamp(14px, 1.6vw, 20px) 0 0;
  font: 400 var(--fs-body-lg) / 1.6 var(--font-body);
  color: var(--muted);
  max-width: 56ch;
  text-wrap: pretty;
}

.cat__all {
  align-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font: 500 var(--fs-meta)/1 var(--font-brand);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.25s var(--ease-out), color 0.25s var(--ease-out);
}

@media (hover: hover) {
.cat__all:hover {
  border-color: var(--lavender);
  color: var(--lavender-700);
}
}

.cat__all svg {
  transition: transform 0.3s var(--ease-out);
}

@media (hover: hover) {
.cat__all:hover svg {
  transform: translateX(3px);
}
}

/* ---- HERO (full-bleed photo + slot card + trust bar) -------------------- */

.cat__hero {
  position: relative;
  background: var(--bg);
  padding: clamp(20px, 2.4vw, 32px) 0 clamp(40px, 5vw, 64px);
}

.cat__heroInner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad-side);
}

.cat__heroFrame {
  position: relative;
  border-radius: var(--radius-3xl);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  min-height: 520px;
  background: var(--ink-dark);
  box-shadow: var(--shadow-cinematic);
}

.cat__heroMedia {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.02);
  transition: transform 1.2s var(--ease-out);
}

@media (hover: hover) {
.cat__hero:hover .cat__heroMedia {
  transform: scale(1.05);
}
}

.cat__heroScrim {
  position: absolute;
  inset: 0;
  /* Text column (bottom-left) must stay legible even when a long H1 rises into
     the bright top of the photo: vertical wash darkens top + bottom, diagonal
     wash covers the full text column width. */
  background:
    linear-gradient(180deg, color-mix(in oklab, var(--ink) 14%, transparent) 0%, color-mix(in oklab, var(--ink) 0%, transparent) 32%, color-mix(in oklab, var(--ink) 82%, transparent) 100%),
    linear-gradient(100deg, color-mix(in oklab, var(--ink) 72%, transparent) 0%, color-mix(in oklab, var(--ink) 34%, transparent) 42%, color-mix(in oklab, var(--ink) 0%, transparent) 72%),
    radial-gradient(120% 60% at 0% 100%, color-mix(in oklab, var(--lavender-700) 45%, transparent) 0%, color-mix(in oklab, var(--lavender-700) 0%, transparent) 60%);
  pointer-events: none;
}

.cat__heroText {
  position: absolute;
  left: clamp(24px, 3.2vw, 56px);
  bottom: clamp(28px, 3.2vw, 48px);
  max-width: min(560px, 56%);
  color: var(--bg);
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.6vw, 20px);
  z-index: 2;
}


.cat__heroTitle {
  margin: 0;
  /* --fs-h2 (max 52px) not --fs-hero (max 72px): long sentence-style titles in
     the narrow 56% text column otherwise put every word on its own line. */
  font: 300 var(--fs-h2) / var(--lh-tight) var(--font-display);
  letter-spacing: var(--ls-tight);
  color: var(--bg);
  text-wrap: balance;
  /* Legibility insurance: guarantees contrast where a long title overlaps a
     bright area of the photo, independent of the scrim. */
  text-shadow: 0 1px 2px color-mix(in oklab, var(--ink) 42%, transparent), 0 2px 22px color-mix(in oklab, var(--ink) 30%, transparent);
}

.cat__heroLead {
  margin: 0;
  font: 400 var(--fs-body-lg) / 1.6 var(--font-body);
  color: color-mix(in oklab, var(--bg) 84%, transparent);
  max-width: 50ch;
  text-wrap: pretty;
  text-shadow: 0 1px 2px color-mix(in oklab, var(--ink) 32%, transparent);
}

.cat__heroCtas {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(8px, 1vw, 12px);
}

/* Hero CTAs use canonical .btn .btn--primary / .btn .btn--ghost.
   Block-only: ghost variant lives on a dark photo, so mirror the
   .hero .btn--ghost dark-context override (white text on translucent
   white border). Arrow translate is provided by premium-polish.css. */
.cat__hero .btn--ghost {
  color: var(--bg);
  border-color: color-mix(in oklab, var(--bg) 28%, transparent);
}

@media (hover: hover) {
.cat__hero .btn--ghost:hover {
  background: color-mix(in oklab, var(--bg) 8%, transparent);
  border-color: color-mix(in oklab, var(--bg) 55%, transparent);
}
}

/* Hero slot card — bottom-right glass card on photo */
.cat__heroSlot {
  position: absolute;
  right: clamp(20px, 2.4vw, 36px);
  bottom: clamp(20px, 2.4vw, 36px);
  width: clamp(280px, 28vw, 340px);
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.4vw, 18px);
  padding: clamp(18px, 1.8vw, 24px);
  background: color-mix(in oklab, var(--bg) 96%, transparent);
  backdrop-filter: blur(14px);
  border: 1px solid color-mix(in oklab, var(--bg) 65%, transparent);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-modal-soft);
  z-index: 2;
}

.cat__heroSlotHead {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Hero-slot eyebrow uses canonical .eyebrow + .eyebrow__dot;
   pulse animation is the only block-specific override. */
.cat__heroSlot .eyebrow__dot {
  animation: livepulse 2s var(--ease-soft) infinite;
}

.cat__heroSlotBody {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cat__heroSlotDate {
  font: 500 clamp(17px, 1.4vw, 19px) / 1.2 var(--font-display);
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.cat__heroSlotDoctor {
  font: 500 var(--fs-small)/1.4 var(--font-body);
  color: var(--ink-2);
}

.cat__heroSlotService {
  font: 400 var(--fs-meta)/1.4 var(--font-body);
  color: var(--muted);
}

.cat__heroSlotMeta {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cat__heroSlotMeta div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cat__heroSlotMeta dt {
  font: 500 var(--fs-eyebrow)/1 var(--font-body);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--muted);
}

.cat__heroSlotMeta dd {
  margin: 0;
  font: 500 var(--fs-small)/1.3 var(--font-body);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* Hero-slot CTA uses canonical .btn .btn--primary.
   Block-only: full width inside the narrow glass card. */
.cat__heroSlotCta {
  width: 100%;
}

.cat__heroSlotFoot {
  margin: 0;
  font: 400 var(--fs-eyebrow)/1.45 var(--font-body);
  color: var(--muted);
}

/* Hero trust bar — under photo */
.cat__heroTrust {
  list-style: none;
  margin: clamp(20px, 2.4vw, 32px) 0 0;
  padding: var(--radius-xl) clamp(24px, 2.6vw, 36px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 36px);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.cat__heroTrust li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  position: relative;
}

.cat__heroTrust li:not(:last-child)::after {
  content: '';
  position: absolute;
  right: calc(clamp(20px, 2.4vw, 36px) / -2);
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: var(--line);
}

.cat__heroTrust strong {
  font: 300 clamp(28px, 2.8vw, 38px) / 1 var(--font-display);
  letter-spacing: -0.03em;
  color: var(--lavender-700);
  font-variant-numeric: tabular-nums;
}

.cat__heroTrust span {
  font: 500 var(--fs-eyebrow)/1.3 var(--font-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  min-width: 0;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

/* ---- 01 — INTRO split (text + cover) ------------------------------------ */

.cat__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: stretch;
}

.cat__introText {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2vw, 26px);
}

.cat__introText .cat__introMeta {
  margin-top: auto;
}

/* Intro eyebrow now uses canonical .eyebrow + .eyebrow__dot — no block override needed. */

.cat__about {
  margin: 0;
  font: 400 var(--fs-body-lg) / 1.65 var(--font-body);
  color: var(--ink-2);
  max-width: 60ch;
  text-wrap: pretty;
}

.cat__treats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cat__treat {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px 9px 28px;
  font: 500 var(--fs-small) / 1.2 var(--font-body);
  color: var(--ink-2);
  background: var(--bg);
  border: 1px solid var(--lavender-100);
  border-radius: var(--radius-pill);
  transition: border-color 0.25s var(--ease-out),
    background 0.25s var(--ease-out),
    color 0.25s var(--ease-out);
}

@media (hover: hover) {
.cat__treat:hover {
  border-color: var(--lavender-700);
  background: var(--lavender-50);
  color: var(--lavender-700);
}
}

.cat__treat::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lavender);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--lavender) 28%, transparent);
}

.cat__introMeta {
  margin-top: clamp(8px, 1vw, 14px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: clamp(20px, 2vw, 26px);
  background: var(--lavender-50);
  border: 1px solid var(--lavender-100);
  border-radius: var(--radius-lg);
}

.cat__metaItem {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cat__metaItem strong {
  font: 300 clamp(26px, 2.6vw, 36px) / 1 var(--font-display);
  letter-spacing: -0.03em;
  color: var(--lavender-700);
}

.cat__metaItem span {
  font: 500 var(--fs-eyebrow)/1.3 var(--font-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.cat__cover {
  position: relative;
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 3 / 4;
  background: var(--lavender-50);
  box-shadow:
    0 50px 100px -50px color-mix(in oklab, var(--lavender-700) 55%, transparent),
    0 25px 60px -30px color-mix(in oklab, var(--ink) 18%, transparent);
}

/* Soft lavender bottom gradient for the tag legibility */
.cat__cover::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(180deg, color-mix(in oklab, var(--ink) 0%, transparent) 0%, color-mix(in oklab, var(--ink) 50%, transparent) 100%);
  pointer-events: none;
}

.cat__coverMedia {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.08) contrast(1.04);
  transition: transform 0.8s var(--ease-out);
}

@media (hover: hover) {
.cat__cover:hover .cat__coverMedia {
  transform: scale(1.06);
}
}

.cat__coverTag {
  position: absolute;
  right: var(--gap-md);
  bottom: var(--gap-md);
  /* Cap growth so a long tag wraps instead of reaching the card's left edge
     (anchored right → left edge stays inset by the same --gap-md). */
  max-width: calc(100% - var(--gap-md) * 2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: var(--lavender-700);
  border: 1px solid var(--lavender-700);
  font: 500 var(--fs-eyebrow)/1 var(--font-brand);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bg);
  z-index: 1;
  box-shadow: var(--shadow-hover);
}

.cat__coverTagDot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--bg) 32%, transparent);
  animation: livepulse 2s var(--ease-soft) infinite;
}

/* ---- 02 — SERVICES grid -------------------------------------------------- */

.cat__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap-md);
}

.cat__item {
  display: flex;
}

.cat__card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
}

/* Photo zone — used by all variants */
.cat__cardMedia {
  position: relative;
  display: block;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  filter: saturate(1.05);
  transition: filter 0.4s var(--ease-out);
}

.cat__cardMedia::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, color-mix(in oklab, var(--ink) 0%, transparent) 50%, color-mix(in oklab, var(--ink) 32%, transparent) 100%);
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out);
}

/* Lavender gradient overlay (DESIGN.md §3.4) — reveals on hover */
.cat__cardOverlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, color-mix(in oklab, var(--lavender-700) 96%, transparent), color-mix(in oklab, var(--lavender-800) 94%, transparent));
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
  z-index: 1;
}

.cat__cardOverlayHint {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, calc(-50% + 6px));
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  background: var(--bg);
  color: var(--lavender-700);
  font: 500 var(--fs-eyebrow)/1 var(--font-brand);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  z-index: 2;
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

@media (hover: hover) {
.cat__card:hover .cat__cardOverlay {
  opacity: 1;
}
}

@media (hover: hover) {
.cat__card:hover .cat__cardOverlayHint {
  opacity: 1;
  transform: translate(-50%, -50%);
}
}

/* Body — shared by all variants */
.cat__cardBody {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.4vw, 18px);
  padding: clamp(22px, 2.2vw, 30px);
  flex: 1;
}

.cat__cardTag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--lavender-50);
  border: 1px solid var(--lavender-100);
  font: 500 var(--fs-eyebrow)/1 var(--font-brand);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lavender-700);
}

.cat__cardTitle {
  margin: 0;
  font: 500 clamp(17px, 1.4vw, 20px) / 1.25 var(--font-display);
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

.cat__cardMeta {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(10px, 1vw, 14px);
  padding: var(--gap-sm) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cat__cardMetaRow {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cat__cardMetaRow dt {
  font: 500 var(--fs-eyebrow)/1 var(--font-body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.cat__cardMetaRow dd {
  margin: 0;
  font: 500 var(--fs-body)/1.3 var(--font-body);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.cat__cardSummary {
  margin: 0;
  font: 400 var(--fs-small) / 1.6 var(--font-body);
  color: var(--ink-2);
  max-width: 42ch;
}

.cat__cardArrow {
  align-self: flex-end;
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink);
  margin-top: auto;
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out),
    border-color 0.25s var(--ease-out), transform 0.3s var(--ease-out);
}

@media (hover: hover) {
.cat__card:hover .cat__cardArrow {
  background: var(--lavender-700);
  border-color: var(--lavender-700);
  color: var(--bg);
  transform: translateX(2px);
}
}

/* ---- Filter chips (02 services) ----------------------------------------- */

.cat__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 clamp(20px, 2.4vw, 28px);
}

/* .cat__filter / .cat__filterCount: visual contract lives in
   components.css (.chip / .chip__count). The block classes remain
   on the button as a JS hook (theme.js:382). No page-specific
   styling needed beyond the chip canonical. */

/* ---- Card layout — horizontal split (photo left, content right) -------- */

.cat__card {
  flex-direction: row;
  min-height: clamp(220px, 22vw, 280px);
}

.cat__cardMedia {
  flex: 0 0 42%;
  align-self: stretch;
}

.cat__cardMedia::before {
  background: linear-gradient(90deg, color-mix(in oklab, var(--ink) 0%, transparent) 70%, color-mix(in oklab, var(--ink) 18%, transparent) 100%);
}

.cat__cardBody {
  flex: 1;
  padding: var(--radius-xl) clamp(22px, 2.2vw, 30px);
  gap: var(--gap-sm);
}

.cat__cardSummary {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: var(--fs-small);
}

@media (hover: hover) {
.cat__card:hover .cat__cardMedia {
  filter: saturate(1.08);
}
}

/* ---- Pricing snapshot foot (under services grid) ------------------------ */

.cat__pricing {
  margin-top: var(--gap-xl);
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) auto;
  gap: var(--pad-side);
  align-items: center;
  padding: clamp(22px, 2.4vw, 32px);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-2xl);
}

.cat__pricingText {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Pricing eyebrow now uses canonical .eyebrow + .eyebrow__dot — no block override needed. */

.cat__pricingP {
  margin: 0;
  font: 400 var(--fs-body) / 1.65 var(--font-body);
  color: var(--ink-2);
  max-width: 72ch;
}

.cat__pricingP strong {
  font-weight: 600;
  color: var(--ink);
}

.cat__pricingActions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Pricing CTAs now use canonical .btn .btn--ghost / .btn--primary.
   No block-specific overrides needed. */

/* ---- Pricing page (template: page-pricing.php) -------------------------- */

/* Hero — full-width, centered like a section header. */
.page-pricing__hero .page-pricing__heroInner {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2vw, 26px);
  max-width: 880px;
}

/* Catalog: sticky aside (left) + sections column (right). */
.page-pricing__catalogInner {
  display: grid;
  grid-template-columns: clamp(240px, 22vw, 300px) minmax(0, 1fr);
  gap: clamp(28px, 3vw, 48px);
  align-items: start;
}

.page-pricing__sections {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 4vw, 64px);
  min-width: 0;
}

.page-pricing__section {
  scroll-margin-top: clamp(80px, 9vw, 120px);
}

.page-pricing__sectionHead {
  margin-bottom: clamp(20px, 2.4vw, 32px);
}

/* Side card with anchors to every direction section. */
.cat__pricingAside {
  position: sticky;
  top: clamp(76px, 8vw, 104px);
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.4vw, 18px);
  padding: clamp(20px, 2vw, 28px);
  max-height: calc(100vh - clamp(96px, 10vw, 128px));
  overflow: hidden;
}

.cat__pricingAsideHead {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cat__pricingNav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: clamp(280px, 32vw, 420px);
  overflow-y: auto;
}

.cat__pricingNav li a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  min-height: var(--touch-target);
  padding: 10px 12px;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--ink);
  font: 500 var(--fs-small)/1.3 var(--font-body);
  transition: background-color .15s var(--ease-soft), color .15s var(--ease-soft);
}

@media (hover: hover) {
  .cat__pricingNav li a:hover {
    background: color-mix(in oklab, var(--ink) 4%, transparent);
  }
}

.cat__pricingNav li a[data-active="true"] {
  background: color-mix(in oklab, var(--lavender) 14%, transparent);
  color: var(--ink);
}

.cat__pricingNav li a[data-active="true"] .cat__pricingNavIdx {
  color: var(--lavender-700);
}

.cat__pricingNavIdx {
  font: 400 var(--fs-meta) / 1 var(--font-display);
  letter-spacing: -0.02em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  min-width: 22px;
}

.cat__pricingNavLabel {
  min-width: 0;
}

.cat__pricingNavCount {
  font: 500 var(--fs-meta)/1 var(--font-body);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
}

/* Section head CTA (right-aligned button next to title). */
.cat__head .cat__headCta {
  align-self: start;
  margin-left: auto;
  white-space: nowrap;
}

/* Per-service price group inside a category section. */
.cat__pricingGroup {
  margin-top: var(--gap-md);
}

.cat__pricingGroup + .cat__pricingGroup {
  margin-top: var(--gap-lg);
}

.cat__pricingGroupHead {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.cat__pricingGroupTitle {
  margin: 0;
  font: 500 clamp(18px, 1.6vw, 22px) / 1.25 var(--font-display);
  letter-spacing: -0.02em;
  color: var(--ink);
}

.cat__pricingGroupTitle a {
  display: inline-flex;
  align-items: center;
  min-height: var(--touch-target);
  color: inherit;
  text-decoration: none;
}

@media (hover: hover) {
  .cat__pricingGroupTitle a:hover {
    color: var(--lavender-700);
  }
}

.cat__pricingGroupCount {
  font: 500 var(--fs-meta)/1 var(--font-body);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

/* Pricing search field (in the quick-jump aside; all viewports). */
.pricing-search {
  position: relative;
  display: flex;
  align-items: center;
}
.pricing-search__icon {
  position: absolute;
  left: 13px;
  color: var(--muted-2);
  pointer-events: none;
}
.pricing-search__input {
  width: 100%;
  min-width: 0;
  padding: 11px 38px 11px 40px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font: 400 var(--fs-small) / 1.4 var(--font-body);
  color: var(--ink);
  appearance: none;
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.pricing-search__input::placeholder {
  color: var(--muted-2);
}
.pricing-search__input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}
.pricing-search__input:focus {
  outline: 2px solid var(--lavender-700);
  outline-offset: 2px;
  border-color: var(--lavender-700);
}
.pricing-search__clear {
  position: absolute;
  right: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background-color 0.15s var(--ease-soft), color 0.15s var(--ease-soft);
}
@media (hover: hover) {
  .pricing-search__clear:hover {
    background: color-mix(in oklab, var(--ink) 7%, transparent);
    color: var(--ink);
  }
}
.pricing-search__clear:focus-visible {
  outline: 2px solid var(--lavender-700);
  outline-offset: 2px;
}
.pricing-search__clear[hidden] {
  display: none;
}

/* No-match state in the results column. */
.pricing-search__empty {
  margin: 0;
  padding: var(--pad-card-sm);
  border: 1px dashed var(--line-2);
  border-radius: var(--radius-md);
  font: 400 var(--fs-small) / 1.55 var(--font-body);
  color: var(--muted);
}

/* Jump chevron on each quick-jump row — signals it is a tappable anchor. */
.cat__pricingNavGo {
  display: inline-flex;
  align-items: center;
  color: var(--muted-2);
  transition: transform 0.15s var(--ease-soft), color 0.15s var(--ease-soft);
}
@media (hover: hover) {
  .cat__pricingNav li a:hover .cat__pricingNavGo {
    color: var(--lavender-700);
    transform: translateX(2px);
  }
}

/* Scroll-down hint — shown on mobile only (desktop has the sticky aside). */
.pricing-scrollHint {
  display: none;
}
.pricing-scrollHint[hidden] {
  display: none;
}

@media (max-width: 1024px) {
  /* Stack aside above sections; aside loses sticky to avoid overlap. */
  .page-pricing__catalogInner {
    grid-template-columns: minmax(0, 1fr);
  }
  .cat__pricingAside {
    position: static;
    max-height: none;
  }
  .cat__pricingNav {
    max-height: clamp(180px, 32vw, 280px);
  }
}

@media (max-width: 880px) {
  .cat__head .cat__headCta {
    margin-left: 0;
  }
}

@media (max-width: 780px) {
  /* Make quick-jump rows read clearly as tappable items, and show a
     scroll-down cue (on mobile it is not obvious the prices are below). */
  .cat__pricingNav {
    gap: 8px;
    /* Show ALL categories as a full list (no nested scrollbox) so it is
       obvious they are tappable and that prices follow below. */
    max-height: none;
    overflow: visible;
  }
  .cat__pricingNav li a {
    background: var(--bg);
    border: 1px solid var(--line);
  }
  .cat__pricingNav li a[data-active="true"] {
    border-color: var(--lavender-300);
  }
  .cat__pricingNavGo {
    color: var(--lavender-600);
  }
  .pricing-scrollHint {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: center;
    margin-top: 2px;
    padding: 6px 4px;
    font: 600 var(--fs-meta) / 1 var(--font-body);
    letter-spacing: var(--ls-eyebrow);
    text-transform: uppercase;
    color: var(--lavender-700);
  }
  .pricing-scrollHint svg {
    animation: pricingNudge 1.6s var(--ease-soft) infinite;
  }
}

@keyframes pricingNudge {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pricing-scrollHint svg {
    animation: none;
  }
}

/* ---- 03 — DOCTORS rail --------------------------------------------------- */

.cat__doctors {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap-md);
}

/* Base contract (background, border, radius, base hover) inherited from .card.
   Block-only: column layout, edge-to-edge media, stronger hover lift/shadow. */
.cat__doctorCard {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
}

@media (hover: hover) {
.cat__doctorCard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-modal);
}
}

.cat__doctorMedia {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  background-size: cover;
  background-position: center top;
  filter: saturate(1.02);
  overflow: hidden;
  transition: filter 0.4s var(--ease-out);
}

/* Photo zooms inside its frame on hover */
.cat__doctorMedia::before {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  background-size: cover;
  background-position: center top;
  transform: scale(1);
  transition: transform 0.8s var(--ease-out);
  z-index: 0;
}

/* Lavender gradient overlay reveals on hover (DESIGN.md §3.4 hover-overlay) */
.cat__doctorMedia::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, color-mix(in oklab, var(--lavender-700) 96%, transparent), color-mix(in oklab, var(--lavender-800) 94%, transparent));
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
  z-index: 1;
}

@media (hover: hover) {
.cat__doctorCard:hover .cat__doctorMedia {
  filter: saturate(1.05);
}
}

@media (hover: hover) {
.cat__doctorCard:hover .cat__doctorMedia::after {
  opacity: 1;
}
}

/* Hover-only "Перейти до профілю" hint that floats over the photo */
.cat__doctorMedia .cat__doctorHint {
  position: absolute;
  left: 50%;
  bottom: var(--radius-xl);
  transform: translate(-50%, 8px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: var(--bg);
  color: var(--lavender-700);
  font: 500 var(--fs-eyebrow)/1 var(--font-brand);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  z-index: 2;
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

@media (hover: hover) {
.cat__doctorCard:hover .cat__doctorHint {
  opacity: 1;
  transform: translate(-50%, 0);
}
}

.cat__doctorExp {
  position: absolute;
  left: var(--gap-sm);
  top: var(--gap-sm);
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: color-mix(in oklab, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  border: 1px solid color-mix(in oklab, var(--bg) 70%, transparent);
}

.cat__doctorExp strong {
  font: 500 var(--fs-meta)/1 var(--font-brand);
  letter-spacing: 0.04em;
  color: var(--lavender-700);
  font-variant-numeric: tabular-nums;
}

.cat__doctorExp span {
  position: relative;
  padding-left: 8px;
  font: 500 var(--fs-eyebrow)/1 var(--font-body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.cat__doctorExp span::before {
  content: "·";
  position: absolute;
  left: -2px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-weight: 500;
}

.cat__doctorBody {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(20px, 2vw, 26px);
}

.cat__doctorRole {
  font: 500 var(--fs-eyebrow)/1 var(--font-body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.cat__doctorName {
  margin: 0;
  font: 500 clamp(17px, 1.4vw, 20px) / 1.2 var(--font-display);
  letter-spacing: -0.02em;
  color: var(--ink);
}

.cat__doctorTags {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cat__doctorTags li {
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: var(--lavender-50);
  border: 1px solid var(--lavender-100);
  font: 500 var(--fs-eyebrow)/1 var(--font-brand);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lavender-700);
}

/* ---- 04 — FAQ ------------------------------------------------------------ */

.cat__faqList {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  max-width: 960px;
  margin: 0 auto;
}

.cat__faqItem {
  border-bottom: 1px solid var(--line);
  transition: background 0.25s var(--ease-out);
}

.cat__faqItem:last-child {
  border-bottom: none;
}

.cat__faqItem[data-open='true'] {
  background: var(--lavender-50);
}

.cat__faqQ {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(14px, 1.6vw, 20px);
  padding: clamp(20px, 2vw, 26px) clamp(22px, 2.4vw, 30px);
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
  transition: color 0.25s var(--ease-out);
}

@media (hover: hover) {
.cat__faqQ:hover {
  color: var(--lavender-700);
}
}

.cat__faqIdx {
  font: 500 var(--fs-eyebrow)/1 var(--font-body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lavender-700);
  font-variant-numeric: tabular-nums;
}

.cat__faqText {
  font: 500 var(--fs-body-lg) / 1.4 var(--font-display);
  letter-spacing: -0.01em;
  color: inherit;
}

.cat__faqIcon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--bg);
  transition: transform 0.3s var(--ease-out), background 0.25s var(--ease-out),
    color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

.cat__faqItem[data-open='true'] .cat__faqIcon {
  transform: rotate(180deg);
  background: var(--lavender-700);
  border-color: var(--lavender-700);
  color: var(--bg);
}

.cat__faqA {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease-out);
}

.cat__faqItem[data-open='true'] .cat__faqA {
  grid-template-rows: 1fr;
}

.cat__faqAInner {
  overflow: hidden;
  padding: 0 clamp(22px, 2.4vw, 30px) 0 clamp(54px, 4vw, 70px);
}

.cat__faqItem[data-open='true'] .cat__faqAInner {
  padding-bottom: clamp(20px, 2vw, 26px);
}

.cat__faqA p {
  margin: 0;
  font: 400 var(--fs-body) / 1.65 var(--font-body);
  color: var(--ink-2);
  max-width: 70ch;
}

/* ---- 05 — FOOT-CARD CTA -------------------------------------------------- */

.cat__foot {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) auto;
  gap: var(--pad-side);
  align-items: center;
  padding: var(--gap-xl);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-2xl);
}

.cat__footText {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cat__footEye {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 500 var(--fs-eyebrow)/1 var(--font-body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.cat__footEyeDot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lavender);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--lavender) 22%, transparent);
}

.cat__footP {
  margin: 0;
  font: 400 var(--fs-body-lg) / 1.6 var(--font-body);
  color: var(--ink-2);
  max-width: 64ch;
}

.cat__footCta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: var(--radius-pill);
  background: var(--lavender-700);
  color: var(--bg);
  font: 500 var(--fs-meta)/1 var(--font-brand);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s var(--ease-out), box-shadow 0.3s var(--ease-out),
    transform 0.3s var(--ease-out);
}

@media (hover: hover) {
.cat__footCta:hover {
  background: var(--lavender-600);
  box-shadow: var(--shadow-pop);
  transform: translateY(-2px);
}
}

.cat__footCta svg {
  transition: transform 0.3s var(--ease-out);
}

@media (hover: hover) {
.cat__footCta:hover svg {
  transform: translateX(3px);
}
}

/* ---- 02 — VISIT PROTOCOL ------------------------------------------------ */

.cat__protocol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap-md);
  counter-reset: step;
}

.cat__protocolStep {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1vw, 14px);
  padding: clamp(26px, 2.6vw, 36px);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.25s var(--ease-out),
    transform 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out);
}

/* Giant ghost numeral in the bottom-right corner of each step.
   Reads as a watermark, not as content — disappears on hover when
   the step lifts and shifts focus to the title. */
.cat__protocolStep::before {
  content: attr(data-step);
  position: absolute;
  right: clamp(-12px, -1vw, -6px);
  bottom: clamp(-32px, -3vw, -20px);
  font: 300 clamp(140px, 14vw, 200px) / 0.85 var(--font-display);
  letter-spacing: -0.06em;
  color: color-mix(in oklab, var(--lavender) 18%, transparent);
  pointer-events: none;
  user-select: none;
  font-variant-numeric: tabular-nums;
  transition: color 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

@media (hover: hover) {
.cat__protocolStep:hover {
  border-color: var(--lavender);
  transform: translateY(-4px);
  box-shadow: var(--shadow-modal-soft);
}
}

@media (hover: hover) {
.cat__protocolStep:hover::before {
  color: color-mix(in oklab, var(--lavender) 32%, transparent);
  transform: translateX(-4px);
}
}

.cat__protocolIdx {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 500 var(--fs-eyebrow)/1 var(--font-body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lavender-700);
}

.cat__protocolIdx::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--lavender-700);
}

.cat__protocolTitle {
  position: relative;
  z-index: 1;
  margin: 0;
  font: 500 clamp(17px, 1.4vw, 20px) / 1.25 var(--font-display);
  letter-spacing: -0.02em;
  color: var(--ink);
}

.cat__protocolDesc {
  position: relative;
  z-index: 1;
  margin: 0;
  font: 400 var(--fs-small) / 1.6 var(--font-body);
  color: var(--ink-2);
}

/* ---- TRUST STRIPE — single dark lavender zone (the "credibility moment") --
   Intentionally diverges from the "footer = the only dark zone" rule:
   the stripe needs visual weight so 4 lines of regulatory facts read as
   serious, not decorative. */

.cat__stripe {
  position: relative;
  background:
    radial-gradient(60% 100% at 100% 0%, color-mix(in oklab, var(--lavender) 18%, transparent) 0%, color-mix(in oklab, var(--lavender) 0%, transparent) 60%),
    radial-gradient(50% 100% at 0% 100%, color-mix(in oklab, var(--lavender) 16%, transparent) 0%, color-mix(in oklab, var(--lavender) 0%, transparent) 55%),
    linear-gradient(135deg, color-mix(in oklab, var(--ink-dark) 65%, var(--ink-dark-2)) 0%, var(--ink-dark-2) 100%);
  padding: clamp(56px, 6vw, 80px) 0;
  overflow: hidden;
}

.cat__stripeInner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad-side);
}

.cat__stripeList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 2.6vw, 40px);
}

.cat__stripeItem {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  padding-left: clamp(18px, 1.8vw, 24px);
  border-left: 2px solid var(--lavender);
}

.cat__stripeLabel {
  font: 500 var(--fs-eyebrow)/1.3 var(--font-body);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--lavender);
}

.cat__stripeValue {
  font: 300 clamp(15px, 1.2vw, 18px) / 1.35 var(--font-display);
  letter-spacing: -0.01em;
  color: color-mix(in oklab, var(--bg) 94%, transparent);
  text-wrap: balance;
}

/* ---- 05 — REVIEWS ------------------------------------------------------- */

.cat__reviews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap-md);
}

.cat__review {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.4vw, 18px);
  padding: clamp(26px, 2.4vw, 34px);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.25s var(--ease-out),
    transform 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out);
}

/* Decorative quote mark — sits behind the content as a watermark */
.cat__review::before {
  content: '\201C';
  position: absolute;
  right: clamp(8px, 1vw, 16px);
  top: clamp(-12px, -1vw, -6px);
  font: 500 clamp(140px, 14vw, 200px) / 1 var(--font-display);
  color: color-mix(in oklab, var(--lavender) 22%, transparent);
  pointer-events: none;
  user-select: none;
}

@media (hover: hover) {
.cat__review:hover {
  border-color: var(--lavender);
  transform: translateY(-4px);
  box-shadow: var(--shadow-modal);
}
}

@media (hover: hover) {
.cat__review:hover::before {
  color: color-mix(in oklab, var(--lavender) 34%, transparent);
}
}

.cat__reviewTop,
.cat__reviewQuote,
.cat__reviewDoctor,
.cat__reviewFoot {
  position: relative;
  z-index: 1;
}

.cat__reviewTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cat__reviewStars {
  display: inline-flex;
  gap: 3px;
  color: var(--muted-2);
}

.cat__reviewStars svg[data-on='true'] {
  color: var(--lavender-700);
}

.cat__reviewSource {
  font: 500 var(--fs-eyebrow)/1 var(--font-body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.cat__reviewQuote {
  margin: 0;
}

.cat__reviewQuote p {
  margin: 0;
  font: 400 var(--fs-body) / 1.65 var(--font-body);
  color: var(--ink-2);
  text-wrap: pretty;
}

.cat__reviewDoctor {
  font: 500 var(--fs-eyebrow)/1.4 var(--font-body);
  letter-spacing: 0.04em;
  color: var(--lavender-700);
  padding-top: clamp(10px, 1vw, 14px);
  border-top: 1px solid var(--line);
}

.cat__reviewFoot {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.cat__reviewAvatar {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--lavender-50);
  border: 1px solid var(--lavender-100);
  font: 500 var(--fs-eyebrow)/1 var(--font-brand);
  letter-spacing: 0.04em;
  color: var(--lavender-700);
}

.cat__reviewAuthor {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.cat__reviewAuthorName {
  font: 500 var(--fs-small)/1.3 var(--font-body);
  color: var(--ink);
}

.cat__reviewAuthorMeta {
  font: 400 var(--fs-eyebrow)/1.3 var(--font-body);
  color: var(--muted);
}

.cat__reviewDate {
  font: 400 var(--fs-eyebrow)/1.3 var(--font-body);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* ---- 07 — CONTACTS + MAP ------------------------------------------------ */

.cat__contacts {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: clamp(20px, 2.4vw, 32px);
  align-items: stretch;
}

.cat__contactList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cat__contactItem {
  display: flex;
}

.cat__contactLink {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  width: 100%;
  padding: var(--gap-md);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.25s var(--ease-out), background 0.25s var(--ease-out);
}

@media (hover: hover) {
a.cat__contactLink:hover {
  border-color: var(--lavender);
  background: var(--lavender-50);
}
}

.cat__contactLabel {
  font: 500 var(--fs-eyebrow)/1 var(--font-body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.cat__contactValue {
  font: 500 var(--fs-body-lg) / 1.3 var(--font-display);
  letter-spacing: -0.01em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.cat__contactExtra {
  font: 400 var(--fs-meta)/1.45 var(--font-body);
  color: var(--muted);
}

.cat__map {
  position: relative;
  margin: 0;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--lavender-50);
  min-height: 380px;
  box-shadow: var(--shadow-modal-soft);
}

.cat__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.cat__mapCta {
  position: absolute;
  left: var(--gap-md);
  bottom: var(--gap-md);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  background: var(--lavender-700);
  color: var(--bg);
  font: 500 var(--fs-meta)/1 var(--font-brand);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: var(--shadow-pop);
  transition: background 0.25s var(--ease-out), transform 0.3s var(--ease-out);
}

@media (hover: hover) {
.cat__mapCta:hover {
  background: var(--lavender-600);
  transform: translateY(-2px);
}
}

.cat__mapCta svg {
  transition: transform 0.3s var(--ease-out);
}

@media (hover: hover) {
.cat__mapCta:hover svg {
  transform: translateX(3px);
}
}

/* ---- 08 — BOOKING FORM -------------------------------------------------- */

.cat--form {
  background: linear-gradient(180deg, color-mix(in oklab, var(--lavender-50) 55%, var(--bg)) 0%, var(--lavender-50) 100%);
  border-top: 1px solid color-mix(in oklab, var(--lavender) 22%, transparent);
  padding-bottom: var(--pad-section-y);
}

.cat--form .cat__head {
  border-bottom-color: color-mix(in oklab, var(--lavender) 40%, transparent);
}

.cat__formGrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: clamp(24px, 2.6vw, 40px);
  align-items: stretch;
}

/* Aside — perks + alt channels */
.cat__formAside {
  display: flex;
  flex-direction: column;
  gap: var(--radius-xl);
  padding: clamp(24px, 2.4vw, 32px);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-modal-soft);
}

.cat__formPerks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.cat__formPerk {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: clamp(14px, 1.4vw, 18px);
  padding: clamp(14px, 1.4vw, 18px) 0;
  border-bottom: 1px solid var(--line-2);
}

.cat__formPerk:last-child {
  border-bottom: 0;
  padding-bottom: 4px;
}

.cat__formPerk:first-child {
  padding-top: 0;
}

.cat__formPerkIdx {
  font: 500 var(--fs-eyebrow)/1 var(--font-body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lavender-700);
  font-variant-numeric: tabular-nums;
  padding-top: 3px;
}

.cat__formPerkBody {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cat__formPerkLabel {
  font: 500 var(--fs-small)/1.3 var(--font-body);
  color: var(--ink);
}

.cat__formPerkValue {
  font: 400 var(--fs-meta)/1.3 var(--font-body);
  color: var(--muted);
}

.cat__formAlt {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: var(--gap-md);
  background: var(--lavender-50);
  border: 1px solid var(--lavender-100);
  border-radius: var(--radius-md);
}

.cat__formAltEye {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 500 var(--fs-eyebrow)/1 var(--font-body);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.cat__formAltEyeDot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lavender);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--lavender) 28%, transparent);
}

.cat__formAltLink {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 14px;
  text-decoration: none;
  padding: 6px 0;
  transition: transform 0.25s var(--ease-out);
}

@media (hover: hover) {
.cat__formAltLink:hover {
  transform: translateX(2px);
}
}

.cat__formAltLinkLabel {
  font: 500 var(--fs-eyebrow)/1 var(--font-body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.cat__formAltLinkValue {
  font: 500 var(--fs-body)/1.2 var(--font-display);
  letter-spacing: -0.01em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  transition: color 0.25s var(--ease-out);
}

@media (hover: hover) {
.cat__formAltLink:hover .cat__formAltLinkValue {
  color: var(--lavender-700);
}
}

/* Form ---------------------------------------------------------------------- */

.cat__form {
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
  padding: clamp(28px, 2.8vw, 40px);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-cinematic);
}

.cat__formRow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 1.4vw, 20px);
}

.cat__formField {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0; /* let grid/flex items shrink below content (date input/long value) — prevents iOS horizontal overflow */
}

.cat__formLabel {
  font: 500 var(--fs-eyebrow)/1 var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.cat__formLabelOpt {
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted-2);
  font-weight: 400;
  margin-left: 4px;
}

.cat__form input:not([type="checkbox"]):not([type="radio"]),
.cat__form select,
.cat__form textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  font: 400 var(--fs-body)/1.4 var(--font-body);
  color: var(--ink);
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
  appearance: none;
}

.cat__form select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='currentColor' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
  padding-right: 38px;
  cursor: pointer;
}

.cat__form textarea {
  resize: vertical;
  min-height: 88px;
}

.cat__form input::placeholder,
.cat__form textarea::placeholder {
  color: var(--muted-2);
}

.cat__form input:focus,
.cat__form select:focus,
.cat__form textarea:focus {
  outline: 2px solid var(--lavender-700);
  outline-offset: 3px;
  border-color: var(--lavender-700);
}

.cat__formConsent {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px;
  font: 400 var(--fs-meta)/1.55 var(--font-body);
  color: var(--muted);
  cursor: pointer;
  user-select: none;
}

.cat__formConsent input[type='checkbox'] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--lavender-700);
  cursor: pointer;
  flex-shrink: 0;
}

.cat__formConsent a {
  color: var(--lavender-700);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: color-mix(in oklab, var(--lavender-700) 40%, transparent);
  transition: text-decoration-color 0.2s var(--ease-out);
}

@media (hover: hover) {
.cat__formConsent a:hover {
  text-decoration-color: var(--lavender-700);
}
}

.cat__formFoot {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: clamp(6px, 0.6vw, 10px);
}

.cat__formSubmit {
  padding: 18px 28px;
  border: 0;
}

.btn.cat__formSubmit {
  padding: 18px 28px;
}

.cat__formSubmit:disabled {
  cursor: progress;
  opacity: 0.85;
}

.cat__formNote {
  margin: 0;
  font: 400 var(--fs-meta)/1.55 var(--font-body);
  color: var(--muted);
  max-width: 60ch;
}

/* ---- Responsive ---------------------------------------------------------- */

@media (max-width: 1100px) {
  .cat__head {
    grid-template-columns: auto 1fr;
  }
  .cat__all {
    grid-column: 2 / -1;
    justify-self: start;
    margin-top: 14px;
  }
  .cat__grid,
  .cat__doctors,
  .cat__reviews {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cat__protocol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cat__stripeList {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* hero slot card slides under photo on tablets — too tight side-by-side */
  .cat__heroFrame {
    aspect-ratio: auto;
    min-height: 0;
  }
  .cat__heroMedia {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    /* Kill the desktop hover-zoom scale here: in the stacked layout the
       scaled photo overflows ~2px below the scrim, leaving a bright stripe
       along the bottom edge of the image. */
    transform: none;
  }
  /* Same reason on hover — the base .cat__hero:hover scale(1.05) re-introduces
     the stripe in the stacked layout (higher specificity than the rule above). */
  .cat__hero:hover .cat__heroMedia {
    transform: none;
  }
  .cat__heroScrim {
    aspect-ratio: 16 / 10;
    bottom: auto;
    height: auto;
  }
  .cat__heroText {
    position: relative;
    left: 0;
    bottom: 0;
    max-width: none;
    padding: clamp(20px, 3vw, 28px) clamp(20px, 2.4vw, 28px) 0;
  }
  .cat__heroSlot {
    position: relative;
    right: 0;
    bottom: 0;
    width: auto;
    margin: clamp(20px, 2.4vw, 28px);
  }
  .cat__heroTrust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 22px);
  }
  .cat__heroTrust li:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 960px) {
  .cat__intro {
    grid-template-columns: 1fr;
    gap: clamp(28px, 4vw, 40px);
  }
  .cat__cover {
    aspect-ratio: 16 / 11;
    order: -1;
  }
  .cat__contacts {
    grid-template-columns: 1fr;
  }
  .cat__map {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }
  .cat__pricing {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .cat__pricingActions {
    justify-self: start;
    flex-wrap: wrap;
  }
  .cat__foot {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .cat__footCta {
    justify-self: start;
  }
  .cat__reviews {
    grid-template-columns: 1fr;
  }
  .cat__formGrid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .cat__head {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .cat__idx {
    font-size: clamp(48px, 12vw, 72px);
  }
  .cat__grid,
  .cat__doctors {
    grid-template-columns: 1fr;
  }
  /* Service cards collapse to photo-top on mobile (horizontal split is too tight) */
  .cat__card {
    flex-direction: column;
    min-height: 0;
  }
  .cat__cardMedia {
    flex: 0 0 auto;
    aspect-ratio: 16 / 10;
  }
  .cat__cardMedia::before {
    background: linear-gradient(180deg, color-mix(in oklab, var(--ink) 0%, transparent) 50%, color-mix(in oklab, var(--ink) 32%, transparent) 100%);
  }
  .cat__introMeta {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .cat__protocol {
    grid-template-columns: 1fr;
  }
  .cat__stripeList {
    grid-template-columns: 1fr;
  }
  .cat__heroTitle {
    font-size: clamp(30px, 8vw, 44px);
  }
  .cat__formRow {
    grid-template-columns: 1fr;
  }
  .cat__heroCtas {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .cat__heroBtn {
    width: 100%;
    justify-content: center;
  }
  /* Beat premium-polish.css's `.btn--primary { width: auto; align-self: flex-start }`
     which would otherwise pin the primary CTA to content-width on mobile. */
  .cat__heroCtas .cat__heroBtn.btn--primary {
    width: 100%;
    align-self: stretch;
  }
  /* Hide the "N послуг напрямку" CTA on mobile — the services list sits right
     below the hero anyway, and a second full-width button doubles the scroll. */
  .cat__heroBtn--secondary {
    display: none;
  }
}

@media (max-width: 520px) {
  .cat {
    padding: var(--pad-section-y) 0;
  }
  .cat__title {
    font-size: clamp(26px, 7vw, 34px);
  }
  .cat__faqQ {
    padding: 18px 18px;
    gap: 12px;
  }
  .cat__faqAInner {
    padding-left: 44px;
  }
  .cat__heroTrust {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 16px;
  }
  .cat__heroTrust strong {
    font-size: 22px;
  }
  .cat__heroTrust span {
    font-size: 10px;
    letter-spacing: 0.05em;
  }
  .cat__heroBtn {
    width: 100%;
    justify-content: center;
  }
}

/* ---- 09 — SEO LONG-FORM TEXT -------------------------------------------- */

.cat--seo {
  background: var(--bg);
  border-top: 1px solid var(--line-2);
  padding-bottom: var(--pad-section-y);
}

.cat__seo {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  font: 400 var(--fs-body-lg) / 1.75 var(--font-body);
  color: var(--ink-2);
}

/* Collapse mechanism — uses max-height (NOT display:none) so search
   engines still index the full content. Fade mask hints there is more. */
.cat__seo {
  max-height: 720px;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out);
}

.cat__seo[data-expanded='true'] {
  max-height: 12000px;
}

.cat__seoFade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 200px;
  background: linear-gradient(180deg, color-mix(in oklab, var(--bg) 0%, transparent) 0%, var(--bg) 80%);
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}

.cat__seo[data-expanded='true'] .cat__seoFade {
  opacity: 0;
}

/* Article meta strip — author + read time + updated */
.cat__seoMeta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 2.4vw, 36px);
  padding: var(--gap-md) 0;
  margin-bottom: var(--radius-xl);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cat__seoMetaItem {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cat__seoMetaLabel {
  font: 500 var(--fs-eyebrow)/1 var(--font-body);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.cat__seoMetaValue {
  font: 500 var(--fs-small)/1.3 var(--font-body);
  color: var(--ink);
}

/* Table of contents — anchor list at top of article */
.cat__seoToc {
  margin: 0 0 var(--gap-xl);
  padding: clamp(20px, 2vw, 26px) clamp(22px, 2.2vw, 28px);
  background: var(--lavender-50);
  border: 1px solid var(--lavender-100);
  border-radius: var(--radius-md);
}

.cat__seoTocTitle {
  display: block;
  font: 500 var(--fs-eyebrow)/1 var(--font-body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lavender-700);
  margin-bottom: 14px;
}

.cat__seoToc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 22px;
  counter-reset: toc;
}

.cat__seoToc li {
  position: relative;
  padding-left: 28px;
  counter-increment: toc;
}

.cat__seoToc li::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  font: 500 var(--fs-eyebrow)/1.4 var(--font-body);
  letter-spacing: 0.04em;
  color: var(--lavender-700);
  font-variant-numeric: tabular-nums;
}

.cat__seoToc a {
  color: var(--ink-2);
  text-decoration: none;
  font: 400 var(--fs-body)/1.45 var(--font-body);
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

@media (hover: hover) {
.cat__seoToc a:hover {
  color: var(--lavender-700);
  border-bottom-color: var(--lavender-700);
}
}

/* Lead paragraph — slightly bigger, sets the tone */
.cat__seoLead {
  margin: 0 0 clamp(24px, 2.6vw, 36px);
  font: 400 var(--fs-lead)/1.7 var(--font-body);
  color: var(--ink);
  text-wrap: pretty;
}

/* Body paragraphs */
.cat__seo p {
  margin: 0 0 clamp(14px, 1.4vw, 18px);
  text-wrap: pretty;
}

.cat__seo p:last-child {
  margin-bottom: 0;
}

.cat__seo a {
  color: var(--lavender-700);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: color-mix(in oklab, var(--lavender-700) 40%, transparent);
  transition: text-decoration-color 0.2s var(--ease-out);
}

@media (hover: hover) {
.cat__seo a:hover {
  text-decoration-color: var(--lavender-700);
}
}

/* H3 sub-section heads with lavender rule */
.cat__seoH3 {
  position: relative;
  margin: clamp(36px, 4vw, 56px) 0 var(--gap-md);
  padding-left: 22px;
  font: 500 var(--fs-h3) / 1.25 var(--font-display);
  letter-spacing: -0.02em;
  color: var(--ink);
  scroll-margin-top: 100px;
}

.cat__seoH3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 3px;
  background: var(--lavender-700);
  border-radius: var(--radius-pill);
}

/* Bullet lists with lavender dot */
.cat__seoList {
  list-style: none;
  margin: 0 0 clamp(14px, 1.4vw, 20px);
  padding: 0;
  display: grid;
  gap: 8px;
}

.cat__seoList li {
  position: relative;
  padding-left: 24px;
}

.cat__seoList li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lavender);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--lavender) 22%, transparent);
}

/* Definition list — used for "diseases" and "diagnostic methods" sections */
.cat__seoDL {
  margin: 0 0 clamp(20px, 2vw, 26px);
  display: grid;
  gap: clamp(14px, 1.4vw, 20px);
  padding: clamp(18px, 1.8vw, 24px);
  background: color-mix(in oklab, var(--lavender-50) 55%, var(--bg));
  border: 1px solid var(--lavender-100);
  border-radius: var(--radius-md);
}

.cat__seoDL dt {
  font: 500 var(--fs-body-lg)/1.35 var(--font-display);
  letter-spacing: -0.01em;
  color: var(--ink);
}

.cat__seoDL dd {
  margin: 4px 0 0;
  font-size: 14.5px;
  color: var(--ink-2);
}

.cat__seoDL > dt:not(:first-child) {
  padding-top: clamp(14px, 1.4vw, 18px);
  border-top: 1px solid color-mix(in oklab, var(--lavender) 40%, transparent);
}

/* Inline callout / "Important" note */
.cat__seoCallout {
  display: block;
  margin: var(--radius-xl) 0;
  padding: clamp(18px, 1.8vw, 24px) clamp(22px, 2.2vw, 28px);
  background: var(--lavender-50);
  border-left: 3px solid var(--lavender-700);
  border-radius: 0 14px 14px 0;
  font: 400 var(--fs-body-lg)/1.65 var(--font-body);
  color: var(--ink-2);
}

.cat__seoCallout strong {
  color: var(--lavender-700);
  font-weight: 600;
}

/* Toggle button under article — uses canonical .btn .btn--ghost.
   Block-only: center the button under the article, and rotate the
   chevron when the section is expanded. */
.cat__seoToggle {
  display: flex;
  margin: var(--gap-xl) auto 0;
}

.cat__seoToggle svg {
  transition: transform 0.3s var(--ease-out);
}

.cat__seoToggle[aria-expanded='true'] svg {
  transform: rotate(180deg);
}

@media (max-width: 780px) {
  .cat__seoToc ul {
    grid-template-columns: 1fr;
  }
  .cat__seoLead {
    font-size: var(--fs-body-lg);
  }
  .cat__seo {
    font-size: var(--fs-body-lg);
  }
}

/* ============================================================
   DEV PAGE TOGGLE — temporary, remove before WP handoff
   ============================================================ */

.dev-toggle {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: color-mix(in oklab, var(--ink) 92%, transparent);
  backdrop-filter: blur(10px);
  border: 1px solid color-mix(in oklab, var(--lavender) 30%, transparent);
  border-radius: var(--radius-pill);
  box-shadow: 0 24px 48px -20px color-mix(in oklab, var(--ink) 55.0%, transparent);
}

.dev-toggle__label {
  padding: 0 6px;
  font: 500 9px/1 var(--font-body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--bg) 50%, transparent);
}

.dev-toggle__btn {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 0;
  background: transparent;
  color: color-mix(in oklab, var(--bg) 78%, transparent);
  font: 500 var(--fs-eyebrow)/1 var(--font-brand);
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

@media (hover: hover) {
.dev-toggle__btn:hover {
  background: color-mix(in oklab, var(--bg) 8%, transparent);
  color: var(--bg);
}
}

.dev-toggle__btn[data-active='true'] {
  background: var(--lavender-700);
  color: var(--bg);
}

/* ============================================================
   CATALOG PAGE — /services (all 8 categories)
   Reuses .cat-page header logic + .cat__crumbs from category page.
   Prefix: ctlg__
   ============================================================ */

/* HERO --------------------------------------------------------------------- */

.ctlg__hero {
  position: relative;
  background:
    radial-gradient(60% 80% at 100% 0%, color-mix(in oklab, var(--lavender) 22%, transparent) 0%, color-mix(in oklab, var(--lavender) 0%, transparent) 60%),
    radial-gradient(50% 100% at 0% 100%, color-mix(in oklab, var(--lavender) 18%, transparent) 0%, color-mix(in oklab, var(--lavender) 0%, transparent) 55%),
    var(--bg);
  padding: clamp(40px, 5vw, 72px) 0 clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--line-2);
  overflow: hidden;
}

.ctlg__heroInner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad-side);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}

.ctlg__heroText {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 1.8vw, 24px);
}


.ctlg__heroTitle {
  margin: 0;
  font: 300 var(--fs-hero) / var(--lh-tight) var(--font-display);
  letter-spacing: var(--ls-tight);
  color: var(--ink);
  text-wrap: balance;
}

.ctlg__heroLead {
  margin: 0;
  font: 400 var(--fs-body-lg) / 1.65 var(--font-body);
  color: var(--muted);
  max-width: 56ch;
  text-wrap: pretty;
}

.ctlg__heroCtas {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(8px, 1vw, 12px);
}

.ctlg__heroBtn {
  padding: 16px 26px;
}

.btn.ctlg__heroBtn {
  padding: 16px 26px;
}

.ctlg__kpi {
  list-style: none;
  margin: 0;
  padding: var(--gap-xl);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 32px);
  box-shadow: 0 40px 80px -40px color-mix(in oklab, var(--lavender-700) 45%, transparent);
}

.ctlg__kpiItem {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.ctlg__kpiItem::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 1px;
  background: var(--lavender-700);
}

.ctlg__kpiItem strong {
  margin-top: 14px;
  font: 300 clamp(32px, 3.4vw, 48px) / 1 var(--font-display);
  letter-spacing: -0.03em;
  color: var(--lavender-700);
  font-variant-numeric: tabular-nums;
}

.ctlg__kpiItem span {
  font: 500 var(--fs-eyebrow)/1.4 var(--font-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  text-wrap: balance;
}

/* SEARCH BAR --------------------------------------------------------------- */

.ctlg__search {
  position: sticky;
  top: clamp(82px, 9vw, 110px); /* under fixed header */
  z-index: 20;
  background: color-mix(in oklab, var(--bg) 94%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-2);
  padding: clamp(14px, 1.6vw, 20px) 0;
}

.ctlg__searchInner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad-side);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(14px, 1.6vw, 22px);
  align-items: center;
}

.ctlg__searchField {
  position: relative;
  display: flex;
  align-items: center;
}

.ctlg__searchIcon {
  position: absolute;
  left: 18px;
  display: inline-flex;
  color: var(--muted);
  pointer-events: none;
}

.ctlg__searchInput {
  width: 100%;
  padding: 14px 50px 14px 46px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font: 400 var(--fs-body)/1.4 var(--font-body);
  color: var(--ink);
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.ctlg__searchInput::placeholder {
  color: var(--muted-2);
}

.ctlg__searchInput:focus {
  outline: 2px solid var(--lavender-700);
  outline-offset: 3px;
  border-color: var(--lavender-700);
}

.ctlg__searchClear {
  position: absolute;
  right: 12px;
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--lavender-50);
  color: var(--lavender-700);
  font: 500 16px/1 var(--font-body);
  cursor: pointer;
  transition: background 0.2s var(--ease-out);
}

@media (hover: hover) {
.ctlg__searchClear:hover {
  background: var(--lavender-100);
}
}

.ctlg__sort {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.ctlg__sortLabel {
  font: 500 var(--fs-eyebrow)/1 var(--font-body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.ctlg__sort select {
  padding: 12px 36px 12px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font: 500 var(--fs-small)/1 var(--font-body);
  color: var(--ink);
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='currentColor' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
  cursor: pointer;
  transition: border-color 0.25s var(--ease-out);
}

@media (hover: hover) {
.ctlg__sort select:hover {
  border-color: var(--lavender);
}
}

.ctlg__sort select:focus {
  outline: 2px solid var(--lavender-700);
  outline-offset: 3px;
  border-color: var(--lavender-700);
}

/* CATEGORIES GRID ---------------------------------------------------------- */

.ctlg__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 clamp(24px, 2.6vw, 32px);
}

/* Reuses .cat__filter from category page */

.ctlg__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: clamp(16px, 1.8vw, 24px);
}

.ctlg__item {
  display: flex;
}

.ctlg__item[hidden] {
  display: none;
}

.ctlg__item[data-featured='true'] {
  grid-column: span 2;
}

.ctlg__card {
  position: relative;
  display: flex;
  flex-direction: row;
  width: 100%;
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
}

.ctlg__cardMedia {
  position: relative;
  flex: 0 0 42%;
  align-self: stretch;
  min-height: 320px;
  background-size: cover;
  background-position: center;
  filter: saturate(1.05);
  transition: filter 0.4s var(--ease-out);
}

.ctlg__cardMedia::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, color-mix(in oklab, var(--ink) 0%, transparent) 50%, color-mix(in oklab, var(--ink) 45%, transparent) 100%);
  pointer-events: none;
  z-index: 1;
}

@media (hover: hover) {
.ctlg__card:hover .ctlg__cardMedia {
  filter: saturate(1.1);
}
}

.ctlg__cardOverlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, color-mix(in oklab, var(--lavender-700) 94%, transparent), color-mix(in oklab, var(--lavender-800) 92%, transparent));
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
  z-index: 2;
}

@media (hover: hover) {
.ctlg__card:hover .ctlg__cardOverlay {
  opacity: 1;
}
}

.ctlg__cardCount {
  position: absolute;
  left: var(--gap-md);
  bottom: var(--gap-md);
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: color-mix(in oklab, var(--bg) 96%, transparent);
  backdrop-filter: blur(10px);
  border: 1px solid color-mix(in oklab, var(--bg) 70%, transparent);
  z-index: 3;
}

.ctlg__cardCount strong {
  font: 500 16px/1 var(--font-display);
  letter-spacing: -0.02em;
  color: var(--lavender-700);
  font-variant-numeric: tabular-nums;
}

.ctlg__cardCount span {
  font: 500 var(--fs-eyebrow)/1 var(--font-body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.ctlg__cardBody {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1vw, 14px);
  padding: clamp(24px, 2.4vw, 36px);
}

.ctlg__cardEye {
  display: inline-flex;
  align-items: center;
  font: 500 var(--fs-eyebrow)/1 var(--font-body);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lavender-700);
}

.ctlg__cardTitle {
  margin: 0;
  font: 500 clamp(22px, 1.9vw, 28px) / 1.2 var(--font-display);
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

.ctlg__item[data-featured='true'] .ctlg__cardTitle {
  font-size: clamp(28px, 2.4vw, 36px);
}

.ctlg__cardLead {
  margin: 0;
  font: 500 clamp(14px, 1.1vw, 16px) / 1.5 var(--font-body);
  color: var(--ink-2);
}

.ctlg__cardDesc {
  margin: 0;
  font: 400 13.5px / 1.65 var(--font-body);
  color: var(--muted);
  max-width: 56ch;
}

.ctlg__cardTop {
  list-style: none;
  margin: 0;
  padding: var(--gap-sm) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ctlg__cardTop li {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: var(--lavender-50);
  border: 1px solid var(--lavender-100);
  font: 500 var(--fs-eyebrow)/1.2 var(--font-brand);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lavender-700);
}

.ctlg__cardFoot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: clamp(8px, 1vw, 12px);
}

.ctlg__cardDoctors {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-variant-numeric: tabular-nums;
}

.ctlg__cardDoctors strong {
  font: 500 18px/1 var(--font-display);
  letter-spacing: -0.02em;
  color: var(--ink);
}

.ctlg__cardDoctors span {
  font: 500 var(--fs-eyebrow)/1 var(--font-body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.ctlg__cardArrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 var(--fs-meta)/1 var(--font-brand);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.25s var(--ease-out);
}

.ctlg__cardArrow svg {
  transition: transform 0.3s var(--ease-out);
}

@media (hover: hover) {
.ctlg__card:hover .ctlg__cardArrow {
  color: var(--lavender-700);
}
}

@media (hover: hover) {
.ctlg__card:hover .ctlg__cardArrow svg {
  transform: translateX(4px);
}
}

/* Empty state */
.ctlg__empty {
  text-align: center;
  padding: clamp(40px, 5vw, 60px) 24px;
  background: var(--bg);
  border: 1px dashed var(--line);
  border-radius: clamp(16px, 1.5vw, 22px);
}

.ctlg__empty strong {
  display: block;
  margin-bottom: 8px;
  font: 500 clamp(18px, 1.5vw, 22px) / 1.2 var(--font-display);
  color: var(--ink);
}

.ctlg__empty p {
  margin: 0 0 20px;
  font: 400 var(--fs-body)/1.6 var(--font-body);
  color: var(--muted);
}

.ctlg__emptyBtn {
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font: 500 var(--fs-meta)/1 var(--font-brand);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.25s var(--ease-out), color 0.25s var(--ease-out);
}

@media (hover: hover) {
.ctlg__emptyBtn:hover {
  border-color: var(--lavender);
  color: var(--lavender-700);
}
}

/* HELP STRIPE -------------------------------------------------------------- */

.ctlg__help {
  background:
    radial-gradient(60% 100% at 100% 0%, color-mix(in oklab, var(--lavender) 18%, transparent) 0%, color-mix(in oklab, var(--lavender) 0%, transparent) 60%),
    radial-gradient(50% 100% at 0% 100%, color-mix(in oklab, var(--lavender) 16%, transparent) 0%, color-mix(in oklab, var(--lavender) 0%, transparent) 55%),
    linear-gradient(135deg, var(--ink-2) 0%, var(--ink-dark-2) 100%);
  padding: clamp(56px, 6vw, 88px) 0;
  overflow: hidden;
}

.ctlg__helpInner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--pad-side);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
}

.ctlg__helpText {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.4vw, 18px);
}

.ctlg__helpEye {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 500 var(--fs-eyebrow)/1 var(--font-body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lavender);
}

.ctlg__helpEyeDot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lavender);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--lavender) 32%, transparent);
}

.ctlg__helpTitle {
  margin: 0;
  font: 300 var(--fs-h2) / var(--lh-snug) var(--font-display);
  letter-spacing: var(--ls-tight);
  color: var(--bg);
  text-wrap: balance;
}

.ctlg__helpLead {
  margin: 0;
  font: 400 15px / 1.65 var(--font-body);
  color: color-mix(in oklab, var(--bg) 78%, transparent);
  max-width: 56ch;
}

.ctlg__helpActions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: flex-end;
}

.ctlg__helpCta {
  padding: 18px 28px;
}

.btn.ctlg__helpCta {
  padding: 18px 28px;
}

/* Phone CTA in the dark help band — uses canonical .btn .btn--ghost;
   block-specific tweaks: tabular numerals and edge-aligned padding to
   match .ctlg__helpCta height. */
.ctlg__helpAlt {
  font-variant-numeric: tabular-nums;
  padding: 18px 28px;
}

/* Dark-context override for ghost button inside the help band (same
   pattern as `.hero .btn--ghost` and `.cat__hero .btn--ghost`). */
.ctlg__help .btn--ghost {
  color: var(--bg);
  border-color: color-mix(in oklab, var(--bg) 32%, transparent);
}

@media (hover: hover) {
  .ctlg__help .btn--ghost:hover {
    background: color-mix(in oklab, var(--bg) 8%, transparent);
    border-color: color-mix(in oklab, var(--bg) 55%, transparent);
    color: var(--bg);
  }
}

/* RESPONSIVE --------------------------------------------------------------- */

@media (max-width: 1100px) {
  .ctlg__heroInner {
    grid-template-columns: 1fr;
    gap: clamp(28px, 4vw, 40px);
  }
  .ctlg__kpi {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .ctlg__grid {
    grid-template-columns: 1fr;
  }
  .ctlg__item[data-featured='true'] {
    grid-column: span 1;
  }
}

@media (max-width: 960px) {
  .ctlg__searchInner {
    grid-template-columns: 1fr;
  }
  .ctlg__sort {
    justify-content: flex-end;
  }
  .ctlg__helpInner {
    grid-template-columns: 1fr;
  }
  .ctlg__helpActions {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 780px) {
  .ctlg__card {
    flex-direction: column;
  }
  .ctlg__cardMedia {
    flex: 0 0 auto;
    aspect-ratio: 16 / 10;
    min-height: 0;
  }
  .ctlg__kpi {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ctlg__cardFoot {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 520px) {
  .ctlg__hero {
    padding-bottom: 40px;
  }
  .ctlg__heroBtn {
    width: 100%;
    justify-content: center;
  }
  .ctlg__kpi {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 18px;
  }
  .dev-toggle {
    bottom: 12px;
    right: 12px;
    padding: 6px 8px;
  }
  .dev-toggle__btn {
    padding: 6px 10px;
    font-size: var(--fs-eyebrow);
  }
}

/* Catalog KPI strip is desktop-only: on mobile it pushed the hero a full
   screen down (user request 2026-06-11). */
@media (max-width: 780px) {
	.ctlg__kpi {
		display: none;
	}
}
/* ============================================================
   HOMEPAGE SEO BLOCK — про клініку (seoh__ prefix)
   Reuses .cat--seo container; adds 3-pillar grid.
   ============================================================ */

.seoh .cat__seo {
  max-width: 920px;
}

.seoh__pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 24px);
  margin: clamp(24px, 3vw, 36px) 0 clamp(36px, 4vw, 56px);
}

.seoh__pillar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(22px, 2.2vw, 28px);
  background: var(--bg);
  border: 1px solid var(--lavender-100);
  border-radius: var(--radius-lg);
  transition: border-color 0.25s var(--ease-out),
    transform 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out);
}

@media (hover: hover) {
.seoh__pillar:hover {
  border-color: var(--lavender);
  transform: translateY(-3px);
  box-shadow: 0 24px 50px -28px color-mix(in oklab, var(--lavender-700) 40%, transparent);
}
}

.seoh__pillarTitle {
  margin: 0;
  font: 500 var(--fs-h3) / 1.25 var(--font-display);
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

.seoh__pillarLead {
  margin: 0;
  font: 500 var(--fs-small)/1.4 var(--font-body);
  color: var(--lavender-700);
}

.seoh__pillarDesc {
  margin: 0;
  font: 400 var(--fs-small)/1.6 var(--font-body);
  color: var(--ink-2);
}

.seoh__pillarList {
  list-style: none;
  margin: clamp(8px, 1vw, 12px) 0 0;
  padding: var(--gap-sm) 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-top: 1px solid var(--line);
}

.seoh__pillarList li {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: var(--lavender-50);
  border: 1px solid var(--lavender-100);
  font: 500 var(--fs-eyebrow)/1.2 var(--font-brand);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lavender-700);
}

.seoh__signature {
  margin-top: clamp(28px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.seoh__signature strong {
  font-weight: 500;
  color: var(--ink);
}

.seoh__signature span {
  font: 400 var(--fs-small)/1.4 var(--font-body);
  color: var(--muted);
}

@media (max-width: 960px) {
  .seoh__pillars {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   SERVICE PAGE — quiet editorial, mirrors homepage rhythm
   ============================================================ */

/* 01 HERO — single split block (text-left, photo-right, equal heights) */

.svc__hero {
  position: relative;
  background: var(--bg);
  padding: var(--pad-section-y) 0;
}

.svc__heroInner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 3.6vw, 56px);
  align-items: stretch;
}

.svc__heroLeft {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2vw, 26px);
  padding-right: clamp(0px, 1vw, 12px);
  align-self: center;
}

.svc__heroIdxRow {
  display: inline-flex;
  align-items: center;
  gap: clamp(14px, 1.4vw, 20px);
}

.svc__heroIdx {
  font: 300 clamp(40px, 4vw, 56px) / 0.9 var(--font-display);
  letter-spacing: -0.04em;
  color: var(--lavender);
  font-variant-numeric: tabular-nums;
}


.svc__heroTitle {
  margin: 0;
  font: 300 var(--fs-hero) / var(--lh-tight) var(--font-display);
  letter-spacing: var(--ls-tight);
  color: var(--ink);
  text-wrap: balance;
}

.svc__heroLead {
  margin: 0;
  font: 400 var(--fs-body-lg) / 1.65 var(--font-body);
  color: var(--muted);
  max-width: 56ch;
  text-wrap: pretty;
  padding-bottom: clamp(14px, 1.6vw, 20px);
  border-bottom: 1px solid var(--line);
}

.doc__heroRegalia {
  margin: 0;
  font: 500 var(--fs-body) / 1.5 var(--font-body);
  color: var(--ink);
  max-width: 56ch;
  text-wrap: pretty;
  letter-spacing: 0.005em;
}

.svc__heroFacts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1vw, 14px);
}

.svc__heroFacts li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: clamp(14px, 1.4vw, 18px);
  background: var(--bg);
  border: 1px solid var(--lavender-100);
  border-radius: var(--radius-md);
  transition: border-color 0.25s var(--ease-out), background 0.25s var(--ease-out);
}

@media (hover: hover) {
.svc__heroFacts li:hover {
  border-color: var(--lavender);
  background: var(--lavender-50);
}
}

.svc__heroFacts strong {
  font: 500 var(--fs-body-lg) / 1.2 var(--font-display);
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  /* Hero-fact values are short numeric tokens (price, duration, doctor count).
     The price uses narrow no-break spaces as thousand separators (see
     single-service.php) so it never splits mid-number; keep overflow-wrap
     normal so digits stay together and a long price wraps only after «від». */
  overflow-wrap: normal;
}

.svc__heroFacts span {
  font: 500 var(--fs-eyebrow)/1.25 var(--font-body);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  /* Tightened tracking so the longest single-word labels («тривалість»,
     «підготовки») stay on one line inside the narrow 4-up hero cards (these
     cards are only this tight on desktop ≥1101px, where the hero is two
     columns). Never hyphenate; fall back to a dashless break only if a width
     is genuinely too narrow. */
  overflow-wrap: anywhere;
  hyphens: none;
}

.svc__heroScope {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.svc__heroScope li {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--lavender-50);
  border: 1px solid var(--lavender-100);
  font: 500 var(--fs-eyebrow)/1 var(--font-brand);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lavender-700);
}

.svc__heroCtas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: clamp(14px, 1.6vw, 20px);
  border-top: 1px solid var(--line);
}

.svc__heroBtn {
  padding: 14px 22px;
}

.btn.svc__heroBtn {
  padding: 14px 22px;
}

/* Photo — fills full height of left column, no fixed aspect */

.svc__heroPhoto {
  position: relative;
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--lavender-50);
  box-shadow:
    0 50px 100px -50px color-mix(in oklab, var(--lavender-700) 55.0%, transparent),
    0 25px 60px -30px color-mix(in oklab, var(--ink) 18%, transparent);
  align-self: stretch;
  min-height: clamp(420px, 50vw, 580px);
}

.svc__heroPhotoMedia {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.97);
  transition: transform 0.8s var(--ease-out);
}

@media (hover: hover) {
.svc__heroPhoto:hover .svc__heroPhotoMedia {
  transform: scale(1.04);
}
}

.svc__heroPhotoTag {
  position: absolute;
  left: var(--gap-md);
  bottom: var(--gap-md);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  background: color-mix(in oklab, var(--bg) 94%, transparent);
  backdrop-filter: blur(10px);
  border: 1px solid color-mix(in oklab, var(--bg) 70%, transparent);
  font: 500 var(--fs-eyebrow)/1 var(--font-brand);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lavender-700);
  z-index: 1;
}

.svc__heroPhotoTagDot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lavender-700);
  animation: livepulse 2s var(--ease-soft) infinite;
}

/* 02 TRIGGERS — 4-col compact pills */

.svc__triggers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1vw, 14px);
}

.svc__trigger {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: clamp(10px, 1vw, 14px);
  padding: clamp(14px, 1.4vw, 18px);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color 0.25s var(--ease-out),
    transform 0.3s var(--ease-out),
    box-shadow 0.35s var(--ease-out);
}

@media (hover: hover) {
.svc__trigger:hover {
  border-color: var(--lavender);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -18px color-mix(in oklab, var(--lavender-700) 35%, transparent);
}
}

.svc__triggerIdx {
  font: 500 var(--fs-eyebrow)/1 var(--font-body);
  letter-spacing: 0.18em;
  color: var(--lavender-700);
  font-variant-numeric: tabular-nums;
  padding-top: 3px;
}

.svc__triggerText {
  font: 400 var(--fs-small) / 1.45 var(--font-body);
  color: var(--ink-2);
}

/* 03 STEPS — 4 cards in row, photo on top with corner number */

.svc__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap-md);
}

.svc__step {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.25s var(--ease-out),
    transform 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out);
}

@media (hover: hover) {
.svc__step:hover {
  border-color: var(--lavender);
  transform: translateY(-3px);
  box-shadow: 0 24px 50px -28px color-mix(in oklab, var(--lavender-700) 40%, transparent);
}
}

.svc__stepPhoto {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  background: var(--lavender-50);
  overflow: hidden;
}

.svc__stepPhotoMedia {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.97);
  transition: transform 0.8s var(--ease-out);
}

@media (hover: hover) {
.svc__step:hover .svc__stepPhotoMedia {
  transform: scale(1.05);
}
}

.svc__stepNum {
  position: absolute;
  left: var(--gap-sm);
  top: var(--gap-sm);
  display: inline-grid;
  place-items: center;
  width: clamp(36px, 3.4vw, 44px);
  height: clamp(36px, 3.4vw, 44px);
  border-radius: 50%;
  background: var(--lavender-700);
  color: var(--bg);
  font: 500 clamp(14px, 1.2vw, 16px) / 1 var(--font-display);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 8px 20px -8px color-mix(in oklab, var(--ink) 40%, transparent);
  z-index: 1;
}

.svc__stepBody {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: clamp(18px, 1.8vw, 24px);
  flex: 1;
}

.svc__stepTime {
  font: 500 var(--fs-eyebrow)/1 var(--font-body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lavender-700);
  font-variant-numeric: tabular-nums;
}

.svc__stepTitle {
  margin: 0;
  font: 500 clamp(15px, 1.25vw, 18px) / 1.25 var(--font-display);
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}

.svc__stepDesc {
  margin: 4px 0 0;
  font: 400 var(--fs-small) / 1.55 var(--font-body);
  color: var(--ink-2);
}

/* 04 PRICING — restaurant-menu list + Lady Check-Up feature card */

.svc__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-2xl);
  overflow: hidden;
}

.svc__menuItem {
  position: relative;
  border-bottom: 1px solid var(--line);
}

.svc__menuItem:last-child {
  border-bottom: 0;
}

/* Row container — grid lives here (was on .svc__menuItem before the row was
   wrapped in a real <button> for full-row clickability). */
.svc__menuRow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(40px, 1fr) auto;
  align-items: end;
  gap: clamp(14px, 1.4vw, 22px);
  width: 100%;
  padding: clamp(18px, 1.8vw, 26px) var(--radius-xl);
  background: transparent;
  border: 0;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: background 0.25s var(--ease-out);
}

.svc__menuRow--clickable {
  cursor: pointer;
}

@media (hover: hover) {
  .svc__menuRow--clickable:hover {
    background: color-mix(in oklab, var(--lavender-50) 50%, var(--bg));
  }
}

.svc__menuRow--clickable:focus-visible {
  outline: 2px solid var(--lavender-700);
  outline-offset: 3px;
}

.svc__menuRow--clickable:active {
  background: color-mix(in oklab, var(--lavender-50) 70%, transparent);
}

.svc__menuItem[data-featured='true'] .svc__menuRow {
  background: linear-gradient(180deg, var(--lavender-50) 0%, color-mix(in oklab, var(--lavender-50) 40%, transparent) 100%);
}

.svc__menuItem[data-featured='true']::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  background: var(--lavender-700);
  border-radius: var(--radius-pill);
  z-index: 1;
  pointer-events: none;
}

.svc__menuItemBody {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.svc__menuFlag {
  align-self: flex-start;
  display: inline-flex;
  padding: 4px 10px;
  margin-bottom: 4px;
  border-radius: var(--radius-pill);
  background: var(--lavender-700);
  font: 500 var(--fs-eyebrow)/1 var(--font-brand);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bg);
}

.svc__menuName {
  display: block;
  margin: 0;
  font: 500 clamp(16px, 1.3vw, 18px) / 1.25 var(--font-display);
  letter-spacing: -0.01em;
  color: var(--ink);
}

.svc__menuSub {
  display: block;
  margin: 0;
  font: 400 var(--fs-meta)/1.55 var(--font-body);
  color: var(--muted);
  max-width: 56ch;
}

.svc__menuLeader {
  height: 1px;
  align-self: end;
  margin-bottom: 12px;
  background: var(--line);
}

.svc__menuPrice {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap;
}

.svc__menuPriceValue {
  font: 300 clamp(22px, 2vw, 28px) / 0.95 var(--font-display);
  letter-spacing: -0.03em;
  color: var(--lavender-700);
  font-variant-numeric: tabular-nums;
}

.svc__menuPriceCurrency {
  font: 300 var(--fs-body-lg) / 1 var(--font-display);
  color: var(--lavender-700);
}

/* Lady Check-Up — feature card (foot-card style from homepage) */

.svc__feature {
  margin-top: clamp(24px, 3vw, 36px);
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
  padding: clamp(24px, 2.4vw, 32px);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-2xl);
}

.svc__featureBody {
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
}

.svc__featureHead {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.svc__featureTag {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--lavender-700);
  font: 500 var(--fs-eyebrow)/1 var(--font-brand);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bg);
}

.svc__featureTitle {
  margin: 0;
  font: 500 clamp(20px, 1.8vw, 26px) / 1.2 var(--font-display);
  letter-spacing: -0.02em;
  color: var(--ink);
}

.svc__featureDesc {
  margin: 0;
  font: 400 var(--fs-body) / 1.65 var(--font-body);
  color: var(--ink-2);
  max-width: 56ch;
}

.svc__featureList {
  list-style: none;
  margin: 0;
  padding: var(--gap-sm) 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 18px;
}

.svc__featureList li {
  position: relative;
  padding-left: 18px;
  font: 500 12.5px/1.4 var(--font-body);
  color: var(--ink-2);
}

.svc__featureList li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lavender);
}

.svc__featurePricePane {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: var(--radius-xl);
  background: var(--lavender-50);
  border: 1px solid var(--lavender-100);
  border-radius: var(--radius-lg);
}

.svc__featurePriceEye {
  font: 500 var(--fs-eyebrow)/1 var(--font-body);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.svc__featurePriceValue {
  font: 300 clamp(36px, 3.4vw, 48px) / 0.95 var(--font-display);
  letter-spacing: -0.04em;
  color: var(--lavender-700);
  font-variant-numeric: tabular-nums;
}

.svc__featurePriceSaved {
  font: 400 var(--fs-meta)/1.4 var(--font-body);
  color: var(--muted);
  margin-bottom: 8px;
}

.svc__featureCta {
  margin-top: 4px;
  padding: 14px 22px;
}

.btn.svc__featureCta {
  padding: 14px 22px;
}

/* 05 DOCTORS — 3 cards in row, як Team на головній */

.svc__doctors {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap-md);
}

.svc__doctor {
  display: flex;
}

.svc__doctorCard {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.35s var(--ease-out),
    border-color 0.25s var(--ease-out),
    box-shadow 0.35s var(--ease-out);
}

@media (hover: hover) {
.svc__doctorCard:hover {
  transform: translateY(-3px);
  border-color: var(--lavender);
  box-shadow: 0 24px 50px -28px color-mix(in oklab, var(--lavender-700) 40%, transparent);
}
}

.svc__doctorMedia {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  background-size: cover;
  background-position: center top;
  filter: saturate(0.97);
  overflow: hidden;
}

.svc__doctorOverlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, color-mix(in oklab, var(--lavender-700) 96%, transparent), color-mix(in oklab, var(--lavender-800) 94%, transparent));
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
  z-index: 1;
}

.svc__doctorOverlayHint {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, calc(-50% + 6px));
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--bg);
  color: var(--lavender-700);
  font: 500 var(--fs-eyebrow)/1 var(--font-brand);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  z-index: 2;
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

@media (hover: hover) {
.svc__doctorCard:hover .svc__doctorOverlay {
  opacity: 1;
}
}

@media (hover: hover) {
.svc__doctorCard:hover .svc__doctorOverlayHint {
  opacity: 1;
  transform: translate(-50%, -50%);
}
}

.svc__doctorExp {
  position: absolute;
  left: var(--gap-sm);
  top: var(--gap-sm);
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  background: color-mix(in oklab, var(--bg) 94%, transparent);
  backdrop-filter: blur(10px);
  border: 1px solid color-mix(in oklab, var(--bg) 70%, transparent);
  z-index: 3;
}

.svc__doctorExp strong {
  font: 500 var(--fs-meta)/1 var(--font-brand);
  letter-spacing: 0.04em;
  color: var(--lavender-700);
  font-variant-numeric: tabular-nums;
}

.svc__doctorExp span {
  font: 500 9px/1 var(--font-body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.svc__doctorBody {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(20px, 2vw, 26px);
}

.svc__doctorRole {
  font: 500 var(--fs-eyebrow)/1 var(--font-body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.svc__doctorName {
  margin: 0;
  font: 500 clamp(17px, 1.4vw, 20px) / 1.2 var(--font-display);
  letter-spacing: -0.02em;
  color: var(--ink);
}

.svc__doctorSkills {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.svc__doctorSkills li {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--lavender-50);
  border: 1px solid var(--lavender-100);
  font: 500 var(--fs-eyebrow)/1 var(--font-brand);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lavender-700);
}

.svc__doctorPick {
  margin-top: clamp(12px, 1.4vw, 18px);
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--lavender-700);
  color: var(--bg);
  font: 500 var(--fs-eyebrow)/1 var(--font-brand);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s var(--ease-out),
    box-shadow 0.3s var(--ease-out),
    transform 0.3s var(--ease-out);
}

@media (hover: hover) {
.svc__doctorPick:hover {
  background: var(--lavender-600);
  box-shadow: var(--shadow-hover);
  transform: translateY(-1px);
}
}

.svc__doctorPick svg {
  transition: transform 0.3s var(--ease-out);
}

@media (hover: hover) {
.svc__doctorPick:hover svg {
  transform: translateX(2px);
}
}

/* 07 FAQ + FORM split */

.svc__close {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 3vw, 48px);
  align-items: start;
}

.svc__faqSide {
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
}

.svc__formSide {
  position: sticky;
  top: clamp(100px, 11vw, 140px);
}

.svc__formLocked {
  background: var(--lavender-50) !important;
  border-color: var(--lavender-100) !important;
  color: var(--lavender-700) !important;
  font-weight: 500 !important;
  cursor: not-allowed;
}

/* Responsive */

@media (max-width: 1100px) {
  .svc__heroInner {
    grid-template-columns: 1fr;
  }
  .svc__heroLeft {
    min-height: 0;
  }
  .svc__heroPhoto {
    aspect-ratio: 16 / 10;
    order: -1;
    min-height: 0;       /* clamp() floor was 420px → forced width past viewport */
    width: 100%;
    max-width: 100%;
  }
  .svc__heroFacts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .svc__triggers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .svc__doctors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .svc__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .svc__close {
    grid-template-columns: 1fr;
  }
  .svc__formSide {
    position: static;
  }
}

@media (max-width: 780px) {
  .svc__heroFacts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .svc__heroIdx {
    font-size: 36px;
  }
  .svc__triggers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .svc__steps {
    grid-template-columns: 1fr;
  }
  .svc__doctors {
    grid-template-columns: 1fr;
  }
  .svc__feature {
    grid-template-columns: 1fr;
  }
  .svc__featureList {
    grid-template-columns: 1fr;
  }
  .svc__menuRow {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .svc__menuLeader {
    display: none;
  }
}

@media (max-width: 520px) {
  .svc__triggers {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  /* Equal full-width hero CTAs on mobile. Higher specificity (.btn.svc__heroBtn)
     + align-self:stretch override the global .btn--primary { width:auto;
     align-self:flex-start } that otherwise leaves «Записатися» narrower. */
  .btn.svc__heroBtn {
    width: 100%;
    align-self: stretch;
    justify-content: center;
  }
}

/* =========================================================================
   ABOUT PAGE (/about/)
   Standalone landing — Hero, Pillars, Director, CTA Band.
   Uses BEM "ab-*" namespace to stay decoupled from Home seo section.
   ========================================================================= */

/* ---------- ab-hero ------------------------------------------------------ */

.ab-hero {
  position: relative;
  padding: clamp(8px, 1.5vw, 24px) 0 clamp(48px, 7vw, 96px);
  background:
    radial-gradient(70% 60% at 80% 10%, color-mix(in oklab, var(--lavender) 18%, transparent) 0%, transparent 60%),
    var(--bg);
}

.ab-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--pad-side);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}

.ab-hero__body {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 1.8vw, 24px);
}


.ab-hero__title {
  margin: 0;
  font: 300 var(--fs-hero) / var(--lh-tight) var(--font-display);
  letter-spacing: var(--ls-tight);
  color: var(--ink);
  text-wrap: balance;
  overflow-wrap: break-word;
}

.ab-hero__lead {
  margin: 0;
  font: 400 var(--fs-lead) / 1.6 var(--font-body);
  color: var(--muted);
  max-width: 56ch;
  text-wrap: pretty;
}

.ab-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.ab-hero__frame {
  margin: 0;
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(165deg, var(--lavender-100) 0%, var(--lavender-50) 60%, var(--bg) 100%);
  box-shadow:
    0 40px 80px -40px color-mix(in oklab, var(--lavender-700) 40%, transparent),
    0 20px 40px -28px color-mix(in oklab, var(--ink) 15%, transparent);
}

.ab-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 900px) {
  .ab-hero__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .ab-hero__frame {
    aspect-ratio: 4 / 3;
    max-width: 560px;
  }
}

@media (max-width: 520px) {
  .ab-hero__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .ab-hero__btn {
    justify-content: center;
    padding: 12px 16px;
    font-size: var(--fs-eyebrow);
  }
}

/* ---------- ab-pillars --------------------------------------------------- */

.ab-pillars {
  background: linear-gradient(180deg, var(--bg) 0%, color-mix(in oklab, var(--lavender-50) 42%, var(--bg)) 100%);
  padding: var(--pad-section-y) 0;
  border-top: 1px solid color-mix(in oklab, var(--lavender) 22%, transparent);
}

.ab-pillars__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--pad-side);
}

.ab-pillars__head {
  margin-bottom: clamp(32px, 4vw, 56px);
  max-width: 70ch;
}


.ab-pillars__intro {
  margin: 0;
  font: 300 clamp(20px, 2.2vw, 28px) / 1.4 var(--font-display);
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: pretty;
}

.ab-pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 28px);
}

.ab-pillars__card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ab-pillars__cardTitle {
  margin: 0;
  font: 400 clamp(18px, 1.7vw, 22px) / 1.25 var(--font-display);
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

.ab-pillars__cardLead {
  margin: 0;
  font: 500 var(--fs-body) / 1.5 var(--font-body);
  color: var(--lavender-700);
}

.ab-pillars__cardDesc {
  margin: 0;
  font: 400 var(--fs-body) / 1.65 var(--font-body);
  color: var(--muted);
  text-wrap: pretty;
}

.ab-pillars__list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ab-pillars__list li {
  font: 500 var(--fs-eyebrow) / 1 var(--font-brand);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  background: var(--lavender-50);
  color: var(--lavender-700);
}

@media (max-width: 900px) {
  .ab-pillars__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- ab-dir (director) -------------------------------------------- */

.ab-dir {
  position: relative;
  padding: var(--pad-section-y) 0;
  background: var(--bg);
  overflow: hidden;
}

.ab-dir::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 50% at 12% 30%, color-mix(in oklab, var(--lavender) 14.0%, transparent) 0%, transparent 65%),
    radial-gradient(45% 40% at 88% 75%, color-mix(in oklab, var(--lavender) 10%, transparent) 0%, transparent 65%);
  pointer-events: none;
}

.ab-dir__inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--pad-side);
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.ab-dir__portrait {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(165deg, var(--lavender-100) 0%, var(--lavender-50) 60%, var(--bg) 100%);
  box-shadow:
    0 40px 80px -40px color-mix(in oklab, var(--lavender-700) 45%, transparent),
    0 20px 40px -28px color-mix(in oklab, var(--ink) 18%, transparent);
}

.ab-dir__portraitImg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  filter: saturate(0.95);
}

.ab-dir__portraitImg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, color-mix(in oklab, var(--ink) 18%, transparent) 100%);
}

.ab-dir__body {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2vw, 28px);
}


.ab-dir__title {
  margin: 0;
  font: 300 var(--fs-h2) / 1.1 var(--font-display);
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}

.ab-dir__text {
  font: 400 var(--fs-body-lg) / 1.7 var(--font-body);
  color: var(--ink-2);
  text-wrap: pretty;
}

.ab-dir__text p {
  margin: 0 0 1em;
}

.ab-dir__text p:last-child {
  margin-bottom: 0;
}

.ab-dir__sign {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: clamp(18px, 2vw, 24px);
  border-top: 1px solid var(--line);
}

.ab-dir__signIntro {
  font: 400 var(--fs-body) / 1.4 var(--font-body);
  color: var(--muted);
  font-style: italic;
}

.ab-dir__signName {
  font: 500 clamp(18px, 1.6vw, 22px) / 1.2 var(--font-display);
  letter-spacing: -0.02em;
  color: var(--ink);
}

.ab-dir__signRole {
  font: 400 var(--fs-body) / 1.4 var(--font-body);
  color: var(--muted);
}

@media (max-width: 900px) {
  .ab-dir__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .ab-dir__portrait {
    max-width: 360px;
    margin: 0 auto;
    width: 100%;
  }
}

/* ---------- ab-cta ------------------------------------------------------- */

.ab-cta {
  padding: var(--pad-section-y) 0;
  background: linear-gradient(180deg, var(--lavender-50) 0%, var(--lavender-100) 100%);
  border-top: 1px solid color-mix(in oklab, var(--lavender) 30%, transparent);
}

.ab-cta__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--pad-side);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(14px, 1.6vw, 22px);
}


.ab-cta__title {
  margin: 0;
  font: 300 clamp(22px, 3vw, 40px) / 1.15 var(--font-display);
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
  overflow-wrap: break-word;
}

.ab-cta__lead {
  margin: 0;
  font: 400 var(--fs-body-lg) / 1.6 var(--font-body);
  color: var(--muted);
  max-width: 52ch;
  text-wrap: pretty;
}

.ab-cta__actions {
  margin-top: 8px;
}

@media (max-width: 520px) {
  .ab-cta__btn {
    padding: 16px 24px;
    font-size: var(--fs-meta);
  }
}

/* About — keep breadcrumb default top offset (under fixed header) but
   drop the bottom border so it blends into the hero section. */
.page--about .cat__crumbs {
  border-bottom: 0;
}

/* =========================================================================
   CONTACTS PAGE (/contacts/)
   Standalone landing — Hero, Info cards, Map, How-to-reach, CTA Band.
   BEM namespace "ct-*".
   ========================================================================= */

/* ---------- ct-hero ------------------------------------------------------ */

.ct-hero {
  position: relative;
  padding: clamp(8px, 1.5vw, 24px) 0 clamp(48px, 7vw, 96px);
  background:
    radial-gradient(70% 60% at 80% 10%, color-mix(in oklab, var(--lavender) 18%, transparent) 0%, transparent 60%),
    var(--bg);
}

.ct-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--pad-side);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}

.ct-hero__body {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 1.8vw, 24px);
}


.ct-hero__title {
  margin: 0;
  font: 300 var(--fs-hero) / var(--lh-tight) var(--font-display);
  letter-spacing: var(--ls-tight);
  color: var(--ink);
  text-wrap: balance;
  overflow-wrap: break-word;
}

.ct-hero__lead {
  margin: 0;
  font: 400 var(--fs-lead) / 1.6 var(--font-body);
  color: var(--muted);
  max-width: 56ch;
  text-wrap: pretty;
}

.ct-hero__frame {
  margin: 0;
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(165deg, var(--lavender-100) 0%, var(--lavender-50) 60%, var(--bg) 100%);
  box-shadow:
    0 40px 80px -40px color-mix(in oklab, var(--lavender-700) 40%, transparent),
    0 20px 40px -28px color-mix(in oklab, var(--ink) 15%, transparent);
}

.ct-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 900px) {
  .ct-hero__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .ct-hero__frame {
    aspect-ratio: 4 / 3;
    max-width: 560px;
  }
}

/* ---------- ct-info (contacts grid + socials) ---------------------------- */

.ct-info {
  padding: clamp(40px, 6vw, 80px) 0;
  background: var(--bg);
}

.ct-info__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--pad-side);
}

.ct-info__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 20px);
}

.ct-info__card {
  display: block;
}

.ct-info__link {
  display: flex;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
  height: 100%;
}

.ct-info__icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--lavender-50);
  color: var(--lavender-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ct-info__cardBody {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.ct-info__label {
  font: 500 var(--fs-eyebrow) / 1 var(--font-brand);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.ct-info__value {
  font: 500 15px / 1.3 var(--font-body);
  color: var(--ink);
  word-break: break-word;
}

.ct-info__extra {
  font: 400 var(--fs-small) / 1.4 var(--font-body);
  color: var(--muted);
}

.ct-info__socials {
  margin-top: clamp(24px, 3vw, 40px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.ct-info__socialsLabel {
  font: 500 var(--fs-eyebrow) / 1 var(--font-brand);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.ct-info__socialsRow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ct-info__social {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  text-decoration: none;
  font: 500 var(--fs-meta) / 1 var(--font-brand);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: border-color 0.25s var(--ease-out), color 0.25s var(--ease-out);
}

@media (hover: hover) {
  .ct-info__social:hover {
    background: var(--bg);
    border-color: var(--lavender-700);
    color: var(--lavender-700);
    transform: none;
  }
  .chip.ct-info__social:hover:not(:disabled):not([data-active='true']) {
    background: var(--bg);
    border-color: var(--lavender-700);
    color: var(--lavender-700);
    transform: none;
  }
}

@media (max-width: 900px) {
  .ct-info__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .ct-info__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- ct-map ------------------------------------------------------- */

.ct-map {
  padding: 0 0 clamp(48px, 7vw, 96px);
  background: var(--bg);
}

.ct-map__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--pad-side);
  position: relative;
}

.ct-map__frame {
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--lavender-50);
  box-shadow: 0 30px 60px -32px color-mix(in oklab, var(--lavender-700) 35%, transparent);
  aspect-ratio: 16 / 7;
  position: relative;
}

.ct-map__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 700px) {
  .ct-map__frame {
    aspect-ratio: 4 / 3;
  }
}

.ct-map__cta {
  position: absolute;
  left: 50%;
  bottom: clamp(16px, 2vw, 28px);
  transform: translateX(-50%);
}

/* ---------- ct-how ------------------------------------------------------- */

.ct-how {
  padding: var(--pad-section-y) 0;
  background: linear-gradient(180deg, var(--bg) 0%, color-mix(in oklab, var(--lavender-50) 42%, var(--bg)) 100%);
  border-top: 1px solid color-mix(in oklab, var(--lavender) 22%, transparent);
}

.ct-how__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--pad-side);
}

.ct-how__head {
  margin-bottom: clamp(32px, 4vw, 56px);
  max-width: 70ch;
}


.ct-how__intro {
  margin: 0;
  font: 300 clamp(20px, 2.2vw, 28px) / 1.4 var(--font-display);
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: pretty;
}

.ct-how__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 28px);
}

.ct-how__col {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 2.2vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ct-how__colTitle {
  margin: 0;
  font: 400 clamp(18px, 1.7vw, 22px) / 1.25 var(--font-display);
  letter-spacing: -0.02em;
  color: var(--ink);
}

.ct-how__colBody {
  font: 400 var(--fs-body) / 1.65 var(--font-body);
  color: var(--muted);
  text-wrap: pretty;
}

@media (max-width: 900px) {
  .ct-how__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- ct-cta ------------------------------------------------------- */

.ct-cta {
  padding: var(--pad-section-y) 0;
  background: linear-gradient(180deg, var(--lavender-50) 0%, var(--lavender-100) 100%);
  border-top: 1px solid color-mix(in oklab, var(--lavender) 30%, transparent);
}

.ct-cta__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--pad-side);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(14px, 1.6vw, 22px);
}


.ct-cta__title {
  margin: 0;
  font: 300 clamp(22px, 3vw, 40px) / 1.15 var(--font-display);
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
  overflow-wrap: break-word;
}

.ct-cta__lead {
  margin: 0;
  font: 400 var(--fs-body-lg) / 1.6 var(--font-body);
  color: var(--muted);
  max-width: 52ch;
  text-wrap: pretty;
}

.ct-cta__actions {
  margin-top: 8px;
}

/* Contacts — breadcrumb no bottom border (matches About). */
.page--contacts .cat__crumbs {
  border-bottom: 0;
}

/* Reviews / Doctors — hero-only bl variant (no trailing border + tight spacing
   when grid lives in a sibling section). */
.bl--hero-only {
  padding-bottom: 0;
}
.bl__head--bare {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
.page--reviews .cat__crumbs,
.page--doctors .cat__crumbs {
  border-bottom: 0;
}
/* Reviews: shared reviews section immediately follows hero — collapse the
   redundant top padding so users don't see a half-screen gap. */
.page--reviews .bl--hero-only + .rv {
  padding-top: clamp(24px, 3vw, 48px);
}


/* Blog single: caption under cover */
.post__coverCaption {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  color: var(--muted);
  margin-top: 8px;
  font-style: italic;
}

/* Hide section-level numbering (01, 02, 03 ...) sitewide.
   Numbers (PHP spans + CSS blocks) remain in code as dead markup
   for potential future use; this single rule keeps them off. */
.nf__idx,
.svc__idx,
.svc__heroIdx,
.dir__idx,
.ba__idx,
.pr__idx,
.tm__idx,
.st__idx,
.rv__idx,
.bl__idx,
.fq__idx,
.ig__idx,
.ct__idx,
.bk__idx,
.cat__idx {
  display: none !important;
}

/* =========================================================================
   Booking wizard (Lakmus) — uses canonical .btn / .card / .eyebrow
   ========================================================================= */

.bk--wizard {
	padding: var(--pad-section-y) 0;
}

.bk--wizard .bk__header {
	max-width: 720px;
	margin: 0 auto var(--gap-2xl);
	text-align: center;
}

.bk--wizard .bk__title {
	font-family: var(--font-display);
	font-size: var(--fs-h2);
	color: var(--ink);
	margin: var(--gap-md) 0 var(--gap-sm);
}

.bk--wizard .bk__sub {
	color: var(--muted);
	font-size: var(--fs-body);
}

.bk-wizard {
	max-width: 960px;
	margin: 0 auto;
	padding: var(--gap-xl);
	background: var(--bg);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-card);
}

.bk__loading,
.bk__empty {
	padding: var(--gap-2xl);
	text-align: center;
	color: var(--muted);
}

.bk__error {
	padding: var(--gap-xl);
	border: 1px solid color-mix(in oklab, var(--danger) 25%, transparent);
	background: color-mix(in oklab, var(--danger) 10%, transparent);
	border-radius: var(--radius-md);
	color: var(--danger-text);
}

.bk__cardGrid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--gap-md);
	margin: var(--gap-lg) 0;
}

/* Search input above the procedure grid on step 2.
   Mirrors .bk__field input pattern (lavender focus ring). */
.bk__search {
	appearance: none;
	width: 100%;
	padding: 14px 18px;
	margin: var(--gap-md) 0;
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: var(--radius-pill);
	font: 400 var(--fs-body)/1.4 var(--font-body);
	color: var(--ink);
	transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.bk__search::placeholder {
	color: var(--muted-2);
}

.bk__search:focus {
	outline: 2px solid var(--lavender-700);
	outline-offset: 3px;
	border-color: var(--lavender-700);
}

.bk__choice {
	display: block;
	padding: 0;
	overflow: hidden;
	text-align: left;
	cursor: pointer;
	transition: transform .12s ease, box-shadow .12s ease;
}

.bk__choice:hover {
	transform: translateY(-1px);
	box-shadow: var(--shadow-hover);
}

.bk__choice:focus-visible {
	outline: 2px solid var(--lavender-700);
	outline-offset: 3px;
	transform: translateY(-1px);
	box-shadow: var(--shadow-hover);
}

.bk__choiceBody {
	display: flex;
	flex-direction: column;
	gap: var(--gap-xs);
	padding: var(--gap-md) var(--gap-lg);
	min-width: 0;
}

.bk__choiceTitle {
	font-weight: 600;
	color: var(--ink);
	line-height: 1.3;
	word-break: normal;
	overflow-wrap: break-word;
	hyphens: auto;
}

.bk__choiceMeta {
	margin-top: auto;
	font-size: var(--fs-small);
	color: var(--muted);
}

/* Meta row under the title: duration left, price right. */
.bk__choiceMetaRow {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--gap-sm);
	margin-top: auto;
}

.bk__choiceMetaRow .bk__choiceMeta {
	margin-top: 0;
}

.bk__choicePrice {
	font-size: var(--fs-small);
	font-weight: 600;
	color: var(--ink);
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.bk__dayHeader {
	margin: var(--gap-lg) 0 var(--gap-xs);
	font-size: var(--fs-small);
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--muted);
}

.bk__dayHeader:first-child {
	margin-top: var(--gap-md);
}

.bk__slotGrid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
	gap: var(--gap-sm);
	margin: 0 0 var(--gap-md);
}

.bk__slot {
	min-height: var(--touch-target);
}

.bk__form {
	display: grid;
	gap: var(--gap-md);
	margin: var(--gap-lg) 0;
}

.bk__field {
	width: 100%;
	padding: var(--gap-md);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	font: inherit;
	background: var(--bg);
	color: var(--ink);
}

.bk__field:focus-visible {
	outline: 2px solid var(--lavender-700);
	outline-offset: 3px;
}

.bk__fieldLabel {
	display: flex;
	flex-direction: column;
	gap: var(--gap-sm);
	font-size: var(--fs-small);
	color: var(--muted);
}

.bk__consent {
	display: flex;
	align-items: flex-start;
	gap: var(--gap-sm);
	font-size: var(--fs-small);
	color: var(--muted);
}

.bk__summary {
	padding: var(--gap-md);
	background: var(--bg-soft);
	border-radius: var(--radius-sm);
	margin-bottom: var(--gap-md);
}

.bk__summary p {
	margin: var(--gap-xs) 0;
	font-size: var(--fs-small);
}

.bk__status {
	padding: var(--gap-md);
	border-radius: var(--radius-sm);
	margin: var(--gap-md) 0;
}

.bk__status--ok {
	background: color-mix(in oklab, var(--success) 12%, transparent);
	color: var(--ink);
}

.bk__status--error {
	background: color-mix(in oklab, var(--danger) 10%, transparent);
	color: var(--danger-text);
}

.bk__fallback {
	display: inline-flex;
	margin-top: var(--gap-lg);
}

/* Wizard step 0 — category picker grid.
   Each card is a button with photo on top + name + procedure count. */
/* Categories list — same horizontal pattern as the procedure list on step 1:
   square photo on the left, name + count on the right, one card per row. */
.bk__catGrid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--gap-md);
	margin: var(--gap-md) 0;
}

.bk__catCard {
	display: grid;
	grid-template-columns: 96px 1fr;
	align-items: start;
	min-height: 96px;
	padding: 0;
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	text-align: left;
	cursor: pointer;
	overflow: hidden;
	transition: transform 0.16s var(--ease-out), box-shadow 0.16s var(--ease-out), border-color 0.16s var(--ease-out);
}

.bk__catCard:hover {
	transform: translateY(-1px);
	box-shadow: var(--shadow-hover);
	border-color: color-mix(in oklab, var(--lavender-700) 35%, var(--line));
}

.bk__catCard:focus-visible {
	outline: 2px solid var(--lavender-700);
	outline-offset: 3px;
	transform: translateY(-1px);
	box-shadow: var(--shadow-hover);
	border-color: color-mix(in oklab, var(--lavender-700) 35%, var(--line));
}

.bk__catPhoto {
	display: block;
	width: 96px;
	height: 96px;
	background: var(--bg-soft) center / cover no-repeat;
}

.bk__catPhoto--placeholder {
	background:
		linear-gradient(135deg,
			color-mix(in oklab, var(--lavender-50) 80%, transparent) 0%,
			var(--bg-soft) 100%);
}

.bk__catBody {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 2px;
	padding: var(--gap-md) var(--gap-lg);
	min-width: 0;
}

.bk__catName {
	font: 500 clamp(15px, 1.1vw, 17px) / 1.25 var(--font-display);
	color: var(--ink);
	letter-spacing: -0.005em;
}

.bk__catCount {
	font-size: var(--fs-small);
	color: var(--muted);
}

@media (max-width: 520px) {
	.bk__catCard {
		grid-template-columns: 72px 1fr;
		min-height: 72px;
	}
	.bk__catPhoto {
		width: 72px;
		height: 72px;
	}
}

/* Wizard — step header: eyebrow only. Back navigation moved to the
   selection strip so it sits next to the breadcrumb chips. */
.bk__stepHead {
	margin-bottom: var(--gap-sm);
}

.bk__stepLabel {
	margin: 0;
	font: 600 var(--fs-eyebrow)/1 var(--font-body);
	letter-spacing: var(--ls-eyebrow);
	text-transform: uppercase;
	color: var(--muted);
}

/* Wizard — selection strip: inline back arrow on the left, breadcrumb
   chips on the right. Single row that scrolls horizontally on mobile. */
.bk__selection {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--gap-xs) var(--gap-sm);
	margin: var(--gap-sm) 0 var(--gap-md);
}

.bk__chips {
	display: inline-flex;
	flex-wrap: wrap;
	gap: var(--gap-xs);
}

.bk__stepBack {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 32px;
	height: 32px;
	min-width: 32px;
	min-height: 32px;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: var(--bg);
	color: var(--ink);
	font-size: 16px;
	line-height: 1;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
	transition: background 0.12s var(--ease-out), border-color 0.12s var(--ease-out);
}

.bk__stepBack:hover {
	background: var(--bg-soft);
	border-color: color-mix(in oklab, var(--lavender-700) 35%, var(--line));
}

.bk__stepBack:focus-visible {
	outline: 2px solid var(--lavender-700);
	outline-offset: 3px;
	background: var(--bg-soft);
	border-color: color-mix(in oklab, var(--lavender-700) 35%, var(--line));
}

.bk__chip {
	display: inline-flex;
	align-items: center;
	gap: 0;
	/* Opt out of the canonical .chip mobile min-height (36px @ ≤780px) —
	   selection-strip chips are read-only spans and stay naturally small. */
	min-height: auto;
	padding: 4px 12px;
	border-radius: var(--radius-pill);
	background: var(--bg-soft);
	border: 1px solid var(--line);
	font-family: var(--font-body);
	font-weight: 400;
	font-size: var(--fs-small);
	color: var(--ink);
	line-height: 1.4;
	letter-spacing: 0;
	text-transform: none;
	cursor: default;
}

.bk__chip--proc {
	background: color-mix(in oklab, var(--lavender-50) 60%, transparent);
	border-color: color-mix(in oklab, var(--lavender-700) 25%, transparent);
	color: var(--lavender-700);
	font-weight: 500;
}

.bk__chip--cat {
	background: var(--bg);
	border-color: var(--line);
	color: var(--muted);
}

@media (hover: hover) {
	.chip.bk__chip:hover:not(:disabled):not([data-active='true']) {
		background: var(--bg-soft);
		border-color: var(--line);
		color: var(--ink);
		transform: none;
	}

	.chip.bk__chip--proc:hover:not(:disabled):not([data-active='true']) {
		background: color-mix(in oklab, var(--lavender-50) 60%, transparent);
		border-color: color-mix(in oklab, var(--lavender-700) 25%, transparent);
		color: var(--lavender-700);
	}

	.chip.bk__chip--cat:hover:not(:disabled):not([data-active='true']) {
		background: var(--bg);
		border-color: var(--line);
		color: var(--muted);
	}
}

/* Wizard — doctor card (step 3). Horizontal layout: portrait thumbnail
   on the left, name + specialty stacked on the right. Compact enough
   that 2 columns fit on desktop and 1 column on mobile. */
.bk__cardGrid--doctors {
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.bk__choice--doctor {
	display: grid;
	grid-template-columns: 88px 1fr;
	align-items: center;
	gap: var(--gap-md);
	padding: var(--gap-sm) var(--gap-md);
	text-align: left;
}

.bk__docPhoto {
	display: block;
	width: 88px;
	height: 88px;
	border-radius: 50%;
	overflow: hidden;
	background: var(--bg-soft) center / cover no-repeat;
	flex-shrink: 0;
}

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

.bk__docPhoto--placeholder {
	background:
		linear-gradient(135deg,
			color-mix(in oklab, var(--lavender-50) 80%, transparent) 0%,
			var(--bg-soft) 100%);
}

.bk__docBody {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

/* -------------------------------------------------------------------
 * Booking modal (bkm)
 * Overlay container for the booking wizard. Opened by booking-modal.js
 * via [data-bkm-close] / Esc / backdrop click.
 * ------------------------------------------------------------------- */
.bkm {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(12px, 2vw, 24px);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.22s var(--ease-out);
}

.bkm[hidden] { display: none; }

.bkm.is-open {
	opacity: 1;
	pointer-events: auto;
}

.bkm__backdrop {
	position: absolute;
	inset: 0;
	background: color-mix(in oklab, var(--ink) 55%, transparent);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
}

.bkm__panel {
	position: relative;
	width: min(100%, 760px);
	max-height: min(92vh, 880px);
	display: flex;
	flex-direction: column;
	background: var(--bg);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-modal);
	transform: translateY(12px) scale(0.98);
	transition: transform 0.26s var(--ease-out);
	overflow: hidden;
}

.bkm.is-open .bkm__panel {
	transform: translateY(0) scale(1);
}

.bkm__close {
	position: absolute;
	top: var(--gap-sm);
	right: var(--gap-sm);
	width: 36px;
	height: 36px;
	min-height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: var(--radius-pill);
	color: var(--muted);
	cursor: pointer;
	transition: background 0.16s var(--ease-out), color 0.16s var(--ease-out);
	z-index: 2;
}

.bkm__close:hover,
.bkm__close:focus-visible {
	background: var(--bg-soft);
	color: var(--ink);
}

.bkm__close:focus-visible {
	outline: 2px solid var(--lavender-700);
	outline-offset: 3px;
}

.bkm__header {
	padding: var(--gap-xl) var(--gap-xl) var(--gap-md);
	text-align: left;
}

.bkm__title {
	margin: var(--gap-xs) 0 var(--gap-xs);
	font: 500 clamp(22px, 2vw, 28px) / 1.15 var(--font-display);
	color: var(--ink);
	letter-spacing: -0.01em;
}

.bkm__sub {
	margin: 0;
	font-size: var(--fs-small);
	color: var(--muted);
}

.bkm__body {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 0 var(--gap-xl) var(--gap-xl);
}

/* Wizard inside modal — remove the outer card chrome (.bk--wizard styles)
   since the modal panel itself provides the surface. */
.bkm__body .bk-wizard {
	max-width: none;
	margin: 0;
	padding: 0;
	background: transparent;
	border-radius: 0;
	box-shadow: none;
}

/* Request-callback form inside modal — same reasoning as above. The form
   reuses .cat__form (which adds card chrome on standalone pages like
   #booking-fallback on single-service.php) but inside the modal the panel
   already provides the surface. */
.bkm__body .bk__form--request {
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

@media (max-width: 520px) {
	.bkm {
		padding: 0;
		align-items: flex-end;
	}
	.bkm__panel {
		width: 100%;
		max-height: 95vh;
		border-radius: var(--radius-lg) var(--radius-lg) 0 0;
		transform: translateY(100%);
	}
	.bkm.is-open .bkm__panel {
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.bkm,
	.bkm__panel {
		transition: none;
	}
}

/* =====================================================================
 * Clinic gallery — .gl
 * Auto-injected in footer.php for every page except homepage,
 * driven by `gallery` CPT + ACF (see template-parts/shared/gallery.php).
 * ===================================================================== */

html.gl-locked,
html.gl-locked body { overflow: hidden; }

.gl__previewBadge {
	position: absolute;
	top: 14px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--ink);
	color: var(--bg);
	font-family: var(--font-body);
	font-size: var(--fs-meta);
	font-weight: 500;
	letter-spacing: 0.04em;
	box-shadow: 0 8px 24px -10px color-mix(in oklab, var(--ink) 55%, transparent);
}
.gl__previewBadge svg { color: var(--lavender); }

.gl--preview { padding-top: calc(var(--pad-section-y) + 16px); }

.gl {
	position: relative;
	background: var(--bg);
	padding: var(--pad-section-y) 0;
	overflow: hidden;
}

.gl::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(80% 60% at 0% 0%, color-mix(in oklab, var(--lavender) 10%, transparent), transparent 60%),
		radial-gradient(60% 50% at 100% 100%, color-mix(in oklab, var(--lavender) 7%, transparent), transparent 65%);
	pointer-events: none;
	z-index: 0;
}

.gl__inner {
	position: relative;
	z-index: 1;
	max-width: var(--page-max);
	margin: 0 auto;
	padding: 0 var(--pad-side);
}

.gl__head {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: clamp(20px, 3vw, 40px);
	align-items: end;
	margin-bottom: clamp(28px, 3.6vw, 48px);
	padding-bottom: clamp(20px, 2.6vw, 32px);
	border-bottom: 1px solid var(--line);
}

.gl__headText {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 720px;
	min-width: 0;
}

.gl__title {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 300;
	font-size: var(--fs-h2);
	line-height: var(--lh-snug);
	letter-spacing: var(--ls-tight);
	color: var(--ink);
}

.gl__lead {
	margin: 0;
	font-family: var(--font-body);
	font-size: var(--fs-lead);
	line-height: 1.6;
	color: var(--muted);
	max-width: 60ch;
}

.gl__counter {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
	font-family: var(--font-display);
	font-weight: 300;
	color: var(--lavender-700);
	white-space: nowrap;
}
.gl__counter > span {
	font-size: clamp(36px, 5vw, 64px);
	line-height: 1;
	letter-spacing: -0.04em;
}
.gl__counter > small {
	font-family: var(--font-body);
	font-size: var(--fs-meta);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--muted-2);
}

/* --- Grid: mosaic (default) --- */
.gl__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: clamp(140px, 14vw, 220px);
	gap: clamp(8px, 1vw, 14px);
	grid-auto-flow: dense;
}

.gl--grid .gl__grid {
	grid-auto-rows: clamp(160px, 16vw, 260px);
}

.gl__cell {
	position: relative;
	overflow: hidden;
	border: 0;
	padding: 0;
	margin: 0;
	border-radius: var(--radius-lg);
	background: var(--lavender-50);
	cursor: zoom-in;
	isolation: isolate;
	box-shadow: 0 1px 0 color-mix(in oklab, var(--ink) 4%, transparent);
	transition: transform 320ms var(--ease-out), box-shadow 320ms var(--ease-out);
}

.gl__cell:focus-visible {
	outline: 2px solid var(--lavender-700);
	outline-offset: 3px;
}

.gl__cell:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px -16px color-mix(in oklab, var(--lavender-800) 45%, transparent);
}

.gl__cell--lg { grid-column: span 2; grid-row: span 2; }
.gl__cell--md { grid-column: span 2; grid-row: span 1; }
.gl__cell--sm { grid-column: span 1; grid-row: span 1; }

.gl--grid .gl__cell { grid-column: span 1; grid-row: span 1; }

.gl__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 600ms var(--ease-out), filter 320ms var(--ease-out);
	will-change: transform;
}
.gl__cell:hover .gl__img {
	transform: scale(1.05);
}

.gl__cellOverlay {
	position: absolute;
	inset: auto auto 10px 10px;
	width: 36px;
	height: 36px;
	display: grid;
	place-items: center;
	border-radius: 999px;
	background: color-mix(in oklab, var(--bg) 92%, transparent);
	color: var(--ink);
	backdrop-filter: blur(6px);
	opacity: 0;
	transform: translateY(4px);
	transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out);
}
.gl__cell:hover .gl__cellOverlay,
.gl__cell:focus-visible .gl__cellOverlay {
	opacity: 1;
	transform: translateY(0);
}

/* --- Tablet --- */
@media (max-width: 1023px) {
	.gl__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		grid-auto-rows: clamp(110px, 16vw, 180px);
	}
}

/* --- Mobile --- */
@media (max-width: 640px) {
	.gl__head {
		grid-template-columns: 1fr;
		align-items: start;
		gap: 12px;
	}
	.gl__counter {
		align-items: flex-start;
	}
	.gl__counter > span { font-size: 32px; }

	.gl__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: clamp(120px, 32vw, 180px);
		gap: 8px;
	}
	.gl__cell--lg { grid-column: span 2; grid-row: span 2; }
	.gl__cell--md { grid-column: span 2; grid-row: span 1; }
	.gl__cell--sm { grid-column: span 1; grid-row: span 1; }

	.gl--grid .gl__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* --- Lightbox --- */
.gl__lightbox {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(12px, 3vw, 32px);
}

.gl__lightbox[hidden] { display: none; }

.gl__lightboxBackdrop {
	position: absolute;
	inset: 0;
	background: color-mix(in oklab, var(--ink) 92%, transparent);
	backdrop-filter: blur(8px);
	cursor: zoom-out;
}

.gl__lightboxInner {
	position: relative;
	width: 100%;
	max-width: 1280px;
	max-height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.gl__lightboxStage {
	position: relative;
	margin: 0;
	max-width: 100%;
	max-height: 88vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}

.gl__lightboxStage img {
	max-width: 100%;
	max-height: 82vh;
	width: auto;
	height: auto;
	display: block;
	border-radius: var(--radius-md);
	box-shadow: 0 24px 80px -16px color-mix(in oklab, var(--ink) 60%, transparent);
	object-fit: contain;
}

.gl__lightboxCaption {
	font-family: var(--font-body);
	font-size: var(--fs-meta);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: color-mix(in oklab, var(--bg) 70%, transparent);
}

.gl__lightboxBtn {
	position: absolute;
	z-index: 2;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 999px;
	background: color-mix(in oklab, var(--bg) 12%, transparent);
	color: var(--bg);
	cursor: pointer;
	display: grid;
	place-items: center;
	backdrop-filter: blur(8px);
	transition: background 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.gl__lightboxBtn:hover {
	background: color-mix(in oklab, var(--bg) 22%, transparent);
	transform: scale(1.06);
}
.gl__lightboxBtn:focus-visible {
	outline: 2px solid var(--bg);
	outline-offset: 3px;
}

.gl__lightboxBtn--close { top: 16px; right: 16px; }
.gl__lightboxBtn--prev  { left: 16px; top: 50%; transform: translateY(-50%); }
.gl__lightboxBtn--next  { right: 16px; top: 50%; transform: translateY(-50%); }
.gl__lightboxBtn--prev:hover { transform: translateY(-50%) scale(1.06); }
.gl__lightboxBtn--next:hover { transform: translateY(-50%) scale(1.06); }

@media (max-width: 640px) {
	.gl__lightboxBtn--prev { left: 8px; }
	.gl__lightboxBtn--next { right: 8px; }
	.gl__lightboxBtn--close { top: 8px; right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
	.gl__cell,
	.gl__img,
	.gl__cellOverlay,
	.gl__lightboxBtn {
		transition: none;
	}
	.gl__cell:hover .gl__img { transform: none; }
	.gl__cell:hover { transform: none; }
}

/* Promotion card — secondary "Детальніше" trigger */
.pr__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 4px 0 12px;
	padding: 0;
	background: none;
	border: 0;
	font: inherit;
	font-weight: 600;
	color: var(--color-accent, #5b4b8a);
	cursor: pointer;
}
.pr__more:hover { text-decoration: underline; }
.pr__more svg { transition: transform 0.18s ease; }
.pr__more:hover svg { transform: translateX(2px); }

/* Promotion details modal body */
.prm__media {
	display: block;
	width: 100%;
	max-height: 240px;
	object-fit: cover;
	border-radius: 14px;
	margin-bottom: 16px;
}
.prm__tag { margin: 0 0 8px; }
.prm__desc {
	margin: 0 0 16px;
	line-height: 1.6;
	color: var(--color-text, #2a2a33);
}
.prm__includes {
	margin: 0 0 16px;
	padding-left: 1.1em;
	display: grid;
	gap: 6px;
}
.prm__includes li { line-height: 1.45; }
.prm__price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px 12px;
	margin: 0 0 4px;
}
.prm__priceEyebrow,
.prm__priceNote { width: 100%; font-size: 0.85rem; color: var(--color-muted, #8a8a96); }
.prm__priceNow { font-size: 1.6rem; }
.prm__priceOld { color: var(--color-muted, #8a8a96); }
.prm__until { margin: 0; font-size: 0.9rem; color: var(--color-muted, #8a8a96); }
.prm__foot {
	flex: 0 0 auto;
	margin-top: 0;
	padding: var(--gap-md) var(--gap-xl) var(--gap-xl);
	border-top: 1px solid color-mix(in oklab, var(--ink) 8%, transparent);
}
