:root {
  --ink: #171816;
  --muted: #77726b;
  --paper: #fbfaf8;
  --paper-warm: #f2ece5;
  --cream: #fff3e5;
  --green: #586040;
  --green-dark: #071009;
  --green-deep: #030905;
  --line: rgba(40, 37, 32, 0.16);
  --radius: 8px;
  --container: 1250px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

body {
  min-width: 320px;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.container {
  width: min(var(--container), calc(100% - 96px));
  margin: 0 auto;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  width: min(1320px, calc(100% - 80px));
  height: 118px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 210px 1fr auto;
  align-items: center;
  gap: 42px;
  color: #fff;
}

.logo {
  display: inline-flex;
  flex-direction: column;
  width: fit-content;
  color: #fff;
  line-height: 1;
}

.logo__name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 54px;
  font-weight: 400;
  letter-spacing: 0;
}

.logo__caption {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.36em;
  text-transform: uppercase;
}

.logo--dark {
  color: var(--ink);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(26px, 3vw, 58px);
  scrollbar-width: none;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav__link {
  position: relative;
  border: 0;
  padding: 0 0 12px;
  background: transparent;
  color: rgba(255, 255, 255, 0.94);
  cursor: pointer;
  font-size: 17px;
  line-height: 1.2;
}

.nav__link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav__link:hover::after,
.nav__link--active::after {
  opacity: 1;
  transform: scaleX(1);
}

.menu-toggle {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  display: none;
  place-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 1px;
  display: block;
  background: currentColor;
  transition: transform 0.2s ease;
}

.site-header.is-menu-open .menu-toggle span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.site-header.is-menu-open .menu-toggle span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.button {
  min-height: 64px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 34px;
  cursor: pointer;
  font-weight: 650;
  line-height: 1.1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover,
.round-button:hover,
.link-button:hover {
  transform: translateY(-1px);
}

.button:focus-visible,
.round-button:focus-visible,
.link-button:focus-visible,
.nav__link:focus-visible,
.menu-toggle:focus-visible,
.footer a:focus-visible {
  outline: 2px solid #d9c3a8;
  outline-offset: 4px;
}

.button--light {
  background: var(--cream);
  color: #111;
}

.button--outline {
  border-color: rgba(255, 255, 255, 0.84);
  background: rgba(0, 0, 0, 0.02);
  color: #fff;
}

.button--outline-dark {
  border-color: rgba(22, 24, 20, 0.26);
  background: transparent;
  color: var(--ink);
}

.button--green {
  background: var(--green);
  color: #fff;
}

.header-cta {
  min-width: 178px;
}

.hero {
  position: relative;
  min-height: 800px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(77, 92, 44, 0.2), transparent 32%),
    linear-gradient(90deg, #040a05 0%, #050c07 56%, #030804 100%);
  color: #fff;
}

.hero::after {
  position: absolute;
  right: 36%;
  bottom: 100px;
  width: 480px;
  height: 420px;
  border-radius: 50%;
  background: rgba(74, 88, 38, 0.16);
  filter: blur(46px);
  content: "";
}

.hero__media {
  position: absolute;
  right: max(60px, calc((100vw - 1320px) / 2));
  bottom: 0;
  z-index: 1;
  width: min(49vw, 650px);
  max-height: 705px;
}

.hero__media::before {
  position: absolute;
  inset: 0 auto 0 -2px;
  z-index: 2;
  width: 34%;
  background: linear-gradient(90deg, var(--green-dark) 0%, rgba(7, 16, 9, 0) 100%);
  content: "";
}

.hero__media::after {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  height: 18%;
  background: linear-gradient(180deg, var(--green-dark) 0%, rgba(7, 16, 9, 0) 100%);
  content: "";
}

.hero__media img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero__inner {
  position: relative;
  z-index: 3;
  min-height: 800px;
  display: flex;
  align-items: flex-start;
  padding-top: 210px;
}

.hero__content {
  width: min(650px, 54vw);
}

.hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(56px, 5.2vw, 76px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero p {
  max-width: 440px;
  margin: 48px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 20px;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 47px;
}

.advantages {
  background: #0b120c;
  color: #fff;
}

.advantages__grid {
  min-height: 176px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 32px;
}

.advantage-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.advantage-card svg {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: #fff1df;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.advantage-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 1.5;
}

.about-clinic {
  padding: 76px 0 8px;
  background: var(--paper);
}

.about-clinic__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
  gap: 72px;
  align-items: center;
}

.about-clinic__eyebrow {
  display: inline-flex;
  border-radius: 999px;
  background: var(--paper-warm);
  color: var(--green);
  padding: 9px 15px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 20px;
}

.about-clinic h2 {
  max-width: 720px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 4vw, 58px);
  font-weight: 400;
  line-height: 1.08;
}

.about-clinic__content > p {
  max-width: 740px;
  margin: 26px 0 0;
  color: #5f5a53;
  font-size: 19px;
  line-height: 1.65;
}

.about-clinic__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.about-clinic__stats div {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.about-clinic__stats b {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 46px;
  font-weight: 400;
  line-height: 1;
}

.about-clinic__stats span {
  display: block;
  margin-top: 8px;
  color: #77726b;
  font-size: 14px;
  line-height: 1.35;
}

.about-clinic__principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.about-clinic__principles article {
  border-radius: var(--radius);
  background: var(--paper-warm);
  padding: 22px;
}

.about-clinic__principles h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

.about-clinic__principles p {
  margin: 12px 0 0;
  color: #6f6962;
  font-size: 14px;
  line-height: 1.45;
}

.about-clinic__media {
  position: relative;
  min-height: 560px;
}

.about-clinic__photo {
  position: absolute;
  overflow: hidden;
  border-radius: var(--radius);
  background: #d8d1c5;
  box-shadow: 0 24px 70px rgba(50, 43, 34, 0.12);
}

.about-clinic__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-clinic__photo span {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  border-radius: var(--radius);
  background: rgba(7, 16, 9, 0.72);
  color: #fff;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.35;
}

.about-clinic__photo--large {
  top: 0;
  right: 0;
  width: min(390px, 82%);
  aspect-ratio: 0.82;
}

.about-clinic__photo--small {
  left: 0;
  bottom: 42px;
  width: min(250px, 52%);
  aspect-ratio: 1;
  border: 10px solid var(--paper);
}

.about-clinic__card {
  position: absolute;
  right: 22px;
  bottom: 0;
  width: min(330px, 72%);
  border-radius: var(--radius);
  background: var(--green);
  color: #fff;
  padding: 24px;
  box-shadow: 0 22px 58px rgba(50, 43, 34, 0.18);
}

.about-clinic__card span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.about-clinic__card b {
  font-size: 19px;
  line-height: 1.35;
}

.section {
  padding: 68px 0 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  margin-bottom: 46px;
}

.section-heading--center {
  grid-template-columns: 1fr auto 1fr;
  margin-bottom: 42px;
}

.section-heading--center .link-button {
  justify-self: end;
}

.section-heading h2,
.promo-card h2,
.booking-panel h2,
.modal__card h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
}

.section-heading h2 {
  font-size: clamp(38px, 3.8vw, 48px);
  line-height: 1.05;
}

.link-button {
  border: 0;
  background: transparent;
  color: #716d67;
  cursor: pointer;
  font-size: 16px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.link-button:hover {
  color: var(--ink);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 30px;
}

.service-card {
  min-width: 0;
  cursor: pointer;
  outline: none;
}

.service-card img {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  border-radius: var(--radius);
  object-fit: cover;
  background: #eee5dd;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.service-card:hover img,
.service-card:focus-visible img {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(50, 43, 34, 0.12);
}

.service-card h3 {
  margin: 29px 0 0;
  font-size: 22px;
  font-weight: 650;
  line-height: 1.4;
}

.service-card p {
  margin: 10px 0 0;
  font-size: 20px;
  line-height: 1.35;
}

.service-card__hint {
  display: inline-flex;
  margin-top: 13px;
  color: var(--green);
  font-size: 14px;
  font-weight: 750;
}

.promo-section {
  padding: 62px 0 0;
}

.promo-card {
  position: relative;
  height: 358px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #4d5838;
  color: #fff;
}

.promo-card::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(76, 88, 56, 0.98) 0%, rgba(76, 88, 56, 0.9) 30%, rgba(76, 88, 56, 0.4) 50%, rgba(76, 88, 56, 0) 73%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.12));
  content: "";
}

.promo-card__image {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 1;
  width: min(76%, 900px);
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.promo-card__content {
  position: relative;
  z-index: 3;
  width: min(760px, 65%);
  padding: 46px 0 34px 66px;
}

.promo-card h2 {
  font-size: clamp(36px, 3.4vw, 44px);
  line-height: 1.12;
}

.promo-card p {
  margin: 22px 0 26px;
  font-size: 18px;
  line-height: 1.45;
}

.promo-card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -6px 0 24px;
}

.promo-card__facts span {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 750;
}

.specialists {
  padding-top: 42px;
}

.specialists__layout {
  position: relative;
}

.specialists__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 54px 68px;
  padding: 0 95px;
}

