:root {
  --zmed-ink: #153634;
  --zmed-text: #526967;
  --zmed-soft: #edf7f5;
  --zmed-soft-2: #f7fbfa;
  --zmed-line: #d9e8e5;
  --zmed-white: #ffffff;
  --zmed-warm: #e7a66f;
  --zmed-shadow: 0 24px 70px rgba(12, 70, 65, 0.13);
}

html[data-theme="dark"] {
  --zmed-ink: #e7f4f2;
  --zmed-text: #a9c2be;
  --zmed-soft: #123a37;
  --zmed-soft-2: #0d2826;
  --zmed-line: #28514d;
  --zmed-white: #102f2c;
  --zmed-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.zmed,
.zmed * {
  box-sizing: border-box;
}

.zmed {
  min-height: 100vh;
  overflow: hidden;
  background: var(--zmed-white);
  color: var(--zmed-ink);
  font-family: "Avenir Next", "Segoe UI", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.zmed img,
.zmed svg {
  display: block;
  max-width: 100%;
}

.zmed button,
.zmed input,
.zmed textarea,
.zmed select {
  font: inherit;
}

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

.zmed h1,
.zmed h2,
.zmed h3 {
  font-family: "Avenir Next", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.zmed__container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.zmed__measure {
  width: min(760px, calc(100% - 48px));
}

.zmed__skip {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-180%);
  border-radius: 8px;
  background: var(--zmed-ink);
  color: var(--zmed-white);
  padding: 10px 16px;
}

.zmed__skip:focus {
  transform: translateY(0);
}

.zmed__utility {
  border-bottom: 1px solid color-mix(in srgb, var(--zmed-line) 68%, transparent);
  background: var(--zmed-soft-2);
  color: var(--zmed-text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.zmed__utility-inner {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.zmed__utility-inner > p,
.zmed__utility-inner > div {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
}

.zmed__utility-address::before {
  margin-right: 20px;
  color: var(--zmed-line);
  content: "|";
}

.zmed__emergency {
  color: #ba4a42 !important;
}

html[data-theme="dark"] .zmed__emergency {
  color: #ffaaa4 !important;
}

.zmed__lang {
  position: relative;
}

.zmed__lang summary {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  list-style: none;
}

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

.zmed__lang ul {
  position: absolute;
  z-index: 20;
  top: calc(100% + 10px);
  right: 0;
  min-width: 155px;
  margin: 0;
  padding: 6px;
  border: 1px solid var(--zmed-line);
  border-radius: 10px;
  background: var(--zmed-white);
  box-shadow: var(--zmed-shadow);
  list-style: none;
}

.zmed__lang a {
  display: block;
  border-radius: 7px;
  padding: 7px 9px;
}

.zmed__lang a:hover,
.zmed__lang a[aria-current="page"] {
  background: var(--zmed-soft);
}

.zmed__toggle {
  width: 27px;
  height: 27px;
  border: 1px solid var(--zmed-line);
  border-radius: 50%;
  background: transparent;
  color: var(--zmed-ink);
  cursor: pointer;
}

.zmed__header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--zmed-line);
  background: color-mix(in srgb, var(--zmed-white) 96%, transparent);
}

.zmed__header-inner {
  display: grid;
  min-height: 84px;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 34px;
}

.zmed__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
}

.zmed__brand img {
  width: auto;
  height: 48px;
}

.zmed__brand-mark {
  position: relative;
  display: inline-grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 13px 13px 13px 5px;
  background: var(--zmed-accent);
  box-shadow: 0 9px 22px color-mix(in srgb, var(--zmed-accent) 25%, transparent);
}

.zmed__brand-mark i,
.zmed__brand-mark b {
  position: absolute;
  display: block;
  border-radius: 3px;
  background: #fff;
}

.zmed__brand-mark i {
  width: 20px;
  height: 6px;
}

.zmed__brand-mark b {
  width: 6px;
  height: 20px;
}

.zmed__brand strong,
.zmed__brand small {
  display: block;
}

.zmed__brand strong {
  font-family: "Avenir Next", "Segoe UI", ui-sans-serif, sans-serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.zmed__brand small {
  margin-top: 3px;
  color: var(--zmed-text);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.zmed__brand--compact .zmed__brand-mark {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
}

.zmed__nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.zmed__nav a {
  position: relative;
  display: block;
  padding: 29px 0;
  font-size: 14px;
  font-weight: 600;
}

.zmed__nav a::after {
  position: absolute;
  right: 50%;
  bottom: 20px;
  left: 50%;
  height: 2px;
  border-radius: 2px;
  background: var(--zmed-accent);
  content: "";
  transition: inset 180ms ease;
}

.zmed__nav a:hover::after {
  right: 0;
  left: 0;
}

.zmed__header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 16px;
}

.zmed__phone {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
}

.zmed__phone > span:first-child {
  color: var(--zmed-accent);
}

.zmed__button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--zmed-accent);
  border-radius: 12px 12px 12px 4px;
  background: var(--zmed-accent);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--zmed-accent) 20%, transparent);
  color: #fff !important;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.zmed__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px color-mix(in srgb, var(--zmed-accent) 28%, transparent);
}

