html:has(.clinic-page) {
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
.clinic-page {
  position: relative;
  isolation: isolate;
  background: var(--paper);
  --ui-font: Inter, system-ui, sans-serif;
  overflow: clip;
}
html[dir="rtl"] .clinic-page { --ui-font: 'Noto Sans Arabic', system-ui, sans-serif; }

.clinic-page :is(.desktop-nav, .mobile-nav, .hero .eyebrow, .button, .text-link, .treatment-book, .schedule-button, .language-toggle, .language-list button) {
  font-family: var(--ui-font);
}
.clinic-page .language-list button[lang="ar"] { font-family: 'Noto Sans Arabic', system-ui, sans-serif; }
.clinic-page :is(.desktop-nav, .mobile-nav) { font-weight: 500; }
html:not([dir="rtl"]) .clinic-page :is(.desktop-nav, .button, .text-link, .treatment-book) { font-size: 14px; }
.clinic-page .hero .eyebrow { font-weight: 600; }
.clinic-page .header-cta {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
}
.clinic-page .header-cta:hover {
  background: #5b3a260d;
  transform: none;
}
.clinic-page .header-cta-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  line-height: 1;
}
.clinic-page .header-cta-copy > [data-i18n="book"] {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.1;
}
.clinic-page .header-cta-sub {
  display: block;
  color: #79563d;
  font-family: var(--ui-font);
  font-size: 10px !important;
  font-weight: 500;
  letter-spacing: .03em;
  line-height: 1 !important;
}
html[dir="rtl"] .clinic-page .header-cta-sub { letter-spacing: 0; }
@media (min-width: 701px) {
  .clinic-page .hero-buttons .button { display: none; }
}
/* Shared proportions keep the public page calm from header to footer. */
.clinic-page {
  --content-width: 1240px;
  --section-gap: clamp(64px, 7.5vw, 104px);
}
.section-wrap,
.header,
.approach {
  width: calc(100% - 96px);
  max-width: var(--content-width);
  margin-inline: auto;
}
.header { height: 96px; gap: 24px; z-index: 21; }
.desktop-nav { gap: 28px; }
.hero,
html[dir="rtl"] .hero {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 84px);
  min-height: 0;
  padding-block: 36px 32px;
}
.hero-copy { padding: 0; }
.value-icon {
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero h1 { font-size: clamp(68px, 6.8vw, 98px); margin-top: 20px; }
.hero-description { max-width: 36ch; margin-top: 22px; }
.hero-buttons { gap: 14px 24px; margin-top: 24px; }
.hero-art { height: clamp(390px, 36vw, 480px); margin: 0; }
.hero-art::before { content: none; }
.photo-caption { gap: 10px; }
.photo-caption .caption-line { display: none; }
.values-strip {
  width: calc(100% - 96px);
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 18px 0 20px;
  border-top: 1px solid var(--border);
  border-bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  list-style: none;
}
.values-strip li { min-width: 0; padding-inline: clamp(14px, 3vw, 36px); text-align: center; }
.values-strip li + li { border-inline-start: 1px solid var(--border); }
.values-strip .value-icon { width: 27px; height: 27px; color: var(--gold); }
.values-strip strong { display: block; font: 600 14px/1.55 var(--ui-font); }
.clinic-page .value-copy p { margin-top: 5px; color: var(--muted); line-height: 1.5; }
.treatment-directory, .section-space { padding-block: var(--section-gap); }
.treatment-directory { padding-block: calc(var(--section-gap) * 0.65) calc(var(--section-gap) * 0.55); }
#surec.section-space { padding-top: calc(var(--section-gap) * 0.55); }
.section-divider {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #9a734c;
  font-size: 13px;
  line-height: 1;
}
.section-divider::before,
.section-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c4a57b 18%, #c4a57b 82%, transparent);
}
.section-divider + .approach,
.approach + .section-divider {
  margin-top: calc(var(--section-gap) * 0.55);
}
.mobile-only-divider {
  display: none;
}
.approach {
  background: #563925;
  color: #f7f1e6;
  border: 1px solid #a8876366;
  border-radius: 8px;
  box-shadow: 0 12px 30px #5b3a261f;
}
.approach-inner {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 72px;
  padding-block: clamp(48px, 6vw, 76px);
}
.approach-inner.section-wrap {
  width: 100%;
  max-width: none;
  padding-inline: 48px;
}
.approach-visual {
  position: relative;
  min-height: 300px;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.approach-orbit {
  position: absolute;
  width: clamp(216px, 22vw, 252px);
  height: clamp(216px, 22vw, 252px);
  border: 1px solid #e6d8c03d;
  border-radius: 50%;
  pointer-events: none;
}
.approach-orbit::before,
.approach-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.approach-orbit::after {
  inset: 28px;
  border: 1px solid #e6d8c066;
  background: radial-gradient(circle, #f4eee314 0%, #f4eee305 100%);
}
.approach-orbit::before {
  inset: -28px;
  border: 1px solid #e6d8c021;
}
.approach-visual img {
  position: relative;
  z-index: 1;
  width: clamp(96px, 10.5vw, 124px);
  height: auto;
  filter: none;
}
.approach .eyebrow,
.approach em { color: #ebd9bd; }
.approach-copy h2 { color: #f7f1e6; }
.approach-copy h2, .appointment-copy h2 {
  font-size: clamp(44px, 4.5vw, 64px);
  line-height: 1.15;
}
.approach-copy h2 em,
.appointment-copy h2 em {
  display: inline-block;
  margin-top: 6px;
}
.approach-copy > p:not(.eyebrow) { color: #efe3cf; max-width: 43ch; }
.approach .text-link { color: #f7f1e6; border-color: #d4b892; }
.approach .text-link:hover { color: #fff; border-color: #f7f1e6; }
.approach a:focus-visible { outline-color: #ebd9bd; }
.appointment {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 56px;
  padding: 48px;
  margin-bottom: var(--section-gap);
}
.appointment-copy .eyebrow { padding: 0; border: 0; }
.clinic-page :is(input, select, textarea, .schedule-button) {
  background: var(--paper);
  border-color: #d7d2c8;
}
.form-heading { gap: 12px; }
.footer {
  border-top: 1px solid var(--border);
  background: #f3efe8;
  padding-block: clamp(52px, 6vw, 76px) 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1.15fr 1.1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(40px, 5vw, 56px);
  align-items: start;
}
.footer-col-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.footer-brand .brand-lockup { width: 220px; }
.footer-about {
  font-family: var(--ui-font);
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 34ch;
}
.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
}
.footer-social {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid #d5c7b4;
  background: var(--paper);
  color: var(--gold);
  transition: background .2s, border-color .2s, color .2s;
}
.footer-social svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer-social:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}
.footer-heading {
  font-family: var(--ui-font);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 18px;
  line-height: 1.3;
}
.footer-links,
.footer-contact-list,
.footer-hours-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 11px;
  font-family: var(--ui-font);
  font-size: 14px;
  color: var(--muted);
}
.footer-links a,
.footer-contact-list a {
  transition: color .2s;
}
.footer-links a:hover,
.footer-contact-list a:hover {
  color: var(--gold);
}
.footer-contact-list li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  line-height: 1.55;
}
.footer-icon {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: #9a734c;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer-hours-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  line-height: 1.55;
}
.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding-block: 8px;
  border-bottom: 1px solid #b89e7a;
  color: var(--gold);
  font-family: var(--ui-font);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  transition: color .2s, border-color .2s;
}
.footer-cta .flow-arrow {
  font-size: 17px;
  line-height: 1;
  transition: transform .2s ease;
}
.footer-cta:hover {
  color: #3f2718;
  border-color: var(--gold);
}
.footer-cta:hover .flow-arrow {
  transform: translateX(4px);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-block: 22px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-family: var(--ui-font);
  font-size: 12px;
  color: var(--muted);
}
.footer-legal {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}
html[dir="rtl"] .values-strip p { font-size: 14px; }

@media (max-width: 1050px) {
  .section-wrap, .header, .values-strip, .approach { width: calc(100% - 64px); }
  .approach-inner.section-wrap { padding-inline: 32px; }
  .desktop-nav { gap: 18px; }
  .treatment-directory, .approach-inner { gap: 40px; }
  .appointment { padding: 32px; gap: 32px; }
  .hero h1 { font-size: clamp(64px, 8vw, 84px); }
}

@media (max-width: 960px) {
  .clinic-page .header-actions { gap: 12px; flex: none; }
  .clinic-page .menu-toggle {
    width: 40px;
    min-width: 40px;
    height: 40px;
    touch-action: manipulation;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0;
  }
  .clinic-page .menu-toggle span {
    width: 22px;
    margin: 0;
  }
}

@media (max-width: 700px) {
  .clinic-page {
    --gutter: clamp(16px, 5vw, 28px);
    --section-gap: 48px;
    --mobile-header-height: 62px;
  }

  .clinic-page :is(.section-wrap, .header, .approach) {
    width: calc(100% - 2 * var(--gutter));
  }

  .clinic-page .header { height: var(--mobile-header-height); gap: 8px; }
  .header .brand { flex: 1; }
  .clinic-page .brand-lockup { width: clamp(148px, 44vw, 184px); }
  .clinic-page .header-actions { gap: 8px; }
  .clinic-page .language-toggle {
    height: 32px;
    min-height: 32px;
    padding: 0 9px;
    gap: 4px;
    font-size: 11.5px;
  }
  .clinic-page .language-globe { width: 13px; height: 13px; }
  .clinic-page .language-chevron { width: 9px; height: 9px; }
  .clinic-page .language-list { min-width: 156px; }
  .clinic-page .menu-toggle {
    width: 36px;
    min-width: 36px;
    height: 34px;
    gap: 5px;
  }
  .clinic-page .menu-toggle span { width: 18px; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .clinic-page .mobile-nav {
    top: var(--mobile-header-height);
    padding: 2px var(--gutter) 10px;
    background: var(--paper);
    box-shadow: 0 8px 18px #5b3a261a;
    text-align: center;
  }
  .clinic-page .mobile-nav:not([hidden]) { gap: 0; }
  .clinic-page .mobile-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    font-size: 15px;
    text-align: center;
    border-bottom: 1px solid var(--border);
  }

  .clinic-page .hero, html[dir="rtl"] .clinic-page .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding-block: 16px 0;
  }
  .clinic-page .hero-copy { display: contents; animation: none; }
  .clinic-page .hero-details { grid-row: 3; }
  .clinic-page .hero .eyebrow { font-size: 10px; letter-spacing: .08em; }
  .clinic-page .hero h1 { font-size: clamp(44px, 12.8vw, 70px); line-height: 1; margin-top: 12px; }
  .clinic-page .hero h1 em { margin-top: 4px; }
  .clinic-page .hero-description { margin-top: 0; max-width: 42ch; }
  html:not([dir="rtl"]) .clinic-page .hero-description { font-size: 17px; line-height: 1.45; }
  .clinic-page .hero-buttons, html[dir="rtl"] .clinic-page .hero-buttons {
    display: flex;
    align-items: baseline;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px 18px;
    margin-top: 14px;
  }
  .clinic-page .hero-buttons .button {
    max-width: 100%;
    min-height: 46px;
    padding: 10px 16px;
    gap: 12px;
    font-size: 15px;
  }
  .clinic-page .hero-buttons .text-link { padding-block: 8px; min-height: 42px; font-size: 15px; }
  .clinic-page .hero-art { grid-row: 2; width: 100%; max-width: none; height: auto; margin: 0; animation: none; }
  .clinic-page .arch-photo {
    position: relative;
    inset: auto;
    height: clamp(150px, 50vw, 250px);
    height: clamp(148px, 26svh, 250px);
    border-radius: 46% 46% 2px 2px;
  }
  .clinic-page .arch-photo img { position: absolute; inset: 0; }
  .clinic-page :is(.photo-caption, .photo-slogan, .header-cta, .treatment-book, .footer-top > p) {
    display: none;
  }
  .clinic-page .values-top-divider {
    display: flex;
    margin: 14px auto 0;
  }
  .clinic-page .values-strip {
    width: calc(100% - 2 * var(--gutter));
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 0;
    padding: 12px 0;
    border-top: 0;
  }
  .values-strip li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    text-align: center;
    padding: 2px 6px;
  }
  .values-strip li + li { border-inline-start: 1px solid var(--border); border-block-start: 0; }
  .values-strip .value-icon { width: 20px; height: 20px; }
  .values-strip strong { font-size: 11.5px; line-height: 1.3; font-weight: 600; text-wrap: balance; }
  .clinic-page .value-copy p { display: none; }

  .clinic-page .treatment-directory { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .clinic-page :is(.treatment-intro, .journey, .appointment-copy, .approach-copy) h2 {
    font-size: clamp(36px, 9.6vw, 49px);
    line-height: 1.18;
    max-width: none;
    text-wrap: balance;
  }
  .clinic-page :is(.approach-copy, .appointment-copy) h2 em {
    margin-top: 4px;
  }
  .clinic-page .treatment-intro h2 { margin-block: 12px 12px; }
  .clinic-page .treatment-row { grid-template-columns: 24px minmax(0, 1fr) 22px; gap: 12px; padding-block: 22px 24px; padding-inline: 2px; min-height: 0; align-items: baseline; }
  .clinic-page .treatment-row-arrow { align-self: center; line-height: 1; }
  .clinic-page .treatment-row h3 { font-size: 27px; }
  .clinic-page .treatment-row p { margin-top: 6px; }
  .clinic-page .treatment-disclaimer { margin-top: 16px; }

  .clinic-page .approach { position: relative; z-index: 1; }
  .clinic-page .approach-inner.section-wrap {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 28px clamp(18px, 5vw, 32px);
  }
  .clinic-page .approach-visual { width: 128px; height: 128px; min-height: 0; justify-self: start; border: 0; background: transparent; }
  .clinic-page .approach-orbit { width: 102px; height: 102px; }
  .clinic-page .approach-orbit::after { inset: 13px; }
  .clinic-page .approach-orbit::before { inset: -13px; }
  .clinic-page .approach-visual img { width: 48px; height: auto; }
  .clinic-page .approach-copy h2 { margin-top: 10px; }
  .clinic-page .approach-copy > p:not(.eyebrow) { margin-top: 14px; }
  .clinic-page .approach-copy .text-link { margin-top: 12px; min-height: 44px; }

  .clinic-page .section-heading { margin-bottom: 22px; }
  .clinic-page .section-heading .eyebrow { margin-bottom: 12px; }
  .clinic-page .journey h2 em { display: inline; }
  .clinic-page #surec.section-space { padding-bottom: calc(var(--section-gap) * 0.55); }
  .clinic-page .mobile-only-divider {
    display: flex;
    margin-bottom: calc(var(--section-gap) * 0.55);
  }

  .clinic-page .appointment, html[dir="rtl"] .clinic-page .appointment {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    background: var(--paper);
    padding: 0;
  }
  .clinic-page .appointment-copy h2 { margin-top: 12px; }
  .clinic-page .appointment-copy > p:not(.eyebrow) { margin-top: 12px; }
  .clinic-page #appointment-form {
    padding: 22px clamp(16px, 4.6vw, 24px);
    background: #eeebe4;
    border: 1px solid #dedbd3;
    border-radius: 6px;
  }
  .clinic-page .form-heading { flex-wrap: wrap; gap: 4px 12px; padding: 0; margin-bottom: 16px; border: 0; }
  .clinic-page .form-heading h3 { font-size: 26px; }
  .clinic-page .form-heading > span { max-width: none; text-align: start; }
  .clinic-page .form-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .clinic-page .span-2, .clinic-page .schedule-field { grid-column: 1 / -1; }
  .clinic-page :is(input, textarea, .schedule-button) { min-height: 48px; font-size: 16px; }
  .clinic-page .submit { margin-top: 16px; min-height: 48px; padding-block: 12px; }
  .clinic-page .demo-note { margin-top: 10px; }

  .clinic-page .footer { padding-block: 40px 24px; }
  .clinic-page .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-bottom: 28px; }
  .clinic-page .footer-brand { min-width: 0; }
  .clinic-page .footer-brand .brand-lockup { width: clamp(200px, 58vw, 232px); }
  .clinic-page .back-top { flex-shrink: 0; }
  .clinic-page .back-top > span:first-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .clinic-page .back-top > span:last-child { width: 44px; height: 44px; }
  .clinic-page .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 52px 0 0;
  }
  .clinic-page .social-shortcuts {
    right: max(8px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
    gap: 6px;
  }
  .clinic-page .social-shortcut { width: 44px; height: 44px; }

  html:is([lang="ru"], [lang="bg"]) .clinic-page .hero h1 { font-size: clamp(40px, 12vw, 66px); }
  html[dir="rtl"] .clinic-page .hero h1,
  html[dir="rtl"] .clinic-page .hero h1 em { font-size: clamp(35px, 10vw, 50px); line-height: 1.5; }
  html[dir="rtl"] .clinic-page :is(.treatment-intro, .journey, .appointment-copy, .approach-copy) h2 {
    font-size: 30px;
    line-height: 1.55;
  }
  html[dir="rtl"] .clinic-page :is(.treatment-row h3, .journey-grid h3) { font-size: 22px; line-height: 1.5; }
  html[dir="rtl"] .clinic-page .hero .eyebrow { letter-spacing: 0; }
  html[dir="rtl"] .clinic-page :is(.flow-arrow, .treatment-row-arrow) { transform: scaleX(-1); }
}

@media (min-width: 390px) and (max-width: 700px) {
  .clinic-page .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clinic-page .form-grid > label:not(.span-2) { grid-column: 1 / -1; }
  .clinic-page .form-grid > .schedule-field { grid-column: auto; }
}

@media (min-width: 701px) and (max-width: 960px) {
  .clinic-page .header { height: 90px; }
  .clinic-page .header-cta { display: inline-flex; }
  .clinic-page .mobile-nav { top: 90px; }
  .clinic-page .hero, html[dir="rtl"] .clinic-page .hero { gap: 28px; }
  .clinic-page .hero h1 { font-size: 65px; }
  html:is([lang="ru"], [lang="bg"]) .clinic-page .hero h1 { font-size: 52px; }
  html[dir="rtl"] .clinic-page .hero h1 { font-size: 42px; }
  .clinic-page .hero-art { height: 440px; }
  .clinic-page .appointment { grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 40px; }
  .clinic-page .appointment-copy > p:not(.eyebrow) { max-width: 48ch; }
  .clinic-page .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
}
