@font-face {
  font-family: Literata;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/literata-cyrillic-ext-regular.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: Literata;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/literata-cyrillic-regular.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Literata;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/literata-latin-regular.woff2") format("woff2");
  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: Literata;
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/literata-cyrillic-ext-italic.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: Literata;
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/literata-cyrillic-italic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Literata;
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/literata-latin-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {

  --serif: Literata, Georgia, "Times New Roman", serif;


  --b-50:  #F0F9FF;
  --b-100: #DBF1FF;
  --b-200: #B8E2FF;
  --b-300: #85CCFF;
  --b-400: #3DAEFF;

  --b-500: #0092FA;
  --b-600: #0673C6;
  --b-700: #0B5998;
  --b-800: #0E4371;
  --b-900: #0E2F4E;

  --paper:     #F6FAFD;
  --paper-2:   #EAF2F9;
  --card:      #FFFFFF;
  --ink:       #0E1A23;
  --ink-2:     #465E6D;
  --ink-3:     #58707F;
  --brand:     var(--b-700);
  --brand-dp:  var(--b-800);
  --rule:      #D6E2EC;
  --rule-str:  var(--b-200);

  --tbd-bg:     #FFF4CE;
  --tbd-border: #8A5A00;


  --t-xs:   .6875rem;
  --t-sm:   .8125rem;
  --t-base: 1rem;
  --t-lg:   1.0625rem;
  --t-xl:   1.25rem;


  --y-1: .5rem;
  --y-2: 1rem;
  --y-3: 2rem;
  --y-4: 3.5rem;
  --y-5: 5.5rem;


  --lift-1: 0 1px 2px rgba(14, 47, 78, .055);
  --lift-2: 0 10px 30px -12px rgba(14, 47, 78, .24), 0 2px 6px rgba(14, 47, 78, .065);


  --glass:      rgba(251, 253, 255, .62);
  --glass-edge: rgba(255, 255, 255, .75);

  --glass-line: rgba(14, 47, 78, .12);
  --glass-blur: 20px;
  --glass-sat:  170%;

  --glass-lift: inset 0 1px 0 var(--glass-edge),
                0 1px 2px rgba(14, 47, 78, .043),
                0 14px 34px -18px rgba(14, 47, 78, .30);


  --ease: cubic-bezier(.22, 1, .36, 1);
  --dur:  .18s;


  --shell:     80rem;
  --gutter:    1.25rem;
  --gutter-lg: 2.5rem;

  --float-lane: 4.9rem;

  --float-lane-left: 3.7rem;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { font-size: 17px; -webkit-text-size-adjust: 100%; }


body {
  margin: 0;

  background:
    radial-gradient(58rem 40rem at 12% -6%,  rgba(0, 146, 250, .17), transparent 60%),
    radial-gradient(48rem 34rem at 88% 2%,   rgba(133, 204, 255, .22), transparent 62%),
    radial-gradient(52rem 46rem at 76% 58%,  rgba(0, 146, 250, .12), transparent 64%),
    radial-gradient(44rem 38rem at 8% 88%,   rgba(61, 174, 255, .13), transparent 62%),
    linear-gradient(180deg, #EDF5FC, #E3EFFA);
  background-attachment: fixed;
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  overflow-wrap: break-word;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}


body::after {
  content: "";
  position: fixed; inset: 0; z-index: 1;
  pointer-events: none; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}




h1, h2, h3, .about__pull, .factbox__title {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.4rem, 1.5rem + 3.9vw, 4rem);
  line-height: 1.04;

  letter-spacing: -0.022em;
}
h1 em { font-style: italic; color: var(--brand); }
h2 {
  font-size: clamp(1.65rem, 1.25rem + 1.7vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.028em;
}
h3 {
  font-size: var(--t-lg); font-family: inherit; font-weight: 600;
  line-height: 1.25; letter-spacing: -0.012em;
}
p  { margin: 0 0 1rem; }


.eyebrow {
  margin: 0 0 .9rem;
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-weight: 600;

  color: var(--ink-2);
}

a { color: var(--brand); text-underline-offset: .18em; }
a:hover { color: var(--brand-dp); }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 3px; }

.shell {
  position: relative; z-index: 2;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}


.skip { position: absolute; left: -9999px; }
.skip:focus-visible {
  left: var(--gutter); top: 2.75rem; z-index: 60;
  padding: .7rem 1rem; background: var(--card);
  border: 2px solid var(--ink); border-radius: 8px;
}



.mockup-bar {
  position: relative; z-index: 40;
  margin: 0; padding: .45rem 1rem;
  background: var(--ink); color: var(--paper);
  font-size: .75rem; letter-spacing: .04em; text-align: center;
}




.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  padding-block: .7rem;
  border-bottom: 1px solid var(--rule);
  background-color: rgba(246, 250, 253, .82);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav { background-color: var(--paper); }
}
@media (prefers-reduced-transparency: reduce) {
  .nav {
    background-color: var(--paper);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}


.nav__inner { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; }


html:lang(kk) .nav__links { gap: .95rem; }
html:lang(kk) .nav__links a { font-size: .86rem; }

.brand { display: inline-flex; align-items: center; text-decoration: none; }


.nav__info {
  margin-right: auto;
  flex: none;
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.nav__hours {
  margin: 0;
  white-space: pre-line;
  font-size: .8125rem;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
}

.nav__phone {
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;

  display: inline-flex;
  align-items: center;
  padding-block: .65rem;
  margin-block: -.65rem;
  width: fit-content;
}
.nav__phone:hover { color: var(--brand); }

.brand__mark {
  display: block;

  height: 6.6rem;
  width: auto;
  margin-block: -.7rem;
  flex: none;
}


.brand__name { display: none; }

.nav__links { display: flex; gap: 1.4rem; }

.nav__links a {
  font-size: 1rem; font-weight: 600; color: var(--ink-2); text-decoration: none;

  white-space: nowrap;
  transition: color var(--dur) var(--ease);
}
.nav__links a:hover { color: var(--ink); }


.nav__links a[aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .45em;
  text-decoration-thickness: 3px;
  text-decoration-color: var(--b-600);
}




.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.9rem; padding: .7rem 1.5rem;
  border-radius: 999px;
  font-size: .9375rem; font-weight: 500; text-decoration: none;
  letter-spacing: -0.005em;
  transition: background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.btn--sm { min-height: 2.6rem; padding: .5rem 1.1rem; font-size: .875rem; }

.nav .btn { font-size: 1rem; }
.btn--primary {
  background: var(--brand); border: 2px solid var(--brand); color: var(--card);
  box-shadow: var(--lift-1);
}
.btn--primary:hover { background: var(--brand-dp); border-color: var(--brand-dp); color: var(--card); }
.btn--ghost { background: transparent; border: 2px solid var(--brand); color: var(--brand); }
.btn--ghost:hover { background: var(--paper-2); color: var(--brand-dp); }


.btn:active { box-shadow: none; }
.btn--ghost:active { background: var(--rule); }



.hero { padding-block: var(--y-4) var(--y-3); border-bottom: 1px solid var(--rule); }
.hero__grid { display: grid; gap: 2.5rem; }

.hero__copy .eyebrow {
  font-size: .95rem;
  letter-spacing: .12em;
  color: var(--ink-2);
}
.hero__copy h1 { margin-bottom: 1.25rem; }
.hero__lead {

  max-width: 62ch;
  font-size: clamp(1rem, .95rem + .35vw, 1.15rem);
  color: var(--ink-2);
  margin-bottom: 2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; }




.glass,
.factbox,
.doc-card,
.review,
.step,
.svc-card,
.langs__menu,
.modal__box {
  background-color: var(--glass);
  background-image: linear-gradient(147deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 44%);
  border: 1px solid var(--glass-line);
  border-radius: 14px;
  box-shadow: var(--glass-lift);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
}


@media (prefers-reduced-motion: no-preference) {
  .direction,
  .doc-card { transition: translate var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
}
.direction:hover,
.direction:focus-within,
.doc-card:hover,
.doc-card:focus-within {
  translate: 0 -2px;
  box-shadow: inset 0 1px 0 var(--glass-edge),
              0 2px 4px rgba(14, 47, 78, .055),
              0 22px 44px -20px rgba(14, 47, 78, .37);
}


@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .factbox, .doc-card, .review, .step, .svc-card, .langs__menu, .modal__box {
    background-color: var(--card);
  }
}


@media (prefers-reduced-transparency: reduce) {
  .glass, .factbox, .doc-card, .review, .step, .svc-card, .langs__menu, .modal__box {
    background-color: var(--card);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}


.factbox {
  align-self: start;
  padding: 1.6rem 1.5rem;
  border-top: 3px solid var(--brand);
}
.factbox__title { font-size: 1.1rem; margin-bottom: 1rem; }
.factbox__list { margin: 0; }
.factbox__list dt {
  font-size: .6875rem; text-transform: uppercase; letter-spacing: .14em;
  color: var(--ink-3); font-weight: 600; margin-top: 1.05rem;
}
.factbox__list dt:first-child { margin-top: 0; }
.factbox__list dd { margin: .2rem 0 0; font-size: .9375rem; }
.factbox__list dd a { display: inline-flex; align-items: center; min-height: 1.6rem; }
.factbox__note {
  margin: 1.3rem 0 0; padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-size: var(--t-sm); color: var(--ink-3);
}




.band { padding-block: var(--y-3); }

.band--tint {
  background: rgba(234, 242, 249, .55);
  border-block: 1px solid var(--glass-line);
}


.band__head { margin-bottom: var(--y-3); }
.band__intro { max-width: 46ch; margin: .85rem 0 0; color: var(--ink-2); }


.band__head h1,
.band__head h2 { text-wrap: balance; }



.directions {
  margin: 0; padding: 0; list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.direction {

  background: var(--card);
  border: 1px solid var(--glass-line);
  border-radius: 14px;
  box-shadow: var(--lift-1);

  overflow: hidden;
}

.direction__link { display: block; color: inherit; text-decoration: none; }


.direction__ph {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-2);
}
.direction__ph img { display: block; width: 100%; height: 100%; object-fit: cover; }


.direction__ph--icon { display: grid; place-items: center; background: var(--b-100); }
.direction__ph--icon svg {
  width: 34%; max-width: 5rem; height: auto;

  color: var(--b-600);
}

.direction__title {
  margin: 0;
  padding: 1rem 1.15rem 1.15rem;
  font-size: 1.0625rem; font-weight: 700; letter-spacing: -.01em;
}


@media (prefers-reduced-motion: no-preference) {
  .direction { transition: translate var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
  .direction__ph img,
  .direction__ph--icon svg { transition: scale .5s var(--ease); }
}
.direction:hover,
.direction:focus-within {
  translate: 0 -6px;
  box-shadow: 0 22px 44px -20px rgba(14, 47, 78, .37), 0 2px 4px rgba(14, 47, 78, .065);
}
.direction:hover .direction__ph img,
.direction:focus-within .direction__ph img { scale: 1.07; }
.direction:hover .direction__ph--icon svg,
.direction:focus-within .direction__ph--icon svg { scale: 1.09; }



.directions.directions--rich { grid-template-columns: 1fr; }
@media (min-width: 44em) {
  .directions.directions--rich { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 64em) {
  .directions.directions--rich { grid-template-columns: repeat(3, 1fr); }
}

.directions--rich .direction { display: flex; }
.directions--rich .direction__link { display: flex; flex-direction: column; width: 100%; }
.directions--rich .direction__body {
  flex: 1;
  display: flex; flex-direction: column;
  padding: 1.05rem 1.15rem 1.15rem;
}
.directions--rich .direction__title { padding: 0; }

.direction__text {
  display: block;
  margin: .45rem 0 0;
  font-size: .9375rem; line-height: 1.5;
  color: var(--ink-2);
}


.direction__actions {
  display: block;
  margin-top: auto; padding-top: .9rem;
  border-top: 1px solid var(--glass-line);
}


.direction:hover .direction__btn,
.direction:focus-within .direction__btn {
  background: var(--paper-2);
  color: var(--brand-dp);
}




.contact-dock {
  position: fixed;
  right: 1rem;
  bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  z-index: 35;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.contact-dock__btn {

  width: 3rem; height: 3rem;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 6px 18px -6px rgba(14, 47, 78, .45), 0 2px 5px rgba(14, 47, 78, .18);
}
.contact-dock__btn svg { width: 1.6rem; height: 1.6rem; }


.contact-dock__btn--wa { background: #25D366; }
.contact-dock__btn--ig {
  background: radial-gradient(circle at 30% 107%,
    #FDD07A 0%, #FD5949 45%, #D6249F 62%, #2A5FE8 92%);
}

@media (prefers-reduced-motion: no-preference) {
  .contact-dock__btn { transition: scale var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
}
.contact-dock__btn:hover,
.contact-dock__btn:focus-visible {
  scale: 1.06;
  box-shadow: 0 10px 24px -8px rgba(14, 47, 78, .5), 0 2px 6px rgba(14, 47, 78, .2);
}

.contact-dock__btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 6px rgba(14, 47, 78, .55);
}


@media (max-width: 30em) {
  .contact-dock { right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom, 0px)); gap: .6rem; }
  .contact-dock__btn { width: 2.75rem; height: 2.75rem; }
  .contact-dock__btn svg { width: 1.45rem; height: 1.45rem; }
}


.scroll-top {
  position: fixed;
  left: 1rem;
  bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  z-index: 35;

  width: 3rem; height: 3rem;
  display: grid; place-items: center;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  background: rgba(11, 89, 152, .7);
  backdrop-filter: blur(3px);
  box-shadow: 0 6px 18px -6px rgba(14, 47, 78, .45), 0 2px 5px rgba(14, 47, 78, .18);
  opacity: 0;
  translate: 0 1rem;
  visibility: hidden;
}
.scroll-top svg { width: 1.6rem; height: 1.6rem; }
.scroll-top.is-shown { opacity: 1; translate: 0 0; visibility: visible; }

.scroll-top:hover,
.scroll-top:focus-visible {
  scale: 1.06;
  box-shadow: 0 10px 24px -8px rgba(14, 47, 78, .5), 0 2px 6px rgba(14, 47, 78, .2);
}

.scroll-top:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 6px rgba(14, 47, 78, .55);
}

@media (prefers-reduced-motion: no-preference) {
  .scroll-top {
    transition: opacity .3s var(--ease), translate .3s var(--ease),
                scale var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
                visibility 0s linear .3s;
  }
  .scroll-top.is-shown { transition-delay: 0s; }
}

@media (max-width: 30em) {
  .scroll-top {
    left: .75rem;
    bottom: calc(.75rem + env(safe-area-inset-bottom, 0px));
    width: 2.75rem; height: 2.75rem;
  }
  .scroll-top svg { width: 1.45rem; height: 1.45rem; }
}



.band__head--mid { text-align: center; }
.band__head--mid h2 { margin-inline: auto; }

.why {
  margin: 0; padding: 0; list-style: none;
  display: grid; gap: 1.4rem 2.5rem;
}
@media (min-width: 48em) {
  .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


.why__item { display: flex; gap: .85rem; align-items: start; }
.why__mark {
  width: 1.6rem; height: 1.6rem; flex: none;
  margin-top: .1rem;
  color: var(--b-600);
}
.why__body { min-width: 0; }

.why__title {
  margin: 0 0 .25rem;
  font-family: var(--serif);
  font-size: var(--t-lg); font-weight: 600; line-height: 1.3;
  color: var(--ink);
}
.why__text {
  margin: 0;
  font-size: var(--t-base); line-height: 1.6;
  color: var(--ink-2);
}


.why__cta { margin: var(--y-4) 0 0; text-align: center; }
@media (max-width: 30em) {
  .why__cta .btn { display: flex; width: 100%; }
}






.about { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }


.about__card {
  background: #fff;
  border-radius: 20px;
  padding: clamp(1.15rem, .8rem + 1.4vw, 1.75rem);
  box-shadow: var(--lift-1);
  font-size: var(--t-sm);
}
.about__card .eyebrow { margin-top: 0; }
.about__card .about__pull { font-size: clamp(1.15rem, 1rem + .75vw, 1.45rem); }
.about__card .about__body { font-size: .9375rem; line-height: 1.55; }
.about__card .about__body p { margin-bottom: .9rem; }
.about__card .about__body p:last-child { margin-bottom: 0; }
.about__pull {
  margin: 0;
  font-size: clamp(1.25rem, 1.05rem + 1vw, 1.75rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.about__body { margin-top: 1.5rem; }
.about__body p { margin-bottom: 1.15rem; }
.about__license { font-size: .9375rem; color: var(--ink-2); }



.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1.75rem; margin: 0; padding: 0; list-style: none;
  counter-reset: step;
}

.step { padding: 1.25rem 1.35rem 1.4rem; }
.step__num {
  display: block; margin-bottom: .6rem;
  font-family: var(--serif); font-size: 1.5rem; color: var(--brand);
  font-variant-numeric: tabular-nums;
}
.step__title { margin: 0 0 .35rem; }
.step p { margin: 0; font-size: .9375rem; color: var(--ink-2); }




.hours { white-space: pre-line; font-variant-numeric: tabular-nums; }


.contacts__col > .band__head { margin-bottom: 1.75rem; }



.contacts__brand {
  display: flex; align-items: center; gap: 1.1rem;
  margin: 0 0 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--glass-line);
}
.contacts__logo { flex: 0 0 auto; display: block; width: 6rem; height: auto; }
.contacts__name {
  margin: 0;
  max-width: 22ch;
  font-size: var(--t-lg);
  line-height: 1.35;
  text-wrap: balance;
}

.contacts { display: grid; gap: 2.5rem; }
.contacts__list { margin: 0; }
.contacts__list dt {
  font-size: .6875rem; text-transform: uppercase; letter-spacing: .14em;
  font-weight: 600; color: var(--ink-2); margin-top: 1.15rem;
}
.contacts__list dt:first-child { margin-top: 0; }
.contacts__list dd { margin: .2rem 0 0; }
.contacts__list dd a { display: inline-flex; align-items: center; min-height: 1.6rem; }


.map > .map__frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0 0 .9rem;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper-2);
  box-shadow: 0 0 0 1px var(--glass-line);
}
.map__links { display: flex; flex-wrap: wrap; gap: .35rem 1.5rem; margin: 0; font-size: .9375rem; }
.map__links a { display: inline-flex; align-items: center; min-height: 2.75rem; }



.form-page { max-width: 34rem; }
.form { margin-top: var(--y-3); }

.field { margin-bottom: 1.4rem; }
.field__label {
  display: block; margin-bottom: .35rem;
  font-size: var(--t-sm); font-weight: 600;
  letter-spacing: .01em; color: var(--ink);
}


.field__input {
  display: block; width: 100%;
  min-height: 3rem; padding: .65rem .85rem;
  font: inherit; font-size: 1rem;
  color: var(--ink); background: var(--card);
  border: 1px solid var(--ink-3); border-radius: 8px;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field__input:hover { border-color: var(--ink-2); }
.field__input[aria-invalid="true"] { border-color: var(--tbd-border); border-width: 2px; }

.field__error { margin: .4rem 0 0; font-size: var(--t-sm); color: var(--tbd-border); font-weight: 600; }


.field--check { margin-block: 1.1rem; }
.check {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  cursor: pointer;
  font-size: .9375rem;
  line-height: 1.45;
  color: var(--ink-2);
}
.check__box {
  flex: 0 0 auto;
  width: 1.5rem;
  height: 1.5rem;
  margin: 0;
  accent-color: var(--brand);
}


.field__input--phone {
  letter-spacing: .06em;
  font-variant-numeric: tabular-nums;
}

.form__alert {
  margin: 0 0 1.5rem; padding: .9rem 1.1rem;
  background: var(--tbd-bg); border: 2px solid var(--tbd-border); border-radius: 8px;
  font-size: var(--t-sm); color: var(--ink);
}
.form__after { display: flex; flex-wrap: wrap; gap: .75rem; margin: var(--y-3) 0 0; }


.form__trap {
  position: absolute; left: -9999px;
  width: 1px; height: 1px; overflow: hidden;
}





.modal {
  width: min(24rem, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
  padding: 0; border: 0; background: transparent;
  overflow: visible;
}


.modal::backdrop {
  background: rgba(18, 25, 31, .55);
  backdrop-filter: blur(2px);
}

.modal__box {
  position: relative;
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  padding: 2.1rem 1.75rem 1.75rem;

  background-color: rgba(251, 253, 255, .93);

  border-top: 3px solid var(--brand);
  box-shadow: inset 0 1px 0 var(--glass-edge), var(--lift-2);
}

.modal__title { margin: 0 0 .4rem; font-size: 1.5rem; line-height: 1.15; }
.modal__lead { margin: 0 0 1.4rem; font-size: var(--t-sm); color: var(--ink-2); }


.modal .form { margin-top: 0; }
.modal .field { margin-bottom: 1rem; }
.modal .field__input { min-height: 2.75rem; padding-block: .55rem; }
.modal .btn { width: 100%; }


.modal__done {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 12rem;
  text-align: center;
}

.modal__done[hidden] { display: none; }
.modal__done .modal__title { margin: 0; }


.modal__close {
  position: absolute; top: .55rem; right: .55rem;
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem;
  color: var(--ink-2); background: transparent;

  border: 0; border-radius: 999px; cursor: pointer;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.modal__close:hover { color: var(--ink); background: var(--paper-2); }




.modal--doc { width: min(46rem, calc(100vw - 2rem)); }




.modal__box--doc {
  display: grid;
  grid-template-columns: 17rem 1fr;
  grid-template-rows: minmax(0, 1fr);
  padding: 0;
  overflow: hidden;
  background-image: linear-gradient(to right, var(--paper-2) 17rem, transparent 17rem);
}


.doc-modal__body { display: flex; flex-direction: column; min-height: 0; }


.doc-modal__bio {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;

  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--rule-str) transparent;
}


.doc-modal__photo {
  display: block;
  align-self: start;
  width: 100%; height: auto; aspect-ratio: 1 / 1;
  object-fit: cover; object-position: 50% 0;
  background: var(--paper-2);
}


.doc-modal__body { padding: 1.5rem 1.75rem 1.75rem; padding-right: 3.4rem; }


.doc-modal__role {
  margin: 0 0 .3rem;
  font-size: var(--t-xs); font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand);
}
.modal__box--doc .modal__title { font-size: 1.3rem; }


.doc-modal__meta {
  display: flex; flex-direction: column;
  margin: .5rem 0 0;
  font-size: var(--t-sm); line-height: 1.45; color: var(--ink-2);
}

.doc-modal__bio { margin-top: 1.1rem; }
.doc-modal__bio ul { margin: 0; padding-left: 1.15rem; }
.doc-modal__bio li {
  margin-bottom: .45rem;
  font-size: .9375rem; line-height: 1.55; color: var(--ink-2);
}
.doc-modal__bio li::marker { color: var(--b-300); }
.doc-modal__bio p { margin: 0 0 .6rem; font-size: .9375rem; color: var(--ink-2); }

.doc-modal__cta { width: 100%; margin-top: 1.35rem; }


.modal__box--doc .modal__close { top: .5rem; right: .5rem; }


@media (min-width: 48rem) and (max-height: 760px) {
  .modal__box--doc .modal__title { font-size: 1.15rem; }
  .doc-modal__body { padding: 1.1rem 1.5rem 1.35rem; padding-right: 3.2rem; }
  .doc-modal__bio { margin-top: .8rem; }
  .doc-modal__bio li { margin-bottom: .3rem; font-size: .875rem; line-height: 1.45; }
  .doc-modal__cta { margin-top: 1rem; }
}


@media (max-width: 48rem) {

  .modal__box--doc { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
  .doc-modal__photo {
    align-self: auto;
    height: 15rem;
    object-fit: cover; object-position: 50% 4%;
  }
  .doc-modal__body { padding: 1.15rem 1.25rem 1.5rem; padding-right: 1.25rem; }
  .modal__box--doc .modal__close {
    top: .7rem; right: .7rem;
    color: var(--ink);
    background: rgba(255, 255, 255, .82);
    border-radius: 999px;
    box-shadow: var(--lift-1);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .modal[open] { animation: modal-in .26s var(--ease) both; }
  .modal[open]::backdrop { animation: modal-veil .26s var(--ease) both; }
}


@keyframes modal-in {
  from { opacity: 0; transform: translateY(10px) scale(.985); }
  to   { opacity: 1; transform: none; }
}
@keyframes modal-veil { from { opacity: 0 } to { opacity: 1 } }




.site-footer {
  --foot-ink: #DCE8F4;
  --foot-ink-dim: #BFD7EC;
  padding-block: 3rem 2rem;
  background: var(--brand);
  color: var(--foot-ink);
}
.site-footer a { color: var(--foot-ink); }


.foot__logo { background: none; }


.foot {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 60rem) {
  .foot { grid-template-columns: minmax(18rem, 1fr) minmax(20rem, 1.3fr); gap: 3rem; }

}


.foot__info {
  --logo-w: 7rem;
  --logo-pad: 14.5%;
}


.foot__brand {
  display: flex; align-items: center; gap: 1.1rem;
  margin-bottom: 1.75rem;
}
.foot__logo { flex: 0 0 auto; display: block; width: var(--logo-w); height: auto; }


.foot__tagline {
  margin: 0;
  max-width: 30ch;
  font-size: var(--t-lg); line-height: 1.35;
  text-wrap: balance;
}

.foot__title {
  margin: 0 0 .9rem;
  font-size: var(--t-xs); font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3);
}


.foot-line {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: .65rem;
  margin: 0 0 .85rem;
  padding-left: calc(var(--logo-w) * .145);
  font-size: var(--t-lg);
  line-height: 1.45;
}

.foot-line__icon {
  width: 1.5rem; height: 1.5rem; margin-top: .15rem;
  color: var(--foot-ink-dim);
}
.foot-line .hours { white-space: pre-line; }
.foot-line a { color: inherit; }

.foot__map { display: grid; gap: .6rem; }

.foot__map-frame {
  display: block;
  width: 100%; aspect-ratio: 16 / 10; border: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper-2);
  box-shadow: 0 0 0 1px var(--glass-line);
}
@media (min-width: 60rem) {
  .foot__map-frame { aspect-ratio: 16 / 7; }
}
.foot__route { margin: 0; font-size: var(--t-sm); }
.foot__route a { color: var(--foot-ink-dim); }


.legal__body { font-style: normal; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.legal__body p { margin: 0 0 .45rem; }
.legal__name { font-weight: 600; }
.legal__label { color: var(--ink-2); }

.site-footer__bottom {
  display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; align-items: center;
  margin: 1.25rem 0 0; padding-left: 4.5rem;
  font-size: .9rem; color: var(--foot-ink-dim);
}
.site-footer__bottom a { display: inline-flex; align-items: center; min-height: 2.75rem; }


.site-footer__by {
  margin-left: auto;
  padding-right: 4.5rem;
  color: var(--foot-ink-dim);
}
@media (max-width: 48rem) {

  .site-footer__by { margin-left: 0; padding-right: 0; }
  .site-footer__bottom { padding-left: 0; }
}



.tbd {
  background: var(--tbd-bg); border: 2px dashed var(--tbd-border);
  border-radius: 4px; padding: 0 .3em; color: var(--ink);
}



@media (min-width: 48em) {
  html { font-size: 18px; }

  .shell { padding-inline: var(--gutter-lg); }


  main .shell,
  .site-footer .shell {
    padding-left: max(
      var(--gutter-lg),
      calc(var(--float-lane-left) - (100vw - min(var(--shell), 100vw)) / 2)
    );
    padding-right: max(
      var(--gutter-lg),
      calc(var(--float-lane) - (100vw - min(var(--shell), 100vw)) / 2)
    );
  }


  .hero { padding-block: 6rem 5.5rem; }

  .hero__grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 4rem; align-items: start; }

  .band { padding-block: var(--y-4); }

  .directions { grid-template-columns: repeat(3, 1fr); }

  .contacts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
  .contacts__list { display: grid; grid-template-columns: max-content minmax(0, 1fr); column-gap: 1.5rem; }
  .contacts__list dt { margin-top: 0; padding-block: .35rem; }
  .contacts__list dd { margin: 0; padding-block: .35rem; }
}


@media (min-width: 64em) {
  .directions { grid-template-columns: repeat(4, 1fr); }
}



@media (prefers-reduced-motion: no-preference) {
  .hero__copy > *, .factbox {
    animation: rise .62s var(--ease) both;
  }

  .hero__copy > :nth-child(1) { animation-delay: .02s }
  .hero__copy > :nth-child(2) { animation-delay: .08s }
  .hero__copy > :nth-child(3) { animation-delay: .14s }
  .hero__copy > :nth-child(4) { animation-delay: .20s }
  .factbox                    { animation-delay: .26s }


  .btn--primary:hover { transform: translateY(-1px); box-shadow: var(--lift-2); }
  .btn:active { transform: translateY(0); }
}


@keyframes rise {
  from { opacity: 0; transform: translateY(12px); filter: blur(6px); }
  to   { opacity: 1; transform: none;             filter: none; }
}



.prose { max-width: 65ch; }
.empty { max-width: 60ch; color: var(--ink-2); }


.sheet {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 14px;
  box-shadow: var(--lift-1);
  padding: var(--y-4) var(--y-3);
}


@media (min-width: 48em) {
  .band--doc .shell {
    padding-inline: max(
      var(--gutter-lg),
      calc(var(--float-lane) - (100vw - min(var(--shell), 100vw)) / 2)
    );
  }
}


@media (max-width: 40rem) {
  .sheet {
    margin-inline: calc(var(--gutter) * -1);
    padding: var(--y-3) var(--gutter);
    border-radius: 0;
    border-inline: 0;
  }
}

.direction__title a { color: inherit; text-decoration: none; }
.direction__title a:hover { color: var(--brand); text-decoration: underline; }


.service-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.service {
  display: flex; flex-wrap: wrap; align-items: baseline;
  justify-content: space-between; gap: .5rem 1.5rem;
  padding: .85rem 0; border-bottom: 1px solid var(--rule);
}
.service__title { flex: 1 1 18rem; }
.service__meta {
  display: inline-flex; gap: 1.25rem; align-items: baseline;
  font-size: .875rem; color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.service__price { color: var(--ink); font-weight: 600; }
.service__price--ask { color: var(--ink-2); font-weight: 400; }


.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (max-width: 48rem) {
  .svc-grid { grid-template-columns: 1fr; }
}

.svc-card {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  padding: 1.1rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: .5rem;
}
.svc-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.svc-card:only-child { grid-column: 1 / -1; }

.svc-card__body { min-width: 0; }

.svc-card__title {
  margin: 0;
  font-family: var(--serif);
  font-size: var(--t-lg);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.svc-card__meta {
  margin: .25rem 0 0;
  font-size: var(--t-sm);
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.svc-card__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .65rem;
  flex-shrink: 0;
}
.svc-card__price {
  margin: 0;
  font-size: var(--t-lg);
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.svc-card__price--ask { color: var(--ink-2); font-weight: 400; }
.svc-card__btn { white-space: nowrap; }
@media (max-width: 48rem) {
  .svc-card__head { flex-wrap: wrap; }
  .svc-card__aside { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; }
}


.svc-visits {
  margin: 0; padding: 0; list-style: none;
  border-top: 1px solid var(--rule);
}
.svc-visit {
  display: flex; align-items: center; gap: 1rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--rule);
}
.svc-visit:last-child { border-bottom: 0; padding-bottom: 0; }


.svc-visit__label {
  flex: 1; min-width: 0;
  font-size: var(--t-base);
  color: var(--ink);
}
.svc-visit__price {
  font-size: var(--t-base); font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 30em) {
  .svc-visit { gap: .75rem; align-items: baseline; }
}


.cat-split { display: grid; gap: 1rem; align-items: start; }
@media (min-width: 60em) {
  .cat-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.cat-split__panel {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: .5rem;
  padding: 1.3rem 1.4rem;
}

.cat-split__text > :last-child { margin-bottom: 0; }


.cat-split__cta { margin: 0 0 1rem; display: flex; justify-content: flex-end; }

.price-list { margin: 0; padding: 0; list-style: none; }

.price-item {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem;
  padding: .7rem 0;
  border-bottom: 1px solid var(--rule);
}
.price-item:first-child { padding-top: 0; }
.price-item:last-child { padding-bottom: 0; border-bottom: 0; }
.price-item__name {
  flex: 1; min-width: 0;
  font-size: var(--t-base); line-height: 1.4;
  color: var(--ink);
}
.price-item__price {
  white-space: nowrap;
  font-size: var(--t-base); font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}


.cat-desc {
  margin: 0 0 var(--y-3);
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: .5rem;
  padding: 1.3rem 1.4rem;
}
.cat-desc > :last-child { margin-bottom: 0; }


.svc-card__desc {
  padding-top: .9rem;
  border-top: 1px solid var(--rule);
}

.svc-card__text {
  margin: 0 0 .8rem;
  font-size: var(--t-base);
  line-height: 1.65;
  color: var(--ink-2);
}
.svc-card__text:last-child { margin-bottom: 0; }


.svc-note {
  margin: 0 0 .8rem;
  font-size: var(--t-base); line-height: 1.65;
  color: var(--ink-2);
}
.svc-note__title { color: var(--ink); }
.svc-note__title::after { content: '. '; }


.svc-alert {
  margin: 0 0 .8rem;
  padding: .7rem .9rem;
  border-left: 3px solid var(--b-600);
  border-radius: 0 .4rem .4rem 0;
  background: var(--b-100);
  font-size: var(--t-base); line-height: 1.6;
  color: var(--ink);
}
.svc-alert__title { display: block; color: var(--b-800); }


.svc-when { margin: 0 0 .7rem; }
.svc-when__head {
  display: flex; align-items: center; gap: .5rem;

  padding: .6rem 0;
  min-height: 2.75rem;
  font-size: var(--t-base); font-weight: 600;
  color: var(--b-700);
  cursor: pointer;
  list-style: none;
}
.svc-when__head::-webkit-details-marker { display: none; }
.svc-when__head::before {
  content: '';
  width: .42rem; height: .42rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  rotate: -45deg;
  translate: 0 -.1em;
  flex: none;
}
@media (prefers-reduced-motion: no-preference) {
  .svc-when__head::before { transition: rotate var(--dur) var(--ease); }
}
.svc-when[open] .svc-when__head::before { rotate: 45deg; translate: 0 -.15em; }


.svc-when__head:focus-visible {
  outline: 2px solid var(--b-600);
  outline-offset: 3px;
  border-radius: 4px;
}

.svc-when__list {
  margin: .55rem 0 0;
  padding-left: 1.15rem;
  font-size: var(--t-base);
  line-height: 1.6;
  color: var(--ink-2);
}
.svc-when__list li { margin-bottom: .4rem; }
.svc-when__list li::marker { color: var(--b-300); }





.doc-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
  gap: 1.75rem; margin: 0; padding: 0; list-style: none;
}


.doc-card {
  display: flex; flex-direction: column;
  padding: .75rem .75rem 1rem;
  text-align: left;
}




.doc-card__photo {
  display: block; width: 100%; height: auto; aspect-ratio: 1 / 1;
  object-fit: cover; object-position: 50% 0;
  border-radius: 9px; background: var(--paper-2);
}
.doc-card__photo--empty { border: 1px solid var(--rule); }

.doc-card__body {
  display: flex; flex-direction: column; flex: 1;
  padding: .8rem .35rem 0;
}



.doc-card__name {
  margin: 0 0 .1rem;
  font-size: 1rem; line-height: 1.3;
  font-family: inherit;
  font-weight: 600;
  letter-spacing: -0.012em;
}
.doc-card__role {
  margin: 0;
  font-size: .875rem; line-height: 1.35; color: var(--ink-2);
}
.doc-card__cat {
  margin: .1rem 0 0;
  font-size: .8125rem; line-height: 1.35; color: var(--ink-3);
}


.doc-card__acts {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-top: auto; padding-top: .9rem;
}

.doc-card__btn { flex: 1 1 6rem; padding-inline: .6rem; }




.rail { position: relative; }

.rail__track {
  display: flex;
  gap: 1.75rem;
  margin: 0;

  padding: .25rem .25rem 1rem;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-left: .25rem;

  scrollbar-width: none;
  -ms-overflow-style: none;
}
.rail__track::-webkit-scrollbar { display: none; }


.rail__track > .doc-card {
  flex: 0 0 min(20rem, 78vw);
  scroll-snap-align: start;
}


.rail__arrow {
  position: absolute;
  top: 44%;
  z-index: 2;
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem;
  color: var(--brand);
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 999px;
  box-shadow: var(--lift-2);
  cursor: pointer;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.rail__arrow--prev { left: -.9rem; }
.rail__arrow--next { right: -.9rem; }
.rail__arrow:hover { color: var(--brand-dp); border-color: var(--rule-str); }


.rail__arrow:disabled {
  opacity: .35;
  cursor: default;
  box-shadow: var(--lift-1);
}
.rail__arrow[hidden] { display: none; }


@media (max-width: 40rem) {
  .rail__arrow { display: none; }
}




.reviews__head {
  display: flex; flex-wrap: wrap; align-items: flex-start;
  justify-content: space-between; gap: 1rem 2rem;
}
.reviews__head .band__head { margin-bottom: 1.5rem; }
.reviews__lead { margin: .5rem 0 0; font-size: var(--t-lg); color: var(--ink-2); }


.reviews__source {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .6rem 1rem;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 999px;
  text-decoration: none;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.reviews__source:hover { border-color: #19AA1E; box-shadow: var(--lift-1); }

.reviews__source-icon { display: block; width: 1.6rem; height: auto; border-radius: 6px; }
.reviews__source-name { font-size: var(--t-sm); color: var(--ink-2); }
.reviews__source-score { font-weight: 600; font-variant-numeric: tabular-nums; }
.reviews__source-score span { margin-left: .2em; font-size: var(--t-xs); font-weight: 400; color: var(--ink-3); }


.rail__track > .review {
  flex: 0 0 min(17rem, 84vw);
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  padding: 1.15rem 1.2rem;
}
.review__top {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1rem; margin-bottom: .85rem;
}
.review__name { margin: 0; font-weight: 600; font-size: .9375rem; line-height: 1.3; }
.review__date { margin: .15rem 0 0; font-size: var(--t-xs); color: var(--ink-3); font-variant-numeric: tabular-nums; }


.review__stars { display: inline-flex; gap: .1rem; flex: 0 0 auto; color: #E8A33D; }
.review__stars svg { width: .95rem; height: .95rem; }


.review__text {
  max-height: 11.25rem;
  overflow-y: auto;

  overscroll-behavior: contain;

  scrollbar-width: thin;
  scrollbar-color: var(--rule-str) transparent;
  margin: 0;
  font-size: .875rem; line-height: 1.5; color: var(--ink-2);
}

.band__more { margin: 2rem 0 0; }
.band__more a { display: inline-flex; align-items: center; min-height: 2.75rem; }


.doc__meta a {
  display: inline-flex;
  align-items: center;
  min-height: 1.6rem;
}



.hero--video { position: relative; overflow: hidden; }


.hero__media {
  position: relative;

  margin: var(--y-2) 0 0;

  aspect-ratio: 1136 / 720;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .5) 5%, #000 14%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .5) 5%, #000 14%);
}

@media (min-width: 48em) {

  .hero--video .hero__media {
    position: absolute;
    z-index: 0;
    margin: 0;
    border: 0; border-radius: 0; box-shadow: none; background: none;


    right: max(var(--gutter-lg), calc((100% - var(--shell)) / 2 + var(--gutter-lg)));
    left: 28%;



    top: 0;
    bottom: 0;
    height: auto;
    aspect-ratio: auto;


    -webkit-mask-image:
      linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .22) 50%, #000 75%);
    mask-image:
      linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .22) 50%, #000 75%);
  }


  .hero--video .hero__grid { position: relative; z-index: 2; }


  .hero--video .eyebrow,
  .hero--video .hero__lead { color: #222C35; }
}


@media (max-width: 47.99em) {
  .hero--video .hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    margin: 0;
    aspect-ratio: auto;

    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero--video::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg,
      rgba(246, 250, 253, .90) 0%,
      rgba(246, 250, 253, .82) 44%,
      rgba(246, 250, 253, .46) 76%,
      rgba(246, 250, 253, .30) 100%);
  }

  .hero--video .hero__grid { position: relative; z-index: 2; }


  .hero--video .hero__lead { color: var(--ink); }
  .hero--video .eyebrow { color: var(--ink-2); }


  .hero--video .btn--ghost { background: rgba(246, 250, 253, .92); }
}



.hero__video {
  position: absolute; inset: 0;
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}


.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}



.langs { position: relative; flex: none; }


.langs__current {
  display: inline-flex; align-items: center; justify-content: center; gap: .3rem;
  width: 4.1rem; min-height: 2.4rem;
  font-size: .9375rem; font-weight: 600; letter-spacing: .02em;
  color: var(--ink-2); cursor: pointer;

  background: transparent; border: 1px solid var(--rule); border-radius: 8px;
  transition: background-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
  list-style: none;
}
.langs__current::-webkit-details-marker { display: none; }
.langs__current:hover { color: var(--ink); border-color: var(--ink-2); }
.langs[open] .langs__current { color: var(--ink); border-color: var(--ink-2); }

.langs__chevron { width: 10px; height: 6px; flex: none; transition: transform var(--dur) var(--ease); }
.langs[open] .langs__chevron { transform: rotate(180deg); }


.langs__menu {
  position: absolute; right: 0; top: calc(100% + .4rem); z-index: 60;
  min-width: 11rem; margin: 0; padding: .3rem;
  list-style: none;

  background-color: rgba(251, 253, 255, .9);
  border-radius: 10px;
  box-shadow: inset 0 1px 0 var(--glass-edge), var(--lift-2);
}
.langs__menu li { margin: 0; }

.langs__option {
  display: flex; align-items: center; gap: .6rem;
  min-height: 2.5rem; padding: .35rem .6rem;
  font-size: .9375rem; color: var(--ink); text-decoration: none;
  border-radius: 7px;
  transition: background-color var(--dur) var(--ease);
}
.langs__option:hover { background: var(--paper-2); color: var(--ink); }

.langs__option--on { background: var(--paper-2); cursor: default; }

.langs__code {
  flex: none; width: 2rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .04em;
  color: var(--ink-2);
}
.langs__option--on .langs__code { color: var(--brand); }
.langs__name { font-weight: 500; }


.btn--fixed { min-width: 9.5rem; }


.btn { white-space: nowrap; }


@media (max-width: 80em) {
  .nav__inner { flex-wrap: wrap; row-gap: .7rem; }
  .nav__links {
    order: 9; flex: 1 0 100%;
    gap: 1.25rem;
    overflow-x: auto;

    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .nav__links::-webkit-scrollbar { display: none; }
}

@media (max-width: 47.99em) {


  .nav {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background-color: var(--paper);
  }

  .nav__inner { flex-wrap: nowrap; column-gap: .5rem; row-gap: 0; }


  .nav__links { display: none; }



  .nav__inner > .langs { display: none; }


  .nav .btn--fixed { display: none; }


  .nav__info { margin-right: 0; margin-left: auto; flex: none; }
  .nav__hours { display: none; }
  .nav__phone {
    display: grid; place-items: center;
    width: 2.75rem; height: 2.75rem;
    font-size: 0;
    color: var(--brand);
    border: 1px solid var(--rule);
    border-radius: 10px;
    background:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B5998' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E")
      center / 1.25rem no-repeat;
  }


  .brand__mark { height: 2.6rem; margin-block: 0; }


  .brand {
    flex: 0 1 auto;
    display: flex; align-items: center; gap: .5rem;
    min-width: 0;
  }
  .brand__name {
    display: block;
    font-size: .6875rem;
    line-height: 1.2;
    font-weight: 500;
    color: var(--ink-2);
  }




  .eyebrow      { font-size: .78rem; }
  .field__label { font-size: .88rem; }
  .modal__lead  { font-size: .9rem;  }
}




.reveal {
  opacity: 0;
  translate: 0 34px;
}
.reveal--in {
  opacity: 1;
  translate: none;
}
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    transition: opacity .8s var(--ease), translate .8s var(--ease);
  }
}







.creed {

  margin-inline: auto;
  background: #fff;
  border-radius: 20px;
  padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  box-shadow: var(--lift-1);
}

.creed__title {
  margin: 0 0 1.5rem;
  text-align: center;
}


.creed__body { max-width: 62ch; margin-inline: auto; }
.creed__lead {

  margin-block: 0 1.1rem;
  font-size: var(--t-xl);
  line-height: 1.35;
  font-weight: 600;
  text-wrap: balance;
}
.creed__text { margin-block: 0 .9rem; line-height: 1.6; }
.creed__text:last-child { margin-block-end: 0; }



.rail--photos .rail__track { gap: 1rem; padding-bottom: .25rem; }
.rail__track > .shot {
  flex: 0 0 100%;
  scroll-snap-align: center;
  margin: 0;
  list-style: none;
}

.shot__img {
  display: block;
  width: auto; max-width: 100%;
  max-height: 60vh;
  margin-inline: auto;
  border-radius: 18px;
  background: var(--paper-2);
  box-shadow: var(--lift-2);
}


@media (min-width: 60rem) {
  .rail--photos { position: relative; min-height: 18rem; }
  .rail--photos .rail__track {
    position: absolute; inset: 0;
    padding: 0;
    gap: 1rem;
  }
  .rail--photos .shot {
    flex: 0 0 100%;
    display: flex; align-items: center; justify-content: center;
  }
  .rail--photos .shot__img {
    height: 100%; width: auto;
    max-width: 100%;
    aspect-ratio: auto;
    object-fit: contain;
  }
}



.gallery-card { margin-top: clamp(1.15rem, .8rem + 1.4vw, 1.75rem); }

.gallery-card { --кадр: clamp(18rem, 42vw, 30rem); }

.gallery-card .rail--photos { min-height: 0; }
.gallery-card .rail__track {
  position: static;
  height: var(--кадр);
  gap: 1rem;
  padding: 0;
}
.gallery-card .shot { flex: 0 0 calc(var(--кадр) * .75); height: 100%; }
.gallery-card .shot__img {
  position: static;
  width: 100%; height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  background: var(--paper-2);
}


.qa { list-style: none; margin: 0; padding: 0; interpolate-size: allow-keywords; }
.qa__item { border-bottom: 1px solid var(--glass-line); }
.qa li:first-child .qa__item { border-top: 1px solid var(--glass-line); }

.qa__q {
  display: flex; align-items: center; gap: 1.5rem;

  min-height: 2.75rem;
  padding: 1.3rem 0;

  font-size: var(--t-xl); font-weight: 600; line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.qa__q::-webkit-details-marker { display: none; }
.qa__text { flex: 1; }


.qa__sign {
  position: relative;
  flex: 0 0 auto;
  width: 2.5rem; height: 2.5rem;
  border-radius: 12px;
  background: var(--paper-2);
}
.qa__sign::before,
.qa__sign::after {
  content: '';
  position: absolute; inset: 50% auto auto 50%;
  background: var(--brand);
  border-radius: 1px;
}
.qa__sign::before { width: 1rem; height: 2px; translate: -50% -50%; }
.qa__sign::after  { width: 2px; height: 1rem; translate: -50% -50%; }

.qa__item[open] .qa__sign::after { scale: 1 0; }

@media (prefers-reduced-motion: no-preference) {
  .qa__sign::after { transition: scale var(--dur) var(--ease); }
}
.qa__q:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }


.qa__a {
  margin: 0 0 1.5rem;
  font-size: var(--t-lg);
  line-height: 1.6;
  color: var(--ink-2);

  text-align: justify;
  -webkit-hyphens: auto;
  hyphens: auto;
}
.qa__a p { margin: 0 0 .85rem; }
.qa__a p:last-child { margin-bottom: 0; }


.qa__item::details-content {
  block-size: 0;
  opacity: 0;
  overflow: hidden;
}
.qa__item[open]::details-content {
  block-size: auto;
  opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .qa__item::details-content {
    transition:
      block-size .32s var(--ease),
      opacity .26s var(--ease),
      content-visibility .32s allow-discrete;
  }
}


.faq__title { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem); }


.faq-more { max-width: 60ch; margin: 3rem auto 0; text-align: center; }
.faq-more__title { font-size: var(--t-xl); margin: 0 0 .6rem; }
.faq-more__text { margin: 0 0 1rem; color: var(--ink-2); line-height: 1.6; }
.faq-more__act { margin: 1.5rem 0 0; }


.band__intro--mid { margin-inline: auto; text-align: center; }


.promo {
  position: fixed;
  right: 0;
  top: 50%;
  translate: 0 -50%;
  z-index: 60;
  display: flex;
  align-items: center;
  max-height: 100dvh;
}


.promo__tab { list-style: none; cursor: pointer; }
.promo__tab::-webkit-details-marker { display: none; }

.promo__tab {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: 1rem .5rem;

  min-width: 2.75rem;
  justify-content: center;

  writing-mode: vertical-rl;
  font-size: var(--t-sm);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--b-600);
  border-radius: 12px 0 0 12px;
  box-shadow: var(--lift-2);
}
.promo__tab:hover { background: var(--b-700); }

.promo__tab:focus-visible { outline: 3px solid var(--b-800); outline-offset: -3px; }


.promo__tab-inner {
  display: flex;
  align-items: center;
  gap: .55rem;
  rotate: 180deg;
}

.promo__tab-badge {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: none;
}
.promo__tab-icon { width: 1.35rem; height: 1.35rem; display: block; }


.promo__tab { position: relative; }

.promo__tab::before,
.promo__tab::after {
  content: "";
  position: absolute;
  inset: 0;

  border-radius: inherit;
  pointer-events: none;
}


@keyframes промо-волна {
  0%   { box-shadow: 0 0 0 0 rgba(0, 146, 250, .78); }
  45%  { box-shadow: 0 0 0 1.6rem rgba(0, 146, 250, 0); }
  100% { box-shadow: 0 0 0 1.6rem rgba(0, 146, 250, 0); }
}

@media (prefers-reduced-motion: no-preference) {

  .promo__tab::before,
  .promo__tab::after {
    animation: промо-волна 3.6s cubic-bezier(.22, .55, .35, 1) infinite;
  }


  .promo__tab::after { animation-delay: .5s; }

  .promo[open] .promo__tab::before,
  .promo[open] .promo__tab::after,
  .promo__tab:hover .promo__tab::before,
  .promo__tab:hover .promo__tab::after { animation: none; }
}


.promo__tab-icon { filter: drop-shadow(0 0 .35rem rgba(255, 255, 255, .4)); }

.promo::details-content {
  inline-size: 0;
  overflow: hidden;
}
.promo[open]::details-content { inline-size: min(21rem, 86vw); }

@media (prefers-reduced-motion: no-preference) {
  .promo::details-content {
    transition:
      inline-size .34s var(--ease),
      content-visibility .34s allow-discrete;
  }
}

.promo__panel {

  width: min(21rem, 86vw);
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border-left: 1px solid var(--rule);
  box-shadow: var(--lift-2);
}


.promo__head {
  margin: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .85rem 1rem;
  font-size: var(--t-sm);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--b-700);
}


.promo__head-x {
  flex: 0 0 auto;
  font-size: 1.05rem;
  line-height: 1;
  opacity: .85;
}

.promo__scroll {
  overflow-y: auto;

  overscroll-behavior: contain;
  padding: 1rem;
}

.promo__intro { margin-bottom: 1.25rem; }
.promo__call {
  margin: 0 0 .4rem;
  font-family: var(--serif);
  font-size: var(--t-xl);
  line-height: 1.25;
  color: var(--ink);
}
.promo__lead { margin: 0 0 .5rem; font-size: var(--t-sm); color: var(--ink-2); }
.promo__cta { margin: .85rem 0 0; }
.promo__cta .btn { width: 100%; justify-content: center; }

.promo__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }

.promo-card {
  padding: .85rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
}
.promo-card__img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: .6rem;
  border-radius: 8px;
}
.promo-card__title { margin: 0; font-size: var(--t-base); font-weight: 600; color: var(--ink); }
.promo-card__text { margin: .4rem 0 0; font-size: var(--t-sm); color: var(--ink-2); }
.promo-card__more {
  display: inline-flex; align-items: center; gap: .3rem;
  margin-top: .6rem;
  font-size: var(--t-sm); font-weight: 600;
  color: var(--brand); text-decoration: none;
}
.promo-card__more:hover { text-decoration: underline; }


@media (max-width: 40em) {
  .promo { top: auto; bottom: 9.5rem; translate: 0 0; }


  .promo[open] { top: 0; bottom: 0; }
  .promo__tab { padding: .75rem .45rem; font-size: var(--t-xs); }

  .promo[open]::details-content { inline-size: calc(100vw - 3.25rem); }
  .promo__panel { width: calc(100vw - 3.25rem); }
}


.menu { display: none; }

@media (max-width: 47.99em) {
  .menu { display: block; position: relative; order: -1; }


  .menu__burger {
    display: grid; place-items: center;
    width: 2.75rem; height: 2.75rem;
    margin-left: -.4rem;
    border-radius: 10px;
    cursor: pointer;
    list-style: none;
    color: var(--ink);
  }
  .menu__burger::-webkit-details-marker { display: none; }
  .menu__burger:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }


  .menu__bars {
    width: 1.25rem; height: 2px;
    background: currentColor; border-radius: 2px;
    box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
  }

  .menu[open] .menu__bars {
    box-shadow: none;
    rotate: 45deg;
    position: relative;
  }
  .menu[open] .menu__bars::after {
    content: ""; position: absolute; inset: 0;
    background: currentColor; border-radius: 2px;
    rotate: 90deg;
  }


  .menu__scrim {
    position: fixed; inset: 0;
    background: rgba(14, 47, 78, .45);
    backdrop-filter: blur(2px);
    z-index: 70;
  }

  .menu__panel {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    z-index: 71;
    width: min(20rem, 84vw);
    display: flex; flex-direction: column;
    padding: 4.5rem 0 calc(1.25rem + env(safe-area-inset-bottom, 0px));
    background: var(--card);
    box-shadow: -18px 0 40px -24px rgba(14, 47, 78, .45);
    overflow-y: auto;
    overscroll-behavior: contain;
  }


  @media (prefers-reduced-motion: no-preference) {
    .menu__panel { transition: translate .28s var(--ease); }
    .menu:not([open]) .menu__panel { translate: 100% 0; }
    .menu__scrim { transition: opacity .28s var(--ease); }
    .menu:not([open]) .menu__scrim { opacity: 0; }
  }

  .menu__links { display: flex; flex-direction: column; }


  .menu__link {
    display: flex; align-items: center; justify-content: space-between;
    gap: .75rem;
    min-height: 3.5rem;
    padding: 0 1.25rem;
    font-size: 1.0625rem;
    color: var(--ink);
    text-decoration: none;
    border-top: 1px solid var(--rule);
  }
  .menu__link:first-child { border-top: 0; }
  .menu__link svg { color: var(--ink-3); flex: none; }
  .menu__link:active { background: var(--paper-2); }


  .menu__link[aria-current="page"] {
    color: var(--brand);
    font-weight: 600;
    background: var(--b-50);
  }
  .menu__link[aria-current="page"] svg { color: var(--brand); }


  .menu__head {
    display: grid;
    gap: .6rem;
    padding: 0 1.25rem 1rem;
    border-bottom: 1px solid var(--rule);
  }


  .menu__row {
    display: flex; align-items: center; justify-content: space-between;
    gap: .75rem;
  }
  .menu__row > :first-child { min-width: 0; }

  .menu__phone {
    font-size: 1.0625rem; font-weight: 600;
    color: var(--brand); text-decoration: none;

    white-space: nowrap;
    min-height: 2.75rem; display: inline-flex; align-items: center;
  }
  .menu__hours {
    margin: 0;
    font-size: .8125rem; line-height: 1.35; color: var(--ink-2);
    white-space: pre-line;
    text-align: right;
  }


  .menu__head .langs { flex: none; z-index: 2; }


  .menu__head .langs__current,
  .menu__head .langs__option { min-height: 2.75rem; }

  .menu__foot {
    margin-top: auto;
    padding: 1.5rem 1.25rem 0;
  }
}