.zmed__button--small {
  min-height: 42px;
  padding: 9px 16px;
  font-size: 12px;
}

.zmed__text-link,
.zmed__article-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--zmed-accent) !important;
  font-size: 14px;
  font-weight: 700;
}

.zmed__text-link span,
.zmed__article-link span {
  transition: transform 160ms ease;
}

.zmed__text-link:hover span,
.zmed__article-link:hover span {
  transform: translateX(4px);
}

.zmed__eyebrow {
  margin-bottom: 16px;
  color: var(--zmed-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.zmed__hero {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 88% 20%, color-mix(in srgb, var(--zmed-accent) 18%, transparent), transparent 26rem),
    linear-gradient(125deg, var(--zmed-soft-2), var(--zmed-soft));
}

.zmed__hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.46;
  background-image:
    linear-gradient(color-mix(in srgb, var(--zmed-accent) 7%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--zmed-accent) 7%, transparent) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
  mask-image: linear-gradient(to right, transparent, #000);
}

.zmed__hero-grid {
  display: grid;
  min-height: 620px;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 70px;
  padding-block: 76px;
}

.zmed__hero-copy {
  max-width: 615px;
}

.zmed__hero h1 {
  max-width: 650px;
  margin-bottom: 24px;
  font-size: clamp(46px, 6vw, 74px);
  font-weight: 700;
}

.zmed__hero-lead {
  max-width: 570px;
  margin-bottom: 32px;
  color: var(--zmed-text);
  font-size: clamp(17px, 2vw, 20px);
}

.zmed__hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
}

.zmed__availability {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
  color: var(--zmed-text);
  font-size: 13px;
  font-weight: 600;
}

.zmed__status-dot {
  width: 9px;
  height: 9px;
  border: 2px solid var(--zmed-white);
  border-radius: 50%;
  background: #2dad72;
  box-shadow: 0 0 0 3px rgba(45, 173, 114, 0.18);
}

.zmed__hero-visual {
  position: relative;
  min-height: 450px;
}

.zmed__visual-orbit {
  position: absolute;
  inset: 2% 4% 0 2%;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--zmed-accent) 20%, transparent);
  border-radius: 46% 46% 12% 46%;
  background:
    radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--zmed-accent) 28%, transparent), transparent 36%),
    linear-gradient(145deg, color-mix(in srgb, var(--zmed-white) 75%, transparent), color-mix(in srgb, var(--zmed-accent) 12%, var(--zmed-soft)));
  box-shadow: inset 0 0 60px color-mix(in srgb, var(--zmed-accent) 10%, transparent);
}

.zmed__visual-orbit::before,
.zmed__visual-orbit::after {
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--zmed-accent) 24%, transparent);
  border-radius: 50%;
  content: "";
}

.zmed__visual-orbit::before {
  width: 340px;
  height: 340px;
  top: 42px;
  left: 75px;
}

.zmed__visual-orbit::after {
  width: 180px;
  height: 180px;
  top: 120px;
  left: 155px;
}

.zmed__visual-orbit span,
.zmed__visual-orbit i,
.zmed__visual-orbit b {
  position: absolute;
  display: block;
  border-radius: 50%;
}

.zmed__visual-orbit span {
  width: 210px;
  height: 210px;
  top: 105px;
  left: 142px;
  background:
    linear-gradient(45deg, transparent 46%, color-mix(in srgb, var(--zmed-accent) 80%, white) 47% 53%, transparent 54%),
    linear-gradient(-45deg, transparent 46%, color-mix(in srgb, var(--zmed-accent) 80%, white) 47% 53%, transparent 54%);
  opacity: 0.76;
}

