:root {
  --ink: #152331;
  --text: #374a59;
  --muted: #74818c;
  --line: #dde8ed;
  --wash: #f4f8fa;
  --white: #ffffff;
  --green: #0a8f4a;
  --green-deep: #087037;
  --brand-dark: #07545d;
  --mint: #eaf7ef;
  --cyan: #2fb5cf;
  --blue: #2fb5cf;
  --amber: #f1ad20;
  --radius: 8px;
  --shadow: 0 18px 44px rgba(21, 35, 49, .12);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
}

/* Homepage stories */
.clinic-stories {
  padding: 28px 0 34px;
  overflow: hidden;
  background:
    linear-gradient(180deg, #f1f7f4 0%, #f7faf9 100%);
  border-top: 1px solid rgba(7, 84, 93, .07);
}

.clinic-stories-shell {
  position: relative;
  width: min(1180px, calc(100% - 48px));
  display: block;
  overflow: hidden;
  padding: 24px 28px 28px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% -28%, rgba(109, 202, 147, .22), transparent 34%),
    linear-gradient(118deg, #07545d 0%, #087047 100%);
  box-shadow: 0 22px 50px rgba(7, 84, 93, .16);
}

.clinic-stories-intro h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-align: center;
}

.clinic-stories-row {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  overflow: visible;
  margin: 0 auto;
  padding: 0 1px 2px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.clinic-stories-row::-webkit-scrollbar {
  display: none;
}

.clinic-story-card {
  position: relative;
  width: 100%;
  height: 210px;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 17px;
  background: #dce9e6;
  box-shadow: 0 14px 28px rgba(2, 31, 34, .2);
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  isolation: isolate;
  scroll-snap-align: start;
  transition: transform 260ms var(--ease-out), border-color 200ms var(--ease-out), box-shadow 260ms var(--ease-out);
}

.clinic-story-card::after {
  display: none;
}

.clinic-story-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms var(--ease-out), filter 260ms var(--ease-out);
}

.clinic-story-card:nth-child(1) img { object-position: 47% center; }
.clinic-story-card:nth-child(2) img { object-position: 67% center; }
.clinic-story-card:nth-child(3) img { object-position: 61% center; }
.clinic-story-card:nth-child(4) img { object-position: 61% center; }
.clinic-story-card:nth-child(5) img { object-position: 54% center; }

.clinic-story-card:hover,
.clinic-story-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, .72);
  box-shadow: 0 18px 34px rgba(2, 31, 34, .28);
  outline: none;
}

.clinic-story-card:hover img,
.clinic-story-card:focus-visible img {
  transform: scale(1.035);
  filter: saturate(1.03);
}

.clinic-story-play {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: var(--green-deep);
  box-shadow: 0 5px 14px rgba(0, 34, 36, .16);
}

.clinic-story-play i {
  margin-left: 1px;
  font-size: 9px;
}

.clinic-story-number {
  display: none;
}

.clinic-story-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  min-height: 78px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px 15px 13px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(5, 41, 44, 0) 0%, rgba(5, 41, 44, .88) 58%);
}

.clinic-story-caption small {
  display: none;
}

.clinic-story-caption b {
  display: -webkit-box;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.12;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.story-viewer {
  width: min(940px, calc(100% - 40px));
  max-width: none;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 34px 100px rgba(2, 28, 30, .32);
  color: var(--ink);
}

.story-viewer::backdrop {
  background: rgba(4, 27, 30, .78);
  backdrop-filter: blur(10px);
}

.story-viewer[open] {
  animation: storyViewerIn 260ms var(--ease-out);
}

.story-viewer-progress {
  position: absolute;
  top: 16px;
  right: 72px;
  left: 18px;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.story-viewer-progress span {
  height: 3px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, .34);
}

.story-viewer-progress span::after {
  content: "";
  width: 0;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: #fff;
}

.story-viewer-progress span.is-complete::after,
.story-viewer-progress span.is-current::after {
  width: 100%;
}

.story-viewer-panel {
  min-height: 600px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr);
  overflow: hidden;
  border-radius: inherit;
}

.story-viewer-media {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  background: #dce9e6;
}

.story-viewer-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 41, 44, .08);
  pointer-events: none;
}

.story-viewer-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.story-viewer-brand {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 999px;
  background: rgba(5, 45, 49, .72);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .03em;
  backdrop-filter: blur(10px);
}

.story-viewer-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 66px 46px 48px;
  background: #fff;
}

.story-viewer-count {
  width: fit-content;
  margin-bottom: 24px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--green);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

.story-viewer-copy h2 {
  margin-bottom: 18px;
  color: #073f42;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.03;
  letter-spacing: -.04em;
}

.story-viewer-text {
  margin-bottom: 30px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
}

.story-viewer-copy .button {
  align-self: flex-start;
}

.story-viewer-close,
.story-viewer-nav {
  position: absolute;
  z-index: 5;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 50%;
  background: rgba(5, 45, 49, .76);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background 160ms var(--ease-out), transform 160ms var(--ease-out);
}

.story-viewer-close:hover,
.story-viewer-nav:hover,
.story-viewer-close:focus-visible,
.story-viewer-nav:focus-visible {
  background: var(--green);
  outline: none;
  transform: scale(1.05);
}

.story-viewer-close {
  top: 13px;
  right: 14px;
}

