:root {
  --ink: #15204b;
  --muted: #697494;
  --violet: #7713bd;
  --violet-dark: #5608a8;
  --blue: #08a8d3;
  --blue-dark: #087fd1;
  --soft: #f6faff;
  --line: #dce7f3;
  --white: #fff;
  --shadow: 0 18px 55px rgba(42, 67, 123, .12);
  --shadow-small: 0 10px 28px rgba(42, 67, 123, .09);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 3% 15%, rgba(9, 170, 211, .06), transparent 24%),
    radial-gradient(circle at 97% 22%, rgba(119, 19, 189, .06), transparent 22%);
  content: "";
  pointer-events: none;
}

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

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

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

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

h1,
h2,
h3,
.button {
  letter-spacing: -.045em;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(42px, 4.8vw, 64px);
  line-height: 1.08;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 3.4vw, 47px);
  line-height: 1.08;
}

h1 em,
h2 em {
  color: var(--blue);
  font-style: normal;
}

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

.container.narrow {
  width: min(800px, calc(100% - 40px));
}

.container.medium {
  width: min(920px, calc(100% - 40px));
}

.section {
  padding: 78px 0;
}

.section-soft {
  background: var(--soft);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 40px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.split-heading {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 17px;
  color: var(--violet);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 24px;
  height: 2px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--violet), var(--blue));
  content: "";
}

.eyebrow:empty {
  display: none;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 13px 23px;
  border: 1px solid transparent;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--violet-dark));
  box-shadow: 0 10px 22px rgba(119, 19, 189, .2);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(119, 19, 189, .27);
}

.button-small {
  min-height: 40px;
  padding: 9px 17px;
  border-radius: 10px;
  font-size: 11px;
}

.button-outline {
  border-color: #91d2ed;
  color: var(--blue-dark);
  background: #fff;
  box-shadow: none;
}

.button-white {
  color: var(--violet-dark);
  background: #fff;
  box-shadow: none;
}

.button-wide {
  width: 100%;
}

.text-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  padding-bottom: 5px;
  border-bottom: 1px solid #addbf0;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 800;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(220, 231, 243, .85);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(17px);
}

.header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  gap: clamp(12px, 1.25vw, 22px);
}

.brand {
  display: inline-flex;
  width: auto;
  height: auto;
  min-width: 0;
  flex: 0 1 300px;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  display: block;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  overflow: hidden;
  border-radius: 50%;
}

.doctor-schedule,
.doctor-profile-schedule {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 15px;
  border-radius: 16px;
  background: var(--soft);
}

.doctor-schedule .icon-svg,
.doctor-profile-schedule .icon-svg {
  width: 22px;
  min-width: 22px;
  color: var(--violet);
}

.doctor-schedule strong,
.doctor-profile-schedule strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
}

.doctor-profile-schedule {
  margin: 22px 0;
}

.doctor-profile-schedule p {
  margin: 0;
}

.doctor-profile-schedule-caption {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.doctor-profile-windows {
  margin-top: 10px;
}

.doctor-profile-schedule .schedule-window-chip {
  min-width: 106px;
  background: #fff;
  justify-items: center;
  align-content: center;
  text-align: center;
}

.doctor-profile-schedule .schedule-window-chip strong {
  margin-bottom: 0;
  color: var(--blue-dark);
  font-size: 11px;
}

.doctor-profile-schedule .schedule-no-windows {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 600;
}

.schedule-summary {
  display: grid;
  margin-bottom: 46px;
  padding: 24px 28px;
  border-radius: 30px;
  background: linear-gradient(135deg, #f5efff, #eefaff);
  grid-template-columns: auto 1fr minmax(270px, .75fr);
  align-items: center;
  gap: 26px;
}

.schedule-summary-icon {
  display: grid;
  width: 68px;
  height: 68px;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--blue));
  place-items: center;
}

.schedule-summary-icon .icon-svg {
  width: 30px;
}

.schedule-summary h2,
.schedule-summary p,
.schedule-doctor-row h3,
.schedule-doctor-row p {
  margin: 0;
}

.schedule-summary p {
  margin-top: 8px;
  color: var(--muted);
}

.schedule-clinic-hours {
  padding: 18px 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .8);
}

.schedule-clinic-hours > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.schedule-heading {
  display: flex;
  margin-bottom: 25px;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.schedule-heading h2 {
  margin-bottom: 0;
}

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

.schedule-empty-state {
  width: 100%;
  padding: 28px;
  border: 1px dashed rgba(8, 168, 211, .38);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(231, 248, 255, .75), rgba(246, 241, 255, .7));
  color: var(--muted);
}

.schedule-empty-state h2,
.schedule-empty-state h3 {
  margin-bottom: 8px;
  color: var(--navy);
}

.schedule-empty-state p {
  max-width: 680px;
  margin: 0;
}

.doctors-grid .schedule-empty-state {
  grid-column: 1 / -1;
}

.schedule-doctor-row {
  display: grid;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  grid-template-columns: 104px minmax(360px, .95fr) minmax(300px, 1.05fr) 260px;
  align-items: center;
  gap: 20px;
}

.schedule-doctor-name,
.schedule-doctor-time,
.schedule-doctor-actions {
  min-width: 0;
}

.schedule-doctor-name p,
.schedule-doctor-time strong {
  overflow-wrap: anywhere;
}

.schedule-doctor-photo {
  width: 104px;
  height: 118px;
  overflow: hidden;
  border-radius: 18px;
}

.schedule-doctor-photo img {
  width: 104px;
  height: 118px;
  border-radius: 18px;
  background: transparent;
  object-fit: cover;
  object-position: center top;
}

.schedule-doctor-photo .doctor-photo-placeholder {
  width: 100%;
  height: 100%;
  padding: 8px;
  gap: 6px;
  border-radius: 18px;
  font-size: 8px;
  line-height: 1.25;
}

.schedule-doctor-photo .doctor-photo-placeholder .icon-svg {
  width: 28px;
  height: 28px;
}

.schedule-doctor-name p,
.schedule-doctor-time small {
  color: var(--muted);
}

.schedule-doctor-time small,
.schedule-doctor-time strong {
  display: block;
}

.schedule-compact-windows {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 7px;
  max-width: 350px;
}

.schedule-window-chip {
  display: inline-grid;
  justify-items: center;
  align-content: center;
  padding: 7px 9px;
  border: 1px solid rgba(8, 168, 211, .22);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(8, 168, 211, .08), rgba(126, 23, 214, .05));
  gap: 2px;
  text-align: center;
}

.schedule-window-chip span {
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.schedule-window-chip strong {
  color: var(--blue-dark);
  font-size: 10px;
  line-height: 1.2;
  white-space: nowrap;
}

.schedule-no-windows {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.schedule-no-windows-note {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
}

.schedule-doctor-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  white-space: nowrap;
}

.schedule-book-link {
  color: var(--violet);
  font-weight: 700;
}

.button.is-disabled,
.schedule-book-link.is-disabled {
  opacity: .48;
  cursor: not-allowed;
  pointer-events: none;
  text-decoration: none;
}

.button.is-disabled {
  border-color: rgba(11, 27, 70, .12);
  color: var(--muted);
  background: #f5f8fc;
  box-shadow: none;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.footer-legal a,
.consent a {
  text-decoration: underline;
}

.legal-download {
  margin-top: 30px;
}

@media (max-width: 1180px) {
  .schedule-doctor-row {
    grid-template-columns: 90px minmax(0, 1fr) minmax(260px, 1fr);
  }

  .schedule-doctor-photo,
  .schedule-doctor-photo img {
    width: 90px;
    height: 105px;
  }

  .schedule-doctor-actions {
    justify-content: flex-start;
    grid-column: 2 / -1;
  }
}

@media (max-width: 880px) {
  .schedule-summary {
    grid-template-columns: auto 1fr;
  }

  .schedule-clinic-hours {
    grid-column: 1 / -1;
  }

  .schedule-doctor-row {
    grid-template-columns: 84px 1fr;
  }

  .schedule-doctor-photo,
  .schedule-doctor-photo img {
    width: 84px;
    height: 98px;
  }

  .schedule-doctor-time,
  .schedule-doctor-actions {
    grid-column: 2;
  }

  .schedule-doctor-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .schedule-hero {
    padding-bottom: 24px;
  }

  .schedule-hero .page-hero-inner {
    min-height: 0;
  }

  .schedule-hero h1 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .schedule-summary {
    margin-bottom: 26px;
    padding: 18px;
    border-radius: 22px;
    grid-template-columns: 48px 1fr;
    gap: 14px;
  }

  .schedule-summary-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .schedule-summary-copy h2 {
    font-size: 24px;
    line-height: 1.15;
  }

  .schedule-summary-copy p {
    grid-column: 1 / -1;
    font-size: 15px;
  }

  .schedule-clinic-hours {
    padding: 13px 15px;
    border-radius: 16px;
    grid-column: 1 / -1;
  }

  .schedule-heading {
    margin-bottom: 14px;
    align-items: flex-start;
    flex-direction: column;
  }

  .schedule-heading .button {
    display: none;
  }

  .schedule-heading h2 {
    font-size: 34px;
  }

  .schedule-doctor-row {
    padding: 14px;
    border-radius: 18px;
    grid-template-columns: 78px 1fr;
    gap: 10px 13px;
  }

  .schedule-doctor-photo,
  .schedule-doctor-photo img {
    width: 78px;
    height: 92px;
    border-radius: 15px;
  }

  .schedule-doctor-photo .doctor-photo-placeholder {
    border-radius: 15px;
    font-size: 7px;
  }

  .schedule-doctor-name h3 {
    font-size: 20px;
  }

  .schedule-doctor-name p {
    font-size: 14px;
    line-height: 1.35;
  }

  .schedule-doctor-time {
    padding-top: 10px;
    border-top: 1px solid var(--line);
    grid-column: 1 / -1;
  }

  .schedule-compact-windows {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
  }

  .schedule-window-chip {
    min-width: 0;
    width: 100%;
    padding: 7px 6px;
  }

  .schedule-doctor-actions {
    justify-content: space-between;
    padding-top: 2px;
    grid-column: 1 / -1;
  }
}

.brand-logo img,
.brand-logo .custom-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-copy strong,
.brand-copy small {
  display: block;
}

.brand-copy {
  min-width: 0;
}

.brand-copy strong {
  color: var(--violet);
  font-size: clamp(15px, .95vw, 17px);
  line-height: 1.1;
  white-space: nowrap;
}

.brand-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.main-nav {
  min-width: 0;
  flex: 1 1 auto;
  margin-left: auto;
}

.main-nav ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 1vw, 21px);
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  list-style: none;
}

.main-nav a {
  position: relative;
  color: #4f5b79;
  font-size: clamp(12px, .78vw, 14px);
  font-weight: 700;
  white-space: nowrap;
}

.main-nav a::after {
  position: absolute;
  right: 50%;
  bottom: -8px;
  left: 50%;
  height: 2px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--violet), var(--blue));
  content: "";
  transition: right .2s ease, left .2s ease;
}

.main-nav a:hover::after,
.main-nav .current-menu-item a::after {
  right: 0;
  left: 0;
}

.main-nav .menu-item-tax-download a {
  display: inline-flex;
  min-height: 34px;
  padding: 8px 11px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(102, 41, 178, .24);
  border-radius: 12px;
  color: var(--violet);
  font-size: 11px;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.main-nav .menu-item-tax-download a::after {
  display: none;
}

.main-nav .menu-item-tax-download a:hover {
  border-color: var(--violet);
  background: var(--soft);
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: clamp(10px, .85vw, 15px);
}

.phone-link {
  text-align: right;
  white-space: nowrap;
}

.phone-link small,
.phone-link strong {
  display: block;
}

.phone-link small {
  color: var(--muted);
  font-size: 7px;
  font-weight: 600;
}

.phone-link strong {
  font-size: clamp(11px, .75vw, 13px);
  font-weight: 800;
}

.header-actions .button {
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 0;
  border-radius: 10px;
  background: var(--soft);
}

.menu-toggle > span:not(.screen-reader-text) {
  display: block;
  height: 2px;
  margin: 4px 0;
  border-radius: 10px;
  background: var(--violet);
}

.home-hero {
  padding: 25px 0 0;
}

.hero-card {
  display: grid;
  min-height: 535px;
  overflow: hidden;
  grid-template-columns: .82fr 1.18fr;
  border: 1px solid var(--line);
  border-radius: 0 0 32px 32px;
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 45px 10px 42px 48px;
}

.hero-copy h1 {
  font-size: clamp(43px, 4.7vw, 61px);
}

.hero-copy p {
  max-width: 500px;
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 15px;
}

.hero-image {
  position: relative;
  min-height: 535px;
  background-image:
    linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .82) 7%, rgba(255, 255, 255, 0) 31%),
    var(--hero-image, url("../img/hero-patient.webp"));
  background-position: 52% center;
  background-size: cover;
}