.zmed__visual-orbit i {
  width: 18px;
  height: 18px;
  top: 72px;
  right: 76px;
  background: var(--zmed-warm);
}

.zmed__visual-orbit b {
  width: 11px;
  height: 11px;
  right: 56px;
  bottom: 96px;
  background: var(--zmed-accent);
}

.zmed__care-card {
  position: absolute;
  right: -12px;
  bottom: 10px;
  width: min(310px, 74%);
  border: 1px solid color-mix(in srgb, var(--zmed-line) 70%, transparent);
  border-radius: 22px 22px 22px 7px;
  background: color-mix(in srgb, var(--zmed-white) 94%, transparent);
  box-shadow: var(--zmed-shadow);
  padding: 25px;
  backdrop-filter: blur(12px);
}

.zmed__care-icon {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 11px 11px 11px 4px;
  background: var(--zmed-accent);
  color: #fff;
  font-size: 24px;
  font-weight: 500;
}

.zmed__care-card h2 {
  margin-bottom: 10px;
  font-size: 20px;
}

.zmed__care-card p {
  margin-bottom: 18px;
  color: var(--zmed-text);
  font-size: 13px;
}

.zmed__care-card > div {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--zmed-line);
  padding-top: 14px;
  color: var(--zmed-text);
  font-size: 12px;
}

.zmed__care-card strong {
  color: var(--zmed-ink);
}

.zmed__trust {
  border-block: 1px solid var(--zmed-line);
  background: var(--zmed-white);
}

.zmed__trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-block: 27px;
}

.zmed__trust-grid > div {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  border-right: 1px solid var(--zmed-line);
}

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

.zmed__trust strong {
  color: var(--zmed-accent);
  font-family: "Avenir Next", "Segoe UI", ui-sans-serif, sans-serif;
  font-size: 26px;
  letter-spacing: -0.04em;
}

.zmed__trust span {
  color: var(--zmed-text);
  font-size: 13px;
}

.zmed__section {
  padding-block: 104px;
}

.zmed__section-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 60px;
  margin-bottom: 48px;
}

.zmed__section-head h2,
.zmed__story-copy h2,
.zmed__booking h2 {
  max-width: 650px;
  margin-bottom: 0;
  font-size: clamp(34px, 4.4vw, 51px);
}

.zmed__section-head > p {
  max-width: 470px;
  margin-bottom: 4px;
  color: var(--zmed-text);
}

.zmed__section-head--inline {
  grid-template-columns: 1fr auto;
}

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

.zmed__service-card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid var(--zmed-line);
  border-radius: 18px 18px 18px 6px;
  background: var(--zmed-white);
  padding: 28px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.zmed__service-card::after {
  position: absolute;
  width: 120px;
  height: 120px;
  right: -65px;
  bottom: -65px;
  border-radius: 50%;
  background: var(--zmed-soft);
  content: "";
}

.zmed__service-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--zmed-accent) 45%, var(--zmed-line));
  box-shadow: 0 18px 38px color-mix(in srgb, var(--zmed-accent) 10%, transparent);
}

.zmed__service-icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 14px 14px 14px 5px;
  background: var(--zmed-soft);
  color: var(--zmed-accent);
}

.zmed__service-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.zmed__service-card h3 {
  margin-bottom: 11px;
  font-size: 20px;
}

.zmed__service-card p {
  min-height: 68px;
  margin-bottom: 19px;
  color: var(--zmed-text);
  font-size: 14px;
}

.zmed__service-card a {
  position: relative;
  z-index: 1;
  color: var(--zmed-accent);
  font-size: 13px;
  font-weight: 700;
}

.zmed__story {
  padding-block: 105px;
  background: var(--zmed-soft-2);
}

.zmed__story-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 90px;
}

.zmed__story-art {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border-radius: 45% 45% 8px 45%;
  background:
    radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--zmed-accent) 34%, transparent), transparent 31%),
    linear-gradient(145deg, var(--zmed-soft), color-mix(in srgb, var(--zmed-accent) 16%, var(--zmed-white)));
}

.zmed__story-art::before,
.zmed__story-art::after {
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--zmed-accent) 25%, transparent);
  border-radius: 50%;
  content: "";
}