.specialist-card {
  text-align: center;
}

.specialist-card img,
.modal-specialists img {
  width: 238px;
  height: 238px;
  margin: 0 auto;
  border-radius: 50%;
  object-fit: cover;
  background: #d4d0c5;
}

.specialist-card h3 {
  margin: 24px 0 0;
  font-size: 20px;
  font-weight: 700;
}

.specialist-card p {
  margin: 10px 0 0;
  color: #77726b;
  font-size: 18px;
  line-height: 1.35;
}

.specialist-card__meta {
  display: block;
  margin-top: 9px;
  color: var(--green);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
}

.specialist-card__action {
  margin-top: 12px;
  font-weight: 750;
}

.round-button {
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper-warm);
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.round-button svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.specialists__next {
  position: absolute;
  right: 0;
  top: 118px;
}

.booking-strip {
  padding: 62px 0 48px;
}

.booking-panel {
  display: grid;
  grid-template-columns: repeat(5, minmax(140px, 1fr)) minmax(180px, 210px);
  gap: 22px;
  align-items: end;
  border-radius: var(--radius);
  background: var(--paper-warm);
  padding: 42px 50px;
}

.booking-panel__title {
  grid-column: 1 / -1;
}

.booking-panel h2 {
  font-size: clamp(36px, 3.7vw, 46px);
  line-height: 1.08;
}

