@font-face {
  font-family: Manrope;
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/manrope-cyrillic.woff2) format('woff2-variations');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/manrope-latin.woff2) format('woff2-variations');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/manrope-latin-ext.woff2) format('woff2-variations');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
:root {
  --blue: #004ab8;
  --bright: #005aff;
  --ink: #16191f;
  --muted: #56606f;
  --line: #dfe5ed;
  --wash: #f5f7fb;
  --white: #fff;
  --radius: 12px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  color: var(--ink);
  font-family: Manrope, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  background: white;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}
h1,
h2,
h3,
h4 {
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.015em;
}
h2 {
  font-size: clamp(32px, 3.7vw, 48px);
  margin-bottom: 24px;
}
h3 {
  font-size: 24px;
}
p {
  margin-bottom: 20px;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--bright);
  outline-offset: 5px;
}
.container {
  width: min(1240px, calc(100% - 80px));
  margin-inline: auto;
}
.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.98);
  z-index: 20;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: 98px;
}
.logo {
  width: 238px;
  flex-shrink: 0;
}
.header nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-left: auto;
  font-size: 15px;
  font-weight: 500;
}
.header nav a:hover {
  color: var(--blue);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 25px;
  background: var(--blue);
  color: white;
  border: 1px solid var(--blue);
  border-radius: 7px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: #003b93;
  transform: translateY(-2px);
}
.button.small {
  min-height: 43px;
  padding: 10px 18px;
  font-size: 14px;
}
.button.secondary {
  background: white;
  color: var(--blue);
  border-color: var(--line);
}
.button:disabled {
  opacity: 0.5;
  cursor: wait;
  transform: none;
}
.text-link {
  display: inline-block;
  color: var(--blue);
  font-weight: 600;
  font-size: 16px;
  border-bottom: 1px solid #a4bce2;
  padding-bottom: 3px;
}
.text-link:hover {
  border-color: var(--blue);
}
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 13px;
  min-height: 44px;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1.06fr;
  gap: 52px;
  padding-top: 44px;
  padding-bottom: 54px;
  min-height: 655px;
}
.hero-copy {
  padding: 42px 0 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 25px;
}
.hero h1 {
  font-size: clamp(50px, 5.8vw, 78px);
  line-height: 1.04;
  max-width: 480px;
  margin-bottom: 26px;
  letter-spacing: -0.055em;
}
.specialty {
  font-size: 22px;
  line-height: 1.6;
  max-width: 450px;
  margin-bottom: 10px;
}
.degree {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 28px;
}
.hero-actions {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-caption {
  white-space: pre-line;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--blue);
  border-left: 2px solid var(--blue);
  padding-left: 20px;
  margin-top: auto;
  margin-bottom: 3px;
  padding-top: 1px;
}
.hero-portrait {
  position: relative;
  min-height: 550px;
  overflow: hidden;
  border-radius: var(--radius);
}
.portrait {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}
.photo-label {
  position: absolute;
  bottom: 26px;
  left: 26px;
  background: white;
  padding: 15px 20px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  font-size: 12px;
  line-height: 1.55;
}
.photo-label span:first-child {
  font-weight: 600;
}
.photo-label span:last-child {
  color: var(--muted);
}
.section {
  padding-block: 92px;
  border-top: 1px solid var(--line);
}
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: stretch;
}
.about-photo {
  min-width: 0;
}
.about-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.about-copy > p {
  margin-bottom: 32px;
}
.about-photo img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
}
.about .eyebrow {
  margin-bottom: 18px;
}
.body-large {
  font-size: 21px;
  line-height: 1.75;
}
.preserve {
  white-space: pre-line;
}
.brand-photo {
  width: 100%;
  margin-top: auto;
}
.brand-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1680/795;
  object-fit: contain;
  border-radius: var(--radius);
}
.services-section,
.reviews-section {
  background: var(--wash);
}
.section-heading {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  margin-bottom: 38px;
}
.section-heading .eyebrow {
  margin-bottom: 18px;
}
.intro {
  font-size: 18px;
  line-height: 1.85;
  max-width: 680px;
  margin-bottom: 0;
}
.service {
  border-top: 1px solid #ced7e5;
}
.service:last-child {
  border-bottom: 1px solid #ced7e5;
}
.service .service-summary {
  display: grid;
  grid-template-columns: 40px 1fr auto 44px;
  gap: 22px;
  align-items: center;
  cursor: pointer;
  list-style: none;
  padding: 24px 0;
  min-height: 92px;
}
.service .service-summary::-webkit-details-marker,
.education-group summary::-webkit-details-marker {
  display: none;
}
.service-number {
  font-size: 14px;
  color: var(--muted);
  align-self: start;
  padding-top: 5px;
}
.service-title {
  font-size: 20px;
  line-height: 1.55;
  font-weight: 500;
  max-width: 710px;
}
.service-price {
  font-size: 18px;
  font-weight: 600;
  color: var(--blue);
  white-space: nowrap;
}
.service-action {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  font-size: 32px;
  line-height: 1;
  color: var(--blue);
  font-weight: 400;
}
.service-minus {
  display: none;
}
.service[open] .service-plus {
  display: none;
}
.service[open] .service-minus {
  display: inline;
}
.service[open] .service-action {
  color: var(--blue);
}
.service[open] .service-title {
  color: var(--blue);
}
.service-body {
  padding: 0 88px 32px 62px;
  max-width: 1000px;
  font-size: 18px;
}
.prices {
  max-width: 420px;
  margin: 20px 0;
}
.prices div {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.prices dt {
  color: var(--muted);
}
.prices dd {
  font-weight: 600;
  margin: 0;
}
.fineprint {
  font-size: 14px;
  color: var(--muted);
  margin-top: 20px;
  margin-bottom: 0;
}
.education-group {
  border-top: 1px solid var(--line);
}
.education-group > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
  cursor: pointer;
  padding: 25px 0;
}
.education-group summary h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.015em;
}
.education-group summary > span {
  color: var(--blue);
  font-size: 14px;
  white-space: nowrap;
}
.education-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-bottom: 35px;
}
.education-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.education-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.education-card .institution-logo {
  width: 62px;
  height: 62px;
  object-fit: contain;
}
.education-year {
  font-size: 16px;
  color: var(--blue);
  font-weight: 500;
  line-height: 1.6;
  margin: 0;
}
.education-card h4 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0;
  margin-bottom: 14px;
}
.education-card p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 26px;
}
.education-card .text-link {
  margin-top: auto;
  align-self: flex-start;
  font-size: 15px;
}
.experience {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  padding-top: 64px;
  border-top: 1px solid var(--line);
}
.experience h3 {
  font-size: 30px;
}
.experience-row {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 25px;
  padding: 0 0 28px;
}
.experience-row p:last-child {
  font-size: 18px;
  margin: 0;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.review {
  margin: 0;
  background: white;
  border: 1px solid var(--line);
  padding: 30px;
  border-radius: 10px;
}
.review figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 25px;
}
.rating {
  color: var(--blue);
  font-size: 15px;
  font-weight: 600;
}
.review blockquote {
  margin: 0;
  font-size: 17px;
  line-height: 1.8;
}
.contacts {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 90px;
  align-items: stretch;
}
.contact-copy .body-large {
  font-size: 20px;
  max-width: 420px;
}
.contact-phone {
  display: block;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 500;
  color: var(--blue);
  margin-top: 24px;
  margin-bottom: 8px;
  letter-spacing: -0.035em;
}
.contact-email {
  font-size: 18px;
  border-bottom: 1px solid var(--line);
}
.contact-details {
  margin: 32px 0;
}
.contact-details > div {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
}
.contact-details dt {
  font-size: 15px;
  color: var(--muted);
}
.contact-details dd {
  font-size: 17px;
  margin: 0;
}
.contact-photos {
  position: relative;
  min-width: 0;
  min-height: 360px;
  overflow: hidden;
  border-radius: var(--radius);
}
.clinic-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% center;
}
.location-photo {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 12px;
}
.footer {
  background: var(--wash);
  border-top: 1px solid var(--line);
  padding: 40px 0;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  font-size: 16px;
}
.footer-top .logo {
  width: 215px;
}
.legal {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  margin: 32px 0 0;
}
.mobile-book {
  display: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: fixed;
  top: -80px;
  left: 20px;
  background: var(--blue);
  color: white;
  padding: 12px;
  z-index: 100;
}
.skip:focus {
  top: 10px;
}
.preview-bar {
  background: var(--blue);
  color: white;
  text-align: center;
  padding: 9px;
  font-size: 12px;
}
.preview-bar a {
  text-decoration: underline;
  margin-left: 14px;
}
.scan-dialog {
  border: 0;
  border-radius: 12px;
  max-width: min(1000px, 94vw);
  width: 100%;
  padding: 24px;
  max-height: 92vh;
}
.scan-dialog::backdrop {
  background: rgba(0, 0, 0, 0.65);
}
.dialog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.dialog-toolbar p {
  font-size: 16px;
  margin: 0;
}
.scan-dialog > img {
  max-height: 70vh;
  margin: auto;
  object-fit: contain;
}
.scan-dialog > .text-link {
  margin-top: 20px;
}
.reveal-in {
  animation: reveal 0.5s ease-out both;
}
@keyframes reveal {
  from {
    opacity: 0.4;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 1500px) {
  .hero {
    gap: 80px;
  }
}
@media (max-width: 1100px) {
  .container {
    width: calc(100% - 48px);
  }
  .header-inner {
    gap: 18px;
    min-height: 84px;
  }
  .header .logo {
    width: 200px;
  }
  .header nav {
    gap: 17px;
    font-size: 14px;
  }
  .header-book {
    display: none;
  }
  .hero {
    gap: 28px;
    min-height: 590px;
  }
  .hero-portrait {
    min-height: 510px;
  }
  .hero-copy {
    padding-top: 24px;
  }
  .hero-caption {
    margin-top: 36px;
  }
  .hero h1 {
    font-size: 64px;
  }
  .specialty {
    font-size: 20px;
  }
  .hero-actions {
    gap: 15px;
  }
  .about,
  .section-heading,
  .experience,
  .contacts {
    gap: 40px;
  }
  .education-card {
    padding: 20px;
  }
  .education-grid {
    gap: 14px;
  }
  .experience-row {
    grid-template-columns: 145px 1fr;
  }
  .review {
    padding: 24px;
  }
  .service .service-summary {
    grid-template-columns: 30px 1fr auto 40px;
    gap: 16px;
  }
}
@media (max-width: 700px) {
  html {
    scroll-padding-top: 86px;
  }
  .container {
    width: calc(100% - 40px);
  }
  .header-inner {
    min-height: 76px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .header .logo {
    width: 205px;
  }
  .menu-toggle {
    display: block;
    margin-left: auto;
  }
  .header nav {
    display: flex;
    order: 3;
    flex-wrap: wrap;
    width: 100%;
    margin: 0;
    gap: 8px 20px;
    padding: 0 0 16px;
    justify-content: flex-start;
  }
  .js .header nav {
    display: none;
  }
  .js .header nav.is-open {
    display: flex;
  }
  .header nav a {
    font-size: 14px;
    padding: 8px 0;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 28px;
    padding-bottom: 40px;
    min-height: auto;
  }
  .hero-copy {
    padding: 0;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 0.12em;
    margin-bottom: 20px;
  }
  .hero h1 {
    font-size: 54px;
    max-width: 310px;
    margin-bottom: 20px;
  }
  .specialty {
    font-size: 19px;
    margin-bottom: 10px;
    max-width: 350px;
  }
  .degree {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .hero-actions {
    width: 100%;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
  }
  .hero-actions .button {
    padding-inline: 18px;
    font-size: 12px;
    min-height: 50px;
  }
  .hero-actions .text-link {
    font-size: 11px;
  }
  .hero-caption {
    font-size: 21px;
    line-height: 1.3;
    white-space: normal;
    margin: 26px 0 0;
    max-width: 300px;
    padding-left: 14px;
  }
  .hero-portrait {
    min-height: 0;
    min-width: 0;
    width: 100%;
    aspect-ratio: 1/1.03;
  }
  .portrait {
    object-position: 70% center;
  }
  .photo-label {
    left: 18px;
    bottom: 18px;
    padding: 12px 16px;
    font-size: 10px;
  }
  .section {
    padding-block: 52px;
  }
  .about {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .about-photo {
    order: 2;
  }
  .about-photo img {
    height: auto;
    min-height: 0;
    aspect-ratio: 1680/1589;
    object-fit: contain;
  }
  .about-copy > p {
    margin-bottom: 24px;
  }
  .body-large {
    font-size: 18px;
    line-height: 1.75;
  }
  .brand-photo {
    margin-top: 0;
  }
  .brand-photo img {
    height: auto;
  }
  .section-heading {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 30px;
  }
  .section-heading h2 {
    margin-bottom: 22px;
  }
  .intro {
    font-size: 17px;
    line-height: 1.85;
  }
  .service .service-summary {
    grid-template-columns: 22px minmax(0, 1fr) 36px;
    gap: 6px 10px;
    padding: 22px 0;
  }
  .service-action {
    grid-column: 3;
    grid-row: 1/3;
    width: 36px;
    height: 44px;
    align-self: center;
    font-size: 30px;
  }
  .service-title {
    font-size: 18px;
    line-height: 1.5;
  }
  .service-price {
    grid-column: 2;
    font-size: 17px;
  }
  .service-number {
    font-size: 12px;
  }
  .service-body {
    padding: 0 0 28px 32px;
    font-size: 17px;
  }
  .education-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-bottom: 22px;
  }
  .education-group > summary {
    gap: 15px;
    align-items: flex-start;
    padding-block: 22px;
  }
  .education-group summary h3 {
    font-size: 20px;
    line-height: 1.45;
  }
  .education-group summary > span {
    white-space: normal;
    font-size: 13px;
    max-width: 100px;
    text-align: right;
  }
  .education-card {
    padding: 24px;
  }
  .education-top {
    margin-bottom: 18px;
  }
  .education-card p {
    font-size: 16px;
  }
  .experience {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 40px;
  }
  .experience h3 {
    margin: 0;
    font-size: 26px;
  }
  .experience-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .review {
    padding: 25px;
  }
  .review figcaption {
    margin-bottom: 18px;
  }
  .contacts {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .contact-phone {
    font-size: 27px;
  }
  .contact-details > div {
    grid-template-columns: 95px 1fr;
    gap: 12px;
  }
  .contact-details dd {
    font-size: 16px;
  }
  .contact-copy > .button {
    width: 100%;
    font-size: 15px;
  }
  .contact-photos {
    min-height: 0;
    aspect-ratio: 1280/954;
  }
  .clinic-photo {
    height: 100%;
    object-position: center;
  }
  .location-photo {
    height: 150px;
  }
  .footer {
    padding: 30px 0 105px;
  }
  .footer-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
  .legal {
    font-size: 12px;
    margin-top: 25px;
  }
  .mobile-book {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 20px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--line);
    z-index: 15;
  }
  .mobile-book .button {
    width: 100%;
    min-height: 50px;
    font-size: 16px;
  }
  .scan-dialog {
    padding: 16px;
  }
  .dialog-toolbar {
    align-items: flex-start;
  }
  .dialog-toolbar .button {
    font-size: 11px;
    min-height: 40px;
    padding: 8px 12px;
  }
  .preview-bar {
    font-size: 10px;
  }
  .preview-bar a {
    display: block;
    margin: 0;
  }
}
@media (max-width: 370px) {
  .container {
    width: calc(100% - 32px);
  }
  .header .logo {
    width: 183px;
  }
  .hero h1 {
    font-size: 47px;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .contact-phone {
    font-size: 24px;
  }
  .service-title {
    font-size: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Full-screen mobile navigation; logo asset is preserved unchanged. */
.menu-open {
  overflow: hidden;
}
.mobile-menu {
  border: 0;
  background: var(--blue);
  color: white;
  position: fixed;
  inset: 0;
  margin: 0;
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  padding: 24px;
  overscroll-behavior: contain;
}
.mobile-menu[open] {
  display: flex;
  flex-direction: column;
  animation: menu-enter 0.22s ease-out;
}
.mobile-menu::backdrop {
  background: var(--blue);
}
.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-shrink: 0;
}
.mobile-menu-logo {
  width: 225px;
  padding: 0;
  background: transparent;
  border-radius: 0;
}
.mobile-menu-logo img {
  filter: brightness(0) invert(1);
}
.menu-close {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 8px;
  background: transparent;
  border: 1px solid #ffffff66;
  border-radius: 6px;
}
.menu-close img {
  filter: brightness(0) invert(1);
}
.mobile-menu .menu-sections {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 42px 0 30px;
}
.mobile-menu .menu-sections a {
  font-size: clamp(25px, 7.7vw, 36px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.035em;
  padding: 4px 0;
  width: fit-content;
}
.mobile-menu .menu-sections a:hover {
  text-decoration: underline;
  text-underline-offset: 8px;
}
.mobile-menu-contacts {
  margin-top: auto;
  border-top: 1px solid #ffffff55;
  padding-top: 23px;
  padding-bottom: calc(4px + env(safe-area-inset-bottom));
  flex-shrink: 0;
}
.menu-contact-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
}
.menu-phone {
  display: block;
  font-size: 25px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -0.035em;
}
.menu-email {
  display: inline-block;
  font-size: 17px;
  margin: 7px 0 16px;
  border-bottom: 1px solid #ffffff66;
}
.menu-address,
.menu-hours {
  font-size: 15px;
  line-height: 1.8;
  max-width: 290px;
  margin-bottom: 6px;
}
.menu-hours {
  white-space: normal;
}
.mobile-menu a:focus-visible,
.mobile-menu button:focus-visible {
  outline-color: white;
  outline-offset: 5px;
}
.menu-toggle {
  padding: 9px;
  border: 0;
  background: transparent;
}
.menu-toggle img {
  width: 26px;
  height: 26px;
}
.menu-toggle:focus-visible {
  outline-color: var(--blue);
}
@keyframes menu-enter {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-height: 700px) {
  .mobile-menu {
    padding: 18px 22px;
  }
  .mobile-menu .menu-sections {
    margin: 22px 0;
    gap: 1px;
  }
  .mobile-menu .menu-sections a {
    font-size: 25px;
  }
  .mobile-menu-contacts {
    padding-top: 16px;
  }
  .menu-phone {
    font-size: 22px;
  }
  .menu-email {
    margin-bottom: 10px;
  }
}
@media (max-width: 350px) {
  .mobile-menu {
    padding: 20px;
  }
  .mobile-menu-logo {
    width: 200px;
  }
  .mobile-menu-top {
    gap: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-menu[open] {
    animation: none;
  }
}

.photo-label span.photo-motto {
  white-space: pre-line;
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.65;
}

.photo-label {
  background: transparent;
  color: white;
  padding: 0 0 0 18px;
  border-left: 2px solid white;
  border-radius: 0;
  left: 28px;
  right: 28px;
  bottom: 30px;
}
.photo-label span.photo-motto {
  color: white;
  font-size: clamp(24px, 2.7vw, 34px);
  font-weight: 500;
  line-height: 1.3;
  text-shadow: 0 1px 8px #0005;
}
.hero-copy > .degree:last-child {
  margin-bottom: 0;
}
@media (max-width: 700px) {
  .photo-label {
    left: 22px;
    right: 22px;
    bottom: 24px;
    padding-left: 15px;
  }
  .photo-label span.photo-motto {
    font-size: 25px;
  }
}
@media (max-width: 350px) {
  .photo-label span.photo-motto {
    font-size: 22px;
  }
}

.scan-close {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 9px;
  background: transparent;
  border: 0;
  border-radius: 6px;
}
.scan-close:hover {
  background: var(--wash);
}
.scan-close img {
  width: 26px;
  height: 26px;
}

/* Portrait-led first screen, contained in the shared page grid. */
.hero.hero-photo {
  display: block;
  min-height: 0;
  padding-top: 28px;
  padding-bottom: 56px;
}
.hero-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 20px;
  min-height: clamp(540px, 52vw, 650px);
  background: #27313d;
  color: white;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(9, 18, 29, 0.64),
    rgba(9, 18, 29, 0.36) 43%,
    rgba(9, 18, 29, 0.04) 75%
  );
  pointer-events: none;
}
.hero-photo .hero-copy {
  position: relative;
  z-index: 1;
  min-height: inherit;
  width: 61%;
  padding: 54px 0 54px 54px;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-motto {
  font-size: clamp(38px, 4.4vw, 60px);
  line-height: 1.17;
  letter-spacing: -0.02em;
  font-weight: 500;
  white-space: pre-line;
  margin: 0 0 auto;
  padding-bottom: 60px;
}
.hero-photo h1 {
  font-size: clamp(30px, 3.3vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
  max-width: none;
}
.hero-photo .specialty {
  font-size: 20px;
  line-height: 1.55;
  max-width: 430px;
  margin-bottom: 12px;
}
.hero-photo .degree {
  font-size: 17px;
  color: white;
  margin: 0;
  line-height: 1.6;
}
@media (max-width: 1100px) {
  .hero-photo .hero-copy {
    padding: 42px 0 42px 38px;
  }
  .hero-photo .specialty {
    font-size: 19px;
    max-width: 360px;
  }
  .hero-motto {
    font-size: clamp(32px, 4.4vw, 48px);
  }
}
@media (max-width: 700px) {
  .hero.hero-photo {
    padding-top: 20px;
    padding-bottom: 40px;
  }
  .hero-stage {
    min-height: 650px;
    border-radius: 16px;
  }
  .hero-image {
    object-position: 69% top;
  }
  .hero-stage::after {
    background: linear-gradient(
      180deg,
      rgba(9, 18, 29, 0.06) 20%,
      rgba(9, 18, 29, 0.38) 45%,
      rgba(9, 18, 29, 0.88) 75%,
      rgba(9, 18, 29, 0.94)
    );
  }
  .hero-photo .hero-copy {
    width: 100%;
    min-height: 650px;
    padding: 28px 24px;
    justify-content: flex-end;
  }
  .hero-motto {
    font-size: 32px;
    line-height: 1.17;
    margin: 0 0 28px;
    padding: 0;
  }
  .hero-photo h1 {
    font-size: 30px;
    margin-bottom: 12px;
  }
  .hero-photo .specialty {
    font-size: 18px;
    margin-bottom: 12px;
    max-width: 320px;
  }
  .hero-photo .degree {
    font-size: 16px;
  }
}
@media (max-width: 370px) {
  .hero-stage,
  .hero-photo .hero-copy {
    min-height: 610px;
  }
  .hero-photo .hero-copy {
    padding: 24px 20px;
  }
  .hero-motto {
    font-size: 28px;
    margin-bottom: 24px;
  }
  .hero-photo h1 {
    font-size: 26px;
  }
  .hero-photo .specialty {
    font-size: 17px;
  }
  .hero-photo .degree {
    font-size: 15px;
  }
}

.education-group summary > .education-action {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  font-size: 32px;
  line-height: 1;
  text-align: center;
  font-weight: 400;
  color: var(--blue);
}
.education-group[open] > summary .service-plus {
  display: none;
}
.education-group[open] > summary .service-minus {
  display: block;
}
.education-group > summary {
  align-items: center;
}

/* Hover and keyboard feedback for expandable sections. */
.service-action,
.education-group summary > .education-action {
  border-radius: 50%;
  transition:
    background-color 0.18s ease,
    color 0.18s ease;
}
.service .service-summary:hover .service-action,
.service .service-summary:focus-visible .service-action,
.education-group > summary:hover .education-action,
.education-group > summary:focus-visible .education-action {
  background: var(--blue);
  color: white;
}
@media (max-width: 700px) {
  .service-action {
    height: 36px;
  }
}

.service-static .service-summary {
  cursor: default;
}

/* Optical alignment with the lowercase height of the adjacent heading. */
@media (min-width: 701px) {
  .section-heading > .intro {
    padding-top: clamp(6px, 0.6vw, 8px);
  }
}

/* Reviews: native swipe and scroll-snap remain usable without JavaScript. */
.reviews-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}
.reviews-heading h2 {
  margin: 0;
}
.review-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-controls[hidden] {
  display: none;
}
.review-count {
  min-width: 60px;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.review-arrow {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--blue);
  border-radius: 50%;
  background: transparent;
  color: var(--blue);
  transition:
    background 0.2s,
    color 0.2s;
}
.review-arrow:hover:not(:disabled) {
  background: var(--blue);
  color: white;
}
.review-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}
.review-arrow svg {
  width: 22px;
  height: 22px;
}
.reviews-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding: 3px 3px 12px;
  margin-inline: -3px;
}
.reviews-track::-webkit-scrollbar {
  display: none;
}
.reviews-track > .review {
  flex: 0 0 calc((100% - 24px) / 2);
  min-width: 0;
  scroll-snap-align: start;
  align-self: stretch;
}
.review blockquote {
  white-space: pre-line;
}
.review-media {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: contain;
  background: var(--wash);
  border-radius: 8px;
  margin-bottom: 24px;
}
.review-media video,
.review-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
}
.review-media-caption {
  font-size: 14px;
  color: var(--muted);
  margin-top: -12px;
}
.reviews-track:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 5px;
}
@media (max-width: 700px) {
  .reviews-heading {
    gap: 14px;
    align-items: center;
    margin-bottom: 25px;
  }
  .review-controls {
    gap: 8px;
  }
  .review-count {
    min-width: 38px;
    font-size: 13px;
  }
  .review-arrow {
    width: 44px;
    height: 44px;
  }
  .reviews-track {
    gap: 16px;
  }
  .reviews-track > .review {
    flex-basis: 100%;
    padding: 25px;
  }
  .mobile-menu {
    padding: 30px 28px;
    overflow-y: auto;
  }
  .mobile-menu .menu-sections {
    gap: 12px;
    margin: 46px 0 34px;
    flex-shrink: 0;
  }
  .mobile-menu .menu-sections a {
    font-size: clamp(28px, 8.5vw, 36px);
    padding: 6px 0;
  }
  .mobile-menu-contacts {
    padding-top: 26px;
  }
  .menu-address,
  .menu-hours {
    font-size: 16px;
  }
  .mobile-menu-logo {
    max-width: calc(100% - 64px);
  }
}
@media (max-width: 700px) and (max-height: 740px) {
  .mobile-menu {
    padding: 24px;
  }
  .mobile-menu .menu-sections {
    margin: 28px 0;
    gap: 8px;
  }
  .mobile-menu .menu-sections a {
    font-size: 28px;
  }
  .mobile-menu-contacts {
    padding-top: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reviews-track {
    scroll-behavior: auto;
  }
  .review-arrow {
    transition: none;
  }
}
/* Align the first slogan line with the portrait's eye line on desktop. */
@media (min-width: 701px) {
  .hero-photo .hero-copy {
    padding-top: clamp(115px, 11.5vw, 150px);
  }
}

.service-title {
  margin: 0;
  letter-spacing: 0;
}
.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 28px;
  font-size: 16px;
}
.profile-links .text-link {
  font-weight: 500;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.social-link {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  transition: opacity 0.2s;
}
.social-link img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.social-link img[src^='/uploads/'] {
  filter: brightness(0) saturate(100%) invert(19.031%) sepia(83.932%) saturate(3054.229%)
    hue-rotate(198.92deg) brightness(85.8%) contrast(128.224%);
}
.social-link:hover {
  opacity: 0.7;
}
.social-links--hero {
  position: absolute;
  z-index: 1;
  right: 54px;
  bottom: 54px;
  max-width: calc(45% - 54px);
  justify-content: flex-end;
}
.social-links--hero .social-link img,
.social-links--menu .social-link img {
  filter: brightness(0) invert(1);
}
.social-links--hero .social-link:focus-visible {
  outline-color: white;
}
.social-links--menu {
  margin: 0 0 18px;
}
.social-links--contacts {
  margin: 24px 0 32px;
}
@media (max-width: 1100px) {
  .social-links--hero {
    right: 38px;
    bottom: 42px;
    max-width: calc(45% - 38px);
  }
}
@media (max-width: 700px) {
  .social-links {
    gap: 10px;
  }
  .hero-stage {
    display: flex;
    flex-direction: column;
  }
  .hero-stage:has(.social-links--hero) .hero-copy {
    flex: 1;
    min-height: 0;
    padding-bottom: 0;
  }
  .social-links--hero {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: none;
    justify-content: flex-start;
    margin: 20px 24px 28px;
  }
}
@media (max-width: 370px) {
  .social-links--hero {
    margin: 18px 20px 24px;
  }
}

/* Loading placeholders reserve the real content's space without obscuring text. */
.skeleton-shape,
img.media-loading {
  background-color: #e7edf5;
  background-image: linear-gradient(
    100deg,
    transparent 25%,
    rgb(255 255 255 / 65%) 48%,
    transparent 72%
  );
  background-size: 220% 100%;
  animation: skeleton-shimmer 1.6s ease-in-out infinite;
}
img.media-loading {
  color: transparent;
}
img.media-load-error {
  background: #f3f5f8;
  color: var(--muted);
}
.skeleton-shape {
  display: block;
  border-radius: 8px;
}
.skeleton-line {
  height: 18px;
  width: 100%;
  margin: 14px 0;
}
.skeleton-line.short {
  width: 45%;
}
.skeleton-line.medium {
  width: 72%;
}
.skeleton-title {
  height: 30px;
  width: 55%;
  margin-bottom: 25px;
}
@keyframes skeleton-shimmer {
  from {
    background-position: 180% 0;
  }
  to {
    background-position: -80% 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .skeleton-shape,
  img.media-loading {
    animation: none;
    background-image: none;
  }
}