@media (max-width: 47.99em) {

  .directions { grid-template-columns: 1fr; gap: .625rem; }

  .direction__link {
    display: grid;
    grid-template-columns: 5.5rem minmax(0, 1fr) 1.5rem;
    align-items: center;
    gap: .9rem;
    padding-right: .35rem;
  }


  .direction__ph { aspect-ratio: 1; border-radius: 13px 0 0 13px; }
  .direction__ph--icon svg { width: 46%; }


  .direction__title {
    margin: 0;
    font-size: 1rem;
    line-height: 1.25;
  }


  .direction__link::after {
    content: "";
    width: 1.25rem; height: 1.25rem;
    background:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2358707F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E")
      center / contain no-repeat;
  }


  .directions--rich .direction__link {
    grid-template-columns: 5.5rem minmax(0, 1fr);
    padding-right: .8rem;
  }
  .directions--rich .direction__link::after { content: none; }


  #reviews .rail__arrow { display: none; }


  #doctors .rail__arrow { display: none; }
  #doctors .band__more { display: none; }
}


@media (max-width: 47.99em) {
  .site-footer a,
  .foot__link,
  .promo-card__more {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
  }


  .foot__list dd,
  .contacts__list dd { margin-bottom: .35rem; }
}


@media (max-width: 47.99em) {

  .doc-grid > .doc-card {
    display: grid;
    grid-template-columns: 7.75rem minmax(0, 1fr);
    grid-template-rows: auto auto 1fr auto;
    column-gap: .9rem;
    row-gap: .1rem;
    align-content: start;
    padding: .8rem;
  }


  .doc-grid > .doc-card > .doc-card__body { display: contents; }


  .doc-grid > .doc-card > .doc-card__photo {
    grid-column: 1; grid-row: 1 / 4;
    align-self: start;
    border-radius: 12px;
  }

  .doc-grid > .doc-card .doc-card__name { grid-column: 2; grid-row: 1; font-size: 1.0625rem; line-height: 1.25; }
  .doc-grid > .doc-card .doc-card__role { grid-column: 2; grid-row: 2; font-size: .875rem; }


  .doc-grid > .doc-card .doc-card__cat,
  .doc-grid > .doc-card .doc-card__exp { display: none; }


  .doc-grid > .doc-card .doc-card__acts {
    grid-column: 1 / -1; grid-row: 4;
    margin-top: .8rem;
    display: flex; gap: .5rem;
  }
  .doc-grid > .doc-card .doc-card__btn { flex: 1 1 0; font-size: .875rem; padding-inline: .5rem; }


  .rail__track > .doc-card { flex-basis: 80vw; }

  .rail__track > .doc-card > .doc-card__body { padding: .7rem .15rem 0; }
  .rail__track > .doc-card .doc-card__name { font-size: 1.0625rem; line-height: 1.25; }
  .rail__track > .doc-card .doc-card__role { font-size: .9375rem; }


  .rail__track > .doc-card .doc-card__name,
  .rail__track > .doc-card .doc-card__role { overflow-wrap: normal; word-break: normal; }


  .rail__track > .doc-card .doc-card__acts { flex-wrap: nowrap; padding-top: .8rem; }
  .rail__track > .doc-card .doc-card__btn { flex: 1 1 0; font-size: .875rem; padding-inline: .5rem; }


  .rail__track > .doc-card .doc-card__name { margin-top: auto; }
}


