@font-face {
  font-family: FiraGO;
  src: url('/assets/fonts/firago-regular-kaen.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: FiraGO;
  src: url('/assets/fonts/firago-medium-kaen.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: FiraGO;
  src: url('/assets/fonts/firago-semibold-kaen.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: FiraGO;
  src: url('/assets/fonts/firago-bold-kaen.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
:root {
  --blue: #1d3487;
  --blue-dark: #12255f;
  --blue-bright: #2e52bf;
  --ink: #15233e;
  --muted: #68748a;
  --line: #e3e8f0;
  --pale: #f1f5fc;
  --surface: #f8fafd;
  --mint: #e2f1ec;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 18px 60px #1d34870c;
  --max: 1280px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  font-family: FiraGO, Arial, sans-serif;
  color: var(--ink);
  background: white;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body:has(dialog[open]) {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
button {
  color: inherit;
}
button,
input,
textarea,
select {
  touch-action: manipulation;
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.35;
  text-wrap: balance;
}
h1 {
  font-size: clamp(32px, 3.25vw, 49px);
  letter-spacing: -1.3px;
}
h2 {
  font-size: clamp(27px, 2.65vw, 38px);
  letter-spacing: -0.7px;
}
h3 {
  font-size: 19px;
}
p {
  color: var(--muted);
  line-height: 1.9;
}
small {
  font-size: 14px;
}
.container {
  width: min(var(--max), calc(100% - 96px));
  margin-inline: auto;
}
.section {
  padding-block: 92px;
}
.icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  vertical-align: middle;
  background: currentColor;
  mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
}
.eyebrow {
  display: block;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 1.7;
  margin-bottom: 16px;
}
html[lang='ka'] .eyebrow,
html[lang='ka'] h1,
html[lang='ka'] h2,
html[lang='ka'] h3 {
  font-feature-settings: 'case' on;
}
html[lang='ka'] h1 {
  line-height: 1.45;
  letter-spacing: -1px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  min-height: 53px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  transition:
    background 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
  white-space: normal;
  text-align: center;
  touch-action: manipulation;
}
.button.primary {
  background: var(--blue);
  background-image: linear-gradient(180deg, #ffffff10, #ffffff00 75%);
  color: #fff;
  box-shadow:
    inset 0 1px 0 #ffffff30,
    0 3px 0 #10276424,
    0 8px 20px #1d34872b;
}
.button.primary:hover {
  background: var(--blue-dark);
  box-shadow:
    inset 0 1px 0 #ffffff30,
    0 3px 0 #10276424,
    0 12px 26px #1d348736;
}
.button.outline {
  border-color: #d8e0ec;
  background: white;
  color: var(--ink);
  box-shadow:
    inset 0 1px 0 #fff,
    0 3px 10px #1027640a;
}
.button.outline:hover {
  background: var(--pale);
}
.button.white {
  background: white;
  color: var(--blue);
  box-shadow:
    inset 0 1px 0 #fff,
    0 3px 0 #10276414,
    0 8px 20px #09193624;
}
.button.small {
  min-height: 43px;
  padding: 9px 16px;
  font-size: 14px;
  gap: 10px;
}
.button.danger {
  color: #a93545;
  background: #fff0f1;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 500;
  border: 0;
  padding: 4px 0;
  background: none;
  min-height: 40px;
}
.text-link .icon {
  width: 18px;
  height: 18px;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.muted {
  color: var(--muted);
}
:focus-visible {
  outline: 3px solid #8aa6ff;
  outline-offset: 4px;
  border-radius: 3px;
}
.sr-only {
  position: absolute !important;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -100px;
  background: var(--blue);
  color: white;
  z-index: 1000;
  padding: 12px 20px;
  border-radius: 6px;
}
.skip-link:focus {
  top: 15px;
}
.topbar {
  font-size: 14px;
  background: var(--pale);
  color: #53627d;
  border-bottom: 1px solid #e7ecf5;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 39px;
  gap: 24px;
}
.topbar-address-short {
  display: none;
}
.topbar-phone-number {
  white-space: nowrap;
}
.topbar a {
  display: flex;
  align-items: center;
  gap: 8px;
}
.topbar .icon {
  width: 13px;
  height: 13px;
}
.topbar-inner > div {
  display: flex;
  align-items: center;
  gap: 34px;
}
.topbar-inner > div a {
  color: var(--blue);
  font-weight: 500;
  font-size: 14px;
}
.topbar-motto {
  padding-right: 28px;
  border-right: 1px solid #d4deed;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 97px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--blue);
  flex-shrink: 0;
}
.brand-symbol {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 57px;
  height: 57px;
  font-family: Georgia, serif;
  font-size: 26px;
  font-weight: bold;
  letter-spacing: -1.5px;
}
.brand-symbol:before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--blue);
  border-right-color: transparent;
  border-radius: 50%;
  transform: rotate(-25deg);
}
.brand-symbol > span {
  position: absolute;
  right: 5px;
  top: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}
.brand-words {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.brand-words small {
  font-size: 14px;
  letter-spacing: 0.02em;
}
.brand-words strong {
  font-size: 20px;
  font-weight: 600;
  white-space: nowrap;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 25px;
}
.desktop-nav a {
  position: relative;
  font-size: 14px;
  line-height: 1.6;
  white-space: nowrap;
  padding: 20px 0;
  color: #536077;
}
.desktop-nav a[aria-current='page'] {
  color: var(--blue);
  font-weight: 600;
}
.desktop-nav a[aria-current='page']:after {
  content: '';
  position: absolute;
  bottom: 9px;
  width: 4px;
  height: 4px;
  background: var(--blue);
  border-radius: 50%;
  left: calc(50% - 2px);
}
.desktop-nav a:hover {
  color: var(--blue);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-book {
  font-size: 14px;
  min-height: 45px;
  padding: 11px 17px;
  gap: 14px;
}
.header-book .icon {
  width: 17px;
  height: 17px;
}
.language {
  position: relative;
  font-size: 14px;
}
.language summary {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  min-height: 44px;
  list-style: none;
  user-select: none;
}
.language summary::-webkit-details-marker {
  display: none;
}
.language summary > .icon:first-child {
  width: 17px;
  height: 17px;
}
.language summary > .icon:last-child {
  width: 12px;
  height: 12px;
}
.language-options {
  position: absolute;
  top: calc(100% + 10px);
  right: -10px;
  min-width: 164px;
  padding: 8px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  z-index: 50;
}
.language-options a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
  min-height: 44px;
}
.language-options a:hover,
.language-options a[aria-current='true'] {
  background: var(--pale);
  color: var(--blue);
}
.language-options small {
  font-size: 14px;
  color: var(--muted);
}
.account-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 44px;
  border-left: 1px solid var(--line);
  padding-left: 14px;
  color: var(--blue);
}
.account-icon .icon {
  width: 20px;
  height: 20px;
}
.menu-toggle {
  display: none;
  border: 0;
  background: var(--pale);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--blue);
}
.mobile-nav {
  padding: 14px 32px 24px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.mobile-nav > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.mobile-nav > a[aria-current='page'] {
  color: var(--blue);
}
.mobile-nav > .button {
  padding: 14px 18px;
  margin-top: 14px;
  border-bottom: 0;
  justify-content: center;
}
.hero {
  overflow: hidden;
  background: linear-gradient(125deg, #fff 40%, #f3f6fc 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  align-items: center;
  gap: 64px;
  padding-block: 66px 76px;
  min-height: 630px;
}
.hero-copy {
  padding-bottom: 15px;
}
.hero-copy > .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 14px;
}
.tiny-cross {
  font-size: 19px;
  font-weight: 400;
  line-height: 1;
  width: 22px;
  height: 22px;
  background: #e9eefb;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero h1 {
  font-size: clamp(36px, 3.5vw, 52px);
  line-height: 1.4;
  letter-spacing: -1.6px;
  margin-bottom: 24px;
}
.hero h1 > span {
  color: var(--blue);
}
.hero-copy > p {
  max-width: 475px;
  font-size: 15px;
  line-height: 2;
}
.hero-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.hero-note {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: var(--muted);
  margin-top: 27px;
}
.hero-note > span {
  background: #e5f1eb;
  color: #487c65;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-note .icon {
  width: 11px;
  height: 11px;
}
.hero-visual {
  position: relative;
  min-width: 0;
  margin-right: 12px;
}
.hero-image-wrap {
  position: relative;
  height: 475px;
  overflow: hidden;
  border-radius: 110px 16px 110px 16px;
  isolation: isolate;
  background: var(--pale);
}
.hero-image-wrap > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1s;
}
.hero-image-wrap:hover > img {
  transform: scale(1.025);
}
.hero-image-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #101f53a6, transparent 50%);
}
.hero-image-caption {
  position: absolute;
  bottom: 45px;
  left: 35px;
  right: 25px;
  display: flex;
  align-items: center;
  gap: 17px;
  color: white;
}
.white-cross {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ffffff66;
  border-radius: 10px;
  width: 43px;
  height: 43px;
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
  background: #ffffff10;
}
.hero-image-caption > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-image-caption strong {
  font-size: 14px;
  font-weight: 500;
}
.hero-image-caption > div > span {
  font-size: 14px;
  opacity: 0.8;
}
.hero-floating {
  position: absolute;
  z-index: 2;
  left: -36px;
  top: 46px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: white;
  padding: 16px 21px;
  border: 1px solid #e5eaf1;
  border-radius: 14px;
  box-shadow: 0 12px 30px #17294a12;
  transform: rotate(-3deg);
}
.floating-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  border-radius: 10px;
  background: var(--pale);
  color: var(--blue);
}
.hero-floating > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-floating strong {
  font-size: 16px;
  font-weight: 600;
}
.hero-floating small {
  font-size: 14px;
  color: var(--muted);
}
.floating-dot {
  width: 7px;
  height: 7px;
  background: #72a489;
  border-radius: 50%;
  margin-left: 13px;
}
.hero-orbit {
  position: absolute;
  z-index: -1;
  bottom: -24px;
  right: -25px;
  width: 145px;
  height: 145px;
  border: 1px solid #b9c7e3;
  border-radius: 50%;
}
.hero-orbit:after {
  content: '';
  position: absolute;
  right: 15px;
  bottom: 12px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
}
.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: white;
}
.trust-grid {
  display: grid;
  grid-template-columns: 0.8fr 0.8fr 1fr 1.1fr;
  padding-block: 28px;
}
.trust-grid > div {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 4px 24px;
  border-right: 1px solid var(--line);
}
.trust-grid > div:first-child {
  padding-left: 0;
}
.trust-grid > div:last-child {
  border: 0;
  padding-right: 0;
}
.trust-number {
  color: var(--blue);
  font-size: 30px;
  letter-spacing: -1px;
  font-weight: 500;
  line-height: 1.2;
}
.trust-grid > div > span:last-child {
  font-size: 14px;
  color: var(--muted);
}
.trust-grid > div > .icon {
  color: var(--blue);
  width: 26px;
  height: 26px;
}
.trust-grid strong {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  display: block;
}
.trust-grid small {
  font-size: 14px;
  display: block;
  line-height: 1.8;
  margin-top: 4px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 35px;
}
.section-heading h2 {
  max-width: 680px;
}
.section-heading p {
  margin-top: 16px;
  max-width: 640px;
  font-size: 14px;
}
.section-heading > .text-link {
  flex-shrink: 0;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.service-card {
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 29px 29px 22px;
  min-height: 278px;
  background: white;
  transition:
    transform 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}
.service-card:hover {
  border-color: #a8b8db;
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.service-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 11px;
  background: var(--pale);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-icon > .icon {
  width: 25px;
  height: 25px;
}
.service-card-top > small {
  font-size: 14px;
  color: #a3adbd;
}
.service-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}
.service-card > p {
  font-size: 14px;
  max-width: 300px;
  line-height: 1.9;
  margin-bottom: 20px;
}
.card-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--blue);
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #ecf0f5;
}
.card-link > .icon {
  width: 18px;
  height: 18px;
}
.care-section {
  background: var(--surface);
  border-block: 1px solid #edf0f6;
}
.care-grid {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  gap: 87px;
  align-items: center;
  padding-block: 76px;
}
.care-image {
  height: 440px;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--pale);
}
.care-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-label {
  position: absolute;
  bottom: 22px;
  left: 23px;
  background: #ffffffef;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--blue);
}
.care-copy h2 {
  font-size: clamp(28px, 2.6vw, 38px);
  max-width: 450px;
}
.care-copy > p {
  margin-block: 24px;
  line-height: 2;
  font-size: 14px;
}
.care-values {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-bottom: 24px;
}
.care-values > div {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.care-values .icon {
  color: var(--blue);
  width: 20px;
  height: 20px;
}
.doctor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.doctor-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 900px;
  margin: auto;
}
.doctor-card {
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow: hidden;
  background: white;
}
.doctor-photo {
  display: block;
  position: relative;
  overflow: hidden;
  height: 300px;
  background: var(--pale);
}
.doctor-photo > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.5s;
}
.doctor-photo:hover > img {
  transform: scale(1.03);
}
.doctor-photo-arrow {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  box-shadow: 0 3px 10px #0000000a;
}
.doctor-photo-arrow > .icon {
  width: 17px;
  height: 17px;
}
.doctor-monogram {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 30% 25%, #f7faff, #e2e9f6);
  color: #8396c5;
}
.doctor-monogram > span {
  font-size: 94px;
  font-weight: 400;
  z-index: 1;
  letter-spacing: -5px;
  line-height: 1.4;
}
.doctor-monogram > .icon {
  position: absolute;
  right: -20px;
  bottom: -40px;
  width: 210px;
  height: 210px;
  color: #c8d4eb;
  transform: rotate(-15deg);
  opacity: 0.6;
}
.doctor-monogram:before {
  content: '';
  position: absolute;
  inset: 34px;
  border: 1px solid #b8c7e177;
  border-radius: 50%;
}
.doctor-card-body {
  padding: 25px 25px 19px;
}
.doctor-card-body > h3 {
  font-size: 18px;
}
.doctor-card-body > p {
  font-size: 14px;
  margin-block: 9px 14px;
  min-height: 41px;
}
.doctor-card-body .text-link {
  font-size: 14px;
  gap: 10px;
}
.doctor-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 36px;
  background: var(--pale);
  border-radius: 15px;
  border: 1px solid #e6ecf8;
}
.doctor-contact > .service-icon {
  background: white;
  margin-bottom: 25px;
}
.doctor-contact h3 {
  font-size: 25px;
  line-height: 1.5;
  margin-bottom: 19px;
}
.doctor-contact p {
  font-size: 14px;
  line-height: 2;
  margin-bottom: 20px;
}
.doctor-contact .text-link {
  margin-top: auto;
}
.faq-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 90px;
  border-top: 1px solid var(--line);
}
.faq-layout > div:first-child > p {
  font-size: 14px;
  margin-block: 18px;
}
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-list details {
  border-bottom: 1px solid var(--line);
  padding-block: 6px;
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  min-height: 64px;
  padding-block: 12px;
  font-size: 14px;
  font-weight: 500;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary > .icon {
  width: 17px;
  height: 17px;
  color: var(--blue);
  transition: transform 0.2s;
}
.faq-list details[open] summary > .icon {
  transform: rotate(45deg);
}
.faq-list details > p {
  font-size: 14px;
  padding-bottom: 22px;
  padding-right: 38px;
}
.cta-section {
  padding-bottom: 80px;
}
.cta {
  background: var(--blue);
  border-radius: 19px;
  padding: 52px 55px;
  display: flex;
  align-items: center;
  gap: 45px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.cta > div:not(.cta-art) {
  max-width: 770px;
}
.cta h2 {
  font-size: 31px;
  color: white;
  margin-bottom: 15px;
}
.cta p {
  color: #d5def4;
  font-size: 14px;
  max-width: 650px;
  line-height: 1.9;
}
.cta .eyebrow {
  color: #c2cfee;
  font-size: 14px;
  margin-bottom: 12px;
}
.cta > .button {
  flex-shrink: 0;
  margin-left: auto;
  font-size: 14px;
  min-width: 182px;
}
.cta-art {
  position: absolute;
  z-index: -1;
  right: -35px;
  top: -25px;
  opacity: 0.06;
  color: #fff;
}
.cta-art .icon {
  width: 310px;
  height: 310px;
  transform: rotate(-20deg);
}
.footer {
  background: var(--surface);
  padding-block: 64px 0;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.75fr 1fr 1fr;
  gap: 54px;
  padding-bottom: 50px;
}
.footer-grid > div:first-child > p {
  font-size: 14px;
  margin-block: 20px;
  max-width: 255px;
}
.footer-grid h3 {
  font-size: 14px;
  margin-bottom: 23px;
  font-weight: 600;
}
.footer-grid > div:not(:first-child) > a,
.footer-grid > div > span {
  display: block;
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  margin-block: 10px;
  overflow-wrap: anywhere;
}
.footer-grid > div > a:hover {
  color: var(--blue);
}
.footer-help > .icon {
  width: 30px;
  height: 30px;
  color: var(--blue);
  margin-bottom: 14px;
}
.footer-help h3 {
  margin-bottom: 10px;
}
.footer-help > p {
  font-size: 14px;
}
.footer-grid .footer-help > a.text-link {
  display: inline-flex;
  color: var(--blue);
  font-size: 14px;
}
.social {
  width: 31px;
  height: 31px;
  border: 1px solid #dce3f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--blue);
  background: white;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-block: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  color: var(--muted);
}
.footer-bottom > div {
  display: flex;
  gap: 25px;
}
.mobile-bottom {
  display: none;
}
.page-heading {
  background: var(--pale);
  padding-block: 24px 36px;
  border-bottom: 1px solid #e7ecf5;
  overflow: hidden;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #7c89a1;
  margin-bottom: 24px;
}
.breadcrumb .icon {
  width: 12px;
  height: 12px;
}
.breadcrumb > a:hover {
  color: var(--blue);
}
.page-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.page-heading-row > div {
  max-width: 810px;
}
.page-heading h1 {
  max-width: 820px;
}
.page-heading p {
  font-size: 14px;
  max-width: 730px;
  line-height: 2;
  margin-top: 20px;
}
.page-heading .eyebrow {
  font-size: 14px;
  margin-bottom: 14px;
}
.heading-emblem {
  font-size: 140px;
  font-weight: 400;
  line-height: 1;
  color: #c5d0e9;
  margin-right: 40px;
}
.detail-service-icon {
  width: 110px;
  height: 110px;
  border: 1px solid #c9d5ec;
  background: #ffffff7f;
  border-radius: 24px;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.detail-service-icon > .icon {
  width: 54px;
  height: 54px;
}
.filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 35px;
}
.tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  background: var(--pale);
  padding: 5px;
  border-radius: 9px;
  max-width: 100%;
}
.tabs button {
  border: 0;
  background: transparent;
  font-size: 14px;
  padding: 11px 20px;
  border-radius: 6px;
  min-height: 42px;
  color: var(--muted);
}
.tabs button.active {
  color: var(--blue);
  background: #fff;
  box-shadow: 0 1px 5px #1d348710;
  font-weight: 500;
}
.search-field {
  display: flex !important;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 0 14px;
  min-height: 46px;
  margin: 0 !important;
  color: var(--muted);
  min-width: 0;
}
.search-field > .icon {
  width: 18px;
  height: 18px;
}
.search-field > input {
  margin: 0;
  border: 0 !important;
  min-height: 44px;
  box-shadow: none !important;
  padding: 8px 0 !important;
  width: 100%;
  font-size: 14px;
  outline: 0;
}
.search-field:focus-within {
  outline: 2px solid #9bb1e5;
  outline-offset: 1px;
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr);
  gap: 80px;
  align-items: start;
}
.prose h2 {
  font-size: 30px;
  margin-bottom: 24px;
}
.prose h3 {
  margin-block: 32px 18px;
}
.prose p {
  font-size: 15px;
  line-height: 2.1;
  margin-bottom: 25px;
}
.prose a {
  color: var(--blue);
}
.check-list {
  padding: 0;
  list-style: none;
  margin: 0 0 32px;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-block: 17px;
  font-size: 14px;
}
.check-list .icon {
  width: 19px;
  height: 19px;
  color: var(--blue);
}
.detail-photo {
  height: 320px;
  overflow: hidden;
  border-radius: 13px;
  margin-top: 35px;
}
.detail-photo img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.booking-aside {
  position: sticky;
  top: 122px;
  align-self: start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--pale);
  border: 1px solid #e0e7f5;
  border-radius: 14px;
  padding: 32px;
}
.booking-aside > .service-icon {
  background: white;
  margin-bottom: 20px;
}
.booking-aside > h3 {
  font-size: 24px;
  line-height: 1.5;
  margin-bottom: 17px;
}
.booking-aside > p {
  font-size: 14px;
  line-height: 2;
  margin-bottom: 20px;
}
.booking-aside > .button {
  width: 100%;
  font-size: 14px;
}
.aside-divider {
  width: 100%;
  height: 1px;
  background: #d8e1f0;
  margin-block: 25px;
}
.booking-aside > span:not(.service-icon, .eyebrow) {
  font-size: 14px;
  color: var(--muted);
}
.aside-phone {
  font-size: 20px;
  font-weight: 500;
  color: var(--blue);
  margin-block: 9px;
}
.booking-aside > small {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
}
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
}
.about-intro > img {
  height: 420px;
  width: 100%;
  object-fit: cover;
  border-radius: 17px;
}
.about-intro p {
  font-size: 14px;
  line-height: 2;
  margin-top: 22px;
}
.history-section {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.timeline {
  margin-top: 45px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
}
.timeline > article {
  position: relative;
  border-top: 1px solid #c9d4e7;
  padding-top: 26px;
}
.timeline > article:before {
  content: '';
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}
.timeline-year {
  font-size: 27px;
  color: var(--blue);
  font-weight: 500;
}
.timeline h3 {
  font-size: 14px;
  line-height: 1.7;
  margin-block: 17px 13px;
}
.timeline p {
  font-size: 14px;
  line-height: 1.9;
}
.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.founder-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 25px;
}
.founder-portrait {
  width: 90px;
  height: 90px;
  background: var(--pale);
  border: 1px solid var(--line);
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 30px;
}
.founder-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.founder-card h3 {
  font-size: 24px;
  margin-block: 10px 18px;
}
.founder-card p {
  font-size: 14px;
  margin-bottom: 20px;
}
.founder-card .eyebrow {
  font-size: 14px;
  margin: 0;
}
.team-section {
  background: var(--surface);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
.team-grid article {
  border-top: 1px solid #d2dcec;
  padding-top: 22px;
}
.team-number {
  display: block;
  font-size: 14px;
  color: #94a4c0;
  margin-bottom: 17px;
}
.team-grid h3 {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 12px;
}
.team-grid strong {
  display: block;
  font-size: 14px;
  color: var(--blue);
  font-weight: 500;
  min-height: 36px;
}
.team-grid p {
  font-size: 14px;
  margin-top: 15px;
  line-height: 1.9;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 0.8fr;
  gap: 20px;
  margin-top: 35px;
}
.gallery-grid > button {
  padding: 0;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  background: var(--surface);
}
.gallery-grid img {
  height: 270px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.gallery-grid button:hover img {
  transform: scale(1.025);
}
.gallery-grid button > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  font-size: 14px;
}
.gallery-grid button > span > .icon {
  width: 16px;
  height: 16px;
}
.gallery-dialog {
  background: transparent;
  border: 0;
  width: min(92vw, 1300px);
  padding: 0;
  overflow: visible;
  max-height: 90dvh;
}
.gallery-dialog > img {
  max-height: 88dvh;
  margin: auto;
  object-fit: contain;
  border-radius: 10px;
}
.gallery-dialog::backdrop,
.manage-dialog::backdrop {
  background: #0e1b39a6;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.dialog-close {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--line);
  color: var(--ink);
}
.dialog-close > .icon {
  width: 18px;
  height: 18px;
}
.doctor-detail {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: center;
}
.doctor-detail-photo {
  height: 490px;
  border-radius: 18px;
  overflow: hidden;
}
.doctor-detail-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.doctor-detail .prose h2 {
  font-size: 35px;
}
.info-note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 16px 18px;
  border-radius: 8px;
  background: var(--pale);
  color: #566989;
  font-size: 14px;
  line-height: 1.9;
  margin-block: 20px;
}
.info-note > .icon {
  width: 19px;
  height: 19px;
  margin-top: 2px;
}
.schedule-note {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 27px;
  font-size: 14px;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 75px;
  align-items: start;
}
.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 22px;
  margin-bottom: 30px;
}
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-card .service-icon {
  width: 42px;
  height: 42px;
  border-radius: 9px;
}
.contact-card .icon {
  width: 20px;
  height: 20px;
}
.contact-card h3 {
  font-size: 14px;
  color: var(--muted);
  font-weight: 400;
  margin: 0 0 7px;
}
.contact-card a,
.contact-card > div > span {
  font-size: 14px;
  display: block;
  overflow-wrap: anywhere;
  line-height: 1.9;
}
.contact-card a {
  color: var(--blue);
}
.map-frame {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
  background: var(--pale);
  height: 350px;
  display: flex;
  flex-direction: column;
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  min-height: 0;
  flex: 1;
}
.map-frame > div {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  font-size: 14px;
  background: white;
}
.map-frame .icon {
  width: 15px;
  height: 15px;
  color: var(--blue);
}
.form-card {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  box-shadow: var(--shadow);
}
.form-card h2 {
  font-size: 26px;
  margin-bottom: 24px;
}
.form-card > .eyebrow {
  font-size: 14px;
  margin-bottom: 13px;
}
.form-card > p {
  font-size: 14px;
  margin-bottom: 25px;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 19px;
  line-height: 1.7;
}
label > input:not([type='checkbox']),
label > select,
label > textarea {
  margin-top: 8px;
}
input:not([type='checkbox']),
select,
textarea {
  background: white;
  border: 1px solid #dce3ee;
  border-radius: 7px;
  color: var(--ink);
  padding: 13px 14px;
  min-height: 49px;
  width: 100%;
  font-size: 14px;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
  max-width: 100%;
  outline-offset: 2px;
}
input:not([type='checkbox']):focus,
select:focus,
textarea:focus {
  border-color: #6e8ace;
  box-shadow: 0 0 0 3px #ccd9f533;
  outline: none;
}
input[type='date'],
input[type='time'] {
  min-width: 0;
  min-height: 49px;
  display: block;
  -webkit-appearance: none;
  appearance: none;
}
input::placeholder,
textarea::placeholder {
  color: #68748a;
  opacity: 1;
  font-size: 14px;
}
textarea {
  resize: vertical;
  min-height: 95px;
  line-height: 1.8;
}
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.9;
  cursor: pointer;
}
.checkbox > input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 2px 0 0;
  accent-color: var(--blue);
  cursor: pointer;
}
.checkbox a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
label > small {
  display: block;
  font-size: 14px;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.8;
  margin-top: 5px;
}
.notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 16px;
  font-size: 14px;
  line-height: 1.8;
  border-radius: 8px;
  margin-bottom: 20px;
}
.notice > .icon {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}
.notice.error {
  background: #fff1f0;
  color: #973d39;
  border: 1px solid #f2d5d3;
}
.notice.success {
  background: #edf7f1;
  color: #327555;
  border: 1px solid #cfe7d9;
}
.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #ffffff66;
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.field-row {
  display: flex;
  gap: 18px;
}
.field-row > label {
  flex: 1;
  min-width: 0;
}
.auth-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1070px;
  padding-block: 66px 90px;
  gap: 75px;
  align-items: center;
}
.auth-story h1 {
  font-size: 38px;
}
.auth-story > p {
  font-size: 14px;
  line-height: 2;
  margin-top: 22px;
  max-width: 390px;
}
.auth-illustration {
  height: 240px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-block: 30px 20px;
  max-width: 380px;
}
.auth-circle {
  position: absolute;
  width: 220px;
  height: 220px;
  border: 1px solid #d6e0f3;
  border-radius: 50%;
}
.auth-circle:before {
  content: '';
  position: absolute;
  inset: 24px;
  border: 1px solid #e3eafa;
  border-radius: 50%;
}
.auth-circle:after {
  content: '';
  position: absolute;
  inset: 50px;
  border: 1px solid #edf1fa;
  border-radius: 50%;
}
.auth-illustration > .icon {
  width: 96px;
  height: 96px;
  color: var(--blue);
  z-index: 1;
}
.auth-cross {
  position: absolute;
  left: 30px;
  top: 35px;
  font-size: 35px;
  color: #acbcdd;
  font-weight: 400;
}
.auth-story-foot {
  font-size: 14px;
  color: var(--blue);
}
.auth-form {
  padding: 38px;
}
.auth-form h2 {
  font-size: 25px;
  margin-bottom: 27px;
}
.form-mini-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  width: 43px;
  height: 43px;
  background: var(--pale);
  border-radius: 12px;
  margin-bottom: 16px;
}
.auth-form > .button {
  width: 100%;
}
.auth-switch {
  margin: 24px 0 0 !important;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 14px !important;
}
.auth-switch > a {
  color: var(--blue);
  margin-left: 4px;
  font-weight: 500;
}
.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1fr);
  gap: 65px;
  align-items: start;
}
.booking-steps {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0;
  margin: 0 0 32px;
  padding: 0;
}
.booking-steps > li {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  position: relative;
  color: #8a96aa;
  font-size: 14px;
}
.booking-steps > li:after {
  content: '';
  height: 1px;
  background: var(--line);
  flex: 1;
  margin: 0 15px;
}
.booking-steps > li:last-child:after {
  display: none;
}
.booking-steps > li > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--pale);
  border: 1px solid var(--line);
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 14px;
}
.booking-steps > li small {
  font-size: 14px;
  white-space: nowrap;
}
.booking-steps > li.current {
  color: var(--blue);
}
.booking-steps > li.current > span {
  border-color: var(--blue);
  background: var(--blue);
  color: white;
}
.booking-steps > li.done > span {
  color: var(--blue);
  background: #e6edfc;
  border-color: #d1ddf6;
}
.booking-steps .icon {
  width: 14px;
  height: 14px;
}
.booking-panel {
  border: 1px solid var(--line);
  padding: 32px;
  border-radius: 14px;
  min-width: 0;
}
.booking-panel > h2 {
  font-size: 24px;
  margin-bottom: 28px;
  outline: none;
}
.booking-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin-bottom: 30px;
}
.booking-services > button {
  display: flex;
  align-items: center;
  gap: 13px;
  text-align: left;
  padding: 18px 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  min-height: 82px;
  font-size: 14px;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.booking-services > button > .icon {
  width: 24px;
  height: 24px;
  color: var(--blue);
}
.booking-services > button.selected {
  background: #f4f7fe;
  border-color: var(--blue);
}
.radio-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 1px solid #c9d2e2;
  flex-shrink: 0;
}
.selected .radio-mark {
  border-color: var(--blue);
}
.radio-mark > span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
}
.booking-summary-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--blue);
  margin-bottom: 10px;
}
.booking-summary-row > .icon {
  width: 18px;
  height: 18px;
}
.booking-aside > .info-note {
  padding: 0;
  background: transparent;
  margin-bottom: 0;
  font-size: 14px;
}
.booking-aside > .info-note > .icon {
  width: 17px;
  height: 17px;
}
.booking-aside > strong {
  font-size: 14px;
  font-weight: 500;
}
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.form-actions > .button {
  font-size: 14px;
}
.time-slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-block: 14px 25px;
}
.time-slots > button {
  min-height: 46px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 7px;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.time-slots > button.selected {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.field-label {
  font-size: 14px;
  font-weight: 500;
}
.slots-area > p {
  font-size: 14px;
  margin-top: 15px;
}
.booking-success {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding-block: 85px 110px;
  max-width: 780px;
}
.success-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  background: #edf7f0;
  color: #3e8965;
  border: 1px solid #d5eadd;
  border-radius: 50%;
  margin-bottom: 29px;
}
.success-symbol > .icon {
  width: 32px;
  height: 32px;
}
.booking-success > h1 {
  font-size: 36px;
  margin-bottom: 23px;
}
.booking-success > p {
  font-size: 14px;
  max-width: 510px;
}
.success-summary {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 13px;
  padding: 25px 35px;
  border: 1px solid var(--line);
  border-radius: 13px;
  width: 100%;
  max-width: 460px;
  margin-top: 30px;
}
.success-summary > strong {
  font-size: 17px;
}
.success-summary > span:not(.status) {
  font-size: 14px;
  color: var(--muted);
}
.visits-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.visits-list > article {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 11px;
}
.visit-icon {
  width: 46px;
  height: 46px;
  background: var(--pale);
  color: var(--blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.visits-list > article > div {
  flex: 1;
  min-width: 0;
}
.visits-list h3 {
  font-size: 17px;
  margin-block: 5px;
}
.visits-list small {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.visits-list p {
  font-size: 14px;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  border-radius: 5px;
  padding: 5px 9px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  max-width: 100%;
}
.status:before {
  content: '';
  height: 4px;
  width: 4px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.status.pending {
  background: #fff5e4;
  color: #785718;
}
.status.confirmed {
  background: #ebf0ff;
  color: #325797;
}
.status.arrived {
  background: #ecf5f8;
  color: #22677d;
}
.status.completed {
  background: #eaf5ee;
  color: #2b6b4b;
}
.status.cancelled {
  background: #f9eeee;
  color: #8a4949;
}
.status.no_show {
  background: #f2edf5;
  color: #76528a;
}
.empty-state {
  padding: 60px 25px;
  text-align: center;
  color: var(--muted);
  background: var(--surface);
  border-radius: 11px;
  font-size: 14px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.empty-state > .icon {
  width: 35px;
  height: 35px;
  color: #a4b2cf;
}
.empty-state h3 {
  font-size: 19px;
}
.privacy-prose {
  max-width: 860px;
}
.privacy-prose p {
  white-space: pre-line;
}
.not-found {
  min-height: 80dvh;
  padding: 80px 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 25px;
  text-align: center;
}
.not-found > span {
  font-size: 90px;
  color: var(--blue);
  font-weight: 600;
  line-height: 1;
}
.not-found > h1 {
  font-size: 35px;
}
.loading-page {
  min-height: 60dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}
/* Staff workspace */
.management {
  min-height: 100dvh;
  background: #f5f7fb;
  display: flex;
  --max: 1600px;
  font-size: 14px;
}
.manage-sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 45;
  width: 238px;
  background: white;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 29px 17px 20px;
}
.manage-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 7px 35px;
  color: var(--blue);
}
.manage-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 20px;
  font-family: Georgia, serif;
  border: 1.5px solid var(--blue);
  border-right-color: transparent;
  border-radius: 50%;
  letter-spacing: -1px;
  font-weight: 700;
  flex-shrink: 0;
}
.manage-brand > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.manage-brand strong {
  font-size: 14px;
  font-weight: 600;
}
.manage-brand small {
  font-size: 14px;
  color: var(--muted);
}
.sidebar-section-label {
  font-size: 14px;
  color: #9aa6b9;
  padding: 0 14px;
  margin-bottom: 13px;
}
.manage-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
  overflow-y: auto;
}
.manage-sidebar nav > button {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 14px;
  padding: 13px 13px;
  border-radius: 7px;
  min-height: 46px;
  color: #6b7790;
  line-height: 1.6;
}
.manage-sidebar nav > button > .icon {
  width: 19px;
  height: 19px;
  color: #8998b3;
}
.manage-sidebar nav > button.active {
  background: #eaf0fc;
  color: var(--blue);
  font-weight: 500;
}
.manage-sidebar nav > button.active > .icon {
  color: var(--blue);
}
.manage-sidebar nav > button:hover {
  background: var(--pale);
}
.sidebar-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 19px;
  padding: 0 5px;
  background: white;
  border: 1px solid #dce5f7;
  border-radius: 5px;
  font-size: 14px;
  margin-left: auto;
  color: var(--blue);
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.sidebar-bottom a,
.sidebar-bottom button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  min-height: 44px;
  font-size: 14px;
  background: none;
  border: 0;
  color: var(--muted);
  text-align: left;
}
.sidebar-bottom .icon {
  width: 18px;
  height: 18px;
}
.manage-main {
  width: calc(100% - 238px);
  margin-left: 238px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.manage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  min-height: 102px;
  padding: 20px 35px;
  border-bottom: 1px solid var(--line);
  background: white;
}
.manage-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: #96a3b7;
  margin-bottom: 7px;
}
.manage-breadcrumb > .icon {
  width: 10px;
  height: 10px;
}
.manage-header h1 {
  font-size: 23px;
  letter-spacing: -0.3px;
}
.manage-header-right {
  display: flex;
  align-items: center;
  gap: 13px;
}
.manage-header-right > .language {
  margin-right: 10px;
}
.user-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--blue);
  color: white;
  font-size: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}