.hero-image::after {
  position: absolute;
  display: none;
  right: 12%;
  bottom: 8%;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 50%;
  box-shadow: 0 0 0 30px rgba(255, 255, 255, .12), 0 0 0 60px rgba(255, 255, 255, .08);
  content: "";
}

.floating-note {
  position: absolute;
  z-index: 3;
  right: 28px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 15px;
  background: rgba(255, 255, 255, .88);
  box-shadow: var(--shadow-small);
  backdrop-filter: blur(12px);
}

.floating-note > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  font-weight: 800;
}

.icon-svg {
  width: 22px;
  height: 22px;
}

.floating-note strong,
.floating-note small {
  display: block;
}

.floating-note strong {
  font-size: 10px;
}

.floating-note small {
  color: var(--muted);
  font-size: 8px;
}

.home-benefits {
  padding: 20px 0 24px;
}

.card-grid {
  display: grid;
  gap: 20px;
}

.benefits-grid {
  grid-template-columns: repeat(4, 1fr);
}

.benefit-card,
.services-cards article {
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-small);
}

.benefit-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 12px;
  row-gap: 12px;
}

.line-icon {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 1px solid #d5eaf6;
  border-radius: 12px;
  color: var(--blue);
  background: #f5fcff;
  font-size: 20px;
}

.benefit-card h3,
.services-cards h3 {
  margin: 0 0 6px;
  color: var(--blue-dark);
  font-size: 14px;
}

.benefit-card h3 {
  margin-bottom: 0;
}

.benefit-card p,
.services-cards p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.benefit-card p {
  grid-column: 1 / -1;
}

.stats-section {
  padding: 20px 0 35px;
}

.section-label {
  display: block;
  text-align: center;
}

.stats-card {
  display: grid;
  padding: 18px;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--soft);
}

.stats-card > div {
  display: grid;
  min-height: 63px;
  align-content: center;
  padding: 0 20px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.stats-card > div:last-child {
  border: 0;
}

.stats-card strong {
  color: var(--blue-dark);
  font-size: 22px;
}

.stats-card strong .icon-svg {
  width: 28px;
  height: 28px;
  margin: 0 auto;
}

.stats-card span {
  color: var(--muted);
  font-size: 10px;
}

.home-reviews {
  padding-top: 65px;
  background: var(--soft);
}

.reviews-grid {
  grid-template-columns: repeat(3, 1fr);
}

.review-card {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-small);
}

.review-head {
  display: grid;
  align-items: center;
  margin-bottom: 17px;
  grid-template-columns: auto 1fr auto;
  gap: 11px;
}

.avatar {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  font-size: 10px;
  font-weight: 800;
}

.review-head h3 {
  margin: 0;
  font-size: 12px;
}

.stars {
  color: #ffae00;
  font-size: 9px;
  letter-spacing: .08em;
}

.review-head b {
  color: #c5def2;
  font-family: Georgia, serif;
  font-size: 35px;
  line-height: 1;
}

.review-card p {
  min-height: 90px;
  color: #56617e;
  font-size: 11px;
}

.review-card small {
  display: block;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--blue-dark);
  font-size: 8px;
  font-weight: 800;
}

.cta-strip {
  padding: 25px 0;
  background: var(--soft);
}

.cta-strip-inner {
  display: flex;
  min-height: 122px;
  align-items: center;
  padding: 27px 38px;
  border-radius: 21px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 45%, rgba(12, 174, 214, .78), transparent 19%),
    linear-gradient(120deg, #5308aa, #7911bf 62%, #0a9bce);
  box-shadow: 0 17px 40px rgba(91, 9, 171, .22);
}

.cta-icon {
  display: grid;
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  margin-right: 21px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  background: rgba(255, 255, 255, .13);
  font-size: 28px;
}

.cta-strip h2 {
  margin: 0;
  font-size: 21px;
}

.cta-strip p {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, .75);
  font-size: 10px;
}

.cta-strip .button {
  margin-left: auto;
}

.home-location {
  padding-top: 72px;
}

.location-card {
  display: grid;
  overflow: hidden;
  grid-template-columns: .75fr 1.25fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.location-info {
  display: grid;
  align-content: center;
  padding: 35px;
  gap: 18px;
}

.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.contact-line > span {
  display: grid;
  width: 39px;
  height: 39px;
  flex: 0 0 39px;
  place-items: center;
  border-radius: 11px;
  color: var(--blue);
  background: var(--soft);
  font-size: 17px;
}

.contact-line small,
.contact-line strong,
.contact-line a {
  display: block;
}

.contact-line small {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 8px;
}

.contact-line strong,
.contact-line a {
  font-size: 10px;
  line-height: 1.45;
}

.contact-line p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 8px;
}

.map-placeholder {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  background-color: #f5f3ed;
  background-image:
    linear-gradient(25deg, transparent 46%, rgba(182, 205, 169, .5) 47%, rgba(182, 205, 169, .5) 54%, transparent 55%),
    linear-gradient(-14deg, transparent 42%, rgba(205, 224, 195, .65) 43%, rgba(205, 224, 195, .65) 52%, transparent 53%),
    repeating-linear-gradient(90deg, transparent 0 75px, rgba(255, 255, 255, .8) 76px 82px),
    repeating-linear-gradient(0deg, transparent 0 58px, rgba(255, 255, 255, .8) 59px 65px);
}

.map-road,
.map-block {
  position: absolute;
  display: block;
}

.map-road {
  border-radius: 50px;
  background: #fff;
  box-shadow: 0 0 0 1px #dde4e5;
}

.road-a {
  top: 20%;
  left: -10%;
  width: 125%;
  height: 9px;
  transform: rotate(-8deg);
}

.road-b {
  top: -10%;
  left: 45%;
  width: 11px;
  height: 130%;
  transform: rotate(15deg);
}

.road-c {
  right: -10%;
  bottom: 22%;
  width: 118%;
  height: 8px;
  transform: rotate(8deg);
}

.road-d {
  top: -10%;
  left: 17%;
  width: 8px;
  height: 125%;
  transform: rotate(-18deg);
}

.map-block {
  width: 85px;
  height: 48px;
  border: 1px solid #e5ddcf;
  border-radius: 6px;
  background: #eee7da;
}

.block-a {
  top: 28%;
  left: 27%;
}

.block-b {
  top: 45%;
  right: 20%;
}

.block-c {
  right: 34%;
  bottom: 14%;
}

.block-d {
  top: 10%;
  right: 8%;
}

.map-pin {
  position: absolute;
  z-index: 2;
  top: 47%;
  left: 53%;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 7px solid #fff;
  border-radius: 50% 50% 50% 0;
  color: #fff;
  background: var(--violet);
  box-shadow: 0 8px 20px rgba(85, 8, 168, .25);
  transform: rotate(-45deg);
}

.map-pin::first-letter {
  transform: rotate(45deg);
}

.map-caption {
  position: absolute;
  z-index: 2;
  top: calc(47% + 48px);
  left: calc(53% - 40px);
  padding: 7px 11px;
  border-radius: 8px;
  color: var(--violet-dark);
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow-small);
  font-size: 9px;
  font-weight: 800;
}

.page-hero {
  padding: 55px 0 50px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 22% 10%, rgba(7, 168, 211, .13), transparent 23%),
    radial-gradient(circle at 80% 80%, rgba(119, 19, 189, .1), transparent 21%),
    var(--soft);
  text-align: left;
}

.page-hero h1 {
  margin-bottom: 14px;
}

.page-hero p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.page-hero-inner {
  display: grid;
  width: min(1050px, calc(100% - 40px));
  align-items: center;
  grid-template-columns: 1fr .72fr;
  gap: 70px;
}

.page-hero-facts {
  display: grid;
  padding: 20px;
  gap: 8px;
  border: 1px solid rgba(188, 220, 237, .75);
  border-radius: 18px;
  background: rgba(255, 255, 255, .72);
  box-shadow: var(--shadow-small);
}

.page-hero-facts span {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--ink);
  font-size: 11px;
}

.page-hero-facts .icon-svg {
  width: 20px;
  height: 20px;
  color: var(--blue);
}

.page-hero-rating {
  display: grid;
  justify-self: end;
  min-width: 230px;
  padding: 23px;
  border: 1px solid rgba(188, 220, 237, .75);
  border-radius: 18px;
  background: rgba(255, 255, 255, .76);
  box-shadow: var(--shadow-small);
}

.page-hero-rating strong {
  color: var(--violet);
  font-size: 42px;
  line-height: 1;
}

.page-hero-rating small,
.page-hero-rating a {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
}

.page-hero-rating a {
  color: var(--blue-dark);
  font-weight: 800;
}

.page-hero-rating--badges-only {
  width: max-content;
  min-width: 0;
  max-width: 100%;
  justify-self: center;
  padding: 16px;
  border: 1px solid rgba(188, 220, 237, .75);
  border-radius: 18px;
  background: rgba(255, 255, 255, .76);
  box-shadow: var(--shadow-small);
  justify-items: center;
}

.review-source-badges {
  display: grid;
  margin-top: 14px;
  width: 308px;
  max-width: 100%;
  justify-content: center;
  justify-items: center;
  grid-template-columns: repeat(2, 150px);
  gap: 8px;
}

.page-hero-rating--badges-only .review-source-badges {
  margin-top: 0;
}

.review-source-badges iframe {
  display: block;
  width: 150px;
  height: 50px;
  border: 0;
  border-radius: 6px;
}

.page-hero-call {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 15px;
  padding: 21px 24px;
  border: 1px solid rgba(188, 220, 237, .75);
  border-radius: 18px;
  background: rgba(255, 255, 255, .76);
  box-shadow: var(--shadow-small);
}

.page-hero-call > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--violet));
}

.page-hero-call small,
.page-hero-call a {
  display: block;
}

.page-hero-call small {
  color: var(--muted);
  font-size: 8px;
}

.page-hero-call a {
  margin: 2px 0;
  font-size: 15px;
  font-weight: 800;
}

.services-cards {
  grid-template-columns: repeat(3, 1fr);
}

.services-cards article {
  display: flex;
  min-height: 220px;
  flex-direction: column;
}

.service-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.service-foot strong {
  color: var(--violet);
  font-size: 10px;
}

.service-foot a {
  color: var(--blue-dark);
  font-size: 9px;
  font-weight: 800;
}

.price-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
}

.price-table > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 25px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}

.price-table > div:last-child {
  border: 0;
}

.price-table strong {
  color: var(--blue-dark);
  white-space: nowrap;
}

.doctors-grid {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

.doctor-card {
  display: grid;
  grid-template-rows: auto 1fr;
  align-self: stretch;
  height: 100%;
  overflow: hidden;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-small);
}

.doctor-card img {
  width: 100%;
  height: 340px;
  border-radius: 15px;
  object-fit: cover;
  object-position: center 18%;
}

.doctor-card > .doctor-card-body {
  display: flex;
  padding: 20px 13px 12px;
  flex-direction: column;
}