.booking-panel p {
  margin: 12px 0 0;
  font-size: 18px;
}

.booking-panel label,
.modal-form label,
.test-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #6e6860;
  font-size: 15px;
}

.booking-panel input,
.booking-panel select,
.modal-form input,
.modal-form select,
.test-form select {
  width: 100%;
  height: 64px;
  border: 1px solid rgba(36, 31, 26, 0.08);
  border-radius: var(--radius);
  background: #fff;
  color: #111;
  padding: 0 22px;
  outline: none;
}

.booking-panel input:focus,
.booking-panel select:focus,
.modal-form input:focus,
.modal-form select:focus,
.test-form select:focus {
  border-color: rgba(88, 96, 64, 0.8);
  box-shadow: 0 0 0 3px rgba(88, 96, 64, 0.13);
}

.footer {
  padding: 0 0 24px;
  background: var(--paper);
}

.footer__main {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  align-items: center;
  gap: 42px;
  padding: 0 0 30px;
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-style: normal;
  font-size: 18px;
  line-height: 1.25;
}

.footer__contacts a {
  font-weight: 650;
}

.footer__contacts a:not(:first-child) {
  color: inherit;
  font-weight: 400;
}

.footer__socials {
  display: flex;
  justify-content: flex-end;
  gap: 26px;
}

.footer__socials a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper-warm);
}

.footer__socials svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #343327;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.footer__bottom {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  color: #817b73;
  font-size: 14px;
}

.footer__bottom a {
  justify-self: center;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal.is-open {
  display: flex;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 5, 0.68);
  backdrop-filter: blur(8px);
}

.modal__card {
  position: relative;
  z-index: 1;
  width: min(820px, calc(100vw - 40px));
  max-height: min(820px, calc(100vh - 40px));
  overflow: auto;
  border-radius: 14px;
  background: var(--paper);
  padding: 50px;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.28);
}

.modal__card--wide {
  width: min(1120px, calc(100vw - 40px));
}

.modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper-warm);
  color: var(--ink);
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
}

.modal__card h2 {
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.1;
}

.modal__card > p {
  margin: 15px 0 30px;
  color: #67625b;
  font-size: 18px;
  line-height: 1.5;
}