.story-viewer-nav {
  top: 50%;
  transform: translateY(-50%);
}

.story-viewer-nav:hover,
.story-viewer-nav:focus-visible {
  transform: translateY(-50%) scale(1.05);
}

.story-viewer-prev { left: -66px; }
.story-viewer-next { right: -66px; }

.story-viewer-nav:disabled {
  opacity: .32;
  cursor: default;
  transform: translateY(-50%);
}

.story-viewer.is-switching .story-viewer-media img,
.story-viewer.is-switching .story-viewer-copy > * {
  animation: storyContentIn 300ms var(--ease-out);
}

body.story-viewer-open {
  overflow: hidden;
}

@keyframes storyViewerIn {
  from { opacity: 0; transform: translateY(14px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes storyContentIn {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1100px) {
  .clinic-stories-shell {
    width: calc(100% - 40px);
    padding: 22px 22px 24px;
  }

  .clinic-stories-row {
    width: 100%;
  }

  .clinic-story-card {
    height: 195px;
  }

  .story-viewer-prev { left: 12px; }
  .story-viewer-next { right: 12px; }
}

@media (max-width: 900px) {
  .clinic-stories-intro {
    display: block;
  }

  .clinic-stories-intro h2 {
    margin: 0 0 16px;
    font-size: 24px;
  }

  .clinic-story-card {
    height: 190px;
  }

  .story-viewer-panel {
    grid-template-columns: 1fr 330px;
  }

  .story-viewer-copy {
    padding: 64px 32px 40px;
  }
}

@media (max-width: 620px) {
  .clinic-stories {
    padding: 14px 0 22px;
  }

  .clinic-stories-shell {
    width: calc(100% - 24px);
    padding: 18px 0 18px 16px;
    border-radius: 22px;
  }

  .clinic-stories-intro h2 {
    margin-bottom: 14px;
    padding-right: 16px;
    font-size: 21px;
  }

  .clinic-stories-row {
    width: 100%;
    display: flex;
    gap: 11px;
    overflow-x: auto;
    margin: 0;
    padding: 1px 16px 4px 0;
  }

  .clinic-story-card,
  .clinic-story-card:nth-child(4),
  .clinic-story-card:nth-child(5) {
    flex: 0 0 100px;
    width: 100px;
    height: 160px;
  }

  .clinic-story-caption {
    min-height: 44px;
    padding: 7px 9px 6px;
  }

  .clinic-story-caption b {
    font-size: 11px;
    line-height: 1.15;
  }

  .clinic-story-caption small {
    display: none;
  }

  .clinic-story-number {
    display: none;
  }

  .story-viewer {
    width: 100%;
    height: 100%;
    max-height: none;
    margin: 0;
    border-radius: 0;
  }

  .story-viewer-panel {
    min-height: 100%;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(300px, 54vh) 1fr;
    overflow-y: auto;
  }

  .story-viewer-media {
    min-height: 0;
  }

  .story-viewer-copy {
    justify-content: flex-start;
    padding: 34px 22px 42px;
  }

  .story-viewer-count {
    margin-bottom: 16px;
  }

  .story-viewer-copy h2 {
    font-size: 36px;
  }

  .story-viewer-copy .button {
    align-self: stretch;
  }

  .story-viewer-nav {
    top: 27vh;
    width: 40px;
    height: 40px;
  }

  .story-viewer-prev { left: 10px; }
  .story-viewer-next { right: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .clinic-story-card,
  .clinic-story-card img,
  .story-viewer[open],
  .story-viewer.is-switching .story-viewer-media img,
  .story-viewer.is-switching .story-viewer-copy > * {
    animation: none;
    transition: none;
  }
}

/* Compact accessibility toolbar inspired by familiar public-service controls */
.accessibility-toggle {
  width: 36px;
  min-width: 36px;
  min-height: 36px;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #111;
  box-shadow: none;
  font-size: 18px;
}

.accessibility-toggle:hover,
.accessibility-toggle:focus-visible {
  border-color: transparent;
  background: #eef1f2;
  color: #000;
  outline: 2px solid #111;
  outline-offset: 2px;
}

.accessibility-toggle.is-active:not(:focus-visible) {
  background: transparent;
  color: #111;
  outline: 0;
}

.accessibility-panel {
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #d2d2d2;
  background: #f7f7f7;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

html.a11y-panel-open body {
  padding-top: var(--a11y-panel-height, 104px);
}

html.a11y-panel-open .site-header {
  top: var(--a11y-panel-height, 104px);
}

.accessibility-panel-inner {
  width: min(1000px, calc(100% - 32px));
  min-height: 103px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  padding: 11px 0 8px;
}

.accessibility-group {
  display: block;
  padding: 0 14px;
}

.accessibility-group > span {
  display: block;
  margin: 0 0 10px;
  color: #050505;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.15;
  text-align: center;
  text-transform: none;
}

.accessibility-control-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.accessibility-group button,
.accessibility-reset,
.accessibility-exit,
.accessibility-close {
  width: auto;
  min-width: 43px;
  min-height: 36px;
  padding: 6px 11px;
  border: 1px solid #c7c7c7;
  border-radius: 4px;
  background: #e3e3e3;
  color: #050505;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  box-shadow: inset 0 1px rgba(255, 255, 255, .7);
}

.accessibility-group button:hover,
.accessibility-group button:focus-visible,
.accessibility-group button.is-active,
.accessibility-reset:hover,
.accessibility-reset:focus-visible,
.accessibility-exit:hover,
.accessibility-exit:focus-visible,
.accessibility-close:hover,
.accessibility-close:focus-visible {
  border-color: #111;
  background: #d5d5d5;
  color: #000;
  outline: 2px solid #111;
  outline-offset: 2px;
}

.accessibility-group button.is-active {
  box-shadow: inset 0 0 0 2px currentColor;
}

.accessibility-group .accessibility-swatch-light {
  background: #fff;
  color: #000;
}

.accessibility-group .accessibility-swatch-dark {
  background: #000;
  color: #fff;
}

.accessibility-group .accessibility-swatch-blue {
  background: #9bd1f5;
  color: #083d69;
}

.accessibility-group .accessibility-swatch-beige {
  background: #fff6c9;
  color: #57420a;
}

.accessibility-group .accessibility-swatch-brown {
  background: #3c2b17;
  color: #b8ef4f;
}

.accessibility-actions .accessibility-exit {
  min-width: 186px;
  border-color: #c7c7c7;
  background: #e3e3e3;
  color: #050505;
}

.accessibility-actions .accessibility-close {
  width: 43px;
  padding: 6px;
}

.accessibility-advanced {
  flex: 0 0 100%;
  margin-top: 10px;
  border-top: 1px solid #d2d2d2;
}

.accessibility-advanced[hidden] {
  display: none;
}

.accessibility-advanced-inner {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 14px;
  padding: 12px 0 4px;
}

.accessibility-advanced .accessibility-group > span {
  margin-bottom: 7px;
  font-size: 13px;
}

.accessibility-reset {
  min-height: 36px;
  white-space: nowrap;
}

html.a11y-mode body {
  font-family: Arial, Helvetica, sans-serif;
}

html.a11y-images-grayscale main img,
html.a11y-images-grayscale .site-footer img {
  filter: grayscale(1) contrast(1.08) !important;
}

html.a11y-theme-blue body {
  --ink: #082f52;
  --text: #082f52;
  --muted: #174d76;
  --line: #082f52;
  --white: #bfe4ff;
  --wash: #d8efff;
  --green: #082f52;
  --green-deep: #082f52;
  --brand-dark: #082f52;
  --mint: #9bd1f5;
  background: #bfe4ff !important;
  color: #082f52 !important;
}

html.a11y-theme-beige body {
  --ink: #4b3b0e;
  --text: #4b3b0e;
  --muted: #645421;
  --line: #4b3b0e;
  --white: #fff6c9;
  --wash: #fff9dc;
  --green: #4b3b0e;
  --green-deep: #4b3b0e;
  --brand-dark: #4b3b0e;
  --mint: #f1e5a7;
  background: #fff6c9 !important;
  color: #4b3b0e !important;
}

html.a11y-theme-brown body {
  --ink: #c9f468;
  --text: #c9f468;
  --muted: #dcf79e;
  --line: #c9f468;
  --white: #3c2b17;
  --wash: #2d2114;
  --green: #c9f468;
  --green-deep: #c9f468;
  --brand-dark: #c9f468;
  --mint: #4a351c;
  background: #3c2b17 !important;
  color: #c9f468 !important;
}

html.a11y-theme-blue :where(.site-header, .accessibility-panel, .nav-dropdown, .mobile-menu-panel, main, main section, footer, dialog, form, aside, .home-doctor-info, .branch-panel, .footer-disclaimer, .footer-meta, .footer-nav-grid),
html.a11y-theme-beige :where(.site-header, .accessibility-panel, .nav-dropdown, .mobile-menu-panel, main, main section, footer, dialog, form, aside, .home-doctor-info, .branch-panel, .footer-disclaimer, .footer-meta, .footer-nav-grid),
html.a11y-theme-brown :where(.site-header, .accessibility-panel, .nav-dropdown, .mobile-menu-panel, main, main section, footer, dialog, form, aside, .home-doctor-info, .branch-panel, .footer-disclaimer, .footer-meta, .footer-nav-grid) {
  border-color: var(--line) !important;
  background-color: var(--white) !important;
  background-image: none !important;
  color: var(--text) !important;
  box-shadow: none !important;
}

html.a11y-theme-blue :where(h1, h2, h3, h4, p, span, b, small, strong, em, label, a:not(.button)),
html.a11y-theme-beige :where(h1, h2, h3, h4, p, span, b, small, strong, em, label, a:not(.button)),
html.a11y-theme-brown :where(h1, h2, h3, h4, p, span, b, small, strong, em, label, a:not(.button)) {
  color: var(--text) !important;
}

@media (max-width: 1080px) {
  .accessibility-panel-inner {
    width: min(760px, calc(100% - 24px));
    row-gap: 16px;
  }

  .accessibility-actions {
    flex-basis: 100%;
  }
}

@media (max-width: 900px) {
  .accessibility-panel {
    top: 0;
    max-height: min(74dvh, 560px);
    overflow-y: auto;
  }

  .accessibility-panel-inner {
    width: min(560px, calc(100% - 24px));
    min-height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 8px;
    padding: 18px 0;
  }

  .accessibility-group {
    padding: 0 4px;
  }

  .accessibility-group > span {
    margin-bottom: 8px;
    font-size: 15px;
  }

  .accessibility-actions,
  .accessibility-advanced {
    grid-column: 1 / -1;
  }

  .accessibility-advanced {
    margin-top: 0;
  }

  .accessibility-advanced-inner {
    flex-direction: column;
    align-items: center;
  }

  .accessibility-reset {
    width: auto;
  }
}

@media (max-width: 520px) {
  .accessibility-panel-inner {
    grid-template-columns: 1fr 1fr;
    gap: 17px 4px;
  }

  .accessibility-group button {
    width: auto;
  }

  .accessibility-theme-controls {
    flex-wrap: wrap;
  }

  .accessibility-actions .accessibility-control-row {
    flex-wrap: wrap;
  }

  .accessibility-actions .accessibility-exit {
    order: 3;
    flex: 0 0 100%;
  }
}

/* Diseases directory: approved structure, content comes later */

@media (min-width: 1361px) and (max-width: 1540px) {
  .header-line {
    grid-template-columns: 205px minmax(0, 1fr) auto;
    gap: 12px;
  }

  .brand img {
    width: 205px;
  }

  .main-nav > a,
  .nav-item > a {
    padding-right: 8px;
    padding-left: 8px;
    font-size: 14px;
  }

  .header-contact {
    gap: 8px;
  }

  .header-contact .button {
    padding-right: 16px;
    padding-left: 16px;
  }
}

/* Kapelnitsy: homepage feature and direction page */
.infusion-feature {
  padding: 0 0 72px;
  background: var(--white);
}

.infusion-feature-shell {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(420px, 1.06fr);
  min-height: 510px;
  overflow: hidden;
  border-radius: 22px;
  background:
    radial-gradient(circle at 12% 10%, rgba(47, 181, 207, .18), transparent 32%),
    linear-gradient(145deg, #07545d 0%, #087047 100%);
  box-shadow: 0 30px 70px rgba(7, 84, 93, .17);
}

.infusion-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 54px clamp(32px, 5vw, 72px);
  color: var(--white);
}

.infusion-feature-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin-bottom: 18px;
  color: #c6f0dc;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.infusion-feature-label span {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}

.infusion-feature h2 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: clamp(44px, 5.3vw, 76px);
  line-height: .96;
  letter-spacing: -.045em;
}

.infusion-feature-lead {
  max-width: 610px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, .82);
  font-size: 17px;
  line-height: 1.62;
}

.infusion-feature-themes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.infusion-feature-themes span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .92);
  font-size: 12px;
  font-weight: 700;
}

.infusion-feature-themes i {
  color: #94e3bd;
}

.infusion-feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.infusion-feature-actions .button-primary {
  color: #07513d;
  background: var(--white);
  box-shadow: none;
}

.infusion-feature-actions .button-primary:hover {
  color: #063d31;
  background: #effaf5;
}

.infusion-feature-actions .button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, .36);
  background: rgba(255, 255, 255, .08);
}