.doctor-photo-placeholder {
  display: flex;
  width: 100%;
  height: 340px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  border: 1px dashed rgba(8, 168, 211, .42);
  border-radius: 15px;
  color: var(--muted);
  background:
    radial-gradient(circle at 25% 20%, rgba(8, 168, 211, .12), transparent 32%),
    linear-gradient(135deg, #f6fcff, #f7f2ff);
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

.doctor-photo-placeholder .icon-svg {
  width: 46px;
  height: 46px;
  color: var(--blue);
}

.doctor-badge {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 9px;
  border-radius: 20px;
  color: var(--violet);
  background: #f5edff;
  font-size: 8px;
  font-weight: 800;
}

.doctor-card h2 {
  margin-bottom: 6px;
  color: var(--violet);
  font-size: 18px;
}

.doctor-card p {
  min-height: 32px;
  color: var(--muted);
  font-size: 10px;
}

.doctor-card ul {
  display: flex;
  flex-wrap: wrap;
  height: var(--doctor-services-max-height, 104px);
  align-content: flex-start;
  overflow: hidden;
  margin: 0 0 16px;
  padding: 0;
  gap: 5px;
  list-style: none;
}

.doctor-card li {
  padding: 4px 8px;
  border-radius: 20px;
  color: var(--muted);
  background: var(--soft);
  font-size: 7px;
}

.doctor-card .doctor-services-more {
  color: var(--violet);
  background: #f5edff;
  font-weight: 800;
}

.doctor-card .button {
  width: 100%;
  margin-top: auto;
}

.reviews-page-grid {
  grid-template-columns: repeat(3, 1fr);
}

.reviews-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  padding: 22px 25px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--soft);
}

.reviews-action p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.appointment-layout {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.contacts-layout {
  display: grid;
  align-items: start;
  grid-template-columns: 1fr .9fr;
  gap: 70px;
}

.appointment-info {
  order: 2;
  display: grid;
  grid-template-columns: minmax(230px, .6fr) minmax(0, 1fr);
  gap: 20px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: #fff;
  box-shadow: var(--shadow);
}

.appointment-info h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.appointment-info > p {
  max-width: 500px;
  margin: 8px 0 0;
  color: var(--muted);
}

.appointment-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  margin-top: 0;
  gap: 14px;
}

.appointment-points > div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.appointment-points h3 {
  margin: 0 0 3px;
  font-size: 13px;
}

.appointment-points p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
}

.form-card {
  display: grid;
  padding: 31px;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: #fff;
  box-shadow: var(--shadow);
}

.appointment-form-card {
  order: 1;
  gap: 18px;
}

.appointment-form-card .form-heading {
  max-width: 520px;
}

.appointment-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
  gap: 22px;
  align-items: start;
}

.appointment-booking-column,
.appointment-details-column {
  display: grid;
  min-width: 0;
  gap: 13px;
}

.appointment-details-column {
  align-content: start;
  padding: 15px;
  border: 1px solid rgba(8, 168, 211, .14);
  border-radius: 16px;
  background: rgba(255,255,255,.72);
}

.appointment-max-note {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid rgba(8, 168, 211, .22);
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(8, 168, 211, .1), rgba(108, 27, 213, .08));
  color: var(--blue-dark);
}

.appointment-max-note strong {
  font-size: 14px;
  line-height: 1.2;
}

.appointment-max-note span {
  color: #56617e;
  font-size: 11px;
  line-height: 1.45;
}

.form-heading .eyebrow {
  margin-bottom: 7px;
}

.form-heading h2 {
  margin-bottom: 10px;
  font-size: 25px;
}

.form-card label {
  color: #56617e;
  font-size: 9px;
  font-weight: 700;
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  min-height: 47px;
  margin-top: 6px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  color: var(--ink);
  background: #fbfdff;
  font-size: 11px;
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(8, 168, 211, .1);
}

.form-card textarea {
  min-height: 95px;
  resize: vertical;
}

.tax-hero {
  padding: 36px 0 32px;
}

.tax-hero .page-hero-inner {
  grid-template-columns: minmax(0, 1fr) minmax(260px, .38fr);
  gap: 44px;
}

.tax-hero h1 {
  max-width: 780px;
  margin-bottom: 12px;
  font-size: clamp(39px, 4.7vw, 60px);
  line-height: .98;
}

.tax-hero p {
  max-width: 650px;
}

.tax-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.tax-hero-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--shadow);
}

.tax-hero-card > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 16px;
  color: var(--blue);
  background: linear-gradient(135deg, rgba(8, 168, 211, .15), rgba(126, 23, 214, .1));
}

.tax-hero-card strong {
  color: var(--navy);
  font-size: 18px;
  line-height: 1.28;
}

.tax-hero-card p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.tax-layout {
  display: flex;
  justify-content: center;
  align-items: start;
}

.tax-request-section {
  padding-top: 46px;
}

.tax-info {
  display: grid;
  gap: 24px;
}

.tax-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tax-step-card,
.tax-help-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
}

.tax-step-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: 58px auto;
  align-items: start;
  column-gap: 12px;
  row-gap: 10px;
  padding: 22px;
}

.tax-step-card span {
  display: grid;
  grid-column: 1;
  grid-row: 1;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--blue));
  font-weight: 800;
}

.tax-step-card h3,
.tax-help-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 17px;
}

.tax-step-card h3 {
  grid-column: 2;
  grid-row: 1;
  min-height: 0;
  margin-bottom: 0;
  display: flex;
  align-items: flex-start;
}

.tax-step-card p,
.tax-help-card p {
  margin: 0;
  color: var(--muted);
}

.tax-step-card p {
  grid-column: 1 / -1;
  grid-row: 2;
}

.tax-help-card {
  padding: 26px;
  background: linear-gradient(135deg, rgba(231, 248, 255, .85), rgba(246, 241, 255, .82));
}

.tax-help-card ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 16px;
  padding: 0;
  list-style: none;
}

.tax-help-card li {
  position: relative;
  padding-left: 24px;
  color: var(--ink);
  font-weight: 700;
}

.tax-help-card li::before {
  position: absolute;
  top: .45em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
  content: "";
}

.tax-form-card {
  position: static;
  width: min(100%, 820px);
  margin: 0 auto;
}

.tax-form-card .form-heading {
  max-width: 620px;
}

.tax-form-card .form-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.tax-form-card textarea {
  min-height: 82px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.field-hint {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.tax-method-info {
  padding: 16px;
  border: 1px solid rgba(8, 168, 211, .18);
  border-radius: 16px;
  background: rgba(245, 252, 255, .72);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.tax-method-info summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--navy);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  list-style: none;
}

.tax-method-info summary::-webkit-details-marker {
  display: none;
}

.tax-method-info summary::after {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  place-items: center;
  border: 1px solid rgba(8, 168, 211, .28);
  border-radius: 50%;
  color: var(--blue);
  content: "+";
  font-size: 16px;
  line-height: 1;
}

.tax-method-info[open] summary::after {
  content: "−";
}

.tax-method-info strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 12px;
}

.tax-method-info ol {
  display: grid;
  gap: 6px;
  margin: 10px 0 0;
  padding-left: 18px;
}

.tax-postal-field {
  display: none;
}

.tax-postal-field.is-conditionally-required {
  display: block;
}

.tax-form-caption {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.tax-form-caption a {
  display: inline-block;
  color: var(--blue);
  font-weight: 800;
  white-space: nowrap;
}

.booking-doctor-help {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.45;
}

.online-booking {
  display: grid;
  gap: 12px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(8, 168, 211, .08), rgba(126, 23, 214, .06));
}

.online-booking-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  color: var(--ink);
  font-size: 10px;
  line-height: 1.5;
}

.online-booking-note .icon-svg {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  color: var(--blue);
}

.booking-slots {
  display: grid;
  justify-items: center;
  gap: 7px;
  width: 100%;
}

.booking-picker {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 12px;
  align-items: start;
}

.booking-picker[hidden] {
  display: none;
}

.booking-dates {
  display: grid;
  justify-items: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
}

.booking-calendar-head {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 7px;
  width: 100%;
}

.booking-month-title {
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.booking-month-button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(8, 168, 211, .28);
  border-radius: 9px;
  color: var(--blue);
  background: rgba(255,255,255,.9);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.booking-month-button:disabled {
  opacity: .35;
  cursor: default;
}

.booking-weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  width: 100%;
  color: #697491;
  font-size: 7px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.booking-dates-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  width: 100%;
  padding: 0;
}

.booking-date {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1px;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 4px 1px;
  border: 1px solid rgba(8, 168, 211, .22);
  border-radius: 10px;
  color: #9aa4bb;
  background: rgba(255,255,255,.92);
  font: inherit;
  text-align: center;
  cursor: default;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

button.booking-date {
  cursor: pointer;
}

.booking-date-spacer {
  display: block;
  min-height: 42px;
}

.booking-date span,
.booking-date small {
  font-size: 7px;
  line-height: 1;
  text-transform: uppercase;
}

.booking-date strong {
  font-size: 15px;
  line-height: 1.15;
}

.booking-date.is-working {
  color: var(--blue);
  border-color: rgba(8, 168, 211, .34);
  background: #fff;
  box-shadow: none;
}

.booking-date.is-busy {
  color: #8590aa;
  border-color: rgba(86, 97, 126, .16);
  background: rgba(255,255,255,.55);
}

.booking-date.is-nonworking {
  color: #bac1d0;
  border-color: rgba(86, 97, 126, .12);
  background: rgba(255,255,255,.35);
}

.booking-date.is-working:hover,
.booking-date.is-selected {
  transform: translateY(-2px);
  border-color: var(--violet);
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: none;
}

.booking-slots-label {
  display: block;
  width: 100%;
  color: #56617e;
  font-size: 9px;
  font-weight: 700;
  text-align: center;
}

.booking-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 6px;
  width: min(100%, 560px);
}

.booking-window {
  display: inline-grid;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 8px;
  border: 1px solid rgba(8, 168, 211, .32);
  border-radius: 9px;
  color: var(--blue);
  background: #fff;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.booking-window:hover,
.booking-window.is-selected {
  border-color: var(--violet);
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--violet));
}

.booking-window.is-short {
  font-size: 10px;
}

.booking-preference-fields {
  display: grid;
  justify-items: center;
  gap: 7px;
  width: min(100%, 560px);
  box-sizing: border-box;
  margin-top: 4px;
  padding: 9px;
  border: 1px solid rgba(8, 168, 211, .18);
  border-radius: 13px;
  background: rgba(255,255,255,.72);
}

.booking-preference-fields[hidden] {
  display: none;
}

.booking-time-range-title {
  color: #56617e;
  font-size: 9px;
  font-weight: 800;
  text-align: center;
}

.booking-selected-inputs {
  display: none;
}

.booking-selected-slots {
  display: grid;
  justify-items: center;
  gap: 5px;
  width: 100%;
}

.booking-selected-slots[hidden] {
  display: none;
}

.booking-selected-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  width: 100%;
}

.booking-selected-chip {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 4px 8px;
  border: 1px solid rgba(126, 23, 214, .26);
  border-radius: 999px;
  color: var(--violet);
  background: rgba(255,255,255,.85);
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.booking-no-time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
}

.booking-no-time input {
  width: 13px;
  min-height: 13px;
  margin: 0;
}

.booking-time-hint {
  margin: 0;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.45;
  text-align: center;
}

.booking-preference-note {
  max-width: 300px;
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
  text-align: center;
}

.booking-preference-note[hidden] {
  display: none;
}

.booking-slots-empty {
  display: block;
  grid-column: 1 / -1;
  padding: 12px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  color: var(--muted);
  background: rgba(255,255,255,.72);
  font-size: 10px;
}

@media (max-width: 720px) {
  .booking-date {
    min-height: 38px;
  }
}

@media (max-width: 420px) {
  .booking-calendar-head {
    grid-template-columns: 28px minmax(0, 1fr) 28px;
    gap: 6px;
  }

  .booking-month-button {
    width: 28px;
    height: 28px;
  }

  .booking-dates-grid {
    gap: 4px;
  }

  .booking-date {
    min-height: 35px;
    border-radius: 9px;
  }

  .booking-date strong {
    font-size: 12px;
  }

  .booking-date span,
  .booking-date small {
    font-size: 6px;
  }
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-card .consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 500;
}

.form-card .consent input {
  width: 14px;
  min-height: 14px;
  margin: 2px 0 0;
}