.manage-user {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.manage-user > strong {
  font-size: 14px;
  font-weight: 500;
}
.manage-user > small {
  font-size: 14px;
  color: var(--muted);
}
.manage-content {
  padding: 32px 35px 40px;
  flex: 1;
  max-width: 1900px;
  width: 100%;
  margin-inline: auto;
}
.dashboard-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.dashboard-intro .eyebrow {
  font-size: 14px;
  letter-spacing: 0;
  margin-bottom: 9px;
  color: var(--muted);
}
.dashboard-intro h2 {
  font-size: 25px;
  letter-spacing: -0.3px;
}
.dashboard-intro p {
  font-size: 14px;
  margin-top: 8px;
}
.dashboard-intro > .button {
  font-size: 14px;
  min-height: 46px;
  padding: 12px 16px;
}
.dashboard-intro > .button > .icon {
  width: 16px;
  height: 16px;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
  margin-bottom: 27px;
}
.stat-grid > article {
  position: relative;
  padding: 23px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
  min-height: 134px;
}
.stat-grid > article > span {
  font-size: 14px;
  color: var(--muted);
  display: block;
  padding-right: 23px;
}
.stat-grid > article > strong {
  display: block;
  font-size: 30px;
  font-weight: 500;
  margin-top: 21px;
  line-height: 1.3;
  letter-spacing: -0.8px;
}
.stat-grid > article > .icon {
  position: absolute;
  right: 19px;
  top: 21px;
  width: 19px;
  height: 19px;
  color: #8b9dc0;
}
.stat-grid > article:nth-child(2) {
  background: #fefbf5;
  border-color: #ede6d9;
}
.stat-grid > article:nth-child(2) > .icon {
  color: #b9a174;
}
.finance-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 760px;
}
.dashboard-columns {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr);
  gap: 23px;
  align-items: start;
}
.manage-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
  min-width: 0;
}
.manage-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 23px;
  border-bottom: 1px solid var(--line);
}
.manage-card-heading h3 {
  font-size: 14px;
  font-weight: 500;
}
.manage-card-heading > .text-link {
  font-size: 14px;
  min-height: 25px;
  padding: 0;
}
.manage-card-heading > .text-link > .icon {
  width: 14px;
  height: 14px;
}
.manage-card-heading > h2 {
  font-size: 23px;
}
.manage-card-heading > .icon {
  color: var(--blue);
}
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.table-scroll:focus-visible {
  outline: 2px solid #93a9dc;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}
thead {
  background: #fafbfd;
  color: #8994a8;
  font-size: 14px;
}
th {
  font-weight: 500;
  padding: 15px 19px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 17px 19px;
  border-bottom: 1px solid #edf0f5;
  font-size: 14px;
  vertical-align: middle;
  color: #5c6b84;
}
td > small {
  font-size: 14px;
  display: block;
  line-height: 1.8;
  margin-top: 5px;
  color: #97a3b6;
}
td > strong {
  font-weight: 500;
  color: var(--ink);
}
tbody > tr:last-child > td {
  border-bottom: 0;
}
tbody > tr:hover {
  background: #fafcff;
}
.patient-name {
  background: none;
  border: 0;
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  min-height: 25px;
  text-align: left;
  color: var(--ink);
}
.patient-name:hover {
  color: var(--blue);
}
.time-value {
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.row-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.action-link {
  background: none;
  border: 0;
  color: var(--blue);
  font-size: 14px;
  padding: 7px 5px;
  min-height: 40px;
}
.action-link:hover {
  text-decoration: underline;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  color: #6e7d98;
}
.icon-button:hover {
  background: var(--pale);
}
.icon-button > .icon {
  width: 16px;
  height: 16px;
}
.row-actions > .icon-button {
  border: 0;
  min-width: 31px;
  width: 31px;
  background: transparent;
}
.day-agenda > button {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  padding: 18px 20px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: white;
  text-align: left;
}
.day-agenda > button > span:first-child {
  font-size: 14px;
  color: #9aa6b9;
}
.day-agenda > button > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 0;
}
.day-agenda > button strong {
  font-size: 14px;
  font-weight: 500;
}
.day-agenda > button small {
  font-size: 14px;
  color: var(--muted);
}
.agenda-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ccd5e5;
}
.agenda-dot.pending {
  background: #c0a061;
}
.agenda-dot.confirmed {
  background: #7693d2;
}
.agenda-dot.completed {
  background: #65a480;
}
.count-pill {
  padding: 2px 7px;
  background: var(--pale);
  color: var(--blue);
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 14px;
}
.day-agenda > .empty-state {
  background: white;
}
.manage-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 20px 35px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: #8f9bb0;
}
.manage-footer > span:last-child {
  display: flex;
  align-items: center;
  gap: 7px;
}
.connection-dot {
  width: 5px;
  height: 5px;
  background: #70a68c;
  border-radius: 50%;
}
.manage-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.toolbar-buttons {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.view-toggle {
  display: flex;
  gap: 4px;
  background: white;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.view-toggle button {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  border: 0;
  background: transparent;
  border-radius: 5px;
  min-height: 37px;
  padding: 8px 13px;
  color: var(--muted);
}
.view-toggle button > .icon {
  width: 15px;
  height: 15px;
}
.view-toggle button.active {
  background: var(--pale);
  color: var(--blue);
}
.manage-toolbar > .button {
  font-size: 14px;
}
.manage-toolbar > .search-field {
  width: 320px;
  max-width: 100%;
}
.manage-filters {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.manage-filters > .search-field {
  flex: 1;
}
.manage-filters > select {
  width: 190px;
  font-size: 14px;
  min-height: 46px;
}
.manage-filters > input {
  width: 155px;
  font-size: 14px;
  min-height: 46px;
}
.manage-filters .search-field input {
  font-size: 14px;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 17px 22px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.pagination > div {
  display: flex;
  align-items: center;
  gap: 13px;
}
.pagination .icon-button {
  width: 32px;
  height: 33px;
  min-width: 32px;
}
.calendar-view > article {
  display: flex;
  align-items: stretch;
  gap: 25px;
  padding: 18px 23px;
  border-bottom: 1px solid var(--line);
}
.calendar-view > article:last-child {
  border-bottom: 0;
}
.calendar-time {
  width: 90px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 15px;
}
.calendar-time strong {
  font-size: 15px;
  font-weight: 500;
  color: var(--blue);
}
.calendar-time small {
  font-size: 14px;
  color: var(--muted);
}
.calendar-event {
  display: flex;
  align-items: center;
  gap: 22px;
  border: 1px solid #dae4f5;
  background: #f8faff;
  border-left: 3px solid #7b9bd3;
  border-radius: 7px;
  padding: 17px 20px;
  flex: 1;
  min-width: 0;
}
.calendar-event > div:first-child {
  flex: 1;
}
.calendar-event strong {
  font-size: 14px;
  font-weight: 500;
}
.calendar-event p {
  font-size: 14px;
  margin-top: 5px;
}
.calendar-event small {
  font-size: 14px;
  color: var(--muted);
}
.calendar-event.pending {
  border-left-color: #c9a56a;
  background: #fdfbf6;
}
.calendar-event.completed {
  border-left-color: #7ba88e;
  background: #f7fbf8;
}
.calendar-event.cancelled {
  opacity: 0.6;
}
.manage-dialog {
  width: min(640px, calc(100% - 40px));
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 38px;
  max-height: calc(100dvh - 60px);
  overflow-y: auto;
  box-shadow: 0 25px 80px #0e1b3926;
}
.manage-dialog > div > h2,
.manage-dialog > form > h2 {
  font-size: 26px;
  margin-bottom: 26px;
  padding-right: 25px;
}
.manage-dialog > form > p {
  font-size: 14px;
  margin-bottom: 23px;
}
.manage-dialog > div > .eyebrow {
  font-size: 14px;
  margin-bottom: 10px;
}
.visit-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 23px;
  margin-block: 30px;
}
.visit-detail-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
}
.visit-detail-grid small {
  color: var(--muted);
  font-size: 14px;
}
.visit-detail-grid strong,
.visit-detail-grid a {
  font-size: 14px;
  font-weight: 500;
}
.visit-detail-grid a {
  color: var(--blue);
}
.visit-money {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 15px;
  font-size: 14px;
  padding-block: 20px;
  margin-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.manage-dialog > .notice {
  margin-top: 20px;
}
.manage-dialog form > .button {
  font-size: 14px;
}
.content-editor {
  max-width: 930px;
}
.content-selectors {
  display: flex;
  gap: 18px;
  padding: 25px;
}
.content-selectors > select {
  font-size: 14px;
}
.content-editor > .tabs {
  margin: 0 25px 25px;
  width: fit-content;
}
.content-editor > form {
  padding: 0 25px 30px;
}
.content-editor label {
  font-size: 14px;
}
.content-editor textarea {
  font-size: 14px;
}
.staff-form,
.schedule-editor {
  max-width: 930px;
  margin-top: 25px;
}
.schedule-editor {
  margin-top: 0;
}
.staff-form h2,
.schedule-editor h2 {
  font-size: 24px;
}
.weekday-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 22px;
  margin-block: 19px 25px;
}
.weekday-checkboxes > .checkbox {
  margin: 0;
  font-size: 14px;
}
.schedule-editor .field-row {
  flex-wrap: wrap;
}
.schedule-editor .field-row > label {
  min-width: 160px;
}
.message-card {
  padding: 26px;
  overflow-wrap: anywhere;
}
.messages-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 1050px;
}
.message-card > div {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.message-card h3 {
  font-size: 15px;
}
.message-card a {
  font-size: 14px;
  color: var(--blue);
}
.message-card small {
  font-size: 14px;
  color: var(--muted);
}
.message-card p {
  font-size: 14px;
  white-space: pre-wrap;
  line-height: 2;
  margin-top: 20px;
}
.message-card > .button {
  margin-top: 20px;
}
@media (min-width: 1500px) {
  .hero-grid {
    min-height: 680px;
    padding-block: 85px;
  }
  .hero-image-wrap {
    height: 500px;
  }
  .hero h1 {
    font-size: 54px;
  }
  .hero-copy > p {
    font-size: 16px;
  }
  .header-inner {
    gap: 35px;
  }
  .desktop-nav {
    gap: 30px;
  }
}
@media (max-width: 1200px) {
  .container {
    width: calc(100% - 64px);
  }
  .header-inner {
    gap: 20px;
    min-height: 88px;
  }
  .desktop-nav {
    gap: 17px;
  }
  .desktop-nav a {
    font-size: 14px;
  }
  .brand-words strong {
    font-size: 17px;
  }
  .brand-symbol {
    width: 48px;
    height: 48px;
    font-size: 23px;
  }
  .brand {
    gap: 10px;
  }
  .header-actions {
    gap: 11px;
  }
  .header-book {
    padding: 11px 13px;
    font-size: 14px;
    gap: 9px;
  }
  .account-icon {
    width: 32px;
    padding-left: 10px;
  }
  .hero-grid {
    gap: 45px;
    min-height: 590px;
    padding-block: 60px 65px;
  }
  .hero h1 {
    font-size: 42px;
  }
  .hero-image-wrap {
    height: 440px;
    border-radius: 80px 14px 80px 14px;
  }
  .hero-copy > p {
    font-size: 14px;
  }
  .hero-copy .button {
    font-size: 14px;
    padding: 13px 19px;
  }
  .hero-floating {
    left: -25px;
    padding: 14px 17px;
    gap: 10px;
  }
  .hero-floating strong {
    font-size: 14px;
  }
  .hero-floating small {
    font-size: 14px;
  }
  .hero-floating .floating-icon {
    width: 37px;
    height: 37px;
  }
  .hero-image-caption {
    left: 27px;
    bottom: 33px;
  }
  .trust-grid {
    grid-template-columns: 0.8fr 0.65fr 1fr 1.1fr;
  }
  .trust-grid > div {
    padding-inline: 18px;
    gap: 13px;
  }
  .trust-number {
    font-size: 25px;
  }
  .trust-grid strong {
    font-size: 14px;
  }
  .trust-grid > div > span:last-child {
    font-size: 14px;
  }
  .trust-grid small {
    font-size: 14px;
  }
  .section {
    padding-block: 75px;
  }
  .service-card {
    padding: 26px 23px 20px;
  }
  .service-card h3 {
    font-size: 16px;
  }
  .care-grid {
    gap: 50px;
    padding-block: 65px;
  }
  .care-image {
    height: 410px;
  }
  .doctor-contact {
    padding: 28px;
  }
  .doctor-contact h3 {
    font-size: 22px;
  }
  .doctor-photo {
    height: 275px;
  }
  .doctor-card-body {
    padding: 22px;
  }
  .doctor-card-body h3 {
    font-size: 17px;
  }
  .doctor-card-body p {
    font-size: 14px;
  }
  .faq-layout {
    gap: 60px;
  }
  .footer-grid {
    gap: 35px;
  }
  .cta {
    padding: 42px;
  }
  .cta h2 {
    font-size: 27px;
  }
  .cta > .button {
    min-width: 160px;
  }
  .booking-layout {
    gap: 40px;
    grid-template-columns: minmax(0, 1.7fr) minmax(265px, 1fr);
  }
  .booking-panel {
    padding: 27px;
  }
  .booking-steps > li:after {
    margin: 0 9px;
  }
  .booking-steps > li {
    gap: 7px;
  }
  .booking-steps > li small {
    font-size: 14px;
  }
  .booking-aside {
    padding: 27px;
  }
  .contact-layout {
    gap: 45px;
  }
  .contact-cards {
    gap: 25px 16px;
  }
  .contact-card {
    gap: 12px;
  }
  .contact-card a,
  .contact-card > div > span {
    font-size: 14px;
  }
  .detail-layout {
    gap: 55px;
  }
  .timeline {
    gap: 23px;
  }
  .timeline h3 {
    font-size: 14px;
  }
  .team-grid {
    gap: 22px;
  }
  .team-grid h3 {
    font-size: 16px;
  }
  .doctor-detail {
    gap: 55px;
  }
  .manage-sidebar {
    width: 213px;
    padding-inline: 13px;
  }
  .manage-main {
    width: calc(100% - 213px);
    margin-left: 213px;
  }
  .manage-header {
    padding-inline: 25px;
  }
  .manage-content {
    padding: 27px 25px 35px;
  }
  .manage-footer {
    padding-inline: 25px;
  }
  .manage-sidebar nav > button {
    font-size: 14px;
    gap: 11px;
    padding-inline: 11px;
  }
  .manage-brand {
    gap: 9px;
  }
  .manage-brand strong {
    font-size: 14px;
  }
  .manage-brand small {
    font-size: 14px;
  }
  .dashboard-columns {
    grid-template-columns: minmax(0, 1fr);
  }
  .dashboard-columns .day-agenda {
    display: none;
  }
  .stat-grid {
    gap: 13px;
  }
  .stat-grid > article {
    padding: 21px 18px;
  }
  .stat-grid > article > strong {
    font-size: 27px;
  }
  .stat-grid > article > .icon {
    right: 15px;
    width: 17px;
    height: 17px;
  }
  .stat-grid > article > span {
    font-size: 14px;
  }
  .manage-filters {
    gap: 9px;
  }
  .manage-filters > select {
    width: 165px;
  }
  .manage-filters > input {
    width: 144px;
  }
  .manage-toolbar .button.small {
    font-size: 14px;
    padding-inline: 12px;
  }
}
/* Tablet and iPad portrait: larger controls and a dedicated navigation layout. */
@media (max-width: 1023px) {
  .container {
    width: calc(100% - 56px);
  }
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .header-inner {
    min-height: 88px;
  }
  .header-actions {
    gap: 16px;
  }
  .header-book {
    font-size: 14px;
    padding: 12px 17px;
    min-height: 46px;
  }
  .brand-symbol {
    width: 52px;
    height: 52px;
    font-size: 25px;
  }
  .brand-words strong {
    font-size: 20px;
  }
  .brand-words small {
    font-size: 14px;
  }
  .topbar-motto {
    display: none;
  }
  .hero-grid {
    gap: 35px;
    padding-block: 58px 65px;
    min-height: 560px;
    grid-template-columns: 1.05fr 1fr;
  }
  .hero h1 {
    font-size: clamp(31px, 4.25vw, 43px);
    letter-spacing: -1px;
  }
  .hero-copy > .eyebrow {
    font-size: 14px;
    margin-bottom: 22px;
  }
  .hero-copy > p {
    font-size: 14px;
    line-height: 2;
  }
  .hero-image-wrap {
    height: 408px;
    border-radius: 75px 12px 75px 12px;
  }
  .hero-floating {
    top: 28px;
    left: -18px;
    padding: 12px;
    gap: 9px;
    max-width: 95%;
  }
  .hero-floating strong {
    font-size: 14px;
  }
  .hero-floating small {
    font-size: 14px;
  }
  .hero-floating .floating-icon {
    width: 34px;
    height: 34px;
  }
  .floating-dot {
    margin-left: 3px;
    width: 5px;
    height: 5px;
  }
  .hero-floating .icon {
    width: 20px;
    height: 20px;
  }
  .hero-image-caption {
    gap: 12px;
    left: 22px;
    bottom: 35px;
  }
  .hero-image-caption strong {
    font-size: 14px;
  }
  .hero-image-caption > div > span {
    font-size: 14px;
  }
  .white-cross {
    width: 34px;
    height: 34px;
    font-size: 28px;
  }
  .hero-buttons {
    gap: 9px;
  }
  .hero-copy .button {
    padding: 12px 15px;
    font-size: 14px;
    gap: 9px;
  }
  .hero-copy .button > .icon {
    width: 17px;
    height: 17px;
  }
  .hero-note {
    font-size: 14px;
  }
  .trust-grid {
    grid-template-columns: 1fr 1fr;
    padding-block: 22px;
    row-gap: 18px;
  }
  .trust-grid > div {
    min-height: 55px;
    padding-inline: 28px;
  }
  .trust-grid > div:nth-child(2) {
    border: 0;
  }
  .trust-grid > div:nth-child(3) {
    padding-left: 0;
  }
  .trust-grid strong {
    font-size: 14px;
  }
  .trust-grid > div > span:last-child {
    font-size: 14px;
  }
  .trust-grid small {
    font-size: 14px;
  }
  .trust-number {
    font-size: 30px;
  }
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  .service-card {
    min-height: 270px;
    padding: 25px;
  }
  .service-card h3 {
    font-size: 18px;
  }
  .service-card p {
    font-size: 14px;
  }
  .section-heading {
    gap: 25px;
  }
  .section-heading > .text-link {
    font-size: 14px;
    gap: 8px;
  }
  .section-heading h2 {
    font-size: 30px;
  }
  .section-heading p {
    font-size: 14px;
  }
  .care-grid {
    gap: 35px;
    grid-template-columns: 1fr 1fr;
  }
  .care-image {
    height: 400px;
  }
  .care-copy h2 {
    font-size: 29px;
  }
  .care-copy > p {
    font-size: 14px;
    margin-block: 18px;
  }
  .care-values > div {
    font-size: 14px;
  }
  .care-values {
    gap: 14px;
    margin-bottom: 16px;
  }
  .care-copy > .text-link {
    font-size: 14px;
  }
  .image-label {
    left: 15px;
    bottom: 15px;
    padding: 8px 12px;
    font-size: 14px;
    max-width: calc(100% - 30px);
  }
  .doctor-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .doctor-contact {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px 24px;
    align-items: center;
    padding: 28px;
  }
  .doctor-contact > .service-icon {
    grid-row: 1/4;
    margin: 0;
  }
  .doctor-contact > h3 {
    font-size: 21px;
    margin: 0;
  }
  .doctor-contact > p {
    font-size: 14px;
    margin: 0;
    grid-column: 2;
  }
  .doctor-contact > .text-link {
    grid-column: 2;
    font-size: 14px;
  }
  .doctor-photo {
    height: 290px;
  }
  .doctor-card-body > p {
    font-size: 14px;
  }
  .faq-layout {
    gap: 35px;
    grid-template-columns: 0.85fr 1.15fr;
  }
  .faq-layout h2 {
    font-size: 29px;
  }
  .faq-list summary {
    font-size: 14px;
  }
  .faq-list p {
    font-size: 14px;
  }
  .cta {
    gap: 25px;
    padding: 34px;
  }
  .cta h2 {
    font-size: 25px;
  }
  .cta p {
    font-size: 14px;
  }
  .cta > .button {
    font-size: 14px;
    padding: 13px 15px;
    min-width: 150px;
  }
  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 36px 50px;
  }
  .footer-grid > div:nth-child(3) {
    grid-column: 2;
    grid-row: 1/3;
    margin-top: 155px;
  }
  .footer-grid > div:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }
  .footer-grid .footer-help {
    grid-column: 1;
    grid-row: 2;
  }
  .footer-grid .footer-help > .icon {
    display: none;
  }
  .footer-grid > div:first-child > p {
    max-width: 300px;
  }
  .footer-bottom {
    font-size: 14px;
  }
  .page-heading {
    padding-bottom: 43px;
  }
  .page-heading h1 {
    font-size: 36px;
  }
  .page-heading p {
    font-size: 14px;
  }
  .heading-emblem {
    font-size: 110px;
    margin-right: 5px;
  }
  .breadcrumb {
    margin-bottom: 30px;
  }
  .page-heading-row > div {
    max-width: 650px;
  }
  .filter-row {
    align-items: stretch;
    flex-direction: column;
  }
  .filter-row > .search-field {
    max-width: 370px;
  }
  .tabs {
    width: fit-content;
  }
  .detail-layout {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 0.72fr);
    gap: 30px;
  }
  .prose h2 {
    font-size: 27px;
  }
  .prose p {
    font-size: 14px;
  }
  .check-list li {
    font-size: 14px;
  }
  .booking-aside {
    padding: 24px;
    top: 108px;
  }
  .booking-aside > h3 {
    font-size: 21px;
  }
  .booking-aside > .button {
    font-size: 14px;
    padding-inline: 14px;
  }
  .aside-phone {
    font-size: 18px;
  }
  .about-intro {
    gap: 35px;
  }
  .about-intro > img {
    height: 390px;
  }
  .about-intro h2 {
    font-size: 29px;
  }
  .about-intro p {
    font-size: 14px;
    line-height: 2;
    margin-top: 18px;
  }
  .timeline {
    grid-template-columns: 1fr;
    gap: 0;
    margin-left: 7px;
  }
  .timeline > article {
    display: grid;
    grid-template-columns: 115px 1fr;
    gap: 30px;
    border-top: 0;
    border-left: 1px solid #c9d4e7;
    padding: 0 0 33px 28px;
  }
  .timeline > article:before {
    top: 10px;
    left: -4px;
  }
  .timeline > article:last-child {
    padding-bottom: 0;
  }
  .timeline h3 {
    margin: 2px 0 12px;
    font-size: 16px;
  }
  .timeline p {
    font-size: 14px;
  }
  .timeline-year {
    font-size: 28px;
  }
  .founder-card {
    padding: 25px;
  }
  .founder-card h3 {
    font-size: 21px;
  }
  .founder-card p {
    font-size: 14px;
  }
  .founder-card .text-link {
    font-size: 14px;
  }
  .team-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 28px;
  }
  .team-grid h3 {
    font-size: 19px;
  }
  .team-grid strong {
    min-height: 0;
    font-size: 14px;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .gallery-grid > button:last-child {
    grid-column: 1/-1;
  }
  .gallery-grid > button:last-child > img {
    height: 330px;
    object-position: center 27%;
  }
  .doctor-detail {
    gap: 40px;
    grid-template-columns: 0.8fr 1fr;
  }
  .doctor-detail-photo {
    height: 420px;
  }
  .doctor-detail .prose h2 {
    font-size: 29px;
  }
  .contact-layout {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }
  .contact-cards {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .map-frame {
    height: 330px;
  }
  .form-card {
    padding: 28px;
  }
  .form-card h2 {
    font-size: 24px;
  }
  .auth-section {
    gap: 45px;
  }
  .auth-story h1 {
    font-size: 32px;
  }
  .auth-form {
    padding: 29px;
  }
  .booking-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .booking-layout > .booking-aside {
    position: static;
    order: -1;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 5px 25px;
    padding: 22px 26px;
  }
  .booking-layout > .booking-aside > .eyebrow {
    grid-column: 1;
    margin: 0;
    font-size: 14px;
  }
  .booking-layout > .booking-aside > h3 {
    grid-column: 1;
    margin: 0;
    font-size: 19px;
  }
  .booking-layout > .booking-aside > .info-note {
    grid-column: 1/-1;
    margin-top: 11px;
    font-size: 14px;
  }
  .booking-layout > .booking-aside > .aside-divider,
  .booking-layout > .booking-aside > strong,
  .booking-layout > .booking-aside > .aside-phone,
  .booking-layout > .booking-aside > small {
    display: none;
  }
  .booking-layout > .booking-aside > .booking-summary-row {
    grid-column: 2;
    grid-row: 1/3;
    align-self: center;
    margin: 0;
    font-size: 14px;
  }
  .booking-layout > .booking-aside > p {
    grid-column: 1;
    margin: 5px 0;
  }
  .booking-steps > li small {
    font-size: 14px;
  }
  .booking-steps > li:after {
    margin-inline: 15px;
  }
  .booking-services > button {
    font-size: 14px;
    padding: 21px;
  }
  .booking-panel {
    padding: 32px;
  }
  .booking-panel .button {
    min-height: 51px;
    font-size: 14px;
  }
  .booking-panel h2 {
    font-size: 25px;
  }
  .booking-panel label {
    font-size: 14px;
  }
  .booking-panel .time-slots {
    grid-template-columns: repeat(5, 1fr);
  }
  .booking-panel .time-slots > button {
    min-height: 49px;
  }
  .visits-list > article {
    gap: 17px;
    flex-wrap: wrap;
  }
  .visits-list > article > div {
    flex-basis: 50%;
  }
  .visits-list > article > .button {
    margin-left: 63px;
  }
  .manage-sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 250px;
    top: 89px;
    box-shadow: 10px 0 50px #162e600f;
  }
  .manage-sidebar.open {
    transform: translateX(0);
  }
  .manage-sidebar nav > button {
    font-size: 14px;
    min-height: 49px;
  }
  .manage-brand {
    display: none;
  }
  .manage-main {
    width: 100%;
    margin: 0;
  }
  .manage-header {
    position: sticky;
    top: 0;
    z-index: 50;
    min-height: 89px;
    padding: 17px 25px;
  }
  .manage-header > .menu-toggle {
    flex-shrink: 0;
  }
  .manage-header > div:nth-child(2) {
    margin-right: auto;
  }
  .manage-header h1 {
    font-size: 23px;
  }
  .manage-content {
    padding: 30px 25px;
  }
  .manage-user > strong {
    font-size: 14px;
  }
  .manage-sidebar .sidebar-section-label {
    font-size: 14px;
  }
  .manage-sidebar .sidebar-bottom a,
  .manage-sidebar .sidebar-bottom button {
    font-size: 14px;
  }
  .dashboard-columns .day-agenda {
    display: block;
  }
  .dashboard-columns {
    grid-template-columns: minmax(0, 1fr);
  }
  .dashboard-intro h2 {
    font-size: 24px;
  }
  .dashboard-intro > .button {
    font-size: 14px;
  }
  .stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }
  .stat-grid > article {
    min-height: 132px;
    padding: 20px 17px;
  }
  .stat-grid > article > span {
    font-size: 14px;
    line-height: 1.7;
  }
  .stat-grid > article > strong {
    font-size: 27px;
  }
  .manage-filters > select {
    width: 180px;
  }
  .manage-filters > input {
    width: 160px;
  }
  .manage-filters .search-field input {
    font-size: 14px;
  }
  .manage-card-heading h3 {
    font-size: 15px;
  }
  .manage-card table th {
    font-size: 14px;
    padding: 16px 20px;
  }
  .manage-card table td {
    font-size: 14px;
    padding: 17px 20px;
  }
  .patient-name {
    font-size: 14px;
  }
  .manage-card td small {
    font-size: 14px;
  }
  .status {
    font-size: 14px;
    padding: 6px 10px;
  }
  .action-link {
    font-size: 14px;
    min-height: 44px;
  }
  .icon-button {
    min-width: 44px;
    height: 44px;
  }
  .row-actions > .icon-button {
    width: 38px;
    min-width: 38px;
  }
  .manage-toolbar .button.small {
    min-height: 45px;
    font-size: 14px;
  }
  .view-toggle button {
    font-size: 14px;
    min-height: 41px;
  }
  .calendar-event {
    gap: 15px;
  }
  .calendar-event > .status {
    font-size: 14px;
  }
  .finance-stats {
    grid-template-columns: 1fr 1fr;
  }
  .management .mobile-bottom {
    display: none;
  }
  .day-agenda > button {
    padding: 19px 23px;
  }
  .day-agenda > button strong {
    font-size: 14px;
  }
  .day-agenda > button > span:first-child,
  .day-agenda > button small {
    font-size: 14px;
  }
  .content-editor textarea {
    font-size: 16px;
  }
  .manage-dialog input,
  .manage-dialog select,
  .manage-dialog textarea {
    font-size: 16px;
  }
  .manage-dialog {
    padding: 36px;
    max-height: calc(100dvh - 40px);
  }
}
@media (min-width: 768px) and (max-width: 1023px) and (orientation: portrait) {
  .hero-grid {
    padding-block: 62px 68px;
    gap: 32px;
  }
  .hero h1 {
    font-size: 36px;
  }
  .hero-copy .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .hero-copy .button {
    width: 100%;
    max-width: 230px;
    justify-content: space-between;
    padding: 13px 18px;
    font-size: 14px;
  }
  .hero-image-wrap {
    height: 465px;
    border-radius: 65px 12px 65px 12px;
  }
  .hero-copy > .eyebrow {
    font-size: 14px;
  }
  .hero-note {
    align-items: flex-start;
    font-size: 14px;
    margin-top: 20px;
  }
  .care-image {
    height: 450px;
  }
  .care-copy h2 {
    font-size: 28px;
  }
  .section-heading h2 {
    max-width: 460px;
  }
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat-grid > article {
    min-height: 140px;
    padding: 23px;
  }
  .stat-grid > article > strong {
    font-size: 33px;
  }
  .stat-grid > article > span {
    font-size: 14px;
  }
  .stat-grid > article > .icon {
    width: 22px;
    height: 22px;
  }
  .manage-toolbar {
    align-items: stretch;
    gap: 15px;
  }
  .manage-toolbar > .toolbar-buttons {
    width: 100%;
    justify-content: space-between;
  }
  .manage-filters {
    flex-wrap: wrap;
  }
  .manage-filters > .search-field {
    flex-basis: 100%;
  }
  .manage-filters > select {
    flex: 1;
  }
  .manage-filters > input {
    flex: 1;
  }
  .calendar-event {
    flex-wrap: wrap;
  }
  .calendar-event > div:first-child {
    min-width: 50%;
  }
  .calendar-event > .row-actions {
    margin-left: auto;
  }
  .contact-layout {
    gap: 28px;
  }
  .contact-layout > .form-card {
    padding: 25px;
  }
  .contact-layout .form-card > h2 {
    font-size: 23px;
  }
  .contact-layout .form-card label {
    font-size: 14px;
  }
  .contact-layout .form-card input,
  .contact-layout .form-card textarea {
    font-size: 16px;
  }
  .auth-section {
    gap: 32px;
  }
  .auth-story h1 {
    font-size: 29px;
  }
  .auth-form {
    padding: 26px;
  }
  .auth-form input {
    font-size: 16px;
  }
  .founder-card p {
    font-size: 14px;
  }
}
@media (max-width: 767px) {
  html {
    scroll-padding-top: 80px;
    scroll-padding-bottom: 96px;
  }
  .container {
    width: calc(100% - 40px);
  }
  body {
    font-size: 14px;
  }
  .topbar-inner {
    min-height: 36px;
    gap: 0;
  }
  .topbar-inner > div,
  .topbar-address-full {
    display: none;
  }
  .topbar-address-short {
    display: inline;
  }
  .topbar-inner > a {
    min-height: 44px;
  }
  .topbar-inner > a {
    font-size: 14px;
    gap: 5px;
  }
  .topbar-inner > div a {
    font-size: 14px;
    gap: 5px;
  }
  .topbar .icon {
    width: 11px;
    height: 11px;
  }
  .header-inner {
    min-height: 76px;
    gap: 15px;
  }
  .brand-symbol {
    width: 43px;
    height: 43px;
    font-size: 22px;
  }
  .brand-symbol > span {
    right: 3px;
    top: 2px;
    width: 5px;
    height: 5px;
  }
  .brand-words strong {
    font-size: 16px;
  }
  .brand-words small {
    font-size: 14px;
  }
  .brand {
    gap: 9px;
  }
  .header-actions {
    gap: 10px;
  }
  .header-book {
    display: none;
  }
  .account-icon {
    display: none;
  }
  .language summary {
    font-size: 14px;
    gap: 4px;
  }
  .language summary > .icon:first-child {
    width: 15px;
    height: 15px;
  }
  .menu-toggle {
    width: 41px;
    height: 41px;
  }
  .mobile-nav {
    padding-inline: 20px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 37px;
    min-height: 0;
    padding-block: 44px 40px;
  }
  .hero-copy {
    padding: 0;
  }
  .hero-copy > .eyebrow {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .hero h1 {
    font-size: clamp(33px, 7.5vw, 45px);
    line-height: 1.4;
    letter-spacing: -1px;
    max-width: 550px;
    margin-bottom: 19px;
  }
  .hero-copy > p {
    font-size: 14px;
    line-height: 1.95;
    max-width: 500px;
  }
  .hero-buttons {
    margin-top: 25px;
    gap: 10px;
  }
  .hero-copy .button {
    min-height: 51px;
    padding: 13px 17px;
    font-size: 14px;
    gap: 12px;
  }
  .hero-copy .button > .icon {
    width: 18px;
    height: 18px;
  }
  .hero-note {
    font-size: 14px;
    margin-top: 21px;
  }
  .hero-note > span {
    width: 17px;
    height: 17px;
  }
  .hero-visual {
    margin: 5px 0 0 12px;
  }
  .hero-image-wrap {
    height: 365px;
    border-radius: 60px 12px 60px 12px;
    object-position: center;
  }
  .hero-floating {
    top: 22px;
    left: -12px;
    padding: 13px 16px;
    gap: 11px;
  }
  .hero-floating strong {
    font-size: 14px;
  }
  .hero-floating small {
    font-size: 14px;
  }
  .hero-floating .floating-icon {
    width: 37px;
    height: 37px;
  }
  .floating-dot {
    width: 6px;
    height: 6px;
    margin-left: 13px;
  }
  .hero-image-caption {
    left: 24px;
    bottom: 28px;
    gap: 13px;
  }
  .hero-image-caption strong {
    font-size: 14px;
  }
  .hero-image-caption > div > span {
    font-size: 14px;
  }
  .white-cross {
    width: 37px;
    height: 37px;
  }
  .hero-orbit {
    right: -12px;
    bottom: -14px;
    width: 110px;
    height: 110px;
  }
  .trust-grid {
    padding-block: 22px;
    row-gap: 18px;
    column-gap: 5px;
    grid-template-columns: 1fr 1fr;
  }
  .trust-grid > div {
    padding: 0 12px;
    gap: 10px;
    min-height: 50px;
  }
  .trust-grid > div:first-child,
  .trust-grid > div:nth-child(3) {
    padding-left: 0;
  }
  .trust-number {
    font-size: 28px;
  }
  .trust-grid > div > span:last-child {
    font-size: 14px;
  }
  .trust-grid strong {
    font-size: 14px;
  }
  .trust-grid small {
    font-size: 14px;
    line-height: 1.9;
    margin-top: 3px;
  }
  .trust-grid > div > .icon {
    width: 22px;
    height: 22px;
  }
  .section {
    padding-block: 55px;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
    margin-bottom: 26px;
  }
  .section-heading .eyebrow {
    font-size: 14px;
    margin-bottom: 12px;
  }
  .section-heading h2 {
    font-size: 28px;
    line-height: 1.5;
  }
  .section-heading p {
    font-size: 14px;
    margin-top: 14px;
    line-height: 1.9;
  }
  .section-heading > .text-link {
    font-size: 14px;
    min-height: 30px;
  }
  .service-grid {
    gap: 14px;
  }
  .service-card {
    padding: 20px 17px 16px;
    min-height: 266px;
    border-radius: 11px;
  }
  .service-card-top {
    margin-bottom: 20px;
  }
  .service-icon {
    width: 41px;
    height: 41px;
    border-radius: 10px;
  }
  .service-icon > .icon {
    width: 23px;
    height: 23px;
  }
  .service-card-top small {
    font-size: 14px;
  }
  .service-card h3 {
    font-size: 15px;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }
  .service-card p {
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 15px;
  }
  .card-link {
    font-size: 14px;
    padding-top: 14px;
  }
  .card-link .icon {
    width: 16px;
    height: 16px;
  }
  .care-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 43px;
  }
  .care-image {
    height: 330px;
  }
  .image-label {
    font-size: 14px;
    padding: 9px 13px;
  }
  .care-copy > .eyebrow {
    font-size: 14px;
    margin-bottom: 12px;
  }
  .care-copy > h2 {
    font-size: 29px;
    max-width: 500px;
  }
  .care-copy > p {
    font-size: 14px;
    line-height: 1.95;
  }
  .care-values {
    gap: 17px;
    margin-block: 24px 15px;
  }
  .care-values > div {
    font-size: 14px;
  }
  .care-values .icon {
    width: 21px;
    height: 21px;
  }
  .doctor-grid,
  .doctor-grid.two {
    gap: 17px;
  }
  .doctor-photo {
    height: 230px;
  }
  .doctor-card-body {
    padding: 20px 17px 15px;
  }
  .doctor-card-body > h3 {
    font-size: 16px;
    line-height: 1.6;
  }
  .doctor-card-body > p {
    font-size: 14px;
    margin-block: 9px 10px;
    min-height: 53px;
    line-height: 1.9;
  }
  .doctor-card-body .text-link {
    font-size: 14px;
    line-height: 1.9;
    gap: 5px;
  }
  .doctor-card-body .text-link > .icon {
    width: 15px;
    height: 15px;
  }
  .doctor-photo-arrow {
    width: 31px;
    height: 31px;
    right: 10px;
    bottom: 10px;
  }
  .doctor-photo-arrow > .icon {
    width: 15px;
    height: 15px;
  }
  .doctor-monogram > span {
    font-size: 65px;
  }
  .doctor-monogram > .icon {
    width: 160px;
    height: 160px;
    bottom: -30px;
    right: -35px;
  }
  .doctor-monogram:before {
    inset: 20px;
  }
  .doctor-contact {
    padding: 26px;
    gap: 9px 18px;
  }
  .doctor-contact > h3 {
    font-size: 19px;
    line-height: 1.6;
  }
  .doctor-contact > .service-icon {
    align-self: flex-start;
    margin-top: 4px;
  }
  .doctor-contact > p {
    font-size: 14px;
    line-height: 1.9;
  }
  .doctor-contact > .text-link {
    font-size: 14px;
  }
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .faq-layout h2 {
    font-size: 28px;
  }
  .faq-layout > div:first-child > p {
    font-size: 14px;
    margin-block: 15px 10px;
  }
  .faq-list summary {
    font-size: 14px;
    min-height: 68px;
    line-height: 1.9;
  }
  .faq-list details > p {
    font-size: 14px;
    line-height: 2;
    padding-right: 22px;
  }
  .cta-section {
    padding-bottom: 50px;
  }
  .cta {
    padding: 30px 25px;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 14px;
    gap: 24px;
  }
  .cta h2 {
    font-size: 26px;
    line-height: 1.5;
    margin-bottom: 14px;
  }
  .cta p {
    font-size: 14px;
    line-height: 1.9;
  }
  .cta > .button {
    margin: 0;
    font-size: 14px;
    min-height: 49px;
    padding: 13px 21px;
    gap: 20px;
  }
  .cta-art {
    top: 20px;
    right: -75px;
  }
  .cta-art .icon {
    width: 260px;
    height: 260px;
  }
  .footer {
    padding-top: 43px;
    padding-bottom: 66px;
  }
  .footer-grid {
    gap: 32px 25px;
    padding-bottom: 35px;
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > div:first-child {
    grid-column: 1/-1;
  }
  .footer-grid > div:first-child > p {
    max-width: 340px;
    margin-block: 17px;
    font-size: 14px;
  }
  .footer-grid > div:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }
  .footer-grid > div:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
  }
  .footer-grid .footer-help {
    display: none;
  }
  .footer-grid h3 {
    font-size: 14px;
    margin-bottom: 17px;
  }
  .footer-grid > div:not(:first-child) > a,
  .footer-grid > div > span {
    font-size: 14px;
    margin-block: 11px;
    line-height: 1.9;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding-block: 20px;
  }
  .footer-bottom > div {
    flex-wrap: wrap;
    gap: 15px 25px;
  }
  .footer-bottom a {
    display: block;
    min-height: 25px;
    font-size: 14px;
  }
  .mobile-bottom {
    display: flex;
    position: fixed;
    z-index: 35;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 9px 20px max(9px, env(safe-area-inset-bottom));
    gap: 10px;
  }
  .mobile-bottom > a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    font-size: 14px;
    color: var(--blue);
    border: 1px solid var(--line);
    border-radius: 7px;
  }
  .mobile-bottom > a:last-child {
    background: var(--blue);
    color: white;
    border-color: var(--blue);
    flex: 1.5;
  }
  .mobile-bottom .icon {
    width: 17px;
    height: 17px;
  }
  body:has(.management) .mobile-bottom {
    display: none;
  }
  body:has(
      .public-surface input:focus,
      .public-surface textarea:focus,
      .public-surface select:focus
    )
    .mobile-bottom {
    display: none;
  }
  .page-heading {
    padding-block: 18px 33px;
  }
  .breadcrumb {
    font-size: 14px;
    gap: 7px;
    margin-bottom: 26px;
    line-height: 1.8;
  }
  .page-heading h1 {
    font-size: 30px;
    letter-spacing: -0.6px;
    line-height: 1.5;
  }
  .page-heading p {
    font-size: 14px;
    margin-top: 15px;
    line-height: 2;
  }
  .page-heading-row {
    gap: 20px;
  }
  .page-heading .eyebrow {
    font-size: 14px;
    margin-bottom: 12px;
  }
  .heading-emblem {
    display: none;
  }
  .detail-service-icon {
    width: 64px;
    height: 64px;
    border-radius: 15px;
  }
  .detail-service-icon > .icon {
    width: 33px;
    height: 33px;
  }
  .filter-row {
    gap: 17px;
    margin-bottom: 25px;
  }
  .filter-row > .search-field {
    width: 100%;
    max-width: none;
  }
  .tabs {
    gap: 2px;
    padding: 4px;
    flex-wrap: wrap;
  }
  .tabs > button {
    font-size: 14px;
    padding: 10px 12px;
    min-height: 43px;
  }
  .service-grid + .empty-state {
    font-size: 14px;
  }
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .prose h2 {
    font-size: 26px;
    margin-bottom: 20px;
  }
  .prose p {
    font-size: 14px;
    line-height: 2;
  }
  .prose h3 {
    font-size: 19px;
    margin-top: 25px;
  }
  .check-list li {
    font-size: 14px;
    line-height: 1.9;
    margin-block: 16px;
  }
  .detail-photo {
    height: 270px;
    margin-top: 25px;
  }
  .booking-aside {
    position: static;
    padding: 26px;
  }
  .booking-aside > h3 {
    font-size: 24px;
  }
  .booking-aside > .button {
    font-size: 14px;
    min-height: 50px;
  }
  .booking-aside > p {
    font-size: 14px;
  }
  .aside-phone {
    font-size: 21px;
  }
  .about-intro {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .about-intro > img {
    height: 300px;
  }
  .about-intro h2 {
    font-size: 28px;
  }
  .about-intro p {
    font-size: 14px;
  }
  .timeline {
    margin-top: 30px;
  }
  .timeline > article {
    grid-template-columns: 80px 1fr;
    gap: 20px;
    padding-left: 21px;
    padding-bottom: 32px;
  }
  .timeline-year {
    font-size: 22px;
  }
  .timeline h3 {
    font-size: 15px;
    margin-top: 0;
  }
  .timeline p {
    font-size: 14px;
    line-height: 1.95;
  }
  .founder-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .founder-card {
    padding: 26px;
    gap: 22px;
    flex-direction: row;
  }
  .founder-portrait {
    width: 66px;
    height: 66px;
    flex-shrink: 0;
    font-size: 23px;
  }
  .founder-card h3 {
    font-size: 20px;
    margin-block: 10px 15px;
  }
  .founder-card .eyebrow {
    font-size: 14px;
  }
  .founder-card p {
    font-size: 14px;
  }
  .founder-card .text-link {
    font-size: 14px;
  }
  .team-grid {
    gap: 30px 22px;
  }
  .team-grid h3 {
    font-size: 16px;
    line-height: 1.6;
  }
  .team-grid strong {
    font-size: 14px;
    line-height: 1.9;
  }
  .team-grid p {
    font-size: 14px;
    line-height: 1.95;
    margin-top: 12px;
  }
  .team-number {
    margin-bottom: 13px;
    font-size: 14px;
  }
  .gallery-grid {
    gap: 14px;
    margin-top: 26px;
  }
  .gallery-grid img {
    height: 210px;
  }
  .gallery-grid button > span {
    font-size: 14px;
    padding: 12px;
    line-height: 1.9;
  }
  .gallery-grid button > span > .icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }
  .gallery-grid > button:last-child > img {
    height: 290px;
  }
  .gallery-dialog {
    width: 94vw;
  }
  .doctor-detail {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .doctor-detail-photo {
    height: 400px;
    max-width: 450px;
    width: 100%;
    margin-inline: auto;
  }
  .doctor-detail .prose h2 {
    font-size: 29px;
  }
  .doctor-detail .prose .button {
    font-size: 14px;
    min-height: 51px;
  }
  .schedule-note {
    font-size: 14px;
    align-items: flex-start;
    line-height: 1.9;
  }
  .schedule-note > .icon {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    margin-top: 2px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .contact-cards {
    grid-template-columns: 1fr 1fr;
    gap: 25px 15px;
  }
  .contact-card {
    gap: 10px;
  }
  .contact-card .service-icon {
    width: 35px;
    height: 35px;
    border-radius: 8px;
  }
  .contact-card .icon {
    width: 18px;
    height: 18px;
  }
  .contact-card h3 {
    font-size: 14px;
    margin-bottom: 6px;
  }
  .contact-card a,
  .contact-card > div > span {
    font-size: 14px;
  }
  .contact-layout > div > .button {
    font-size: 14px;
    min-height: 49px;
  }
  .map-frame {
    height: 320px;
    margin-top: 23px;
  }
  .map-frame > div {
    font-size: 14px;
  }
  .form-card {
    padding: 26px 23px;
    border-radius: 12px;
  }
  .form-card h2 {
    font-size: 24px;
  }
  .form-card label {
    font-size: 14px;
  }
  input:not([type='checkbox']),
  select,
  textarea {
    font-size: 16px;
    min-height: 50px;
    padding: 12px 13px;
  }
  label > small {
    font-size: 14px;
  }
  .checkbox {
    font-size: 14px;
  }
  .checkbox > input {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }
  .form-card .button {
    font-size: 14px;
    min-height: 51px;
  }
  .field-row {
    flex-direction: column;
    gap: 0;
  }
  .auth-section {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 40px 55px;
  }
  .auth-story h1 {
    font-size: 31px;
  }
  .auth-story > p {
    font-size: 14px;
    margin-top: 16px;
    max-width: none;
  }
  .auth-illustration {
    display: none;
  }
  .auth-story-foot {
    display: none;
  }
  .auth-story > .eyebrow {
    font-size: 14px;
    margin-bottom: 15px;
  }
  .auth-form {
    max-width: 520px;
    width: 100%;
    margin-inline: auto;
  }
  .auth-form > .button {
    margin-top: 6px;
  }
  .booking-layout {
    gap: 25px;
  }
  .booking-layout > .booking-aside {
    padding: 21px 22px;
    grid-template-columns: 1fr;
  }
  .booking-layout > .booking-aside > .booking-summary-row {
    grid-column: 1;
    grid-row: auto;
    align-self: auto;
    margin-top: 6px;
  }
  .booking-layout > .booking-aside > h3 {
    font-size: 18px;
  }
  .booking-layout > .booking-aside > .info-note {
    font-size: 14px;
    margin-top: 10px;
    line-height: 1.9;
  }
  .booking-layout > .booking-aside > .eyebrow {
    font-size: 14px;
  }
  .booking-steps {
    margin-bottom: 24px;
    justify-content: space-between;
  }
  .booking-steps > li {
    flex: 0 1 auto;
    gap: 7px;
    align-items: center;
  }
  .booking-steps > li > small {
    font-size: 14px;
    white-space: normal;
    max-width: 65px;
    line-height: 1.6;
  }
  .booking-steps > li > span {
    width: 27px;
    height: 27px;
    font-size: 14px;
  }
  .booking-steps > li:after {
    display: none;
  }
  .booking-panel {
    padding: 25px 21px;
    border-radius: 11px;
  }
  .booking-panel > h2 {
    font-size: 22px;
    margin-bottom: 23px;
  }
  .booking-services {
    gap: 10px;
    margin-bottom: 26px;
  }
  .booking-services > button {
    min-height: 105px;
    flex-wrap: wrap;
    align-content: center;
    padding: 15px 13px;
    gap: 11px;
    font-size: 14px;
    position: relative;
    line-height: 1.8;
  }
  .booking-services > button > .icon {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }
  .booking-services > button > span:not(.icon, .radio-mark) {
    flex-basis: 100%;
    padding-right: 4px;
  }
  .booking-services > button > .radio-mark {
    position: absolute;
    right: 12px;
    top: 17px;
  }
  .booking-panel .time-slots {
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
  }
  .booking-panel .time-slots > button {
    min-height: 47px;
    font-size: 14px;
  }
  .booking-panel .button {
    font-size: 14px;
    min-height: 50px;
    padding: 12px 17px;
    gap: 12px;
  }
  .booking-panel .form-actions > .button {
    font-size: 14px;
    gap: 8px;
  }
  .form-actions {
    gap: 11px;
    margin-top: 23px;
  }
  .booking-panel .field-row {
    gap: 0;
  }
  .booking-success {
    padding-block: 55px 70px;
  }
  .booking-success > h1 {
    font-size: 30px;
    line-height: 1.5;
  }
  .booking-success > p {
    font-size: 14px;
  }
  .booking-success .eyebrow {
    font-size: 14px;
  }
  .booking-success .success-summary {
    padding: 23px;
  }
  .booking-success .hero-buttons {
    justify-content: center;
  }
  .booking-success .button {
    font-size: 14px;
  }
  .visits-list > article {
    padding: 22px 19px;
    gap: 15px;
    position: relative;
  }
  .visits-list > article > div {
    flex-basis: calc(100% - 61px);
  }
  .visits-list h3 {
    font-size: 16px;
    line-height: 1.6;
  }
  .visits-list > article > .status {
    margin-left: 61px;
  }
  .visits-list > article > .button {
    margin-left: 61px;
    font-size: 14px;
  }
  .visits-list small {
    font-size: 14px;
  }
  .section-heading > .button {
    font-size: 14px;
  }
  .page-heading-row > .button {
    font-size: 14px;
    min-height: 43px;
    padding: 10px 13px;
    gap: 7px;
    flex-shrink: 0;
  }
  .page-heading-row:has(> .button) {
    align-items: flex-start;
  }
  .page-heading-row:has(> .button) h1 {
    font-size: 24px;
  }
  .privacy-prose {
    padding-block: 40px 55px;
  }
  .privacy-prose p {
    font-size: 14px;
  }
  .management {
    font-size: 14px;
  }
  .manage-header {
    padding: 15px 18px;
    gap: 13px;
    min-height: 81px;
  }
  .manage-header h1 {
    font-size: 20px;
  }
  .manage-breadcrumb {
    font-size: 14px;
    margin-bottom: 4px;
    gap: 5px;
  }
  .manage-header-right {
    gap: 8px;
  }
  .manage-user {
    display: none;
  }
  .manage-header-right > .language {
    margin-right: 2px;
  }
  .manage-header-right .user-avatar {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  .manage-header .menu-toggle {
    width: 37px;
    height: 39px;
  }
  .manage-header .menu-toggle > .icon {
    width: 20px;
    height: 20px;
  }
  .manage-sidebar {
    top: 81px;
    width: 260px;
    max-width: 85vw;
    padding-top: 22px;
  }
  .manage-content {
    padding: 25px 18px 32px;
  }
  .dashboard-intro {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 24px;
  }
  .dashboard-intro h2 {
    font-size: 23px;
  }
  .dashboard-intro .eyebrow {
    font-size: 14px;
  }
  .dashboard-intro > .button {
    min-height: 46px;
    font-size: 14px;
  }
  .stat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 22px;
  }
  .stat-grid > article {
    padding: 19px 17px;
    min-height: 132px;
    border-radius: 10px;
  }
  .stat-grid > article > span {
    font-size: 14px;
    padding-right: 21px;
    line-height: 1.8;
  }
  .stat-grid > article > strong {
    font-size: 29px;
    margin-top: 19px;
  }
  .stat-grid > article > .icon {
    width: 17px;
    height: 17px;
    right: 14px;
    top: 20px;
  }
  .stat-grid > article:last-child > strong {
    font-size: 24px;
  }
  .dashboard-columns {
    gap: 22px;
  }
  .manage-card-heading {
    padding: 20px 18px;
    gap: 17px;
  }
  .manage-card-heading h3 {
    font-size: 14px;
  }
  .manage-card-heading > .text-link {
    font-size: 14px;
  }
  .manage-card table th {
    font-size: 14px;
    padding: 15px 17px;
  }
  .manage-card table td {
    font-size: 14px;
    padding: 16px 17px;
  }
  .manage-card table .patient-name {
    font-size: 14px;
  }
  .manage-card td small {
    font-size: 14px;
  }
  .manage-card .status {
    font-size: 14px;
  }
  .manage-card > .empty-state {
    padding-block: 45px;
  }
  .manage-footer {
    font-size: 14px;
    padding: 17px 18px;
  }
  .manage-toolbar {
    gap: 16px;
  }
  .toolbar-buttons {
    width: 100%;
    gap: 8px;
    justify-content: flex-start;
  }
  .manage-toolbar .button.small {
    font-size: 14px;
    min-height: 45px;
    padding-inline: 11px;
    gap: 7px;
  }
  .manage-toolbar .button.small > .icon {
    width: 15px;
    height: 15px;
  }
  .manage-toolbar .button.small:last-child {
    margin-left: auto;
  }
  .view-toggle button {
    font-size: 14px;
    padding-inline: 14px;
    min-height: 40px;
  }
  .manage-filters {
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
  }
  .manage-filters > .search-field {
    flex-basis: 100%;
    width: 100%;
  }
  .manage-filters .search-field input {
    font-size: 14px;
  }
  .manage-filters > select {
    width: calc(55% - 10px);
    flex: 1;
    font-size: 14px;
    min-height: 47px;
    padding-inline: 10px;
  }
  .manage-filters > input {
    width: calc(45% - 25px);
    flex: 1;
    font-size: 14px;
    min-height: 47px;
    padding-inline: 10px;
  }
  .manage-filters > .icon-button {
    width: 35px;
    min-width: 35px;
  }
  .manage-toolbar > .search-field {
    width: 100%;
  }
  .manage-toolbar > .button {
    font-size: 14px;
    min-height: 46px;
  }
  .pagination {
    padding: 16px;
    font-size: 14px;
  }
  .pagination .icon-button {
    width: 40px;
    height: 40px;
  }
  .calendar-view > article {
    gap: 12px;
    padding: 17px 15px;
  }
  .calendar-time {
    width: 55px;
    padding-top: 15px;
  }
  .calendar-time > strong {
    font-size: 14px;
  }
  .calendar-time > small {
    font-size: 14px;
  }
  .calendar-event {
    padding: 15px;
    gap: 15px;
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .calendar-event > div:first-child {
    flex-basis: 100%;
  }
  .calendar-event strong {
    font-size: 14px;
  }
  .calendar-event p {
    font-size: 14px;
    line-height: 1.9;
  }
  .calendar-event > .status {
    font-size: 14px;
    padding: 5px 7px;
  }
  .calendar-event > .row-actions {
    flex-wrap: wrap;
    margin-left: 0;
  }
  .calendar-event .action-link {
    font-size: 14px;
  }
  .calendar-event .icon-button {
    height: 35px;
    min-width: 30px;
    width: 30px;
  }
  .calendar-event .row-actions {
    gap: 4px;
  }
  .finance-stats {
    grid-template-columns: 1fr 1fr;
  }
  .finance-stats > article > strong {
    font-size: 26px;
  }
  .content-selectors {
    padding: 20px;
    gap: 12px;
    flex-direction: column;
  }
  .content-selectors > select {
    font-size: 14px;
  }
  .content-editor > .tabs {
    margin-inline: 20px;
  }
  .content-editor > form {
    padding: 0 20px 25px;
  }
  .content-editor > .manage-card-heading > h2 {
    font-size: 21px;
  }
  .content-editor > .tabs > button {
    font-size: 14px;
  }
  .content-editor > form textarea {
    font-size: 16px;
  }
  .staff-form {
    padding: 24px 20px;
  }
  .staff-form > .field-row {
    gap: 0;
  }
  .staff-form h2 {
    font-size: 22px;
    line-height: 1.6;
  }
  .schedule-editor {
    padding: 24px 20px;
  }
  .schedule-editor .field-row > label {
    min-width: 0;
    flex: auto;
    width: 100%;
  }
  .weekday-checkboxes {
    gap: 16px 20px;
  }
  .weekday-checkboxes > .checkbox {
    font-size: 14px;
  }
  .message-card {
    padding: 22px 20px;
  }
  .message-card > div {
    gap: 10px 17px;
  }
  .message-card h3 {
    font-size: 15px;
    flex-basis: 100%;
  }
  .message-card a {
    font-size: 14px;
  }
  .message-card p {
    font-size: 14px;
    line-height: 2;
  }
  .message-card small {
    font-size: 14px;
  }
  .manage-dialog {
    padding: 29px 23px;
    width: calc(100% - 24px);
    max-height: calc(100dvh - 30px);
    border-radius: 13px;
  }
  .manage-dialog h2 {
    font-size: 23px !important;
    line-height: 1.5;
  }
  .manage-dialog .dialog-close {
    width: 34px;
    height: 34px;
    right: 10px;
    top: 10px;
  }
  .manage-dialog label {
    font-size: 14px;
  }
  .visit-detail-grid {
    gap: 22px 17px;
    margin-block: 25px;
  }
  .visit-detail-grid strong,
  .visit-detail-grid a {
    font-size: 14px;
  }
  .visit-detail-grid small {
    font-size: 14px;
  }
  .manage-dialog .form-actions > .button {
    font-size: 14px;
    min-height: 46px;
    padding: 10px 14px;
  }
  .manage-dialog .field-row {
    gap: 0;
  }
  .visit-money {
    font-size: 14px;
  }
  .manage-dialog .notice {
    font-size: 14px;
  }
  .manage-dialog .info-note {
    font-size: 14px;
  }
  .not-found h1 {
    font-size: 28px;
  }
  .not-found p {
    font-size: 14px;
  }
  .not-found .button {
    font-size: 14px;
  }
}
@media (max-width: 374px) {
  .container {
    width: calc(100% - 32px);
  }
  .brand-words strong {
    font-size: 14px;
  }
  .brand-words small {
    font-size: 14px;
  }
  .brand-symbol {
    width: 39px;
    height: 39px;
    font-size: 20px;
  }
  .header-actions {
    gap: 8px;
  }
  .header-inner {
    gap: 10px;
  }
  .menu-toggle {
    width: 36px;
    height: 38px;
  }
  .language summary > .icon:first-child {
    display: none;
  }
  .hero h1 {
    font-size: 31px;
  }
  .hero-copy .button {
    font-size: 14px;
    padding-inline: 12px;
    gap: 8px;
  }
  .hero-copy > p {
    font-size: 14px;
  }
  .service-card {
    padding: 17px 14px;
  }
  .service-card h3 {
    font-size: 14px;
  }
  .service-card p {
    font-size: 14px;
  }
  .doctor-grid,
  .doctor-grid.two {
    grid-template-columns: 1fr;
  }
  .doctor-photo {
    height: 320px;
  }
  .doctor-card-body > p {
    min-height: 0;
    font-size: 14px;
  }
  .doctor-card-body > .text-link {
    font-size: 14px;
  }
  .doctor-contact {
    grid-column: auto;
    display: flex;
    align-items: flex-start;
    gap: 17px;
  }
  .doctor-contact > .service-icon {
    margin: 0;
  }
  .contact-cards {
    grid-template-columns: 1fr;
  }
  .founder-card {
    flex-direction: column;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .booking-panel {
    padding-inline: 17px;
  }
  .booking-panel .form-actions > .button {
    padding-inline: 11px;
    font-size: 14px;
  }
  .booking-services {
    gap: 9px;
  }
  .booking-services > button {
    padding-inline: 11px;
  }
  .stat-grid > article > strong {
    font-size: 25px;
  }
  .stat-grid > article:last-child > strong {
    font-size: 21px;
  }
  .manage-header h1 {
    font-size: 18px;
  }
  .manage-breadcrumb {
    font-size: 14px;
  }
}
@media (hover: none) {
  .button,
  .text-link,
  .icon-button,
  summary {
    touch-action: manipulation;
  }
  .service-card:hover {
    transform: none;
  }
  .doctor-photo:hover > img,
  .gallery-grid button:hover img,
  .hero-image-wrap:hover > img {
    transform: none;
  }
  .table-scroll {
    scrollbar-width: thin;
  }
  .row-actions > .icon-button {
    min-height: 44px;
    min-width: 38px;
  }
  .action-link {
    min-height: 44px;
  }
  .language-options a {
    min-height: 46px;
  }
  .header-inner a,
  .header-inner summary {
    touch-action: manipulation;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .spinner {
    animation: none;
  }
}
@media print {
  .topbar,
  .site-header,
  .footer,
  .mobile-bottom,
  .manage-sidebar,
  .manage-header,
  .manage-footer,
  .manage-toolbar,
  .manage-filters,
  .row-actions,
  .pagination,
  .dialog-close {
    display: none !important;
  }
  .management,
  .manage-main,
  .manage-content {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    background: white;
  }
  .manage-card {
    border: 0;
  }
  .table-scroll {
    overflow: visible;
  }
  table {
    white-space: normal;
  }
  th,
  td {
    padding: 10px;
    font-size: 14px;
  }
  body {
    font-size: 14px;
  }
  a {
    color: inherit;
  }
  .container {
    width: 100%;
  }
  .section {
    padding-block: 20px;
  }
  .status {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}
/* A full-width composition keeps the Georgian headline natural on iPad portrait. */
@media (min-width: 768px) and (max-width: 1023px) and (orientation: portrait) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 34px;
    padding-block: 42px 47px;
  }
  .hero-copy {
    padding: 0;
  }
  .hero h1 {
    font-size: 40px;
    max-width: 740px;
    line-height: 1.45;
    margin-bottom: 20px;
  }
  .hero-copy > p {
    max-width: 690px;
    font-size: 14px;
    line-height: 1.95;
  }
  .hero-copy > .eyebrow {
    font-size: 14px;
    margin-bottom: 21px;
  }
  .hero-copy .hero-buttons {
    flex-direction: row;
    align-items: center;
    gap: 13px;
    margin-top: 25px;
  }
  .hero-copy .button {
    width: auto;
    max-width: none;
    min-height: 52px;
    justify-content: center;
    padding: 13px 22px;
    font-size: 14px;
    gap: 22px;
  }
  .hero-note {
    font-size: 14px;
    align-items: center;
    margin-top: 22px;
  }
  .hero-visual {
    margin: 0 0 0 0;
  }
  .hero-image-wrap {
    height: 320px;
    border-radius: 55px 13px 55px 13px;
  }
  .hero-image-wrap > img {
    object-position: 50% 46%;
  }
  .hero-floating {
    left: 23px;
    top: 25px;
    padding: 14px 19px;
  }
  .hero-floating strong {
    font-size: 14px;
  }
  .hero-floating small {
    font-size: 14px;
  }
  .hero-floating .floating-icon {
    width: 40px;
    height: 40px;
  }
  .hero-image-caption {
    left: 27px;
    bottom: 28px;
  }
  .hero-image-caption strong {
    font-size: 14px;
  }
  .hero-image-caption > div > span {
    font-size: 14px;
  }
  .white-cross {
    height: 40px;
    width: 40px;
  }
  .hero-orbit {
    display: none;
  }
}
/* Interaction and typography refinements from the interface review. */
.hero {
  background: #f9fbff;
}
.hero h1,
.hero h1 > span {
  color: var(--blue-dark);
}
.hero-image-wrap {
  isolation: auto;
}
.hero-copy > .eyebrow {
  letter-spacing: 0.015em;
}
.hero-visual {
  margin-right: 0;
}
.hero-image-caption > div > span {
  opacity: 0.9;
}
.password-control {
  position: relative;
  margin-top: 8px;
}
.password-control > input {
  padding-right: 52px !important;
}
.password-control > button {
  position: absolute;
  right: 5px;
  top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #75849e;
}
.password-control > button:hover {
  background: var(--pale);
  color: var(--blue);
}
.password-control > button > .icon {
  width: 19px;
  height: 19px;
}
.loading-ring {
  display: inline-block;
  width: 26px;
  height: 26px;
  border: 2px solid #d8e3f7;
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
dialog {
  overscroll-behavior: contain;
}
.manage-content,
.manage-main {
  min-width: 0;
}
.management td,
.stat-grid strong,
.trust-number {
  font-variant-numeric: tabular-nums;
}
.management td code {
  font-family: inherit;
}
.management .button,
.management input,
.management select,
.management textarea {
  scroll-margin-block: 110px;
}
.mobile-bottom {
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
}
.service-card-top {
  margin-bottom: 22px;
}
.hero-copy > p,
.prose > p {
  max-width: 72ch;
}
.team-grid article {
  padding-top: 21px;
}
.team-grid h3 {
  margin-top: 0;
}
@media (prefers-reduced-motion: reduce) {
  .loading-ring {
    animation: none;
  }
}
.service-card h3,
.doctor-card h3,
.founder-card h3,
.page-heading h1,
.hero h1,
.prose p,
.team-grid p,
.manage-user strong,
.visit-detail-grid strong {
  overflow-wrap: anywhere;
}
.service-card > p {
  font-size: 14px;
}
.doctor-card-body > p {
  font-size: 14px;
}
.manage-breadcrumb,
.sidebar-section-label,
.manage-footer,
.manage-card td > small,
.manage-card thead {
  color: #68748a;
}
.manage-user > strong {
  max-width: 220px;
  overflow-wrap: anywhere;
}
.manage-card td > small {
  font-size: 14px;
}
.manage-card table th {
  font-size: 14px;
}
.gallery-grid > button {
  content-visibility: auto;
  contain-intrinsic-size: auto 320px;
}
@media (max-width: 767px) {
  .service-card > p {
    font-size: 14px;
  }
  .service-card {
    min-height: 290px;
  }
  .doctor-card-body > p {
    font-size: 14px;
  }
  .hero-note {
    font-size: 14px;
    line-height: 1.8;
  }
  .manage-card td > small {
    font-size: 14px;
  }
  .manage-card table th {
    font-size: 14px;
  }
}
.list-scope-note {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 17px;
  color: var(--muted);
}

/* Appointment hours: compact controls stay usable on an iPad and on phones. */
.schedule-rules {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}
.schedule-rules .form-card {
  max-width: none;
}
.doctor-week {
  display: grid;
  gap: 0;
}
.doctor-day {
  display: grid;
  grid-template-columns: minmax(115px, 0.3fr) 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line, #e5eaf0);
  align-items: start;
}
.doctor-day > strong {
  padding-top: 12px;
  font-size: 14px;
}
.period-editor {
  display: grid;
  gap: 8px;
}
.period-row {
  display: grid;
  grid-template-columns: minmax(95px, 1fr) minmax(95px, 1fr) 44px;
  gap: 8px;
  align-items: center;
  max-width: 400px;
}
.period-row label {
  margin: 0;
}
.period-row select {
  min-height: 44px;
}
.period-editor > .text-button {
  justify-self: start;
  min-height: 44px;
}
.schedule-conflicts {
  padding: 20px;
  border: 1px solid #e5be76;
  border-radius: 16px;
  background: #fff9ed;
  color: #73521f;
}
.schedule-conflicts h3 {
  margin-bottom: 8px;
}
.schedule-conflicts ul {
  max-height: 240px;
  overflow: auto;
  padding-left: 20px;
}
.schedule-exception-list {
  display: grid;
  gap: 12px;
}
.schedule-exception-list article {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line, #e5eaf0);
}
.schedule-exception-list article p {
  margin: 5px 0 0;
}
@media (max-width: 600px) {
  .doctor-day {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .schedule-exception-list article {
    flex-direction: column;
    gap: 8px;
  }
  .period-row {
    max-width: none;
  }
}
.schedule-rules .text-button {
  border: 0;
  background: none;
  padding: 8px 4px;
  color: var(--blue, #1d3487);
  font: inherit;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
  min-height: 44px;
}
.schedule-rules .text-button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.schedule-rules .action-row {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.schedule-rules > fieldset {
  display: grid;
  gap: 24px;
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.patient-profile > form {
  margin: 24px 0 32px;
}
.patient-profile fieldset {
  display: grid;
  gap: 16px;
  padding: 0;
  border: 0;
  margin: 0;
  min-width: 0;
}
.patient-history-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin: 24px 0 16px;
}
.patient-history-heading h3 {
  margin: 0;
}
.patient-history-heading small {
  color: var(--muted);
}
.patient-history {
  list-style: none;
  padding: 0;
  margin: 0;
}
.patient-history li + li {
  border-top: 1px solid var(--line);
}
.patient-history li > button {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 20px;
  gap: 16px;
  text-align: left;
  padding: 18px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
}
.patient-history li > button:hover {
  background: var(--pale);
}
.patient-history li > button > div {
  display: grid;
  align-content: start;
  gap: 5px;
}
.patient-history time {
  color: var(--blue);
  font-size: 14px;
}
.patient-history small {
  color: var(--muted);
  font-size: 14px;
}
@media (max-width: 600px) {
  .patient-history-heading {
    align-items: start;
    flex-direction: column;
  }
  .patient-history li > button {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .patient-history li > button > .icon {
    display: none;
  }
  .patient-profile .field-row {
    grid-template-columns: 1fr;
  }
}

/* XXI clinic: photographic direction, clear Georgian type, strong blue sections. */
.public-surface {
  font-size: 17px;
}
.public-surface h1 {
  font-weight: 600;
  letter-spacing: -0.035em;
}
.public-surface h2 {
  font-size: clamp(30px, 3.25vw, 46px);
  line-height: 1.35;
}
.public-surface p {
  line-height: 1.85;
}
.public-surface .button {
  border-radius: 12px;
  min-height: 56px;
  padding: 15px 25px;
  font-size: 16px;
  font-weight: 500;
}
.public-surface .eyebrow {
  font-size: 14px;
  letter-spacing: 0;
}
.public-surface .text-link {
  font-size: 16px;
}
.public-surface .page-heading h1 {
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.3;
  max-width: 960px;
}
.public-surface .page-heading-row > div {
  min-width: 0;
  max-width: 960px;
}
.public-surface .section {
  padding-block: 64px;
}
.public-surface .page-heading p,
.public-surface .section-heading p,
.public-surface .care-copy > p {
  font-size: 18px;
}
.public-surface .prose p,
.public-surface .prose li {
  font-size: 17px;
}
.public-surface .booking-aside p,
.public-surface .booking-aside small,
.public-surface .info-note {
  font-size: 15px;
}
.public-surface input,
.public-surface select,
.public-surface textarea {
  font-size: 17px;
  min-height: 52px;
}
.public-surface label,
.public-surface .field-label {
  font-size: 16px;
}
.public-surface input[type='checkbox'] {
  min-height: 20px;
}
.public-surface .checkbox > span {
  font-size: 15px;
  line-height: 1.7;
}
.site-header .desktop-nav a {
  font-size: 15px;
}
.site-header .button {
  font-size: 15px;
}
.topbar {
  font-size: 14px;
}
.footer p,
.footer-grid > div > a,
.footer-grid > div > span {
  font-size: 15px;
}
.footer h3 {
  font-size: 18px;
}
.footer-bottom {
  font-size: 14px;
}
.hero-confident {
  background: var(--blue);
  color: white;
}
.hero-confident .hero-grid {
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  gap: 56px;
  padding-block: 66px;
  min-height: 690px;
}
.hero-confident .hero-copy {
  padding: 0;
}
.hero-confident h1,
.hero-confident h1 > span {
  color: white;
  font-size: clamp(44px, 4.6vw, 68px);
  line-height: 1.23;
  letter-spacing: -0.04em;
  margin-bottom: 26px;
}
.hero-confident .hero-copy > .eyebrow {
  font-size: 14px;
  color: #e5ebff;
  margin-bottom: 24px;
}
.hero-confident .tiny-cross {
  background: #ffffff1f;
  color: white;
}
.hero-confident .hero-copy > p {
  max-width: 580px;
  color: #e2e9ff;
  font-size: 18px;
  line-height: 1.8;
}
.hero-confident .hero-buttons {
  margin-top: 32px;
}
.hero-confident .button.primary {
  background: white;
  color: var(--blue);
  border-color: white;
  box-shadow: none;
}
.hero-confident .button.primary:hover {
  background: #e9efff;
}
.hero-confident .button.outline {
  background: transparent;
  border-color: #ffffff6b;
  color: white;
}
.hero-confident .button.outline:hover {
  background: #ffffff14;
}
.hero-confident .hero-note {
  font-size: 14px;
  color: #e2e9ff;
  margin-top: 25px;
}
.hero-confident .hero-note > span {
  background: #ffffff20;
  color: white;
}
.hero-confident .hero-image-wrap {
  height: 550px;
  border-radius: 22px;
  isolation: isolate;
}
.hero-confident .hero-image-wrap > img {
  object-position: 51% center;
}
.hero-confident .hero-image-shade {
  background: linear-gradient(0deg, #12255f80, transparent 35%);
}
.photo-disclosure {
  position: absolute;
  bottom: 20px;
  left: 22px;
  color: white;
  font-size: 14px;
  z-index: 1;
  text-shadow: 0 1px 4px #0008;
}
.public-surface .trust-strip {
  background: #f1f5fc;
  color: #172f76;
  border: 0;
  border-bottom: 1px solid #dce5f2;
}
.public-surface .trust-grid {
  padding-block: 28px;
}
.public-surface .trust-grid > div {
  border-color: #cbd7e9;
}
.public-surface .trust-number {
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: #172f76;
}
.public-surface .trust-grid > div > span:last-child,
.public-surface .trust-grid strong,
.public-surface .trust-grid .icon {
  color: #172f76;
  font-size: 14px;
}
.public-surface .trust-grid small {
  color: #596981;
  font-size: 14px;
}
.public-surface .trust-grid strong {
  font-size: 16px;
}
.services-intro {
  background: var(--blue);
  color: white;
}
.services-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: 64px;
  padding-block: 42px 64px;
}
.services-intro .breadcrumbs {
  color: #e2e9ff;
  margin-bottom: 40px;
  font-size: 14px;
}
.services-intro .eyebrow {
  color: #e2e9ff;
  margin-bottom: 17px;
}
.services-intro h1 {
  font-size: clamp(42px, 4.4vw, 64px);
  line-height: 1.25;
  margin-bottom: 24px;
  overflow-wrap: break-word;
}
.services-intro p {
  color: #e2e9ff;
  font-size: 18px;
  max-width: 660px;
  margin-bottom: 28px;
}
.services-intro .button.white {
  color: var(--blue);
}
.services-intro-photo {
  position: relative;
  margin: 22px 0 0;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
}
.services-intro-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.services-intro-photo figcaption {
  position: absolute;
  right: 16px;
  bottom: 15px;
  background: #ffffffed;
  color: var(--blue-dark);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
}
.service-directory {
  scroll-margin-top: 110px;
}
.directory-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 36px;
  margin-bottom: 30px;
}
.directory-heading p {
  font-size: 16px;
  max-width: 410px;
}
.public-surface .filter-row {
  gap: 22px;
  margin-bottom: 16px;
}
.public-surface .tabs {
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  flex-wrap: wrap;
}
.public-surface .tabs button {
  min-height: 48px;
  padding: 12px 18px;
  font-size: 15px;
  border-radius: 8px;
}
.public-surface .search-field {
  min-height: 58px;
  background: white;
}
.public-surface .search-field input {
  font-size: 16px;
}
.directory-count {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 26px;
}
.public-surface .service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}
.public-surface .service-photo-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0;
  background: white;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: none;
}
.public-surface .service-photo-card:hover {
  transform: translateY(-3px);
  border-color: #a4b4d7;
  box-shadow: 0 12px 30px #1d34870a;
}
.service-photo {
  display: block;
  position: relative;
  aspect-ratio: 1.75;
  background: var(--pale);
  overflow: hidden;
}
.service-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.service-photo-card:hover .service-photo > img {
  transform: scale(1.025);
}
.service-category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: absolute;
  left: 20px;
  top: 20px;
  max-width: calc(100% - 40px);
  background: #ffffffed;
  color: var(--blue-dark);
  border-radius: 7px;
  padding: 9px 12px;
  font-size: 14px;
}
.service-category .icon {
  width: 19px;
  height: 19px;
}
.service-card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 27px 30px 22px;
}
.public-surface .service-card h3 {
  font-size: clamp(23px, 2.1vw, 29px);
  margin: 0 0 12px;
  line-height: 1.4;
  letter-spacing: -0.025em;
}
.service-card-content > p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 25px;
}
.service-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 19px;
  margin-top: auto;
}
.service-book-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--blue);
  font-size: 15px;
  min-height: 44px;
  font-weight: 500;
}
.service-book-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.service-book-link > .icon {
  width: 19px;
  height: 19px;
}
.directory-help {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 40px;
  padding: 30px;
  background: #edf2fc;
  border-radius: 16px;
}
.directory-help > div {
  flex: 1;
}
.directory-help h3 {
  font-size: 25px;
  margin-bottom: 8px;
}
.directory-help p {
  font-size: 16px;
}
.directory-help > .button {
  flex-shrink: 0;
}
.illustration-note {
  font-size: 14px;
  margin-top: 22px;
}
.public-surface .care-grid {
  gap: 64px;
  padding-block: 90px;
}
.public-surface .care-image {
  height: 500px;
  border-radius: 18px 110px 18px 18px;
}
.public-surface .care-copy h2 {
  max-width: 580px;
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.35;
}
.care-value-icon {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  height: 44px;
  border: 1px solid #cad8ef;
  border-radius: 50%;
  background: #fff;
}
.public-surface .care-values {
  gap: 18px;
}
.public-surface .care-values > div {
  font-size: 16px;
}
.public-surface .image-label {
  font-size: 14px;
}
.public-surface .doctor-card h3 {
  font-size: 25px;
}
.public-surface .doctor-card-body > p {
  font-size: 16px;
}
.public-surface .doctor-card .text-link {
  font-size: 15px;
}
.public-surface .faq-section summary {
  font-size: 18px;
}
.public-surface .faq-section details p {
  font-size: 16px;
}
.public-surface .cta {
  background-color: #12285d;
  background-image: radial-gradient(ellipse at 100% 0, #3157af, #12285d 75%);
  border-radius: 24px 72px 24px 24px;
  border: 1px solid #ffffff20;
}
.public-surface .cta h2 {
  font-size: clamp(32px, 3.25vw, 44px);
}
.public-surface .cta p {
  font-size: 17px;
}
.public-surface .detail-photo {
  margin: 30px 0 0;
  height: auto;
  border-radius: 14px;
  overflow: hidden;
}
.public-surface .detail-photo img {
  width: 100%;
  aspect-ratio: 1.5;
  object-fit: cover;
}
.public-surface .detail-photo figcaption,
.service-detail-gallery figcaption {
  padding: 9px 13px;
  font-size: 14px;
  color: var(--muted);
  background: var(--surface);
}
.service-detail-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}
.service-detail-gallery figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
}
.service-detail-gallery img {
  width: 100%;
  aspect-ratio: 1.2;
  height: auto;
  object-fit: cover;
}
@media (max-width: 1100px) {
  .hero-confident .hero-grid {
    gap: 34px;
    min-height: 610px;
  }
  .hero-confident h1,
  .hero-confident h1 > span {
    font-size: 48px;
  }
  .hero-confident .hero-image-wrap {
    height: 480px;
  }
  .services-intro-grid {
    gap: 36px;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }
  .services-intro h1 {
    font-size: 48px;
  }
  .directory-heading {
    display: block;
  }
  .directory-heading p {
    margin-top: 16px;
    max-width: none;
  }
  .directory-help {
    flex-wrap: wrap;
  }
}
@media (min-width: 768px) and (max-width: 1023px) and (orientation: portrait) {
  .hero-confident .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-block: 48px;
  }
  .hero-confident h1,
  .hero-confident h1 > span {
    font-size: 58px;
  }
  .hero-confident .hero-copy > p {
    max-width: 650px;
  }
  .hero-confident .hero-image-wrap {
    height: 400px;
  }
  .services-intro-grid {
    grid-template-columns: 1fr;
  }
  .services-intro h1 {
    font-size: 56px;
    max-width: 700px;
  }
  .services-intro-photo {
    height: 300px;
    margin-top: 0;
  }
  .services-intro-photo img {
    object-position: center 60%;
  }
  .public-surface .service-card h3 {
    font-size: 24px;
  }
  .service-card-content {
    padding: 23px 22px;
  }
  .public-surface .care-grid {
    gap: 35px;
  }
  .public-surface .care-image {
    height: 420px;
  }
}
@media (max-width: 767px) {
  .public-surface {
    font-size: 16px;
  }
  .public-surface .section {
    padding-block: 58px;
  }
  .public-surface h2 {
    font-size: 32px;
  }
  .public-surface .page-heading h1 {
    font-size: clamp(30px, 7.8vw, 38px);
  }
  .public-surface .page-heading p,
  .public-surface .section-heading p,
  .public-surface .care-copy > p {
    font-size: 17px;
  }
  .hero-confident .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 38px 32px;
    min-height: 0;
  }
  .hero-confident h1,
  .hero-confident h1 > span {
    font-size: clamp(38px, 10vw, 48px);
    line-height: 1.3;
    letter-spacing: -0.035em;
  }
  .hero-confident .hero-copy > .eyebrow {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .hero-confident .hero-copy > p {
    font-size: 17px;
    line-height: 1.8;
  }
  .hero-confident .hero-buttons {
    gap: 12px;
  }
  .hero-confident .hero-buttons > .button {
    width: 100%;
    min-height: 56px;
  }
  .hero-confident .hero-note {
    font-size: 14px;
    align-items: start;
    line-height: 1.7;
  }
  .hero-confident .hero-image-wrap {
    height: 310px;
    border-radius: 14px;
  }
  .hero-confident .hero-image-wrap > img {
    object-position: 50% center;
  }
  .public-surface .trust-number {
    font-size: 31px;
  }
  .public-surface .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
    padding-block: 25px;
  }
  .public-surface .trust-grid > div {
    padding: 0;
    border: 0;
    gap: 12px;
    align-items: center;
  }
  .public-surface .trust-grid > div > span:last-child {
    font-size: 14px;
  }
  .public-surface .trust-grid strong {
    font-size: 14px;
  }
  .public-surface .trust-grid small {
    font-size: 14px;
    line-height: 1.65;
  }
  .services-intro-grid {
    grid-template-columns: 1fr;
    padding-block: 25px 30px;
    gap: 28px;
  }
  .services-intro .breadcrumbs {
    margin-bottom: 28px;
    font-size: 14px;
  }
  .services-intro h1 {
    font-size: 38px;
  }
  .services-intro p {
    font-size: 17px;
  }
  .services-intro-photo {
    height: 245px;
    margin: 0;
    border-radius: 13px;
  }
  .services-intro-photo img {
    object-position: center;
  }
  .directory-heading {
    margin-bottom: 25px;
  }
  .directory-heading h2 {
    font-size: 30px;
  }
  .public-surface .filter-row {
    align-items: stretch;
    gap: 15px;
  }
  .public-surface .tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
  .public-surface .tabs button {
    font-size: 14px;
    padding: 12px 9px;
  }
  .public-surface .search-field {
    width: 100%;
  }
  .public-surface .service-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .public-surface .service-photo-card {
    border-radius: 14px;
  }
  .service-photo {
    aspect-ratio: 1.5;
  }
  .service-category {
    top: 14px;
    left: 14px;
    padding: 8px 10px;
    font-size: 14px;
  }
  .service-card-content {
    padding: 23px 22px 18px;
  }
  .public-surface .service-card h3 {
    font-size: 25px;
  }
  .service-card-content > p {
    font-size: 16px;
  }
  .service-card-actions {
    gap: 10px;
  }
  .service-card-actions .text-link,
  .service-book-link {
    font-size: 15px;
  }
  .directory-help {
    padding: 24px;
    gap: 17px;
    align-items: start;
  }
  .directory-help > .service-icon {
    display: none;
  }
  .directory-help h3 {
    font-size: 24px;
  }
  .directory-help > .button {
    width: 100%;
  }
  .public-surface .care-grid {
    padding-block: 58px;
    gap: 32px;
  }
  .public-surface .care-image {
    height: 310px;
  }
  .public-surface .doctor-card h3 {
    font-size: 24px;
  }
  .public-surface .doctor-card-body > p {
    font-size: 15px;
  }
  .service-detail-gallery {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .service-detail-gallery img {
    aspect-ratio: 1.6;
  }
  .public-surface .cta p {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .service-photo > img,
  .public-surface .service-photo-card {
    transition: none;
  }
}

/* Booking is a generous guided workspace, with a date grid and a live summary. */
.booking-intro {
  background: #f0f4fc;
  border-bottom: 1px solid var(--line);
}
.booking-intro > .container {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  align-items: center;
  padding-block: 30px 46px;
}
.booking-intro .breadcrumbs {
  margin-bottom: 28px;
  font-size: 14px;
}
.booking-intro h1 {
  font-size: clamp(38px, 4.25vw, 62px);
  line-height: 1.3;
  margin: 10px 0 18px;
}
.booking-intro p {
  font-size: 18px;
  max-width: 690px;
}
.booking-intro-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 9px 15px;
  padding-left: 32px;
  border-left: 1px solid #cad5ed;
  max-width: 340px;
  min-width: 270px;
}
.booking-intro-note > .icon {
  width: 35px;
  height: 35px;
  grid-row: span 2;
  color: var(--blue);
}
.booking-intro-note > span {
  font-size: 16px;
  color: var(--blue);
}
.booking-intro-note > strong {
  font-size: 18px;
  line-height: 1.8;
}
.public-surface .booking-workflow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 336px;
  gap: 30px;
  align-items: start;
  padding-block: 44px 80px;
}
.booking-workflow > div {
  min-width: 0;
}
.booking-workflow .booking-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0 0 24px;
}
.booking-workflow .booking-steps li {
  padding: 0;
  display: block;
  border: 0;
  background: none;
  min-width: 0;
}
.booking-workflow .booking-steps li::after {
  content: none;
}
.booking-steps li > button {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  width: 100%;
  text-align: left;
  padding: 13px;
  border: 1px solid var(--line);
  background: #f5f7fb;
  color: #68748a;
  border-radius: 12px;
}
.booking-steps li > button:disabled {
  opacity: 1;
  color: #68748a;
}
.booking-steps li > button > span {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid #c8d2e7;
  font-size: 17px;
  color: inherit;
  background: transparent;
}
.booking-steps li > button > span .icon {
  width: 19px;
  height: 19px;
}
.booking-steps li > button > strong {
  font-size: 15px;
  line-height: 1.6;
}
.booking-workflow .booking-steps li.current > button {
  color: var(--blue);
  background: #edf2ff;
  border-color: #7b91c5;
}
.booking-workflow .booking-steps li.current > button > span {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
}
.booking-workflow .booking-steps li.done > button {
  color: #2c735e;
  background: #eff7f2;
  border-color: #b9d8c9;
}
.booking-workflow .booking-panel {
  padding: 30px;
  overflow: visible;
  border-radius: 17px;
}
.booking-workflow .booking-panel > h2 {
  font-size: 31px;
  margin-bottom: 26px;
  outline: 0;
  scroll-margin-top: 120px;
}
.booking-workflow .booking-panel > h2:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 6px;
}
.booking-workflow .booking-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.booking-workflow .booking-services > button {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  gap: 0;
  min-height: 0;
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
}
.booking-workflow .booking-services > button:hover {
  border-color: #7b91c5;
}
.booking-workflow .booking-services > button.selected {
  border: 2px solid var(--blue);
  background: #f5f7ff;
  box-shadow: none;
}
.booking-service-image {
  position: relative;
  height: 150px;
  width: 100%;
  overflow: hidden;
}
.booking-service-image > .icon {
  display: none;
}
.booking-service-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.booking-workflow .booking-service-image .radio-mark {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 29px;
  height: 29px;
  margin: 0;
  border: 2px solid #bdc8de;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.booking-workflow .selected .radio-mark {
  color: white;
  border-color: var(--blue);
  background: var(--blue);
}
.booking-workflow .radio-mark > .icon {
  width: 17px;
  height: 17px;
  color: white;
}
.booking-service-content {
  display: grid;
  gap: 9px;
  padding: 17px 18px 20px;
}
.booking-service-content > span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}
.booking-service-content > span > .icon {
  width: 18px;
  height: 18px;
  color: var(--blue);
}
.booking-service-content > strong {
  font-size: 20px;
  line-height: 1.55;
  font-weight: 600;
  color: var(--ink);
  overflow-wrap: break-word;
}
.booking-selection-note {
  display: flex;
  gap: 12px;
  margin: 25px 0;
}
.booking-selection-note > .icon {
  color: var(--blue);
  margin-top: 5px;
}
.booking-selection-note > p {
  font-size: 15px;
}
.booking-first-action {
  justify-content: space-between;
}
.booking-first-action > span {
  font-size: 15px;
  color: var(--muted);
  max-width: 50%;
}
.public-surface .booking-workflow .form-actions {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.booking-step-intro {
  font-size: 17px;
  margin-bottom: 25px;
}
.booking-doctor-select {
  display: block;
  margin-bottom: 28px;
}
.calendar-and-slots {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 22px;
  margin-top: 24px;
}
.calendar-and-slots > div {
  min-width: 0;
}
.appointment-calendar {
  border: 1px solid var(--line);
  background: white;
  border-radius: 13px;
  padding: 10px;
  margin-top: 8px;
}
.calendar-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.calendar-heading > h3 {
  font-size: 18px;
  line-height: 1.5;
}
.calendar-heading > div {
  display: flex;
  gap: 3px;
}
.calendar-heading .icon-button {
  height: 40px;
  width: 36px;
  min-height: 40px;
}
.calendar-date-grid {
  border-collapse: separate;
  border-spacing: 2px 1px;
  width: 100%;
  table-layout: fixed;
}
.calendar-date-grid th {
  padding: 4px 0 8px;
  text-align: center;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}
.calendar-date-grid td {
  padding: 0;
  border: 0;
  text-align: center;
  background: transparent;
}
.calendar-date-grid button {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 7px 0 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--ink);
  background: transparent;
  font-size: 16px;
  font-weight: 500;
}
.calendar-date-grid button:hover:not(:disabled) {
  background: #edf2ff;
  border-color: #b3c2e4;
}
.calendar-date-grid button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}
.calendar-date-grid button.outside {
  color: #7b879c;
}
.calendar-date-grid button:disabled {
  opacity: 1;
  color: #929dad;
  cursor: default;
}
.calendar-date-grid button[aria-current='date'] {
  border-color: #b4c0d9;
}
.calendar-date-grid button.has-availability::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: calc(50% - 2px);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #258468;
}
.calendar-date-grid button.selected,
.calendar-date-grid button.selected:hover:not(:disabled) {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}
.calendar-date-grid button.selected::after {
  background: white;
}
.calendar-legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}
.calendar-legend > span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}
.calendar-legend i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #258468;
}
.public-surface .calendar-native-date {
  display: block;
  font-size: 14px;
  padding-top: 17px;
  margin-top: 17px;
  border-top: 1px solid var(--line);
}
.public-surface .calendar-native-date input {
  min-width: 0;
  width: 100%;
  min-height: 47px;
  font-size: 16px;
}
.calendar-selected {
  font-size: 14px;
  margin-top: 12px;
}
.booking-workflow .slots-area {
  margin: 0;
}
.booking-workflow .slots-area > .field-label {
  display: block;
  margin-bottom: 4px;
}
.slots-selected-date {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 10px;
}
.booking-workflow .time-slots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.booking-workflow .time-slots > button {
  min-height: 52px;
  font-size: 17px;
  padding: 12px 4px;
  border-radius: 8px;
}
.slots-placeholder {
  padding: 30px 20px;
  border: 1px dashed #c9d3e7;
  border-radius: 13px;
  margin-top: 35px;
  background: #f8faff;
}
.slots-placeholder > .icon {
  width: 32px;
  height: 32px;
  color: var(--blue);
  margin-bottom: 20px;
}
.slots-placeholder h3 {
  font-size: 21px;
  margin-bottom: 12px;
}
.slots-placeholder p {
  font-size: 15px;
}
.booking-workflow .booking-visual-summary {
  padding: 0 26px 26px;
  border-radius: 17px;
  overflow: hidden;
  border: 1px solid #cdd8ed;
  background: #f5f8ff;
  top: 120px;
}
.booking-summary-photo {
  position: relative;
  margin: 0 -26px 25px;
  height: 210px;
}
.booking-summary-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.booking-summary-photo > figcaption {
  position: absolute;
  left: 14px;
  bottom: 13px;
  padding: 5px 9px;
  border-radius: 5px;
  background: #fffffff0;
  font-size: 14px;
  color: var(--blue-dark);
}
.booking-visual-summary h3 {
  font-size: 26px;
  line-height: 1.5;
  margin-block: 12px 20px;
}
.booking-visual-summary > .eyebrow {
  font-size: 14px;
}
.booking-visual-summary .booking-summary-row {
  font-size: 16px;
  align-items: start;
}
.booking-summary-row > span > strong {
  display: block;
  margin-top: 7px;
  font-size: 23px;
  color: var(--blue);
}
.booking-visual-summary .aside-phone {
  font-size: 22px;
}
.booking-review {
  background: #edf3ff;
  padding: 23px;
  border: 1px solid #cfdbf3;
  border-radius: 12px;
  margin-bottom: 27px;
}
.booking-review h3 {
  font-size: 25px;
  margin-block: 10px 17px;
}
.booking-review > div {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
}
.booking-review > div > span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  color: var(--blue-dark);
}
.booking-review p {
  font-size: 16px;
  margin-top: 14px;
}
.booking-review small {
  display: block;
  font-size: 14px;
  margin-top: 17px;
  color: var(--muted);
  line-height: 1.8;
}
.booking-success-next {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: 0;
  margin: 32px auto;
  max-width: 880px;
  text-align: left;
}
.booking-success-next li {
  display: flex;
  align-items: start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.8;
}
.booking-success-next li > span {
  flex: 0 0 29px;
  height: 29px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #edf3ff;
  border-radius: 50%;
  color: var(--blue);
}
@media (max-width: 1279px) {
  .public-surface .booking-workflow {
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 24px;
  }
  .booking-workflow .booking-panel {
    padding: 26px;
  }
  .booking-workflow .time-slots {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .booking-workflow .booking-steps {
    gap: 8px;
  }
  .booking-steps li > button {
    padding: 11px 9px;
    gap: 8px;
  }
  .booking-steps li > button > strong {
    font-size: 14px;
  }
  .booking-steps li > button > span {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
  }
  .booking-summary-photo {
    height: 180px;
  }
}
@media (max-width: 1023px) {
  .booking-intro > .container {
    gap: 30px;
  }
  .booking-intro-note {
    display: none;
  }
  .public-surface .booking-workflow {
    grid-template-columns: 1fr;
  }
  .booking-workflow .booking-visual-summary {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
    padding: 28px;
  }
  .booking-summary-photo {
    display: none;
  }
  .booking-visual-summary .aside-divider {
    display: none;
  }
  .booking-visual-summary .info-note {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: start;
    margin: 0;
  }
  .calendar-and-slots {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }
  .booking-workflow .time-slots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .booking-steps li > button {
    padding: 14px;
    gap: 13px;
  }
  .booking-steps li > button > strong {
    font-size: 16px;
  }
}
@media (max-width: 767px) {
  .booking-intro > .container {
    display: block;
    padding-block: 24px 30px;
  }
  .booking-intro .breadcrumbs {
    font-size: 14px;
    margin-bottom: 25px;
  }
  .booking-intro h1 {
    font-size: 38px;
  }
  .booking-intro p {
    font-size: 17px;
  }
  .public-surface .booking-workflow {
    padding-block: 25px 40px;
  }
  .booking-workflow .booking-steps {
    gap: 7px;
    margin-bottom: 18px;
  }
  .booking-steps li > button {
    display: grid;
    align-content: start;
    justify-items: start;
    padding: 12px 9px;
    gap: 9px;
    min-height: 112px;
  }
  .booking-steps li > button > strong {
    font-size: 14px;
    line-height: 1.65;
  }
  .booking-steps li > button > span {
    width: 29px;
    height: 29px;
    font-size: 15px;
  }
  .booking-workflow .booking-panel {
    padding: 22px 18px;
    border-radius: 13px;
  }
  .booking-workflow .booking-panel > h2 {
    font-size: 28px;
    margin-bottom: 22px;
  }
  .booking-workflow .booking-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .booking-service-image {
    height: 100px;
  }
  .booking-service-content {
    padding: 13px 11px 16px;
    gap: 7px;
  }
  .booking-service-content > strong {
    font-size: 17px;
    line-height: 1.65;
  }
  .booking-service-content > span {
    font-size: 14px;
    gap: 5px;
  }
  .booking-service-content > span > .icon {
    display: none;
  }
  .booking-workflow .booking-service-image .radio-mark {
    width: 26px;
    height: 26px;
    top: 8px;
    right: 8px;
  }
  .booking-workflow .form-actions {
    gap: 12px;
    flex-wrap: wrap;
  }
  .booking-first-action > span {
    max-width: none;
    width: 100%;
  }
  .booking-first-action > .button {
    width: 100%;
  }
  .calendar-and-slots {
    grid-template-columns: 1fr;
    gap: 27px;
  }
  .appointment-calendar {
    padding: 16px 12px;
  }
  .calendar-date-grid {
    border-spacing: 1px 5px;
  }
  .calendar-heading > h3 {
    font-size: 18px;
  }
  .booking-workflow .time-slots {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .booking-workflow .booking-visual-summary {
    display: block;
    padding: 25px;
  }
  .booking-visual-summary .info-note {
    margin-block: 22px;
  }
  .booking-review {
    padding: 20px 17px;
  }
  .booking-review h3 {
    font-size: 23px;
  }
  .booking-review > div > span {
    font-size: 16px;
  }
  .booking-success-next {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-block: 28px;
  }
}

/* Professional profiles remain complete without publishing personal portraits. */
.public-surface .doctor-card-editorial {
  border: 1px solid #d4dfed;
  border-top: 5px solid #1553ca;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px #163f7010;
}
.public-surface .doctor-editorial-top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 30px 30px 0;
}
.public-surface .doctor-editorial-top .eyebrow {
  margin: 0;
}
.public-surface .doctor-specialty-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: #edf3ff;
  color: #1553ca;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.public-surface .doctor-specialty-icon .icon {
  width: 28px;
  height: 28px;
}
.public-surface .doctor-card-editorial .doctor-card-body {
  padding: 25px 30px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.public-surface .doctor-card-editorial h3 {
  font-size: clamp(24px, 2.2vw, 31px);
  line-height: 1.4;
  margin-bottom: 12px;
}
.public-surface .doctor-card-editorial .doctor-card-body > p {
  font-size: 17px;
  line-height: 1.75;
}
.public-surface .doctor-card-editorial .doctor-card-bio {
  color: #526477;
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid #e2e9f2;
}
.public-surface .doctor-card-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: auto;
  padding-top: 24px;
}
.public-surface .doctor-card-links .button {
  font-size: 16px;
}
.public-surface .founder-card-editorial {
  grid-template-columns: 1fr;
  padding: 32px;
  border: 1px solid #d4dfed;
  border-top: 5px solid #1553ca;
  border-radius: 16px;
  background: #fff;
}
.public-surface .founder-card-editorial > div {
  padding: 0;
}
.public-surface .founder-card-editorial h3 {
  font-size: 27px;
}
.public-surface .founder-card-editorial p {
  font-size: 17px;
  line-height: 1.85;
}
.public-surface .doctor-detail-editorial {
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: 64px;
}
.public-surface .doctor-appointment-guide {
  background: #0e3d94;
  color: #fff;
  padding: 36px;
  border-radius: 20px;
}
.public-surface .doctor-appointment-guide h2 {
  font-size: 30px;
  line-height: 1.45;
  color: #fff;
  margin: 24px 0 18px;
}
.public-surface .doctor-appointment-guide p {
  font-size: 17px;
  line-height: 1.8;
  color: #e0eaff;
}
.public-surface .doctor-appointment-guide > a {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid #ffffff40;
  padding-top: 22px;
  margin-top: 26px;
}
.public-surface .doctor-appointment-guide > a > span {
  display: grid;
  gap: 6px;
}
.public-surface .doctor-appointment-guide small {
  font-size: 15px;
  color: #d8e5ff;
}
.public-surface .doctor-appointment-guide strong {
  font-size: 22px;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 1023px) {
  .public-surface .doctor-detail-editorial {
    gap: 32px;
    grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1.2fr);
  }
  .public-surface .doctor-card-editorial .doctor-card-body {
    padding: 22px;
  }
  .public-surface .doctor-editorial-top {
    padding: 24px 22px 0;
  }
  .public-surface .doctor-appointment-guide {
    padding: 26px;
  }
}
@media (max-width: 700px) {
  .public-surface .doctor-detail-editorial {
    grid-template-columns: 1fr;
  }
  .public-surface .doctor-detail-editorial .prose {
    grid-row: 1;
  }
  .public-surface .founder-card-editorial {
    padding: 24px;
  }
  .public-surface .doctor-card-links {
    align-items: stretch;
  }
  .public-surface .doctor-card-links .button {
    width: 100%;
  }
}
.public-surface .calendar-no-availability {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #d4dfed;
  border-radius: 10px;
  background: #f3f6fc;
  font-size: 16px;
  line-height: 1.75;
}
@media (max-width: 1200px) {
  .site-header .desktop-nav {
    display: none;
  }
  .site-header .menu-toggle {
    display: inline-flex;
  }
}
@media (max-width: 374px) {
  .site-header .brand-words small {
    display: none;
  }
  .public-surface .clinic-hero .hero-buttons {
    grid-template-columns: minmax(0, 1fr);
  }
  .public-surface .clinic-hero .hero-buttons .button {
    min-height: 50px;
    justify-content: space-between;
    padding-inline: 16px;
  }
  .public-surface .trust-grid > div:nth-child(n + 3) {
    grid-column: 1 / -1;
  }
}
/* Shared account settings for patients and clinic staff. */
.account-security-section {
  margin-top: 42px;
  padding-top: 30px;
  border-top: 1px solid #d7e1ef;
}
.account-security-section > .button {
  gap: 14px;
}
.account-security-section > div {
  margin-top: 24px;
}
.password-change-form {
  background: #fff;
  border: 1px solid #d7e1ef;
  border-radius: 18px;
  padding: 34px;
  max-width: 760px;
}
.password-change-heading {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 30px;
}
.password-change-heading > span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 14px;
  color: #174594;
  background: #edf3ff;
}
.password-change-form .password-change-heading h2 {
  font-size: 28px;
  line-height: 1.4;
  margin: 0 0 12px;
}
.password-change-heading p {
  font-size: 16px;
  line-height: 1.8;
  color: #526477;
  margin: 0;
}
.password-change-form fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 22px;
  min-width: 0;
}
.password-change-form label {
  display: block;
  font-size: 16px;
  line-height: 1.7;
}
.password-change-form input {
  width: 100%;
  min-height: 52px;
  font-size: 16px;
}
.password-change-form small {
  display: block;
  font-size: 14px;
  margin-top: 8px;
  color: #526477;
}
.password-session-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px;
  border-radius: 10px;
  background: #f3f6fc;
  color: #465c77;
}
.password-session-note .icon {
  flex: 0 0 20px;
  margin-top: 3px;
}
.password-session-note p {
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
}
.password-change-form .notice {
  margin: 0;
}
.password-change-form .button {
  min-height: 52px;
  font-size: 16px;
  justify-self: start;
}
@media (max-width: 600px) {
  .password-change-form {
    padding: 24px 20px;
  }
  .password-change-heading {
    gap: 12px;
    flex-wrap: wrap;
  }
  .password-change-form .password-change-heading h2 {
    font-size: 25px;
  }
  .password-change-form .button {
    width: 100%;
  }
}