.price-modal__intro {
  margin: 18px 0 30px;
  color: #6f6962;
}

.price-modal__intro span {
  border-radius: 999px;
  background: var(--paper-warm);
  color: var(--green);
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.price-modal__intro p {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
}

.price-nav {
  position: sticky;
  top: -50px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 22px;
  padding: 10px 0;
  background: linear-gradient(180deg, var(--paper) 0%, rgba(251, 250, 248, 0.92) 100%);
}

.price-nav button {
  min-height: 38px;
  border: 1px solid rgba(40, 37, 32, 0.1);
  border-radius: 999px;
  background: var(--paper-warm);
  color: #47443d;
  cursor: pointer;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 750;
}

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

.modal-form__submit,
.test-form .button {
  grid-column: 1 / -1;
}

.service-modal__eyebrow {
  display: inline-flex;
  border-radius: 999px;
  background: var(--paper-warm);
  color: var(--green);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 16px;
}

.service-modal__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.service-modal__grid article {
  border-radius: 10px;
  background: var(--paper-warm);
  padding: 18px;
}

.service-modal__grid small {
  display: block;
  color: #77726b;
  font-size: 13px;
  margin-bottom: 8px;
}

.service-modal__grid b {
  font-size: 18px;
  line-height: 1.3;
}

.service-modal__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}

.procedure-modal {
  overflow: auto;
}

.procedure-quiz {
  display: grid;
  gap: 28px;
}

.procedure-quiz__header {
  max-width: 850px;
}

.procedure-quiz__eyebrow {
  display: inline-flex;
  border-radius: 999px;
  background: var(--paper-warm);
  color: var(--green);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 16px;
}

.procedure-quiz__header h2 {
  margin: 0;
}

.procedure-quiz__header p {
  margin: 16px 0 0;
  color: #67625b;
  font-size: 18px;
  line-height: 1.5;
}

.procedure-quiz__progress {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  color: #6f6962;
  font-size: 14px;
  font-weight: 700;
}

.procedure-quiz__progress div {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #ebe4dc;
}

.procedure-quiz__progress i {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
  transition: width 0.24s ease;
}

.procedure-quiz__body {
  display: grid;
  gap: 26px;
}

.procedure-quiz.has-result .quiz-step,
.procedure-quiz.has-result .procedure-quiz__actions {
  display: none;
}

.quiz-step {
  display: none;
  min-height: 260px;
}

.quiz-step.is-active {
  display: block;
}

.quiz-step h3,
.procedure-result h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.1;
}

.quiz-step__hint {
  margin: 10px 0 0;
  color: #77726b;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.choice-grid--goals {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.choice-card {
  position: relative;
  min-height: 150px;
  border: 1px solid rgba(40, 37, 32, 0.12);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 9px;
  background:
    radial-gradient(circle at 100% 0%, rgba(88, 96, 64, 0.16), transparent 38%),
    #fff;
  cursor: pointer;
  padding: 20px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.choice-card:hover {
  transform: translateY(-1px);
  border-color: rgba(88, 96, 64, 0.38);
}

.choice-card input,
.option-pills input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-card::before {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(40, 37, 32, 0.18);
  border-radius: 50%;
  content: "";
}

.choice-card::after {
  position: absolute;
  top: 25px;
  left: 25px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  content: "";
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.choice-card:has(input:checked) {
  border-color: rgba(88, 96, 64, 0.76);
  background:
    radial-gradient(circle at 100% 0%, rgba(88, 96, 64, 0.23), transparent 42%),
    var(--paper-warm);
  box-shadow: 0 16px 38px rgba(66, 60, 51, 0.1);
}

.choice-card:has(input:checked)::after {
  opacity: 1;
  transform: scale(1);
}

.choice-card span {
  color: var(--ink);
  font-size: 18px;
  font-weight: 750;
  line-height: 1.15;
}

.choice-card small {
  color: #77726b;
  font-size: 14px;
  line-height: 1.35;
}

.option-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.option-pills label {
  position: relative;
}

.option-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  border: 1px solid rgba(40, 37, 32, 0.12);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  padding: 0 20px;
  color: #383631;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.option-pills span:hover {
  transform: translateY(-1px);
}

.option-pills input:checked + span {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.procedure-quiz__actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 14px;
}

.procedure-quiz__message {
  flex: 1 1 260px;
  min-height: 22px;
  margin: 0 auto 0 0;
  color: #8a3f2a;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.45;
}

.procedure-quiz__message:empty {
  display: none;
}

.procedure-quiz__actions .button {
  min-height: 58px;
  min-width: 180px;
}

.procedure-result {
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(88, 96, 64, 0.97), rgba(53, 61, 39, 0.96)),
    var(--green);
  color: #fff;
  padding: 34px;
}