.contacts-layout {
  grid-template-columns: 1.05fr .95fr;
}

.contacts-stack {
  display: grid;
  gap: 22px;
}

.contacts-mobile-social-card,
.contacts-mobile-map {
  display: none;
}

.contacts-list {
  display: grid;
  padding: 30px;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: #fff;
  box-shadow: var(--shadow-small);
}

.social-links {
  display: flex;
  gap: 8px;
}

.social-links a {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  font-size: 8px;
  font-weight: 800;
}

.social-links.large a {
  width: 42px;
  height: 42px;
}

.contact-social {
  display: grid;
  gap: 17px;
  margin-top: 2px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.contact-social-heading {
  display: grid;
  gap: 5px;
}

.contact-social-heading strong {
  color: var(--navy);
  font-size: 16px;
  line-height: 1.1;
}

.contact-social-heading span {
  display: none;
}

.contact-social-icons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.contact-social-icon {
  display: grid;
  align-items: center;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 5px;
  min-width: 0;
  color: var(--navy);
  font-weight: 800;
  transition: transform .2s ease;
}

.contact-social-icon:hover {
  transform: translateY(-2px);
}

.contact-social-badge {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 0;
  color: var(--blue-dark);
  background: transparent;
  box-shadow: none;
}

.contact-social-badge svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-social-badge img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.contact-social-icon:hover .contact-social-badge {
  box-shadow: none;
}

.contact-social-label {
  color: var(--navy);
  font-size: 11px;
  line-height: 1.2;
  text-align: left;
  overflow-wrap: anywhere;
}

.contact-social-icon-vk .contact-social-badge svg {
  fill: currentColor;
  stroke: none;
}

.contact-social-icon-vk {
  color: #2878ff;
}

.contact-social-icon-whatsapp {
  color: #1da85b;
}

.contact-social-icon-instagram {
  color: #b33bd3;
}

.max-bot-card {
  display: grid;
  align-items: center;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  padding: 25px 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  color: var(--navy);
  background:
    radial-gradient(circle at 75% 50%, rgba(21, 174, 214, .11), transparent 32%),
    radial-gradient(circle at 88% 50%, rgba(111, 24, 198, .08), transparent 24%),
    #fff;
  box-shadow: 0 18px 36px rgba(22, 32, 78, .08);
}

.max-bot-mark {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 0;
  color: var(--violet);
  background: transparent;
}

.max-bot-mark svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.max-bot-mark img {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.max-bot-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.max-bot-copy strong {
  color: var(--navy);
  font-size: 21px;
  line-height: 1.15;
}

.max-bot-copy small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  max-width: 330px;
}

.max-bot-card em {
  min-width: 150px;
  padding: 17px 24px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--violet), #315df1);
  box-shadow: 0 13px 25px rgba(70, 89, 220, .26);
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
  text-align: center;
}

.map-large {
  min-height: 470px;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.prose {
  color: var(--muted);
}

.site-footer {
  padding: 47px 0 18px;
  color: rgba(255, 255, 255, .73);
  background: #121846;
}

.footer-main {
  display: grid;
  padding-bottom: 35px;
  grid-template-columns: 1.1fr repeat(3, 1fr);
  gap: 35px;
}

.brand-footer {
  width: auto;
  height: auto;
  margin-bottom: 15px;
}

.brand-footer .brand-logo {
  width: 72px;
  height: 72px;
  padding: 4px;
  border-radius: 50%;
  background: #fff;
}

.brand-footer .brand-copy strong {
  color: #fff;
}

.brand-footer .brand-copy small {
  color: rgba(255, 255, 255, .55);
}

.footer-main h3 {
  margin-bottom: 13px;
  color: #fff;
  font-size: 11px;
}

.footer-main p,
.footer-main > div > a {
  display: block;
  margin-bottom: 6px;
  font-size: 9px;
}

.footer-main > div > a {
  color: #fff;
}

.contact-social-footer {
  gap: 10px;
  width: min(100%, 224px);
  margin-top: 15px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.contact-social-footer .contact-social-icons {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-social-footer .contact-social-icon {
  display: block;
  flex: 0 0 38px;
  width: 38px;
  min-width: 38px;
  gap: 0;
}

.contact-social-footer .contact-social-icon:hover {
  transform: translateY(-1px);
}

.contact-social-footer .contact-social-badge {
  width: 30px;
  height: 30px;
  border: 0;
  color: var(--blue-dark);
  background: transparent;
  box-shadow: none;
}

.contact-social-footer .contact-social-badge svg {
  width: 21px;
  height: 21px;
  stroke-width: 2;
}

.contact-social-footer .contact-social-badge img {
  width: 28px;
  height: 28px;
}

.contact-social-footer .contact-social-icon:hover .contact-social-badge {
  background: transparent;
  box-shadow: none;
}

.contact-social-footer .contact-social-icon-max {
  color: #6d2de2;
}

.contact-social-footer .contact-social-icon-vk {
  color: #2787f5;
}

.contact-social-footer .contact-social-icon-whatsapp {
  color: #25d366;
}

.contact-social-footer .contact-social-icon-instagram {
  color: #d83bd2;
}

.contact-social-footer .contact-social-label {
  display: none;
}

.max-bot-card-footer {
  display: grid;
  align-items: start;
  grid-template-columns: 36px 1fr;
  gap: 8px 10px;
  width: 100%;
  max-width: 310px;
  margin-top: 10px;
  margin-bottom: 0;
  padding: 12px;
  border: 1px solid rgba(114, 211, 234, .26);
  border-radius: 14px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(21, 174, 214, .17), rgba(111, 24, 198, .2)),
    rgba(255, 255, 255, .06);
  box-shadow: none;
}

.footer-main > div > a.max-bot-card-footer {
  display: grid;
  margin-bottom: 0;
}

.max-bot-card-footer .max-bot-mark {
  grid-row: 1 / 3;
  width: 34px;
  height: 34px;
  color: #6d2de2;
  background: transparent;
  border: 0;
}

.max-bot-card-footer .max-bot-mark svg {
  width: 21px;
  height: 21px;
  stroke-width: 2;
}

.max-bot-card-footer .max-bot-mark img {
  width: 32px;
  height: 32px;
}

.max-bot-card-footer .max-bot-copy strong {
  color: #fff;
  font-size: 11px;
  line-height: 1.2;
}

.max-bot-card-footer .max-bot-copy small {
  display: block;
  max-width: none;
  overflow: visible;
  color: rgba(255, 255, 255, .72);
  font-size: 9px;
  line-height: 1.3;
  text-overflow: clip;
  white-space: normal;
}

.max-bot-card-footer em {
  grid-column: 2;
  justify-self: start;
  min-width: auto;
  margin-top: 2px;
  padding: 7px 9px;
  border-radius: 999px;
  color: #315df1;
  background: #fff;
  box-shadow: none;
  font-size: 9px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  gap: 25px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 7px;
}

.footer-bottom span:last-child {
  margin-left: auto;
}

.toast {
  position: fixed;
  z-index: 100;
  right: 24px;
  bottom: 24px;
  max-width: 380px;
  padding: 15px 19px;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--blue-dark));
  box-shadow: var(--shadow);
  font-size: 10px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}

.toast a {
  display: inline-flex;
  margin-left: 12px;
  color: #fff;
  text-decoration: underline;
  pointer-events: auto;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.request-success-modal {
  position: fixed;
  z-index: 220;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(12, 20, 45, .42);
}

.request-success-panel {
  display: grid;
  width: min(100%, 520px);
  gap: 14px;
  padding: 28px;
  border: 1px solid rgba(8, 168, 211, .22);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(17, 31, 74, .24);
  color: var(--blue-dark);
  text-align: center;
}

.request-success-panel strong {
  font-size: 25px;
  line-height: 1.18;
}

.request-success-panel p {
  margin: 0;
  color: #56617e;
  font-size: 13px;
  line-height: 1.55;
}

.request-success-max-text {
  padding-top: 4px;
}

.request-success-max-link,
.request-success-close {
  justify-self: center;
}

.request-success-close {
  margin-top: 2px;
}

/* Final visual system */
.eyebrow,
.section-label {
  font-size: 12px;
}

.button,
.text-link {
  font-size: 13px;
}

.button-small {
  font-size: clamp(11px, .75vw, 12px);
}

.main-nav a {
  font-size: clamp(10px, .68vw, 12px);
}

.phone-link small {
  font-size: 9px;
}

.phone-link strong {
  font-size: clamp(11px, .75vw, 13px);
}

.hero-card {
  min-height: 550px;
  grid-template-columns: 1fr 1.08fr;
}

.hero-copy {
  padding: 48px 20px 44px 48px;
}

.hero-copy h1 {
  max-width: 570px;
  font-size: clamp(42px, 4.4vw, 56px);
}

.hero-image {
  min-height: 550px;
  background-position: 57% center;
}

.hero-trust {
  display: grid;
  max-width: 510px;
  margin-top: 30px;
  padding-top: 20px;
  grid-template-columns: .9fr .75fr 1.4fr;
  border-top: 1px solid var(--line);
  gap: 17px;
}

.hero-trust > div {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.hero-trust strong {
  color: var(--violet);
  font-size: 19px;
  line-height: 1;
}

.hero-trust small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.35;
}

.hero-trust .stars {
  font-size: 8px;
}

.hero-trust > div:first-child {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1px 7px;
}

.hero-trust > div:first-child small {
  grid-column: 1 / -1;
}

.trust-doctors {
  padding-left: 4px;
}

.trust-face {
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  margin-left: -10px;
  border: 2px solid #fff;
  border-radius: 50%;
  background-position: center 18%;
  background-size: cover;
  box-shadow: 0 3px 9px rgba(42, 67, 123, .12);
}

.trust-face:first-child {
  margin-left: 0;
}

.face-one {
  background-image: linear-gradient(135deg, rgba(8, 168, 211, .18), rgba(126, 23, 214, .18));
}

.face-two {
  background-image: linear-gradient(135deg, rgba(126, 23, 214, .18), rgba(8, 168, 211, .16));
}

.face-three {
  background-image: linear-gradient(135deg, rgba(8, 168, 211, .14), rgba(18, 24, 70, .12));
}

.benefit-card h3,
.services-cards h3 {
  font-size: 16px;
  line-height: 1.3;
}

.benefit-card p,
.services-cards p,
.review-card p,
.reviews-action p {
  font-size: 13px;
}

.stats-card span {
  font-size: 11px;
}

.review-head h3 {
  font-size: 14px;
}

.review-card small {
  font-size: 10px;
}

.cta-strip p {
  font-size: 12px;
}

.home-team {
  padding: 28px 0 0;
}

.team-strip {
  display: grid;
  align-items: center;
  padding: 32px;
  grid-template-columns: .78fr 1.22fr;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 9% 15%, rgba(9, 170, 211, .09), transparent 28%),
    #fff;
  box-shadow: var(--shadow-small);
  gap: 36px;
}

.team-copy h2 {
  margin-bottom: 13px;
  font-size: clamp(28px, 3vw, 39px);
}

.team-copy p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
}

.team-portraits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.team-portraits a {
  position: relative;
  min-height: 245px;
  overflow: hidden;
  border-radius: 17px;
  background: var(--soft);
}

.team-portraits img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transition: transform .25s ease;
}

.team-portraits a:hover img {
  transform: scale(1.025);
}

.team-portraits span {
  position: absolute;
  right: 8px;
  bottom: 8px;
  left: 8px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 11px;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(9px);
}

.team-portraits strong,
.team-portraits small {
  display: block;
}

.team-portraits strong {
  color: var(--violet);
  font-size: 10px;
}

.team-portraits small {
  margin-top: 1px;
  color: var(--muted);
  font-size: 8px;
}

.contact-line small {
  font-size: 10px;
}

.contact-line strong,
.contact-line a {
  font-size: 13px;
}

.contact-line p {
  font-size: 10px;
}

.map-pin .icon-svg {
  width: 17px;
  height: 17px;
  transform: rotate(45deg);
}

.page-hero p {
  font-size: 15px;
}