/* Full photographic opening: one clear blue statement, with a human detail. */
.hero-immersive {
  position: relative;
  isolation: isolate;
  background: #102b70;
  color: #fff;
  padding-bottom: 26px;
}
.hero-scene {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.hero-scene > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}
.hero-scene::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #102b70f7 0%, #102b70ed 32%, #102b70a8 62%, #102b703d 100%);
}
.hero-immersive .hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: center;
  gap: 80px;
  min-height: 650px;
  padding-block: 64px 52px;
}
.hero-immersive .hero-copy {
  padding: 0;
  max-width: 800px;
}
.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: #e2eaff;
  margin-bottom: 26px;
}
.hero-location > span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #b7d2ff;
}
.hero-immersive h1 {
  font-size: clamp(50px, 6vw, 88px);
  line-height: 1.13;
  letter-spacing: -0.045em;
  color: #fff;
  margin: 0 0 28px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.hero-immersive .hero-copy > p:not(.hero-confirmation) {
  color: #e5edff;
  font-size: 19px;
  line-height: 1.85;
  max-width: 630px;
}
.hero-immersive .hero-buttons {
  margin-top: 32px;
  gap: 14px;
}
.hero-immersive .hero-buttons .button {
  min-height: 58px;
  padding: 16px 25px;
  font-size: 16px;
}
.hero-immersive .button.primary {
  background: #fff;
  border-color: #fff;
  color: #173d91;
  box-shadow: none;
}
.hero-immersive .button.primary:hover {
  background: #e9f0ff;
  border-color: #e9f0ff;
}
.hero-immersive .button.outline {
  color: #fff;
  border-color: #ffffff80;
  background: #102b7033;
}
.hero-immersive .button.outline:hover {
  background: #ffffff18;
}
.hero-immersive .hero-copy .hero-confirmation {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.7;
  color: #dce8ff;
  margin-top: 24px;
}
.hero-confirmation .icon {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  margin-top: 3px;
}
.hero-human-note {
  min-width: 0;
  align-self: end;
  margin-bottom: 14px;
}
.hero-human-note figure {
  position: relative;
  overflow: hidden;
  border: 1px solid #ffffff70;
  border-radius: 18px;
  margin: 0;
  background: #fff;
  box-shadow: 0 15px 50px #071c5233;
}
.hero-human-note figure img {
  width: 100%;
  height: 235px;
  object-fit: cover;
  object-position: 45% 37%;
}
.hero-human-note figcaption {
  background: #fff;
  color: #1b3d7b;
  font-size: 17px;
  font-weight: 500;
  padding: 16px 20px;
}
.hero-phone {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 0 0;
  color: #fff;
}
.hero-phone > .icon {
  width: 24px;
  height: 24px;
}
.hero-phone > .icon:last-child {
  width: 21px;
  margin-left: auto;
}
.hero-phone span {
  display: grid;
  gap: 4px;
}
.hero-phone small {
  font-size: 14px;
  color: #e2eaff;
}
.hero-phone strong {
  font-size: 25px;
  line-height: 1.5;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.hero-service-dock {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #fff;
  border-radius: 15px;
  color: #17365f;
  padding: 0;
}
.hero-service-dock > a {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px 30px;
  min-width: 0;
  transition: background 0.15s ease;
}
.hero-service-dock > a:first-child {
  border-radius: 15px 0 0 15px;
}
.hero-service-dock > a:last-child {
  border-radius: 0 15px 15px 0;
}
.hero-service-dock > a + a {
  border-left: 1px solid #dae3ef;
}
.hero-service-dock > a:hover {
  background: #eff4ff;
}
.hero-dock-icon {
  color: #234ca6;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.hero-dock-icon .icon {
  width: 30px;
  height: 30px;
}
.hero-service-dock > a > span:not(.hero-dock-icon) {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.hero-service-dock strong {
  font-size: 21px;
  font-weight: 600;
}
.hero-service-dock small {
  font-size: 14px;
  color: #526477;
  line-height: 1.6;
}
.hero-service-dock > a > .icon {
  margin-left: auto;
  flex-shrink: 0;
  width: 21px;
  height: 21px;
}
.hero-imagery-caption {
  color: #d8e5ff;
  font-size: 14px;
  text-align: right;
  padding-top: 16px;
}

/* Vary the photographic scale instead of repeating seven identical cards. */
.public-surface .service-grid-showcase {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.public-surface .service-grid-showcase .service-photo-card {
  border: 0;
  box-shadow: none;
  border-radius: 15px;
  background: #f3f6fc;
}
.public-surface .service-grid-showcase .service-photo {
  height: 250px;
}
.public-surface .service-grid-showcase .service-card-content {
  padding: 25px;
}
.public-surface .service-grid-showcase h3 {
  font-size: 25px;
  line-height: 1.45;
}
.public-surface .service-grid-showcase .service-card-content > p {
  font-size: 16px;
}
.public-surface .service-grid-showcase .service-photo-card:first-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: #12285d;
  color: #fff;
}
.public-surface .service-grid-showcase .service-photo-card:first-child .service-photo {
  height: 440px;
}
.public-surface .service-grid-showcase .service-photo-card:first-child .service-card-content {
  padding: 42px;
  justify-content: center;
}
.public-surface .service-grid-showcase .service-photo-card:first-child h3 {
  font-size: 38px;
  color: #fff;
}
.public-surface .service-grid-showcase .service-photo-card:first-child p {
  font-size: 18px;
  color: #e0eaff;
}
.public-surface .service-grid-showcase .service-photo-card:first-child .service-card-actions {
  border-color: #ffffff40;
}
.public-surface .service-grid-showcase .service-photo-card:first-child .service-card-actions a {
  color: #fff;
}

/* Two equal professional identities, each with its own real initials. */
.public-surface .doctor-grid.two {
  max-width: none;
  gap: 32px;
}
.public-surface .doctor-card-monogram {
  border: 1px solid #cfdded;
  box-shadow: none;
  border-radius: 18px;
}
.public-surface .doctor-initials-photo {
  width: 96px;
  height: 108px;
  border-radius: 14px;
}
.doctor-identity {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
}
.doctor-identity > div {
  min-width: 0;
}
.public-surface .doctor-card-monogram .doctor-monogram {
  background: #eaf0ff;
  color: #244b9f;
}
.public-surface .doctor-monogram > span {
  font-size: 90px;
  letter-spacing: -0.04em;
}
.public-surface .doctor-identity .doctor-monogram > span {
  font-size: 42px;
}
.doctor-identity .doctor-monogram::before {
  inset: 12px;
}
.doctor-identity .doctor-monogram > .icon {
  width: 80px;
  height: 80px;
  right: -20px;
  bottom: -20px;
}
.public-surface .doctor-card-monogram .doctor-card-body {
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.public-surface .doctor-card-monogram h3 {
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.4;
  text-wrap: pretty;
}
.public-surface .doctor-identity p {
  font-size: 16px;
  line-height: 1.65;
  margin-top: 10px;
}
.public-surface .doctor-card-monogram .doctor-card-links {
  border-top: 1px solid #e2e9f2;
  margin-top: 24px;
  padding-top: 20px;
}
.public-surface .founder-card-editorial .founder-portrait {
  width: 100px;
  height: 100px;
  border-radius: 18px;
}
.public-surface .founder-portrait .doctor-monogram {
  width: 100%;
  min-height: 100%;
}
.public-surface .founder-portrait .doctor-monogram > span {
  font-size: 39px;
  letter-spacing: -0.03em;
}
.public-surface .founder-portrait .doctor-monogram > .icon {
  width: 86px;
  height: 86px;
  bottom: -22px;
  right: -15px;
}
.public-surface .founder-portrait .doctor-monogram::before {
  inset: 12px;
}
.public-surface .doctor-profile-aside {
  display: grid;
  gap: 20px;
  min-width: 0;
}
.public-surface .doctor-profile-aside .doctor-detail-photo {
  height: 260px;
  min-height: 0;
}
.public-surface .doctor-profile-aside .doctor-monogram {
  height: 100%;
}
.public-surface .doctor-contact.specialist-help {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 24px;
  padding: 30px;
  margin-top: 30px;
  border: 0;
  border-radius: 16px;
  background: #123984;
  color: #fff;
}
.public-surface .specialist-help > .service-icon {
  grid-row: 1 / 3;
  background: #ffffff18;
  color: #fff;
  margin: 0;
}
.public-surface .specialist-help h3 {
  font-size: 25px;
  margin: 0;
}
.public-surface .specialist-help p {
  grid-column: 2;
  color: #e0eaff;
  font-size: 16px;
  margin: 0;
}
.public-surface .specialist-help > a {
  grid-column: 3;
  grid-row: 1 / 3;
  color: #fff;
  white-space: nowrap;
}

/* Services open as an interactive photo editorial, with the full directory below. */
.services-explorer {
  background: #f2f6fc;
  padding: 24px 0 40px;
  border-bottom: 1px solid #dbe5f1;
}
.services-explorer .breadcrumbs {
  color: #526477;
  font-size: 14px;
  margin-bottom: 24px;
}
.services-explorer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 40px;
  align-items: start;
}
.services-explorer-grid > * {
  min-width: 0;
}
.services-explorer h1 {
  color: #14377d;
  font-size: clamp(36px, 3.6vw, 52px);
  line-height: 1.2;
  letter-spacing: -0.045em;
  margin-bottom: 24px;
  overflow-wrap: anywhere;
}
.services-explorer-copy > p {
  font-size: 18px;
  color: #526477;
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: 18px;
}
.service-spotlight-choices {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid #ccd9ea;
}
.service-spotlight-choices > button {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  min-height: 48px;
  border: 0;
  border-bottom: 1px solid #ccd9ea;
  border-radius: 0;
  background: transparent;
  color: #385474;
  font-size: 17px;
  line-height: 1.5;
}
.service-spotlight-choices > button > span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.service-spotlight-choices > button:focus-visible {
  outline: 3px solid #1d3487;
  outline-offset: -3px;
}
.service-spotlight-choices > button > .icon {
  flex: 0 0 22px;
}
.service-spotlight-choices > button > .icon:last-child {
  margin-left: auto;
  width: 18px;
  height: 18px;
}
.service-spotlight-choices > button[aria-pressed='true'] {
  color: #fff;
  background: #1d3487;
  font-weight: 600;
}
.service-spotlight-choices > button[aria-pressed='true']:hover {
  background: #12255f;
}
.service-spotlight-choices > button[aria-pressed='true']:focus-visible {
  outline-color: #fff;
}
.service-spotlight-choices > button:hover:not([aria-pressed='true']) {
  background: #e8effb;
}
.services-explorer-copy > .text-link {
  margin-top: 22px;
  display: inline-flex;
}
.service-spotlight-feature {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #dce5f2;
  box-shadow: 0 20px 60px #16396e14;
}
.service-spotlight-feature figure {
  position: relative;
  margin: 0;
  height: 270px;
}
.service-spotlight-feature figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-spotlight-feature > div {
  padding: 24px;
  min-width: 0;
}
.service-spotlight-category {
  color: #526477;
  font-size: 14px;
}
.public-surface .service-spotlight-feature h2 {
  font-size: 28px;
  line-height: 1.4;
  margin: 8px 0 12px;
  overflow-wrap: anywhere;
}
.service-spotlight-feature p {
  font-size: 17px;
  color: #526477;
  line-height: 1.8;
}
.service-spotlight-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 24px;
}
@media (max-width: 1200px) {
  .hero-immersive .hero-stage {
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 44px;
    padding-block: 50px;
  }
  .hero-immersive h1 {
    font-size: 66px;
  }
  .hero-human-note figure img {
    height: 215px;
  }
  .hero-service-dock > a {
    padding: 23px;
    gap: 13px;
  }
  .hero-service-dock strong {
    font-size: 18px;
  }
  .hero-dock-icon .icon {
    width: 25px;
    height: 25px;
  }
  .services-explorer-grid {
    gap: 38px;
  }
}
@media (max-width: 1023px) {
  .hero-immersive .hero-stage {
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 32px;
    min-height: 0;
  }
  .hero-immersive h1 {
    font-size: 57px;
  }
  .hero-immersive .hero-copy > p:not(.hero-confirmation) {
    font-size: 18px;
  }
  .hero-human-note figure img {
    height: 200px;
  }
  .hero-phone strong {
    font-size: 22px;
  }
  .hero-service-dock > a {
    padding: 22px 16px;
  }
  .hero-service-dock small {
    display: none;
  }
  .hero-service-dock > a > .icon {
    display: none;
  }
  .public-surface .service-grid-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .public-surface .service-grid-showcase .service-photo-card:first-child .service-card-content {
    padding: 28px;
  }
  .public-surface .service-grid-showcase .service-photo-card:first-child h3 {
    font-size: 31px;
  }
  .public-surface .service-grid-showcase .service-photo-card:first-child .service-photo {
    height: 430px;
  }
  .services-explorer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .services-explorer h1 {
    font-size: 44px;
    margin-bottom: 14px;
  }
  .services-explorer-copy > p {
    max-width: 720px;
    margin-bottom: 20px;
  }
  .service-spotlight-choices {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 3px;
    scrollbar-width: thin;
    scrollbar-color: #9bafd1 #edf2fa;
    padding: 3px 3px 10px;
    border-top: 0;
  }
  .service-spotlight-choices > button {
    flex: 0 0 clamp(180px, 30vw, 230px);
    min-height: 76px;
    padding: 12px;
    gap: 10px;
    border: 1px solid #c4d2e6;
    border-radius: 8px;
    background: #fff;
    scroll-snap-align: start;
  }
  .service-spotlight-choices > button[aria-pressed='true'] {
    background: #1d3487;
    border-color: #1d3487;
    color: #fff;
  }
  .service-spotlight-choices > button[aria-pressed='true']:hover {
    background: #12255f;
  }
  .service-spotlight-choices > button[aria-pressed='true']:focus-visible {
    outline-color: #fff;
    outline-offset: -5px;
  }
  .service-spotlight-choices > button > .icon:last-child {
    display: none;
  }
  .services-explorer-copy > .text-link {
    margin-top: 12px;
    min-height: 44px;
    align-items: center;
  }
  .service-spotlight-feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  }
  .service-spotlight-feature figure {
    height: 100%;
    min-height: 280px;
    min-width: 0;
    overflow: hidden;
  }
  .service-spotlight-feature > div {
    padding: 24px;
  }
  .public-surface .service-spotlight-feature h2 {
    font-size: 28px;
  }
}
@media (min-width: 768px) and (max-width: 1023px) and (orientation: portrait) {
  .hero-immersive .hero-stage {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-immersive h1 {
    font-size: 70px;
    max-width: 730px;
  }
  .hero-human-note {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    align-items: center;
    gap: 28px;
    margin: 0;
  }
  .hero-human-note figure {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    align-items: center;
  }
  .hero-human-note figure img {
    height: 145px;
  }
  .hero-human-note figcaption {
    padding: 20px;
  }
  .hero-phone {
    padding: 0;
  }
  .hero-phone > .icon:last-child {
    display: none;
  }
}
@media (max-width: 767px) {
  .hero-immersive .hero-stage {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 38px 28px;
  }
  .hero-location {
    font-size: 14px;
    margin-bottom: 21px;
  }
  .hero-immersive h1 {
    font-size: clamp(43px, 11vw, 62px);
    line-height: 1.18;
    margin-bottom: 23px;
  }
  .hero-immersive .hero-copy > p:not(.hero-confirmation) {
    font-size: 17px;
  }
  .hero-immersive .hero-buttons {
    flex-wrap: wrap;
  }
  .hero-immersive .hero-buttons .button {
    flex: 1 1 100%;
  }
  .hero-scene > img {
    object-position: 68% center;
  }
  .hero-scene::after {
    background: linear-gradient(180deg, #102b70f5 0%, #102b70e8 52%, #102b70b3 100%);
  }
  .hero-human-note {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 0;
  }
  .hero-human-note figure img {
    height: 185px;
    object-position: center 36%;
  }
  .hero-human-note figcaption {
    font-size: 16px;
    padding: 13px 18px;
  }
  .hero-phone {
    padding-top: 0;
  }
  .hero-phone strong {
    font-size: 24px;
  }
  .hero-service-dock {
    display: none;
  }
  .hero-imagery-caption {
    padding-top: 0;
    text-align: left;
  }
  .public-surface .service-grid-showcase {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .public-surface .service-grid-showcase .service-photo-card:first-child {
    display: flex;
    grid-column: auto;
  }
  .public-surface .service-grid-showcase .service-photo-card:first-child .service-photo {
    height: 260px;
  }
  .public-surface .service-grid-showcase .service-photo-card:first-child .service-card-content {
    padding: 26px;
  }
  .public-surface .service-grid-showcase .service-photo-card:first-child h3 {
    font-size: 30px;
  }
  .public-surface .doctor-grid.two {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .public-surface .doctor-initials-photo {
    width: 76px;
    height: 88px;
  }
  .doctor-identity {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 16px;
  }
  .public-surface .doctor-card-monogram .doctor-card-body {
    padding: 25px;
  }
  .public-surface .doctor-card-monogram h3 {
    font-size: 23px;
  }
  .public-surface .doctor-contact.specialist-help {
    grid-template-columns: 1fr;
    padding: 26px;
    gap: 18px;
  }
  .public-surface .specialist-help > .service-icon,
  .public-surface .specialist-help p,
  .public-surface .specialist-help > a {
    grid-column: auto;
    grid-row: auto;
  }
  .services-explorer {
    padding-block: 22px 40px;
  }
  .services-explorer .breadcrumbs {
    margin-bottom: 18px;
  }
  .services-explorer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .services-explorer h1 {
    font-size: clamp(32px, 8.5vw, 42px);
  }
  .services-explorer-copy > p {
    font-size: 17px;
  }
  .service-spotlight-choices > button {
    font-size: 16px;
  }
  .service-spotlight-feature {
    grid-template-columns: minmax(0, 1fr);
  }
  .service-spotlight-feature figure {
    height: 210px;
    min-height: 0;
  }
  .service-spotlight-feature > div {
    padding: 22px;
  }
  .public-surface .service-spotlight-feature h2 {
    font-size: 28px;
  }
  .service-spotlight-actions .button {
    width: 100%;
  }
}

/* Review fixes: a desktop first fold and unobstructed clinical photographs. */
.public-surface .service-card-content > .service-category {
  position: static;
  align-self: flex-start;
  max-width: 100%;
  padding: 0;
  margin: 0 0 16px;
  border: 0;
  border-radius: 0;
  background: none;
  color: #526477;
  font-size: 14px;
}
.public-surface .service-grid-showcase .service-photo-card:first-child .service-category {
  color: #e0eaff;
}
.booking-workflow .booking-service-content {
  grid-template-columns: minmax(0, 1fr) 28px;
  align-items: start;
}
.booking-workflow .booking-service-content > span:not(.radio-mark),
.booking-workflow .booking-service-content > strong {
  grid-column: 1;
  min-width: 0;
}
.booking-workflow .booking-service-content > .radio-mark {
  position: static;
  grid-column: 2;
  grid-row: 1 / 3;
  width: 26px;
  height: 26px;
  min-width: 26px;
  border: 2px solid #aabbd6;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0;
}
.booking-workflow .booking-service-content > .radio-mark .icon {
  width: 16px;
  height: 16px;
}
.booking-workflow .selected .booking-service-content > .radio-mark {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.service-spotlight-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 20px;
  flex-wrap: wrap;
  color: #526477;
  font-size: 14px;
  line-height: 1.6;
}
.hero-immersive {
  padding-bottom: 26px;
}
.hero-immersive .hero-stage {
  min-height: 0;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) 300px;
  padding-block: 30px 24px;
}
.hero-immersive h1 {
  font-size: clamp(44px, 4.2vw, 64px);
  line-height: 1.14;
  margin-bottom: 20px;
}
.hero-immersive .hero-location {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 16px;
}
.hero-immersive .hero-copy > p:not(.hero-confirmation) {
  font-size: 18px;
  line-height: 1.65;
  max-width: 650px;
}
.hero-immersive .hero-buttons {
  margin-top: 22px;
}
.hero-immersive .hero-buttons .button {
  min-height: 52px;
  padding: 13px 22px;
}
.hero-immersive .hero-copy .hero-confirmation {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.6;
}
.hero-human-note {
  align-self: center;
  margin: 0;
}
.hero-human-note figure img {
  height: 200px;
}
.hero-human-note figcaption {
  font-size: 16px;
  padding: 14px 18px;
}
.hero-phone {
  padding-top: 18px;
}
.hero-phone strong {
  font-size: 23px;
}
.hero-imagery-caption {
  padding-top: 0;
}
@media (min-width: 1024px) {
  .hero-immersive {
    height: min(610px, calc(100svh - var(--clinic-header-height, 140px)));
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding-bottom: 28px;
  }
  .hero-immersive .hero-stage {
    flex: 1;
    min-height: 0;
    padding-block: 24px 18px;
  }
  .hero-immersive .hero-imagery-caption {
    flex-shrink: 0;
  }
}
@media (min-width: 1024px) and (max-height: 760px) {
  .hero-immersive .hero-stage {
    padding-block: 18px 14px;
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 36px;
  }
  .hero-immersive h1 {
    font-size: clamp(42px, 4vw, 56px);
    margin-bottom: 16px;
  }
  .hero-immersive .hero-location {
    margin-bottom: 12px;
  }
  .hero-immersive .hero-copy > p:not(.hero-confirmation) {
    font-size: 17px;
    line-height: 1.6;
  }
  .hero-immersive .hero-buttons {
    margin-top: 18px;
  }
  .hero-human-note figure img {
    height: 170px;
  }
}
@media (min-width: 768px) and (max-width: 1023px) and (orientation: portrait) {
  .hero-immersive .hero-stage {
    grid-template-columns: 1fr;
  }
  .hero-immersive h1 {
    font-size: 56px;
  }
  .hero-human-note figure img {
    height: 130px;
  }
}
@media (max-width: 767px) {
  .hero-immersive .hero-stage {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-block: 30px 22px;
  }
  .hero-immersive h1 {
    font-size: clamp(40px, 10vw, 52px);
  }
  .hero-immersive .hero-copy > p:not(.hero-confirmation) {
    font-size: 17px;
  }
  .hero-human-note figure img {
    height: 175px;
  }
  .hero-phone strong {
    font-size: 23px;
  }
  .hero-imagery-caption {
    text-align: left;
  }
}

/* Keep image dimensions inside their own track instead of allowing aspect-ratio min-content overflow. */
.public-surface .service-photo-card {
  min-width: 0;
}
.public-surface .service-photo-card > .service-photo {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
.public-surface .service-card-content {
  min-width: 0;
  width: 100%;
  max-width: 100%;
}
.public-surface .service-card-content h3,
.public-surface .service-card-content p {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.public-surface .service-photo > img {
  object-position: 50% 32%;
}
@media (min-width: 768px) {
  .public-surface .service-grid-showcase .service-photo-card:first-child {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: stretch;
  }
  .public-surface .service-grid-showcase .service-photo-card:first-child > .service-photo {
    width: 100%;
    height: 100%;
    min-height: 360px;
    aspect-ratio: auto;
  }
  .public-surface .service-grid-showcase .service-photo-card:first-child .service-card-content {
    padding: clamp(24px, 2.6vw, 36px);
  }
  .public-surface .service-grid-showcase .service-photo-card:first-child h3 {
    font-size: clamp(28px, 2.6vw, 35px);
    line-height: 1.4;
  }
  .public-surface .service-grid-showcase .service-photo-card:first-child p {
    font-size: 17px;
    line-height: 1.75;
  }
}
@media (max-width: 767px) {
  .public-surface .service-grid-showcase .service-photo-card:first-child > .service-photo {
    height: 240px;
    min-height: 0;
    aspect-ratio: auto;
  }
}
.booking-intro > .container {
  display: block;
  padding-block: 24px 30px;
}
.booking-intro > .container > div {
  min-width: 0;
  max-width: 100%;
}
.booking-intro .breadcrumbs {
  margin-bottom: 18px;
}
.booking-intro h1 {
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.3;
  max-width: 100%;
  overflow-wrap: anywhere;
  margin-block: 10px 14px;
}
.booking-intro p {
  font-size: 17px;
  line-height: 1.75;
}
.booking-workflow .booking-panel,
.booking-workflow .booking-visual-summary {
  min-width: 0;
  max-width: 100%;
}
.booking-workflow .booking-panel > h2,
.booking-workflow .booking-visual-summary h3 {
  overflow-wrap: anywhere;
  max-width: 100%;
}
.booking-workflow .booking-services > button,
.booking-workflow .booking-service-content {
  min-width: 0;
  width: 100%;
  max-width: 100%;
}
.booking-workflow .booking-service-content > strong {
  grid-column: 1 / -1;
}
.booking-workflow .booking-service-content > .radio-mark {
  grid-row: 1;
}
.booking-workflow .booking-service-content > .radio-mark .icon {
  color: #fff;
}
.booking-workflow .booking-steps li > button {
  height: 100%;
  min-width: 0;
}
.booking-workflow .booking-steps li > button > strong {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}
.calendar-manual-entry {
  margin-top: 6px;
  padding-top: 0;
  border-top: 1px solid #dce4ef;
}
.calendar-manual-entry > summary {
  color: #31518a;
  font-size: 15px;
  min-height: 44px;
  display: list-item;
  align-content: center;
  cursor: pointer;
  padding-block: 10px;
}
.calendar-manual-entry > input {
  margin-top: 10px;
  width: 100%;
  min-width: 0;
}
@media (min-width: 1024px) and (max-height: 600px) {
  .hero-immersive {
    height: auto;
    min-height: calc(100svh - var(--clinic-header-height, 140px));
  }
}

/* One photographic focal point; the copy and contact strip never cover a face. */
.clinic-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #0d204f;
  background-image: radial-gradient(ellipse at 82% 12%, #254caa 0, #172f76 39%, #0d204f 85%);
  color: #fff;
}
.clinic-hero-orbit {
  position: absolute;
  z-index: -1;
  width: 780px;
  height: 780px;
  left: -430px;
  top: 20%;
  border: 1px solid #b1ccff20;
  border-radius: 50%;
  pointer-events: none;
}
.clinic-hero-orbit::before,
.clinic-hero-orbit::after {
  content: '';
  position: absolute;
  inset: 42px;
  border: 1px solid #b1ccff15;
  border-radius: inherit;
}
.clinic-hero-orbit::after {
  inset: -64px;
}
.clinic-hero-orbit > span {
  position: absolute;
  bottom: 32%;
  right: 60px;
  font:
    160px/1 Georgia,
    serif;
  letter-spacing: -14px;
  color: #c6dcff08;
}
.clinic-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  min-height: 0;
  position: relative;
}
.clinic-hero-copy {
  min-width: 0;
  padding-block: 38px;
  align-self: center;
}
.clinic-hero-location {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d9e8fc;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
}
.clinic-hero-location > span {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #a9dce8;
  box-shadow: 0 0 0 5px #a9dce812;
}
.public-surface .clinic-hero h1 {
  font-size: clamp(48px, 5vw, 74px);
  line-height: 1.15;
  font-weight: 500;
  text-wrap: balance;
  color: white;
  margin: 0 0 22px;
  overflow-wrap: break-word;
}
.clinic-hero h1 > span {
  display: block;
  color: #bcd8ff;
  font-size: 0.84em;
  margin-top: 8px;
}
.public-surface .clinic-hero-copy > p {
  font-size: 18px;
  line-height: 1.7;
  max-width: 590px;
  color: #e6edff;
}
.clinic-hero .hero-buttons {
  gap: 12px;
  margin-block: 24px 18px;
  flex-wrap: wrap;
}
.clinic-hero .hero-buttons .button {
  min-height: 52px;
  padding: 13px 22px;
}
.clinic-hero .button.primary {
  background: white;
  border-color: white;
  color: #1d3487;
}
.clinic-hero .button.primary:hover {
  background: #e8f0ff;
}
.clinic-hero .button.outline {
  box-shadow:
    inset 0 1px 0 #ffffff18,
    0 4px 14px #050d2220;
  background: transparent;
  color: white;
  border-color: #96a9dd;
}
.clinic-hero .button.outline:hover {
  background: #ffffff12;
}
.clinic-hero .button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}
.public-surface .clinic-hero .hero-confirmation {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}
.clinic-hero .hero-confirmation .icon {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 2px;
}
.clinic-hero-image-note {
  display: block;
  color: #c3d2f3;
  font-size: 14px;
  line-height: 1.5;
  margin-top: 16px;
}
.hero-description-short {
  display: none;
}
.clinic-hero-visual {
  min-width: 0;
  display: flex;
  flex-direction: column;
  margin-block: 28px;
  border-radius: 100px 24px 24px 24px;
  overflow: hidden;
  border: 1px solid #ffffff50;
  background: #fff;
  color: #15233e;
  box-shadow: 0 28px 64px #030e352b;
}
.clinic-hero-visual figure {
  position: relative;
  flex: 1;
  min-height: 0;
  margin: 0;
  overflow: hidden;
}
@media (prefers-reduced-motion: no-preference) {
  .clinic-hero-copy,
  .clinic-hero-visual {
    animation: clinic-arrive 650ms cubic-bezier(0.22, 1, 0.36, 1) backwards;
  }
  .clinic-hero-visual {
    animation-delay: 100ms;
  }
  @keyframes clinic-arrive {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
.clinic-hero-visual .hero-phone {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  color: #1d3487;
  background: white;
}
.clinic-hero-visual .hero-phone > .icon:first-child {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  background: currentColor;
  color: #1d3487;
}
.clinic-hero-visual .hero-phone > span {
  display: grid;
  gap: 3px;
}
.clinic-hero-visual .hero-phone small {
  color: #536277;
  font-size: 14px;
}
.clinic-hero-visual .hero-phone strong {
  font-size: 23px;
  font-weight: 600;
}
.clinic-hero-visual .hero-phone > .icon:last-child {
  margin-left: auto;
}
@media (min-width: 1024px) and (min-height: 650px) {
  .clinic-hero-grid {
    height: calc(100svh - var(--clinic-header-height, 98px));
  }
}
@media (min-width: 1024px) and (max-height: 800px) {
  .clinic-hero-copy {
    padding-block: 24px;
  }
  .public-surface .clinic-hero h1 {
    font-size: clamp(44px, 4.7vw, 64px);
    margin-bottom: 16px;
  }
  .public-surface .clinic-hero-copy > p {
    font-size: 17px;
    line-height: 1.6;
  }
  .clinic-hero-location {
    margin-bottom: 14px;
  }
  .clinic-hero .hero-buttons {
    margin-block: 20px 16px;
  }
  .clinic-hero-image-note {
    margin-top: 12px;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .clinic-hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 26px;
  }
  .public-surface .clinic-hero h1 {
    font-size: 42px;
  }
  .clinic-hero-copy {
    padding-block: 30px;
  }
  .public-surface .clinic-hero-copy > p {
    font-size: 17px;
  }
  .clinic-hero .hero-buttons .button {
    flex: 1 1 100%;
  }
  .clinic-hero-visual {
    margin-block: 24px;
  }
  .clinic-hero-visual .hero-phone {
    padding: 16px;
    gap: 10px;
  }
  .clinic-hero-visual .hero-phone strong {
    font-size: 20px;
  }
  .clinic-hero-visual .hero-phone > .icon:last-child {
    display: none;
  }
}
@media (max-width: 767px) {
  .clinic-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding-bottom: 22px;
  }
  .clinic-hero-copy {
    padding-block: 28px 20px;
  }
  .public-surface .clinic-hero h1 {
    font-size: clamp(36px, 9.4vw, 52px);
    margin-bottom: 16px;
  }
  .clinic-hero-location {
    margin-bottom: 14px;
  }
  .public-surface .clinic-hero-copy > p {
    font-size: 16px;
    line-height: 1.65;
  }
  .hero-description-full,
  .public-surface .clinic-hero .hero-confirmation,
  .clinic-hero-visual .hero-phone {
    display: none;
  }
  .hero-description-short {
    display: inline;
  }
  .clinic-hero .hero-buttons {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    gap: 10px;
    margin-block: 20px 4px;
  }
  .clinic-hero .hero-buttons .button {
    width: 100%;
    min-width: 0;
    padding: 12px 10px;
    min-height: 56px;
    gap: 7px;
    font-size: 14px;
    line-height: 1.45;
  }
  .clinic-hero-image-note {
    margin-top: 10px;
  }
  .clinic-hero-visual {
    margin: 0;
    border-radius: 64px 14px 14px 14px;
  }
  .clinic-hero-visual figure {
    flex: none;
    height: 280px;
  }
  .clinic-hero .hero-buttons .icon {
    width: 17px;
    height: 17px;
  }
  .clinic-hero-visual .hero-phone {
    padding: 12px 16px;
  }
  .clinic-hero-visual .hero-phone strong {
    font-size: 21px;
  }
}

/* Booking is a focused task, with compact choices and reachable actions. */
.booking-intro > .container {
  padding-block: 20px;
}
.booking-intro .breadcrumbs,
.booking-intro .eyebrow {
  display: none;
}
.booking-intro h1 {
  margin-block: 0 8px;
  font-size: clamp(28px, 3vw, 40px);
}
.booking-intro p {
  line-height: 1.6;
}
.public-surface .booking-workflow {
  padding-block: 24px 48px;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
}
.booking-flow-main {
  /* The document already reserves the sticky header with scroll-padding-top. */
  scroll-margin-top: 12px;
}
.booking-workflow .booking-steps {
  gap: 8px;
  margin-bottom: 14px;
}
.booking-workflow .booking-steps li > button {
  min-height: 54px;
  padding: 9px 12px;
  gap: 9px;
}
.booking-workflow .booking-steps li > button > span {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
  font-size: 15px;
}
.booking-workflow .booking-panel {
  padding: 20px;
}
.booking-workflow .booking-panel > h2 {
  font-size: 25px;
  margin-bottom: 10px;
}
.booking-workflow .booking-services {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.booking-workflow .booking-services > button {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: stretch;
  min-height: 84px;
  border: 2px solid #dce4ef;
  border-radius: 9px;
}
.booking-workflow .booking-services > button.selected {
  border-color: var(--blue);
}
.booking-workflow .booking-service-image {
  width: 64px;
  height: 100%;
  min-height: 80px;
}
.booking-workflow .booking-service-image img {
  object-position: 50% 30%;
}
.booking-workflow .booking-service-content {
  padding: 12px;
  gap: 5px 8px;
  align-content: center;
}
.booking-workflow .booking-service-content > span:not(.radio-mark) {
  display: none;
}
.booking-workflow .booking-service-content > strong {
  grid-column: 1;
  grid-row: 1;
  font-size: 16px;
  line-height: 1.5;
  align-self: center;
}
.booking-workflow .booking-service-content > .radio-mark {
  width: 22px;
  height: 22px;
  min-width: 22px;
  align-self: center;
  justify-self: end;
}
.booking-workflow .booking-service-content > .radio-mark .icon {
  display: inline-block;
  color: #fff;
  width: 14px;
  height: 14px;
}
.booking-workflow .illustration-note {
  font-size: 14px;
  margin-block: 10px 0;
}
.public-surface .booking-workflow .booking-selection-note {
  display: block;
  font-size: 14px;
  line-height: 1.6;
  margin: 10px 0 0;
}
.public-surface .booking-workflow .form-actions {
  position: sticky;
  bottom: 0;
  z-index: 2;
  background: #fff;
  margin: 18px -4px -4px;
  padding: 14px 4px 4px;
  gap: 10px;
  flex-wrap: nowrap;
  box-shadow: 0 -10px 20px #ffffffeb;
}
.booking-workflow .form-actions .button {
  min-height: 50px;
  padding: 12px 20px;
}
.booking-workflow .booking-first-action > span {
  min-width: 0;
  max-width: 55%;
  width: auto;
  font-size: 14px;
}
.booking-workflow .booking-first-action > .button {
  width: auto;
  flex-shrink: 0;
}
.booking-workflow .booking-visual-summary {
  padding: 0 20px 20px;
  position: sticky;
  top: 112px;
}
.booking-summary-photo {
  margin: 0 -20px 18px;
  height: 155px;
}
.booking-summary-photo > figcaption {
  position: static;
  padding: 7px 20px;
  font-size: 14px;
  background: transparent;
}
.booking-summary-photo {
  height: auto;
  align-self: stretch;
}
.booking-summary-photo > img {
  height: 155px;
}
.booking-workflow .booking-visual-summary h3 {
  font-size: 21px;
  margin-block: 8px 12px;
}
.booking-workflow .booking-visual-summary .info-note {
  margin-block: 16px;
  font-size: 14px;
}
.booking-workflow .booking-visual-summary .aside-divider {
  margin-block: 16px;
}
.booking-step-intro {
  font-size: 15px;
  margin-bottom: 10px;
}
.booking-doctor-select {
  margin-bottom: 16px;
}
.calendar-and-slots {
  grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
  align-items: start;
  margin-top: 10px;
  gap: 24px;
}
.booking-workflow .time-slots {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-height: 320px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 3px;
  gap: 8px;
}
.booking-workflow .time-slots > button {
  min-height: 44px;
  padding-block: 8px;
  font-size: 16px;
}
.booking-review {
  padding: 16px 18px;
  margin-bottom: 18px;
}
.booking-review > .eyebrow {
  display: none;
}
.booking-review h3 {
  font-size: 22px;
  margin-bottom: 8px;
}
.booking-review p {
  margin-block: 6px;
}
.booking-optional-note {
  margin-block: 14px;
}
.booking-optional-note > summary {
  cursor: pointer;
  min-height: 44px;
  align-content: center;
  font-size: 16px;
  color: #31518a;
}
.booking-optional-note > summary > span {
  font-size: 14px;
  color: #526477;
}
.booking-optional-note > label {
  margin-top: 10px;
}
.booking-contact-form {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 0 28px;
  align-items: start;
}
.booking-contact-form > .form-actions,
.booking-contact-form > .notice {
  grid-column: 1 / -1;
}
.booking-contact-fields {
  min-width: 0;
}
.booking-contact-fields label {
  margin-bottom: 12px;
}
.booking-contact-fields label > small {
  display: inline;
}
.booking-workflow[data-step='3'] {
  grid-template-columns: minmax(0, 1fr);
}
.booking-workflow[data-step='3'] > .booking-visual-summary {
  display: none;
}
@media (min-width: 1380px) {
  .booking-workflow .booking-services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1279px) {
  .public-surface .booking-workflow {
    grid-template-columns: minmax(0, 1fr);
  }
  .booking-workflow .booking-visual-summary {
    display: none;
  }
  .booking-workflow .booking-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .calendar-and-slots {
    grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
  }
}
@media (max-width: 767px) {
  .booking-contact-form {
    grid-template-columns: minmax(0, 1fr);
  }
  .booking-intro > .container {
    padding-block: 18px;
  }
  .booking-intro h1 {
    font-size: 28px;
  }
  .booking-intro p {
    font-size: 15px;
  }
  .public-surface .booking-workflow {
    padding-block: 16px 32px;
    gap: 0;
  }
  .booking-flow-main {
    scroll-margin-top: 12px;
  }
  .booking-workflow .booking-steps li > button {
    padding: 7px 4px;
    gap: 5px;
    flex-direction: column;
    align-items: center;
    border: 0;
    border-bottom: 2px solid #dce4ef;
    border-radius: 0;
    background: transparent;
    min-height: 62px;
  }
  .booking-workflow .booking-steps li > button > strong {
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
  }
  .booking-workflow .booking-steps li.current > button {
    background: transparent;
    border-bottom-color: var(--blue);
  }
  .booking-workflow .booking-steps li.done > button {
    background: transparent;
  }
  .booking-workflow .booking-panel {
    padding: 18px 14px;
  }
  .booking-workflow .booking-panel > h2 {
    font-size: 23px;
    margin-bottom: 16px;
  }
  .booking-workflow .booking-services {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
  }
  .booking-workflow .booking-services > button {
    grid-template-columns: 38px minmax(0, 1fr);
    min-height: 56px;
    border-width: 1px;
    border-radius: 12px;
  }
  .booking-workflow .booking-service-image {
    display: grid;
    place-items: center;
    width: 38px;
    min-height: 54px;
    height: 100%;
    background: #f1f5fc;
    color: #31518a;
  }
  .booking-workflow .booking-service-image img {
    display: none;
  }
  .booking-workflow .booking-service-image > .icon {
    display: inline-block;
    width: 20px;
    height: 20px;
  }
  .booking-workflow .booking-service-content {
    padding: 10px;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) 20px;
  }
  .booking-workflow .booking-service-content > strong {
    font-size: 15px;
    overflow-wrap: normal;
  }
  .booking-workflow .booking-service-content > .radio-mark {
    width: 20px;
    height: 20px;
    min-width: 20px;
  }
  .calendar-and-slots {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .appointment-calendar {
    margin-top: 8px;
    padding: 12px 8px;
  }
  .calendar-date-grid {
    border-spacing: 1px 2px;
  }
  .calendar-heading {
    margin-bottom: 10px;
  }
  .calendar-manual-entry {
    margin-top: 8px;
    padding-top: 4px;
  }
  .booking-workflow .time-slots {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-height: 210px;
  }
  .slots-placeholder {
    margin-top: 0;
    padding: 14px;
  }
  .slots-placeholder > .icon,
  .slots-placeholder h3 {
    display: none;
  }
  .slots-placeholder p {
    margin: 0;
  }
  .booking-workflow .form-actions .button {
    padding-inline: 14px;
    font-size: 15px;
  }
}

/* Registration fits the task instead of stacking five full-width fields. */
.public-surface .auth-compact {
  max-width: 1200px;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  padding-block: 32px 48px;
  gap: 52px;
  align-items: center;
}
.auth-compact .auth-story,
.auth-compact .auth-form {
  min-width: 0;
}
.auth-compact .auth-story h1 {
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.35;
}
.auth-compact .auth-story > p {
  font-size: 17px;
  line-height: 1.7;
  margin-top: 16px;
}
.auth-compact .auth-illustration {
  height: 155px;
  margin-block: 20px;
}
.auth-compact .auth-circle {
  width: 150px;
  height: 150px;
}
.auth-compact .auth-illustration > .icon {
  width: 60px;
  height: 60px;
}
.auth-compact .auth-guest-link {
  display: inline-flex;
  margin-top: 24px;
  font-size: 15px;
  line-height: 1.65;
}
.auth-compact .auth-form {
  padding: 28px;
  width: 100%;
  max-width: none;
}
.auth-register .auth-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.auth-register .auth-form > * {
  grid-column: 1 / -1;
  min-width: 0;
}
.auth-register .auth-form > label:has(input[name='name']),
.auth-register .auth-form > label:has(input[name='phone']),
.auth-register .auth-form > label:has(input[name='password']),
.auth-register .auth-form > label:has(input[name='confirmPassword']) {
  grid-column: auto;
}
.auth-register .auth-form > label {
  margin: 0;
}
.auth-compact .form-mini-icon {
  display: none;
}
.auth-compact .auth-form h2 {
  font-size: 26px;
  margin: 0 0 4px;
}
.auth-compact .auth-switch {
  margin: 0 !important;
  padding-top: 16px;
}
.auth-compact .auth-form input {
  min-height: 50px;
}
.auth-compact .auth-form label > small {
  font-size: 14px;
  line-height: 1.5;
}
@media (max-width: 1023px) {
  .public-surface .auth-compact {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    max-width: 720px;
    padding-block: 24px 40px;
  }
  .auth-compact .auth-illustration,
  .auth-compact .auth-story-foot,
  .auth-compact .auth-story > .eyebrow {
    display: none;
  }
  .auth-compact .auth-story > p {
    max-width: none;
    font-size: 16px;
    margin-top: 10px;
  }
  .auth-compact .auth-guest-link {
    margin-top: 12px;
  }
}
@media (max-width: 600px) {
  .auth-compact .auth-form {
    padding: 20px 16px;
  }
  .auth-register .auth-form {
    gap: 14px;
  }
  .auth-register .auth-form > label:has(input[name='name']),
  .auth-register .auth-form > label:has(input[name='phone']),
  .auth-register .auth-form > label:has(input[name='password']),
  .auth-register .auth-form > label:has(input[name='confirmPassword']) {
    grid-column: 1 / -1;
  }
  .auth-compact .auth-form h2 {
    font-size: 23px;
  }
  .auth-compact .auth-story h1 {
    font-size: 28px;
  }
}
@media (min-width: 768px) and (max-width: 1023px) and (orientation: portrait) {
  .clinic-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding-bottom: 24px;
  }
  .clinic-hero-copy {
    padding-block: 30px 24px;
  }
  .public-surface .clinic-hero h1 {
    font-size: 52px;
  }
  .clinic-hero .hero-buttons .button {
    flex: 0 1 auto;
  }
  .clinic-hero-visual {
    margin: 0;
  }
  .clinic-hero-visual figure {
    flex: none;
    height: 240px;
  }
}

/* Error recovery keeps the current task and remains readable on a small screen. */
.public-surface .auth-retry h1 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.35;
  max-width: 850px;
  margin-bottom: 24px;
  overflow-wrap: anywhere;
}
.session-error {
  padding-top: 16px;
}
.availability-retry .button {
  width: 100%;
}
.mobile-nav[hidden] {
  display: none;
}

/* Account actions stay together, while long translated visit names can wrap. */
.account-visits-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.account-recovery {
  margin-block: 12px 24px;
}
.booking-success {
  scroll-margin-top: 12px;
}
.booking-success h1:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 8px;
}
.public-surface .visits-list h3 {
  font-size: 20px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.public-surface .visits-list time {
  font-size: 16px;
  line-height: 1.6;
}
.public-surface :is(input, select, textarea, .booking-optional-note summary) {
  scroll-margin-block: 120px;
}
@media (max-width: 600px) {
  .account-visits-heading {
    align-items: stretch;
  }
  .account-visits-actions {
    width: 100%;
  }
  .account-visits-actions .button {
    flex: 1 1 auto;
    padding-inline: 16px;
  }
}

/* An editorial service index: one focused photograph and expandable care paths. */
.home-services-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
}
.home-service-portrait {
  margin: 0;
  min-width: 0;
  position: sticky;
  top: 126px;
  border-radius: 18px 90px 18px 18px;
  overflow: hidden;
  background: #12285d;
  color: #fff;
}
.home-service-image {
  height: clamp(380px, 34vw, 480px);
  overflow: hidden;
}
.home-service-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
}
.home-service-portrait figcaption {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 22px 26px;
  font-size: 16px;
}
.home-service-symbol {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border: 1px solid #ffffff50;
  border-radius: 50%;
}
.home-service-counter {
  margin-left: auto;
  white-space: nowrap;
  font-size: 24px;
  font-variant-numeric: tabular-nums;
}
.home-service-counter small {
  font-size: 14px;
  color: #c2d2f0;
}
.home-service-list {
  min-width: 0;
  border-top: 1px solid #d0daea;
}
.home-service-row {
  border-bottom: 1px solid #d0daea;
}
.public-surface .home-service-row h3 {
  margin: 0;
  font-size: inherit;
}
.home-service-row h3 button {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 76px;
  padding: 18px 4px;
  text-align: left;
  border: 0;
  background: transparent;
  color: #526078;
  font: inherit;
  font-size: clamp(19px, 1.85vw, 25px);
  line-height: 1.45;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition: color 180ms ease;
}
.home-service-number {
  color: #8794aa;
  font-size: 13px;
  width: 20px;
  flex-shrink: 0;
}
.home-service-row h3 button > span:nth-child(2) {
  min-width: 0;
  overflow-wrap: anywhere;
}
.home-service-row h3 button > .icon {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-left: auto;
  transition: transform 300ms ease;
}
.home-service-row[data-open='true'] h3 button,
.home-service-row h3 button:hover {
  color: #172f76;
}
.home-service-row[data-open='true'] h3 button {
  font-weight: 600;
}
.home-service-row[data-open='true'] h3 button > .icon {
  transform: rotate(45deg);
}
.home-service-disclosure {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  opacity: 0;
  transition:
    grid-template-rows 360ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 200ms ease,
    visibility 360ms;
}
.home-service-disclosure > div {
  min-height: 0;
  overflow: hidden;
  padding-left: 40px;
}
.home-service-row[data-open='true'] .home-service-disclosure {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
}
.public-surface .home-service-disclosure p {
  color: #596981;
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
}
.home-service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  padding: 20px 0 26px;
}
.home-service-actions .text-link {
  min-height: 44px;
}
@media (max-width: 1023px) {
  .home-services-editorial {
    gap: 26px;
  }
  .home-service-portrait {
    top: 110px;
  }
  .home-service-image {
    height: 410px;
  }
  .home-service-portrait figcaption {
    padding: 18px;
    gap: 10px;
    font-size: 14px;
  }
  .home-service-row h3 button {
    min-height: 68px;
    gap: 10px;
    font-size: 20px;
  }
  .home-service-disclosure > div {
    padding-left: 34px;
  }
}
@media (max-width: 767px) {
  .home-services-editorial {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .home-service-portrait {
    position: relative;
    top: auto;
    border-radius: 14px 60px 14px 14px;
  }
  .home-service-image {
    height: 235px;
  }
  .home-service-portrait figcaption {
    padding: 14px 18px;
  }
  .home-service-row h3 button {
    font-size: 20px;
  }
  .home-service-disclosure > div {
    padding-left: 0;
  }
}
/* Short, user-triggered motion; native scrolling and immediate input stay intact. */
@media (prefers-reduced-motion: no-preference) {
  .home-service-image img {
    animation: service-image-arrive 420ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  @keyframes service-image-arrive {
    from {
      opacity: 0.4;
      transform: scale(1.035);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }
  .reveal {
    transition: opacity 360ms ease;
  }
  .reveal[data-reveal='waiting'] {
    opacity: 0;
  }
  .reveal[data-reveal='visible'] {
    opacity: 1;
    transform: none;
  }
  .mobile-nav:not([hidden]) {
    transform-origin: top center;
    animation: navigation-open 260ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  @keyframes navigation-open {
    from {
      opacity: 0;
      transform: translateY(-8px) scale(0.985);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
  .language[open] .language-options,
  .faq-list details[open] > p {
    animation: navigation-open 220ms ease-out;
  }
  .service-spotlight-feature figure img {
    animation: service-image-arrive 400ms ease-out;
  }
  @media (hover: hover) and (pointer: fine) {
    .public-surface .button:hover:not(:disabled) {
      transform: translateY(-2px);
    }
  }
  .public-surface .button:active:not(:disabled) {
    transform: translateY(1px) scale(0.98);
    box-shadow:
      inset 0 2px 4px #081b4520,
      0 1px 3px #09193615;
    transition:
      transform 100ms ease-out,
      box-shadow 100ms ease-out;
  }
  .public-surface .text-link .icon {
    transition: transform 200ms ease;
  }
  .public-surface .text-link:hover .icon {
    transform: translate(2px, -2px);
  }
}
@media print {
  .reveal[data-reveal] {
    opacity: 1;
    transform: none;
  }
  .home-service-disclosure {
    grid-template-rows: 1fr;
    visibility: visible;
    opacity: 1;
  }
}

.doctor-grid > .reveal {
  height: 100%;
  min-width: 0;
}
.doctor-grid > .reveal > .doctor-card {
  height: 100%;
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .public-surface .doctor-card-monogram {
    transition:
      box-shadow 240ms ease,
      border-color 240ms ease,
      transform 240ms ease;
  }
  .public-surface .doctor-card-monogram:hover {
    transform: translateY(-3px);
    border-color: #9db4de;
    box-shadow: 0 12px 30px #10285d10;
  }
}

/* Original clinic artwork on a quiet, dimensional brand surface. */
.clinic-identity {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  height: 100%;
  min-height: 0;
  padding: 40px 32px;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(ellipse at 30% 20%, #fff 0%, #eef3fc 58%, #dce6f7 100%);
}
.clinic-identity-building {
  background-image:
    linear-gradient(140deg, #eaf1f9d9, #dce8f3c7 55%, #aac2e8db), url('/assets/clinic/exterior.jpg');
  background-size: cover;
  background-position: center;
}
.clinic-identity::before,
.clinic-identity::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: 110%;
  aspect-ratio: 1;
  border: 1px solid #bacbe453;
  border-radius: 50%;
  pointer-events: none;
}
.clinic-identity::after {
  width: 140%;
}
.clinic-identity-disc {
  width: min(82%, 370px);
  aspect-ratio: 1;
  /* Keep the frame circular instead of shrinking around a square image. */
  flex: 0 0 auto;
  min-height: 0;
  border-radius: 50%;
  background: #fff;
  padding: 10px;
  border: 1px solid #fff;
  box-shadow:
    0 26px 42px -20px #183b775c,
    0 8px 18px #34538514,
    inset 0 -4px 8px #c9d6e833;
}
.clinic-identity-disc img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 50%;
}
.clinic-identity-caption {
  color: #41587c;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}
.about-intro > .clinic-identity {
  min-height: 420px;
  border-radius: 24px 80px 24px 24px;
}
@media (max-width: 1023px) {
  .clinic-identity {
    padding: 24px;
    gap: 18px;
  }
  .clinic-identity-disc {
    width: min(80%, 300px);
  }
}
@media (min-width: 768px) and (max-width: 1023px) and (orientation: portrait) {
  .clinic-hero-visual figure {
    height: 340px;
  }
  .clinic-hero-visual .clinic-identity-disc {
    width: 240px;
  }
}
@media (max-width: 767px) {
  .clinic-hero-visual .clinic-identity {
    padding: 20px;
    gap: 14px;
  }
  .clinic-hero-visual .clinic-identity-disc {
    width: min(100%, 200px);
    padding: 6px;
  }
  .clinic-identity-caption {
    font-size: 13px;
  }
  .about-intro > .clinic-identity {
    min-height: 300px;
  }
}

/* Informational edition: preserve the original clinic visual system. */
.image-disclosure {
  display: block;
  font-size: 12px;
  line-height: 1.6;
  color: #53627b;
  margin-bottom: 10px;
}
.home-service-portrait .image-disclosure {
  margin: 4px 0 0;
  color: #eff4ff;
}
.service-spotlight-feature figure {
  margin: 0;
}
.service-spotlight-feature figure .image-disclosure {
  padding: 10px 22px;
  margin: 0;
  background: #f0f4fb;
}
.public-surface .service-grid-showcase .service-photo-card:first-child .image-disclosure {
  color: #dce7fb;
}
.public-surface .doctor-card-bio {
  margin: 22px 0;
  font-size: 16px;
  line-height: 1.8;
  color: #526079;
}
.public-surface .doctor-card-links {
  margin-top: auto;
}
.public-surface .doctor-card-links .button {
  min-height: 46px;
}
.archive-photo {
  margin: 0;
  border-radius: 24px 80px 24px 24px;
  overflow: hidden;
  background: #eef3fb;
}
.archive-photo img {
  display: block;
  width: 100%;
  height: 380px;
  object-fit: cover;
}
.archive-photo figcaption {
  padding: 14px 18px;
  font-size: 12px;
  color: #53617a;
}
.care-image {
  position: relative;
}
.photo-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 12px 18px;
  color: #fff;
  background: #10234bdd;
  font-size: 12px;
}
.hero-directions {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e0eaff;
  font-size: 14px;
  margin-top: 22px;
  width: fit-content;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.informational-hero .clinic-hero-grid {
  height: auto;
  min-height: 0;
  padding-block: 30px;
}
.info-contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.info-contact-details {
  display: grid;
  gap: 30px;
}
.contact-feature {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 30px;
  border-bottom: 1px solid #dce3ef;
}
.contact-feature > .icon {
  width: 26px;
  height: 26px;
  margin-top: 5px;
  flex: none;
}
.contact-feature > div {
  min-width: 0;
}
.contact-feature h2 {
  font-size: 19px;
  line-height: 1.5;
  margin: 0 0 12px;
}
.contact-feature a {
  color: #1d3487;
  font-size: 20px;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.contact-feature .contact-phone {
  font-size: clamp(23px, 2.1vw, 31px);
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: -0.025em;
}
.contact-feature p {
  font-size: 16px;
  line-height: 1.8;
  margin: 14px 0 0;
}
.location-card {
  border: 1px solid #dce3ef;
  border-radius: 20px;
  overflow: hidden;
}
.location-card figure {
  margin: 0;
  background: #f3f6fb;
}
.location-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}
.location-card figcaption {
  padding: 12px 24px;
  font-size: 12px;
  color: #53617a;
}
.location-card > div {
  padding: 28px;
}
.location-card h2 {
  font-size: 26px;
  line-height: 1.5;
  margin: 14px 0 24px;
}
.location-card p {
  font-size: 13px;
  margin-top: 16px;
}

.public-surface :is(a, button, input, summary):focus-visible,
.site-header :is(a, button, summary):focus-visible {
  outline: 3px solid #5278bc;
  outline-offset: 4px;
}
.public-surface .clinic-hero :is(a, button):focus-visible {
  outline-color: white;
}
.footer a,
.footer span {
  overflow-wrap: anywhere;
}
@media (max-width: 767px) {
  .informational-hero .clinic-hero-grid {
    padding-block: 0 24px;
  }
  .hero-directions {
    margin: 0 0 22px;
    font-size: 14px;
  }
  .public-surface .doctor-identity {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px;
  }
  .public-surface .doctor-initials-photo {
    width: 64px;
    height: 74px;
  }
  .public-surface .doctor-identity .doctor-monogram > span {
    font-size: 28px;
  }
  .public-surface .doctor-card-links {
    flex-wrap: wrap;
    gap: 16px;
  }
  .public-surface .service-spotlight-choices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    gap: 8px;
  }
  .public-surface .service-spotlight-choices button {
    min-width: 0;
    width: 100%;
    font-size: 13px;
    line-height: 1.55;
    padding: 12px;
  }
  .public-surface .service-spotlight-choices button > .icon:last-child {
    display: none;
  }
  .info-contact {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }
  .contact-feature {
    gap: 14px;
  }
  .contact-feature a {
    font-size: 18px;
  }
  .contact-feature .contact-phone {
    font-size: 24px;
  }
  .location-card img,
  .archive-photo img {
    height: 240px;
  }
  .location-card > div {
    padding: 22px;
  }
  .location-card h2 {
    font-size: 23px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Keep the original hero typography and blue background, with the selected photographic panel. */
.informational-hero .clinic-hero-grid {
  align-items: center;
  gap: 64px;
  padding-block: 44px 54px;
}
.info-hero-visual {
  position: relative;
  min-width: 0;
  padding: 14px 0 32px 22px;
}
.hero-linework {
  position: absolute;
  inset: -24px -40px -30px 40px;
  border: 1px solid #7694ce45;
  border-radius: 180px 28px 180px 28px;
  pointer-events: none;
}
.hero-linework > span:first-child {
  position: absolute;
  inset: 16px;
  border: 1px solid #7694ce30;
  border-radius: inherit;
}
.info-hero-photo {
  position: relative;
  margin: 0;
  border-radius: 90px 18px 18px 18px;
  overflow: hidden;
  background: #10265a;
}
.info-hero-photo > img {
  display: block;
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: 56% 66%;
}
.info-hero-photo figcaption {
  color: #d6e2f6;
  font-size: 11px;
  line-height: 1.6;
  padding: 12px 18px 12px 34px;
}
.hero-photo-label {
  position: relative;
  margin: -3px 26px -26px -22px;
  padding: 19px 22px;
  background: #fff;
  color: #1d3487;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 12px 32px #06194424;
}
.hero-photo-mark {
  font:
    34px/1 Georgia,
    serif;
  border-right: 1px solid #d6dfed;
  padding-right: 16px;
}
.hero-photo-label > span:nth-child(2) {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.hero-photo-label strong {
  font-size: 17px;
}
.hero-photo-label small {
  font-size: 12px;
  color: #566581;
}
.hero-photo-label > .icon {
  margin-left: auto;
  flex: none;
}
@media (max-width: 1100px) {
  .informational-hero .clinic-hero-grid {
    gap: 30px;
  }
  .info-hero-photo > img {
    height: 380px;
  }
  .hero-photo-label {
    padding: 16px;
    gap: 10px;
    margin-right: 0;
  }
  .hero-photo-label small {
    font-size: 11px;
  }
}
@media (max-width: 767px) {
  .informational-hero .clinic-hero-grid {
    padding-block: 0 34px;
    gap: 0;
  }
  .info-hero-visual {
    padding: 0 0 20px 12px;
  }
  .info-hero-photo {
    border-radius: 54px 14px 14px 14px;
  }
  .info-hero-photo > img {
    height: 240px;
  }
  .hero-linework {
    inset: -10px -12px 8px 30px;
    border-radius: 74px 18px;
  }
  .hero-photo-label {
    margin: -1px 12px -20px -12px;
    padding: 14px;
  }
  .hero-photo-label strong {
    font-size: 15px;
  }
  .hero-photo-mark {
    font-size: 28px;
    padding-right: 12px;
  }
  .info-hero-photo figcaption {
    padding: 10px 12px;
    font-size: 10px;
  }
}
/* A native, reversible scroll sequence. Compact screens keep the normal accordion. */
@media (min-width: 1100px) and (min-height: 800px) and (prefers-reduced-motion: no-preference) {
  .home-services-scroll[data-scroll='true'] {
    height: calc(var(--services-height) + var(--services-distance));
  }
  .home-services-scroll[data-scroll='true'] .home-services-editorial {
    position: sticky;
    top: var(--services-top);
  }
  .home-services-scroll .home-services-editorial {
    min-height: 620px;
  }
  .home-services-scroll .home-service-portrait {
    position: relative;
    top: auto;
  }
  .home-services-scroll .home-service-image {
    height: 400px;
  }
  .home-services-scroll .home-service-row h3 button {
    min-height: 58px;
    padding-block: 13px;
    font-size: 21px;
  }
  .home-services-scroll .home-service-actions {
    padding: 10px 0 16px;
  }
  .home-services-scroll .home-service-disclosure {
    transition:
      grid-template-rows 220ms ease,
      opacity 160ms ease,
      visibility 220ms;
  }
}
.service-scroll-detail[hidden],
.service-scroll-nav[hidden],
.home-service-list[hidden] {
  display: none;
}
@media (min-width: 1100px) and (min-height: 800px) and (prefers-reduced-motion: no-preference) {
  .home-services-scroll[data-scroll='true'] .home-services-editorial {
    height: 620px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) 86px;
    gap: 24px 48px;
    align-items: stretch;
  }
  .home-services-scroll[data-scroll='true'] .home-service-portrait {
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  .home-services-scroll[data-scroll='true'] .home-service-image {
    height: auto;
    flex: 1;
    min-height: 0;
  }
  .home-services-scroll[data-scroll='true'] .home-service-portrait figcaption {
    flex: none;
    padding: 18px 24px;
  }
  .service-scroll-detail {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 12px 8px 6px 0;
    min-width: 0;
  }
  .service-scroll-copy {
    animation: service-copy-open 220ms ease-out both;
  }
  .public-surface .service-scroll-copy h3 {
    font-size: clamp(28px, 2.7vw, 39px);
    line-height: 1.35;
    text-wrap: balance;
    letter-spacing: -0.025em;
    margin: 16px 0 20px;
    color: #172b58;
  }
  .public-surface .service-scroll-copy > p {
    font-size: 18px;
    line-height: 1.8;
    color: #53647b;
    margin: 0;
  }
  .service-scroll-copy ul {
    list-style: none;
    padding: 0;
    margin: 22px 0 28px;
    display: grid;
    gap: 10px;
  }
  .service-scroll-copy li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    line-height: 1.65;
    color: #334e73;
  }
  .service-scroll-copy li .icon {
    flex: none;
    width: 18px;
    height: 18px;
    margin-top: 3px;
  }
  .service-scroll-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
  }
  .service-scroll-actions .button {
    min-height: 48px;
  }
  .service-scroll-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #69778d;
    margin-top: auto;
    padding-top: 18px;
  }
  .service-scroll-hint .icon {
    width: 15px;
    height: 15px;
  }
  .service-scroll-nav {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 14px;
  }
  .service-scroll-nav button {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 8px;
    border: 0;
    border-top: 2px solid #dce4f0;
    padding: 12px 4px;
    background: transparent;
    color: #64728b;
    cursor: pointer;
    font: inherit;
    transition:
      color 160ms,
      border-color 160ms;
  }
  .service-scroll-nav button > span {
    font-size: 12px;
    font-variant-numeric: tabular-nums;
  }
  .service-scroll-nav strong {
    font-size: 13px;
    line-height: 1.55;
    font-weight: 500;
  }
  .service-scroll-nav button[aria-pressed='true'] {
    border-color: #25469d;
    color: #193b8c;
  }
  .service-scroll-nav button[aria-pressed='true'] strong {
    font-weight: 700;
  }
  @keyframes service-copy-open {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}
.public-surface .informational-hero h1 {
  font-size: clamp(42px, 4.1vw, 64px);
}
@media (max-width: 767px) {
  .public-surface .informational-hero h1 {
    font-size: clamp(32px, 8.5vw, 42px);
  }
}
.brand-artwork {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: contain;
  flex: none;
}
@media (max-width: 767px) {
  .brand-artwork {
    width: 44px;
    height: 44px;
  }
}
/* Home: a quick, unpinned overview; the detailed scroll journey lives on Services. */
.home-services-overview .services-explorer-grid {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: start;
}
.home-services-overview .service-spotlight-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 24px;
  grid-auto-rows: 1fr;
  border-top: 0;
  overflow: visible;
}
.home-services-overview .service-spotlight-choices button:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}
.home-services-overview .service-spotlight-choices button,
.home-services-overview .service-spotlight-choices button[aria-pressed='true'] {
  font-weight: 500;
}
.spotlight-stable-text {
  display: grid;
}
.spotlight-stable-text > span {
  grid-area: 1 / 1;
}
.home-services-overview .service-spotlight-choices button {
  display: flex;
  align-items: center;
  padding: 18px 14px;
  min-height: 84px;
  gap: 10px;
  border: 1px solid #d7e2f2;
  background: #f5f8fd;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.55;
  color: #415575;
}
.home-services-overview .service-spotlight-choices button > .icon:first-child {
  width: 23px;
  height: 23px;
  flex: none;
}
.home-services-overview .service-spotlight-choices button > .icon:last-child {
  display: none;
}
.home-services-overview .service-spotlight-choices button[aria-pressed='true'] {
  color: #fff;
  background: #1e3c83;
  border-color: #1e3c83;
}
.home-services-overview .service-spotlight-feature {
  display: block;
  border-radius: 18px 60px 18px 18px;
}
.home-services-overview .service-spotlight-feature figure {
  height: auto;
  min-height: 0;
}
.home-services-overview .service-spotlight-feature figure > img {
  height: 260px;
  width: 100%;
  object-fit: cover;
}
.home-services-overview .service-spotlight-feature > div {
  padding: 26px 30px;
}
.public-surface .home-services-overview h3 {
  font-size: 28px;
  line-height: 1.4;
  margin: 14px 0;
}
.home-services-overview .service-spotlight-feature p {
  font-size: 16px;
  line-height: 1.8;
}
.home-services-overview .service-spotlight-actions {
  margin-top: 20px;
}
.spotlight-step {
  margin-left: auto;
  color: #5d6e8a;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 1023px) {
  .home-services-overview .services-explorer-grid {
    gap: 28px;
  }
}
@media (max-width: 767px) {
  .home-services-overview .services-explorer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .home-services-overview .service-spotlight-choices button {
    min-height: 70px;
    padding: 12px;
    font-size: 13px;
  }
  .home-services-overview .service-spotlight-choices {
    margin-bottom: 18px;
  }
  .home-services-overview .service-spotlight-feature figure > img {
    height: 220px;
  }
  .home-services-overview .service-spotlight-feature > div {
    padding: 22px;
  }
  .public-surface .home-services-overview h3 {
    font-size: 23px;
  }
}
.public-surface .doctor-card-monogram .doctor-card-links {
  margin-top: auto;
}
@media (max-width: 767px) {
  .public-surface .page-heading-row {
    display: block;
  }
  .public-surface .page-heading-row > .heading-emblem,
  .public-surface .page-heading-row > .detail-service-icon {
    display: none;
  }
}
@media (max-width: 767px) {
  .home-services-overview .service-spotlight-choices button {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 7px;
  }
  .home-services-overview .service-spotlight-choices button > span:not(.icon) {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
}

/* History follows native page scroll, without pinning or hiding any content. */
.history-timeline > article::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #25469d;
  transform: scaleX(var(--step-progress, 0));
  transform-origin: left center;
  pointer-events: none;
}
.history-timeline .timeline-year {
  display: inline-block;
  justify-self: start;
  white-space: nowrap;
  transform-origin: left center;
  font-variant-numeric: tabular-nums;
}
.history-timeline[data-motion='true'] .timeline-year {
  color: #62718a;
  transition:
    color 200ms,
    transform 240ms;
}
.history-timeline[data-motion='true'] > article::before {
  background: #9baac3;
  transition:
    background-color 200ms,
    box-shadow 240ms;
  z-index: 1;
}
.history-timeline[data-motion='true'] > article[data-reached='true']::before {
  background: #25469d;
}
.history-timeline[data-motion='true'] > article[data-reached='true'] .timeline-year {
  color: #244790;
}
.history-timeline[data-motion='true'] > article[data-current='true'] .timeline-year {
  color: #142e70;
  transform: translateY(-3px) scale(1.08);
}
.history-timeline[data-motion='true'] > article[data-current='true']::before {
  box-shadow: 0 0 0 6px #25469d18;
}
@media (min-width: 1024px) {
  .public-surface .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1023px) {
  .history-timeline > article::after {
    top: 12px;
    left: -1px;
    width: 2px;
    height: 100%;
    transform: scaleY(var(--step-progress, 0));
    transform-origin: center top;
  }
  .history-timeline > article:last-child::after {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .history-timeline .timeline-year,
  .history-timeline > article::before,
  .history-timeline > article::after {
    transition: none !important;
    transform: none !important;
  }
  .history-timeline > article::after {
    display: none;
  }
}

/* A slow breath in the decorative outlines; the photograph and label stay still. */
@media (prefers-reduced-motion: no-preference) {
  .hero-linework {
    animation: hero-outline-breathe 7s ease-in-out infinite;
    animation-play-state: paused;
  }
  .informational-hero[data-hero-visible='true'] .hero-linework {
    animation-play-state: running;
  }
  .info-hero-visual:focus-within .hero-linework {
    animation-play-state: paused;
  }
  @keyframes hero-outline-breathe {
    0%,
    100% {
      opacity: 0.55;
      transform: scale(1);
    }
    50% {
      opacity: 1;
      transform: scale(1.012);
    }
  }
}

/* Mobile founder cards: compact identity, with biography spanning the whole card. */
@media (max-width: 767px) {
  .public-surface .founder-card {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 8px 16px;
    padding: 20px;
    border-top-width: 3px;
    align-items: start;
  }
  .public-surface .founder-card > div:not(.founder-portrait) {
    display: contents;
  }
  .public-surface .founder-card .founder-portrait {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 64px;
    height: 64px;
    border-radius: 14px;
  }
  .public-surface .founder-portrait .doctor-monogram > span {
    font-size: 27px;
  }
  .public-surface .founder-portrait .doctor-monogram > .icon {
    width: 56px;
    height: 56px;
  }
  .public-surface .founder-card .eyebrow {
    grid-column: 2;
    grid-row: 1;
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
  }
  .public-surface .founder-card h3 {
    grid-column: 2;
    grid-row: 2;
    font-size: 22px;
    line-height: 1.35;
    margin: 0;
  }
  .public-surface .founder-card p {
    grid-column: 1 / -1;
    font-size: 16px;
    line-height: 1.75;
    margin: 12px 0 6px;
  }
  .public-surface .founder-card .text-link {
    grid-column: 1 / -1;
    justify-self: start;
    min-height: 44px;
    font-size: 15px;
    line-height: 1.5;
    gap: 12px;
  }
  .public-surface .team-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .public-surface .team-grid h3 {
    font-size: 19px;
  }
}

/* Narrow screens keep readable columns and a balanced four-photo archive. */
@media (max-width: 767px) {
  .public-surface .timeline > article {
    grid-template-columns: 80px minmax(0, 1fr);
  }
  .public-surface .timeline > article > div {
    min-width: 0;
  }
  .public-surface .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .public-surface .gallery-grid > button {
    grid-column: auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .public-surface .gallery-grid > button > img {
    display: block;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }
  .public-surface .gallery-grid button > span {
    display: block;
    padding: 12px;
    font-size: 12px;
    line-height: 1.6;
  }
  .public-surface .gallery-grid button > span > .icon {
    display: none;
  }
  .public-surface .menu-toggle {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }
  .public-surface .language summary {
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
  }
}
@media (max-width: 767px) {
  .public-surface .section-heading > div {
    min-width: 0;
    max-width: 100%;
  }
  .public-surface .section-heading h2 {
    overflow-wrap: anywhere;
  }
  .site-header .menu-toggle {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }
  .site-header .language summary {
    min-width: 44px;
    min-height: 44px;
  }
}
@media (max-width: 700px) {
  .public-surface .history-timeline > article {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding-left: 24px;
  }
  .public-surface .history-timeline h3 {
    margin-bottom: 10px;
  }
  .public-surface .history-timeline p {
    line-height: 1.8;
  }
  .public-surface .doctor-profile-aside {
    position: relative;
    display: block;
  }
  .public-surface .doctor-profile-aside .doctor-detail-photo {
    position: absolute;
    left: 20px;
    top: 20px;
    width: 72px;
    height: 72px;
    border-radius: 14px;
  }
  .public-surface .doctor-profile-aside .doctor-monogram > span {
    font-size: 30px;
  }
  .public-surface .doctor-profile-aside .doctor-monogram > .icon {
    width: 64px;
    height: 64px;
  }
  .public-surface .doctor-appointment-guide {
    padding: 20px;
  }
  .public-surface .doctor-appointment-guide > .doctor-specialty-icon {
    display: none;
  }
  .public-surface .doctor-appointment-guide h2 {
    padding-left: 88px;
    min-height: 72px;
    display: flex;
    align-items: center;
    font-size: 19px;
    line-height: 1.45;
    margin: 0 0 20px;
  }
  .public-surface .doctor-appointment-guide p {
    font-size: 16px;
  }
  .public-surface .doctor-appointment-guide strong {
    font-size: 20px;
  }
}
@media (max-width: 374px) {
  .home-services-overview .service-spotlight-choices {
    grid-template-columns: minmax(0, 1fr);
  }
  .home-services-overview .service-spotlight-choices button {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    min-height: 58px;
    gap: 12px;
  }
  .home-services-overview .service-spotlight-choices button > span:not(.icon) {
    min-width: 0;
  }
}

/* ── Readability and finish pass ────────────────────────────────────────────
   Secondary text was 14px #68748a; patients (many of them older) read most of
   it. Interactions answer the visitor's action only; nothing new moves on its own. */
.informational-surface,
.footer {
  --muted: #56637a;
}
.public-surface .faq-list summary {
  font-size: 16px;
  font-weight: 600;
  transition: color 0.2s;
}
.public-surface .faq-list summary:hover {
  color: var(--blue);
}
.public-surface .faq-list details > p,
.public-surface .booking-aside > p,
.public-surface .team-grid p,
.public-surface .doctor-card-bio,
.public-surface .about-intro p,
.public-surface .history-timeline p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}
.public-surface .faq-list details > p {
  max-width: 62ch;
}
.public-surface .section-heading p,
.public-surface .page-heading p {
  max-width: 62ch;
}
.public-surface .faq-layout > div:first-child > .text-link {
  margin-top: 22px;
}

/* Smooth FAQ disclosure where the browser can animate to height:auto. */
.faq-list details {
  interpolate-size: allow-keywords;
}
.faq-list details::details-content {
  block-size: 0;
  overflow: hidden;
  transition:
    block-size 0.28s ease,
    content-visibility 0.28s allow-discrete;
}
.faq-list details[open]::details-content {
  block-size: auto;
}

/* Vector emblem. */
.brand-mark {
  display: block;
  flex: none;
}

/* Desktop shows the number to dial; touch screens keep the short label. */
.call-number {
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  .call-label {
    display: none;
  }
  .call-number {
    display: inline;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.01em;
  }
}

/* Footer: real headings, comfortable targets, no glyph collisions. */
.footer-grid h2 {
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink);
  margin: 0 0 14px;
}
.footer-help h2 {
  margin-bottom: 10px;
}
.footer-grid > div:not(:first-child) > a,
.footer-grid > div > span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  margin-block: 2px;
  font-size: 15px;
  line-height: 1.5;
  transition: color 0.2s;
}
.footer-grid .footer-help > a.text-link {
  display: inline-flex;
}
.footer-bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
}
@media (max-width: 1024px) {
  .footer-grid > div:not(:first-child) > a,
  .footer-bottom a {
    min-height: 44px;
  }
}

/* Long Georgian words on 320px screens. */
@media (max-width: 400px) {
  .public-surface :is(h1, h2) {
    overflow-wrap: break-word;
  }
}

/* Services page: one overview, one note, one call to action. */
.service-journey-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 28px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}
.service-journey-note > .icon {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--blue);
}

/* Specialist / direction cross-links on service and doctor pages. */
.detail-specialists {
  margin: 34px 0;
}
.public-surface .detail-specialists h3 {
  font-size: 18px;
  line-height: 1.5;
  margin: 0 0 14px;
}
.public-surface .specialist-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid #dce4f0;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.specialist-link + .specialist-link {
  margin-top: 10px;
}
.specialist-initials {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #eef3fd;
  color: var(--blue);
  font-size: 18px;
  font-weight: 600;
}
.specialist-initials > .icon {
  width: 22px;
  height: 22px;
}
.specialist-link > span:nth-child(2) {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.specialist-link strong {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
}
.specialist-link small {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
.specialist-link > .icon:last-child {
  flex: none;
  margin-left: auto;
  color: var(--blue);
  transition: transform 0.2s;
}
.public-surface .specialist-link:hover {
  border-color: #b7c7e5;
  box-shadow: 0 10px 28px #1d348712;
}
.specialist-link:hover > .icon:last-child {
  transform: translateX(3px);
}
.public-surface .booking-aside > .aside-address {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--blue);
  text-decoration: underline;
  text-decoration-color: #1d348740;
  text-underline-offset: 5px;
}

/* Archive gallery: four photographs, four equal frames, no orphan. */
@media (min-width: 768px) {
  .public-surface .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .public-surface .gallery-grid > button,
  .public-surface .gallery-grid > button:last-child {
    grid-column: auto;
  }
  .public-surface .gallery-grid img,
  .public-surface .gallery-grid > button:last-child > img {
    height: auto;
    aspect-ratio: 4 / 3;
  }
}
@media (min-width: 1100px) {
  .public-surface .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Interactions that answer the visitor. */
.public-surface .button,
.site-header .button,
.mobile-bottom > a {
  transition:
    background-color 0.2s,
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.12s ease-out;
}
.public-surface .button:active,
.site-header .button:active,
.mobile-bottom > a:active {
  transform: translateY(1px) scale(0.985);
}
:is(.button, .text-link, .specialist-link, .mobile-nav a) > .icon {
  transition: transform 0.2s ease-out;
}
:is(.button, .text-link):hover > .icon[data-icon='arrow-right'] {
  transform: translateX(3px);
}
:is(.button, .text-link):hover > .icon[data-icon='arrow-up-right'] {
  transform: translate(2px, -2px);
}
:is(.button, .text-link):hover > .icon[data-icon='phone'] {
  transform: rotate(-12deg);
}
.public-surface .text-link,
.footer .text-link {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  transition: text-decoration-color 0.2s;
}
.public-surface .text-link:hover,
.footer .text-link:hover {
  text-decoration-color: currentColor;
}
.home-services-overview .service-spotlight-choices button {
  transition:
    background-color 0.2s,
    border-color 0.2s,
    color 0.2s;
}
.home-services-overview .service-spotlight-choices button:not([aria-pressed='true']):hover {
  border-color: #b7c7e5;
  background: #edf3fd;
}

/* The header settles onto the page once it starts scrolling. */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .site-header {
      animation: header-settle linear both;
      animation-timeline: scroll(root);
      animation-range: 0 120px;
    }
    @keyframes header-settle {
      to {
        border-bottom-color: transparent;
        box-shadow: 0 10px 30px #12255f14;
      }
    }
  }
}

/* Remaining small print and tap targets found in the audit. */
.public-surface .schedule-note,
.footer-grid > div:first-child > p {
  font-size: 15px;
}
.footer-grid .footer-help > a.text-link {
  font-size: 15px;
}
.public-surface .schedule-note {
  font-size: 16px;
}
.service-scroll-hint {
  font-size: 13px;
}
.public-surface .breadcrumb a,
.public-surface .booking-aside > .aside-address {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-block: -9px;
}
.public-surface .booking-aside > .aside-address {
  margin-block: 0;
}
.footer .social {
  width: 40px;
  height: 40px;
  transition:
    border-color 0.2s,
    background-color 0.2s;
}
.footer .social:hover {
  border-color: #b7c7e5;
  background: var(--pale);
}
@media (max-width: 767px) {
  .hero-photo-label small {
    font-size: 12px;
  }
}

/* More air between sections on wide screens. */
@media (min-width: 1100px) {
  .public-surface .section {
    padding-block: 88px;
  }
  .public-surface .cta-section {
    padding-bottom: 104px;
  }
}

/* Doctor cards: on desktop the number sits in the header and banners; cards link to the profile. */
@media (hover: hover) and (pointer: fine) {
  .public-surface .doctor-card-links .button {
    display: none;
  }
}

/* Doctor profile on wider screens: portrait beside the text, appointment band below. */
@media (min-width: 701px) {
  .public-surface .doctor-detail-editorial {
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    grid-template-areas:
      'photo prose'
      'guide guide';
    gap: 40px 56px;
    align-items: start;
  }
  .public-surface .doctor-detail-editorial .doctor-profile-aside {
    display: contents;
  }
  .public-surface .doctor-detail-editorial .doctor-detail-photo {
    grid-area: photo;
    height: auto;
    aspect-ratio: 1;
  }
  .public-surface .doctor-detail-editorial .prose {
    grid-area: prose;
  }
  .public-surface .doctor-detail-editorial .prose > :first-child {
    margin-top: 0;
  }
  .public-surface .doctor-detail-editorial .detail-specialists {
    margin-bottom: 0;
  }
  .public-surface .doctor-detail-editorial .doctor-appointment-guide {
    grid-area: guide;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 6px 28px;
    padding: 28px 32px;
  }
  .public-surface .doctor-appointment-guide > .doctor-specialty-icon {
    grid-row: 1 / 3;
  }
  .public-surface .doctor-detail-editorial .doctor-appointment-guide h2 {
    font-size: 24px;
    margin: 0;
  }
  .public-surface .doctor-detail-editorial .doctor-appointment-guide p {
    grid-column: 2;
    margin: 0;
    font-size: 16px;
  }
  .public-surface .doctor-detail-editorial .doctor-appointment-guide > a {
    grid-column: 3;
    grid-row: 1 / 3;
    margin: 0;
    padding: 0 0 0 28px;
    border-top: 0;
    border-left: 1px solid #ffffff40;
    min-height: 64px;
  }
}

/* Home facts strip on phones: two figures side by side, address and phone on full rows. */
@media (max-width: 767px) {
  .public-surface .trust-grid > div:nth-child(n + 3) {
    grid-column: 1 / -1;
  }
  .public-surface .trust-grid > div:nth-child(n + 3) small {
    display: block;
  }
  .public-surface .trust-grid > div:nth-child(n + 3) .icon {
    flex: none;
  }
}

/* Tablet footer: a real two-row grid instead of a column pushed down by a fixed margin. */
@media (min-width: 768px) and (max-width: 1023px) {
  .footer-grid > div:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }
  .footer-grid > div:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
    margin-top: 0;
  }
  .footer-grid .footer-help {
    grid-column: 1;
    grid-row: 2;
  }
}

/* 320–374px phones: figures stack above their labels; bottom actions stay on one line. */
@media (max-width: 374px) {
  .public-surface .trust-grid > div:nth-child(-n + 2) {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .mobile-bottom > a {
    gap: 6px;
    padding-inline: 8px;
    font-size: 13px;
    white-space: nowrap;
  }
}

.public-surface .breadcrumb {
  flex-wrap: wrap;
}
.public-surface .breadcrumb .icon {
  flex-shrink: 0;
}

/* The visible test notice is independent of search indexing. */
.site-test-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 40px;
  padding: 8px 16px;
  background: #fff4d6;
  color: #664500;
  border-bottom: 1px solid #eddbab;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
}
.site-test-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: #946500;
}
html {
  scroll-padding-top: 150px;
}
.mobile-nav {
  max-height: calc(100svh - 150px);
  overflow-y: auto;
}
@media (max-width: 767px) {
  html {
    scroll-padding-top: 120px;
  }
  .mobile-nav {
    max-height: calc(100svh - 120px);
  }
}