.infusion-feature-actions .button-secondary:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, .68);
  background: rgba(255, 255, 255, .17);
}

.infusion-feature-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, .68);
  font-size: 12px;
  line-height: 1.45;
}

.infusion-feature-note i {
  margin-top: 2px;
  color: #94e3bd;
}

.infusion-feature-media {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  background: #dfe9e7;
}

.infusion-feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 84, 93, .26), transparent 32%);
  pointer-events: none;
}

.infusion-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  transition: transform 650ms var(--ease-out);
}

.infusion-feature-media:hover img {
  transform: scale(1.018);
}

.infusion-feature-media-caption {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  display: grid;
  gap: 3px;
  width: min(285px, calc(100% - 44px));
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 12px;
  background: rgba(255, 255, 255, .91);
  color: var(--ink);
  backdrop-filter: blur(14px);
}

.infusion-feature-media-caption b {
  font-size: 18px;
}

.infusion-feature-media-caption small {
  color: var(--text);
  font-size: 12px;
  line-height: 1.4;
}

.infusion-feature-legal {
  margin-top: 16px;
  color: var(--muted);
  font-size: 11px;
}

@media (max-width: 1100px) {
  .infusion-feature-shell {
    grid-template-columns: 1fr 1fr;
  }

  .infusion-feature-copy {
    padding: 42px 34px;
  }
}