.page-hero-facts span {
  font-size: 13px;
}

.page-hero-rating small,
.page-hero-rating a,
.page-hero-call small {
  font-size: 11px;
}

.page-hero-call a {
  font-size: 17px;
}

.services-cards article {
  min-height: 235px;
}

.service-foot strong {
  font-size: 12px;
}

.service-foot a {
  font-size: 11px;
}

.price-table > div {
  font-size: 13px;
}

.doctor-badge {
  font-size: 10px;
}

.doctor-card h2 {
  font-size: 20px;
}

.doctor-card p {
  font-size: 12px;
}

.doctor-card li {
  font-size: 9px;
}

.appointment-points h3 {
  font-size: 15px;
}

.appointment-points p {
  font-size: 11px;
}

.form-card label {
  font-size: 11px;
}

.form-card input,
.form-card select,
.form-card textarea {
  font-size: 13px;
}

.social-links a {
  font-size: 10px;
}

.footer-main h3 {
  font-size: 13px;
}

.footer-main p,
.footer-main > div > a {
  font-size: 11px;
}

.footer-bottom {
  font-size: 9px;
}

@media (max-width: 1380px) {
  .header-inner {
    gap: 12px;
  }

  .brand {
    flex-basis: 260px;
  }

  .brand-logo {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }

  .brand-copy small {
    display: none;
  }

  .main-nav ul {
    gap: 10px;
  }

  .main-nav .menu-item-tax-download a {
    padding-right: 9px;
    padding-left: 9px;
    font-size: 10.5px;
  }

  .header-actions .button {
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (max-width: 1180px) {
  .phone-link {
    display: none;
  }
}

@media (max-width: 1050px) {
  .main-nav ul {
    gap: 13px;
  }

  .phone-link {
    display: none;
  }

  .brand-copy strong {
    font-size: 15px;
  }

  .brand-copy small {
    font-size: 6px;
  }

  .hero-card {
    min-height: 530px;
    grid-template-columns: 1fr 1fr;
  }

  .hero-copy,
  .hero-image {
    min-height: 530px;
  }

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

  .hero-copy h1 {
    font-size: 47px;
  }

  .hero-trust {
    grid-template-columns: 1fr 1fr;
  }

  .hero-trust .trust-doctors {
    display: none;
  }

  .page-hero-inner {
    gap: 40px;
  }
}

@media (max-width: 880px) {
  .header-inner {
    min-height: 75px;
  }

  .header-actions .button {
    display: none;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .main-nav {
    position: absolute;
    top: 75px;
    right: max(18px, env(safe-area-inset-right));
    left: auto;
    width: min(360px, calc(100vw - 36px));
    max-height: calc(100vh - 95px);
    overflow-y: auto;
    display: none;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav ul {
    display: grid;
    gap: 0;
  }

  .main-nav a {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 14px;
    text-align: center;
  }

  .main-nav .menu-item-tax-download a {
    margin-top: 6px;
    padding: 11px 12px;
    background: var(--soft);
    font-size: 12px;
  }

  .main-nav a::after {
    display: none;
  }

  .header-actions {
    margin-left: 0;
  }

  .hero-card {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: auto;
    padding: 52px 40px 42px;
  }

  .hero-image {
    min-height: 410px;
    background-position: center 36%;
  }

  .hero-trust {
    max-width: 460px;
    grid-template-columns: repeat(3, auto);
  }

  .hero-trust .trust-doctors {
    display: flex;
  }

  .benefits-grid,
  .services-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .appointment-layout,
  .contacts-layout,
  .tax-layout,
  .tax-hero .page-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .tax-form-card {
    position: static;
  }

  .tax-steps {
    grid-template-columns: 1fr;
  }

  .appointment-info {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .appointment-points {
    grid-template-columns: 1fr;
  }

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

  .team-strip,
  .page-hero-inner {
    grid-template-columns: 1fr;
  }

  .team-strip {
    gap: 25px;
  }

  .page-hero-rating,
  .page-hero-call {
    justify-self: start;
  }

  .location-card {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .container,
  .container.narrow,
  .container.medium {
    width: calc(100% - 28px);
  }

  .section {
    padding: 58px 0;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 32px;
  }

  .home-hero {
    padding-top: 0;
  }

  .hero-card {
    width: 100%;
    border-right: 0;
    border-left: 0;
    border-radius: 0 0 25px 25px;
  }

  .hero-copy {
    padding: 42px 22px 34px;
  }

  .hero-copy h1 {
    margin-bottom: 18px;
    font-size: 38px;
  }

  .hero-copy p {
    font-size: 14px;
  }

  .hero-image {
    min-height: 350px;
    background-position: 56% center;
  }

  .hero-image::after {
    display: none;
  }

  .floating-note {
    right: 15px;
    bottom: 15px;
  }

  .hero-trust {
    grid-template-columns: 1fr 1fr;
  }

  .hero-trust .trust-doctors {
    display: none;
  }

  .benefits-grid,
  .services-cards,
  .stats-card,
  .reviews-grid,
  .reviews-page-grid,
  .doctors-grid {
    grid-template-columns: 1fr;
  }

  .home-benefits {
    padding-top: 14px;
  }

  .benefit-card {
    row-gap: 10px;
  }

  .benefit-card h3 {
    margin-top: 0;
  }

  .stats-card > div {
    padding: 15px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stats-card > div:last-child {
    border-bottom: 0;
  }

  .home-benefits {
    padding-top: 12px;
    padding-bottom: 16px;
  }

  .home-benefits .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .home-benefits .benefit-card {
    min-height: 0;
    align-content: start;
    padding: 14px 12px;
    border-radius: 16px;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 9px 10px;
  }

  .home-benefits .line-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 18px;
  }

  .home-benefits .benefit-card h3 {
    align-self: center;
    font-size: 15px;
    line-height: 1.18;
  }

  .home-benefits .benefit-card p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 11px;
    line-height: 1.42;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .stats-section {
    padding: 12px 0 24px;
  }

  .stats-section .section-label {
    margin-bottom: 14px;
  }

  .stats-section .stats-card {
    overflow: hidden;
    padding: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-section .stats-card > div {
    min-height: 96px;
    padding: 14px 10px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .stats-section .stats-card > div:nth-child(2n) {
    border-right: 0;
  }

  .stats-section .stats-card > div:nth-last-child(-n+2) {
    border-bottom: 0;
  }

  .stats-section .stats-card strong {
    font-size: 22px;
    line-height: 1.15;
  }

  .stats-section .stats-card span {
    font-size: 10px;
    line-height: 1.35;
  }

  .team-strip {
    width: calc(100% - 28px);
    padding: 24px;
  }

  .team-portraits {
    grid-template-columns: 1fr;
  }

  .team-portraits a {
    min-height: 310px;
  }

  .split-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .review-card p {
    min-height: auto;
  }

  .cta-strip-inner {
    display: grid;
    align-items: center;
    grid-template-columns: auto 1fr;
    padding: 26px;
    gap: 16px;
  }

  .cta-icon {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
    margin: 0;
  }

  .cta-strip-inner > div {
    min-width: 0;
  }

  .cta-strip .button {
    grid-column: 1 / -1;
    width: 100%;
    margin: 4px 0 0;
  }

  .page-hero {
    padding: 48px 0 44px;
  }

  .page-hero-inner {
    width: calc(100% - 28px);
    gap: 25px;
  }

  .page-hero-facts,
  .page-hero-rating,
  .page-hero-call {
    width: 100%;
    min-width: 0;
  }

  .page-hero-contacts .page-hero-facts {
    display: none;
  }

  .page-hero-rating {
    padding: 18px;
  }

  .page-hero-rating--badges-only {
    width: max-content;
    justify-self: center;
    padding: 14px;
  }

  .review-source-badges {
    grid-template-columns: repeat(2, 150px);
    gap: 7px;
  }

  .doctor-card img {
    height: 390px;
  }

  .reviews-action {
    align-items: flex-start;
    flex-direction: column;
  }

  .reviews-action .button {
    width: 100%;
  }

  .form-card {
    padding: 23px;
  }

  .tax-hero-actions,
  .form-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
  }

  .tax-hero-card,
  .tax-step-card,
  .tax-help-card {
    padding: 22px;
  }

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

  .contacts-list {
    padding: 22px;
  }

  .contacts-layout {
    gap: 20px;
  }

  .contacts-stack {
    gap: 16px;
  }

  .contacts-list > .contact-social {
    display: none;
  }

  .contacts-mobile-social-card {
    display: block;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 21px;
    background: #fff;
    box-shadow: var(--shadow-small);
  }

  .contacts-mobile-social-card .contact-social {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }

  .contacts-mobile-map {
    display: block;
  }

  .contacts-mobile-map .map-large {
    min-height: 300px;
    box-shadow: var(--shadow-small);
  }

  .contacts-mobile-map iframe {
    height: 300px;
  }

  .contacts-desktop-map {
    display: none;
  }

  .contact-social {
    padding-top: 22px;
  }

  .contact-social-icons {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }

  .contact-social-icon {
    justify-items: center;
    grid-template-columns: 1fr;
    gap: 6px;
    min-width: 0;
  }

  .contact-social-badge {
    width: 36px;
    height: 36px;
  }

  .contact-social-badge svg {
    width: 28px;
    height: 28px;
  }

  .contact-social-badge img {
    width: 32px;
    height: 32px;
  }

  .contact-social-label {
    font-size: 10px;
    line-height: 1.15;
    text-align: center;
  }

  .contact-social-footer .contact-social-icons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }

  .contact-social-footer .contact-social-icon {
    display: block;
    flex: 0 0 38px;
    width: 38px;
    min-width: 38px;
    grid-template-columns: none;
  }

  .contact-social-footer .contact-social-badge {
    width: 28px;
    height: 28px;
  }

  .contact-social-footer .contact-social-badge img {
    width: 24px;
    height: 24px;
  }

  .max-bot-card {
    grid-template-columns: auto 1fr;
    gap: 16px;
    padding: 22px;
  }

  .max-bot-mark {
    width: 58px;
    height: 58px;
  }

  .max-bot-mark svg {
    width: 32px;
    height: 32px;
  }

  .max-bot-mark img {
    width: 58px;
    height: 58px;
  }

  .max-bot-card em {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .max-bot-card-footer {
    align-items: start;
    grid-template-columns: 36px 1fr;
    gap: 8px 10px;
    padding: 12px;
  }

  .max-bot-card-footer .max-bot-mark {
    grid-row: 1 / 3;
    width: 34px;
    height: 34px;
  }

  .max-bot-card-footer .max-bot-mark svg {
    width: 21px;
    height: 21px;
  }

  .max-bot-card-footer .max-bot-mark img {
    width: 32px;
    height: 32px;
  }

  .max-bot-card-footer em {
    grid-column: 2;
    justify-self: start;
  }

  .contacts-list .button-row .button {
    width: 100%;
  }

  .map-placeholder {
    min-height: 300px;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .brand-copy strong {
    font-size: 14px;
  }

  .brand-copy small {
    display: none;
  }

  .brand-logo {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }

  .header-inner {
    min-height: 68px;
    gap: 10px;
  }

  .brand {
    flex: 1 1 auto;
  }

  .menu-toggle {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    margin-left: 8px;
  }

  .main-nav {
    top: 82px;
    right: 14px;
    left: auto;
    width: min(340px, calc(100vw - 28px));
    max-height: calc(100vh - 104px);
    padding: 10px;
    overflow-y: auto;
    border-radius: 18px;
  }

  .main-nav ul {
    gap: 0;
  }

  .main-nav a {
    padding: 10px 12px;
    border-radius: 12px;
    text-align: center;
  }

  .main-nav .menu-item-tax-download a {
    display: flex;
    min-height: 0;
    margin-top: 6px;
    padding: 12px 14px;
    white-space: normal;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .footer-bottom span:last-child {
    margin-left: 0;
  }
}

/* Live map and doctor landing pages */
.hero-trust {
  max-width: 350px;
  grid-template-columns: 1fr 1fr;
}

.hero-trust.hero-trust--badges-only {
  max-width: 320px;
  grid-template-columns: 1fr;
}

.hero-trust .hero-trust-badges {
  display: grid;
  width: min(100%, 308px);
  align-items: start;
  grid-template-columns: repeat(2, 150px);
  gap: 8px;
}

.hero-trust > div.hero-trust-badges:first-child {
  grid-template-columns: repeat(2, 150px);
  gap: 8px;
}

.hero-trust .hero-trust-badges iframe {
  display: block;
  width: 150px;
  height: 50px;
  border: 0;
}

@media (max-width: 880px) {
  .home-hero {
    padding-top: 0;
  }

  .hero-card {
    width: calc(100% - 28px);
    position: relative;
    min-height: 520px;
    margin-inline: auto;
    display: block;
    border-right: 1px solid var(--line);
    border-left: 1px solid var(--line);
    border-radius: 0 0 25px 25px;
  }

  .hero-copy {
    width: min(68%, 455px);
    min-height: 520px;
    align-self: center;
    padding: 40px 16px 34px 32px;
  }

  .hero-copy h1 {
    max-width: 365px;
    margin-bottom: 18px;
    font-size: 35px;
    line-height: 1.08;
    text-shadow:
      0 1px 0 rgba(255, 255, 255, .92),
      0 6px 18px rgba(255, 255, 255, .9);
  }

  .hero-copy p {
    max-width: 340px;
    margin-bottom: 22px;
    font-size: 13px;
    text-shadow:
      0 1px 0 rgba(255, 255, 255, .92),
      0 5px 14px rgba(255, 255, 255, .88);
  }

  .home-hero .button-row {
    display: flex;
    max-width: 340px;
    gap: 8px;
  }

  .home-hero .button-row .button {
    min-height: 44px;
    padding: 10px 14px;
    font-size: 11px;
  }

  .hero-image {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    width: 62%;
    height: 100%;
    min-height: 520px;
    background-image:
      linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .98) 18%, rgba(255, 255, 255, .82) 31%, rgba(255, 255, 255, .34) 45%, rgba(255, 255, 255, 0) 56%),
      var(--hero-image, url("../img/hero-patient.webp"));
    background-position: left center, 52% center;
    background-size: 100% 100%, cover;
  }

  .hero-image::after {
    display: none;
  }

  .floating-note {
    right: 18px;
    bottom: 18px;
  }

  .hero-trust.hero-trust--badges-only {
    max-width: 308px;
  }

  .hero-trust .hero-trust-badges,
  .hero-trust > div.hero-trust-badges:first-child {
    width: 308px;
    grid-template-columns: repeat(2, 150px);
  }
}

@media (max-width: 640px) {
  .hero-card {
    min-height: 470px;
  }

  .hero-copy {
    width: min(62%, 285px);
    min-height: 470px;
    padding: 30px 8px 94px 18px;
  }

  .hero-copy h1 {
    max-width: min(50vw, 270px);
    font-size: clamp(21px, 5.2vw, 27px);
  }

  .hero-copy p {
    max-width: min(48vw, 245px);
    margin-bottom: 16px;
    font-size: clamp(9.5px, 2.3vw, 11.5px);
    line-height: 1.45;
  }

  .home-hero .button-row {
    max-width: min(50vw, 270px);
    gap: 8px;
  }

  .home-hero .button-row .button {
    min-height: 44px;
    padding: 10px 12px;
    font-size: 10.5px;
  }

  .hero-image {
    width: 62%;
    min-height: 470px;
    background-position: left center, 52% center;
  }

  .hero-trust.hero-trust--badges-only {
    position: absolute;
    bottom: 22px;
    left: 18px;
    width: 308px;
    max-width: calc(100vw - 56px);
    margin-top: 0;
    padding-top: 13px;
  }
}

@media (max-width: 420px) {
  .hero-card {
    min-height: 440px;
  }

  .hero-copy {
    width: min(62%, 240px);
    min-height: 440px;
    padding: 26px 6px 88px 16px;
  }

  .hero-copy h1 {
    max-width: min(47vw, 220px);
    font-size: clamp(19px, 5.6vw, 23px);
  }

  .hero-copy p {
    max-width: min(46vw, 200px);
    font-size: clamp(9px, 2.5vw, 10.5px);
  }

  .home-hero .button-row {
    display: flex;
    max-width: min(47vw, 220px);
  }

  .home-hero .button-row .button {
    width: auto;
    min-height: 40px;
    padding: 9px 11px;
    font-size: 9.5px;
  }

  .hero-trust.hero-trust--badges-only {
    left: 16px;
    bottom: 18px;
  }

  .hero-image {
    width: 60%;
    min-height: 440px;
    background-position: left center, 52% center;
  }

  .hero-image::after,
  .floating-note {
    display: none;
  }
}

.brand-footer .brand-logo {
  overflow: hidden;
}

.brand-footer .brand-logo img,
.brand-footer .brand-logo .custom-logo {
  border-radius: 50%;
}

.footer-main {
  grid-template-columns: 1.25fr .85fr 1fr;
}

.real-map {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  background: #eaf1f5;
}

.real-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
}

.real-map.map-large {
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.doctor-profile {
  padding: 48px 0 70px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 90% 10%, rgba(119, 19, 189, .1), transparent 28%),
    radial-gradient(circle at 10% 90%, rgba(8, 168, 211, .12), transparent 30%),
    var(--soft);
}

.doctor-profile-grid {
  display: grid;
  max-width: 1050px;
  align-items: start;
  justify-content: center;
  grid-template-columns: minmax(280px, 430px) minmax(0, 620px);
  column-gap: 56px;
  row-gap: 0;
}

.doctor-profile-photo-column {
  display: grid;
  gap: 14px;
  grid-column: 1;
  grid-row: 1 / span 2;
}

.doctor-profile-copy,
.doctor-profile-action-panel {
  grid-column: 2;
}

.doctor-profile-copy {
  grid-row: 1;
}

.doctor-profile-action-panel {
  grid-row: 2;
}

.doctor-profile-photo {
  position: relative;
  max-width: 430px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.doctor-profile-photo::after {
  position: absolute;
  right: -20px;
  bottom: 35px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(8, 168, 211, .7), rgba(119, 19, 189, .8));
  filter: blur(28px);
  content: "";
}

.doctor-profile-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 530px;
  border-radius: 20px;
  object-fit: cover;
  object-position: center 18%;
}

.doctor-profile-photo .doctor-photo-placeholder {
  position: relative;
  z-index: 1;
  height: 530px;
  border-radius: 20px;
}

.doctor-photo-quote {
  max-width: 430px;
  margin: 0;
  padding: 24px 28px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--blue-dark));
  box-shadow: 0 20px 45px rgba(91, 9, 171, .18);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.55;
}

.doctor-editor-content img,
.editable-content-section img {
  max-width: 100%;
  height: auto;
  border-radius: 18px;
}

.doctor-editor-content .gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
}

.doctor-editor-content .gallery-item {
  width: auto !important;
  margin: 0 !important;
}

.doctor-editor-content .gallery-icon img {
  width: 100%;
  border: 1px solid var(--line) !important;
  box-shadow: var(--shadow-small);
}

.doctor-profile-copy h1 {
  margin-bottom: 12px;
}

.doctor-role {
  margin-bottom: 24px;
  color: var(--blue-dark);
  font-size: 17px;
  font-weight: 800;
}

.doctor-profile-copy > p:not(.doctor-role) {
  max-width: 660px;
  color: var(--muted);
  font-size: 15px;
}

.doctor-profile-facts {
  display: grid;
  max-width: 680px;
  margin: 25px 0;
  padding: 20px 0;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  gap: 18px;
}

.doctor-profile-facts strong,
.doctor-profile-facts span {
  display: block;
}

.doctor-profile-facts strong {
  color: var(--violet);
  font-size: 18px;
}

.doctor-profile-facts span {
  color: var(--muted);
  font-size: 10px;
}

.doctor-detail-grid,
.doctor-sections-grid {
  display: grid;
  align-items: start;
  grid-template-columns: .9fr 1.1fr;
  gap: 75px;
}

.doctor-sections {
  background:
    linear-gradient(180deg, rgba(245, 251, 255, .72), rgba(255, 255, 255, 1));
}

.doctor-sections-grid {
  max-width: 1050px;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
}

.doctor-section-card h2 {
  margin-bottom: 24px;
}

.doctor-services-list,
.education-list {
  display: grid;
  max-height: min(480px, 56vh);
  padding-right: 8px;
  margin-right: -8px;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-padding: 8px;
  scroll-snap-type: y proximity;
  gap: 10px;
  overscroll-behavior: contain;
  scrollbar-color: rgba(8, 168, 211, .52) rgba(231, 248, 255, .72);
  scrollbar-width: thin;
}

.doctor-services-list:focus,
.education-list:focus {
  outline: none;
}

.doctor-services-list:focus-visible,
.education-list:focus-visible {
  border-radius: 16px;
  box-shadow: 0 0 0 3px rgba(8, 168, 211, .14);
}

.doctor-services-list::-webkit-scrollbar,
.education-list::-webkit-scrollbar {
  width: 8px;
}

.doctor-services-list::-webkit-scrollbar-track,
.education-list::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(231, 248, 255, .72);
}

.doctor-services-list::-webkit-scrollbar-thumb,
.education-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(8, 168, 211, .65), rgba(126, 23, 214, .42));
}