.zmed__story-art::before {
  width: 310px;
  height: 310px;
  top: 55px;
  left: 60px;
}

.zmed__story-art::after {
  width: 190px;
  height: 190px;
  top: 115px;
  left: 120px;
}

.zmed__story-cross {
  position: absolute;
  z-index: 1;
  top: 152px;
  left: 183px;
  color: var(--zmed-accent);
  font-family: "Avenir Next", "Segoe UI", ui-sans-serif, sans-serif;
  font-size: 86px;
  font-weight: 300;
  line-height: 1;
}

.zmed__story-art i,
.zmed__story-art b {
  position: absolute;
  border-radius: 50%;
}

.zmed__story-art i {
  width: 18px;
  height: 18px;
  top: 85px;
  right: 72px;
  background: var(--zmed-warm);
}

.zmed__story-art b {
  width: 10px;
  height: 10px;
  bottom: 115px;
  left: 55px;
  background: var(--zmed-accent);
}

.zmed__story-art small {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 20px;
  width: 235px;
  border: 1px solid var(--zmed-line);
  border-radius: 16px 16px 16px 5px;
  background: color-mix(in srgb, var(--zmed-white) 94%, transparent);
  box-shadow: var(--zmed-shadow);
  padding: 17px 19px;
  color: var(--zmed-ink);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}

.zmed__story-copy > p:not(.zmed__eyebrow) {
  max-width: 580px;
  margin: 25px 0;
  color: var(--zmed-text);
  font-size: 17px;
}

.zmed__story-copy ul {
  display: grid;
  gap: 12px;
  margin: 0 0 29px;
  padding: 0;
  list-style: none;
}

.zmed__story-copy li {
  position: relative;
  padding-left: 30px;
  font-size: 14px;
  font-weight: 600;
}

.zmed__story-copy li::before {
  position: absolute;
  top: 2px;
  left: 0;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: var(--zmed-soft);
  color: var(--zmed-accent);
  content: "✓";
  font-size: 11px;
}

.zmed__news {
  background: var(--zmed-white);
}

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

.zmed__article-card {
  overflow: hidden;
  border: 1px solid var(--zmed-line);
  border-radius: 18px 18px 18px 6px;
  background: var(--zmed-white);
}

.zmed__article-art {
  position: relative;
  display: grid;
  height: 185px;
  place-items: center;
  overflow: hidden;
}

.zmed__article-art::before,
.zmed__article-art::after {
  position: absolute;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  opacity: 0.25;
}

.zmed__article-art::before {
  width: 170px;
  height: 170px;
}

.zmed__article-art::after {
  width: 95px;
  height: 95px;
}

.zmed__article-art span {
  position: relative;
  z-index: 1;
  font-family: "Avenir Next", "Segoe UI", ui-sans-serif, sans-serif;
  font-size: 60px;
  font-weight: 300;
}

.zmed__article-art--1 {
  background: #dfeeea;
  color: #197b72;
}

.zmed__article-art--2 {
  background: #f1e8df;
  color: #a76d3e;
}

.zmed__article-art--3 {
  background: #e2e9f0;
  color: #587792;
}

html[data-theme="dark"] .zmed__article-art {
  filter: brightness(0.65) saturate(0.85);
}

.zmed__article-card > div:last-child {
  padding: 24px;
}

.zmed__article-date {
  margin-bottom: 10px;
  color: var(--zmed-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.zmed__article-card h3 {
  margin-bottom: 12px;
  font-size: 19px;
}

.zmed__article-card h3 a:hover {
  color: var(--zmed-accent);
}

.zmed__article-card > div > p:not(.zmed__article-date) {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 18px;
  color: var(--zmed-text);
  font-size: 13px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.zmed__article-link {
  font-size: 12px;
}

.zmed__empty,
.zmed__booking-offline {
  border: 1px dashed var(--zmed-line);
  border-radius: 14px;
  background: var(--zmed-soft-2);
  color: var(--zmed-text);
  padding: 22px;
}

.zmed__booking {
  padding-block: 100px;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--zmed-accent) 7%, transparent) 1px, transparent 1px),
    linear-gradient(color-mix(in srgb, var(--zmed-accent) 7%, transparent) 1px, transparent 1px),
    var(--zmed-soft);
  background-size: 44px 44px;
}

.zmed__booking-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: start;
  gap: 80px;
}