@media (max-width: 900px) {
  .infusion-feature {
    padding-bottom: 50px;
  }

  .infusion-feature-shell {
    grid-template-columns: 1fr;
  }

  .infusion-feature-media {
    min-height: 390px;
    order: -1;
  }
}

@media (max-width: 620px) {
  .infusion-feature-shell {
    width: calc(100% + 32px);
    margin-left: -16px;
    border-radius: 0;
  }

  .infusion-feature-media {
    min-height: 300px;
  }

  .infusion-feature-copy {
    padding: 36px 22px 40px;
  }

  .infusion-feature h2 {
    font-size: 48px;
  }

  .infusion-feature-actions,
  .infusion-feature-actions .button {
    width: 100%;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Onest, Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

i[class*="fa-"] {
  font-style: normal;
}

.icon-svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: currentColor;
}

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

.shell {
  width: min(1376px, calc(100% - 64px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.header-line {
  width: min(1410px, calc(100% - 40px));
  min-height: 84px;
  display: grid;
  grid-template-columns: 235px 1fr auto;
  align-items: center;
  gap: 20px;
}

.header-line > * {
  min-width: 0;
}

.hero-grid > *,
.branch-panel > *,
.appointment-grid > * {
  min-width: 0;
}

.brand img {
  width: 228px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.main-nav > a,
.nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 11px;
  border-radius: var(--radius);
  color: #24323f;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 160ms var(--ease-out), color 160ms var(--ease-out);
}

.main-nav > a:hover,
.nav-item:hover > a,
.nav-item:focus-within > a {
  background: var(--wash);
  color: var(--green-deep);
}

.main-nav > a.is-active,
.nav-item > a.is-active {
  background: var(--mint);
  color: var(--green-deep);
}

.nav-item {
  position: relative;
}

.nav-item > a::after {
  content: "";
  width: 5px;
  height: 5px;
  margin-top: -3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  opacity: .72;
  transform: rotate(45deg);
  transition: transform 180ms var(--ease-out), opacity 160ms var(--ease-out);
}

.nav-item:hover > a::after,
.nav-item:focus-within > a::after {
  opacity: 1;
  transform: translateY(3px) rotate(225deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 40;
  width: min(430px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 10px;
  border: 1px solid rgba(205, 220, 226, .92);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 22px 46px rgba(21, 35, 49, .15);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 170ms var(--ease-out), transform 190ms var(--ease-out);
}

.nav-dropdown::before {
  content: "";
  position: absolute;
  inset: -14px 0 auto;
  height: 14px;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-dropdown a {
  display: grid;
  gap: 4px;
  min-height: 74px;
  padding: 12px;
  border-radius: var(--radius);
  color: var(--ink);
  transition: background 150ms var(--ease-out), color 150ms var(--ease-out), transform 150ms var(--ease-out);
}

.nav-dropdown a:hover,
.nav-dropdown a:focus {
  background: var(--wash);
  color: var(--green-deep);
  transform: translateY(-1px);
  outline: none;
}

.nav-dropdown b {
  font-size: 15px;
  line-height: 1.2;
}

.nav-dropdown span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.nav-dropdown-compact {
  width: min(360px, calc(100vw - 32px));
}

.nav-dropdown-contacts {
  width: min(330px, calc(100vw - 32px));
  grid-template-columns: 1fr;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.mobile-nav-toggle,
.mobile-nav-backdrop {
  display: none;
}

.mobile-nav-toggle {
  position: relative;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.mobile-nav-toggle span {
  position: absolute;
  left: 13px;
  width: 19px;
  height: 2px;
  display: block;
  margin: 0;
  border-radius: 99px;
  background: currentColor;
  transition: top 180ms var(--ease-out), transform 180ms var(--ease-out), opacity 140ms var(--ease-out);
}

.mobile-nav-toggle span:nth-child(1) {
  top: 16px;
}

.mobile-nav-toggle span:nth-child(2) {
  top: 22px;
}

.mobile-nav-toggle span:nth-child(3) {
  top: 28px;
}

.mobile-nav-toggle.is-open span:nth-child(1) {
  top: 22px;
  transform: rotate(45deg);
}

.mobile-nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.is-open span:nth-child(3) {
  top: 22px;
  transform: rotate(-45deg);
}

.phone {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  white-space: nowrap;
}

.phone i {
  color: var(--green);
}

.phone b {
  display: block;
  font-size: 18px;
  line-height: 1.1;
}

.phone small {
  color: var(--muted);
  font-size: 13px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 150ms var(--ease-out), background 180ms var(--ease-out), border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}

.button:active,
.path-card:active,
.branch:active,
.route-link:active {
  transform: scale(.98);
}

.button-primary {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 12px 26px rgba(9, 137, 68, .22);
}

.button-primary:hover {
  background: var(--green-deep);
  border-color: var(--green-deep);
}

.button-secondary {
  color: #233340;
  background: rgba(255, 255, 255, .86);
  border-color: #cbd8de;
}

.button-secondary:hover {
  background: #fff;
  border-color: #aebec7;
}

.hero {
  position: relative;
  min-height: 492px;
  overflow: hidden;
  background: linear-gradient(90deg, #f7fafb 0%, #f7fafb 43%, #eef5f7 100%);
}

.hero-media {
  position: absolute;
  inset: 0 0 0 52%;
  overflow: hidden;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, #f7fafb 0%, rgba(247, 250, 251, .88) 13%, rgba(247, 250, 251, .18) 48%, rgba(247, 250, 251, 0) 100%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.94) contrast(.98);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 186px minmax(0, 560px) 1fr;
  gap: 48px;
  padding: 34px 0 26px;
}

.proof-rail {
  min-height: 330px;
  display: grid;
  gap: 0;
  padding-top: 18px;
  border-right: 1px solid #cfdce2;
}

.proof-item {
  position: relative;
  display: grid;
  grid-template-columns: 26px 1fr;
  column-gap: 14px;
  padding: 0 22px 23px 0;
}

.proof-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 32px;
  bottom: 5px;
  width: 1px;
  background: #c9d8df;
}

.proof-item i {
  color: var(--green);
  font-size: 20px;
  line-height: 1;
}

.proof-item b {
  display: block;
  font-size: 16px;
  line-height: 1.25;
}

.proof-item span {
  grid-column: 2;
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
}

.hero-copy {
  padding-top: 36px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  max-width: 680px;
  font-weight: 700;
  font-size: clamp(36px, 3.9vw, 56px);
  line-height: 1.04;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.hero-lead {
  max-width: 520px;
  margin-bottom: 28px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.branch-panel {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 230px 1fr 1fr 160px;
  align-items: center;
  gap: 18px;
  margin-top: 0;
  padding: 16px 18px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(220, 231, 236, .92);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.branch-title {
  font-weight: 800;
}

.branch {
  min-width: 0;
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 8px;
  border-radius: var(--radius);
  transition: transform 150ms var(--ease-out), background 180ms var(--ease-out);
}

.branch:hover {
  background: var(--wash);
}

.branch img {
  width: 58px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
}

.branch-photo {
  width: 58px;
  height: 44px;
  font-size: 15px;
  object-fit: cover;
  border-radius: 6px;
}

.branch b {
  display: block;
  font-size: 15px;
}

.branch small {
  color: var(--muted);
  font-size: 12px;
}

.branch em {
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--green-deep);
  background: var(--mint);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.route-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  color: var(--green);
  font-weight: 800;
  transition: transform 150ms var(--ease-out), color 160ms var(--ease-out);
}

.route-link:hover {
  color: var(--green-deep);
}

section {
  padding: 58px 0;
}

.has-scroll-reveal [data-reveal],
.has-scroll-reveal [data-reveal-item] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 560ms var(--ease-out),
    transform 660ms var(--ease-out);
  will-change: opacity, transform;
}

.has-scroll-reveal [data-reveal].is-visible,
.has-scroll-reveal [data-reveal-item].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.has-scroll-reveal .hero-copy[data-reveal] {
  transform: translateY(18px);
}

.has-scroll-reveal .branch-panel[data-reveal] {
  transform: translateY(20px);
  transition-delay: 120ms;
}

.has-scroll-reveal .proof-item[data-reveal-item]:nth-child(2),
.has-scroll-reveal .path-card[data-reveal]:nth-child(2) {
  transition-delay: 70ms;
}

.has-scroll-reveal .proof-item[data-reveal-item]:nth-child(3),
.has-scroll-reveal .path-card[data-reveal]:nth-child(3) {
  transition-delay: 120ms;
}

.has-scroll-reveal .proof-item[data-reveal-item]:nth-child(4),
.has-scroll-reveal .path-card[data-reveal]:nth-child(4) {
  transition-delay: 170ms;
}

.has-scroll-reveal .path-card[data-reveal]:nth-child(5) {
  transition-delay: 220ms;
}

.has-scroll-reveal .path-card[data-reveal]:nth-child(6) {
  transition-delay: 270ms;
}

.has-scroll-reveal .appointment-form[data-reveal],
.has-scroll-reveal .about-copy[data-reveal] {
  transition-delay: 110ms;
}

@media (prefers-reduced-motion: reduce) {
  .has-scroll-reveal [data-reveal],
  .has-scroll-reveal [data-reveal-item] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 42px;
  margin-bottom: 22px;
}

.paths .section-head {
  display: block;
}

.section-head h2,
.appointment h2,
.about h2,
.contacts h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-head p {
  max-width: 510px;
  margin: 0;
  color: var(--text);
  line-height: 1.6;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.path-card {
  position: relative;
  min-height: 336px;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 180ms var(--ease-out), border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}

.path-card:hover {
  transform: translateY(-3px);
  border-color: #c7d9e0;
  box-shadow: 0 16px 30px rgba(21, 35, 49, .09);
}

.path-card img {
  width: 100%;
  max-width: 100%;
  height: 150px;
  margin: 0;
  object-fit: cover;
  object-position: center;
  filter: saturate(.9);
}

.path-card:nth-child(1) img {
  object-position: center 52%;
}

.path-card:nth-child(2) img {
  object-position: center 58%;
}

.path-card:nth-child(3) img {
  object-position: center 48%;
}

.path-card:nth-child(4) img,
.path-card:nth-child(6) img {
  object-position: center;
}

.path-card:nth-child(5) img {
  object-position: center 62%;
}

.path-icon {
  position: absolute;
  left: 18px;
  top: 122px;
  z-index: 2;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  margin-top: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--green);
  background: #fff;
  box-shadow: 0 10px 22px rgba(21, 35, 49, .1);
}

.path-icon.blue {
  color: var(--green);
}

.path-icon.cyan {
  color: var(--green);
}

.path-icon.ink {
  color: var(--green);
}

.path-icon.teal {
  color: var(--green);
}

.path-icon.green {
  color: var(--green);
}

.path-card h3 {
  margin: 64px 18px 9px;
  font-size: 20px;
  line-height: 1.18;
}

.path-card p {
  margin: 0 18px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.54;
}

.path-arrow {
  margin: auto 18px 18px auto;
  color: #6e7d88;
  transition: transform 180ms var(--ease-out), color 180ms var(--ease-out);
}

.path-card:hover .path-arrow {
  color: var(--green);
  transform: translateX(3px);
}

.appointment {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 72px 0;
  color: #fff;
  background:
    radial-gradient(90% 140% at 86% 4%, rgba(10, 143, 74, .28) 0%, rgba(10, 143, 74, .1) 34%, rgba(10, 143, 74, 0) 58%),
    linear-gradient(135deg, var(--brand-dark) 0%, #064953 100%);
  border-top: 1px solid rgba(7, 84, 93, .08);
  border-bottom: 1px solid rgba(7, 84, 93, .08);
}

.appointment::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -16vw;
  bottom: -34vw;
  width: min(920px, 72vw);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 84px solid rgba(10, 143, 74, .22);
  transform: rotate(-10deg);
  filter: blur(.3px);
}

.appointment::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .18;
  background-image: radial-gradient(rgba(255, 255, 255, .34) 1px, transparent 1px);
  background-size: 4px 4px;
  mask-image: linear-gradient(90deg, transparent 30%, #000 76%, transparent 100%);
}

.appointment-grid {
  display: grid;
  grid-template-columns: minmax(340px, 560px) minmax(0, 620px);
  justify-content: space-between;
  gap: 72px;
  align-items: center;
}

.appointment .eyebrow {
  color: #b9dc78;
}

.appointment-copy h2 {
  max-width: 650px;
  color: #fff;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.08;
}

.appointment-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.appointment-tags span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  color: rgba(255, 255, 255, .84);
  background: rgba(255, 255, 255, .07);
  font-size: 13px;
  font-weight: 800;
}

.appointment-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 28px;
  scroll-margin-top: 110px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.appointment-form label {
  display: grid;
  gap: 9px;
}

.appointment-form span {
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.appointment-form input {
  min-height: 44px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .7);
  border-radius: 0;
  color: #fff;
  background: transparent;
  box-shadow: none;
}

.appointment-form input::placeholder {
  color: rgba(255, 255, 255, .58);
}

.appointment-form input:focus {
  border-color: #fff;
  box-shadow: 0 8px 0 -7px rgba(255, 255, 255, .8);
}

.appointment-form label.has-error input,
.appointment-form .appointment-consent.has-error input {
  border-color: #ffaaa3;
  box-shadow: 0 8px 0 -7px #ffaaa3;
}

.appointment-form .field-error {
  display: block;
  margin: 0;
  color: #ffd0cc;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.4;
  text-transform: none;
}

.appointment-form .field-error[hidden] {
  display: none;
}

.appointment-form .appointment-consent {
  grid-column: 1 / -1;
  display: flex;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 10px;
  margin-top: -2px;
  cursor: default;
}

.appointment-form .appointment-consent input {
  appearance: none;
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  padding: 0;
  display: grid;
  place-content: center;
  border: 1.5px solid rgba(255, 255, 255, .78);
  border-radius: 6px;
  background: rgba(255, 255, 255, .1);
  box-shadow: none;
  cursor: pointer;
  transition: background 150ms var(--ease-out), border-color 150ms var(--ease-out), box-shadow 150ms var(--ease-out);
}

.appointment-form .appointment-consent input::before {
  content: "";
  width: 11px;
  height: 11px;
  transform: scale(0);
  transition: transform 140ms var(--ease-out);
  background: var(--green-deep);
  clip-path: polygon(14% 48%, 38% 72%, 86% 20%, 96% 31%, 39% 90%, 4% 57%);
}

.appointment-form .appointment-consent input:checked {
  border-color: #fff;
  background: #fff;
}

.appointment-form .appointment-consent input:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .18);
}

.appointment-form .appointment-consent input:checked::before {
  transform: scale(1);
}

.appointment-form .appointment-consent .consent-copy {
  color: rgba(255, 255, 255, .68);
  font-size: 12px;
  line-height: 1.4;
  text-transform: none;
}

.appointment-form .appointment-consent label {
  display: block;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.appointment-form .consent-links {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 7px;
  margin-top: 3px;
}

.appointment-form .consent-links a {
  color: rgba(255, 255, 255, .82);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.appointment-form .consent-links a:hover {
  color: #fff;
}

.appointment-form .button {
  grid-column: 1 / -1;
  min-height: 58px;
  border-color: rgba(255, 255, 255, .86);
  border-radius: 999px;
  color: #fff;
  background: transparent;
  box-shadow: none;
}

.appointment-form .button:hover {
  color: var(--brand-dark);
  background: #fff;
  border-color: #fff;
}

.appointment-form .form-status {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .46);
  border-radius: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.appointment-form .form-status[hidden] {
  display: none;
}

.appointment-form .turnstile-widget {
  grid-column: 1 / -1;
}

.appointment-form .turnstile-widget[hidden] {
  display: none;
}

.appointment-form .button:disabled {
  cursor: wait;
  opacity: .65;
}

select,
input {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid #cfdee5;
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
  font: inherit;
  outline: none;
  transition: border-color 150ms var(--ease-out), box-shadow 150ms var(--ease-out);
}

textarea {
  width: 100%;
  min-height: 112px;
  padding: 13px;
  border: 1px solid #cfdee5;
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
  font: inherit;
  resize: vertical;
  outline: none;
  transition: border-color 150ms var(--ease-out), box-shadow 150ms var(--ease-out);
}

select:focus,
input:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(9, 137, 68, .11);
}

.about-grid {
  display: grid;
  grid-template-columns: .9fr 1fr;
  gap: 42px;
  align-items: center;
}

.about-photo {
  overflow: hidden;
  border-radius: var(--radius);
}

.about-photo img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.clinic-photo {
  width: 100%;
  height: 420px;
  display: block;
  object-fit: cover;
  object-position: center 42%;
  align-content: center;
  gap: 12px;
  border-radius: var(--radius);
  font-weight: 800;
}

.clinic-team-photo {
  object-position: center center;
}

.clinic-photo i {
  font-size: 32px;
}

.clinic-photo span {
  color: #6f7f89;
  font-size: 16px;
}

.about-copy p:not(.eyebrow) {
  max-width: 650px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.7;
}

.about-copy .eyebrow {
  margin-bottom: 18px;
}

.about-copy h2 {
  margin-bottom: 26px;
}

.about-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.about-list span {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #233340;
  font-weight: 700;
}

.about-list i {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--green);
  background: var(--mint);
}

.contacts {
  padding-bottom: 28px;
  background: #122331;
  color: #fff;
}

.contacts .eyebrow {
  color: #85d9a8;
}

.legal-note {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .13);
  color: #aebfc7;
  font-size: 13px;
  line-height: 1.5;
}

.group-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.group-head h2 {
  margin: 0;
  font-size: clamp(26px, 2.5vw, 36px);
  line-height: 1.08;
}

.document-count {
  display: inline-flex;
  align-items: center;
  margin-left: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  vertical-align: middle;
  white-space: nowrap;
}

.text-link {
  color: var(--blue);
  font-weight: 800;
  white-space: nowrap;
}

.text-link:hover {
  color: var(--green-deep);
}

.cosmetology-price-group {
  scroll-margin-top: 104px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.cosmetology-price-head {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  background: #f2f7f8;
}

.cosmetology-price-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
}

.cosmetology-price-head span {
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.cosmetology-price-list a {
  min-height: 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 12px 18px;
  border-top: 1px solid #edf3f5;
  color: var(--text);
}

.cosmetology-price-list a:hover {
  background: var(--mint);
}

.cosmetology-price-list span {
  line-height: 1.4;
}

.cosmetology-price-list b {
  color: var(--green-deep);
  white-space: nowrap;
}

.cosmetology-price-more {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--green-deep);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.cosmetology-price-more:hover {
  background: var(--mint);
}

.legal-note.light {
  color: var(--muted);
  border-color: var(--line);
}

.doctors-body {
  padding-top: 44px;
}

.doctor-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 180ms var(--ease-out), border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}

.doctor-card:hover {
  transform: translateY(-2px);
  border-color: #c4d8df;
  box-shadow: 0 14px 26px rgba(21, 35, 49, .08);
}

.doctor-card.is-hidden {
  display: none;
}

.doctor-empty {
  grid-column: 1 / -1;
  min-height: 180px;
  display: grid;
  place-items: center;
  padding: 28px;
  border: 1px dashed #c9d5dc;
  border-radius: var(--radius);
  background: var(--wash);
  color: var(--text);
  font-weight: 800;
  text-align: center;
}

.doctor-empty[hidden] {
  display: none;
}

.doctor-profile-photo-wrap {
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #eef3f5;
  box-shadow: 0 22px 48px rgba(21, 35, 49, .1);
}

.doctor-profile-photo-wrap.is-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.doctor-profile-photo-wrap.is-placeholder i {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: #fff;
  color: var(--green);
  font-size: 24px;
}

.documents-page {
  background: #fff;
}

.document-group {
  scroll-margin-top: 110px;
  padding: 0;
}

.document-group.is-hidden {
  display: none;
}

.document-file {
  min-height: 86px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 150ms var(--ease-out), border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}

.document-file:hover {
  transform: translateY(-1px);
  border-color: #c4d8df;
  box-shadow: 0 12px 26px rgba(21, 35, 49, .07);
}

.document-file::after {
  content: "Открыть";
  align-self: center;
  padding: 8px 10px;
  border-radius: 999px;
  background: #f3f8f6;
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition: background 160ms var(--ease-out), color 160ms var(--ease-out);
}

.document-file:hover::after {
  background: var(--green);
  color: #fff;
}

.document-file > i {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--green);
  background: var(--mint);
  font-size: 20px;
}

.document-file b,
.document-file small {
  display: block;
}

.document-file small {
  margin-top: 5px;
  color: var(--muted);
  font-weight: 700;
}

.turnstile-widget {
  width: 100%;
}

.turnstile-widget[hidden] {
  display: none;
}

.prices-page {
  padding-top: 44px;
  background: #fff;
}

.price-loading {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.price-loading-card {
  min-height: 156px;
  display: grid;
  place-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
}

.price-group {
  scroll-margin-top: 104px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  scroll-margin-top: 110px;
}

.price-table {
  display: grid;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
}

.price-table a {
  min-height: 76px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #edf3f5;
  transition: background 160ms var(--ease-out);
}

.price-table a:last-child {
  border-bottom: 0;
}

.price-table a:hover {
  background: transparent;
  color: var(--green-deep);
}

.price-table a[hidden],
.price-group[hidden] {
  display: none;
}

.price-table span {
  color: var(--text);
  font-weight: 800;
}

.price-table b {
  color: var(--green-deep);
  white-space: nowrap;
}

.price-more {
  width: 100%;
  min-height: 46px;
  margin-top: 10px;
  border: 1px solid #cfe0e6;
  border-radius: 8px;
  background: #f7fbf9;
  color: var(--green-deep);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: border-color 160ms var(--ease-out), background 160ms var(--ease-out);
}

.price-more:hover {
  border-color: #a9d3bb;
  background: #edf8f1;
}

.price-more[hidden] {
  display: none;
}