.doctor-services-list > div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  font-size: 13px;
  box-shadow: var(--shadow-small);
  scroll-snap-align: start;
}

.doctor-services-list .icon-svg {
  width: 20px;
  height: 20px;
  color: var(--blue);
}

.doctor-quote {
  margin: 0;
  padding: 40px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--violet-dark), var(--violet) 62%, var(--blue-dark));
  box-shadow: 0 20px 45px rgba(91, 9, 171, .2);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.55;
}

.education-list > div {
  display: grid;
  align-items: center;
  padding: 16px;
  grid-template-columns: auto 1fr;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  gap: 14px;
  scroll-snap-align: start;
}

.education-list span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  font-size: 11px;
  font-weight: 800;
}

.education-list p {
  margin: 0;
  font-size: 13px;
}

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

.certificate-grid article {
  display: grid;
  min-height: 245px;
  align-content: center;
  justify-items: center;
  padding: 25px;
  border: 1px dashed #acd4e8;
  border-radius: 18px;
  background: var(--soft);
  text-align: center;
}

.certificate-grid article > span {
  display: grid;
  width: 55px;
  height: 55px;
  margin-bottom: 15px;
  place-items: center;
  border-radius: 50%;
  color: var(--blue);
  background: #fff;
}

.certificate-grid strong {
  font-size: 13px;
}

.certificate-grid small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
}

.doctor-editor-content {
  color: var(--muted);
}

.doctor-editor-content .wp-block-gallery,
.doctor-editor-content .blocks-gallery-grid {
  display: grid;
  padding: 0;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  list-style: none;
}

.doctor-editor-content .wp-block-image,
.doctor-editor-content .blocks-gallery-item {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-small);
}

.doctor-editor-content img {
  width: 100%;
  height: auto;
}

.doctor-certificates-section,
.doctor-proof-section {
  background:
    radial-gradient(circle at 8% 12%, rgba(8, 168, 211, .08), transparent 30%),
    radial-gradient(circle at 92% 78%, rgba(119, 19, 189, .08), transparent 28%),
    var(--soft);
}

.doctor-proof-layout {
  display: grid;
  align-items: stretch;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
}

.doctor-proof-layout-single {
  grid-template-columns: minmax(0, 860px);
  justify-content: center;
}