.zmed__booking-copy {
  position: sticky;
  top: 30px;
}

.zmed__booking-copy > p:not(.zmed__eyebrow) {
  margin: 24px 0 32px;
  color: var(--zmed-text);
}

.zmed__booking-copy dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.zmed__booking-copy dl > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--zmed-line);
  padding-bottom: 12px;
}

.zmed__booking-copy dt {
  color: var(--zmed-text);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.zmed__booking-copy dd {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

.zmed__booking-form {
  border: 1px solid var(--zmed-line);
  border-radius: 24px 24px 24px 8px;
  background: var(--zmed-white);
  box-shadow: var(--zmed-shadow);
  padding: 36px;
}

.zmed__booking-form .zcms-form {
  max-width: none !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px !important;
}

.zmed__booking-form .zcms-form__title,
.zmed__booking-form .zcms-form__field:last-of-type,
.zmed__booking-form .zcms-form__banner,
.zmed__booking-form .zcms-form__submit {
  grid-column: 1 / -1;
}

.zmed__booking-form .zcms-form__title {
  color: var(--zmed-ink);
  font-family: "Avenir Next", "Segoe UI", ui-sans-serif, sans-serif;
  font-size: 23px !important;
}

.zmed__booking-form .zcms-form__label {
  color: var(--zmed-ink);
}

.zmed__booking-form .zcms-form input,
.zmed__booking-form .zcms-form select,
.zmed__booking-form .zcms-form textarea {
  border-color: var(--zmed-line) !important;
  border-radius: 10px !important;
  background: var(--zmed-soft-2) !important;
  color: var(--zmed-ink) !important;
  padding: 12px 13px !important;
}

.zmed__booking-form .zcms-form input:focus,
.zmed__booking-form .zcms-form select:focus,
.zmed__booking-form .zcms-form textarea:focus {
  border-color: var(--zmed-accent) !important;
  outline: 3px solid color-mix(in srgb, var(--zmed-accent) 15%, transparent);
}

.zmed__booking-form .zcms-form__submit {
  min-height: 48px;
  justify-self: stretch !important;
  border-radius: 12px 12px 12px 4px !important;
  background: var(--zmed-accent) !important;
  color: #fff !important;
}

.zmed__page {
  padding-bottom: 100px;
}

.zmed__page-head,
.zmed__post-head {
  margin-bottom: 58px;
  border-bottom: 1px solid var(--zmed-line);
  background:
    radial-gradient(circle at 80% 10%, color-mix(in srgb, var(--zmed-accent) 13%, transparent), transparent 24rem),
    var(--zmed-soft-2);
  padding-block: 82px;
}

.zmed__page-head h1,
.zmed__post-head h1 {
  margin-bottom: 20px;
  font-size: clamp(40px, 6vw, 66px);
}

.zmed__page-head p:last-child,
.zmed__post-lead {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--zmed-text);
  font-size: 19px;
}

.zmed__post-meta {
  display: flex;
  gap: 18px;
  margin-top: 25px;
  color: var(--zmed-text);
  font-size: 13px;
}

.zmed__post-meta > * + *::before {
  margin-right: 18px;
  color: var(--zmed-line);
  content: "•";
}

.zmed__prose {
  color: var(--zmed-text);
  font-size: 17px;
}

.zmed__prose > * + * {
  margin-top: 32px;
}

.zmed__prose h2,
.zmed__prose h3 {
  color: var(--zmed-ink);
}

.zmed__prose h2 {
  margin-top: 52px;
  font-size: 30px;
}

.zmed__prose h3 {
  font-size: 23px;
}

.zmed__prose a:not(.zmed__button) {
  color: var(--zmed-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.zmed__prose blockquote {
  margin-inline: 0;
  border-left: 4px solid var(--zmed-accent);
  border-radius: 0 12px 12px 0;
  background: var(--zmed-soft);
  padding: 22px 26px;
  color: var(--zmed-ink);
  font-family: "Avenir Next", "Segoe UI", ui-sans-serif, sans-serif;
  font-size: 20px;
  font-weight: 600;
}

.zmed__prose img {
  width: 100%;
  border-radius: 18px;
}

.zmed__block-hero,
.zmed__block-cta {
  border-radius: 20px 20px 20px 7px;
  background: var(--zmed-soft);
  padding: 38px;
}

.zmed__block-hero h2,
.zmed__block-cta h2,
.zmed__block > h2 {
  font-size: 31px;
}

.zmed__block-hero > p:not(.zmed__eyebrow),
.zmed__block-cta p,
.zmed__block > p {
  color: var(--zmed-text);
}

.zmed__block-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.zmed__block-cta h2,
.zmed__block-cta p {
  margin-bottom: 0;
}

.zmed__block-cta p {
  margin-top: 10px;
}

.zmed__feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 25px;
}

.zmed__feature-grid article {
  border: 1px solid var(--zmed-line);
  border-radius: 14px 14px 14px 5px;
  padding: 22px;
}

.zmed__feature-grid article > span {
  color: var(--zmed-accent);
  font-size: 12px;
  font-weight: 800;
}

.zmed__feature-grid h3 {
  margin: 12px 0 8px;
  font-size: 18px;
}

.zmed__feature-grid p {
  margin-bottom: 0;
  font-size: 14px;
}

.zmed__figure {
  margin-inline: 0;
}

.zmed__figure figcaption {
  margin-top: 9px;
  color: var(--zmed-text);
  font-size: 12px;
}

.zmed__content-list {
  display: grid;
  gap: 14px;
}

.zmed__content-list article {
  border-bottom: 1px solid var(--zmed-line);
  padding-bottom: 14px;
}

.zmed__content-list h3 {
  margin-bottom: 7px;
  font-size: 20px;
}

.zmed__notice {
  display: flex;
  gap: 15px;
  border: 1px solid color-mix(in srgb, var(--zmed-accent) 30%, var(--zmed-line));
  border-radius: 14px;
  background: var(--zmed-soft);
  padding: 20px;
}

.zmed__notice > span {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--zmed-accent);
  color: #fff;
  font-weight: 800;
}

.zmed__notice h3 {
  margin-bottom: 5px;
  font-size: 17px;
}

.zmed__notice p {
  margin-bottom: 0;
  font-size: 14px;
}

.zmed__notice--important {
  border-color: #d89e6e;
  background: color-mix(in srgb, var(--zmed-warm) 13%, var(--zmed-white));
}

.zmed__notice--important > span {
  background: #b96f34;
}

/* The live clinic lists (medical/services, medical/doctors). Rows are cloned from a
   <template> by the runtime's query enhancer, so every rule here has to hold for a
   card that appears after paint — no :nth-child staging, no entrance animation. */
.zmed__clinic-filter {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 24px;
}

.zmed__clinic-filter label {
  display: grid;
  min-width: 240px;
  flex: 1 1 260px;
  gap: 6px;
}

.zmed__clinic-filter label span {
  color: var(--zmed-text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.zmed__clinic-filter input[type="search"] {
  width: 100%;
  border: 1px solid var(--zmed-line);
  border-radius: 12px;
  background: var(--zmed-white);
  color: inherit;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
}

.zmed__clinic-filter input[type="search"]:focus-visible {
  border-color: var(--zmed-accent);
  outline: 2px solid color-mix(in srgb, var(--zmed-accent) 35%, transparent);
  outline-offset: 1px;
}

.zmed__clinic-list {
  margin-top: 4px;
}

/* Cards are shorter than the homepage's illustrated ones: no icon, and a body that
   is whatever the clinic typed, so the fixed min-heights there would leave gaps. */
.zmed__service-card--live {
  min-height: 0;
}

.zmed__service-card--live p {
  min-height: 0;
}

.zmed__clinic-tag {
  margin-bottom: 12px !important;
  color: var(--zmed-accent) !important;
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.zmed__clinic-body:empty {
  display: none;
}

.zmed__clinic-meta {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.zmed__clinic-meta > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px dashed var(--zmed-line);
  padding-bottom: 7px;
  font-size: 13px;
}

.zmed__clinic-meta dt {
  color: var(--zmed-text);
}

.zmed__clinic-meta dd {
  font-weight: 700;
  text-align: right;
}

.zmed__clinic-meta dd:empty::after {
  color: var(--zmed-text);
  font-weight: 400;
  content: "—";
}

.zmed__home-blocks .zmed__notice {
  margin-bottom: 0;
}

/* medical/contact — the clinic card beside a no-JS message form. */
.zmed__contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
  gap: 40px;
}

.zmed__contact-card {
  border: 1px solid var(--zmed-line);
  border-radius: 18px 18px 18px 6px;
  background: var(--zmed-soft);
  padding: 30px;
}

.zmed__contact-card h2 {
  margin-bottom: 10px;
  font-size: 25px;
}

.zmed__contact-card > p {
  margin-bottom: 20px;
  color: var(--zmed-text);
  font-size: 14px;
}

.zmed__contact-lines {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.zmed__contact-lines > div {
  display: grid;
  gap: 2px;
}

.zmed__contact-lines dt {
  color: var(--zmed-text);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.zmed__contact-lines dd {
  font-size: 15px;
  font-weight: 600;
}

.zmed__contact-lines a {
  color: inherit;
}

.zmed__contact-form form {
  display: grid;
  gap: 16px;
  border: 1px solid var(--zmed-line);
  border-radius: 18px;
  background: var(--zmed-white);
  padding: 30px;
}

.zmed__field {
  display: grid;
  gap: 6px;
}

.zmed__field label {
  font-size: 13px;
  font-weight: 600;
}

.zmed__field input,
.zmed__field textarea {
  width: 100%;
  border: 1px solid var(--zmed-line);
  border-radius: 12px;
  background: var(--zmed-white);
  color: inherit;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  box-sizing: border-box;
}

.zmed__field textarea {
  resize: vertical;
}

.zmed__field input:focus-visible,
.zmed__field textarea:focus-visible {
  border-color: var(--zmed-accent);
  outline: 2px solid color-mix(in srgb, var(--zmed-accent) 35%, transparent);
  outline-offset: 1px;
}

.zmed__contact-form button {
  justify-self: start;
}

.zmed__contact-note {
  margin: 0;
  color: var(--zmed-text);
  font-size: 12px;
}

/* The post-redirect flash. Hidden until the fragment names it — `:target` for a
   direct jump, `[data-revealed]` for the redirect case the runtime handles. */
.zmed__flash {
  display: none;
  margin-top: 16px;
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 14px;
  scroll-margin-top: 120px;
}

.zmed__flash:target,
.zmed__flash[data-revealed] {
  display: block;
}

.zmed__flash--ok {
  border: 1px solid color-mix(in srgb, var(--zmed-accent) 45%, transparent);
  background: var(--zmed-soft);
  color: var(--zmed-accent);
}

.zmed__flash--error {
  border: 1px solid #d89e6e;
  background: color-mix(in srgb, var(--zmed-warm) 13%, var(--zmed-white));
  color: #a1541f;
}

.zmed__pager {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 45px;
}

.zmed__pager a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--zmed-line);
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
}

.zmed__pager a[aria-current="page"] {
  border-color: var(--zmed-accent);
  background: var(--zmed-accent);
  color: #fff;
}

.zmed__state {
  display: grid;
  min-height: 580px;
  place-items: center;
  background: var(--zmed-soft-2);
  padding-block: 80px;
  text-align: center;
}

.zmed__state-code {
  margin-bottom: 12px;
  color: var(--zmed-accent);
  font-family: "Avenir Next", "Segoe UI", ui-sans-serif, sans-serif;
  font-size: 74px;
  font-weight: 700;
  line-height: 1;
}

.zmed__state h1 {
  margin-bottom: 17px;
  font-size: clamp(34px, 5vw, 52px);
}

.zmed__state p:not(.zmed__state-code) {
  max-width: 560px;
  margin: 0 auto 27px;
  color: var(--zmed-text);
}

.zmed__footer {
  background: #102e2c;
  color: #edf8f6;
  padding-top: 75px;
}

html[data-theme="dark"] .zmed__footer {
  background: #061c1a;
}

.zmed__footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.75fr 0.75fr 1fr;
  gap: 55px;
  padding-bottom: 55px;
}

.zmed__footer .zmed__brand-mark {
  box-shadow: none;
}

.zmed__footer-about > p {
  max-width: 330px;
  margin-top: 20px;
  color: #a9c8c4;
  font-size: 13px;
}

.zmed__footer h2 {
  margin-bottom: 18px;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.zmed__footer ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  color: #a9c8c4;
  font-size: 13px;
  list-style: none;
}

.zmed__footer a:hover {
  color: #fff;
}

.zmed__footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #a9c8c4;
  font-size: 13px;
}

.zmed__footer-contact a {
  margin-bottom: 5px;
  color: #fff;
  font-weight: 600;
}

.zmed__footer-contact p {
  margin: 8px 0 0;
}

.zmed__disclaimer {
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 22px;
  color: #86aaa6;
  font-size: 11px;
}

.zmed__footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 20px;
  color: #86aaa6;
  font-size: 11px;
}