.procedure-result[hidden] {
  display: none;
}

.procedure-result__main > span {
  display: inline-flex;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.procedure-result__main p {
  max-width: 760px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  line-height: 1.5;
}

.procedure-result__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.procedure-result__cards article {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  padding: 18px;
}

.procedure-result__cards small {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  margin-bottom: 8px;
}

.procedure-result__cards b {
  font-size: 18px;
  line-height: 1.25;
}

.procedure-result__reasons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.procedure-result__reasons li {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  text-align: center;
}

.procedure-result__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 26px;
}

.procedure-result__actions .button--green {
  background: var(--cream);
  color: #111;
}

.procedure-result__actions .link-button {
  color: rgba(255, 255, 255, 0.82);
}

.price-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 36px;
  margin-top: 30px;
}

.price-list div {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 12px;
  font-size: 18px;
}

.price-list div::before {
  grid-column: 2;
  height: 1px;
  border-bottom: 1px dashed rgba(31, 31, 27, 0.28);
  content: "";
}

.price-list span {
  grid-column: 1;
  min-width: 0;
}

.price-list b {
  grid-column: 3;
  white-space: nowrap;
}

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

.price-category {
  border: 1px solid rgba(40, 37, 32, 0.1);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.48)),
    var(--paper-warm);
  padding: 24px;
}

.price-category--accent {
  background:
    linear-gradient(135deg, rgba(88, 96, 64, 0.96), rgba(69, 78, 50, 0.9)),
    var(--green);
  color: #fff;
}

.price-category__head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: baseline;
  margin-bottom: 18px;
}

.price-category__head h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 400;
  line-height: 1.1;
}

.price-category__head span {
  color: #817b73;
  font-size: 13px;
  line-height: 1.35;
  text-align: right;
}

.price-category--accent .price-category__head span {
  color: rgba(255, 255, 255, 0.72);
}

.price-row {
  display: grid;
  grid-template-columns: minmax(0, auto) 1fr auto;
  align-items: end;
  gap: 12px;
  padding: 11px 0;
  color: #292824;
  font-size: 16px;
}

.price-row + .price-row {
  border-top: 1px solid rgba(40, 37, 32, 0.08);
}

.price-row::before {
  grid-column: 2;
  height: 1px;
  border-bottom: 1px dashed rgba(40, 37, 32, 0.28);
  content: "";
}

.price-row span {
  grid-column: 1;
  line-height: 1.35;
}

.price-row b {
  grid-column: 3;
  color: #141512;
  font-size: 17px;
  white-space: nowrap;
}

.price-category--accent .price-row {
  color: rgba(255, 255, 255, 0.9);
}

.price-category--accent .price-row + .price-row {
  border-color: rgba(255, 255, 255, 0.12);
}

.price-category--accent .price-row::before {
  border-color: rgba(255, 255, 255, 0.26);
}

.price-category--accent .price-row b {
  color: #fff;
}

.modal-specialists {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: 34px;
}

.modal-specialists article {
  text-align: center;
}

.modal-specialists h3 {
  margin: 18px 0 0;
  font-size: 20px;
}

.modal-specialists p {
  margin: 8px 0 0;
  color: #6f6962;
}

.modal-specialists ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  color: #6f6962;
  font-size: 14px;
  line-height: 1.45;
}

.modal-specialists li + li {
  margin-top: 6px;
}