.doctor-proof-column {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.doctor-proof-column .section-heading,
.doctor-proof-column .doctor-work-heading {
  margin-bottom: 20px;
}

.doctor-proof-column .section-heading h2,
.doctor-proof-column .doctor-work-heading h2 {
  font-size: clamp(28px, 3vw, 40px);
}

.doctor-proof-column .doctor-editor-content {
  margin-bottom: 18px;
}

.doctor-proof-column .doctor-certificates-carousel,
.doctor-proof-column .doctor-work-frame {
  width: 100%;
  max-width: none;
  flex: 1 1 auto;
  margin-left: 0;
}

.doctor-proof-column .doctor-certificates-carousel {
  padding: 14px 12px 10px;
}

.doctor-proof-column .doctor-certificates-track {
  padding-inline: max(14px, calc((100% - clamp(220px, 26vw, 330px)) / 2));
}

.doctor-proof-column .doctor-certificate-card {
  width: clamp(220px, 26vw, 330px);
}

.doctor-proof-column .doctor-certificate-card.is-portrait {
  width: clamp(170px, 18vw, 240px);
}

.doctor-proof-column .doctor-certificate-card img {
  max-height: clamp(190px, 22vw, 285px);
}

.doctor-proof-column .doctor-certificate-card.is-portrait img {
  max-height: clamp(240px, 31vw, 360px);
}

.doctor-proof-column.doctor-work-carousel {
  display: flex;
}

.doctor-proof-column .doctor-work-frame {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 291px;
  padding: 14px 12px 10px;
  align-items: stretch;
  border: 1px solid rgba(8, 168, 211, .22);
  border-radius: 28px;
  background: rgba(255, 255, 255, .58);
  box-shadow: 0 18px 45px rgba(11, 27, 70, .06);
  gap: 12px;
}

.doctor-proof-column .doctor-work-frame > .certificate-carousel-button {
  align-self: center;
}

.doctor-proof-column .doctor-work-window {
  display: flex;
  width: 100%;
  min-height: 263px;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 4px 0 14px;
  border-radius: 0;
}

.doctor-proof-column .doctor-work-track {
  width: 100%;
  height: 100%;
  align-items: center;
}

.doctor-proof-column .doctor-work-copy {
  display: none;
}

.doctor-proof-column .doctor-work-heading p,
.doctor-proof-column .before-after-label {
  display: none;
}

.doctor-proof-column .doctor-work-slide {
  display: flex;
  min-width: 100%;
  height: 100%;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.doctor-proof-column .before-after {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}

.doctor-proof-column .before-after.is-portrait {
  width: 100%;
  aspect-ratio: auto;
}

.doctor-certificates-layout {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, .78fr) minmax(520px, 1fr);
  gap: 44px;
}

.doctor-certificates-layout-single {
  display: block;
}

.doctor-certificates-section .section-heading {
  margin-bottom: 22px;
}

.doctor-certificates-carousel {
  display: grid;
  width: 100%;
  max-width: 860px;
  margin-left: auto;
  padding: 18px 16px 12px;
  align-items: center;
  border: 1px solid rgba(8, 168, 211, .22);
  border-radius: 28px;
  background: rgba(255, 255, 255, .58);
  box-shadow: 0 18px 45px rgba(11, 27, 70, .06);
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
}

.doctor-certificates-window {
  overflow-x: hidden;
  overflow-y: hidden;
  padding: 4px 0 14px;
}

.doctor-certificates-track {
  display: flex;
  padding-inline: max(18px, calc((100% - clamp(260px, 30vw, 430px)) / 2));
  gap: 16px;
  transform: translate3d(0, 0, 0);
  transition: transform .34s ease;
  will-change: transform;
}

.doctor-certificates-track.is-jumping {
  transition: none;
}

.doctor-certificate-card {
  display: flex;
  width: clamp(260px, 30vw, 430px);
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: 24px;
  color: var(--ink);
  background: transparent;
  box-shadow: none;
  opacity: 1;
  text-decoration: none;
  transition: transform .2s ease;
}

.doctor-certificate-card.is-portrait {
  width: clamp(190px, 20vw, 280px);
}

.doctor-certificate-card.is-active,
.doctor-certificate-card:hover {
  opacity: 1;
  transform: none;
}

.doctor-certificate-card img {
  display: block;
  width: 100%;
  height: auto;
  max-height: clamp(210px, 23vw, 315px);
  border: 0;
  border-radius: 24px;
  background: transparent;
  object-fit: contain;
}

.doctor-certificate-card.is-portrait img {
  width: auto;
  max-width: 100%;
  max-height: clamp(260px, 34vw, 400px);
}

.doctor-certificate-card span {
  display: none;
}

.certificate-carousel-button {
  display: grid;
  width: 38px;
  height: 38px;
  margin: 0;
  place-items: center;
  border: 1px solid rgba(8, 168, 211, .35);
  border-radius: 999px;
  color: var(--blue);
  background: #fff;
  box-shadow: var(--shadow-small);
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
  transition: transform .2s ease, border-color .2s ease, color .2s ease;
}

.certificate-carousel-button:hover {
  border-color: var(--blue);
  color: var(--violet);
  transform: translateY(-1px);
}

.certificate-carousel-button[hidden] {
  display: none;
}

.doctor-work-section {
  background:
    radial-gradient(circle at 8% 12%, rgba(8, 168, 211, .08), transparent 30%),
    radial-gradient(circle at 92% 78%, rgba(119, 19, 189, .08), transparent 28%),
    var(--soft);
}

.doctor-work-carousel {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, .78fr) minmax(520px, 1fr);
  gap: 44px;
  padding-top: 0;
  padding-bottom: 0;
}

.doctor-proof-column.doctor-work-carousel {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.doctor-proof-column.doctor-work-carousel.is-single .doctor-work-frame {
  display: flex;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  align-items: center;
  justify-content: center;
}

.doctor-proof-column.doctor-work-carousel.is-single .doctor-work-window,
.doctor-proof-column.doctor-work-carousel.is-single .doctor-work-track {
  width: 100%;
}

.doctor-proof-column.doctor-work-carousel.is-single .doctor-work-slide {
  width: 100%;
  min-width: 100%;
}

.doctor-proof-column.doctor-work-carousel.is-single .before-after {
  width: 100%;
  flex: 1 1 auto;
}

.doctor-work-heading {
  display: block;
  margin-bottom: 0;
}

.doctor-work-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 3.4vw, 47px);
  line-height: 1.08;
}

.doctor-work-heading p {
  max-width: 520px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.doctor-work-frame {
  display: grid;
  width: 100%;
  max-width: 860px;
  margin-left: auto;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.doctor-work-window {
  overflow: hidden;
  border-radius: 28px;
}

.doctor-work-track {
  display: flex;
  transition: transform .25s ease;
}

.doctor-work-slide {
  display: grid;
  min-width: 100%;
  grid-template-columns: minmax(180px, .42fr) minmax(260px, max-content);
  gap: 22px;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border: 1px solid rgba(8, 168, 211, .22);
  border-radius: 28px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 18px 45px rgba(11, 27, 70, .06);
}

.doctor-work-copy {
  padding: 8px 0;
}

.doctor-work-copy h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(22px, 2.1vw, 28px);
  line-height: 1.15;
}

.doctor-work-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}

.before-after {
  --split: 50%;
  --work-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  width: min(100%, 720px);
  aspect-ratio: var(--work-ratio);
  justify-self: center;
  min-height: 0;
  border: 1px solid rgba(8, 168, 211, .16);
  border-radius: 24px;
  background: #fff;
  cursor: ew-resize;
  touch-action: none;
  user-select: none;
}

.before-after.is-portrait {
  width: min(100%, 340px);
}

.before-after-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.before-after-after {
  clip-path: inset(0 0 0 var(--split));
}

.before-after::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split);
  z-index: 3;
  width: 2px;
  background: rgba(255, 255, 255, .95);
  transform: translateX(-1px);
  pointer-events: none;
}

.before-after-label {
  position: absolute;
  top: 18px;
  z-index: 4;
  padding: 8px 12px;
  border: 1px solid rgba(8, 168, 211, .16);
  border-radius: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, .92);
  font-weight: 800;
  box-shadow: var(--shadow-small);
}

.before-label {
  left: 18px;
}

.after-label {
  right: 18px;
}

.before-after-handle {
  position: absolute;
  top: 50%;
  left: var(--split);
  z-index: 5;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(8, 168, 211, .28);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 10px 28px rgba(8, 168, 211, .28);
  cursor: ew-resize;
  font-size: 22px;
  font-weight: 900;
  transform: translate(-50%, -50%);
}

.before-after-handle span {
  transform: translateY(-1px);
}

.before-after.is-dragging .before-after-handle {
  transform: translate(-50%, -50%) scale(1.04);
}

.services-catalog-section {
  background:
    radial-gradient(circle at 95% 5%, rgba(119, 19, 189, .06), transparent 24%),
    #fff;
}

.service-catalog {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.service-category {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-small);
}

.service-category-head {
  display: flex;
  align-items: center;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
  gap: 14px;
}

.service-category-head h2 {
  margin: 0;
  font-size: 20px;
}

.service-price-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 24px;
  border-bottom: 1px solid #edf3f8;
  gap: 18px;
}

.service-price-list > div:last-child {
  border-bottom: 0;
}

.service-price-list span {
  min-width: 0;
  color: #4f5b79;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.service-price-list strong {
  flex: 0 0 auto;
  color: var(--violet);
  font-size: 13px;
  text-align: right;
}

.price-note {
  display: grid;
  align-items: center;
  margin-top: 25px;
  padding: 20px 23px;
  grid-template-columns: auto 1fr auto;
  border: 1px solid #cce6f2;
  border-radius: 16px;
  background: var(--soft);
  gap: 14px;
}

.price-note > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  color: var(--blue);
  background: #fff;
}

.price-note p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.home-review-carousel {
  padding: 24px 0 35px;
}

.reviews-source-section {
  padding: 0 0 50px;
}

.review-carousel {
  display: grid;
  align-items: center;
  padding: 27px 30px;
  grid-template-columns: .75fr 1.25fr auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 15%, rgba(8, 168, 211, .55), transparent 28%),
    linear-gradient(125deg, #121846, #5710a3);
  box-shadow: 0 18px 45px rgba(30, 34, 91, .18);
  gap: 28px;
}

.review-carousel .eyebrow,
.review-carousel .text-link {
  color: #fff;
}

.review-carousel h2 {
  margin-bottom: 14px;
  font-size: 27px;
}

.carousel-controls {
  display: flex;
  gap: 7px;
}

.carousel-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 37px;
  height: 37px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  cursor: pointer;
  line-height: 0;
}

.carousel-controls button .icon-svg {
  display: block;
  width: 18px;
  height: 18px;
  margin: 0;
}

.review-carousel-window {
  overflow: hidden;
}

.review-carousel-track {
  display: flex;
  align-items: flex-start;
  transition: transform .35s ease;
}

.review-carousel-track article {
  min-width: 100%;
  padding: 20px 24px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 16px;
  background: rgba(255, 255, 255, .1);
}