.nav:has(.menu[open]) { z-index: 90; }

@media (max-width: 47.99em) {

  .menu[open] .menu__burger { position: relative; z-index: 72; color: var(--ink); }
}


@media (max-width: 47.99em) {

  .menu__brand {
    display: flex; align-items: center; gap: .6rem;
    margin: 0;
    font-size: .8125rem; font-weight: 600;
    letter-spacing: .06em; text-transform: uppercase;
    color: var(--ink-3);
  }
  .menu__brand img { flex: none; border-radius: 8px; }


  .menu__cta { width: 100%; justify-content: center; }


  @media (prefers-reduced-motion: no-preference) {
    .menu[open] .menu__link {
      animation: панель-пункт .34s var(--ease) backwards;
    }
    .menu[open] .menu__link:nth-child(1) { animation-delay: .06s; }
    .menu[open] .menu__link:nth-child(2) { animation-delay: .10s; }
    .menu[open] .menu__link:nth-child(3) { animation-delay: .14s; }
    .menu[open] .menu__link:nth-child(4) { animation-delay: .18s; }
    .menu[open] .menu__link:nth-child(5) { animation-delay: .22s; }
    .menu[open] .menu__link:nth-child(6) { animation-delay: .26s; }
    .menu[open] .menu__foot { animation: панель-пункт .34s var(--ease) .3s backwards; }
  }
}