.modal-specialists .link-button {
  margin-top: 14px;
  color: var(--green);
  font-weight: 750;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 120;
  max-width: min(420px, calc(100vw - 48px));
  border-radius: var(--radius);
  background: var(--green);
  color: #fff;
  padding: 18px 22px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

@media (max-width: 1120px) {
  .container {
    width: min(var(--container), calc(100% - 56px));
  }

  .site-header {
    width: calc(100% - 56px);
    grid-template-columns: 170px 1fr auto;
    gap: 24px;
  }

  .logo__name {
    font-size: 42px;
  }

  .nav {
    gap: 22px;
  }

  .nav__link {
    font-size: 15px;
  }

  .hero__content {
    width: min(500px, 56vw);
  }

  .hero h1 {
    font-size: clamp(50px, 6vw, 72px);
  }

  .services__grid {
    gap: 20px;
  }

  .about-clinic__grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .about-clinic__media {
    min-height: 500px;
  }

  .service-card h3 {
    font-size: 19px;
  }

  .booking-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .choice-grid--goals {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .site-header {
    position: relative;
    left: auto;
    width: 100%;
    min-height: 96px;
    height: auto;
    transform: none;
    grid-template-columns: 1fr auto;
    padding: 20px 28px;
    background: var(--green-deep);
  }

  .nav {
    grid-column: 1 / -1;
    order: 3;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav__link {
    flex: 0 0 auto;
  }

  .header-cta {
    min-width: 136px;
    min-height: 54px;
    padding: 0 22px;
  }

  .hero {
    min-height: auto;
    isolation: isolate;
    background:
      radial-gradient(circle at 80% 72%, rgba(77, 92, 44, 0.24), transparent 34%),
      linear-gradient(180deg, #030804 0%, #061009 58%, #030804 100%);
  }

  .hero::before {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
      linear-gradient(180deg, rgba(3, 8, 4, 0.96) 0%, rgba(3, 8, 4, 0.82) 28%, rgba(3, 8, 4, 0.48) 58%, rgba(3, 8, 4, 0.78) 100%),
      linear-gradient(90deg, rgba(3, 8, 4, 0.96) 0%, rgba(3, 8, 4, 0.72) 42%, rgba(3, 8, 4, 0.12) 100%);
    content: "";
  }

  .hero::after {
    right: -160px;
    bottom: 70px;
    z-index: 2;
    width: 360px;
    height: 360px;
    opacity: 0.72;
  }

  .hero__inner {
    min-height: 680px;
    align-items: flex-start;
    padding-top: 76px;
    padding-bottom: 250px;
  }

  .hero__content {
    width: min(560px, 100%);
    max-width: 560px;
  }

  .hero__media {
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    opacity: 1;
  }

  .hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 44% 58%;
  }

  .hero__media::before,
  .hero__media::after {
    display: none;
  }

  .advantages__grid {
    min-height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 38px 0;
  }

  .about-clinic {
    padding-top: 54px;
  }

  .about-clinic__principles {
    grid-template-columns: 1fr;
  }

  .services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: center;
  }

  .service-card {
    width: min(100%, 277px);
  }

  .section-heading,
  .section-heading--center {
    grid-template-columns: 1fr auto;
  }

  .section-heading--center span {
    display: none;
  }

  .section-heading--center h2 {
    justify-self: start;
  }

  .promo-card__content {
    width: min(520px, 72%);
    padding-left: 42px;
  }

  .specialists__grid {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 0;
  }

  .specialists__next {
    display: none;
  }

  .footer__main,
  .footer__bottom {
    grid-template-columns: 1fr;
  }

  .footer__socials {
    justify-content: flex-start;
  }

  .footer__bottom a {
    justify-self: start;
  }

  .price-list,
  .price-categories,
  .choice-grid,
  .choice-grid--goals,
  .procedure-result__cards,
  .procedure-result__reasons,
  .modal-specialists {
    grid-template-columns: 1fr;
  }

  .procedure-quiz__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .procedure-quiz__actions .button {
    min-width: 0;
  }
}

@media (max-width: 620px) {
  .container {
    width: calc(100% - 32px);
  }

  .site-header {
    position: relative;
    grid-template-columns: 1fr auto auto;
    gap: 10px;
    padding: 18px 16px;
  }

  .menu-toggle {
    display: grid;
  }

  .nav {
    position: absolute;
    top: calc(100% - 1px);
    right: 16px;
    left: 16px;
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    background: rgba(3, 9, 5, 0.98);
    padding: 0 18px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
    transition: max-height 0.24s ease, padding 0.24s ease;
  }

  .site-header.is-menu-open .nav {
    max-height: 330px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .nav__link {
    width: 100%;
    padding: 12px 0;
    text-align: left;
  }

  .logo__name {
    font-size: 37px;
  }

  .logo__caption {
    font-size: 10px;
  }

  .header-cta {
    min-width: 118px;
    padding: 0 16px;
    font-size: 14px;
  }

  .hero {
    display: flex;
    flex-direction: column;
  }

  .hero__inner {
    order: 1;
    min-height: auto;
    padding-top: 42px;
    padding-bottom: 24px;
  }

  .hero__content {
    width: 100%;
    max-width: 360px;
  }

  .hero__media {
    position: relative;
    order: 2;
    inset: auto;
    width: 100%;
    height: 336px;
    opacity: 1;
    margin-top: -4px;
  }

  .hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 42%;
  }

  .hero::before {
    display: none;
  }

  .hero__media::before {
    display: block;
    inset: 0;
    z-index: 2;
    width: auto;
    height: auto;
    background:
      linear-gradient(180deg, #030804 0%, rgba(3, 8, 4, 0.72) 18%, rgba(3, 8, 4, 0.1) 48%, rgba(3, 8, 4, 0.08) 100%),
      linear-gradient(90deg, rgba(3, 8, 4, 0.52) 0%, rgba(3, 8, 4, 0.12) 48%, rgba(3, 8, 4, 0) 100%);
  }

  .hero__media::after {
    display: block;
    inset: auto 0 0;
    height: 28%;
    background: linear-gradient(0deg, #030804 0%, rgba(3, 8, 4, 0) 100%);
  }

  .hero h1 {
    font-size: clamp(35px, 10.8vw, 42px);
    line-height: 1.05;
  }

  .hero p {
    max-width: 300px;
    margin-top: 22px;
    font-size: 16px;
    line-height: 1.5;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 316px;
    gap: 12px;
    margin-top: 26px;
  }

  .hero__actions .button {
    min-height: 54px;
    padding: 0 16px;
    font-size: 14px;
  }

  .button {
    width: 100%;
    min-height: 56px;
    padding: 0 20px;
  }

  .advantages__grid,
  .about-clinic__stats,
  .services__grid {
    grid-template-columns: 1fr;
  }

  .advantages__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 14px;
    padding: 30px 0;
  }

  .advantage-card {
    gap: 10px;
  }

  .advantage-card svg {
    width: 38px;
    height: 38px;
  }

  .advantage-card p {
    font-size: 13px;
  }

  .about-clinic__grid {
    gap: 34px;
  }

  .about-clinic h2 {
    font-size: 34px;
  }

  .about-clinic__content > p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    font-size: 16px;
    line-height: 1.55;
  }

  .about-clinic__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 26px;
  }

  .about-clinic__stats b {
    font-size: 34px;
  }

  .about-clinic__stats span {
    font-size: 12px;
    line-height: 1.25;
  }

  .about-clinic__principles {
    gap: 10px;
    margin-top: 24px;
  }

  .about-clinic__principles article {
    padding: 18px;
  }

  .about-clinic__principles p {
    margin-top: 8px;
  }

  .about-clinic__media {
    min-height: auto;
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
    grid-template-areas:
      "large large"
      "small card";
    gap: 12px;
  }

  .about-clinic__photo {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .about-clinic__photo--large {
    grid-area: large;
    aspect-ratio: 1.08;
  }

  .about-clinic__photo--small {
    grid-area: small;
    aspect-ratio: 0.92;
    border: 0;
  }

  .about-clinic__card {
    position: relative;
    grid-area: card;
    right: auto;
    bottom: auto;
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 17px;
  }

  .about-clinic__card b {
    font-size: 16px;
    line-height: 1.32;
  }

  .about-clinic__photo span {
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 10px 12px;
    font-size: 12px;
  }

  .advantage-card {
    gap: 10px;
  }

  .section {
    padding-top: 48px;
  }

  .section-heading,
  .section-heading--center {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 28px;
  }

  .section-heading--center .link-button {
    justify-self: start;
  }

  .section-heading h2 {
    font-size: 36px;
  }

  .service-card h3 {
    margin-top: 18px;
  }

  .promo-section {
    padding-top: 46px;
  }

  .promo-card {
    height: 520px;
  }

  .promo-card::before {
    background:
      linear-gradient(180deg, rgba(76, 88, 56, 0.98) 0%, rgba(76, 88, 56, 0.92) 44%, rgba(76, 88, 56, 0.06) 76%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.1));
  }

  .promo-card__image {
    width: 100%;
    height: 58%;
    top: auto;
  }

  .promo-card__content {
    width: 100%;
    padding: 34px 24px;
  }

  .promo-card h2 {
    font-size: 34px;
  }

  .specialist-card img,
  .modal-specialists img {
    width: 196px;
    height: 196px;
  }

  .booking-strip {
    padding-top: 42px;
  }

  .booking-panel {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 30px 22px;
  }

  .booking-panel h2 {
    font-size: 34px;
  }

  .footer__main {
    gap: 28px;
  }

  .footer__socials {
    gap: 16px;
  }

  .modal {
    padding: 14px;
  }

  .modal__card {
    width: calc(100vw - 28px);
    max-height: calc(100vh - 28px);
    padding: 34px 22px 24px;
  }

  .modal-form,
  .test-form {
    grid-template-columns: 1fr;
  }

  .service-modal__grid {
    grid-template-columns: 1fr;
  }

  .service-modal__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .procedure-quiz {
    gap: 18px;
  }

  .procedure-quiz__header p {
    font-size: 16px;
  }

  .quiz-step {
    min-height: 0;
  }

  .choice-card {
    min-height: 112px;
    padding: 16px 16px 16px 54px;
    justify-content: center;
  }

  .choice-card::before {
    top: 18px;
    left: 16px;
  }

  .choice-card::after {
    top: 25px;
    left: 23px;
  }

  .choice-card span {
    font-size: 16px;
  }

  .choice-card small {
    font-size: 13px;
  }

  .option-pills span {
    min-height: 42px;
    padding: 0 15px;
    font-size: 14px;
  }

  .procedure-quiz__actions {
    position: sticky;
    right: 0;
    bottom: -24px;
    left: 0;
    z-index: 4;
    border-top: 1px solid rgba(40, 37, 32, 0.08);
    background: linear-gradient(180deg, rgba(251, 250, 248, 0.88), var(--paper));
    margin: 0 -22px -24px;
    padding: 14px 22px 0;
  }

  .procedure-quiz__message {
    margin-bottom: 2px;
  }

  .price-list div {
    grid-template-columns: 1fr auto;
    gap: 8px;
  }

  .price-list div::before {
    display: none;
  }

  .price-list b {
    grid-column: 2;
  }

  .price-nav {
    position: static;
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-bottom: 16px;
    padding-bottom: 8px;
  }

  .price-nav button {
    flex: 0 0 auto;
  }

  .price-category {
    padding: 20px;
  }

  .price-category__head {
    display: grid;
    grid-template-columns: 1fr auto;
    cursor: pointer;
  }

  .price-category__head::after {
    align-self: start;
    color: var(--green);
    content: "+";
    font-size: 24px;
    line-height: 1;
  }

  .price-category:not(.is-collapsed) .price-category__head::after {
    content: "−";
  }

  .price-category__head h3 {
    font-size: 25px;
  }

  .price-category__head span {
    display: block;
    grid-column: 1 / -1;
    margin-top: 8px;
    text-align: left;
  }

  .price-category.is-collapsed .price-row {
    display: none;
  }

  .price-row {
    grid-template-columns: 1fr auto;
    gap: 8px;
  }

  .price-row::before {
    display: none;
  }

  .price-row b {
    grid-column: 2;
  }
}

@media (max-width: 390px) {
  .logo__name {
    font-size: 34px;
  }

  .logo__caption {
    font-size: 9px;
  }

  .header-cta {
    min-width: 104px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero h1 {
    font-size: clamp(33px, 10.2vw, 38px);
  }

  .hero__inner {
    min-height: auto;
    padding-top: 38px;
    padding-bottom: 22px;
  }

  .hero__media {
    inset: auto;
    width: 100%;
    height: 318px;
  }

  .hero p {
    max-width: 280px;
  }

  .nav {
    gap: 18px;
  }
}