@media (max-width: 1050px) {
  .zmed__header-inner {
    grid-template-columns: 1fr auto;
  }

  .zmed__nav {
    grid-column: 1 / -1;
    grid-row: 2;
    border-top: 1px solid var(--zmed-line);
  }

  .zmed__nav ul {
    justify-content: center;
  }

  .zmed__nav a {
    padding: 13px 0;
  }

  .zmed__nav a::after {
    bottom: 7px;
  }

  .zmed__hero-grid,
  .zmed__story-grid {
    gap: 45px;
  }

  .zmed__services,
  .zmed__articles {
    grid-template-columns: repeat(2, 1fr);
  }

  .zmed__contact-grid {
    grid-template-columns: 1fr;
  }

  .zmed__footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .zmed__footer-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 780px) {
  .zmed__container,
  .zmed__measure {
    width: min(100% - 32px, 680px);
  }

  .zmed__utility-address,
  .zmed__header-actions .zmed__phone {
    display: none;
  }

  .zmed__utility-inner > p,
  .zmed__utility-inner > div {
    gap: 12px;
  }

  .zmed__header-inner {
    min-height: 72px;
    gap: 14px;
  }

  .zmed__header-actions {
    gap: 8px;
  }

  .zmed__nav {
    overflow-x: auto;
  }

  .zmed__nav ul {
    width: max-content;
    justify-content: start;
    gap: 23px;
    margin-inline: auto;
  }

  .zmed__hero-grid,
  .zmed__story-grid,
  .zmed__booking-grid,
  .zmed__section-head {
    grid-template-columns: 1fr;
  }

  .zmed__hero-grid {
    gap: 32px;
    padding-block: 58px;
  }

  .zmed__hero h1 {
    font-size: clamp(42px, 11vw, 60px);
  }

  .zmed__hero-visual {
    min-height: 390px;
  }

  .zmed__care-card {
    right: 0;
  }

  .zmed__trust-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .zmed__trust-grid > div {
    justify-content: flex-start;
    border-right: 0;
  }

  .zmed__section,
  .zmed__story,
  .zmed__booking {
    padding-block: 72px;
  }

  .zmed__section-head {
    gap: 18px;
    margin-bottom: 34px;
  }

  .zmed__section-head--inline {
    align-items: start;
  }

  .zmed__story-art {
    min-height: 410px;
  }

  .zmed__booking-grid {
    gap: 35px;
  }

  .zmed__booking-copy {
    position: static;
  }

  .zmed__footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .zmed__footer-about,
  .zmed__footer-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 540px) {
  .zmed__utility-inner > p {
    display: none;
  }

  .zmed__utility-inner {
    justify-content: flex-end;
  }

  .zmed__brand strong {
    font-size: 15px;
  }

  .zmed__brand small {
    display: none;
  }

  .zmed__header-actions .zmed__button {
    padding-inline: 11px;
    font-size: 11px;
  }

  .zmed__hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .zmed__hero-visual {
    min-height: 330px;
  }

  .zmed__visual-orbit::before {
    left: 4px;
  }

  .zmed__visual-orbit::after {
    left: 84px;
  }

  .zmed__visual-orbit span {
    left: 72px;
  }

  .zmed__services,
  .zmed__articles,
  .zmed__feature-grid {
    grid-template-columns: 1fr;
  }

  .zmed__service-card {
    min-height: 0;
  }

  .zmed__service-card p {
    min-height: 0;
  }

  .zmed__story-art::before {
    left: 0;
  }

  .zmed__story-art::after {
    left: 60px;
  }

  .zmed__story-cross {
    left: 124px;
  }

  .zmed__booking-form {
    padding: 22px;
  }

  .zmed__booking-form .zcms-form {
    grid-template-columns: 1fr;
  }

  .zmed__booking-form .zcms-form > * {
    grid-column: 1 !important;
  }

  .zmed__block-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .zmed__footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .zmed__footer-about,
  .zmed__footer-contact {
    grid-column: auto;
  }

  .zmed__footer-bottom {
    gap: 14px;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .zmed *,
  .zmed *::before,
  .zmed *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