@keyframes панель-пункт {
  from { opacity: 0; translate: 10px 0; }
  to   { opacity: 1; translate: 0 0; }
}


.doc-modal__foot { margin-top: 1.35rem; }
.doc-modal__cta { width: 100%; }

@media (max-width: 48rem) {

  .doc-modal__foot {

    margin: 1rem -1.25rem -1.5rem;
    padding: .85rem 1.25rem calc(.85rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--rule);
    background: var(--card);
  }
}





@media (any-pointer: coarse) {
  .contacts__list a,
  .foot-line a,
  .foot__route a,
  .eyebrow a,
  .doc__meta a { position: relative; }

  .contacts__list a::after,
  .foot-line a::after,
  .foot__route a::after,
  .eyebrow a::after,
  .doc__meta a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; top: 50%;
    translate: 0 -50%;
    height: 44px;
  }
}


.modal__close { min-width: 44px; min-height: 44px; }


.error__nav {
  display: flex; flex-wrap: wrap; gap: .35rem 1.4rem;
  margin-top: 2.2rem; padding-top: 1.4rem;
  border-top: 1px solid var(--rule);
}
.error__nav a { position: relative; color: var(--ink-2); text-decoration: none; }
.error__nav a:hover { color: var(--brand); text-decoration: underline; }

@media (any-pointer: coarse) {
  .error__nav a::after {
    content: ''; position: absolute;
    left: 0; right: 0; top: 50%; translate: 0 -50%; height: 44px;
  }
}
