@font-face {
  font-family: Onest;
  src: url("fonts/onest-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Onest;
  src: url("fonts/onest-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --paper: #f7f9fa;
  --white: #fff;
  --ink: #102239;
  --muted: #4d6074;
  --navy: #112339;
  --midnight: #0d1c2e;
  --mint: #a9f2db;
  --mint-hover: #c6fae9;
  --teal: #146557;
  --line: #dce5e9;
  --radius: 1.4rem;
  --shadow: 0 0.8rem 2.4rem #16364c13;
  font-family: Onest, "Segoe UI", system-ui, sans-serif;
  font-size: 100%;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure, dl, dd, ul { margin: 0; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; }
button, summary { cursor: pointer; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 5.7rem; }
html:has(dialog[open]) { overflow: hidden; }
h1, h2, h3 { font-weight: 730; letter-spacing: -0.044em; line-height: 1.04; }
h2 { font-size: clamp(2.25rem, 4.4vw, 4.25rem); }
h3 { font-size: 1.35rem; line-height: 1.17; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }

:focus-visible { outline: 3px solid #187c69; outline-offset: 4px; }
.hero :focus-visible, .contact-panel :focus-visible { outline-color: var(--mint); }
.directions-card :focus-visible { outline-color: #187c69; }

.skip-link {
  position: fixed;
  z-index: 10;
  top: 0.6rem;
  left: 0.6rem;
  padding: 0.75rem 1rem;
  transform: translateY(-160%);
  border-radius: 0.5rem;
  background: var(--white);
}

.skip-link:focus { transform: none; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.wrap { width: min(80rem, calc(100% - 4.5rem)); margin-inline: auto; }
.section { padding-block: clamp(3.75rem, 7.6vw, 7rem); }

.site-header {
  position: sticky;
  z-index: 3;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: #f7f9faf2;
  backdrop-filter: blur(14px);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  min-height: 4.7rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.27rem;
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.brand strong { font-weight: 780; }

.brand-mark {
  position: relative;
  display: grid;
  flex: none;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 0.75rem;
  background: var(--navy);
  color: var(--white);
  font-size: 1.06rem;
  font-weight: 790;
  font-style: italic;
  letter-spacing: -0.12em;
  text-indent: -0.1em;
}

.brand-mark::after {
  content: "";
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 50%;
  background: #ff826c;
}

.desktop-nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.8vw, 2.7rem); }
.desktop-nav a { padding-block: 0.8rem; color: #354a5e; font-weight: 650; text-decoration: none; }
.desktop-nav a:hover { color: var(--teal); text-decoration: underline; text-underline-offset: 0.27em; }
.header-actions { display: flex; align-items: center; gap: 0.45rem; }
.mobile-nav { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.15rem;
  padding: 0.63rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 0.8rem;
  font-size: 0.975rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button-dark { background: var(--navy); color: var(--white); }
.button-dark:hover { background: #23425b; }
.button-mint { background: var(--mint); color: var(--midnight); }
.button-mint:hover { background: var(--mint-hover); }
.button-glass { border-color: #e8f5f990; background: #ffffff0e; color: var(--white); }
.button-glass:hover { background: #ffffff25; }
.button-outline { border-color: #ccdae0; background: var(--white); color: var(--ink); }
.button-outline:hover { border-color: var(--teal); color: var(--teal); }
.header-book { min-height: 2.8rem; }

.intro { padding-top: 1.25rem; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(31.5rem, 41vw, 35.5rem);
  overflow: hidden;
  border-radius: clamp(1.6rem, 3vw, 2.5rem);
  background: var(--midnight);
  color: var(--white);
}

.hero-image {
  position: absolute;
  z-index: -2;
  inset: 0 0 0 auto;
  width: 69%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 49%;
  filter: saturate(0.88);
}

.hero-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(0deg, #0a1527ba, #0a152700 38%),
    linear-gradient(92deg, #0d1c2e 29%, #0d1c2eea 41%, #0d1c2e20 72%, #0d1c2e00 92%);
}

.hero-shade::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(#a9f2db21 1px, transparent 1px), linear-gradient(90deg, #a9f2db21 1px, transparent 1px);
  background-size: 2.5rem 2.5rem;
  mask-image: radial-gradient(ellipse at 4% 72%, #000 1%, transparent 59%);
  opacity: 0.42;
}

.hero-copy {
  width: min(61%, 48rem);
  padding: 3.6rem 0 4.5rem clamp(2.1rem, 4.8vw, 4.6rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  max-width: 100%;
  padding: 0.38rem 0.72rem;
  border: 1px solid #d3f4ff45;
  border-radius: 2rem;
  background: #e9f9ff11;
  color: #e5f2fb;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
}

.eyebrow .icon { width: 0.95rem; height: 0.95rem; color: var(--mint); }

.hero h1 {
  margin-top: 1.25rem;
  font-size: clamp(3.75rem, 6.75vw, 6.75rem);
  letter-spacing: -0.071em;
  line-height: 0.96;
}

.hero h1 span { display: block; color: var(--mint); }
.hero-text { max-width: 27rem; margin-top: 1.4rem; color: #e1edf4; font-size: clamp(1rem, 1.43vw, 1.18rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.65rem; }

.hero-location {
  position: absolute;
  right: clamp(1.25rem, 3.1vw, 2.9rem);
  bottom: 3.4rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.85rem 0.65rem 0.65rem;
  border: 1px solid #ffffff60;
  border-radius: 1rem;
  background: #102239e6;
  color: var(--white);
  box-shadow: 0 0.3rem 1.5rem #07122040;
  line-height: 1.3;
  text-decoration: none;
  backdrop-filter: blur(10px);
}

.hero-location:hover { background: var(--navy); }
.hero-location strong, .hero-location > span:last-child > span { display: block; }
.hero-location strong { font-weight: 720; }
.hero-location > span:last-child > span { margin-top: 0.17rem; color: #d9e7f2; font-size: 0.875rem; }
.location-icon, .strip-icon, .team-icon, .channel-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 0.8rem;
  background: #e4f5ef;
  color: var(--teal);
}

.location-icon { background: var(--mint); }

.visit-strip {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  width: calc(100% - clamp(2rem, 6.5vw, 7rem));
  margin: -1.65rem auto 0;
  padding: 0.45rem 0;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background: var(--white);
  box-shadow: var(--shadow);
  list-style: none;
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  padding: 0.86rem clamp(0.85rem, 2vw, 1.6rem);
}

.strip-item + .strip-item { border-left: 1px solid var(--line); }
.strip-label { color: var(--muted); font-size: 0.875rem; line-height: 1.3; }
.strip-value { margin-top: 0.25rem; font-weight: 720; line-height: 1.28; }
.strip-item a { text-decoration-thickness: 1px; text-decoration-color: #8297a4; text-underline-offset: 0.17em; }
.strip-item a:hover { color: var(--teal); }
.strip-icon-star { background: #fbf1d8; color: #8a5313; }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.9rem 2rem;
  margin-bottom: 1.65rem;
}

.section-heading p { max-width: 24rem; padding-bottom: 0.12rem; color: var(--muted); }

.catalog-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.filters { display: flex; flex-wrap: wrap; gap: 0.42rem; }
.filters button {
  min-height: 2.75rem;
  padding: 0.48rem 0.86rem;
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: var(--white);
  color: #3a5064;
  font-size: 0.93rem;
  font-weight: 650;
}

.filters button:hover { border-color: var(--teal); }
.filters button[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: var(--white); }
.catalog-search {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: min(100%, 18rem);
  padding-inline: 0.8rem 0.4rem;
  border: 1px solid #c9d8df;
  border-radius: 0.78rem;
  background: var(--white);
  color: var(--muted);
}

.catalog-search:focus-within { outline: 2px solid var(--teal); outline-offset: 1px; }
.catalog-search input {
  width: 100%;
  min-height: 2.8rem;
  padding: 0.45rem 0.3rem;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
}

.catalog-search input::placeholder { color: #52677a; opacity: 1; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 0.85rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  padding: 0.72rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: box-shadow 200ms ease, border-color 200ms ease;
}

.service-card:hover { border-color: #b7cec8; box-shadow: var(--shadow); }

.service-visual {
  --tint: #e0f4ee;
  --symbol: #287663;
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center start;
  min-height: 6.1rem;
  overflow: hidden;
  padding-inline: 1.1rem;
  border-radius: 0.93rem;
  background: linear-gradient(130deg, var(--tint), var(--paper));
  color: var(--symbol);
}

.service-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(circle, currentColor 0.8px, transparent 1.15px) 0 0 / 0.55rem 0.55rem;
  mask-image: linear-gradient(100deg, transparent 28%, #000b 90%);
  opacity: 0.25;
}

.service-visual::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -2.85rem;
  right: -1rem;
  width: 9rem;
  height: 9rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.24;
  box-shadow: 0 0 0 1.2rem #ffffff4d;
}

.service-visual--blue { --tint: #e0effc; --symbol: #315d92; }
.service-visual--violet { --tint: #eaeaf9; --symbol: #534a8d; }
.service-visual--rose { --tint: #faeae6; --symbol: #9b5149; }
.service-symbol { position: relative; display: block; width: 3.9rem; height: 2.85rem; }
.symbol-pulse {
  background: currentColor;
  clip-path: polygon(0 53%, 24% 53%, 33% 31%, 41% 57%, 49% 5%, 61% 82%, 71% 53%, 100% 53%, 100% 59%, 75% 59%, 59% 100%, 49% 25%, 42% 74%, 33% 45%, 28% 59%, 0 59%);
}

.symbol-vials::before, .symbol-vials::after {
  content: "";
  position: absolute;
  top: 0.12rem;
  left: 0.65rem;
  width: 0.93rem;
  height: 2.65rem;
  transform: rotate(24deg);
  border: 2px solid currentColor;
  border-radius: 0.2rem 0.2rem 0.7rem 0.7rem;
  background: linear-gradient(0deg, currentColor 36%, transparent 37%);
}

.symbol-vials::after { top: 0.46rem; left: 2rem; height: 2.35rem; }
.symbol-scan {
  width: 2.85rem;
  border: 2px solid currentColor;
  border-radius: 0.55rem;
  background: linear-gradient(currentColor, currentColor) center / 72% 2px no-repeat;
}

.symbol-scan::after {
  content: "";
  position: absolute;
  inset: 0.54rem;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.symbol-care::before, .symbol-care::after {
  content: "";
  position: absolute;
  width: 2.9rem;
  height: 1.15rem;
  border: 2px solid currentColor;
  border-radius: 55% 50% 45% 45%;
  transform: rotate(-15deg);
}

.symbol-care::before { top: 0.22rem; left: 0.5rem; }
.symbol-care::after { top: 1.47rem; left: 0.1rem; transform: rotate(9deg); }

.service-card h3 { margin: 1.13rem 0.44rem 0.5rem; overflow-wrap: anywhere; }
.service-card > p { margin: 0 0.44rem 1.15rem; color: var(--muted); font-size: 0.98rem; }
.service-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.62rem 0.35rem;
  margin: auto 0.44rem 0.38rem;
  padding-top: 0.88rem;
  border-top: 1px solid var(--line);
}

.service-price { font-size: 1.24rem; font-weight: 770; letter-spacing: -0.047em; line-height: 1.25; }
.service-price small { font-size: 0.88rem; font-weight: 640; letter-spacing: 0; }
.service-price--unknown { color: var(--muted); font-size: 0.9rem; font-weight: 680; letter-spacing: 0; }
.service-action .button { min-height: 2.75rem; padding: 0.42rem 0.6rem; font-size: 0.88rem; }
.catalog-note { margin-top: 1.1rem; color: var(--muted); font-size: 0.875rem; }
.catalog-note a { text-underline-offset: 0.18em; }

.empty-search {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  min-height: 7rem;
  padding: 1.15rem 1.4rem;
  border: 1px dashed #adc2cc;
  border-radius: var(--radius);
}

.clinic-section {
  border-block: 1px solid #dce8ed;
  background: radial-gradient(ellipse at 83% 14%, #dae9ef, transparent 58%), #ebf3f4;
}

.clinic-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.26fr);
  align-items: center;
  gap: clamp(1.8rem, 5.5vw, 5rem);
}

.clinic-copy > p, .patient-intro > p { max-width: 28rem; margin-top: 1rem; color: var(--muted); }
.team-panel {
  display: flex;
  align-items: start;
  gap: 0.8rem;
  max-width: 27rem;
  margin-top: 1.6rem;
  padding: 1.05rem;
  border: 1px solid #d2e1e8;
  border-radius: 1.05rem;
  background: #ffffffc9;
}

.team-panel h3 { font-size: 1.15rem; letter-spacing: -0.02em; }
.team-panel p { margin-top: 0.35rem; color: var(--muted); font-size: 0.94rem; }
.team-panel a { display: inline-block; margin-top: 0.62rem; color: var(--teal); font-weight: 680; text-underline-offset: 0.18em; }
.gallery { padding: 0.65rem; border: 1px solid #d7e3ea; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.gallery-stage { position: relative; isolation: isolate; overflow: hidden; border-radius: 0.95rem; background: #cedbe1; }
.gallery-stage img { aspect-ratio: 1.63; object-fit: cover; object-position: center 45%; }
.gallery-stage figcaption {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  max-width: calc(100% - 1.7rem);
  padding: 0.36rem 0.65rem;
  border-radius: 0.5rem;
  background: #102239eb;
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 650;
}

.gallery-controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.38rem; margin-top: 0.55rem; }
.gallery-controls button {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 0.46rem;
  min-width: 0;
  padding: 0.38rem;
  border: 1px solid transparent;
  border-radius: 0.68rem;
  background: var(--paper);
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 650;
  line-height: 1.2;
  text-align: left;
}

.gallery-controls button:hover { border-color: #aecfc4; }
.gallery-controls button[aria-pressed="true"] { border-color: #8ab7aa; background: #e5f5ef; color: #155447; }
.gallery-controls button img { flex: none; width: 2.65rem; height: 2.15rem; border-radius: 0.34rem; object-fit: cover; }
.gallery-controls button span { overflow-wrap: anywhere; }

.patient-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: clamp(1.7rem, 5vw, 4.7rem);
}

.patient-intro .button { margin-top: 1.3rem; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary, .owner-notes summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  min-height: 3.65rem;
  padding-block: 0.65rem;
  color: var(--ink);
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  font-weight: 680;
  line-height: 1.32;
}

.faq summary:hover, .owner-notes summary:hover { color: var(--teal); }
.faq summary::after, .owner-notes summary::after {
  content: "";
  flex: none;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background:
    linear-gradient(currentColor, currentColor) center / 45% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 45% no-repeat,
    #e5f0f0;
  color: var(--teal);
}

details[open] > summary::after { background: linear-gradient(currentColor, currentColor) center / 45% 1.5px no-repeat, #e5f0f0; }
.faq details p { max-width: 36rem; padding: 0.12rem 2.6rem 1rem 0; color: var(--muted); }
.faq details a { color: var(--teal); text-underline-offset: 0.17em; white-space: nowrap; }

.contact-wrap { padding-bottom: clamp(3.25rem, 6.7vw, 6rem); }
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4.2rem);
  padding: clamp(1.5rem, 4.75vw, 4.2rem);
  border-radius: clamp(1.6rem, 3vw, 2.5rem);
  background: radial-gradient(ellipse at 88% -22%, #2b5265 0, transparent 60%), var(--midnight);
  color: var(--white);
}

.contact-copy > p { max-width: 25rem; margin-top: 1rem; color: #dbe9f3; }
.channel-list { display: grid; gap: 0.5rem; margin-top: 1.25rem; padding-left: 0; list-style: none; }
.channel-list > li {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  padding: 0.55rem 0.68rem;
  border: 1px solid #c8dbed3e;
  border-radius: 0.8rem;
  background: #f4faff0a;
}

.channel-icon { width: 2.25rem; height: 2.25rem; border-radius: 0.6rem; }
.channel-icon--telegram { background: #deeffc; color: #1c658f; }
.channel-icon--instagram { background: #fae7ef; color: #934162; }
.channel-text { display: flex; flex: 1; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.1rem 0.85rem; }
.channel-text strong { font-weight: 680; }
.channel-text a { color: var(--mint); font-weight: 650; text-underline-offset: 0.17em; }
.channel-text > span { color: #d0e0ed; font-size: 0.875rem; }

.directions-card { overflow: hidden; border: 1px solid #dae6ef; border-radius: var(--radius); background: var(--white); color: var(--ink); }
.directions-card > img { aspect-ratio: 1.98; object-fit: cover; object-position: 45% 48%; }
.directions-copy { padding: 1.1rem clamp(1rem, 2.5vw, 1.65rem) 1.3rem; }
.directions-copy h3 { font-size: clamp(1.45rem, 2.6vw, 2.05rem); }
.directions-copy p { margin-top: 0.5rem; color: var(--muted); }
.directions-copy .button { margin-top: 1rem; }

.site-footer { padding-block: 1.45rem 1.8rem; border-top: 1px solid var(--line); background: var(--white); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1rem; padding-bottom: 1.15rem; }
.demo-label { color: var(--muted); font-size: 0.875rem; }
.owner-notes { border-top: 1px solid var(--line); }
.owner-notes summary { min-height: 2.85rem; font-size: 0.94rem; }
.owner-notes summary::after { width: 1.65rem; height: 1.65rem; }
.owner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.65rem; margin-top: 0.5rem; padding: 0; list-style: none; }
.owner-grid li { padding: 0.9rem; border: 1px solid var(--line); border-radius: 0.75rem; background: var(--paper); }
.owner-grid li strong, .owner-grid li span { display: block; }
.owner-grid li span { margin-top: 0.25rem; color: var(--muted); font-size: 0.9rem; }

.booking {
  width: min(30rem, calc(100% - 1.5rem));
  max-height: calc(100dvh - 1.5rem);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 1.45rem;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 1rem 4rem #0610206b;
}

.booking::backdrop { background: #0b172bd1; backdrop-filter: blur(5px); }
.booking-body { position: relative; padding: clamp(1.2rem, 4vw, 1.85rem); }
.booking-close { position: absolute; top: 0.65rem; right: 0.65rem; }
.close-button {
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
}

.close-button:hover { border-color: var(--teal); color: var(--teal); }
.close-button span {
  width: 1.1rem;
  height: 1.1rem;
  transform: rotate(45deg);
  background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
}

.booking h2 { max-width: calc(100% - 2.7rem); font-size: clamp(1.7rem, 4.8vw, 2.5rem); }
.booking-topic { width: fit-content; margin-top: 0.75rem; padding: 0.28rem 0.55rem; border-radius: 0.55rem; background: #e4f5ef; color: var(--teal); font-size: 0.9rem; font-weight: 680; }
.booking-note { margin-top: 0.95rem; color: var(--muted); }
.booking-phone { width: 100%; margin-top: 1.05rem; }
.booking-social { display: grid; gap: 0.5rem; margin-top: 0.9rem; }
.booking-social > div { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.55rem; padding: 0.5rem 0.65rem; border: 1px solid var(--line); border-radius: 0.7rem; }
.booking-social strong { margin-right: auto; font-size: 0.95rem; }
.booking-social > div > span:not(.icon) { color: var(--muted); font-size: 0.875rem; }
.booking-social a { color: var(--teal); font-weight: 650; }
.booking-social .icon-telegram { color: #1c658f; }
.booking-social .icon-instagram { color: #934162; }

.icon { position: relative; display: inline-block; flex: none; width: 1.15rem; height: 1.15rem; vertical-align: middle; }
.icon-pin::before {
  content: "";
  position: absolute;
  inset: 8% 16% 23% 16%;
  transform: rotate(-45deg);
  border: 1.6px solid currentColor;
  border-radius: 50% 50% 50% 0;
}

.icon-pin::after { content: ""; position: absolute; top: 31%; left: 40%; width: 20%; height: 20%; border-radius: 50%; background: currentColor; }
.icon-clock { border: 1.7px solid currentColor; border-radius: 50%; }
.icon-clock::after { content: ""; position: absolute; top: 18%; left: 48%; width: 29%; height: 35%; border-bottom: 1.6px solid currentColor; border-left: 1.6px solid currentColor; }
.icon-phone { background: currentColor; clip-path: polygon(12% 3%, 34% 7%, 41% 29%, 31% 42%, 40% 57%, 58% 69%, 71% 58%, 93% 66%, 98% 86%, 87% 97%, 68% 95%, 46% 85%, 27% 69%, 14% 51%, 4% 30%, 3% 13%); }
.icon-star { background: currentColor; clip-path: polygon(50% 0%, 64% 32%, 99% 37%, 73% 60%, 80% 96%, 50% 78%, 19% 96%, 26% 61%, 1% 37%, 36% 32%); }
.icon-search::before { content: ""; position: absolute; inset: 4% 24% 24% 4%; border: 1.7px solid currentColor; border-radius: 50%; }
.icon-search::after { content: ""; position: absolute; top: 66%; left: 66%; width: 34%; height: 1.7px; transform: rotate(45deg); transform-origin: left; background: currentColor; }
.icon-calendar { border: 1.6px solid currentColor; border-radius: 0.2rem; background: linear-gradient(currentColor, currentColor) center 31% / 100% 1.4px no-repeat; }
.icon-calendar::after { content: ""; position: absolute; top: -0.2rem; left: 24%; width: 1.6px; height: 0.4rem; background: currentColor; box-shadow: 0.42rem 0 currentColor; }
.icon-telegram { background: currentColor; clip-path: polygon(0 41%, 97% 5%, 80% 96%, 58% 75%, 39% 91%, 42% 66%, 74% 29%, 29% 61%); }
.icon-instagram { border: 1.7px solid currentColor; border-radius: 0.3rem; }
.icon-instagram::before { content: ""; position: absolute; inset: 23%; border: 1.5px solid currentColor; border-radius: 50%; }
.icon-instagram::after { content: ""; position: absolute; top: 12%; right: 12%; width: 2.5px; height: 2.5px; border-radius: 50%; background: currentColor; }

@media (max-width: 67rem) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero h1 { font-size: clamp(3.45rem, 7.4vw, 6.75rem); }
}

@media (max-width: 53rem) {
  .wrap { width: calc(100% - 2.25rem); }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav > summary {
    display: grid;
    place-items: center;
    width: 2.8rem;
    height: 2.8rem;
    border: 1px solid #cadae1;
    border-radius: 0.75rem;
    background: var(--white);
  }

  .menu-symbol { position: relative; width: 1.05rem; height: 1.5px; border-radius: 1px; background: currentColor; box-shadow: 0 -0.32rem currentColor, 0 0.32rem currentColor; }
  .mobile-nav[open] > summary { border-color: var(--teal); color: var(--teal); }
  .mobile-nav nav {
    position: absolute;
    top: calc(100% - 0.2rem);
    right: 0;
    display: grid;
    min-width: min(15rem, 100%);
    padding: 0.45rem;
    border: 1px solid var(--line);
    border-radius: 0.8rem;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .mobile-nav nav a { display: flex; align-items: center; min-height: 2.8rem; padding-inline: 0.7rem; border-radius: 0.45rem; font-weight: 650; text-decoration: none; }
  .mobile-nav nav a:hover { background: #e4f5ef; }
  .strip-item { gap: 0.5rem; padding-inline: 0.65rem; }
  .strip-icon { width: 2.1rem; height: 2.1rem; border-radius: 0.65rem; }
  .section-heading { align-items: start; }
  .gallery-controls button { flex-direction: column; align-items: stretch; gap: 0.36rem; text-align: center; }
  .gallery-controls button img { width: 100%; height: 2.45rem; }
}

@media (max-width: 43rem) {
  .wrap { width: calc(100% - 1.5rem); }
  .header-inner { min-height: 4.2rem; gap: 0.6rem; }
  .intro { padding-top: 0.75rem; }
  .hero {
    --photo-height: clamp(14rem, 55vw, 19rem);
    grid-template-rows: auto var(--photo-height);
    align-items: stretch;
    min-height: 0;
    border-radius: 1.6rem;
  }

  .hero-image {
    position: relative;
    inset: auto;
    grid-area: 2 / 1;
    width: 100%;
    height: var(--photo-height);
    object-position: 57% 49%;
  }

  .hero-shade { inset: auto 0 0; height: var(--photo-height); background: linear-gradient(0deg, #0d1c2e93, transparent 42%, transparent 75%, #0d1c2e); }
  .hero-shade::after { display: none; }
  .hero-copy { grid-area: 1 / 1; width: 100%; padding: 1.7rem 1.25rem 1.2rem; }
  .hero h1 { margin-top: 1.05rem; font-size: clamp(2.35rem, 10.65vw, 4.75rem); }
  .hero-text { margin-top: 0.95rem; }
  .hero-actions { margin-top: 1.2rem; }
  .hero-location { right: 0.8rem; bottom: 0.82rem; }
  .visit-strip { grid-template-columns: 1fr; width: 100%; margin-top: 0.65rem; padding: 0 0.75rem; }
  .strip-item { gap: 0.7rem; padding: 0.6rem 0.1rem; }
  .strip-item + .strip-item { border-top: 1px solid var(--line); border-left: 0; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 0.65rem; }
  .clinic-layout, .patient-layout, .contact-panel { grid-template-columns: minmax(0, 1fr); }
  .contact-panel { padding: 1.35rem; }
  .contact-copy h2 br { display: none; }
  .owner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 29rem) {
  .brand { font-size: 1.04rem; gap: 0.48rem; }
  .brand-mark { width: 2.2rem; height: 2.2rem; border-radius: 0.62rem; font-size: 0.98rem; }
  .header-book { padding-inline: 0.65rem; font-size: 0.875rem; }
  .header-actions { gap: 0.3rem; }
  .hero-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
  .eyebrow { font-size: 0.83rem; }
  .service-grid { grid-template-columns: minmax(0, 1fr); gap: 0.65rem; }
  .catalog-search { width: 100%; }
  .filters { gap: 0.3rem; }
  .filters button { padding-inline: 0.6rem; font-size: 0.875rem; }
  .service-visual { min-height: 5.3rem; }
  .owner-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 23rem) {
  .header-inner .brand-name { display: grid; font-size: 0.94rem; line-height: 1.13; }
  .hero-copy { padding-inline: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .service-card { transition: none; }
}