.review-carousel-track p {
  margin: 8px 0 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.review-carousel-track small {
  color: rgba(255, 255, 255, .66);
  font-size: 10px;
}

.reviews-page-carousel {
  padding: 38px;
  border-radius: 30px;
  background: linear-gradient(135deg, #421380, #7916ba 60%, #137daf);
  box-shadow: 0 26px 60px rgba(65, 20, 126, .22);
}

.reviews-carousel-heading {
  display: flex;
  margin-bottom: 25px;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.reviews-carousel-heading h2,
.reviews-carousel-heading .eyebrow {
  color: #fff;
}

.reviews-page-carousel .review-card {
  min-height: 0;
  border: 1px solid rgba(255, 255, 255, .18);
  color: #fff;
  background: rgba(255, 255, 255, .1);
  box-shadow: none;
}

.review-text {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
}

.review-text.is-expanded {
  display: block;
  overflow: visible;
}

.review-more {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  color: rgba(255, 255, 255, .85);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  text-decoration: underline;
}

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

.doctor-personal-reviews-section {
  padding: 0 0 34px;
  background: var(--soft);
}

.doctor-personal-reviews {
  border-radius: 26px;
}

.doctor-personal-reviews.is-single .carousel-controls {
  display: none;
}

.doctor-personal-reviews .review-carousel-window {
  min-width: 0;
}

.reviews-page-carousel .review-card h3,
.reviews-page-carousel .review-card p,
.reviews-page-carousel .review-card small {
  color: #fff;
}

.review-source-links {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.review-source-links a {
  text-decoration: underline;
}

@media (max-width: 720px) {
  .reviews-page-carousel {
    padding: 24px;
  }

  .reviews-carousel-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .review-carousel {
    padding: 20px;
    gap: 18px;
  }

  .review-carousel-track article,
  .reviews-page-carousel .review-card {
    padding: 18px;
  }

  .review-carousel-track p,
  .reviews-page-carousel .review-card p {
    font-size: 14px;
    line-height: 1.55;
  }

  .review-text {
    -webkit-line-clamp: 8;
  }

  .home-review-carousel {
    padding: 14px 0 20px;
  }

  .reviews-source-section {
    padding: 0 0 32px;
  }

  .home-review-carousel .review-carousel {
    align-items: start;
    padding: 18px 20px 20px;
    gap: 16px;
  }

  .home-review-carousel .review-carousel-intro {
    display: grid;
    align-items: end;
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
  }

  .home-review-carousel .review-carousel-intro .eyebrow,
  .home-review-carousel .review-carousel-intro h2 {
    grid-column: 1;
  }

  .home-review-carousel .review-carousel-intro h2 {
    max-width: 260px;
    margin: 0;
    font-size: 26px;
    line-height: 1.08;
  }

  .home-review-carousel .carousel-controls {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: end;
    gap: 6px;
  }

  .home-review-carousel .carousel-controls button {
    width: 34px;
    height: 34px;
  }

  .home-review-carousel .review-carousel-track article {
    padding: 18px 20px;
    border-radius: 16px;
  }

  .home-review-carousel .review-carousel-track p {
    margin: 8px 0 10px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.48;
  }

  .home-review-carousel .review-text {
    -webkit-line-clamp: 6;
  }

  .home-review-carousel .review-more {
    display: block;
    margin: 0 0 6px;
  }

  .home-review-carousel .review-carousel-track small {
    display: block;
    font-size: 11px;
  }

  .home-review-carousel .text-link {
    justify-self: start;
  }
}

.selected-doctor {
  display: flex;
  align-items: center;
  padding: 14px;
  border: 1px solid #cce6f2;
  border-radius: 13px;
  background: var(--soft);
  gap: 12px;
}

.selected-doctor > .icon-svg {
  width: 30px;
  height: 30px;
  color: var(--blue);
}

.selected-doctor small,
.selected-doctor strong,
.selected-doctor span {
  display: block;
}

.selected-doctor small,
.selected-doctor span {
  color: var(--muted);
  font-size: 9px;
}

.selected-doctor strong {
  color: var(--violet);
  font-size: 13px;
}

.page-hero-inner-simple {
  display: block;
}

.page-hero-inner-simple > div {
  max-width: 720px;
}

.form-response-note {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 12px 14px;
  border-radius: 11px;
  color: var(--blue-dark);
  background: var(--soft);
  font-size: 10px;
  font-weight: 700;
  gap: 9px;
}

.form-response-note .icon-svg {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
}

.form-card button[disabled] {
  opacity: .65;
  cursor: not-allowed;
}

.form-card button[type="submit"][disabled] {
  cursor: progress;
}

@media (max-width: 880px) {
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }

  .doctor-profile-grid,
  .doctor-detail-grid,
  .doctor-sections-grid,
  .doctor-certificates-layout,
  .doctor-proof-layout,
  .doctor-work-carousel {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .doctor-profile-photo-column,
  .doctor-profile-copy,
  .doctor-profile-action-panel {
    grid-column: auto;
    grid-row: auto;
  }

  .doctor-profile-copy {
    order: 1;
  }

  .doctor-profile-photo-column {
    order: 2;
  }

  .doctor-profile-action-panel {
    order: 3;
  }

  .doctor-profile-action-panel .doctor-profile-schedule {
    margin-top: 0;
  }

  .doctor-profile-schedule > div {
    width: 100%;
    min-width: 0;
  }

  .doctor-profile-windows {
    display: grid;
    max-width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .doctor-profile-schedule .schedule-window-chip {
    min-width: 0;
    padding: 8px 7px;
    border-radius: 12px;
  }

  .doctor-profile-schedule .schedule-window-chip span {
    font-size: 7px;
  }

  .doctor-profile-schedule .schedule-window-chip strong {
    font-size: 10px;
    line-height: 1.1;
    white-space: nowrap;
  }

  .doctor-certificates-carousel {
    max-width: none;
    margin-left: 0;
  }

  .doctor-work-slide {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .doctor-profile-photo {
    max-width: 520px;
  }

  .doctor-photo-quote {
    max-width: 520px;
  }

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

  .doctor-editor-content .wp-block-gallery,
  .doctor-editor-content .blocks-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .review-carousel {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 720px) {
  .hero-trust {
    max-width: none;
  }

  .real-map,
  .real-map.map-large {
    min-height: 360px;
    border-radius: 0;
  }

  .doctor-profile {
    padding: 28px 0 48px;
  }

  .doctor-profile-photo img {
    height: 430px;
  }

  .doctor-profile-photo .doctor-photo-placeholder {
    height: 430px;
  }

  .doctor-profile-facts,
  .certificate-grid,
  .footer-main,
  .doctor-editor-content .wp-block-gallery,
  .doctor-editor-content .blocks-gallery-grid {
    grid-template-columns: 1fr;
  }

  .doctor-profile-facts {
    gap: 12px;
  }

  .doctor-services-list,
  .education-list {
    max-height: 360px;
  }

  .doctor-quote {
    padding: 28px;
    font-size: 17px;
  }

  .doctor-certificates-carousel {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 14px 12px 12px;
    border-radius: 22px;
    overflow: hidden;
  }

  .doctor-certificates-window {
    width: 100%;
    max-height: none;
    padding: 0 0 12px;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .doctor-certificates-track {
    padding-inline: max(12px, calc((100% - min(70vw, 300px)) / 2));
    gap: 12px;
  }

  .doctor-certificate-card {
    width: min(70vw, 300px);
    flex: 0 0 min(70vw, 300px);
    min-height: 0;
    padding: 0;
  }

  .doctor-certificate-card.is-portrait {
    width: min(54vw, 230px);
    flex-basis: min(54vw, 230px);
  }

  .doctor-certificate-card.is-active,
  .doctor-certificate-card:hover {
    opacity: 1;
    transform: none;
  }

  .doctor-certificate-card img {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 44vh;
  }

  .doctor-certificate-card.is-portrait img {
    width: auto;
    max-width: 100%;
    max-height: 58vh;
  }

  .doctor-certificates-carousel .certificate-carousel-button {
    position: absolute;
    z-index: 2;
    top: 50%;
    width: 36px;
    height: 36px;
    transform: translateY(-50%);
  }

  .doctor-certificates-carousel .certificate-carousel-button:hover {
    transform: translateY(-50%);
  }

  .doctor-certificates-carousel .certificate-prev {
    left: 2px;
  }

  .doctor-certificates-carousel .certificate-next {
    right: 2px;
  }

  .doctor-work-carousel {
    padding-top: 0;
    padding-bottom: 0;
  }

  .doctor-work-frame {
    position: relative;
    display: block;
    max-width: none;
    margin-left: 0;
  }

  .doctor-proof-column .doctor-work-frame {
    display: block;
  }

  .doctor-work-frame > .certificate-carousel-button {
    position: absolute;
    z-index: 4;
    top: 50%;
    width: 38px;
    height: 38px;
    transform: translateY(-50%);
  }

  .doctor-work-frame > .certificate-carousel-button:hover {
    transform: translateY(-50%);
  }

  .doctor-work-frame .work-prev {
    left: 8px;
  }

  .doctor-work-frame .work-next {
    right: 8px;
  }

  .doctor-work-slide {
    padding: 16px;
  }

  .doctor-work-copy {
    padding-right: 0;
  }

  .before-after {
    aspect-ratio: var(--work-ratio);
    min-height: 0;
  }

  .before-after-label {
    top: 12px;
    padding: 6px 9px;
    font-size: 14px;
  }

  .before-label {
    left: 12px;
  }

  .after-label {
    right: 12px;
  }

  .before-after-handle {
    width: 48px;
    height: 48px;
    font-size: 19px;
  }

  .certificate-grid article {
    min-height: 190px;
  }

  .service-catalog {
    gap: 14px;
  }

  .service-category-head,
  .service-price-list > div {
    padding-right: 17px;
    padding-left: 17px;
  }

  .service-price-list > div {
    align-items: flex-start;
  }

  .price-note {
    grid-template-columns: auto 1fr;
  }

  .price-note .text-link {
    grid-column: 1 / -1;
  }

  .review-carousel {
    width: calc(100% - 28px);
    padding: 24px;
  }

  .home-review-carousel .review-carousel {
    padding: 16px 18px 18px;
    border-radius: 20px;
    gap: 14px;
  }

  .home-review-carousel .review-carousel-intro h2 {
    max-width: 230px;
    font-size: 24px;
  }

  .home-review-carousel .review-carousel-track article {
    padding: 16px;
  }

  .home-review-carousel .review-carousel-track p {
    font-size: 13px;
    line-height: 1.45;
  }

  .home-review-carousel .review-text {
    -webkit-line-clamp: 5;
  }

  .home-benefits .benefits-grid {
    gap: 10px;
  }

  .home-benefits .benefit-card {
    min-height: 0;
    padding: 12px 10px;
    gap: 9px;
  }

  .home-benefits .line-icon {
    width: 36px;
    height: 36px;
  }

  .home-benefits .benefit-card h3 {
    font-size: 13px;
  }

  .home-benefits .benefit-card p {
    font-size: 10px;
    line-height: 1.35;
    -webkit-line-clamp: 3;
  }

  .stats-section .stats-card > div {
    min-height: 84px;
    padding: 12px 8px;
  }

  .stats-section .stats-card strong {
    font-size: 20px;
  }

  .stats-section .stats-card strong .icon-svg {
    width: 25px;
    height: 25px;
  }
}

@media (max-width: 480px) {
  .page-hero-rating--badges-only {
    width: max-content;
    justify-self: center;
    padding: 13px;
  }

  .review-source-badges {
    grid-template-columns: repeat(2, 150px);
    justify-content: center;
  }

  .doctor-work-heading h2 {
    font-size: 30px;
  }

  .doctor-work-heading p,
  .doctor-work-copy p {
    font-size: 16px;
  }

  .doctor-work-copy h3 {
    font-size: 24px;
  }

  .before-after {
    min-height: 0;
  }

  .service-price-list > div {
    align-items: stretch;
    flex-direction: column;
    gap: 6px;
  }

  .service-price-list strong {
    text-align: left;
  }

  .schedule-doctor-actions {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
}

@media (max-width: 350px) {
  .review-source-badges {
    width: 150px;
    grid-template-columns: 150px;
  }
}

@media (max-width: 880px) {
  .site-header .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: clamp(14px, 4vw, 28px) !important;
    left: auto !important;
    width: max-content !important;
    min-width: 230px;
    max-width: calc(100vw - 28px) !important;
    max-height: calc(100vh - 110px);
    margin: 0 !important;
    padding: 18px 20px;
    overflow-y: auto;
    box-sizing: border-box;
    border: 1px solid rgba(151, 211, 237, .55);
    border-radius: 22px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 20px 54px rgba(11, 27, 70, .12);
  }

  .site-header .main-nav ul {
    width: auto;
    min-width: 0;
    justify-items: center;
  }

  .site-header .main-nav li {
    width: auto;
    min-width: 0;
  }

  .site-header .main-nav a {
    width: auto;
    min-width: 0;
    box-sizing: border-box;
    white-space: nowrap;
  }

  .site-header .main-nav .menu-item-tax-download a {
    width: 100%;
    max-width: 245px;
    line-height: 1.25;
    white-space: normal;
  }
}

@media (max-width: 520px) {
  .site-header .main-nav {
    right: 12px !important;
    left: auto !important;
    min-width: 220px;
    max-width: calc(100vw - 24px) !important;
    padding: 16px;
    border-radius: 20px;
  }

  .site-header .main-nav a {
    padding: 9px 11px;
    font-size: 14px;
  }
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-800.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}
